evergreen/equinox.git
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.

14 years agohide edit link in myopac/holds. show basic user info in myopac/prefs
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

14 years agoSupport for most of the actions on lists and bookbags
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.

14 years agoFoundational work for temporary/anon lists and per-user lists (bookbags)
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.

14 years agoSubclass CGI (and create TT plugin wrapper for the subclass) to get utf8 params
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.

14 years agoadded bookbag CRUD+ interface which supports create/delete/rename/show/hide/add_rec...
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

14 years agoImplement mike's suggestions from #esi-dev on 27 Feb 2011
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.

14 years agoprovide three rows of search input by default
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

14 years agoremove debugging cruft
senator [Fri, 25 Feb 2011 16:45:17 +0000 (11:45 -0500)]
remove debugging cruft

14 years agorefining advanced search now preserves qtype/contains/query combos. also,
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

14 years agolot of things, including:
senator [Thu, 24 Feb 2011 23:11:04 +0000 (18:11 -0500)]
lot of things, including:

- crib subjects support from regular opac poc
- get rid of adv search form inclusion on results page, but keep the link to
    it. Show a special version of just the "compiled" QP query
- better and more generic handling of search terms (compiling CGI params
    to QP string)
- make limit to avail and sort work from basic search results page
- genericize search cgi params -> qp. filter:foo, s/class/qtype/, etc
- more!

14 years agoadvanced search results now show an advanced search form...
senator [Wed, 23 Feb 2011 19:11:46 +0000 (14:11 -0500)]
advanced search results now show an advanced search form...

for refining your search terms.  The query-type/contains/term rows don't
yet populate, but the rest of the form does. There probably also needs to
be more stylistic consideration.  Still need to improve the translation of
CGI parameters into QP syntax. Still need to do all kinds of things.

14 years agoapparently, some version of perl require 'our' in this context, presumably because...
berick [Tue, 22 Feb 2011 20:35:55 +0000 (15:35 -0500)]
apparently, some version of perl require 'our' in this context, presumably because it's the same package across separate files...

14 years agooops, forgot to do this reflecting js move
senator [Tue, 22 Feb 2011 20:15:48 +0000 (15:15 -0500)]
oops, forgot to do this reflecting js move

14 years agomove js to its proper places in the filesystem
senator [Tue, 22 Feb 2011 20:14:39 +0000 (15:14 -0500)]
move js to its proper places in the filesystem

14 years agomove js to end of body; no need to have footer in its own file
senator [Tue, 22 Feb 2011 15:20:42 +0000 (10:20 -0500)]
move js to end of body; no need to have footer in its own file

14 years agoempty case for myopac/circs
senator [Mon, 21 Feb 2011 21:35:41 +0000 (16:35 -0500)]
empty case for myopac/circs

14 years agoempty case for myopac/holds. use of quant for plural word in i18n.
senator [Mon, 21 Feb 2011 21:18:33 +0000 (16:18 -0500)]
empty case for myopac/holds. use of quant for plural word in i18n.

14 years agoshow summarized copy availability on results page
senator [Mon, 21 Feb 2011 20:59:31 +0000 (15:59 -0500)]
show summarized copy availability on results page

14 years agoi18n cleanup
berick [Mon, 21 Feb 2011 20:32:07 +0000 (15:32 -0500)]
i18n cleanup

14 years agoberick spotted it. double escaping.
senator [Mon, 21 Feb 2011 20:23:02 +0000 (15:23 -0500)]
berick spotted it. double escaping.

14 years agobig ol' commit making advanced search work, albeit with issues
senator [Mon, 21 Feb 2011 19:42:38 +0000 (14:42 -0500)]
big ol' commit making advanced search work, albeit with issues

most obvious issue is that advanced search leads to a result page that
renders with a basic search form filled out in a silly-looking way

I'm thinking it'd be best when showing results from an advanced search
to *not* show that basic search form, but instead have a hidden version
of the advanced search form, prepopulated, revealable by a button
labeled "refine your search" or something.

That way we'd not have to worry about reversing query parser syntax back
into broken-out widget values. make sense?

14 years agoimmediate cache expiration for html is too aggressive, leading to re-fetches on curre...
berick [Fri, 18 Feb 2011 22:05:03 +0000 (17:05 -0500)]
immediate cache expiration for html is too aggressive, leading to re-fetches on current page w/ chrome;  give the browser a few seconds to breathe

14 years agoinitial cut of anonymoust cache record lists (aka My List) management; minor cleanup
berick [Fri, 18 Feb 2011 19:58:57 +0000 (14:58 -0500)]
initial cut of anonymoust cache record lists (aka My List) management; minor cleanup

14 years agoadding the fines/payments tab images
berick [Fri, 18 Feb 2011 18:48:28 +0000 (13:48 -0500)]
adding the fines/payments tab images

14 years agoif no login redirect is set, redirect to account instead of home page
berick [Fri, 18 Feb 2011 18:33:19 +0000 (13:33 -0500)]
if no login redirect is set, redirect to account instead of home page

14 years agohide all refs to fines payment until its implemented to reduce confusion; minor cleanup
berick [Fri, 18 Feb 2011 18:23:32 +0000 (13:23 -0500)]
hide all refs to fines payment until its implemented to reduce confusion; minor cleanup

14 years agoi18n
berick [Fri, 18 Feb 2011 18:17:58 +0000 (13:17 -0500)]
i18n

14 years agoround of CSS cleanup; removing unused rules and replacing inline style with css...
berick [Fri, 18 Feb 2011 18:12:50 +0000 (13:12 -0500)]
round of CSS cleanup;  removing unused rules and replacing inline style with css classes

14 years agomild code realignment
berick [Fri, 18 Feb 2011 17:02:20 +0000 (12:02 -0500)]
mild code realignment

14 years agoensure all login requests are over SSL; warn of any non-SSL logout requests; add...
berick [Fri, 18 Feb 2011 15:40:08 +0000 (10:40 -0500)]
ensure all login requests are over SSL; warn of any non-SSL logout requests; add log line prefixes for simpler grepping

14 years agoi18n and cleanup
berick [Fri, 18 Feb 2011 14:52:41 +0000 (09:52 -0500)]
i18n and cleanup

14 years agowhile we're at it, condense the js/css/images deflat and cache control into 1 block
berick [Fri, 18 Feb 2011 14:14:18 +0000 (09:14 -0500)]
while we're at it, condense the js/css/images deflat and cache control into 1 block

14 years agounder /eg/opac, expire html immediately to pick up dynamic data; set public cache...
berick [Fri, 18 Feb 2011 14:08:51 +0000 (09:08 -0500)]
under /eg/opac, expire html immediately to pick up dynamic data;  set public cache-control on general images/css/js content

14 years agoafter auth expire time, redirect to logout page (which ultimately redirects home...
berick [Fri, 18 Feb 2011 14:04:32 +0000 (09:04 -0500)]
after auth expire time, redirect to logout page (which ultimately redirects home) to force removal of the stale auth cookie

14 years agobasic search classes work (except cn)
senator [Thu, 17 Feb 2011 20:15:33 +0000 (15:15 -0500)]
basic search classes work (except cn)

Not sure what would happen on a KCLS environment. Need to test.
bibcn nor cn do what I mean in my dev environment.

14 years agoforce new layout changes into advanced search page
senator [Thu, 17 Feb 2011 18:24:35 +0000 (13:24 -0500)]
force new layout changes into advanced search page

The advanced search page doesn't yet work, but should soon.

14 years agomake the zero-hits case work for search results
senator [Thu, 17 Feb 2011 14:18:53 +0000 (09:18 -0500)]
make the zero-hits case work for search results

14 years agocrummy paging in the record pages' copy listing
senator [Wed, 16 Feb 2011 22:23:16 +0000 (17:23 -0500)]
crummy paging in the record pages' copy listing

14 years agocopy details in the right place in the layout; some hide_me's sprinkled
senator [Wed, 16 Feb 2011 22:04:02 +0000 (17:04 -0500)]
copy details in the right place in the layout; some hide_me's sprinkled
around for now

14 years agomore i18n, minor cleanup
berick [Wed, 16 Feb 2011 17:13:59 +0000 (12:13 -0500)]
more i18n, minor cleanup

14 years agomore i18n goodness
Bill Erickson [Mon, 14 Feb 2011 18:56:35 +0000 (13:56 -0500)]
more i18n goodness

14 years agoavoid undef warnings
Bill Erickson [Mon, 14 Feb 2011 18:32:22 +0000 (13:32 -0500)]
avoid undef warnings

14 years agowhen authenticated, force the page to redirect the home page after the auth time...
Bill Erickson [Mon, 14 Feb 2011 18:31:50 +0000 (13:31 -0500)]
when authenticated, force the page to redirect the home page after the auth time has expired to protect patron data and  prevent potentially confusing post-search-submit redirects

14 years agoupdated cstoreditor to fetch full cached object to get the authtime; capturing authti...
Bill Erickson [Mon, 14 Feb 2011 18:03:24 +0000 (13:03 -0500)]
updated cstoreditor to fetch full cached object to get the authtime; capturing authtime in the web context

14 years agoadded sub to collect the HTML version of a record for display
Bill Erickson [Mon, 14 Feb 2011 16:47:57 +0000 (11:47 -0500)]
added sub to collect the HTML version of a record for display

14 years agohold actions work
senator [Tue, 15 Feb 2011 22:45:46 +0000 (17:45 -0500)]
hold actions work

14 years agoRenewals working, with feedback displayed
senator [Tue, 15 Feb 2011 21:10:25 +0000 (16:10 -0500)]
Renewals working, with feedback displayed

14 years agomake date format localize-able
Bill Erickson [Mon, 14 Feb 2011 11:45:55 +0000 (06:45 -0500)]
make date format localize-able

14 years agopulling in more copy fields for display; added sample code
Bill Erickson [Mon, 14 Feb 2011 11:45:40 +0000 (06:45 -0500)]
pulling in more copy fields for display; added sample code

14 years ago"Items Ready For Pickup" works
senator [Tue, 15 Feb 2011 18:37:47 +0000 (13:37 -0500)]
"Items Ready For Pickup" works

This uses the holds page of myopac with a special param.
Also, tiny bit of JS just to focus the username field on the login page.
Couldn't resist.

14 years ago"format" aka item_type (?) search working, I think
senator [Tue, 15 Feb 2011 17:19:11 +0000 (12:19 -0500)]
"format" aka item_type (?) search working, I think

14 years agoJudgment call. I think this just looks better.
senator [Tue, 15 Feb 2011 15:39:16 +0000 (10:39 -0500)]
Judgment call. I think this just looks better.

14 years agomake money string localizable
berick [Tue, 15 Feb 2011 15:32:04 +0000 (10:32 -0500)]
make money string localizable

14 years agoshow grocery fines; define date format in a single location
senator [Tue, 15 Feb 2011 15:31:44 +0000 (10:31 -0500)]
show grocery fines; define date format in a single location

14 years agoheh, rolling bcak unintended addition of test code
berick [Tue, 15 Feb 2011 15:19:40 +0000 (10:19 -0500)]
heh, rolling bcak unintended addition of test code

14 years agoadded support for copy paging/sorting
Bill Erickson [Mon, 14 Feb 2011 11:28:50 +0000 (06:28 -0500)]
added support for copy paging/sorting

14 years agowhen a secure page is requested insecurely, direct to login page, then redirect to...
Bill Erickson [Mon, 14 Feb 2011 10:24:57 +0000 (05:24 -0500)]
when a secure page is requested insecurely, direct to login page, then redirect to the originally requested page after successful login.  This removes the need for explicit redirect_to and https:// in secure links

14 years agofixed holds sorting; my-account link redirects to my-account; i18n cleanup
Bill Erickson [Mon, 14 Feb 2011 09:23:46 +0000 (04:23 -0500)]
fixed holds sorting; my-account link redirects to my-account; i18n cleanup

14 years agowork on myopac fines, displayed in account summary (myopac/main)
senator [Mon, 14 Feb 2011 22:40:27 +0000 (17:40 -0500)]
work on myopac fines, displayed in account summary (myopac/main)

14 years agomyopac: more complete display of circs, holds, and fines
senator [Mon, 14 Feb 2011 18:33:40 +0000 (13:33 -0500)]
myopac: more complete display of circs, holds, and fines

not completely complete. still developing.

14 years agoMove USE * from topnav.tt2 to new header.tt2; also some myopac work
senator [Mon, 14 Feb 2011 16:36:50 +0000 (11:36 -0500)]
Move USE * from topnav.tt2 to new header.tt2; also some myopac work

Minor progress in myopac/main and myopac/circs

14 years agolocalization fixed for plac hold UI
Bill Erickson [Mon, 14 Feb 2011 00:06:21 +0000 (19:06 -0500)]
localization fixed for plac hold UI

14 years agotemplate cleanup; localizing strings and mild style tweaks; more to come
Bill Erickson [Sun, 13 Feb 2011 23:34:02 +0000 (18:34 -0500)]
template cleanup;  localizing strings and mild style tweaks; more to come

14 years agohold placement works better
senator [Mon, 14 Feb 2011 15:39:54 +0000 (10:39 -0500)]
hold placement works better

14 years agomoved some code out of the main catloader module into function-specific sub-modules...
Bill Erickson [Sun, 13 Feb 2011 22:44:04 +0000 (17:44 -0500)]
moved some code out of the main catloader module into function-specific sub-modules.  Note, sub-modules still retain the OpenILS::WWW::EGCatLoader package name to ease subclassing of the top-level loader object

14 years agoA start with record detail page
senator [Fri, 11 Feb 2011 20:12:52 +0000 (15:12 -0500)]
A start with record detail page