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
berick [Fri, 18 Mar 2011 16:08:06 +0000 (12:08 -0400)]
make all field_safe classes accessible via fetch/cache by default. reduce page churn by creating then caching the fetch/cache and org-tree generator funcs and simply inserting them into the page context on each page load. IOW, no need to redefine the funcs on each page load
berick [Fri, 18 Mar 2011 15:05:48 +0000 (11:05 -0400)]
added utility func for fetching extracted bre svf attributes (mra's)
berick [Thu, 17 Mar 2011 20:32:06 +0000 (16:32 -0400)]
as was recently done w/ existing kcls skin; hide the open transaction summary info in my-account, citing confusion and unnecessary additional information. note, you can still see total balance owed
berick [Thu, 17 Mar 2011 20:22:31 +0000 (16:22 -0400)]
avoid adding site() to query if loc param is empty string
berick [Thu, 17 Mar 2011 20:03:48 +0000 (16:03 -0400)]
if there, show shelf expire date for available holds; minor var cleanup
berick [Thu, 17 Mar 2011 19:55:39 +0000 (15:55 -0400)]
pile of updated icons
berick [Thu, 17 Mar 2011 19:53:28 +0000 (15:53 -0400)]
implemented bookbag rss link
senator [Thu, 17 Mar 2011 16:23:13 +0000 (12:23 -0400)]
make presentation better by hiding as-yet-unready features, etc
also, made links out of the dashboard counts, but oddly the first one
("checked out") only works in IE, not Chrome or Firefox. I suspect that
the complications of all the "position: absolute"-this and "position:
relative"-that make for fluky layout.
senator [Wed, 16 Mar 2011 18:48:52 +0000 (14:48 -0400)]
"Add to my list" becomes "remove from my list", and
it now works on the record detail page as well as the results page.
Also, I fixed a bug by which an HTML form was rendered wrongly, totally
breaking the display of the results page in IE and preventing the first
result on any page of search results from adding to the anonymous list.
senator [Tue, 15 Mar 2011 21:53:58 +0000 (17:53 -0400)]
smarter search term propagation, should avoid ARRAY(0xdeadbeef) type ...
... stuff in search boxes
senator [Tue, 15 Mar 2011 19:16:23 +0000 (15:16 -0400)]
bib record subject search terms: painstaking translation of BibTemplate to TT
the reference implementation I used is in
Open-ILS/web/opac/skin/default/xml/rdetail/rdetail_summary.xml starting
at line 93 as of this commit.
Only now that I've imitated the default skin's behavior exactly, I note
that the subject search links produced don't actually work on my test server.
Seems to be a local configuration issue though; will investigate.
senator [Tue, 15 Mar 2011 17:47:10 +0000 (13:47 -0400)]
Improve search term propagation from page to page
Also, for things like the author link on the record detail page, build a
link with 'qtype=author&query=JK Rowling' instead of 'query=au:JK Rowling'
The latter works, but causes the search form to look stupid.
Query type dropdown will be set to keyword by default, and the term will
be "au:JK Rowling", which will be a head scratcher for 99% of real
users.
senator [Mon, 14 Mar 2011 21:48:25 +0000 (17:48 -0400)]
If the TT stuff loads CGI w/o -utf8, that "instance" (not really instance)...
... will compete with use CGI in EGCatloader.pm. Really. Normally I enjoy
perl but the awful, horrendous, unspeakable black magic used in CGI.pm
has given me a great deal of trouble today.
Specifically, I could not really succeed in subclassing it. I had a kind
of half success before, but I could only really replace methods in my
subclass, but not call the methods unchanged from the original base
class (CGI). This manifested in a bug where I had been using
the query_string() method preserve search terms across some pages, but
that method had stopped working since I introduced the CGI subclass.
In an attempt to fix that, I discovered this document
http://stein.cshl.org/WWW/CGI/#subclassing
and tried the advice therein, and several variations thereof, but
everything I produced caused mod_perl to consume memory until it keeled
over from OOM.
Finally, I discovered that I never really needed the subclass in the
first place, so long as 'use CGI' with no module parameters doesn't
happen in the same process as 'use CGI qw/-utf8/'.
berick [Mon, 14 Mar 2011 21:46:13 +0000 (17:46 -0400)]
integrated update-email address action into account prefs
senator [Mon, 14 Mar 2011 21:31:05 +0000 (17:31 -0400)]
CGIUTF8 was a horrible, subtle, dark failure
and I don't want to talk about it. Also, 'use CGI qw/-utf8/' suddenly
works. Maybe it always did.
berick [Mon, 14 Mar 2011 20:43:57 +0000 (16:43 -0400)]
i18n and repaired holds estimated wait calculation.
senator [Mon, 14 Mar 2011 16:02:39 +0000 (12:02 -0400)]
hide edit link in myopac/holds. show basic user info in myopac/prefs
senator [Fri, 11 Mar 2011 23:07:54 +0000 (18:07 -0500)]
Support for most of the actions on lists and bookbags
Show authors too. And other little stuff.
senator [Thu, 10 Mar 2011 22:24:08 +0000 (17:24 -0500)]
Foundational work for temporary/anon lists and per-user lists (bookbags)
There were already some features in EGCatLoader for adding and
deleting items from lists, but there's more to do, as that code only
dealt with numeric IDs, and we need records avaiable. Also, to avoid
search bots creating temporary/anon lists all the time, and just because
the following is good practice, our "add to my list" links need to be
forms that POST, not links that GET.
Etc., etc.; more to come.
senator [Mon, 7 Mar 2011 18:15:03 +0000 (13:15 -0500)]
Subclass CGI (and create TT plugin wrapper for the subclass) to get utf8 params
The CGI module configuration option -utf8 just doesn't seem to do the
trick. I could have missed something, but this works and isn't too
awful.
berick [Fri, 4 Mar 2011 19:43:36 +0000 (14:43 -0500)]
added bookbag CRUD+ interface which supports create/delete/rename/show/hide/add_rec/del_item actions; some I18N and cleanup of lists.tt2; added generic redirect sub to replace the bare REDIRECTs spread throughout w/ a more consistent mechanism for finding where to redirect
senator [Mon, 28 Feb 2011 13:36:43 +0000 (08:36 -0500)]
Implement mike's suggestions from #esi-dev on 27 Feb 2011
This makes an "exact" search build a query with starting and ending
anchors, and adds a new contains-value called "phrase" which does what
"exact" was doing before.
senator [Fri, 25 Feb 2011 16:53:58 +0000 (11:53 -0500)]
provide three rows of search input by default
this better accommodates users with no JS
senator [Fri, 25 Feb 2011 16:45:17 +0000 (11:45 -0500)]
remove debugging cruft
senator [Fri, 25 Feb 2011 16:42:30 +0000 (11:42 -0500)]
refining advanced search now preserves qtype/contains/query combos. also,
also, show something better for empty search results