scottmk [Mon, 11 Oct 2010 14:25:05 +0000 (14:25 +0000)]
Pull out into a separate function: the code in SELECT() that builds a
comma-separated list of ORDER BY expressions from a JSON_ARRAY.
Invoke that function, not only from SELECT(), but also from the
buildSELECT() function.
As a result, the select methods will be able to use the same array
syntax as json_query for ORDER BY clauses, as an alternative to the
existing hash syntax.
erickson [Fri, 8 Oct 2010 21:10:43 +0000 (21:10 +0000)]
mild fixes for a/t interface admin interface. sort by def name instead of hook, which probably makes more sense to a human. hide the opt-in and max-delay columns to free up some badly needed horizontal space. use percentage width for name column, which acts a lot like 'auto', but allows the user to manually resize
dbs [Fri, 8 Oct 2010 03:30:00 +0000 (03:30 +0000)]
Avoid scary SSL / HTTPS errors in Apache configuration
When port 443 is the last listener port, Apache generates lots
of "unknown protocol speaking not SSL to HTTPS port!?" errors in
the logs - which are scary, but harmless. Putting port 80 last
avoids those errors entirely, per http://wiki.apache.org/httpd/InternalDummyConnection
senator [Thu, 7 Oct 2010 22:37:45 +0000 (22:37 +0000)]
Expired holds shelf printer needs to be a holds shelf *clearer* and printer
This needs cleaned up and stuff, and made into something cooler.
Basically just does what XUL interfaces under the Circ menu can already do,
but streamlined to tolerate really big datasets.
Much of this code originates from berick and miker.
atz [Thu, 7 Oct 2010 18:48:45 +0000 (18:48 +0000)]
EDI template update for ORDERS
This template produces JSON for the edi translator to convert into
actual EDI lines. It now handles vendor-specific requirements for
account and sub-account identification, and also transmits notes
of the vendor-public variety as FTX segments in the lineitem.
phasefx [Thu, 7 Oct 2010 15:14:50 +0000 (15:14 +0000)]
destination_shelf macro for hold and hold/transit slips. Will contain either HOLD SHELF, PUBLIC HOLD SHELF, or PRIVATE HOLD SHELF (these are localizable). The latter two depend on the org unit setting 'circ.holds.behind_desk_pickup_supported' being in effect, and also considers a user setting for the holds user at the time of printing.
erickson [Thu, 7 Oct 2010 14:56:43 +0000 (14:56 +0000)]
Parallel action/trigger collection and reaction
QA'ed patch from miker to support parallel a/t event collection and
reaction. Max parallel procs is controlled by two new opensrf.xml
trigger app_settings. Sample config included, settings disabled by
default.
senator [Wed, 6 Oct 2010 21:01:42 +0000 (21:01 +0000)]
New way to printing shelf-expired holds
This just takes the newest template for printing hold pull lists and
grafts this new functionality onto it. It should perhaps be adjusted to also
be able to print things on the holds shelf that /aren't/ shelf-expired.
For now you get to this under Admin -> For Developers -> Local Administration
This also corrects a bug because of which a "print pull list (alternate
strategy)" button appeared where it shouldn't.
This also removes the booking links from Admin -> For Developers -> Local
Administration, as there are regular staff client menu entries for those now.
erickson [Wed, 6 Oct 2010 15:01:38 +0000 (15:01 +0000)]
avoid retreiving/searching a linked object, when there is no object to retrieve (i.e. ident value is null) and silence various warnings by skipping this scenario. mild variable refactor for easy reading for feeble eyes.
senator [Tue, 5 Oct 2010 16:37:57 +0000 (16:37 +0000)]
This is a silly commit, as this template should be made configurable down the
road, maybe by OU setting or something. Anyway, make the list more legible.
scottmk [Mon, 4 Oct 2010 13:43:13 +0000 (13:43 +0000)]
Add hold_priority column to permission.grp_tree table.
M Open-ILS/src/perlmods/OpenILS/Application/Storage/CDBI/permission.pm
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0425.schema.perm-grp-tree-hold-priority.sql
M Open-ILS/src/sql/Pg/006.schema.permissions.sql
M Open-ILS/examples/fm_IDL.xml
senator [Fri, 1 Oct 2010 21:48:41 +0000 (21:48 +0000)]
Fix an apparent bug in a case where OpenILS::WWW::Proxy means to send a
redirect, and also avoid the issue altogether in the new holds pull list
printing interface just added earlier today.
dbs [Fri, 1 Oct 2010 20:07:59 +0000 (20:07 +0000)]
Set due times for durations measured in days to 23:59:59 after inserts OR updates
The existing trigger acted only on the initial insert of a circulation
transaction for duration intervals perfectly divisible by 24 hours.
If updates to those due dates were subsequently issued, then the due
time would revert to 00:00:00 - which could cause surprising overdue
fines to be generated on the due date, rather than after the due date.
This commit makes the trigger take effect on both INSERT and UPDATE
to the action.circulation table.
phasefx [Fri, 1 Oct 2010 12:19:11 +0000 (12:19 +0000)]
tweak remoteauth.cgi to offer usrname and barcode params in addition to user. user param now looks for the opac.barcode_regex org unit setting to determine whether the value is a usrname or barcode. change double-quotes to single-quotes if we're not doing string interpolation. change apache instructions for configuration
dbs [Fri, 1 Oct 2010 05:24:38 +0000 (05:24 +0000)]
Teach marc_export script how to export MFHD serial records
Passing the --mfhd flag will export any non-deleted MFHD records in
serial.record_entry associated with each bib ID. So, for a hypothetical set of
bib IDs 1, 2, 3, where 2 has no associated MFHD records and 3 has 2 MFHD records
associated with it, the output will be structured as follows:
Bib MARC for bib ID 1
MFHD MARC for bib ID 1
Bib MARC for bib ID 2
Bib MARC for bib ID 3
MFHD MARC for bib ID 3
MFHD MARC for bib ID 2
dbs [Fri, 1 Oct 2010 05:16:41 +0000 (05:16 +0000)]
Add serial.record_entry to CDBI definitions
Better late than never; never added the serial.record_entry
CDBI definitions in the 1.6 series, but as that table can
still be active in 2.0 we might as well get it in place.
Delete all cookies on logoff. There's dojo code that looks for stale session cookies and has the xul client prompt for a new session. When you logoff, the session is destroyed, but the stale cookies were being left behind (and not overwritten on login? I don't understand that part). But this fixes it
senator [Tue, 28 Sep 2010 20:26:09 +0000 (20:26 +0000)]
A/T: Send an early response back to the client when running all pending events
The client may wish to know when the relativelty fast process of creating the
events is over, and the relatively slow process of validating them and running
their reactors/cleanup/etc is about to begin.
repaired bug that caused checkin to sometimes fail when a hold
was captured for a user that had at least 1 inactive card;
made checkin override events configurable; minor cleanup
Change memcached default location to 127.0.0.1 from localhost
Debian Squeeze currently doesn't fare well with memcached servers pointing to
localhost and needs an explicit 127.0.0.1, whereas Ubuntu Lucid is happy with
either. Changing the default here means one less possible gotcha in the out
of the box install & configure experience for Debian Squeeze folk.
Make authority validation rules match authority ingest rules for better matches
This resolves a problem in O:A:Storage:Publisher:authority:validate_tag() where
the full NACO normalization rules that are applied to the subfields of the
authority records when they are ingested into authority.full_rec are not similarly
applied to the incoming subfields of the bib field that is being validated;
only diacritic characters in the bib field subfields were being normalized.
Now we apply naco_normalize() to the search terms so that they will match
the ingested form of the authority record.
Silence SQL warnings from O:A:Storage:Publisher:metabib
PostgreSQL wants strings containing regular expressions to be prefixed
with E; this patch considerably reduces the noise in open-ils.storage_unix.log
by complying with PostgreSQL's wishes.