Bill Erickson [Wed, 8 Jun 2011 21:25:31 +0000 (17:25 -0400)]
Read support for some user settings in setting page
Search hits per page and circ history opt-in displaying
TODO: add more settings
TODO: implement POST/write for updating values
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Bill Erickson [Wed, 8 Jun 2011 16:46:51 +0000 (12:46 -0400)]
Select all fines for CC payment by default
Bill Erickson [Sat, 28 May 2011 14:01:43 +0000 (10:01 -0400)]
Format selector improvements
Consistent with format icon fall-thru, try mattype first to locate the
list of formats for search selection. If no mattype configuration is
found, fall through to item_type.
Signed-off-by: Bill Erickson <berick@esilibrary.com>
senator [Tue, 17 May 2011 15:59:36 +0000 (11:59 -0400)]
cleanup:
1) fix broken INCLUDE statements in circ and hold histories
2) move an opac "part" to the parts directory
senator [Tue, 17 May 2011 15:51:04 +0000 (11:51 -0400)]
empty cases for fines
senator [Tue, 17 May 2011 15:31:08 +0000 (11:31 -0400)]
Emailing receipts working, some tweaks to payment history page
senator [Mon, 16 May 2011 22:39:32 +0000 (18:39 -0400)]
Receipt printing also from payment history
senator [Mon, 16 May 2011 18:14:57 +0000 (14:14 -0400)]
Credit card payments working with printable receipts
Could still use e-mailed receipts
senator [Thu, 12 May 2011 20:53:54 +0000 (16:53 -0400)]
begin a sub to process payment
senator [Thu, 12 May 2011 14:19:35 +0000 (10:19 -0400)]
doh, it's history not location.history
senator [Thu, 12 May 2011 14:15:41 +0000 (10:15 -0400)]
remove in-template fine-totaling: mod_perl code was already doing the same
also:
make that fine-totaling not use floating point math.
don't provide payment form for <= 0 totals (we're not issuing refunds)
last copyright date in footer always current year, not hardcoded
senator [Wed, 11 May 2011 21:45:58 +0000 (17:45 -0400)]
support paying all fines at once
senator [Wed, 11 May 2011 20:02:12 +0000 (16:02 -0400)]
Payment for mostly done. Still needs:
1) to be able to handle the upper "Pay Fines" button that will mean "all
my fines"
2) to use fixed point fine totaling math and bail on total <= 0
3) ... anything else?
senator [Tue, 10 May 2011 21:54:59 +0000 (17:54 -0400)]
start on cc payments
senator [Tue, 10 May 2011 16:38:56 +0000 (12:38 -0400)]
Fix an ugly grey bar in the record detail page
I have no idea what caused this or why this css adjustments fixes the
problem
senator [Tue, 10 May 2011 14:28:55 +0000 (10:28 -0400)]
Better redirect from place_hold
Before this, if you click place hold on something while not logged in,
you are redirected to the login page, which is good, and redirected
thence to the place hold page, which is good. But after actually
placing the hold you got redirected to the login page again, which is
not good. Now you get sent back to the home page.
This may not be the ideal choice. myopac/main may make more sense.
Also, there is still not any clear visual feedback for the user that
their hold placement succeeded. That'll need to be addressed too.
senator [Mon, 9 May 2011 19:01:41 +0000 (15:01 -0400)]
serial issue display and holds work
berick [Wed, 4 May 2011 13:11:02 +0000 (09:11 -0400)]
removed unnecessary kcls record summary template file override
Dan Scott [Wed, 4 May 2011 02:32:34 +0000 (22:32 -0400)]
Clean up the rest of the non-entity ampersands in URLs
Continue the global change to entity ampersands in URLs
in the TT OPAC. This should be the last of it.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Wed, 4 May 2011 00:51:44 +0000 (20:51 -0400)]
Avoid empty ID attribute in SELECT element
The current code appears to always generate an empty id="" attribute,
as the "id" variable never gets populated. For now, protect against
the empty ID attribute.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Wed, 4 May 2011 00:42:16 +0000 (20:42 -0400)]
HTML compliance in result table
Convert & to & in URLs, and change a SPAN element to a DIV
(because SPAN elements are not allowed to contain block-level
elements like DIV and TABLE).
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Tue, 3 May 2011 21:08:59 +0000 (17:08 -0400)]
Less aggressive URL encoding
We were double-encoding URIs, as the url and uri filters in
TT happily encode % - which is fine the first time around,
but after you've already escaped everything as %nn the propagator
was serving it back to url to be escaped again on the following
page request.
The right way to do this might be to unescape the incoming query
string, then pass it on to url for escaping again - but for now,
using the entity version of & is good enough to begin with.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Tue, 3 May 2011 20:48:48 +0000 (16:48 -0400)]
Ensure ampersands in URLs are & per HTML spec
The propagator variable defined in parts/header.tt2 holds the value
of the CGI query string - which, as it comes off the wire, is a simple
"&". The problem with this is perhaps best explained at
http://www.htmlhelp.com/tools/validator/problems.html#amp (and it
explains why "©_..." gets converted into a copyright symbol).
By passing the incoming query string through the TT url filter and
then replacing "&" with "&" we avoid this problem at the source.
From there, we have to address the other locations in the code in
which we are manually appending GET variables.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Tue, 3 May 2011 20:17:56 +0000 (16:17 -0400)]
Fix unclosed quoted attribute in TT OPAC footer
Forgot to place the closing attribute quote on the footer image.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Mon, 2 May 2011 13:18:35 +0000 (09:18 -0400)]
Debrand the KCLS-specific hint about Library Elf in prefs settings
Even though prefs settings are not yet exposed, we can turn the
KCLS-specific comment into a brandable "hints" section in prefs
settings.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Mon, 2 May 2011 12:33:54 +0000 (08:33 -0400)]
Make refund policy for lost items a branding option
Different sites will have different policies for refunds
on lost items (and might not even provide refunds for lost
items, for that matter), so break out that policy description
into its own template and provide a KCLS-specific version of
it.
Signed-off-by: Dan Scott <dbs@coffeecode.net>
Dan Scott [Mon, 2 May 2011 12:23:34 +0000 (08:23 -0400)]
Debrand lowhits purchase request reference to KCLS
While we break this out to a separate template, perhaps we
could pull the library name from context instead of having
it hardcoded. It will probably depend on each instance, ergo
hardcoding the generic "your library" for now should be fine.
Signed-off-by: Dan Scott <dbs@coffeecode.net>
Dan Scott [Mon, 2 May 2011 02:06:50 +0000 (22:06 -0400)]
Pull call number from XML holdings, not MARC record
KCLS uses call numbers in the MARC record, but most other sites
use the call numbers from asset.call_number. For now, just display
the first returned call number; eventually the display will probably
need to be adjusted to handle call number / shelving location / library
/ status like the current AjaxPAC does.
Also note that ##URI## call numbers should be filtered out but are
not yet.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Mon, 2 May 2011 01:25:38 +0000 (21:25 -0400)]
Debrand the login form
Breaking the password hint and login help sections out into
separate templates enables sites to adjust the hint and
login help links without touching the rest of the interface.
Signed-off-by: Dan Scott <dbs@coffeecode.net>
Dan Scott [Sun, 1 May 2011 23:02:27 +0000 (19:02 -0400)]
Debrand the OPAC footer, home page, and topnav links
Restore the copyright message and Powered by Evergreen logo
in the footer, and provide obvious example links instead of
the KCLS-specific links.
Also, replace the KCLS home page with the main Evergreen logo.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Dan Scott [Sun, 1 May 2011 20:57:01 +0000 (16:57 -0400)]
Create a templates_kcls to hold KCLS branding of TT OPAC
The debranding of the TT OPAC begins with the top navigation.
* Replace the KCLS logo with the Evergreen logo (even though
white background on black doesn't look great, it's something)
* Replace the KCLS specific top links with example links.
* Split the logo and the links sections out into separate
templates so that we can maximize commonality of the
topnav.tt2 template.
For now, all files containing the string 'kcls' have been
copied into the templates_kcls directory. As we move through
the templates, we may refactor them in similar to how we just
refactored topnav.tt2.
Signed-off-by: Dan Scott <dbs@coffeecode.net>
Dan Scott [Sun, 1 May 2011 17:05:06 +0000 (13:05 -0400)]
Internationalize more of the TT OPAC (records and results)
There are a number of hardcoded strings remaining in the TT OPAC.
This is just some of the lowhanging fruit; more work needs to be
done on the more complex cases involving HTML and placeholders.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: berick <berick@esilibrary.com>
Dan Scott [Sun, 1 May 2011 15:55:11 +0000 (11:55 -0400)]
Enable unAPI support in TT OPAC
We have enough information available from the context and date
plugin to construct valid unAPI IDs - so let's do it and take
one more XXX off the table. (This is good for Zotero support!)
Sadly, Zotero doesn't seem to recognize more than one unAPI
ID on the search results page; in theory it should give the
user the ability to add all of the search results at once,
but in practice it doesn't display anything.
At the same time, we can remove the duplicate unAPI placeholders
and remove unnecessary <span> elements.
Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: berick <berick@esilibrary.com>
erickson [Sun, 1 May 2011 15:29:39 +0000 (15:29 +0000)]
ContentCafe summary of avaible item content
Added "available_json" support for Content Cafe. Returns and array of
available content for a given item, where the content type is mapped to
one of the Evergreen standard added content types, e.g. "summary",
"anotes", "reviews", ...
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20367
dcc99617-32d9-48b4-a31d-
7c20da2025e4
berick [Sun, 1 May 2011 00:28:30 +0000 (20:28 -0400)]
use medium-sized jacket image on record details page
dbs [Sun, 1 May 2011 00:28:23 +0000 (00:28 +0000)]
Add excerpt AC and avoid rate-limiting for OpenLibrary content
OpenLibrary added rate-limiting (100 cover requests per 5 minutes)
for cover images requested by ISBN; using the OpenLibrary book
API to pull the list of direct cover URLs avoids the rate limit.
Also, add excerpt added content calls for OpenLibrary.
Signed-off-by: Dan Scott <dbs@coffeecode.net>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@20354
dcc99617-32d9-48b4-a31d-
7c20da2025e4
berick [Sat, 30 Apr 2011 21:28:02 +0000 (17:28 -0400)]
force empty value for the default 'Any' option to avoid using the option text as a valid value
senator [Wed, 27 Apr 2011 19:53:52 +0000 (15:53 -0400)]
generic filters in advanced search using SVF
incidentally, this reveals that my database has some *weird* languages
represented in it
senator [Mon, 25 Apr 2011 20:15:51 +0000 (16:15 -0400)]
one more minor thing when showing fines on reservations
if there's not a record associated with the xact (like in the case of
a reservation against a non-cataloged resource), don't try to show a
link
senator [Mon, 25 Apr 2011 19:32:50 +0000 (15:32 -0400)]
fines on reservations no longer break myopac/main (my account)
berick [Thu, 21 Apr 2011 14:03:55 +0000 (10:03 -0400)]
if no query is sent in the search, return the user to the referring page
berick [Wed, 20 Apr 2011 21:50:29 +0000 (17:50 -0400)]
show No Subjects when, well, there are no subjects; cleanup
berick [Wed, 20 Apr 2011 18:52:00 +0000 (14:52 -0400)]
allow filter negation (e.g. -item_type(a) ) in dynamic filter query string building
berick [Wed, 20 Apr 2011 15:01:45 +0000 (11:01 -0400)]
format selector gets formats from CCVM fields, starting with 'mattype', falling back to item_type
berick [Wed, 20 Apr 2011 15:00:22 +0000 (11:00 -0400)]
added simple field/value filter to the RO fetch/cache code; useful for limiting larger sets of config data like ccvm objects
berick [Wed, 20 Apr 2011 13:57:34 +0000 (09:57 -0400)]
use the more explicit get_foo instead of find_foo for pub/cache object lookup
berick [Fri, 15 Apr 2011 20:12:08 +0000 (16:12 -0400)]
move utils.tt2 to printnav.tt2 just to give it a more explicit name; i18n and cleanup
berick [Fri, 15 Apr 2011 20:11:40 +0000 (16:11 -0400)]
use org unit shortname for site param; capture site/depth in search builder to pass on to unapi retrieval, though there's still some template work to do w/ displaying the correct data there (for copy counts)
berick [Thu, 14 Apr 2011 19:04:23 +0000 (15:04 -0400)]
fetch bookbags inside xact to avoid replication delays, which can occur directly after bookbag-update actions
berick [Wed, 13 Apr 2011 18:25:58 +0000 (14:25 -0400)]
use unapi for record retrieval on details page; includes svf attrs for matttype, etc.; some i18n cleanup
berick [Wed, 13 Apr 2011 17:53:14 +0000 (13:53 -0400)]
Pull SVF attrs into displayed bib rec (results page only thus far). use SVF value to determine format icon and icon label
berick [Wed, 13 Apr 2011 15:24:07 +0000 (11:24 -0400)]
particularly for running the catalog embedded in the staff client, which makes no visual indication of page progress, it's good to let the caller know something is happening w/ a search. after a 1-second search delay, show a small progress spinny icon
berick [Wed, 13 Apr 2011 14:46:32 +0000 (10:46 -0400)]
inisial staff client integration in record details page w/ new staff js file; move footer and other js loading to their own templates; hide top-nav pane (my account summary) for embedded mode; load slim version of marc html (no external css; no print button)
berick [Tue, 12 Apr 2011 21:31:26 +0000 (17:31 -0400)]
pile of material type icons that are not yet mapped to codes. renaming to follow
berick [Tue, 12 Apr 2011 21:30:43 +0000 (17:30 -0400)]
moving toward svf for mattype extraction; much media/material-type icon cleanup; icons are now accessed directly via code instead of inconsistent and map-requiring human names
berick [Fri, 8 Apr 2011 20:57:56 +0000 (16:57 -0400)]
added paging to payment history; added paging arrows to circ/holds/payments history links
berick [Fri, 8 Apr 2011 20:34:42 +0000 (16:34 -0400)]
make public bookbag name's links to the public view of the bookbag; minor tidying
berick [Thu, 7 Apr 2011 20:35:44 +0000 (16:35 -0400)]
improved holds history paging
berick [Thu, 7 Apr 2011 20:27:22 +0000 (16:27 -0400)]
repaired circ history paging
berick [Thu, 7 Apr 2011 19:10:24 +0000 (15:10 -0400)]
Support for password update
berick [Thu, 7 Apr 2011 18:22:48 +0000 (14:22 -0400)]
after clearing out a stale ses cookie, return user to originally requested resource instead directing home. this prevents the case where going to 'my account' in presence of expired ses cookie redirects the user home
berick [Thu, 7 Apr 2011 16:00:36 +0000 (12:00 -0400)]
tie in select-all option in lists interfaces
berick [Thu, 7 Apr 2011 15:48:24 +0000 (11:48 -0400)]
removed debug log line
berick [Thu, 7 Apr 2011 15:46:18 +0000 (11:46 -0400)]
consistent w/ previous opac, default to barcode login and jump to username only if there is a barcode regex (and regex does not match)
berick [Thu, 7 Apr 2011 15:45:24 +0000 (11:45 -0400)]
oops, forgot to git-add w/ last commit
berick [Thu, 7 Apr 2011 15:18:23 +0000 (11:18 -0400)]
implemented username update
berick [Thu, 7 Apr 2011 15:14:29 +0000 (11:14 -0400)]
speed up and clean up the user holds out/available count summary call
berick [Thu, 7 Apr 2011 14:28:11 +0000 (10:28 -0400)]
oops, missed a wrapper decl. fix; repaired
berick [Thu, 7 Apr 2011 14:15:42 +0000 (10:15 -0400)]
More my-account cleanup/consistency
For consistency, make new sub-pages (payments history, preferences) load
as a separate page in the same path (prefs -> prefs_notify) instead of
either an ?expand= option or a sub-path page (prefs -> prefs/notify).
Let the my-account base page load the generic base page as a wrapper so
that my-account page are not required to load both and (for me, anyway)
make the inheritance more obvious.
berick [Wed, 6 Apr 2011 21:52:10 +0000 (17:52 -0400)]
circ history sorting newest to oldest, got paging working, but could use some work..
berick [Wed, 6 Apr 2011 20:03:28 +0000 (16:03 -0400)]
minor cleanup
berick [Wed, 6 Apr 2011 19:54:44 +0000 (15:54 -0400)]
added support for updating opt-in settings preferences
berick [Wed, 6 Apr 2011 16:17:01 +0000 (12:17 -0400)]
created inital notifications preference page; infrastructure for notify and search/settings preferences pages; prefs pages icons
berick [Tue, 5 Apr 2011 21:14:25 +0000 (17:14 -0400)]
initial payments history tab; I18n; some general cleanup
berick [Sat, 2 Apr 2011 13:21:37 +0000 (09:21 -0400)]
make next/prev search links not-visible instead of removing entirely to keep page position of links consistent
berick [Sat, 2 Apr 2011 13:06:11 +0000 (09:06 -0400)]
Use MultiSession for parallel sessions
In unapi.bre record retrieval, leverage OpenSRF::MultiSession for
fetching batches of records in parallel.
berick [Fri, 1 Apr 2011 21:45:12 +0000 (17:45 -0400)]
move to unapi.bre for bib/copy-count/slim-holdings retrieval on record results page
berick [Fri, 1 Apr 2011 20:26:12 +0000 (16:26 -0400)]
more rdetail extras cleanup; added support for authors display
berick [Fri, 1 Apr 2011 18:37:52 +0000 (14:37 -0400)]
consistent w/ seed skin (and to avoid total vertical domination), default to showing 10 copies-per-page on detail page
berick [Fri, 1 Apr 2011 18:34:49 +0000 (14:34 -0400)]
fixed odd bug w/ href attrs rendering the copyright symbol for ©_limit=
berick [Fri, 1 Apr 2011 15:47:09 +0000 (11:47 -0400)]
More work on record details 'extras'
When an extra is chosen, anchor the page on the selected extra for focus
Lots of cleanup to create a consistent system for selecting and
displaying extras
berick [Fri, 1 Apr 2011 12:44:02 +0000 (08:44 -0400)]
update flesh depth
berick [Thu, 31 Mar 2011 21:48:47 +0000 (17:48 -0400)]
Fleshed out View MARC / Subjects Tabs
Record detail page has support for showing the 'extras' tabs. Currently
supported tabs are View MARC (html) and extended subject info. For
consistency w/ seed skin, subjects are now only shown in expanded
subjects area.
berick [Thu, 31 Mar 2011 18:41:28 +0000 (14:41 -0400)]
added fully-parallized (send 10 reqs simultaneously) versions of unapi.bre and direc
berick [Thu, 31 Mar 2011 17:53:20 +0000 (13:53 -0400)]
do some basic parallelizing optimization
berick [Thu, 31 Mar 2011 15:51:51 +0000 (11:51 -0400)]
more test options
Now fleshing copy parts, uris, and copy stat cats in 'direct' version
Added a full-feed version
Added an unapi.bre version
senator [Wed, 30 Mar 2011 21:41:17 +0000 (17:41 -0400)]
essentially functioning hold editor
Still needs a way to report failures to the user
senator [Wed, 30 Mar 2011 21:26:57 +0000 (17:26 -0400)]
link to editor from myopac/holds
berick [Wed, 30 Mar 2011 17:35:25 +0000 (13:35 -0400)]
annoying typo
berick [Wed, 30 Mar 2011 17:32:19 +0000 (13:32 -0400)]
flesh copy loc. for closer match to unapi
berick [Wed, 30 Mar 2011 17:26:29 +0000 (13:26 -0400)]
unapi test code
berick [Tue, 29 Mar 2011 14:29:27 +0000 (10:29 -0400)]
implemented holds history template w/ links to/from active holds page; TODO: verify history call is returning the holds we want it to..
berick [Mon, 28 Mar 2011 21:26:36 +0000 (17:26 -0400)]
added circulation history backend and template; use |-style regex containers to reduce escapes in path checking
senator [Thu, 24 Mar 2011 22:51:09 +0000 (18:51 -0400)]
towards an opac hold editor
senator [Thu, 24 Mar 2011 21:16:21 +0000 (17:16 -0400)]
KCLS doesn't show an abstract high on the record detail page.
This is just a little juggling to reflect that
senator [Wed, 23 Mar 2011 20:57:37 +0000 (16:57 -0400)]
Ability to move records from temp list to bookbag
senator [Tue, 22 Mar 2011 22:00:11 +0000 (18:00 -0400)]
Show format icons in results and record detail pages
berick [Fri, 18 Mar 2011 18:38:59 +0000 (14:38 -0400)]
updated code comments
berick [Fri, 18 Mar 2011 18:31:07 +0000 (14:31 -0400)]
in bib attr (mra) fetcher, get the display label from the ccvm where appropriate and add to response object
berick [Fri, 18 Mar 2011 16:08:20 +0000 (12:08 -0400)]
removed debug log message