working/Evergreen.git
10 years agoReorganize i18n files under the template1/template1.pot, template1/lang.po style
dbs [Wed, 18 Nov 2009 05:52:24 +0000 (05:52 +0000)]
Reorganize i18n files under the template1/template1.pot, template1/lang.po style

According to https://help.launchpad.net/Translations/ImportPolicy, this matches
the standard GNU gettext layout and will enable Launchpad to import our files
from the repository to enable translations via Launchpad.

Which means, of course, that we will once again have to add the en-US POT
files to the repository. Fun fun.

Also note that the Makefile has been simplified somewhat; unused targets
have been removed, and the simplified directory structure enabled me to
reduce some variables.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14948 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agomake circ info fetching synchronous to prevent race condition with scanning, added...
erickson [Wed, 18 Nov 2009 04:44:48 +0000 (04:44 +0000)]
make circ info fetching synchronous to prevent race condition with scanning, added dummy data for testing, plugged in more stub functions, some css and layout fixes

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14947 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoWhen I renamed the 'status' column from circ.util.columns to 'acp_status' it broke...
phasefx [Wed, 18 Nov 2009 01:39:16 +0000 (01:39 +0000)]
When I renamed the 'status' column from circ.util.columns to 'acp_status' it broke Holdings Maintenance.  This fixes that and also adds the mint condition column to that interface.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14946 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoTypo spotted by Joe Atzberger
miker [Tue, 17 Nov 2009 21:01:35 +0000 (21:01 +0000)]
Typo spotted by Joe Atzberger

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14945 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agohide the new version of the overlap method until it is stablized
miker [Tue, 17 Nov 2009 19:54:04 +0000 (19:54 +0000)]
hide the new version of the overlap method until it is stablized

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14944 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoremoved useless perl module "use" line
miker [Tue, 17 Nov 2009 17:35:57 +0000 (17:35 +0000)]
removed useless perl module "use" line

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14943 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoTypo spotted by Steve Callendar
miker [Tue, 17 Nov 2009 17:34:08 +0000 (17:34 +0000)]
Typo spotted by Steve Callendar

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14942 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadded user hold summary method that breaks down a users holds by status. stub of...
erickson [Tue, 17 Nov 2009 17:07:59 +0000 (17:07 +0000)]
added user hold summary method that breaks down a users holds by status.  stub of clear-shelf processor

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14941 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPlugged in the summary data in the sidebar. Kicked off the nls file
erickson [Tue, 17 Nov 2009 15:45:13 +0000 (15:45 +0000)]
Plugged in the summary data in the sidebar.  Kicked off the nls file

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14940 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agopromote the #Evergreen channel over #OpenILS-Evergreen. Does this show up anywhere...
phasefx [Tue, 17 Nov 2009 12:51:57 +0000 (12:51 +0000)]
promote the #Evergreen channel over #OpenILS-Evergreen.  Does this show up anywhere else?

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14938 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agofix some entity names. With just two actions, use buttons instead of menus. Avoid...
phasefx [Tue, 17 Nov 2009 07:33:37 +0000 (07:33 +0000)]
fix some entity names.  With just two actions, use buttons instead of menus.  Avoid accesskey conflict with List Actions, and remove access key from Cancel

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14937 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agolibrary selector for staged patron list
phasefx [Tue, 17 Nov 2009 07:10:49 +0000 (07:10 +0000)]
library selector for staged patron list

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14936 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agowired up patron editor for staged patron list; some refactoring
phasefx [Tue, 17 Nov 2009 04:52:34 +0000 (04:52 +0000)]
wired up patron editor for staged patron list; some refactoring

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14935 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agomove session from url param to xulG param for better caching
phasefx [Tue, 17 Nov 2009 04:17:15 +0000 (04:17 +0000)]
move session from url param to xulG param for better caching

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14934 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoallow xulG alternative to ?stage= URL param for better caching
phasefx [Tue, 17 Nov 2009 03:52:04 +0000 (03:52 +0000)]
allow xulG alternative to ?stage= URL param for better caching

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14933 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agocleanup, fixes. very basic checkout works
erickson [Tue, 17 Nov 2009 03:44:49 +0000 (03:44 +0000)]
cleanup, fixes.  very basic checkout works

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14932 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agorecurrance [sic] recurs. repaired
erickson [Tue, 17 Nov 2009 03:40:28 +0000 (03:40 +0000)]
recurrance [sic] recurs.  repaired

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14931 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoStarted porting the self-check web interface over to the new hotness that is dojo...
erickson [Mon, 16 Nov 2009 23:09:12 +0000 (23:09 +0000)]
Started porting the self-check web interface over to the new hotness that is dojo/template-toolkit.
New features on the horizon (circ/fine/holds summary data, holds list, credit card payments, etc.).
About half of the old functionality has been ported.  Many TODO items in the code.
stay tuned

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14930 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoFirst cut at an interface to list "staged" users by org unit.
phasefx [Mon, 16 Nov 2009 22:41:54 +0000 (22:41 +0000)]
First cut at an interface to list "staged" users by org unit.

APROPOS:
"Ability to have online card applications entered directly into system, with approval and checking done by staff before account is activated"

TODO:
* Wire up Load patron to spawn the existing patron editor interface
* See if there is a Cancel staged patron method we want to call from here
* Add an org unit selector instead of using the workstation ou
* Support paging or a Fetch More button or something similar (the list retrieval method has offset/limit parameters)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14929 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agocirc object is under construction, use the context circ-lib (which will be the same...
erickson [Mon, 16 Nov 2009 22:37:55 +0000 (22:37 +0000)]
circ object is under construction, use the context circ-lib (which will be the same) instead

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14928 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agowhitespace
phasefx [Mon, 16 Nov 2009 22:23:16 +0000 (22:23 +0000)]
whitespace

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14927 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoforgot to commit this wrapper for the closure compiler, the sole purpose of which...
phasefx [Mon, 16 Nov 2009 21:33:59 +0000 (21:33 +0000)]
forgot to commit this wrapper for the closure compiler, the sole purpose of which is to return an error code 0 so that make doesn't abort.  I don't mean to pull in a whole new dependency (like java), I'm just playing around.  Will be happy to look at dojo squeeze, etc.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14926 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoAdded a GPL notice and a DROP SCHEMA statement.
scottmk [Mon, 16 Nov 2009 20:08:49 +0000 (20:08 +0000)]
Added a GPL notice and a DROP SCHEMA statement.

M    Open-ILS/src/sql/Pg/095.schema.booking.sql

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14925 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoremoved errant curly
erickson [Mon, 16 Nov 2009 18:44:08 +0000 (18:44 +0000)]
removed errant curly

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14924 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agofix to prevent auto-bill-display from triggering auto-hide-summary
phasefx [Mon, 16 Nov 2009 18:39:36 +0000 (18:39 +0000)]
fix to prevent auto-bill-display from triggering auto-hide-summary

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14923 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoloop-ending comparison thinko in recent SpanSet changes
miker [Mon, 16 Nov 2009 18:27:51 +0000 (18:27 +0000)]
loop-ending comparison thinko in recent SpanSet changes

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14922 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoCreate booking schema and the tables therein.
scottmk [Mon, 16 Nov 2009 17:59:10 +0000 (17:59 +0000)]
Create booking schema and the tables therein.

A    Open-ILS/src/sql/Pg/095.schema.booking.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0086.schema.booking-tables.sql
M    Open-ILS/examples/fm_IDL.xml

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14921 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoCorrect long-standing, wide-spread "recurance" and "recuring" typos.
dbs [Mon, 16 Nov 2009 14:46:19 +0000 (14:46 +0000)]
Correct long-standing, wide-spread "recurance" and "recuring" typos.

We'll miss you - *sniff*

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14920 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to add a sample long wait notice for holds
erickson [Mon, 16 Nov 2009 13:40:23 +0000 (13:40 +0000)]
Patch from Lebbeous Fogle-Weekley to add a sample long wait notice for holds

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14919 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agogoogle closure compiler: experiment with compressing staff client javascript
phasefx [Mon, 16 Nov 2009 08:19:44 +0000 (08:19 +0000)]
google closure compiler: experiment with compressing staff client javascript

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14918 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoWhitespace patch to bring MFHD code into line with new perltidy standard
djfiander [Sat, 14 Nov 2009 19:59:50 +0000 (19:59 +0000)]
Whitespace patch to bring MFHD code into line with new perltidy standard

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14917 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoHave List Actions -> Print List CSV & Print List Expanded Format use the displayed...
phasefx [Sat, 14 Nov 2009 09:11:53 +0000 (09:11 +0000)]
Have List Actions -> Print List CSV & Print List Expanded Format use the displayed column order instead of the original column order, for better WYSIWYP(rint) :)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14916 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoList Actions -> Print List Expanded Format
phasefx [Sat, 14 Nov 2009 08:36:57 +0000 (08:36 +0000)]
List Actions -> Print List Expanded Format

Similar to Print List CSV in that in prints visible columns without using a template, but it pivots the data vertically, similar to the \x option in psql.

So instead of getting something like:

"Alert Message"\t"Barcode"\r\n
"3 dvd's"\t"b1"\r\n
"2 cassettes"\t"b2"\r\n

You'll instead get:

=-=-=
Alert Message: 3 dvd's
Barcode: b1

=-=-=
Alert Message: 2 cassettes
Barcode: b2

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14915 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadd standard List Actions to Triggered Events UI
phasefx [Sat, 14 Nov 2009 08:08:37 +0000 (08:08 +0000)]
add standard List Actions to Triggered Events UI

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14914 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agostring-ify lib var so we get the ID instead of the ref value
erickson [Fri, 13 Nov 2009 20:38:13 +0000 (20:38 +0000)]
string-ify lib var so we get the ID instead of the ref value

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14913 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoMinor typo: Environmet -> Environment
dbs [Fri, 13 Nov 2009 20:16:37 +0000 (20:16 +0000)]
Minor typo: Environmet -> Environment

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14912 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agothey say don't repeat yourself, so just paraphrase
phasefx [Fri, 13 Nov 2009 19:41:40 +0000 (19:41 +0000)]
they say don't repeat yourself, so just paraphrase

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14911 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoUI entry points for Triggered Events from Item Status and Items Out
phasefx [Fri, 13 Nov 2009 19:31:18 +0000 (19:31 +0000)]
UI entry points for Triggered Events from Item Status and Items Out

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14910 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agotriggered events ui: add reactor and validator related columns, and prefix field...
phasefx [Fri, 13 Nov 2009 18:51:25 +0000 (18:51 +0000)]
triggered events ui: add reactor and validator related columns, and prefix field labels with class labels

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14909 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agofm_columns flag for prefixing the class label to the field label
phasefx [Fri, 13 Nov 2009 18:42:02 +0000 (18:42 +0000)]
fm_columns flag for prefixing the class label to the field label

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14908 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadding support for user-opt-in when allowed on the event definition
miker [Fri, 13 Nov 2009 18:23:03 +0000 (18:23 +0000)]
adding support for user-opt-in when allowed on the event definition

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14907 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agotypo spotted by Lebbeous
miker [Fri, 13 Nov 2009 18:20:09 +0000 (18:20 +0000)]
typo spotted by Lebbeous

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14906 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadd support for typed user settings as a prereq for opt-in on selected trigger defini...
miker [Fri, 13 Nov 2009 17:50:16 +0000 (17:50 +0000)]
add support for typed user settings as a prereq for opt-in on selected trigger definitions

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14905 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoremove the NOT NULL from here to match the upgrade script
phasefx [Fri, 13 Nov 2009 17:04:16 +0000 (17:04 +0000)]
remove the NOT NULL from here to match the upgrade script

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14904 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoCopy Message button for all yns_alert dialogs. Mainly for error alerts, but the...
phasefx [Fri, 13 Nov 2009 16:55:58 +0000 (16:55 +0000)]
Copy Message button for all yns_alert dialogs.  Mainly for error alerts, but the dialog does get used for pre-cats, etc.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14903 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoinitial org settings for defining behavior of the automated clear holds shelf process
erickson [Fri, 13 Nov 2009 16:55:43 +0000 (16:55 +0000)]
initial org settings for defining behavior of the automated clear holds shelf process

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14902 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadd logic to support max_fine capping at item price, if OU setting is, ur, set
miker [Fri, 13 Nov 2009 16:37:25 +0000 (16:37 +0000)]
add logic to support max_fine capping at item price, if OU setting is, ur, set

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14901 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoAdded org setting for turning on/off the cap-max-circ-fines-at-item-price functionality
erickson [Fri, 13 Nov 2009 16:20:06 +0000 (16:20 +0000)]
Added org setting for turning on/off the cap-max-circ-fines-at-item-price functionality

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14900 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agonew API call that fetches all payments for a given user, with optional limits/filters
erickson [Fri, 13 Nov 2009 14:15:07 +0000 (14:15 +0000)]
new API call that fetches all payments for a given user, with optional limits/filters

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14899 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoApply patch from Warren Layton to make the existing default group permission map...
dbs [Fri, 13 Nov 2009 05:24:42 +0000 (05:24 +0000)]
Apply patch from Warren Layton to make the existing default group permission map entries explicit

Now, I have no idea what the base permission setup should look like
for the average library. However, figuring out what permissions are
currently being applied is difficult with lines such as:

  INSERT INTO permission.grp_perm_map VALUES (57, 2, 15, 0, false);

...when it could be rewritten as:

  -- Add basic patron permissions to the Patrons group
  INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable)
VALUES (2, (SELECT id FROM permission.perm_list WHERE code =
'RENEW_CIRC'), 0, false);

To me, this patch makes it very clear which permissions are assigned
to which groups (the permissions for the Acquisition groups are
currently set in this way, too). This added clarity may help when
someone more knowledgeable than me tries to figure out what the "base
permission setup" should be for each group.

================================================
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: Warren A. Layton <warren.layton@googlemail.com>
================================================

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14898 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoAdd Russian and Czech to the enabled languages list
dbs [Fri, 13 Nov 2009 05:16:29 +0000 (05:16 +0000)]
Add Russian and Czech to the enabled languages list

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14897 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoForward port cs-CZ and ru-RU translations to trunk
dbs [Fri, 13 Nov 2009 05:08:12 +0000 (05:08 +0000)]
Forward port cs-CZ and ru-RU translations to trunk

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14894 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agomore columns for the triggered events UI. Some label collisions/ambiguity; could...
phasefx [Fri, 13 Nov 2009 04:01:27 +0000 (04:01 +0000)]
more columns for the triggered events UI.  Some label collisions/ambiguity; could override/hand-craft the labels, but maybe something like adding the class label for the column-come-lately's

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14891 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoallow for blanket attribute tweaks for every column being produced by fm_columns
phasefx [Fri, 13 Nov 2009 03:59:20 +0000 (03:59 +0000)]
allow for blanket attribute tweaks for every column being produced by fm_columns

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14890 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoFilters for the triggered events interface, and support for items instead of patrons...
phasefx [Thu, 12 Nov 2009 22:41:20 +0000 (22:41 +0000)]
Filters for the triggered events interface, and support for items instead of patrons as an entry point (just need to wire that up).  Lists and streaming rows can be brittle if the lists are cleared while data is still streaming in.  I've tried to fix that by disabling the buttons until an oncomplete is encountered, but it's still brittle.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14889 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agodebug tweak
phasefx [Thu, 12 Nov 2009 22:14:48 +0000 (22:14 +0000)]
debug tweak

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14888 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadded flag to mark claims returned which tells the code to use the circ due date...
erickson [Thu, 12 Nov 2009 22:11:29 +0000 (22:11 +0000)]
added flag to mark claims returned which tells the code to use the circ due date as the claims returned date.  good for batch processing of claims return items

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14887 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadded carriage return to newlines in addr template to so windows will display the...
erickson [Thu, 12 Nov 2009 22:03:56 +0000 (22:03 +0000)]
added carriage return to newlines in addr template to so windows will display the output correctly when pasted

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14886 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to add seed data for a sample hold-shelf-expire...
erickson [Thu, 12 Nov 2009 21:07:02 +0000 (21:07 +0000)]
Patch from Lebbeous Fogle-Weekley to add seed data for a sample hold-shelf-expire notice

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14885 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agomagic Control+Shift+F7 key instead of Control+Alt+F7 for debug tool (I'm using X...
phasefx [Thu, 12 Nov 2009 20:31:35 +0000 (20:31 +0000)]
magic Control+Shift+F7 key instead of Control+Alt+F7 for debug tool (I'm using X again and that key sequence gets clobbered)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14884 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoinstead of an explicit put-copy-into-missing status operation when an item is marked...
erickson [Thu, 12 Nov 2009 18:07:05 +0000 (18:07 +0000)]
instead of an explicit put-copy-into-missing status operation when an item is marked claims returned, allow for a configurable status

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14883 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoAdded ability to retrieve/edit a staged user and subsequently save as a "real" user.
erickson [Thu, 12 Nov 2009 17:03:58 +0000 (17:03 +0000)]
Added ability to retrieve/edit a staged user and subsequently save as a "real" user.
importing Stage module into Actor.pm
Added retrieve by username API to Stage.pm

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14882 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to add a renewal type field (opac/desk/phone) to...
erickson [Thu, 12 Nov 2009 14:37:02 +0000 (14:37 +0000)]
Patch from Lebbeous Fogle-Weekley to add a renewal type field (opac/desk/phone) to the new copy details UI

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14881 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Joe Atzberger to add org settings and perms for alert/deny if local copy...
erickson [Thu, 12 Nov 2009 14:18:56 +0000 (14:18 +0000)]
Patch from Joe Atzberger to add org settings and perms for alert/deny if local copy is available for a hold

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14880 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoTurn off bubbling for the oils_persist event (makes things less noisy with iframes...
phasefx [Thu, 12 Nov 2009 06:03:26 +0000 (06:03 +0000)]
Turn off bubbling for the oils_persist event (makes things less noisy with iframes, etc.).  Support @oils_persist_peers for persisting related elements (mainly to support radio group style widgets)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14879 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoMagic Control+Alt+F7 Key for debugging
phasefx [Thu, 12 Nov 2009 05:16:44 +0000 (05:16 +0000)]
Magic Control+Alt+F7 Key for debugging

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14878 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoSome refactoring. Works with <toolbarbutton type="checked"> now, and monitors all...
phasefx [Thu, 12 Nov 2009 00:07:13 +0000 (00:07 +0000)]
Some refactoring.  Works with <toolbarbutton type="checked"> now, and monitors all the attributes listed in @oils_persist whenever the virtual oils_persist event is triggered.  Provides a way to fire said event manually, and
offers @oils_persist_events for providing a specific list of events with which to trigger the oils_persist virtual event.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14877 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agonull workstation sanity checks part 2
erickson [Wed, 11 Nov 2009 22:01:29 +0000 (22:01 +0000)]
null workstation sanity checks part 2

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14876 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agopersist_helper: Some abstraction with an oils_persist virtual event. Better handling...
phasefx [Wed, 11 Nov 2009 21:47:19 +0000 (21:47 +0000)]
persist_helper: Some abstraction with an oils_persist virtual event.  Better handling of non-true values.  More debugging statements.  A failed attempt to have oils_persist="checked" work with <toolbarbutton type="checkbox"/> (such buttons will get stuck into the unchecked state after being checked and unchecked)

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14875 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadding datetime::set perl mod to debs
erickson [Wed, 11 Nov 2009 21:40:37 +0000 (21:40 +0000)]
adding datetime::set perl mod to debs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14874 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to prevent staff client exceptions when encounting...
erickson [Wed, 11 Nov 2009 21:28:43 +0000 (21:28 +0000)]
Patch from Lebbeous Fogle-Weekley to prevent staff client exceptions when encounting null workstations on circs in copy details UI

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14873 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agofor consistency, also flesh the copy in the resulting circ/hold objects
erickson [Wed, 11 Nov 2009 21:25:06 +0000 (21:25 +0000)]
for consistency, also flesh the copy in the resulting circ/hold objects

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14872 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agocreated a companion method to return trigger events for circ and hold event defs...
erickson [Wed, 11 Nov 2009 21:21:32 +0000 (21:21 +0000)]
created a companion method to return trigger events for circ and hold event defs based on copy instead of user

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14871 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoprotect against missing (or no) HOO and closure rows
miker [Wed, 11 Nov 2009 20:19:31 +0000 (20:19 +0000)]
protect against missing (or no) HOO and closure rows

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14870 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadd initial cut of support for in-db array datatype operators
miker [Wed, 11 Nov 2009 18:52:01 +0000 (18:52 +0000)]
add initial cut of support for in-db array datatype operators

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14869 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agofixing typo in crazy-search (user search); moving to DateTime::SpanSet for time overl...
miker [Wed, 11 Nov 2009 18:50:41 +0000 (18:50 +0000)]
fixing typo in crazy-search (user search); moving to DateTime::SpanSet for time overlap calculation and support "after midnight" closing times

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14868 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agosyntax thinko, doh
phasefx [Wed, 11 Nov 2009 18:05:59 +0000 (18:05 +0000)]
syntax thinko, doh

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14867 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadded support for optional limit, offset, and order_by filters to open-ils.trigger...
erickson [Wed, 11 Nov 2009 15:40:09 +0000 (15:40 +0000)]
added support for optional limit, offset, and order_by filters to open-ils.trigger.events_by_target

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14866 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoInterface for viewing pending action/trigger notices for a patron, with the ability...
phasefx [Wed, 11 Nov 2009 09:13:02 +0000 (09:13 +0000)]
Interface for viewing pending action/trigger notices for a patron, with the ability to reset or cancel the notices.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14865 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoSimplify list construction in xul (provide a default map_row_to_columns function...
phasefx [Wed, 11 Nov 2009 08:05:07 +0000 (08:05 +0000)]
Simplify list construction in xul (provide a default map_row_to_columns function), give the option for using fm_IDL.xml for column definitions, and use dojo.date.locale for timestamp columns when using fm_IDL.xml.

Simple example:

Given this XUL:

<tree id="atev_list" flex="1" />

Then this Javascript will build columns based on the "atev" class:

JSAN.use('util.list');
var list = new util.list('atev_list');
list.init(
{
columns: [ 'atev' ]
}
);

If we need to customize certain columns, we could do it like so:

JSAN.use('util.list');
var list = new util.list('atev_list');
list.init(
{
columns: list.fm_columns('atev', {
'atev_id' : { 'primary' : true },
'atev_run_time' : { 'flex' : 1 },
'atev_isdeleted' : { 'hidden' : false, 'onclick' : 'alert("Boo!")' }
})
}
);

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14864 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoUnlink the lock file as soon as possible if 1) we have not already looked at it and...
miker [Wed, 11 Nov 2009 02:04:45 +0000 (02:04 +0000)]
Unlink the lock file as soon as possible if 1) we have not already looked at it and 2) it contains our pid.  This is to allow multiple, concurrent runners where possible, after the find-events phase

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14863 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agowhen creating events, filter the defs on granularity if the user requested that;...
miker [Wed, 11 Nov 2009 00:05:35 +0000 (00:05 +0000)]
when creating events, filter the defs on granularity if the user requested that; do not add granularity to the event object, it has no such field

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14862 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years ago"Periodique" is a better translation for "Serial" in French than "Collections".
dbs [Tue, 10 Nov 2009 21:58:01 +0000 (21:58 +0000)]
"Periodique" is a better translation for "Serial" in French than "Collections".

Doubly true when "Collection" appeared adjacent to it for English "Collection".

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14859 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agodoh! thinko on param name
miker [Tue, 10 Nov 2009 19:42:02 +0000 (19:42 +0000)]
doh! thinko on param name

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14857 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to support configured staff client idle timeout...
erickson [Tue, 10 Nov 2009 18:43:19 +0000 (18:43 +0000)]
Patch from Lebbeous Fogle-Weekley to support configured staff client idle timeout delays.  When staff has been
idle for X amount of time (per org unit setting), the staff client display will minimize.  Staff is not
logged out of the server based on this setting.  Use this in environments where unattended staff clients should
be minimized for privacy reasons.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14855 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoremoving needless (and problematic) distinct clause, and fixing order_by syntax
miker [Tue, 10 Nov 2009 16:56:58 +0000 (16:56 +0000)]
removing needless (and problematic) distinct clause, and fixing order_by syntax

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14851 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agosubsequent patch from Lebbeous Fogle-Weekley to prevent display of bare nulls in...
erickson [Mon, 9 Nov 2009 21:10:22 +0000 (21:10 +0000)]
subsequent patch from Lebbeous Fogle-Weekley to prevent display of bare nulls in address template

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14848 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoMozilla has a printer settings object which we serialize when saving the settings...
phasefx [Mon, 9 Nov 2009 18:46:36 +0000 (18:46 +0000)]
Mozilla has a printer settings object which we serialize when saving the settings.  But those objects are not necessarily compatible across xulrunner versions.  This changeset will load what settings it can and warn the user that they need to reconfigure their printer settings.  We also attempt to load the printer settings up-front during the login process for earlier warning.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14844 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agopatch from Lebbeous Fogle-Weekley to make address clipboard copying come from a strin...
erickson [Mon, 9 Nov 2009 18:30:11 +0000 (18:30 +0000)]
patch from Lebbeous Fogle-Weekley to make address clipboard copying come from a string property instead of hard-coded format

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14843 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agorepaired column order in sample 7-day notice entry
erickson [Mon, 9 Nov 2009 16:14:28 +0000 (16:14 +0000)]
repaired column order in sample 7-day notice entry

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14842 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoMinor tweak to avoid undefined behavior.
scottmk [Mon, 9 Nov 2009 14:46:20 +0000 (14:46 +0000)]
Minor tweak to avoid undefined behavior.

In SELECT() we issue a debug message to display the locale.  However
the locale can be NULL.  I added an explicit test to replace a NULL
with "(none)".

M    Open-ILS/src/c-apps/oils_cstore.c

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14841 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoCorrect the view that pulls together the ISSNs for a given record.
dbs [Sun, 8 Nov 2009 01:56:27 +0000 (01:56 +0000)]
Correct the view that pulls together the ISSNs for a given record.

When we started wrapping ISSNs in spaces, the old view definition started
returning NULL results as the ISSN always began in a space.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14826 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoNormalize ISSNs on ingest so that "1972-156X" gets added as " 1972 156x " to mfr...
dbs [Sun, 8 Nov 2009 01:29:04 +0000 (01:29 +0000)]
Normalize ISSNs on ingest so that "1972-156X" gets added as " 1972 156x " to mfr / mkfe

This enables keyword searching of this subset of ISSNs to work because it
sidesteps the full text search tokenizer that would otherwise have indexed
the values as "1972", "-156", and "x".

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14825 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoforward porting r14821: make sure there is a space before and after normalized date...
miker [Sat, 7 Nov 2009 20:02:32 +0000 (20:02 +0000)]
forward porting r14821: make sure there is a space before and after normalized date ranges

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14824 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadd virtual duedate field to non-cat circs, and offset the calculated duedate just...
miker [Sat, 7 Nov 2009 14:25:53 +0000 (14:25 +0000)]
add virtual duedate field to non-cat circs, and offset the calculated duedate just like real circs

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14820 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoadded workstation fleshing to some circ retrieval methods
erickson [Fri, 6 Nov 2009 23:28:34 +0000 (23:28 +0000)]
added workstation fleshing to some circ retrieval methods

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14819 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoPatch from Lebbeous Fogle-Weekley to add support for controlling access of org unit...
erickson [Fri, 6 Nov 2009 23:24:38 +0000 (23:24 +0000)]
Patch from Lebbeous Fogle-Weekley to add support for controlling access of org unit settings
based on the new in-database org settings permission setup

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14818 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agotweak work log statement in Checkout interface to handle on the fly renewals
phasefx [Fri, 6 Nov 2009 22:02:15 +0000 (22:02 +0000)]
tweak work log statement in Checkout interface to handle on the fly renewals

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14817 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoplugged in details on replaced addr for approval of changes process
erickson [Fri, 6 Nov 2009 21:11:28 +0000 (21:11 +0000)]
plugged in details on replaced addr for approval of changes process

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14816 dcc99617-32d9-48b4-a31d-7c20da2025e4

10 years agoWire up the org unit settings related to the Work Log interface
phasefx [Fri, 6 Nov 2009 21:09:48 +0000 (21:09 +0000)]
Wire up the org unit settings related to the Work Log interface

git-svn-id: svn://svn.open-ils.org/ILS/trunk@14815 dcc99617-32d9-48b4-a31d-7c20da2025e4