sitka/overdrive-evergreen-opac.git
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 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>
6 years agoCatchup
Steven Chan [Thu, 28 Aug 2014 01:10:22 +0000 (18:10 -0700)]
Catchup
Signed-off-by: Steven Chan <steven3416@gmail.com>
6 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>