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
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!
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.
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...
senator [Tue, 22 Feb 2011 20:15:48 +0000 (15:15 -0500)]
oops, forgot to do this reflecting js move
senator [Tue, 22 Feb 2011 20:14:39 +0000 (15:14 -0500)]
move js to its proper places in the filesystem
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
senator [Mon, 21 Feb 2011 21:35:41 +0000 (16:35 -0500)]
empty case for myopac/circs
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.
senator [Mon, 21 Feb 2011 20:59:31 +0000 (15:59 -0500)]
show summarized copy availability on results page
berick [Mon, 21 Feb 2011 20:32:07 +0000 (15:32 -0500)]
i18n cleanup
senator [Mon, 21 Feb 2011 20:23:02 +0000 (15:23 -0500)]
berick spotted it. double escaping.
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?
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
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
berick [Fri, 18 Feb 2011 18:48:28 +0000 (13:48 -0500)]
adding the fines/payments tab images
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
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
berick [Fri, 18 Feb 2011 18:17:58 +0000 (13:17 -0500)]
i18n
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
berick [Fri, 18 Feb 2011 17:02:20 +0000 (12:02 -0500)]
mild code realignment
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
berick [Fri, 18 Feb 2011 14:52:41 +0000 (09:52 -0500)]
i18n and cleanup
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
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
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
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.
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.
senator [Thu, 17 Feb 2011 14:18:53 +0000 (09:18 -0500)]
make the zero-hits case work for search results
senator [Wed, 16 Feb 2011 22:23:16 +0000 (17:23 -0500)]
crummy paging in the record pages' copy listing
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
berick [Wed, 16 Feb 2011 17:13:59 +0000 (12:13 -0500)]
more i18n, minor cleanup
Bill Erickson [Mon, 14 Feb 2011 18:56:35 +0000 (13:56 -0500)]
more i18n goodness
Bill Erickson [Mon, 14 Feb 2011 18:32:22 +0000 (13:32 -0500)]
avoid undef warnings
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
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
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
senator [Tue, 15 Feb 2011 22:45:46 +0000 (17:45 -0500)]
hold actions work
senator [Tue, 15 Feb 2011 21:10:25 +0000 (16:10 -0500)]
Renewals working, with feedback displayed
Bill Erickson [Mon, 14 Feb 2011 11:45:55 +0000 (06:45 -0500)]
make date format localize-able
Bill Erickson [Mon, 14 Feb 2011 11:45:40 +0000 (06:45 -0500)]
pulling in more copy fields for display; added sample code
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.
senator [Tue, 15 Feb 2011 17:19:11 +0000 (12:19 -0500)]
"format" aka item_type (?) search working, I think
senator [Tue, 15 Feb 2011 15:39:16 +0000 (10:39 -0500)]
Judgment call. I think this just looks better.
berick [Tue, 15 Feb 2011 15:32:04 +0000 (10:32 -0500)]
make money string localizable
senator [Tue, 15 Feb 2011 15:31:44 +0000 (10:31 -0500)]
show grocery fines; define date format in a single location
berick [Tue, 15 Feb 2011 15:19:40 +0000 (10:19 -0500)]
heh, rolling bcak unintended addition of test code
Bill Erickson [Mon, 14 Feb 2011 11:28:50 +0000 (06:28 -0500)]
added support for copy paging/sorting
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
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
senator [Mon, 14 Feb 2011 22:40:27 +0000 (17:40 -0500)]
work on myopac fines, displayed in account summary (myopac/main)
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.
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
Bill Erickson [Mon, 14 Feb 2011 00:06:21 +0000 (19:06 -0500)]
localization fixed for plac hold UI
Bill Erickson [Sun, 13 Feb 2011 23:34:02 +0000 (18:34 -0500)]
template cleanup; localizing strings and mild style tweaks; more to come
senator [Mon, 14 Feb 2011 15:39:54 +0000 (10:39 -0500)]
hold placement works better
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
senator [Fri, 11 Feb 2011 20:12:52 +0000 (15:12 -0500)]
A start with record detail page
senator [Thu, 10 Feb 2011 22:24:05 +0000 (17:24 -0500)]
advanced page doesn't need login first
senator [Thu, 10 Feb 2011 21:51:19 +0000 (16:51 -0500)]
start using a centrally hard-coded ctx.opac_root
senator [Thu, 10 Feb 2011 21:11:37 +0000 (16:11 -0500)]
the user account "dashboard"/mini-myopac works on every page now
senator [Thu, 10 Feb 2011 19:04:56 +0000 (14:04 -0500)]
whitespace and minor stuff
senator [Thu, 10 Feb 2011 18:15:19 +0000 (13:15 -0500)]
some progress on the place_hold page; ou selector improvements, etc
Bill Erickson [Thu, 10 Feb 2011 17:25:29 +0000 (12:25 -0500)]
login form cleanup and implementation of login-failure handling; more to come
berick [Thu, 10 Feb 2011 16:56:59 +0000 (11:56 -0500)]
added i18n filter support for translating text blocks via filters; more login form cleanup; moved some global USE's into topnav
Bill Erickson [Thu, 10 Feb 2011 16:14:41 +0000 (11:14 -0500)]
added support for login via barcode and persistent logins; capturing login failures; use cache infrastructure for fetching/caching cmf objects
senator [Wed, 9 Feb 2011 21:11:28 +0000 (16:11 -0500)]
misc work on the results page, including:
hold placement link,
result prev/next page links on top and bottom,
edition and physical description,
add in previously missing filtersort template
berick [Wed, 9 Feb 2011 17:29:26 +0000 (12:29 -0500)]
if no locale config is present in oils_web, assume en_US exists and is valid
senator [Tue, 8 Feb 2011 23:12:05 +0000 (18:12 -0500)]
hey, maybe I should commit sometime today
results page partly working. woof.
senator [Mon, 7 Feb 2011 22:44:46 +0000 (17:44 -0500)]
home page looks like kcls prod version now rather than dev
senator [Mon, 7 Feb 2011 22:10:38 +0000 (17:10 -0500)]
basic search "works" inasmuch as it leads to a GET request against the
results page as it should. not that the results page itself works yet.
senator [Mon, 7 Feb 2011 21:53:28 +0000 (16:53 -0500)]
login page working (just for login, not the extras like "remember me")
senator [Mon, 7 Feb 2011 21:46:39 +0000 (16:46 -0500)]
ctx.media_prefix for all images and css
senator [Mon, 7 Feb 2011 21:41:20 +0000 (16:41 -0500)]
Render entities as calls to l(). Goodbye DTD
senator [Mon, 7 Feb 2011 20:35:14 +0000 (15:35 -0500)]
preparing a could of docs for entitization (fix wrong ent references)
senator [Mon, 7 Feb 2011 19:01:39 +0000 (14:01 -0500)]
Shove the POC out of the way, move the KCLS-derived stuff in
senator [Mon, 7 Feb 2011 17:36:35 +0000 (12:36 -0500)]
Big move of css, images, js