evergreen/equinox.git
14 years agoserial issue display and holds work
senator [Mon, 9 May 2011 19:01:41 +0000 (15:01 -0400)]
serial issue display and holds work

14 years agoremoved unnecessary kcls record summary template file override
berick [Wed, 4 May 2011 13:11:02 +0000 (09:11 -0400)]
removed unnecessary kcls record summary template file override

14 years agoClean up the rest of the non-entity ampersands in URLs
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>
14 years agoAvoid empty ID attribute in SELECT element
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>
14 years agoHTML compliance in result table
Dan Scott [Wed, 4 May 2011 00:42:16 +0000 (20:42 -0400)]
HTML compliance in result table

Convert & to &amp; 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>
14 years agoLess aggressive URL encoding
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>
14 years agoEnsure ampersands in URLs are &amp; per HTML spec
Dan Scott [Tue, 3 May 2011 20:48:48 +0000 (16:48 -0400)]
Ensure ampersands in URLs are &amp; 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 "&copy_..." gets converted into a copyright symbol).

By passing the incoming query string through the TT url filter and
then replacing "&" with "&amp;" 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>
14 years agoFix unclosed quoted attribute in TT OPAC footer
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>
14 years agoDebrand the KCLS-specific hint about Library Elf in prefs settings
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>
14 years agoMake refund policy for lost items a branding option
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>
14 years agoDebrand lowhits purchase request reference to KCLS
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>
14 years agoPull call number from XML holdings, not MARC record
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>
14 years agoDebrand the login form
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>
14 years agoDebrand the OPAC footer, home page, and topnav links
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>
14 years agoCreate a templates_kcls to hold KCLS branding of TT OPAC
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>
14 years agoInternationalize more of the TT OPAC (records and results)
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>
14 years agoEnable unAPI support in TT OPAC
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>
14 years agoContentCafe summary of avaible item content
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

14 years agouse medium-sized jacket image on record details page
berick [Sun, 1 May 2011 00:28:30 +0000 (20:28 -0400)]
use medium-sized jacket image on record details page

14 years agoAdd excerpt AC and avoid rate-limiting for OpenLibrary content
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

14 years agoforce empty value for the default 'Any' option to avoid using the option text as...
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

14 years agogeneric filters in advanced search using SVF
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

14 years agoone more minor thing when showing fines on reservations
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

14 years agofines on reservations no longer break myopac/main (my account)
senator [Mon, 25 Apr 2011 19:32:50 +0000 (15:32 -0400)]
fines on reservations no longer break myopac/main (my account)

14 years agoif no query is sent in the search, return the user to the referring page
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

14 years agoshow No Subjects when, well, there are no subjects; cleanup
berick [Wed, 20 Apr 2011 21:50:29 +0000 (17:50 -0400)]
show No Subjects when, well, there are no subjects; cleanup

14 years agoallow filter negation (e.g. -item_type(a) ) in dynamic filter query string building
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

14 years agoformat selector gets formats from CCVM fields, starting with 'mattype', falling back...
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

14 years agoadded simple field/value filter to the RO fetch/cache code; useful for limiting...
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

14 years agouse the more explicit get_foo instead of find_foo for pub/cache object lookup
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

14 years agomove utils.tt2 to printnav.tt2 just to give it a more explicit name; i18n and cleanup
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

14 years agouse org unit shortname for site param; capture site/depth in search builder to pass...
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)

14 years agofetch bookbags inside xact to avoid replication delays, which can occur directly...
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

14 years agouse unapi for record retrieval on details page; includes svf attrs for matttype,...
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

14 years agoPull SVF attrs into displayed bib rec (results page only thus far). use SVF value...
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

14 years agoparticularly for running the catalog embedded in the staff client, which makes no...
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

14 years agoinisial staff client integration in record details page w/ new staff js file; move...
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)

14 years agopile of material type icons that are not yet mapped to codes. renaming to follow
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

14 years agomoving toward svf for mattype extraction; much media/material-type icon cleanup;...
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

14 years agoadded paging to payment history; added paging arrows to circ/holds/payments history...
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

14 years agomake public bookbag name's links to the public view of the bookbag; minor tidying
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

14 years agoimproved holds history paging
berick [Thu, 7 Apr 2011 20:35:44 +0000 (16:35 -0400)]
improved holds history paging

14 years agorepaired circ history paging
berick [Thu, 7 Apr 2011 20:27:22 +0000 (16:27 -0400)]
repaired circ history paging

14 years agoSupport for password update
berick [Thu, 7 Apr 2011 19:10:24 +0000 (15:10 -0400)]
Support for password update

14 years agoafter clearing out a stale ses cookie, return user to originally requested resource...
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

14 years agotie in select-all option in lists interfaces
berick [Thu, 7 Apr 2011 16:00:36 +0000 (12:00 -0400)]
tie in select-all option in lists interfaces

14 years agoremoved debug log line
berick [Thu, 7 Apr 2011 15:48:24 +0000 (11:48 -0400)]
removed debug log line

14 years agoconsistent w/ previous opac, default to barcode login and jump to username only if...
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)

14 years agooops, forgot to git-add w/ last commit
berick [Thu, 7 Apr 2011 15:45:24 +0000 (11:45 -0400)]
oops, forgot to git-add w/ last commit

14 years agoimplemented username update
berick [Thu, 7 Apr 2011 15:18:23 +0000 (11:18 -0400)]
implemented username update

14 years agospeed up and clean up the user holds out/available count summary call
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

14 years agooops, missed a wrapper decl. fix; repaired
berick [Thu, 7 Apr 2011 14:28:11 +0000 (10:28 -0400)]
oops, missed a wrapper decl. fix; repaired

14 years agoMore my-account cleanup/consistency
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.

14 years agocirc history sorting newest to oldest, got paging working, but could use some work..
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..

14 years agominor cleanup
berick [Wed, 6 Apr 2011 20:03:28 +0000 (16:03 -0400)]
minor cleanup

14 years agoadded support for updating opt-in settings preferences
berick [Wed, 6 Apr 2011 19:54:44 +0000 (15:54 -0400)]
added support for updating opt-in settings preferences

14 years agocreated inital notifications preference page; infrastructure for notify and search...
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

14 years agoinitial payments history tab; I18n; some general cleanup
berick [Tue, 5 Apr 2011 21:14:25 +0000 (17:14 -0400)]
initial payments history tab; I18n; some general cleanup

14 years agomake next/prev search links not-visible instead of removing entirely to keep page...
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

14 years agoUse MultiSession for parallel sessions
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.

14 years agomove to unapi.bre for bib/copy-count/slim-holdings retrieval on record results page
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

14 years agomore rdetail extras cleanup; added support for authors display
berick [Fri, 1 Apr 2011 20:26:12 +0000 (16:26 -0400)]
more rdetail extras cleanup; added support for authors display

14 years agoconsistent w/ seed skin (and to avoid total vertical domination), default to showing...
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

14 years agofixed odd bug w/ href attrs rendering the copyright symbol for &copy_limit=
berick [Fri, 1 Apr 2011 18:34:49 +0000 (14:34 -0400)]
fixed odd bug w/ href attrs rendering the copyright symbol for &copy_limit=

14 years agoMore work on record details 'extras'
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

14 years agoupdate flesh depth
berick [Fri, 1 Apr 2011 12:44:02 +0000 (08:44 -0400)]
update flesh depth

14 years agoFleshed out View MARC / Subjects Tabs
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.

14 years agoadded fully-parallized (send 10 reqs simultaneously) versions of unapi.bre and direc
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

14 years agodo some basic parallelizing optimization
berick [Thu, 31 Mar 2011 17:53:20 +0000 (13:53 -0400)]
do some basic parallelizing optimization

14 years agomore test options
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

14 years agoessentially functioning hold editor
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

14 years agolink to editor from myopac/holds
senator [Wed, 30 Mar 2011 21:26:57 +0000 (17:26 -0400)]
link to editor from myopac/holds

14 years agoannoying typo
berick [Wed, 30 Mar 2011 17:35:25 +0000 (13:35 -0400)]
annoying typo

14 years agoflesh copy loc. for closer match to unapi
berick [Wed, 30 Mar 2011 17:32:19 +0000 (13:32 -0400)]
flesh copy loc. for closer match to unapi

14 years agounapi test code
berick [Wed, 30 Mar 2011 17:26:29 +0000 (13:26 -0400)]
unapi test code

14 years agoimplemented holds history template w/ links to/from active holds page; TODO: verify...
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..

14 years agoadded circulation history backend and template; use |-style regex containers to reduc...
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

14 years agotowards an opac hold editor
senator [Thu, 24 Mar 2011 22:51:09 +0000 (18:51 -0400)]
towards an opac hold editor

14 years agoKCLS doesn't show an abstract high on the record detail page.
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

14 years agoAbility to move records from temp list to bookbag
senator [Wed, 23 Mar 2011 20:57:37 +0000 (16:57 -0400)]
Ability to move records from temp list to bookbag

14 years agoShow format icons in results and record detail pages
senator [Tue, 22 Mar 2011 22:00:11 +0000 (18:00 -0400)]
Show format icons in results and record detail pages

14 years agoupdated code comments
berick [Fri, 18 Mar 2011 18:38:59 +0000 (14:38 -0400)]
updated code comments

14 years agoin bib attr (mra) fetcher, get the display label from the ccvm where appropriate...
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

14 years agoremoved debug log message
berick [Fri, 18 Mar 2011 16:08:20 +0000 (12:08 -0400)]
removed debug log message

14 years agomake all field_safe classes accessible via fetch/cache by default. reduce page churn...
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

14 years agoadded utility func for fetching extracted bre svf attributes (mra's)
berick [Fri, 18 Mar 2011 15:05:48 +0000 (11:05 -0400)]
added utility func for fetching extracted bre svf attributes (mra's)

14 years agoas was recently done w/ existing kcls skin; hide the open transaction summary info...
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

14 years agoavoid adding site() to query if loc param is empty string
berick [Thu, 17 Mar 2011 20:22:31 +0000 (16:22 -0400)]
avoid adding site() to query if loc param is empty string

14 years agoif there, show shelf expire date for available holds; minor var cleanup
berick [Thu, 17 Mar 2011 20:03:48 +0000 (16:03 -0400)]
if there, show shelf expire date for available holds; minor var cleanup

14 years agopile of updated icons
berick [Thu, 17 Mar 2011 19:55:39 +0000 (15:55 -0400)]
pile of updated icons

14 years agoimplemented bookbag rss link
berick [Thu, 17 Mar 2011 19:53:28 +0000 (15:53 -0400)]
implemented bookbag rss link

14 years agomake presentation better by hiding as-yet-unready features, etc
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.

14 years ago"Add to my list" becomes "remove from my list", and
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.

14 years agosmarter search term propagation, should avoid ARRAY(0xdeadbeef) type ...
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

14 years agobib record subject search terms: painstaking translation of BibTemplate to TT
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.

14 years agoImprove search term propagation from page to page
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.

14 years agoIf the TT stuff loads CGI w/o -utf8, that "instance" (not really instance)...
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/'.

14 years agointegrated update-email address action into account prefs
berick [Mon, 14 Mar 2011 21:46:13 +0000 (17:46 -0400)]
integrated update-email address action into account prefs

14 years agoCGIUTF8 was a horrible, subtle, dark failure
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.

14 years agoi18n and repaired holds estimated wait calculation.
berick [Mon, 14 Mar 2011 20:43:57 +0000 (16:43 -0400)]
i18n and repaired holds estimated wait calculation.