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
senator [Mon, 7 Feb 2011 17:06:06 +0000 (12:06 -0500)]
Remove a ton of javascript. A little more to come
senator [Fri, 4 Feb 2011 22:14:15 +0000 (17:14 -0500)]
Never got the place_hold page in until just now
parts/place_hold.tt2 needs css/js attention already seen by other
templates in parts/
senator [Fri, 4 Feb 2011 16:33:21 +0000 (11:33 -0500)]
kill a lot of inline styling, add some more js stubs, fix a bug in advanced.tt2
senator [Fri, 4 Feb 2011 15:41:37 +0000 (10:41 -0500)]
correct some style= that should be class=
senator [Fri, 4 Feb 2011 15:41:23 +0000 (10:41 -0500)]
utils changes
senator [Fri, 4 Feb 2011 01:24:28 +0000 (20:24 -0500)]
started moving some inline styles into css classes
Here's the deal so far: all the inline styles are covered by one class
in semiauto.css, but those were created programatically and reflect no
understanding of the relationship between the purpose of any given
element that's styled and what its style is. These auto-generated
styles also are kind of redundant, since with many of them, instead of
using the style with a long definition, you could use a combination of
smaller styles.
The existing markup uses many slightly different style attributes, so
there's plenty of stuff like "width: 12", "width: 13", "width: 14", etc,
so there's no way to map a lot of this to semantically meaningful names.
some of these classes are just going to end up with names like
"wide-fourteen" that are no better than inline styles.
But others, as we find them manually, can be grouped and renamed into
something meaningful, and sometimes style can be put into prexisting id
and class definitions. Should be a couple more hours work.
semiauto.css reflects progress with the generated classes.
changes to style.css reflect early places where style could be moved
into pre-existing classes.
senator [Fri, 4 Feb 2011 00:35:13 +0000 (19:35 -0500)]
move temporary kcls format-icon table from mod_perl to template land
Bill Erickson [Thu, 3 Feb 2011 21:47:59 +0000 (16:47 -0500)]
Integrate Locale::Maketext for string translations
Added support for configuring supported locales and specifying message
catalogs as gettext .po or .mo files. All locales default to native
template strings when no translation is provided.
Updated oils_web config and added some inline template examples
senator [Thu, 3 Feb 2011 20:40:34 +0000 (15:40 -0500)]
a thought about the add/remove css funcs
senator [Thu, 3 Feb 2011 20:34:19 +0000 (15:34 -0500)]
JS stubbed out, mostly. See longer commit msg.
Here's the deal with JS so far.
A few instances of onfocus, onblur, onmouseout, and onmouseover have been
left alone, as they're doing simple cosmetic things.
A lot of instances of onclick remain, and a couple onchange, but these
now either a) just do cosmetic things (hide/unhide) or b) call stubbed
out functions prepared in misc.js
That doesn't mean we won't still totally rip out lots of this JS, but
it leaves us a hint as to what is supposed to happen where. I can
easily see us losing track of that later. So anyway, many of the
stubbed functions will probably be replaced with purely server side
functionality later, but until then, they can serve as a kind of
documentation.
senator [Thu, 3 Feb 2011 20:03:54 +0000 (15:03 -0500)]
while the enter-key capturing is around, do it right at least
senator [Thu, 3 Feb 2011 19:54:14 +0000 (14:54 -0500)]
deal with some onclick handlers, also with broken relative links from
myopac/* templates
senator [Thu, 3 Feb 2011 18:37:22 +0000 (13:37 -0500)]
addressed existing onchange handlers
senator [Thu, 3 Feb 2011 18:15:39 +0000 (13:15 -0500)]
get rid of some onkeydown events handlers, as well as onload and onerror events
that aren't for real DOM events, but for dojo-related stuff
senator [Thu, 3 Feb 2011 17:56:10 +0000 (12:56 -0500)]
Keep the swapTabs() function around only for the advanced search page
Other use cases will be replaced with links to actual pages, or
otherwise dealt with.
senator [Thu, 3 Feb 2011 17:53:22 +0000 (12:53 -0500)]
remove __setsortsel() - I think this can be handled in templates later
senator [Thu, 3 Feb 2011 17:37:11 +0000 (12:37 -0500)]
well, almost all references to dojo were already gone
For now i'm leaving alone a lot of instances of jsId attributes; they
might serve to remind us later of what some elements are for.
senator [Thu, 3 Feb 2011 16:54:23 +0000 (11:54 -0500)]
all five main parts of their myopac page
now it's on to the serious js scrubbing (dojo parts are already gone). this is
going to take more than simply removing js in many cases, though, since
so much layout is accomplished by means of JS in the kcls skin,
especially in regards to subinterfaces and nested tabbiness
senator [Wed, 2 Feb 2011 23:04:57 +0000 (18:04 -0500)]
myopac circs page
senator [Wed, 2 Feb 2011 22:17:32 +0000 (17:17 -0500)]
a start to myopac
senator [Tue, 1 Feb 2011 20:46:46 +0000 (15:46 -0500)]
more whitespace fixing; may seem trivial, but will save a lot of time
later in trying to understand what's what
senator [Tue, 1 Feb 2011 20:38:14 +0000 (15:38 -0500)]
more whitespace fixing, reorg, etc. note to self: JS in advanced page
senator [Tue, 1 Feb 2011 20:29:34 +0000 (15:29 -0500)]
whitespace, syntax, and title fixes
senator [Tue, 1 Feb 2011 20:25:55 +0000 (15:25 -0500)]
forgot this for record
senator [Tue, 1 Feb 2011 20:25:29 +0000 (15:25 -0500)]
record more complete
senator [Tue, 1 Feb 2011 19:34:28 +0000 (14:34 -0500)]
Add record page; cleanup and reorg
senator [Mon, 31 Jan 2011 22:44:41 +0000 (17:44 -0500)]
results page kinda there
senator [Mon, 31 Jan 2011 22:38:52 +0000 (17:38 -0500)]
progress on the results page
senator [Mon, 31 Jan 2011 21:20:08 +0000 (16:20 -0500)]
a little consolidation, a little linking of new pages to each other
senator [Mon, 31 Jan 2011 20:52:35 +0000 (15:52 -0500)]
myopac login form
senator [Mon, 31 Jan 2011 20:22:02 +0000 (15:22 -0500)]
minor missing parts from adv search
senator [Mon, 31 Jan 2011 19:08:39 +0000 (14:08 -0500)]
advanced page getting there
senator [Mon, 31 Jan 2011 18:10:20 +0000 (13:10 -0500)]
enough super-lite js to make the advanced page with its tabbiness work
senator [Mon, 31 Jan 2011 17:56:42 +0000 (12:56 -0500)]
cleanup and reorg parts so far
senator [Mon, 31 Jan 2011 17:21:25 +0000 (12:21 -0500)]
kind of have the home page working, minus entity renderin
Bill Erickson [Mon, 31 Jan 2011 14:59:52 +0000 (09:59 -0500)]
moved EGCatLoader to be consistent w/ new perlmod layout
Bill Erickson [Mon, 31 Jan 2011 01:16:54 +0000 (20:16 -0500)]
initial bookbags stub page
Bill Erickson [Mon, 31 Jan 2011 00:51:22 +0000 (19:51 -0500)]
minor terminology change
Bill Erickson [Mon, 31 Jan 2011 00:51:05 +0000 (19:51 -0500)]
report when 0 items to list in circs/holds page
Bill Erickson [Mon, 31 Jan 2011 00:50:32 +0000 (19:50 -0500)]
added sample update-email operation; cleaned out some debug code
Bill Erickson [Mon, 31 Jan 2011 00:00:25 +0000 (19:00 -0500)]
added org selector to search form; added 'loc' param to search next/prev links
Bill Erickson [Sun, 30 Jan 2011 23:57:47 +0000 (18:57 -0500)]
fixed some cache bugs; added org location/depth search params; added org settings handler
Bill Erickson [Sun, 30 Jan 2011 23:56:11 +0000 (18:56 -0500)]
protect against undef string warnings
Bill Erickson [Sat, 29 Jan 2011 15:30:52 +0000 (10:30 -0500)]
make title/author links on holds page
Bill Erickson [Sat, 29 Jan 2011 15:25:45 +0000 (10:25 -0500)]
minor circs page tweaks: disable renew option when no renewals left; make title/author links
senator [Fri, 28 Jan 2011 19:30:17 +0000 (14:30 -0500)]
beginning of boiling down the home page of the kcls skin
Bill Erickson [Thu, 27 Jan 2011 22:40:47 +0000 (17:40 -0500)]
holds retrieval is a hefty process, created a parallelizer for testing; shows good speed improvemetn on larger batches of holds
senator [Thu, 27 Jan 2011 21:28:59 +0000 (16:28 -0500)]
Show hold statuses
Bill Erickson [Thu, 27 Jan 2011 21:00:19 +0000 (16:00 -0500)]
more holds placement work; use http referer as default redirect_to option for login page and post-holds-placement page; when a secure resource is requested, redirect to login page
senator [Thu, 27 Jan 2011 20:49:27 +0000 (15:49 -0500)]
show kcls-style mat-type images for holds
senator [Thu, 27 Jan 2011 20:04:07 +0000 (15:04 -0500)]
format/mat-type start
Bill Erickson [Thu, 27 Jan 2011 19:55:44 +0000 (14:55 -0500)]
more holds work; added item form/type/lang maps to list of public access classes; removed some unused test tempates
senator [Thu, 27 Jan 2011 19:21:47 +0000 (14:21 -0500)]
Holds editing is totally giraffes for the moment
senator [Thu, 27 Jan 2011 17:36:52 +0000 (12:36 -0500)]
fines summary
Bill Erickson [Thu, 27 Jan 2011 17:10:49 +0000 (12:10 -0500)]
added perl bits for hold cancel/suspend/activate all/selected w/ sample tempate components
senator [Thu, 27 Jan 2011 17:04:11 +0000 (12:04 -0500)]
This isn't the time/place for finesse, but these tweaks make development easier
senator [Thu, 27 Jan 2011 16:47:45 +0000 (11:47 -0500)]
ctx.responses was for debugging; don't need it
senator [Thu, 27 Jan 2011 16:45:55 +0000 (11:45 -0500)]
some fines display. tweak eg_vhost (IfModule ...)
Bill Erickson [Thu, 27 Jan 2011 14:56:26 +0000 (09:56 -0500)]
added support for reporting renewal responses in the template
Bill Erickson [Wed, 26 Jan 2011 22:14:40 +0000 (17:14 -0500)]
initial support for renew all and renew selected, w/ stub template implementation; still some to-do's
Bill Erickson [Wed, 26 Jan 2011 20:17:31 +0000 (15:17 -0500)]
fix perl sort comparator
Bill Erickson [Wed, 26 Jan 2011 19:54:53 +0000 (14:54 -0500)]
initial fines list handler
Bill Erickson [Wed, 26 Jan 2011 18:53:18 +0000 (13:53 -0500)]
don't attempt to load account pages without valid ses and SSL
senator [Wed, 26 Jan 2011 17:23:38 +0000 (12:23 -0500)]
show some holds
senator [Wed, 26 Jan 2011 16:20:05 +0000 (11:20 -0500)]
show some circs in myopac -> items out
senator [Wed, 26 Jan 2011 15:28:50 +0000 (10:28 -0500)]
Make myopac subpages' names match what bill had in mind
senator [Wed, 26 Jan 2011 15:23:00 +0000 (10:23 -0500)]
myopac primitive framework
Bill Erickson [Wed, 26 Jan 2011 14:59:51 +0000 (09:59 -0500)]
initial user circulations list call
Bill Erickson [Wed, 26 Jan 2011 13:39:22 +0000 (08:39 -0500)]
for listing holds, taking advantage of batch retrieve args to reduce data size; added limit/offset to holds list for paging
Bill Erickson [Wed, 26 Jan 2011 13:37:50 +0000 (08:37 -0500)]
added call args to open-ils.circ.hold.details.*.retrieve to allow the caller to scale back the returned data set
senator [Tue, 25 Jan 2011 23:48:41 +0000 (18:48 -0500)]
starts
Bill Erickson [Tue, 25 Jan 2011 22:40:37 +0000 (17:40 -0500)]
added generic public object fetch-and-cache routine; added stub holds retrieval, but more to come on that
Bill Erickson [Fri, 21 Jan 2011 22:27:26 +0000 (17:27 -0500)]
path based record display, primitive facet links
Bill Erickson [Fri, 21 Jan 2011 22:27:16 +0000 (17:27 -0500)]
path based record display, primitive facet links
Bill Erickson [Fri, 21 Jan 2011 21:18:07 +0000 (16:18 -0500)]
repaired subject rending on detail page
Bill Erickson [Fri, 21 Jan 2011 21:09:07 +0000 (16:09 -0500)]
use path-based bib IDs instead of GET params
Bill Erickson [Fri, 21 Jan 2011 21:08:50 +0000 (16:08 -0500)]
move template finder in front of context loader, so that context loader has access to path-based page arguments
Bill Erickson [Fri, 21 Jan 2011 15:20:36 +0000 (10:20 -0500)]
don't muck w/ media_prefix if it's unset
Bill Erickson [Thu, 20 Jan 2011 22:05:28 +0000 (17:05 -0500)]
better call parallization
Bill Erickson [Thu, 20 Jan 2011 18:59:20 +0000 (13:59 -0500)]
use a single cache var instead of polluting with a series of global cache variables; protect against search calls that return an exception
Bill Erickson [Thu, 20 Jan 2011 18:10:51 +0000 (13:10 -0500)]
protect against empty search results
Bill Erickson [Wed, 19 Jan 2011 18:17:48 +0000 (13:17 -0500)]
use explicit odd/even classes since some browsers don't support css3 odd/even selector
Bill Erickson [Tue, 18 Jan 2011 16:48:11 +0000 (11:48 -0500)]
make better use of media_prefix; only apply ses cookie in secure context; updated docs
Bill Erickson [Tue, 18 Jan 2011 15:37:07 +0000 (10:37 -0500)]
added sample cache-killer for tt opac for development purposes
Bill Erickson [Tue, 18 Jan 2011 15:34:12 +0000 (10:34 -0500)]
added the default config options for running the tt opac. only the eg_vhost change is needed
Bill Erickson [Tue, 18 Jan 2011 14:59:16 +0000 (09:59 -0500)]
Proof of concept Template-Toolkit OPAC
Michael Peters [Wed, 20 Jul 2011 15:09:40 +0000 (11:09 -0400)]
LP#647121 Event handling on override abort
Discussed on IRC, phasefx discovered that several events were not being properly
handled when they were empty strings. Tested and working on Evergreen 2.0.4.
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Dan Wells [Tue, 19 Jul 2011 16:02:17 +0000 (12:02 -0400)]
MFHD compressed holding fixes
1. Add new utility method to MFHD.pm:
holdings_by_caption(): return all holdings attached to a
given caption
2. Add 'passthru_open_ended' option to get_decompressed_holdings()
Previously, attempts to decompress an open-ended holding
would error out. Now, in the absence of this option,
open-ended holdings are discarded and you get a warning
(since they cannot logically be decompressed), while if
this option is 'true' they are passed back unaffected
3. compressed_to_last() on an open-ended holding now more
correctly returns 'undef' rather than the unaltered holding
4. get_compressed_holdings() will now honor an open-ended holding
by treating it as "infinite", and thus absorbing any holdings
which would follow
5. Overloaded comparison operator now correctly detects "swap"
cases (where only the second operand is a holding)
6. Overloaded comparison operator now consistently treats
open-ended holdings as "greater-than" a single or closed
holding which has the same starting point
7. Fix 2 thinkos in comparison operator for overlapping
compressed holdings
8. Add new compressed_end() method to Holding.pm which can add
or set a new ending to a holding, making compressed if needed
9. Correctly recognize partially compressed holdings
If a holding is defined as:
863 40 $81.1 $a1 $b2-10
this actually means:
863 40 $81.1 $a1-1 $b2-10
so let's make sure to treat it that way.
9. Expand the MFHD test suite to better cover the improvements
in this commit
There is also the beginnings of a _get_truncated_holdings()
method for handling odd cases where an open-ended holding is
followed by a single/closed holding, but it is currently
commented out, pending further design consideration.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Galen Charlton [Tue, 19 Jul 2011 18:43:03 +0000 (14:43 -0400)]
rerun DB update 0582 to avoid upgrade problem
This implements the same update as 0582.schema.aging_circ_view.sql,
and exists purely the the sake of avoid a potential upgrade
glitch for somebody who's upgrading from 2.0.8+ that includes
a version of this fix that's not compatible with with 2.1+.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>