evergreen/bjwebb.git
15 years agomuhaha.. entities made easy ;)
phasefx [Mon, 5 Oct 2009 20:50:43 +0000 (20:50 +0000)]
muhaha.. entities made easy ;)

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

15 years agoQuick & dirty utility for making DTD entities
phasefx [Mon, 5 Oct 2009 20:42:53 +0000 (20:42 +0000)]
Quick & dirty utility for making DTD entities

Usage:
        make_entities.pl <prefix> <filename> > filename.new 2> entities.dtd

        mv filename.new filename
        sort entities.dtd | uniq >> lang.dtd

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

15 years agoReplace:
scottmk [Mon, 5 Oct 2009 19:54:10 +0000 (19:54 +0000)]
Replace:

jsonParseString( "[]" );

...with the equivalent, and faster:

jsonNewObjectType( JSON_ARRAY );

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

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

15 years agoif a timestamp is null, don't attempt to turn it into an iso string
erickson [Mon, 5 Oct 2009 17:48:38 +0000 (17:48 +0000)]
if a timestamp is null, don't attempt to turn it into an iso string

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

15 years agomake ndoe depth calculation more efficient and run at startup time to speed up displa...
erickson [Mon, 5 Oct 2009 16:11:54 +0000 (16:11 +0000)]
make ndoe depth calculation more efficient and run at startup time to speed up display for large trees (e.g. org trees).  throw exception when an org unit is retrieved that does not exist, since this cryptic error pops up from time to time during development

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

15 years agoRemove one hard-coded string ("Subjects") from default skin
dbs [Fri, 2 Oct 2009 20:12:46 +0000 (20:12 +0000)]
Remove one hard-coded string ("Subjects") from default skin

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

15 years agoApply the const qualifier to a variable so that it can receive
scottmk [Fri, 2 Oct 2009 18:55:35 +0000 (18:55 +0000)]
Apply the const qualifier to a variable so that it can receive
a const pointer from jsonObjectGetString().

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

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

15 years agoMake new patrons Active by default
phasefx [Fri, 2 Oct 2009 06:49:12 +0000 (06:49 +0000)]
Make new patrons Active by default

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

15 years agoAdd a "complete subject" index to support searches of compound subjects composed...
dbs [Fri, 2 Oct 2009 06:04:34 +0000 (06:04 +0000)]
Add a "complete subject" index to support searches of compound subjects composed of topic + temporal + geographic headings

Prior to this patch, searches for compound subjects had to be targeted against the keywords index

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

15 years agoMake the old survey wizard use work locations instead of home lib
phasefx [Fri, 2 Oct 2009 04:32:51 +0000 (04:32 +0000)]
Make the old survey wizard use work locations instead of home lib

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

15 years agoprovide access to the old survey wizard, but bury it in the For Developers menu
phasefx [Fri, 2 Oct 2009 03:07:34 +0000 (03:07 +0000)]
provide access to the old survey wizard, but bury it in the For Developers menu

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

15 years agoAlright, now that we know how to juggle multiple async fleshing calls for util.list...
phasefx [Wed, 30 Sep 2009 21:12:20 +0000 (21:12 +0000)]
Alright, now that we know how to juggle multiple async fleshing calls for util.list, let's go ahead and use the newly added objects we get from the checkin call payload instead of fetching them ourselves. :)

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

15 years agoerror handling here is abysmal
phasefx [Wed, 30 Sep 2009 21:02:01 +0000 (21:02 +0000)]
error handling here is abysmal

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

15 years agoflesh some data on the patron object returned from a checkin call
erickson [Wed, 30 Sep 2009 20:55:03 +0000 (20:55 +0000)]
flesh some data on the patron object returned from a checkin call

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

15 years agotypo on mbt object retrieval method
erickson [Wed, 30 Sep 2009 20:38:49 +0000 (20:38 +0000)]
typo on mbt object retrieval method

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

15 years agopatron data for checkin rows
phasefx [Wed, 30 Sep 2009 20:26:58 +0000 (20:26 +0000)]
patron data for checkin rows

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

15 years agoalso return the patron object in the response to the checkin API call
erickson [Wed, 30 Sep 2009 20:24:44 +0000 (20:24 +0000)]
also return the patron object in the response to the checkin API call

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

15 years agowhen we check in a circ, flesh the billing summary data on the billable_transaction...
erickson [Wed, 30 Sep 2009 20:17:12 +0000 (20:17 +0000)]
when we check in a circ, flesh the billing summary data on the billable_transaction link off the circ object

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

15 years agoAdds patron and bill columns to the checkin list. Moves the bill fetching call to...
phasefx [Wed, 30 Sep 2009 20:09:34 +0000 (20:09 +0000)]
Adds patron and bill columns to the checkin list.  Moves the bill fetching call to the row retrieval function so the data can be added to the list

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

15 years agoadded API call that, given a circulation, will return all circulations in the renewal...
erickson [Wed, 30 Sep 2009 20:04:26 +0000 (20:04 +0000)]
added API call that, given a circulation, will return all circulations in the renewal chain for that circ

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

15 years agowe're going to be concat'ing these column definitions with other column sets, so...
phasefx [Wed, 30 Sep 2009 19:46:22 +0000 (19:46 +0000)]
we're going to be concat'ing these column definitions with other column sets, so want to avoid id name collisions

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

15 years agoduring renewal, capture link to parent_circ for building the 'renewal chain'
erickson [Wed, 30 Sep 2009 19:45:56 +0000 (19:45 +0000)]
during renewal, capture link to parent_circ for building the 'renewal chain'

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

15 years agoAdd dojo.io.script to the Dojo profile (for r14226)
dbs [Wed, 30 Sep 2009 19:00:32 +0000 (19:00 +0000)]
Add dojo.io.script to the Dojo profile (for r14226)

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

15 years agoDon't fire this request unless we can make use of the returned data
phasefx [Wed, 30 Sep 2009 18:54:25 +0000 (18:54 +0000)]
Don't fire this request unless we can make use of the returned data

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

15 years agoprompt for destination user (for transfer of misc staff junk) if deleting a staff...
phasefx [Wed, 30 Sep 2009 18:40:03 +0000 (18:40 +0000)]
prompt for destination user (for transfer of misc staff junk) if deleting a staff user

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

15 years agoif given a bad barcode, set_penalty_css was throwing an error
phasefx [Wed, 30 Sep 2009 18:39:16 +0000 (18:39 +0000)]
if given a bad barcode, set_penalty_css was throwing an error

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

15 years agoadded support for checking work_ou perms for a given user that is not the logged...
erickson [Wed, 30 Sep 2009 18:23:04 +0000 (18:23 +0000)]
added support for checking work_ou perms for a given user that is not the logged in user in open-ils.actor.user.has_work_perm_at[.batch]

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

15 years agoMove Google Book Preview calls in item details page to after page load
dbs [Wed, 30 Sep 2009 17:56:22 +0000 (17:56 +0000)]
Move Google Book Preview calls in item details page to after page load

Speeds things up a bit and cleans up some custom DHTML with cleaner Dojo implementation

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

15 years agodedicated fields for Total Circs - Current Year and Previous Field in alternate item...
phasefx [Wed, 30 Sep 2009 17:30:14 +0000 (17:30 +0000)]
dedicated fields for Total Circs - Current Year and Previous Field in alternate item details interface

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

15 years agoIndicators for the Checkin Modifiers (since the checkboxes are now hidden from view...
phasefx [Wed, 30 Sep 2009 16:18:03 +0000 (16:18 +0000)]
Indicators for the Checkin Modifiers (since the checkboxes are now hidden from view).  oils_persist support for menuitems @type=checkbox.  Without that hidePopup() in the onload, oils_persist will make the menu popup sit open.

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

15 years agothis should handle nulls for the library fields
phasefx [Wed, 30 Sep 2009 15:46:37 +0000 (15:46 +0000)]
this should handle nulls for the library fields

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

15 years agoThis fetches action::circ_counts_by_year objects, an improvement over open-ils.circ...
phasefx [Wed, 30 Sep 2009 15:33:59 +0000 (15:33 +0000)]
This fetches action::circ_counts_by_year objects, an improvement over open-ils.circ.circulation.count since it can aggregate native circs with legacy circs in a reporter extension table.

The sum of the circ counts for each of these objects is rendered in a Total Circs field in Item Status -> Alternate View, and a tooltip/mouseover is set on the same field with a breakdown of counts by year.

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

15 years agocheckin options for Amnesty mode (void_overdues) and Suppress Holds and Transits...
phasefx [Wed, 30 Sep 2009 14:41:53 +0000 (14:41 +0000)]
checkin options for Amnesty mode (void_overdues) and Suppress Holds and Transits (noop)

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

15 years agofleshing circ rules on circ object in copy details API call
erickson [Wed, 30 Sep 2009 14:31:59 +0000 (14:31 +0000)]
fleshing circ rules on circ object in copy details API call

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

15 years agoadded support for editing staff-managed user settings in the user editor, starting...
erickson [Wed, 30 Sep 2009 14:26:50 +0000 (14:26 +0000)]
added support for editing staff-managed user settings in the user editor, starting with holds behind shelf.  the form entry for this setting is hidded unless the org unit supports behind-the-desk hold pickup

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

15 years agoConsolidate some checkboxes into a Checkin Modifiers menu button, since we'll be...
phasefx [Wed, 30 Sep 2009 14:20:34 +0000 (14:20 +0000)]
Consolidate some checkboxes into a Checkin Modifiers menu button, since we'll be adding more and are running out of screen real estate.

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

15 years agoadded batch support to the user setting retrieval API
erickson [Wed, 30 Sep 2009 14:09:11 +0000 (14:09 +0000)]
added batch support to the user setting retrieval API

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

15 years agosome circ column tweaks, and checkin scan time for both columns and alternate item...
phasefx [Wed, 30 Sep 2009 13:53:14 +0000 (13:53 +0000)]
some circ column tweaks, and checkin scan time for both columns and alternate item details view

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

15 years agoadding hold targeter skip-me org setting
erickson [Wed, 30 Sep 2009 13:30:48 +0000 (13:30 +0000)]
adding hold targeter skip-me org setting

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

15 years agoadded .data. to org setting file
erickson [Wed, 30 Sep 2009 13:20:37 +0000 (13:20 +0000)]
added .data. to org setting file

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

15 years agoAction for Backdating Already-Checked In Circs
phasefx [Wed, 30 Sep 2009 07:41:51 +0000 (07:41 +0000)]
Action for Backdating Already-Checked In Circs

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

15 years agofixed faulty date query on user transaction search, updated some docs, update API...
erickson [Tue, 29 Sep 2009 22:13:28 +0000 (22:13 +0000)]
fixed faulty date query on user transaction search, updated some docs, update API name to be a little more specific

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

15 years agonew API call wich returns fleshed payments by user with start/end date filters and...
erickson [Tue, 29 Sep 2009 22:00:27 +0000 (22:00 +0000)]
new API call wich returns fleshed payments by user with start/end date filters and optional sort columns

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

15 years agoMore noise than is helpful; turning this off by default :)
phasefx [Tue, 29 Sep 2009 19:29:19 +0000 (19:29 +0000)]
More noise than is helpful; turning this off by default :)

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

15 years agoadded API call for back-dating a circulation after it's already been checked in
erickson [Tue, 29 Sep 2009 18:56:38 +0000 (18:56 +0000)]
added API call for back-dating a circulation after it's already been checked in

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

15 years agochanged column 'id' to 'copy' to make the resulting data more explicit
erickson [Tue, 29 Sep 2009 16:44:54 +0000 (16:44 +0000)]
changed column 'id' to 'copy' to make the resulting data more explicit

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

15 years agoadded permacrud retrieve action to the new circs_by_year virtual view
erickson [Tue, 29 Sep 2009 16:38:32 +0000 (16:38 +0000)]
added permacrud retrieve action to the new circs_by_year virtual view

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

15 years agoadded void_overdues flag to checkin API call to allow for an 'amnesty checkin mode...
erickson [Tue, 29 Sep 2009 16:18:51 +0000 (16:18 +0000)]
added void_overdues flag to checkin API call to allow for an 'amnesty checkin mode'.  added optional system note to shared void_overdues routine.  updated some code comments

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

15 years agoRemove oils_persist:tablename attribute from class "circbyyr", since
scottmk [Tue, 29 Sep 2009 16:13:39 +0000 (16:13 +0000)]
Remove oils_persist:tablename attribute from class "circbyyr", since
it's not a table

M    Open-ILS/examples/fm_IDL.xml

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

15 years agotally of total owed and total paid for selected transactions in bill history / altern...
phasefx [Tue, 29 Sep 2009 15:43:17 +0000 (15:43 +0000)]
tally of total owed and total paid for selected transactions in bill history / alternate view interface

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

15 years agoAllow selection of multiple rows in bill history / alternate view interface
phasefx [Tue, 29 Sep 2009 15:09:57 +0000 (15:09 +0000)]
Allow selection of multiple rows in bill history / alternate view interface

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

15 years agorepaired syntax error in sql update
erickson [Tue, 29 Sep 2009 15:03:36 +0000 (15:03 +0000)]
repaired syntax error in sql update

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

15 years agoRevamp the bill history interface and alternate view for current bills. Embedded...
phasefx [Tue, 29 Sep 2009 13:25:14 +0000 (13:25 +0000)]
Revamp the bill history interface and alternate view for current bills.  Embedded now instead of a dialog, with title columns, etc. instead of detail panes.  Needs some performance testing with lots of bills; may move to
streaming methods if that's an issue.

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

15 years agoSpruce up open-ils.actor.user.transaction.fleshed.retrieve. The new bill history...
phasefx [Tue, 29 Sep 2009 13:08:07 +0000 (13:08 +0000)]
Spruce up open-ils.actor.user.transaction.fleshed.retrieve.  The new bill history interface will use it

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

15 years agoCorrect the documentation for these bill retrieval methods and add variants that...
phasefx [Tue, 29 Sep 2009 12:19:31 +0000 (12:19 +0000)]
Correct the documentation for these bill retrieval methods and add variants that return just ids instead of full objects.

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

15 years agosplit out bulk of the javascript for bill_history
phasefx [Tue, 29 Sep 2009 10:24:00 +0000 (10:24 +0000)]
split out bulk of the javascript for bill_history

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

15 years agoAdds an update rule to money.payment_view since the "mp" class is based on it and...
phasefx [Tue, 29 Sep 2009 07:01:37 +0000 (07:01 +0000)]
Adds an update rule to money.payment_view since the "mp" class is based on it and we want to be able to edit notes on mp's.  Perm, middle layer, and UI changes to support editing notes on payments.

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

15 years agoAction in bill details interface for editing notes on billings
phasefx [Tue, 29 Sep 2009 05:46:49 +0000 (05:46 +0000)]
Action in bill details interface for editing notes on billings

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

15 years agoI misunderstood the arguments here. These methods may take an unlimited number of...
phasefx [Tue, 29 Sep 2009 05:44:09 +0000 (05:44 +0000)]
I misunderstood the arguments here.  These methods may take an unlimited number of arguments for bill id's, not an array of bill ids

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

15 years agolist actions made easy. Standardize the list actions for the bill details interface
phasefx [Tue, 29 Sep 2009 04:59:02 +0000 (04:59 +0000)]
list actions made easy.  Standardize the list actions for the bill details interface

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

15 years agoSplit out the bulk of the javascript for bill_details
phasefx [Tue, 29 Sep 2009 04:51:07 +0000 (04:51 +0000)]
Split out the bulk of the javascript for bill_details

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

15 years agocopy/paste-o in description for open-ils.circ.money.billing.note.edit
phasefx [Tue, 29 Sep 2009 04:15:46 +0000 (04:15 +0000)]
copy/paste-o in description for open-ils.circ.money.billing.note.edit

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

15 years agoparam description correction, take 2
phasefx [Tue, 29 Sep 2009 04:08:24 +0000 (04:08 +0000)]
param description correction, take 2

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

15 years agoCorrect a param description for open-ils.circ.money.billing.void
phasefx [Tue, 29 Sep 2009 04:05:59 +0000 (04:05 +0000)]
Correct a param description for open-ils.circ.money.billing.void

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

15 years agoMiddle layer method and related permission for editing the note column for one or...
phasefx [Tue, 29 Sep 2009 04:03:41 +0000 (04:03 +0000)]
Middle layer method and related permission for editing the note column for one or more rows in money.billing

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

15 years agoAdd Ubuntu Karmic support to prerequisite installer
dbs [Tue, 29 Sep 2009 03:53:14 +0000 (03:53 +0000)]
Add Ubuntu Karmic support to prerequisite installer

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

15 years agoforgot the upgrade_log
phasefx [Tue, 29 Sep 2009 03:49:59 +0000 (03:49 +0000)]
forgot the upgrade_log

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

15 years agoUPDATE_PATRON_CLAIM_RETURN_COUNT was lingering in an upgrade script, but not in 950...
phasefx [Tue, 29 Sep 2009 03:47:24 +0000 (03:47 +0000)]
UPDATE_PATRON_CLAIM_RETURN_COUNT was lingering in an upgrade script, but not in 950.data.seed-values.sql at the time this was originally done.  So adding it to the list of perms we DO NOT renumber

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

15 years agoThis reformats the SQL for seeding perms into permission.perm_list, and gives every...
phasefx [Tue, 29 Sep 2009 03:43:38 +0000 (03:43 +0000)]
This reformats the SQL for seeding perms into permission.perm_list, and gives every seeded perm a pinned id key and at least a stub of a oils_i18n_gettext function.  Also fixes a few bad key references in oils_i18n_gettext which
were overlooked from copy/pasting.

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

15 years agoRenumber any perms in permission.perm_list that are not in our seed list, and reserve...
phasefx [Tue, 29 Sep 2009 03:09:25 +0000 (03:09 +0000)]
Renumber any perms in permission.perm_list that are not in our seed list, and reserve id's <= 1000 for seeded perms

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

15 years agologic error; only want to change the sequence if we are insert this billing type
phasefx [Mon, 28 Sep 2009 20:45:54 +0000 (20:45 +0000)]
logic error; only want to change the sequence if we are insert this billing type

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

15 years agoThe first argument (keyvalue) for oils_i18n_gettext _has_ to be match the primary...
phasefx [Mon, 28 Sep 2009 20:40:08 +0000 (20:40 +0000)]
The first argument (keyvalue) for oils_i18n_gettext _has_ to be match the primary key value for the row being inserted, and it has to be a consistent value from Evergreen to Evergreen for the I18N scripts to work (so we can't
just let any id from a sequence get chosen and then plug that value into oils_i18n_gettext)

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

15 years agoMake MODS v3 variants inherit from mods3 rather than mods (version 2).
dbs [Mon, 28 Sep 2009 18:37:33 +0000 (18:37 +0000)]
Make MODS v3 variants inherit from mods3 rather than mods (version 2).

Results in the correct namespace being applied to MODS v3[123] and makes Zotero happy.

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

15 years agoIn XUL, if you do something like this:
phasefx [Mon, 28 Sep 2009 02:32:28 +0000 (02:32 +0000)]
In XUL, if you do something like this:

   <label control="foo" value="My Label">
   <textbox id="foo" />

Then clicking on the label will jump focus to the textbox.  Replacing the onclick handlers in the MARC editor with that way of doing it.

Also having each fixed field auto-select all the text on focus, so whether a user clicks on the label or directly into the textbox, or even tabs into the textbox, the text will be selected so that the user can immediately type a
new replacement value.

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

15 years agoFix targetting trac ticket #70 -- populate the xact_type column in transaction summar...
miker [Sat, 26 Sep 2009 16:25:45 +0000 (16:25 +0000)]
Fix targetting trac ticket #70 -- populate the xact_type column in transaction summary materialization trigger

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

15 years agoAccidentally commited a debugging tool
phasefx [Sat, 26 Sep 2009 04:57:40 +0000 (04:57 +0000)]
Accidentally commited a debugging tool

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

15 years agoOne repercussion to making all labels and descriptions selectable and copyable is...
phasefx [Sat, 26 Sep 2009 04:56:05 +0000 (04:56 +0000)]
One repercussion to making all labels and descriptions selectable and copyable is that they got injected into the tab order sequence, slowing down navigation.  So let's make it more exclusive/explicit

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

15 years agoAdds a default 'non-system' billing type if there are no other such billing types...
phasefx [Sat, 26 Sep 2009 03:38:28 +0000 (03:38 +0000)]
Adds a default 'non-system' billing type if there are no other such billing types already defined.

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

15 years agoCommit substantive changes from Joe Atzberger's patch to add a renewal hook, and...
dbs [Sat, 26 Sep 2009 02:39:02 +0000 (02:39 +0000)]
Commit substantive changes from Joe Atzberger's patch to add a renewal hook, and create a DB upgrade script

The substantive changes are:

    * $ses->request('open-ils.trigger.event.autocreate', 'renewal',  $self->circ, $self->circ_lib) if $self->is_renewal;
    * 1; added at the end of module,
    * SQL line added for renewal hook.

Note: also corrected typos in the SQL for another hook

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

15 years agoPatch from Warren Layton at Laurentian university which addresses some issues
miker [Fri, 25 Sep 2009 01:16:05 +0000 (01:16 +0000)]
Patch from Warren Layton at Laurentian university which addresses some issues
saving org unit data via the conify interfaces.

Thanks, Warren, and sorry for the delay.

M    Open-ILS/web/conify/global/actor/org_unit.js
M    Open-ILS/web/conify/global/actor/org_unit.html
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoCorrecting reporting view definition with regard to ISBN and ISSN extraction
miker [Thu, 24 Sep 2009 19:23:25 +0000 (19:23 +0000)]
Correcting reporting view definition with regard to ISBN and ISSN extraction

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

15 years agocorrecting thinko that caused calling a cstore method before cstore is started
miker [Thu, 24 Sep 2009 19:00:06 +0000 (19:00 +0000)]
correcting thinko that caused calling a cstore method before cstore is started

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

15 years agocopy missing autotools files instead of linking to installed versions -- one less...
miker [Thu, 24 Sep 2009 14:40:11 +0000 (14:40 +0000)]
copy missing autotools files instead of linking to installed versions -- one less step in the release process!

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

15 years agoExcept in certain cases (like chrome://global/skin/), we can no longer reference...
phasefx [Thu, 24 Sep 2009 14:38:22 +0000 (14:38 +0000)]
Except in certain cases (like chrome://global/skin/), we can no longer reference chrome stylesheets in remote xul.  Tighter "security" in xulrunner 1.9 series

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

15 years agoRemove some garbage artifacts from clumsy editing...
scottmk [Thu, 24 Sep 2009 14:00:29 +0000 (14:00 +0000)]
Remove some garbage artifacts from clumsy editing...

M    Open-ILS/src/sql/Pg/upgrade/0021.schema.triggers-for-deleting-circs.sql

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

15 years agoModify a pre-delete trigger, and add a post-delete trigger, to ensure that
scottmk [Thu, 24 Sep 2009 13:58:03 +0000 (13:58 +0000)]
Modify a pre-delete trigger, and add a post-delete trigger, to ensure that
(1) We don't delete/archive a circulation if there are any undeleted renewals
for it, and (2) when we delete/archive a renewal, we also delete/archive
all its predecessors.

Also: expand the view action.circulation to include four new columns.

M    Open-ILS/src/sql/Pg/090.schema.action.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0021.schema.triggers-for-deleting-circs.sql

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

15 years agoChange background colors for patron name to colored border around the name instead...
phasefx [Thu, 24 Sep 2009 06:57:17 +0000 (06:57 +0000)]
Change background colors for patron name to colored border around the name instead.  Correct the font-related CSS as well

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

15 years agoOrg unit setting for whether to obscure the Date of Birth field.
phasefx [Thu, 24 Sep 2009 06:25:15 +0000 (06:25 +0000)]
Org unit setting for whether to obscure the Date of Birth field.

If true, this will set the column visibility for Date of Birth in patron lists to false by default (though a Saved Columns state can specify otherwise), and it will also obscure the value in the patron summary sidebar, making it
say <Hidden> unless the field label is clicked.

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

15 years agoRemove Standing Penalty summary. This was an incomplete experiment that didn't pan...
phasefx [Thu, 24 Sep 2009 05:59:27 +0000 (05:59 +0000)]
Remove Standing Penalty summary.  This was an incomplete experiment that didn't pan out.  There's a desire for the information in the patron summary to be in the same locations all the time (for the layout not to shift
dynamically), and variable length data like a list is not conducive to that.  The penalties themselves are in the Messages sub-interface, and we need to decide whether to style on or around that button when there are interesting
messages to view, or rely on the "stop sign" page that comes up instead of Check Out.

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

15 years agosimilar to changeset 14138, make some of the labels in the horizontal patron summary...
phasefx [Thu, 24 Sep 2009 05:23:03 +0000 (05:23 +0000)]
similar to changeset 14138, make some of the labels in the horizontal patron summary selectable and copyable

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

15 years agoaway with the dark gray backgrounds in patron summary, and move inline style to ...
phasefx [Thu, 24 Sep 2009 05:11:16 +0000 (05:11 +0000)]
away with the dark gray backgrounds in patron summary, and move inline style to .css file

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

15 years agogo ahead and bundle in the common JSAN libraries as script tags to prevent them from...
phasefx [Thu, 24 Sep 2009 04:57:09 +0000 (04:57 +0000)]
go ahead and bundle in the common JSAN libraries as script tags to prevent them from being fetched/evaled into existence.  This makes for easier debugging (real line numbers, etc.).  They appear to stay cached after first load

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

15 years agoReplaces some of the xul labels with xul descriptions, which we've made selectable...
phasefx [Thu, 24 Sep 2009 01:54:51 +0000 (01:54 +0000)]
Replaces some of the xul labels with xul descriptions, which we've made selectable and copyable, at least via the keyboard shortcut for Copy.  A context menu would take more work.  We've actually been wanting to replace the patron
summary with an HTML-based interface for printability; you can not easily print a XUL interface.

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

15 years agocontrol+c won't work on description without -moz-user-focus: normal;
phasefx [Thu, 24 Sep 2009 01:50:10 +0000 (01:50 +0000)]
control+c won't work on description without -moz-user-focus: normal;

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

15 years agoget_text counterpart of set_text. abstracts away the widget type involved
phasefx [Thu, 24 Sep 2009 01:34:37 +0000 (01:34 +0000)]
get_text counterpart of set_text.  abstracts away the widget type involved

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

15 years agomeh, this should make labels selectable, but not in current xulrunners. Commiting...
phasefx [Wed, 23 Sep 2009 23:36:55 +0000 (23:36 +0000)]
meh, this should make labels selectable, but not in current xulrunners.  Commiting anyway in case the behavior changes in the future; we'll get a freebee

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

15 years agoAdd four columns to action.aged_circulation that were previously
scottmk [Wed, 23 Sep 2009 20:41:53 +0000 (20:41 +0000)]
Add four columns to action.aged_circulation that were previously
added to action.circulation.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0019.schema.action-aged-circ-new-cols.sql
M    Open-ILS/examples/fm_IDL.xml

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

15 years agoThis covers the in-db portion of new hold functionality that will allow copies
miker [Wed, 23 Sep 2009 18:49:34 +0000 (18:49 +0000)]
This covers the in-db portion of new hold functionality that will allow copies
at specific organizational units to be ignored for both direct targeting and
opportunistic capture.

M    Pg/002.schema.config.sql
A    Pg/upgrade/0018.schema.in-db-hold-skip-org-setting.sql
M    Pg/110.hold_matrix.sql

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

15 years agoCorrect a typo: a redundant ON
scottmk [Wed, 23 Sep 2009 18:37:08 +0000 (18:37 +0000)]
Correct a typo: a redundant ON

M    upgrade/0017.schema.circ-target-copy-indexes.sql

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

15 years agoasterisk next to the Items Out count (under the nav button) only if there are overdue...
phasefx [Wed, 23 Sep 2009 18:25:39 +0000 (18:25 +0000)]
asterisk next to the Items Out count (under the nav button) only if there are overdue items

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