sitka/overdrive-evergreen-opac.git
5 years agoRewording of direct link to Overdrive in holds/checkouts list
Steven Chan [Fri, 5 Sep 2014 19:52:56 +0000 (12:52 -0700)]
Rewording of direct link to Overdrive in holds/checkouts list
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoForgot to proxy the URLs in availability actions
Steven Chan [Fri, 5 Sep 2014 18:48:17 +0000 (11:48 -0700)]
Forgot to proxy the URLs in availability actions
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoAdd product ID to context of an action object
Steven Chan [Fri, 5 Sep 2014 18:17:42 +0000 (11:17 -0700)]
Add product ID to context of an action object

Potentially useful for a later refactor

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoImplement a client-side blacklist
Steven Chan [Wed, 3 Sep 2014 22:08:37 +0000 (15:08 -0700)]
Implement a client-side blacklist

Hostnames in the URL can be blacklisted from running Overdrive functions.

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoImprove comments for Moment configuration clause in config module
Steven Chan [Wed, 3 Sep 2014 22:07:01 +0000 (15:07 -0700)]
Improve comments for Moment configuration clause in config module
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoRemove unused item_status() function
Steven Chan [Wed, 3 Sep 2014 22:05:07 +0000 (15:05 -0700)]
Remove unused item_status() function
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoFix error in decoding search parameters in URL
Steven Chan [Wed, 3 Sep 2014 21:03:43 +0000 (14:03 -0700)]
Fix error in decoding search parameters in URL

Was not using a possible delimiter; was not decoding all entities

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoTreat handle() as a method of routes object
Steven Chan [Wed, 3 Sep 2014 19:44:22 +0000 (12:44 -0700)]
Treat handle() as a method of routes object

5 years agoProxy URLs soon rather than late
Steven Chan [Tue, 2 Sep 2014 22:16:37 +0000 (15:16 -0700)]
Proxy URLs soon rather than late
This makes it easier to make the od_data module be primary over od_api.
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoAuto-focus on place hold or checkout action buttons
Steven Chan [Sun, 31 Aug 2014 18:53:16 +0000 (11:53 -0700)]
Auto-focus on place hold or checkout action buttons
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoReplace progress text with a progress bar
Steven Chan [Sun, 31 Aug 2014 17:35:28 +0000 (10:35 -0700)]
Replace progress text with a progress bar

As a way to do it, we slightly generalized the set_message method of the
action dialogue, to default to using a progress bar for the body text if
there is no text string specified as an argument nor as a body property
of the scenario. Thus, for an intent scenario, it is sufficient to use
the default body.

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoFix progress message in action dialogues
Steven Chan [Sun, 31 Aug 2014 17:29:59 +0000 (10:29 -0700)]
Fix progress message in action dialogues

The jQuery ajax method does not implement the full promise interface; it
does not call notify and so the progress callback cannot work. As a
substitute, we pass the progress callback as the beforeSend callback,
which is executed before an ajax send.

Also, we use a progress bar instead of a progress text message.

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoFix manual logout of EG when OD token expires
Steven Chan [Sun, 31 Aug 2014 17:24:05 +0000 (10:24 -0700)]
Fix manual logout of EG when OD token expires
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoCorrect an erroneous edit
Steven Chan [Sun, 31 Aug 2014 17:22:58 +0000 (10:22 -0700)]
Correct an erroneous edit
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoAdd direct links to Overdrive in checkout and hold list
Steven Chan [Sat, 30 Aug 2014 19:54:50 +0000 (12:54 -0700)]
Add direct links to Overdrive in checkout and hold list
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoImplement Overdrive data objects using data classes
Steven Chan [Sat, 30 Aug 2014 18:33:10 +0000 (11:33 -0700)]
Implement Overdrive data objects using data classes

A data class will make a new instance out of an OD object and endow it
with the methods to normalize the object so that it will be easier to use.
Currently, these methods are defined as ad-hoc functions within the
od_api module, making it lengthy and hard to understand.

Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoFix delete an item in checkouts list; regression error
Steven Chan [Fri, 29 Aug 2014 19:41:07 +0000 (12:41 -0700)]
Fix delete an item in checkouts list; regression error
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoUse Session class to implement a session cache
Steven Chan [Fri, 29 Aug 2014 18:47:59 +0000 (11:47 -0700)]
Use Session class to implement a session cache
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoCatchup
Steven Chan [Thu, 28 Aug 2014 01:10:22 +0000 (18:10 -0700)]
Catchup
Signed-off-by: Steven Chan <steven3416@gmail.com>
5 years agoInitial commit
Steven Chan [Wed, 27 Aug 2014 20:51:18 +0000 (13:51 -0700)]
Initial commit
Signed-off-by: Steven Chan <steven3416@gmail.com>