sboyette [Thu, 13 Aug 2009 18:30:59 +0000 (18:30 +0000)]
aaaaand the osrf perl preqs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13829
dcc99617-32d9-48b4-a31d-
7c20da2025e4
sboyette [Thu, 13 Aug 2009 18:09:54 +0000 (18:09 +0000)]
no apxs; no memcache, ncurses, or readline headers either
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13828
dcc99617-32d9-48b4-a31d-
7c20da2025e4
sboyette [Thu, 13 Aug 2009 17:39:16 +0000 (17:39 +0000)]
also won't find apache2.2-common or liblog-log4perl-perl in a base install of debian
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13827
dcc99617-32d9-48b4-a31d-
7c20da2025e4
sboyette [Thu, 13 Aug 2009 17:39:16 +0000 (17:39 +0000)]
adding XML::Simple and XML::LibXML to debs list
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13826
dcc99617-32d9-48b4-a31d-
7c20da2025e4
sboyette [Thu, 13 Aug 2009 17:39:15 +0000 (17:39 +0000)]
nevermind that last change
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13825
dcc99617-32d9-48b4-a31d-
7c20da2025e4
sboyette [Thu, 13 Aug 2009 17:39:14 +0000 (17:39 +0000)]
add Module::Install to the Debian/Ubuntu, Centos, and Gentoo installs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13824
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 13 Aug 2009 16:42:06 +0000 (16:42 +0000)]
when a new hold is placed, tell the containing staff client about it
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13823
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 13 Aug 2009 16:37:45 +0000 (16:37 +0000)]
create-hold call now only accepts a single hold arg. that's how it was being used and it makes the most since considering the return events are not hold-specific. now, return the new hold ID on successful creation. also tweaked potential copies count to use json_query count transform
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13822
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 13 Aug 2009 13:02:54 +0000 (13:02 +0000)]
Add support for UNION, INTERSECT, and EXCEPT.
(ORDER BY is accepted syntactically but not otherwise
supported yet.)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13821
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 12 Aug 2009 17:18:50 +0000 (17:18 +0000)]
added ability to auto-override configured checkout/renewal events at selfcheck. also, pull in JS files directly so we're not unnecessarily running opac-only code
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13817
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 12 Aug 2009 17:14:23 +0000 (17:14 +0000)]
added org setting type for setting overridable selfcheck events
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13816
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 12 Aug 2009 15:19:49 +0000 (15:19 +0000)]
For create and update methods: accept boolean column values
as JSON_BOOLs instead of requiring them to be encoded as
"t" or "f" strings.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13815
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 11 Aug 2009 21:01:41 +0000 (21:01 +0000)]
Undo previous change. NULL can be a legitimate value for value.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13814
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 11 Aug 2009 18:49:43 +0000 (18:49 +0000)]
In doCreate(): check for a NULL pointer as a field value, and
report it by class and field name.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13813
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 11 Aug 2009 16:38:44 +0000 (16:38 +0000)]
selected columns in a json_query need to be in an array
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13812
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Tue, 11 Aug 2009 16:20:38 +0000 (16:20 +0000)]
Update code to check for all three caption & holdings fields, add
basic test for supplementary material and indexes.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13809
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Tue, 11 Aug 2009 16:10:14 +0000 (16:10 +0000)]
Deal with a publication that only has a single level of
enumeration (ie, only volume numbers).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13808
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 11 Aug 2009 13:47:32 +0000 (13:47 +0000)]
Segfaulting for json_queries selecting from functions, due to a
failure to handle the SELECT list properly. Fixed.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13807
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 10 Aug 2009 16:14:58 +0000 (16:14 +0000)]
When defining a SELECT list for a given class: an empty
array no longer results in a default SELECT list. You get a
warning message (but not an error) and no fields from that
class. For a default SELECT list, use "*" or null.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13804
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Sun, 9 Aug 2009 14:35:19 +0000 (14:35 +0000)]
Patch from Galen Charlton to add Version to application.ini
==
The attached patch restores the Version key to the staff client's application.ini. This key is now required; without it, xulrunner-bin --install-app on OS X will silently crash, leading to an incomplete and non-functional installation of the client on that platform.
Note that when the client is built, the value of Version is replaced by the build ID.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13803
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 7 Aug 2009 04:23:00 +0000 (04:23 +0000)]
For building a SELECT list for a class: instead of traversing the
JSON_ARRAY with a jsonIterator, traverse it more efficiently
with a subscript.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13800
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Thu, 6 Aug 2009 22:06:19 +0000 (22:06 +0000)]
Tightened the rules for defining SELECT clauses for a JSON query.
With two exceptions as noted below, the SELECT list for every class
must be encoded as an array. Anything else is an error.
The exceptions: null and "*". For the core class only, these
encodings request a default SELECT list.
For the core class: an empty array requests a default SELECT list.
For a non-core class: an empty array results in an error message,
but not an error.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13799
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 5 Aug 2009 18:58:20 +0000 (18:58 +0000)]
In oils_cstore.c, function searchWHERE(): rewrote a loop to use an
index instead of a jsonIterator, to traverse a jsonObject that is
known to be a JSON_ARRAY. This change avoids the malloc and
free required to create and destroy a jsonIterator.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13798
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Wed, 5 Aug 2009 12:42:12 +0000 (12:42 +0000)]
Added a const qualifier. This change is in preparation for a
tweak to the JSON machinery.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13797
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 4 Aug 2009 19:44:02 +0000 (19:44 +0000)]
Performance tweak to oils_cstore.c.
Rewrote two loops in buildSELECT() and doUpdate() so use
osrfHashIterators instead of building and traversing
osrfString Arrays.
In the latter case: plugged a memory leak (we weren't freeing the
osrfStringArray).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13796
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 3 Aug 2009 20:48:33 +0000 (20:48 +0000)]
restore raw z39.50 PQN search feature
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13791
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 3 Aug 2009 16:47:01 +0000 (16:47 +0000)]
Performance tweak in oils_cstore.c: Recoded two loops to use
osrfHashIterators, instead of creating osrfStringArrays and
traversing them.
This change also plugs a memory leak (we weren't freeing one of
the osrfStringArrays).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13790
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 3 Aug 2009 03:02:48 +0000 (03:02 +0000)]
In the initialization routines of oils_cstore.c: recoded a couple
of loops to use an osrfHashIterator, instead of creating an
osrfStringArray of keys and then traversing that. This change
eliminates over 500 mallocs and frees. In addition, traversing
the osrfHash with an iterator just hops along a linked list,
which is almost certainly faster than calculating a hash total
for every key.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13789
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Sun, 2 Aug 2009 14:14:04 +0000 (14:14 +0000)]
Properly implement generating issue numbers based on an 'e'
publication pattern.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13788
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 31 Jul 2009 12:21:49 +0000 (12:21 +0000)]
In oils_cstore.c: accept "is distinct from" and "is not distinct from"
as comparison operators.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13787
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 31 Jul 2009 02:58:23 +0000 (02:58 +0000)]
When a JSON query refers to a column qualified by a table alias using
the plus-class trick (e.g. "+aou":"opac_visible"): verify that the
column belongs to the indicated class. If it doesn't, return an error.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13786
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Fri, 31 Jul 2009 02:26:33 +0000 (02:26 +0000)]
Tightened validation a bit in oils_cstore.c:
1. Issue a warning if the SELECT list is empty for a given table alias
(other than the core class). This happens when we try to do the
equivalent of SELECT * for a non-core class.
2. Return an error if the generated SELECT list is empty. This can happen
in a case like the following:
{
"select":{ "aout":null },
"from":{ "aou":"aout" }
}
...because there is nothing from the core class, and we don't build default
SELECT lists for non-core classes.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13785
dcc99617-32d9-48b4-a31d-
7c20da2025e4
djfiander [Fri, 31 Jul 2009 01:20:34 +0000 (01:20 +0000)]
Add test case for funky publication pattern that specifies the
enumeration used. Right now this new test fails.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13784
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 30 Jul 2009 21:36:45 +0000 (21:36 +0000)]
don't fulfill hold when patron checks out a like copy if the hold in question has a copy on the holds shelf. Use the power of cstore to find appropriate holds
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13783
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 30 Jul 2009 13:11:07 +0000 (13:11 +0000)]
don't consider invalide addrs with negative IDs, since those are replaced addrs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13782
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 30 Jul 2009 12:55:29 +0000 (12:55 +0000)]
extra verbiage for patron account OBLITERATION
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13781
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 22:23:08 +0000 (22:23 +0000)]
overzealous text replacement
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13780
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 22:18:31 +0000 (22:18 +0000)]
UI for patron deletion
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13779
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 22:18:00 +0000 (22:18 +0000)]
have yns_alert_original call itself if need be
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13778
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 12:23:07 +0000 (12:23 +0000)]
action to archive selected penalties. Progressmeter isn't working like I'd expect, though
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13777
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 11:48:18 +0000 (11:48 +0000)]
Interface for archived penalties. I frikkin love streaming results. Pulled down and rendered 80 archived penalties in 3 seconds on a vmware image.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13776
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 09:31:15 +0000 (09:31 +0000)]
This works either way. list.append( row_params ) will return a modified row_params, but row_params is modified by reference in any case
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13775
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 09:11:58 +0000 (09:11 +0000)]
don't pre-check the Note radiobutton when editing
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13774
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 09:09:19 +0000 (09:09 +0000)]
for now, disable refresh of entire patron interface after penalty manipulation. What we're really avoiding is the stop-sign page. Want to revamp how the patron interface works here to make use of observers.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13773
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 09:05:03 +0000 (09:05 +0000)]
column tweaks for standing penalties in lists
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13772
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 09:04:45 +0000 (09:04 +0000)]
use the right data on single row refresh
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13771
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 08:21:46 +0000 (08:21 +0000)]
populate note textbox with existing note on edit
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13770
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 08:17:18 +0000 (08:17 +0000)]
hide field for initials entry by default
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13769
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 08:15:50 +0000 (08:15 +0000)]
Staff initials for standing penalties. Looks for org setting ui.circ.standing_penalty.require_initials to enable this feature.
The Apply/Modify button will jump to the initials textbox if empty.
No dedicated initials field in actor.user_standing_penalty, so appending to the note field. Not parsing notes for initials when editing, though we may want to (I'd argue for a dedicated field in
this case).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13768
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 29 Jul 2009 07:41:21 +0000 (07:41 +0000)]
remove debugging alert
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13767
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Wed, 29 Jul 2009 03:22:37 +0000 (03:22 +0000)]
added example translator memcache server config
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13764
dcc99617-32d9-48b4-a31d-
7c20da2025e4
lmcfarland [Tue, 28 Jul 2009 18:37:41 +0000 (18:37 +0000)]
added labeling for new hold status--Reserved\/Pending
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13763
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 28 Jul 2009 18:17:17 +0000 (18:17 +0000)]
set the grp_perm_map sequence before inserting grp_perm_map rows. Thanks Dan!
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13760
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 28 Jul 2009 17:54:02 +0000 (17:54 +0000)]
added missing 'use' for osrf utils datetime. repaired transit retrieval method name
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13759
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 28 Jul 2009 12:37:41 +0000 (12:37 +0000)]
Support table aliases other than class names for joined tables
(not, so far, for tables outside of a JOIN clause).
Also: when constructing a BETWEEN clause, qualify the column
name with a table alias (correcting an apparent oversight).
Also: when using the "+class" trick to apply a table alias,
verify that the alias is in scope.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13752
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 28 Jul 2009 06:26:25 +0000 (06:26 +0000)]
Make i18n scripts stricter about UTF-8 input/output handling.
Also, be strict about the JSON format of strings in Dojo resource bundles.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13751
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 28 Jul 2009 05:17:59 +0000 (05:17 +0000)]
Avoid a mixed-content (HTTP vs. HTTPS) warning
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13750
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 28 Jul 2009 05:05:37 +0000 (05:05 +0000)]
Attempt to avoid clashes with browsers that treat 'delete' as a reserved keyword
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13749
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 27 Jul 2009 19:38:52 +0000 (19:38 +0000)]
bug fix: Item Status, once spawned from the Copy Buckets interface, would keep spawning on every bucket change
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13744
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Mon, 27 Jul 2009 19:15:49 +0000 (19:15 +0000)]
minor bug fix; we're testing the value here for whether it's suitable for display or not, not the existence of the field itself
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13743
dcc99617-32d9-48b4-a31d-
7c20da2025e4
lmcfarland [Mon, 27 Jul 2009 18:57:46 +0000 (18:57 +0000)]
added open-ils.pcrud controller to ahrn class
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13742
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 27 Jul 2009 18:28:38 +0000 (18:28 +0000)]
added pcrud perms for hold notes
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13741
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 24 Jul 2009 21:00:01 +0000 (21:00 +0000)]
reset the alarm with each socket read so that we only time out after a period of inactivity
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13740
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 24 Jul 2009 19:27:59 +0000 (19:27 +0000)]
faster method for bill retrieval. This was used in the past and for some unknown reason we moved away from it, so testers be wary
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13735
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 24 Jul 2009 19:25:30 +0000 (19:25 +0000)]
added authoritative option so some billing methods
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13734
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 24 Jul 2009 19:20:06 +0000 (19:20 +0000)]
check for errors on the bills request
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13729
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 24 Jul 2009 17:14:19 +0000 (17:14 +0000)]
Reworking of the "Messages" interface in the patron display for manipulating standing penalties. Not yet complete, but functional.
TODO:
Need to add a field for staff initials if a specific OU setting is present, and need to add a section and some methods for "archived" messages. Also need to change how penalties are expressed in the summary sidebar. Also need thought on
how/whether/when this will replace the existing Notes infrastructure, since it can do the same thing but better.
NOTES:
Experimenting with xul toolbar/toolbox; there's a beep when you use the hot key for the Actions menu that this might be the cause of. Also, we're actually using the Dojo openils.PermaCrud code for
modifying existing penalties. Exciting :)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13728
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 24 Jul 2009 16:32:49 +0000 (16:32 +0000)]
small net::server process to read MARC data from a raw socket and import the data into Evergreen. It was originally designed for OCLC Connexion imports, but could be used to import MARC from any source
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13727
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 21:36:00 +0000 (21:36 +0000)]
fixed what appears to be a typo in the oils_i18n_gettext pkey param for 'author of work' entry
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13724
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 19:19:51 +0000 (19:19 +0000)]
open-ils.cat.biblio.records.merge uses in_db merge now to take advantage of URI handling (and speed, etc.). added a perm test to in_db_merge. removed old bib merge code
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13715
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 23 Jul 2009 17:52:58 +0000 (17:52 +0000)]
Pull dojo in for all xul interfaces and use its AutoIDL fieldmapper stuff instead of fmall.js/fmgen.js
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13714
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 23 Jul 2009 16:32:27 +0000 (16:32 +0000)]
Thanks to miker_ and dojo 1.3.2, the <script> tag for loading dojo works now (if you configure djConfig in inline javascript rather than as an attribute on the script tag itself, and dojo.require() works if djConfig is given the baseUrl for dojo.js
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13713
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 14:59:28 +0000 (14:59 +0000)]
patch from Ben Ostrowsky to fix log entry typos: ciculator -> circulator
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13710
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 14:57:02 +0000 (14:57 +0000)]
updated perm description to match expectations
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13709
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 14:51:57 +0000 (14:51 +0000)]
added api call for calling the new actor.usr_delete stored procedure, which purges user data/xacts, anonymizes top-level user data, and transfers data to another user where necessary
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13708
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 23 Jul 2009 13:41:47 +0000 (13:41 +0000)]
Patch from Bill Ott to clear the advanced search form prior to populating with cached search data to prevent doubling of search rows
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13705
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 23 Jul 2009 01:43:43 +0000 (01:43 +0000)]
Fix typo in typo fix - thanks to Warren Layton for finding & reporting
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13702
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 18:08:59 +0000 (18:08 +0000)]
Patch from Warren Layton for support of RIS format in SuperCat - thanks Warren!
===
I've put together another SuperCat feed, this type for the RIS format.
This can be used with most bibliographic citation software, such as
Reference Manager and Endnote. Combined with the previous "MARC text"
feed for RefWorks, most software should be covered.
I have only included the changes to add the feed and the XSLT file.
The patch (against trunk) doesn't include any changes to the OPAC, but
I'm willing to put something together if needed.
The MARC21slim2RIS.xsl transform makes a few assumptions:
* Any authors listed in 100, 110, or 111 fields are considered
"primary authors" (A1)
* Any individuals listed in 700 fields are considered primary authors
(A1) if their last name is found in the statement of responsibility
(245c). Otherwise, they are considered secondary authors (A2). It's
not 100% accurate, but it's certainly a step up from just turning all
700-level authors into A2s.
* Corporate authors listed in 710 fields are always considered
secondary authors (A2).
* Meetings in 711 fields are always converted into "Title Series" (T3)
(i.e., a talk at a conference would have the conference name listed as
the "Title Series", with the title of the talk listed as "T1", primary
title).
* Apart from field 520 (used for Abstracts, "N2"), no 5xx fields are used
* Subfields in the 650 and 651 fields are used as keywords ("KW")
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 Layton
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13700
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 17:59:42 +0000 (17:59 +0000)]
Update the README for the 1.6 release
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13697
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 17:12:23 +0000 (17:12 +0000)]
Populate Acquisitions and Acquisitions Administrators group with basic permissions
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13692
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 16:59:30 +0000 (16:59 +0000)]
Populate Acquisitions and Acquisitions Administrators group with basic permissions
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13691
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 22 Jul 2009 16:48:33 +0000 (16:48 +0000)]
Temporary script to deal with ingest trigger issues
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13690
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 16:18:48 +0000 (16:18 +0000)]
Add permissions to enable staff to login and catalogers to touch serial records
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13687
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 16:00:12 +0000 (16:00 +0000)]
IDL changes; throw out the cached mods records
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13686
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 13:31:07 +0000 (13:31 +0000)]
Following r13680, don't create the tables that we have now dropped from the schema
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13685
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 22 Jul 2009 13:21:06 +0000 (13:21 +0000)]
FTS on serials records is unnecessary bloat
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13680
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 22 Jul 2009 03:55:35 +0000 (03:55 +0000)]
example of getting dojo and PermaCrud to work with xul
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13679
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 21 Jul 2009 21:06:50 +0000 (21:06 +0000)]
setting circ.workstation when appropriate. some minor tab leveling
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13678
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 21 Jul 2009 20:56:53 +0000 (20:56 +0000)]
Oops -- correcting carelessness of previous change
to definition of action.circulation. workstation
references actor,workstation, not actor.org_unit.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13677
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 21 Jul 2009 20:47:45 +0000 (20:47 +0000)]
removed old, unnecessary comment
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13676
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 21 Jul 2009 20:34:05 +0000 (20:34 +0000)]
Adding a column "workstation" to action.circulation
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13675
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 21 Jul 2009 17:20:46 +0000 (17:20 +0000)]
This update to oils_cstore.c moves in the direction of supporting
table aliases in JSON queries (but we're not there yet).
We now maintain a stack to represent the top level query and any
subqueries nested within it. In each stack frame we store information
about the core class and any joined classes, including whatever aliases
are used for them. This stack enables us to look up the table
corresponding to a given alias.
Such searches now replace the old is_joined function for determining
whether a given class is in scope for a column in the SELECT or
ORDER BY clause.
In passing:
1. Rewrote the first few lines of searchJOIN() so that it wouldn't
be so convoluted.
2. We now detect attempts to do autojoins, or to join to the same
table multiple ways. These are the sorts of queries that need
table aliases to disambiguate the table references, The old code
would create invalid SQL and then let PostgreSQL complain about it,
Now we complain about it up front.
3. Corrected spelling errors in a couple of messages.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13674
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 21 Jul 2009 16:13:30 +0000 (16:13 +0000)]
added hold notification trigger event def
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13671
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Tue, 21 Jul 2009 16:00:46 +0000 (16:00 +0000)]
add 1.6 upgrade sql (and remove 2.0 stub)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13670
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 21 Jul 2009 15:04:38 +0000 (15:04 +0000)]
IE does not support Array.map(), use dojo.map(). dojox.data.dom.textContent() returns nothing in IE -- use innerHTML instead when using IE.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13665
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 21 Jul 2009 13:58:11 +0000 (13:58 +0000)]
Hrm; expose dojo.require() calls
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13662
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 21 Jul 2009 13:53:28 +0000 (13:53 +0000)]
Use pcrud to delete MFHD records, per berick's suggestion. One less Perl mess :)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13661
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 21 Jul 2009 13:03:56 +0000 (13:03 +0000)]
use the editor's allowed() method for checking perms. added context org to perm check. removed info/activity logs since editor logs queries at info and updates at activity already. changed 'record' param to 'record_id' for clarity. returning the new id on create instead of the editor object.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13658
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 21 Jul 2009 05:31:25 +0000 (05:31 +0000)]
Add a basic UI for creating and deleting MFHD records to the record display in the staff client
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13649
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Tue, 21 Jul 2009 05:29:29 +0000 (05:29 +0000)]
Add some crude methods for creating and deleting MFHD records
git-svn-id: svn://svn.open-ils.org/ILS/trunk@13648
dcc99617-32d9-48b4-a31d-
7c20da2025e4