dbs [Fri, 4 Dec 2009 16:30:22 +0000 (16:30 +0000)]
Update test data to make tests pass again
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15080
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 4 Dec 2009 16:10:24 +0000 (16:10 +0000)]
missing $$;
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15079
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 4 Dec 2009 16:02:03 +0000 (16:02 +0000)]
Add a bunch of updatable view to the query schema, for
representing various subsets of expressions.
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/008.schema.query.sql
A Open-ILS/src/sql/Pg/upgrade/0107.schema.query-updatable_views.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15078
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 4 Dec 2009 15:37:19 +0000 (15:37 +0000)]
Patch from Lebbeous Fogle-Weekley which implements the configuration interfaces required
to support bookable resources, including the addition of cataloged materials as bookable
items. Thus spake Lebbeous:
Here it is at last. The only entry point (for now) to these interfaces
besides the "admin" menu is in the holdings maintenance / copy browser
context menu. There you can select items and create bookable resources
out of them (basically), and upon that creation you get a new tab open
in the staff client where you could further edit (in a basic, conify
way) that resource.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15077
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 4 Dec 2009 15:34:10 +0000 (15:34 +0000)]
adding new schemas to the database building script
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15076
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 4 Dec 2009 15:01:49 +0000 (15:01 +0000)]
One more fix for po2moz requiring the output type in the incoming PO file name
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15075
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 4 Dec 2009 03:09:24 +0000 (03:09 +0000)]
Hack: create symbolic links with names demanded by Translate Toolkit
GNU gettext recommended layout is foo.dtd/ll.po, where "ll" represents
the locale of the translated resource.
But Translate Toolkit doesn't offer any command line flags to tell it
what kind of file it's supposed to generate; it relies on the filename:
The file extension of the original Mozilla file is required to tell the
Toolkit how to do the conversion. Therefore, a file like foo.dtd must be
named foo.dtd.po in order to po2moz to recognise it as a DTD file.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15074
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 4 Dec 2009 01:46:41 +0000 (01:46 +0000)]
Merge build fix from launchpad translation branch - Geez. Sometimes the output directories don't exist! Let's make'em.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15073
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 3 Dec 2009 21:51:59 +0000 (21:51 +0000)]
overzealous replace spotted by Lebbeous
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15072
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 3 Dec 2009 21:29:05 +0000 (21:29 +0000)]
integrate the new booking.reservation billable transaction table with all the parts that use grocery transactions, including in the materialized summary view
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15071
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 3 Dec 2009 16:23:34 +0000 (16:23 +0000)]
Add updatable view query.expr_string.
Change a datatype in query.record_column.
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/008.schema.query.sql
A Open-ILS/src/sql/Pg/upgrade/0104.schema.query-expr-string.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15070
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 3 Dec 2009 15:59:19 +0000 (15:59 +0000)]
forgot to bump the upgrade log version for the baseline schema
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15069
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 3 Dec 2009 15:58:34 +0000 (15:58 +0000)]
adding max_fine to resource_type and reservation; moved au.reservation pointer from capturing staff to requesting user
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15068
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 3 Dec 2009 15:40:16 +0000 (15:40 +0000)]
add some default event def granularities. when an override widget is defined, still try to set the value of the widget based on the object being edited
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15067
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 3 Dec 2009 15:02:09 +0000 (15:02 +0000)]
use cstore instead of storage in fetch_noncat, make sure closed date overlap call goes to storage
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15066
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 3 Dec 2009 14:52:22 +0000 (14:52 +0000)]
protect against nonexistent staged user
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15065
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 3 Dec 2009 14:49:42 +0000 (14:49 +0000)]
calculate/flesh non-cat circ due date during circ creation
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15064
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 3 Dec 2009 14:48:54 +0000 (14:48 +0000)]
Use the new .duedate field for non-cat circs, which avoids closed dates like due dates for normal circs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15063
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 3 Dec 2009 02:54:50 +0000 (02:54 +0000)]
Once again into the breach
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15062
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 2 Dec 2009 23:39:35 +0000 (23:39 +0000)]
merge from my offline repo. Toward a billing interface replacement. Other things including a hopeful fix for a dojo.require race condition in util/date.js
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15061
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 2 Dec 2009 18:31:01 +0000 (18:31 +0000)]
implemented items out page. made printing of top-level receipt optional. trimmed nav links to only include links that are not already available elsewhere.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15060
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 2 Dec 2009 16:55:53 +0000 (16:55 +0000)]
Add three more tables to the query schema: record_column, select_item,
and order_by_item.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0102.schema.query-col-sel-order.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15059
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 2 Dec 2009 16:22:34 +0000 (16:22 +0000)]
Apply patch from Dan Wells to correct nonumRegex
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15056
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 2 Dec 2009 15:30:30 +0000 (15:30 +0000)]
Renaming the "sql" schema to "query"
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15055
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 2 Dec 2009 15:07:22 +0000 (15:07 +0000)]
clean up open-ils.circ.actor.user.checked_out some. no longer using open_circulation view
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15054
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 2 Dec 2009 14:35:05 +0000 (14:35 +0000)]
added stored proc to take a circ and determine the full chain of associated circs and companion proc to summarize the chain. added fm class accs for action::circ_chain_summary. add ML method to turn the stored proc output into FM objects. added unrecoverd field to action.circulation since it was missing
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15053
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 2 Dec 2009 04:37:32 +0000 (04:37 +0000)]
Add two new tables to the query schema: case_branch and from_relation.
Also: create a foreign key in stored_query pointing to
from_relation.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0100.schema.query-case-from.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15052
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Wed, 2 Dec 2009 01:23:16 +0000 (01:23 +0000)]
Add test to confirm that holdings fields are defined for each
caption in each test stanza.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15051
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 1 Dec 2009 18:27:46 +0000 (18:27 +0000)]
wrap idle delay in try/catch to prevent cryptic popup error with invalid org setting values
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15050
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 30 Nov 2009 21:52:46 +0000 (21:52 +0000)]
Add table query.expression, and add a couple of foreign keys
that point to it.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0099.schema.expression.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15049
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 30 Nov 2009 20:36:13 +0000 (20:36 +0000)]
plugged in checkout/renewal receipt printing and patron logout
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15048
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 30 Nov 2009 20:35:11 +0000 (20:35 +0000)]
Create a schema named "query" instead of "sql" (which is a
reserved word).
Note that two previous upgrade scripts are being changed. If you have
already run them, you can run them again after manually deleting two
entries from config.upgrade.log:
DELETE FROM config.upgrade.log
WHERE version in ( '0097', '0098' );
The 0097.schema.sql-datatype.sql will drop the misbegotten sql
schema if it exists.
A Pg/008.schema.query.sql
M Pg/upgrade/0098.schema.sql-stored-query.sql
M Pg/upgrade/0097.schema.sql-datatype.sql
D Pg/008.schema.sql.sql
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15047
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 30 Nov 2009 20:32:51 +0000 (20:32 +0000)]
debugging
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15046
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 30 Nov 2009 19:58:13 +0000 (19:58 +0000)]
Add two tables to the sql schema: stored_query and query_sequence.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0098.schema.sql-stored-query.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15045
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 30 Nov 2009 17:51:05 +0000 (17:51 +0000)]
Create a new schema "sql" to represent stored queries.
Note: the 008.schema.sql.sql file defines the entire schema,
except for updatable views (which will be defined later).
However the upgrade file 0097.schema.sql-datatype.sql
only adds four tables; likewise for the update to fm_IDL.xml.
The other tables will be added in due course, but in the
meanwhile there will be some tables defined in the schema
file that haven't been added yet by the upgrades.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0097.schema.sql-datatype.sql
A Open-ILS/src/sql/Pg/008.schema.sql.sql
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15044
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 30 Nov 2009 16:31:21 +0000 (16:31 +0000)]
"Floating" field for copies in copy editor and lists
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15043
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 30 Nov 2009 15:31:43 +0000 (15:31 +0000)]
encode email text as utf8 to prevent 'wide character in syswrite' errors in email::send
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15040
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 30 Nov 2009 14:14:23 +0000 (14:14 +0000)]
access the user_data hash directly from the env variable and don't clobber said variable in the process
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15039
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 28 Nov 2009 23:43:37 +0000 (23:43 +0000)]
in insertOrderedFields(), append if no tags are greater than the tag of the field being inserted
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15038
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 28 Nov 2009 23:32:32 +0000 (23:32 +0000)]
use the correct name for marcbreaker format; add support for sf delimiter to batches
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15037
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 28 Nov 2009 23:15:21 +0000 (23:15 +0000)]
defer turning chunks of xml or marc-breaker into actual records until next() is called
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15036
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 26 Nov 2009 02:09:09 +0000 (02:09 +0000)]
DB and middle layer implementation of floating items -- no UI yet.
asset.copy gets a new BOOL column, floating, that when set to true causes
the circ_lib for that copy to be set to the check-in location if it would
otherwise be transited elsewhere simply to be reshelved.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15035
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Thu, 26 Nov 2009 01:35:03 +0000 (01:35 +0000)]
Add some simple error checking to deal with common types of bad
data that I'm seeing in MFHD dumps from real ILSs.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15034
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Wed, 25 Nov 2009 22:44:34 +0000 (22:44 +0000)]
CHANGES
. Added more comments
. Removed OpenSRF dependency entirely
. Added compressed_to_last() method
. Added setter functionality to is_compressed() method (needed for compressed_to_last())
. Replaced hardcoded 'Note:' with double-dash (should we consider some basic template support?)
. Fixed a few small bugs and typos
================================================
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15033
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 25 Nov 2009 21:38:37 +0000 (21:38 +0000)]
Added sample self-checkout checkout receipt
added generic (public/perm-checkin) circ event runner
Added 'g' qualifier to event path-fleshing method name munging
Added explicit exception when environment path is not valid
Added virtual hours_of_operation field for org units
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15030
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 25 Nov 2009 20:45:18 +0000 (20:45 +0000)]
add object collection for create/update/delete to the last object in the list ... thinko
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15029
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 25 Nov 2009 20:19:29 +0000 (20:19 +0000)]
teach open-ils.PermaCrud to return objects created by .create, updated by .update, and the list of ids deleted by .delete/.eliminate
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15028
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 25 Nov 2009 18:49:34 +0000 (18:49 +0000)]
add is_json() in the 0092 upgrade script, to avoid warnings ... and add it again in 0093 to fix things for folks that already updated with 0092
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15027
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 25 Nov 2009 18:07:13 +0000 (18:07 +0000)]
Adding support for an opaque user_data field on Action/Trigger events:
* New column on action_trigger.event and fieldmapper field (user_data) to hold json-encoded data blob
* New optional param to event creation calls to pass said data blob
(related, added a granularity param to targeted event creator -- pass undef in that position to ignore def granularity, as before)
* New grouped event environment array, called user_data, carrying the peer user_data fields to target and event
* New grouped event method, environment.EventProcessor.findEvent(), for grabbing a specific Event instance (fully fleshed)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15026
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 25 Nov 2009 16:49:13 +0000 (16:49 +0000)]
Replace all calls to the old JSON parser with calls
to the new one.
M Open-ILS/src/c-apps/oils_cstore.c
M Open-ILS/src/c-apps/oils_dataloader.c
M Open-ILS/src/c-apps/oils_utils.c
M Open-ILS/src/c-apps/oils_auth.c
M Open-ILS/src/extras/oils_requestor.c
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15025
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 25 Nov 2009 14:32:24 +0000 (14:32 +0000)]
don't forget to fetch the org setting at load time
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15024
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 25 Nov 2009 13:41:18 +0000 (13:41 +0000)]
patch from Joe Atzberger to silence some JS console warnings
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15023
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 25 Nov 2009 03:21:54 +0000 (03:21 +0000)]
added org setting to enable selfcheck audio. alter popup alert to match setting name layout
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15022
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 24 Nov 2009 22:45:22 +0000 (22:45 +0000)]
plugged in audio alerts for selfcheck. local config is managed by TT path overriding. at least until there's a need to make it fancier. TODO: add the org setting that turns on audio alerts for selfcheck
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15021
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 24 Nov 2009 17:50:27 +0000 (17:50 +0000)]
fixed bug in load() arguments in IDL class auto-vivicate process
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15020
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 24 Nov 2009 15:28:34 +0000 (15:28 +0000)]
add explicit link from resource_type to biblio.record_entry
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15019
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 22:39:07 +0000 (22:39 +0000)]
added support for requiring workstation and patron password via org unit setting
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15018
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 22:10:47 +0000 (22:10 +0000)]
added self-check org settings seed data for workstation/password required
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15017
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 20:50:40 +0000 (20:50 +0000)]
DB update patch/script from Joe Atzberger.
===
Attachment one is a database update script based on work Bill sent to the list. The previous mechanism was to call psql -f once per file, but that also required the psql password to be entered once per file and didn't check to see if the call failed to try again or at least bail out on subsequent files (that might require the earlier ones to succeed. Given that typing (or even pasting) 20+ consecutive blind password entires is error-prone, I replaced that with a pipe to single psql call.
Pending acceptance, the foreseeable goal will be to integrate this script with the update.sh script and have a single call to apply both code and data changes from an updated repo.
===
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15016
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 20:38:40 +0000 (20:38 +0000)]
Update script patch from Joe Atzberger.
===
The purpose of this script is to consolidate a lot of the annoying and error-prone tasks associated with an upgrade for a developer, including make, make install, the xulrunner client built and autogen.
Considerations:
* Run as user "opensrf"
* opensrf needs sudo (again, targeting developers, not production) for apache stop/start, chown and make install
* Assumes opensrf has two SVN (or git-svn) repos: OpenILS and OpenSRF
* Both repos should be already configured (as in ./configure)
Detailed usage notes available via -h option. Both repo directories and the install directory can be specified on the command line. Try it with -t (test mode) to see feedback without making any changes.
===
TODO. Add option to use brick_ctl.sh instead of osrf_ctl.sh for service start/stop
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15015
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 23 Nov 2009 20:37:08 +0000 (20:37 +0000)]
Changing some datatypes to link, to reflect the presence
of corresponding linkages in the <links> aggregate, for
classes "rud", "rcirct", "rhrr", "rxbt", "rxpt", and "ergbhu".
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15014
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 23 Nov 2009 20:18:09 +0000 (20:18 +0000)]
Corrections to IDL entries in classes "erfcc", "rccc", "rccbs",
"iatc", and "rodcirc":
1. Changed several datatypes to "link" to reflect linkages in the
<links> aggregate.
2. In "iatc": added a <link> element for field "prev_hop".
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15013
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 20:17:28 +0000 (20:17 +0000)]
patch from Ben Ostrowsky to flesh patron profile info in overdue notice script
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15009
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 23 Nov 2009 19:31:34 +0000 (19:31 +0000)]
1. Eliminated a duplication of field labels in class "ateo"
2. Eliminated some ectopic label attributes from the
<links> aggregate of class "au"
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15008
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 23 Nov 2009 19:07:03 +0000 (19:07 +0000)]
Add reporter:label attributes to various fields
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15007
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 17:13:14 +0000 (17:13 +0000)]
now updating circ and hold summary numbers. during checkout, update the total and session checkout number. if a hold is captured during checkout, update the hold numbers to reflect the change
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15006
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 16:41:27 +0000 (16:41 +0000)]
plugged in support for auto-renew-age checking. more event handling. self-check should now be functionally equivalent to the old self-check as far as checkout/renewal goes. still needs receipts, etc.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15005
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 15:45:34 +0000 (15:45 +0000)]
plugged in autorenewal, more event handling
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15004
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 14:10:21 +0000 (14:10 +0000)]
pull dojo into selfcheck since it relies on opac_utils.js. treat inactive patrons as not-found
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15001
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 13:58:53 +0000 (13:58 +0000)]
patch for Joe A. and Lebbeous FW. to specify function args in drop function statement
git-svn-id: svn://svn.open-ils.org/ILS/trunk@15000
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 23 Nov 2009 00:12:56 +0000 (00:12 +0000)]
fleshed out some circ/login error/event handling
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14999
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Sun, 22 Nov 2009 19:49:18 +0000 (19:49 +0000)]
added a util function to play an audio file via url using the HTML5 <audio> element. no attempt was made to support browsers that don't yet support <audio>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14998
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Sun, 22 Nov 2009 00:37:42 +0000 (00:37 +0000)]
CHANGES
. Added support for compressed 863 holdings, including both structure and function
. Added function to turn 863 chronologies into ISO datestrings (YYYY-MM-DD)
. Employed the existing prediction logic to generate full prediction lists by way of an 863 increment method
. Added necessary accessor and setter methods to reduce direct object attribute access
. Renamed a few methods to better fit the expanded object interfaces
. Cleaned up a few commented-out print-type debug statements
. Other minor changes
TODO
. Switch to full POD-style inline documentation
. Address various XXX and TODO comments here and there as needed
. Further flesh out object interfaces as needed
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
Signed-off-by: Dan Wells <dbw2@calvin.edu>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14997
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 20 Nov 2009 21:56:20 +0000 (21:56 +0000)]
Add a safer version of the reporter.disable_materialized_simple_record_trigger () function for PostgreSQL 8.2 and up
Also, remove that vestigial 1.2.3-1.4 upgrade script. DIE ALREADY.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14992
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 20 Nov 2009 19:15:10 +0000 (19:15 +0000)]
Patch from Joe Atzberger to break up the auditor table creation function into multiple bits.
This is the start of a process that will make the auditor functionality more stable and predictable across upgrades, where columns are dropped and created on audited tables.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14991
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 20 Nov 2009 17:48:19 +0000 (17:48 +0000)]
take advantage of new virtual duedate field on noncat circs in opac display
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14990
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 20 Nov 2009 17:12:11 +0000 (17:12 +0000)]
Supplying a missing label for a field in class "acqfap"
M Open-ILS/examples/fm_IDL.xml
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14989
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 20 Nov 2009 08:47:25 +0000 (08:47 +0000)]
testing some bzr workflows
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14988
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 20 Nov 2009 07:19:19 +0000 (07:19 +0000)]
syntax errors
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14987
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 19 Nov 2009 22:04:20 +0000 (22:04 +0000)]
patch from Lebbeous Fogle-Weekley to finalize the show-item-details-opens-new-copy-details-tab work. in this edition, it's the holds maintenance ui
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14984
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 19 Nov 2009 21:57:14 +0000 (21:57 +0000)]
fixed mis-matched variable name. removed unnecessary dojo.connect() call
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14983
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 19:02:30 +0000 (19:02 +0000)]
cut/paste-o, the param name had changed
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14982
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 18:44:14 +0000 (18:44 +0000)]
This gives the offline interfaces the ability to use font_helper (which honors the global font settings), but it also pulls in a lot of functions that won't work in offline mode is called, which why it wasn't there originally. Font helper had slipped into the offline interfaces causing non-fatal errors
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14979
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 18:33:40 +0000 (18:33 +0000)]
Fix util.date regression in offline mode. We don't have dojo in that environment, and likely won't bundle it. So back to original parsing for db_date2Date if no dojo, and don't offer the %{localized} and %{iso8601} format options if no dojo. At least for now.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14978
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 19 Nov 2009 16:25:20 +0000 (16:25 +0000)]
created general purpose 'a copy for a theoretical hold is available at shelving location X for org Y'. can be used by the OPAC to nudge (or force) users toward just grabbing the copy instead of placing a hold
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14977
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 19 Nov 2009 16:14:42 +0000 (16:14 +0000)]
Apply patch from Galen Charlton to escape email addresses in overdue notices:
"Trivial patch to turn on XML-escaping of e-mail addresses. '&' is a
rarely used but valid character in email addresses, and failing to
escape makes the overdue notice data file non-well-formed."
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14971
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 19 Nov 2009 15:12:58 +0000 (15:12 +0000)]
clear holds shelf processor. see sig for description of process
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14970
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 07:14:01 +0000 (07:14 +0000)]
localize dates in various list columns using dojo (hey, no more .substring(0,10)!) and remove newly redundant columns (so for example, instead of having both a
'Checkout Date' and a 'Checkout Timestamp', we just have 'Checkout Date', using a dojo localized time). list.fm_columns does this automatically, but we're not
ready to replace all lists with that yet. Also tweaked some ambiguous labels.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14969
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 07:08:08 +0000 (07:08 +0000)]
option for no time, just date
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14968
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 06:32:09 +0000 (06:32 +0000)]
Work around this dojo.date.stamp bug where time zone offsets must have a colon:
http://bugs.dojotoolkit.org/ticket/9028
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14967
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 19 Nov 2009 05:43:47 +0000 (05:43 +0000)]
Use Dojo for parsing date strings from the database into javascript date objects, and for turning dates into ISO8601 date strings. Stop using DP_DateExtensions.js. Add a {localized} format for util.date.formatted_date, using Dojo.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14966
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 19 Nov 2009 03:34:32 +0000 (03:34 +0000)]
initial inline status text, some cleanup
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14965
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 19 Nov 2009 02:16:32 +0000 (02:16 +0000)]
Add the upgrade script from the 1.6.0.0 package, plus the fix from https://bugs.launchpad.net/evergreen/+bug/485143
Thanks to Brandon Uhlmann for reporting the problem in the 1.6.0.0 package.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14960
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 18 Nov 2009 21:58:35 +0000 (21:58 +0000)]
Patch from Lebbeous Fogle-Weekley to remove some duplicate network calls in the copy status and details UI
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14959
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 18 Nov 2009 21:03:57 +0000 (21:03 +0000)]
implemented holds list and navigation links
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14958
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 18 Nov 2009 21:02:42 +0000 (21:02 +0000)]
added a batch/streaming version of the uber-hold retrieval call
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14957
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 18 Nov 2009 16:36:57 +0000 (16:36 +0000)]
atev_event_def gets this behavior by default now, so removing it
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14956
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 18 Nov 2009 16:35:49 +0000 (16:35 +0000)]
With fm_columns, hide by default any virtual field and any field with a datatype of link. For rendering values for link fields, if the data encountered is an object, flatten it by using the field's .key value as a method against the object.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14955
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 18 Nov 2009 15:46:06 +0000 (15:46 +0000)]
Rid ourselves of the vestigial po/en-US directory
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14954
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 18 Nov 2009 13:52:21 +0000 (13:52 +0000)]
put the comma after the city instead of the state in the address format
git-svn-id: svn://svn.open-ils.org/ILS/trunk@14953
dcc99617-32d9-48b4-a31d-
7c20da2025e4