evergreen/bjwebb.git
14 years agoAdd po_item column to auditor.acq_invoice_item_history.
scottmk [Wed, 28 Apr 2010 21:28:45 +0000 (21:28 +0000)]
Add po_item column to auditor.acq_invoice_item_history.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0244.schema.acq-inv-item-hist-po-item.sql

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

14 years agoCreate a reusable function for connecting to the database.
scottmk [Wed, 28 Apr 2010 21:11:54 +0000 (21:11 +0000)]
Create a reusable function for connecting to the database.
Use it in qstore (others to follow).

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_qstore.c
M    Open-ILS/src/c-apps/oils_sql.c

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

14 years agoAdd a po_item column, pointing to acq.po_item, to acq.invoice_item.
scottmk [Wed, 28 Apr 2010 19:28:45 +0000 (19:28 +0000)]
Add a po_item column, pointing to acq.po_item, to acq.invoice_item.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0243.schema.acq-inv-item-po-item.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years ago1. Implement a messages method to return a list of previously
scottmk [Wed, 28 Apr 2010 18:34:23 +0000 (18:34 +0000)]
1. Implement a messages method to return a list of previously
generated error messages.

2. Comment out some code that looked up datatype for all the
non-virtual fields in the IDL.  This time-consuming step serves
no purpose in qstore, and likely never will.

3. Added some more qstore-style comments.

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

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

14 years agowhen a LI points to a PO, show the LI as a link in the lineitem summary blob
erickson [Wed, 28 Apr 2010 15:39:50 +0000 (15:39 +0000)]
when a LI points to a PO, show the LI as a link in the lineitem summary blob

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

14 years agoEliminated the oilsExecSql function as a relic of an earlier design.
scottmk [Wed, 28 Apr 2010 15:31:46 +0000 (15:31 +0000)]
Eliminated the oilsExecSql function as a relic of an earlier design.

Also: added some doxygen-style comments.

M    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_execsql.c

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

14 years agoLoosened some restrictions on invoicing. It is now possible to invoice
erickson [Wed, 28 Apr 2010 15:24:31 +0000 (15:24 +0000)]
Loosened some restrictions on invoicing.  It is now possible to invoice
items that have not yet been received.  It is also possible to invoice
for cancelled items, assuming the debit for the cancelled item remains.

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

14 years agoAdd keep_debits column to acq.cancel_reason.
scottmk [Wed, 28 Apr 2010 14:41:03 +0000 (14:41 +0000)]
Add keep_debits column to acq.cancel_reason.

Add a row for delivered_but_lost, with keep_debits = TRUE.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0242.schema.acq-cancel-reason-keep-debits.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoinit the printer in the new selfcheck UI
erickson [Wed, 28 Apr 2010 13:02:28 +0000 (13:02 +0000)]
init the printer in the new selfcheck UI

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

14 years agoImplement .execute method of qstore server.
scottmk [Wed, 28 Apr 2010 03:41:56 +0000 (03:41 +0000)]
Implement .execute method of qstore server.

M    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_qstore.c
M    Open-ILS/src/c-apps/Makefile.am
A    Open-ILS/src/c-apps/oils_execsql.c

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

14 years agoBring the password reset interface to the Craftsman skin
dbs [Tue, 27 Apr 2010 22:00:28 +0000 (22:00 +0000)]
Bring the password reset interface to the Craftsman skin

Along the way, we make the placement slightly less hard-coded so that we
can better support custom skins that might not match default - although
we're still assuming that the login box will be a table with a tbody, you
can use the config.ids.login.tbody variable to point at the ID you care
about for your skin.

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

14 years agoImprove password reset form usability
dbs [Tue, 27 Apr 2010 20:31:05 +0000 (20:31 +0000)]
Improve password reset form usability

Clean up after ourselves by clearing the values of the barcode / username
text fields if the user hits Cancel or submits a request that was handled
by the backend service.

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

14 years agoAcq: Find PO from which copy originated
senator [Tue, 27 Apr 2010 16:57:39 +0000 (16:57 +0000)]
Acq: Find PO from which copy originated

In the Item Status staff client interface there is now a new menu option that
will look for a PO from which a given item originated.

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

14 years agoAdded support to invoice page for adding extra copies to an invoice than
erickson [Tue, 27 Apr 2010 16:53:33 +0000 (16:53 +0000)]
Added support to invoice page for adding extra copies to an invoice than
were ordered.  The process creates new lineitem details and fund debits
to accommodate the new copies.
Fixed some typos
TODO: update the li summary blob to treat the li title/author as a link
to the details page for the lineitem

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

14 years agoAdd acq.po_item table.
scottmk [Tue, 27 Apr 2010 16:23:19 +0000 (16:23 +0000)]
Add acq.po_item table.

M    Open-ILS/src/sql/Pg/200.schema.acq.sql
M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0241.schema.acq-po-item.sql
M    Open-ILS/examples/fm_IDL.xml

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

14 years agoensure order date is non-null before formatting
erickson [Tue, 27 Apr 2010 12:46:51 +0000 (12:46 +0000)]
ensure order date is non-null before formatting

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

14 years agoreplace lingering date substring kludges with util.date/dojo.locale. In some places...
phasefx [Mon, 26 Apr 2010 21:42:45 +0000 (21:42 +0000)]
replace lingering date substring kludges with util.date/dojo.locale.  In some places (like due dates) I'm letting the whole timestamp show where before we were showing just the date

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

14 years agoIDL:
erickson [Mon, 26 Apr 2010 20:51:39 +0000 (20:51 +0000)]
IDL:
added pcrud <retrieve> entry for acq selection list.
added selector columns to PL and PO.
removed now-virtual item_count column from acq.acq_lineitem_history
repaired faulty pcrud actions stanza for acq po

AutoGrid
added a readOnly edit mode to AutoGrid.  this will allow users to pop up the edit dialog for copy/paste, since it is not (currently) possible to copy values directly from a dojo grid

new UIs
added a lineitem history ui which shows the audit values from a given lineitem
added a po history ui which shows the audit values from a given po

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

14 years agowire org unit settings for date/time formatting into util.date library
phasefx [Mon, 26 Apr 2010 20:36:57 +0000 (20:36 +0000)]
wire org unit settings for date/time formatting into util.date library

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

14 years agoAcq: invoices are now printable from search results
senator [Mon, 26 Apr 2010 19:58:03 +0000 (19:58 +0000)]
Acq: invoices are now printable from search results

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

14 years agothinko on using cleared fund debit id
erickson [Mon, 26 Apr 2010 19:47:47 +0000 (19:47 +0000)]
thinko on using cleared fund debit id

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

14 years agoin acq, when an LID is canceled, make sure the encumbrance is removed as well
erickson [Mon, 26 Apr 2010 19:18:17 +0000 (19:18 +0000)]
in acq, when an LID is canceled, make sure the encumbrance is removed as well

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

14 years agobulked up docs for the record copy-count calls. removed unused format specifier
erickson [Mon, 26 Apr 2010 18:31:06 +0000 (18:31 +0000)]
bulked up docs for the record copy-count calls.  removed unused format specifier

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

14 years agoorg unit settings for formatting displayed date and time values
phasefx [Mon, 26 Apr 2010 18:17:17 +0000 (18:17 +0000)]
org unit settings for formatting displayed date and time values

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

14 years agoAdded API call to return the total hold count for titles and metarecords
erickson [Mon, 26 Apr 2010 18:14:31 +0000 (18:14 +0000)]
Added API call to return the total hold count for titles and metarecords

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

14 years agoThere is no template for printing patron lists. Quick fix until we replace those...
phasefx [Mon, 26 Apr 2010 17:14:44 +0000 (17:14 +0000)]
There is no template for printing patron lists.  Quick fix until we replace those actions with standard List actions

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

14 years agoDon't rely on the sequence like this, using xact_start to find preceding circ renewal...
phasefx [Mon, 26 Apr 2010 16:21:45 +0000 (16:21 +0000)]
Don't rely on the sequence like this, using xact_start to find preceding circ renewal chain

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

14 years agoAdded an API call which returns the set of opt-in user settings for all event-defs...
erickson [Mon, 26 Apr 2010 15:16:13 +0000 (15:16 +0000)]
Added an API call which returns the set of opt-in user settings for all event-defs in a given org unit range.  open-ils.actor.event_def.opt_in.settings

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

14 years agobulked up the API docs for holds queue stats method
erickson [Mon, 26 Apr 2010 14:37:59 +0000 (14:37 +0000)]
bulked up the API docs for holds queue stats method

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

14 years agoshow PO order date in li summary display
erickson [Mon, 26 Apr 2010 13:18:59 +0000 (13:18 +0000)]
show PO order date in li summary display

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

14 years agostack provider pane in acq vendor ui to reduce verticality
erickson [Mon, 26 Apr 2010 13:18:59 +0000 (13:18 +0000)]
stack provider pane in acq vendor ui to reduce verticality

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

14 years agoPatch from Jason Stephenson to silence 'isn't numeric' warnings in actor log
erickson [Mon, 26 Apr 2010 12:58:49 +0000 (12:58 +0000)]
Patch from Jason Stephenson to silence 'isn't numeric' warnings in actor log

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

14 years ago* show most recent and previous circ chains in item details history tab, with patron...
phasefx [Mon, 26 Apr 2010 09:23:26 +0000 (09:23 +0000)]
* show most recent and previous circ chains in item details history tab, with patron retrieval buttons
* accesskeys for the Item Details tab box
* fix: don't render 'undefined'

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

14 years agomiddle layer methods for getting at a 'preceeding' circ renewal chain given a circ id
phasefx [Mon, 26 Apr 2010 09:23:23 +0000 (09:23 +0000)]
middle layer methods for getting at a 'preceeding' circ renewal chain given a circ id

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

14 years agochicanery to let us pass the queue from one sound object to another (where for exampl...
phasefx [Mon, 26 Apr 2010 03:54:14 +0000 (03:54 +0000)]
chicanery to let us pass the queue from one sound object to another (where for example, the timer for the first object may be blocked by the modalness of the window for the second object.  This ensures that sounds queued up prior to a fancy prompt popup will play during the popup and not after

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

14 years agochange the params for sound constructor and add debug info
phasefx [Mon, 26 Apr 2010 03:54:11 +0000 (03:54 +0000)]
change the params for sound constructor and add debug info

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

14 years agodon't let util.error create sound objects (trying to reduce proliferation of such...
phasefx [Mon, 26 Apr 2010 03:54:08 +0000 (03:54 +0000)]
don't let util.error create sound objects (trying to reduce proliferation of such objects for easier debugging), and give fancy_prompt the ability to handle its own sounds, to prevent blocking of sounds due to the modal window dialog.  Have util.error and util.network make fancy_prompt do this

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

14 years agocreate a sound timer/queue in menu_frame that gets inherited by child interfaces...
phasefx [Mon, 26 Apr 2010 03:54:04 +0000 (03:54 +0000)]
create a sound timer/queue in menu_frame that gets inherited by child interfaces, and don't let it grab the one from data.xul

if we try to share xulG._sound from window 1 with window 2, and window 1 is destroyed, the sound object no longer works correctly (it loses reference to the 'urls' variable and cannot find the sounds to play).  May try a common sound file from data.xul later.  As it is now, sound behavior between window 1 and window 2 is slightly different with fancy prompt on my workstation.  In window 2, a sound queued before fancy prompt starts to play before the popup and then gets clipped.  In window 1, the fancy prompt sound obj takes over the queue and plays the sound without clipping

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

14 years agooptional sound queue so we can reduce sound collisions, plus some debugging info
phasefx [Mon, 26 Apr 2010 03:54:02 +0000 (03:54 +0000)]
optional sound queue so we can reduce sound collisions, plus some debugging info

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

14 years agosmoother destruction of exec.timer. We can now invoke exec.timer multiple times...
phasefx [Mon, 26 Apr 2010 03:53:58 +0000 (03:53 +0000)]
smoother destruction of exec.timer.  We can now invoke exec.timer multiple times for a given util.exec instance, if for example, we want to regulate the frequency at which it shifts functions off the queue.  Plus optional debug info

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

14 years agoImplement the .finish method for the qstore server.
scottmk [Sun, 25 Apr 2010 14:44:38 +0000 (14:44 +0000)]
Implement the .finish method for the qstore server.

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

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

14 years agoAcq: more work on the claiming UI. It begins to be workable, but still rough.
senator [Fri, 23 Apr 2010 20:53:11 +0000 (20:53 +0000)]
Acq: more work on the claiming UI. It begins to be workable, but still rough.

Definitely still have to fix at least these things:

Changes to lineitems' claim policies and initiation of claims against LIs
aren't reflected in realtime in the LI table. You still need a reload for
that so far.

The "Consider individual copies for claiming" needs to take you to the
speicific lineitems' claim copies dialog, not just to the PO in general.

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

14 years agoApply Jeff Godin's patch to fix Exporter forwarding to HTTPS
dbs [Thu, 22 Apr 2010 13:36:01 +0000 (13:36 +0000)]
Apply Jeff Godin's patch to fix Exporter forwarding to HTTPS

From https://bugs.launchpad.net/evergreen/+bug/538286

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

14 years agoAcq: added UI controls to attach a claim policy to one or many lineitems
senator [Wed, 21 Apr 2010 21:01:55 +0000 (21:01 +0000)]
Acq: added UI controls to attach a claim policy to one or many lineitems

Incidentally, two bugs were fixed:
    1) Incorrect permacrud action entries in the IDL that stopped
       open-ils.pcrud from generating methods for the jub and acqlih
       classes.
    2) A widely used acq subroutine, retrieve_lineitem_impl, incorrectly
       cleared the purchase_order and picklist fields of its result if
       fleshing for those fields was not specifically requested. The
       correct behavior is to set those fields back to their integer
       foreign key values. This was causing several subtle problems.

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

14 years agoAcq: large parts of the UI for making claims to a vendor against lineitems
senator [Tue, 20 Apr 2010 20:20:32 +0000 (20:20 +0000)]
Acq: large parts of the UI for making claims to a vendor against lineitems

Large parts of this are done, but not yet all of them.  Woof.  If lineitems
are claim-ready (have an attached claim policy, which has claim event types
that have intervals that have passed since the items were ordered), and you
want to find them with no search criteria other than ordering agency, then
you can issue claims and print a very primitive voucher.  Bits of niceness
are still to come, such as attaching policies, claiming from other LI table-
based interfaces, etc.

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

14 years agotoward a singleton for OpenILS.data
phasefx [Tue, 20 Apr 2010 16:25:48 +0000 (16:25 +0000)]
toward a singleton for OpenILS.data

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

14 years agoreduce proliferation of nsISound instances
phasefx [Tue, 20 Apr 2010 15:19:18 +0000 (15:19 +0000)]
reduce proliferation of nsISound instances

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

14 years agoHmm. Not sure how this got doubled up, but it sure makes Apache unhappy.
dbs [Tue, 20 Apr 2010 14:12:58 +0000 (14:12 +0000)]
Hmm. Not sure how this got doubled up, but it sure makes Apache unhappy.

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

14 years agoImplement the .prepare and .sql methods (except ignoring
scottmk [Tue, 20 Apr 2010 02:33:32 +0000 (02:33 +0000)]
Implement the .prepare and .sql methods (except ignoring
bind variables).

M    Open-ILS/src/c-apps/oils_qstore.c
A    Open-ILS/src/c-apps/oils_buildq.c
A    Open-ILS/src/c-apps/oils_storedq.c
A    Open-ILS/src/c-apps/buildSQL.c
M    Open-ILS/src/c-apps/Makefile.am

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

14 years agoRework constants for audio to be more dynamic. We can now specify a specific sound...
phasefx [Mon, 19 Apr 2010 18:28:21 +0000 (18:28 +0000)]
Rework constants for audio to be more dynamic.  We can now specify a specific sound for every event that goes through network.js, however, in Windows sounds get cut off by subsequent sounds, so currently, if you wanted to hear the Red Alert example for AUDIO_event_ASSET_COPY_NOT_FOUND, you'd have to undefine or nullify or empty-string AUDIO_circ_bad.

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

14 years agochange const to var so that custom.js can modify these values
phasefx [Mon, 19 Apr 2010 16:48:51 +0000 (16:48 +0000)]
change const to var so that custom.js can modify these values

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

14 years agoLook for and evaluate /xul/server/skin/custom.js if it exists. Mainly for overriding...
phasefx [Mon, 19 Apr 2010 16:48:44 +0000 (16:48 +0000)]
Look for and evaluate /xul/server/skin/custom.js if it exists.  Mainly for overriding parts of constants.js with local customizations
We'll do this with all remote interfaces (via util_overlay.xul) and with the main chrome menu/window and the chrome opac browser

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

14 years agoFleshing out the qstore server a bit:
scottmk [Mon, 19 Apr 2010 16:04:26 +0000 (16:04 +0000)]
Fleshing out the qstore server a bit:

1. Add a .bind_param method.

2. In the .prepare method: generate a query token, return it, and save
it in session-level userDate.

3. In other methods: look up the supplied query token.

A    Open-ILS/include/openils/oils_buildq.h
M    Open-ILS/src/c-apps/oils_qstore.c

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

14 years agoIE just asked my why it would want to go and support the XML spec ... uh ...
miker [Mon, 19 Apr 2010 15:48:00 +0000 (15:48 +0000)]
IE just asked my why it would want to go and support the XML spec ... uh ...

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

14 years agouse xmlent for the dtd's. this is remote xul, even if the src file lives in chrome
phasefx [Mon, 19 Apr 2010 14:52:35 +0000 (14:52 +0000)]
use xmlent for the dtd's.  this is remote xul, even if the src file lives in chrome

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

14 years agorepaired duplicate class prob in invoice template
erickson [Mon, 19 Apr 2010 13:01:47 +0000 (13:01 +0000)]
repaired duplicate class prob in invoice template

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

14 years agoAdd a new service, open-ils.qstore. It is not yet useful except for testing
scottmk [Mon, 19 Apr 2010 12:48:01 +0000 (12:48 +0000)]
Add a new service, open-ils.qstore.  It is not yet useful except for testing
connectivity, because the methods are stubbed out.  It will require changes to
opensrf.core before a client can access it.

A    Open-ILS/src/c-apps/oils_qstore.c
M    Open-ILS/src/c-apps/Makefile.am

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

14 years agoForward-port self-serve password reset implementation from rel_1_6
dbs [Mon, 19 Apr 2010 12:47:12 +0000 (12:47 +0000)]
Forward-port self-serve password reset implementation from rel_1_6
TODO: Add support for craftsman
TODO: Add barcode + email input option
TODO: Document how it works

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

14 years agoAdded a lineitem summary view to describe details about related
erickson [Mon, 19 Apr 2010 00:04:26 +0000 (00:04 +0000)]
Added a lineitem summary view to describe details about related
lineitem_detail and order data

Added a generic lineitem view function to generate a canned HTML
blob to represent a lineitem using the new summary view

Reduced some fleshing in ML calls in anticipation of larger invoices

Use new summary lineitem fetch/render code in invoice page

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

14 years agoaddressing LP bug #562553, added content in the slimpac and callnumber browser
miker [Sat, 17 Apr 2010 21:08:54 +0000 (21:08 +0000)]
addressing LP bug #562553, added content in the slimpac and callnumber browser

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

14 years agocount record and metarecord facets differently
miker [Sat, 17 Apr 2010 00:31:55 +0000 (00:31 +0000)]
count record and metarecord facets differently

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

14 years agoadded support for closing and re-opening invoices; viewing closed invoices as read...
erickson [Fri, 16 Apr 2010 21:08:59 +0000 (21:08 +0000)]
added support for closing and re-opening invoices; viewing closed invoices as read-only; numerous style cleanups

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

14 years agoadded ability to stack multiple EditPane fields into a single EditPane row with...
erickson [Fri, 16 Apr 2010 21:08:58 +0000 (21:08 +0000)]
added ability to stack  multiple EditPane fields into a single EditPane row with a new paneStackDepth param

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

14 years agodon't attempt to validate a readOnly widget
erickson [Fri, 16 Apr 2010 21:08:57 +0000 (21:08 +0000)]
don't attempt to validate a readOnly widget

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

14 years agoget MR facets when we are doing an MR search ... duh. also need to adjust how we...
miker [Fri, 16 Apr 2010 20:04:56 +0000 (20:04 +0000)]
get MR facets when we are doing an MR search ... duh.  also need to adjust how we count. later

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

14 years agoand then the auditor tables..
erickson [Fri, 16 Apr 2010 18:51:53 +0000 (18:51 +0000)]
and then the auditor tables..

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

14 years agoIDL bits for acq.invoice.complete
erickson [Fri, 16 Apr 2010 18:38:34 +0000 (18:38 +0000)]
IDL bits for acq.invoice.complete

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

14 years agoadded column to indicate that an invoice is complete/done/closed
erickson [Fri, 16 Apr 2010 18:36:31 +0000 (18:36 +0000)]
added column to indicate that an invoice is complete/done/closed

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

14 years agoForward-port r16250: Decode input, encode output. That's what Perl Unicode advice...
dbs [Fri, 16 Apr 2010 15:05:52 +0000 (15:05 +0000)]
Forward-port r16250: Decode input, encode output. That's what Perl Unicode advice says, and it happens to fix a problem for Indiana.

Tested on Conifer production, no problems were introduced.

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

14 years agoPrevent possible character corruption or fatal errors in SRU / Z39.50
dbs [Fri, 16 Apr 2010 04:38:02 +0000 (04:38 +0000)]
Prevent possible character corruption or fatal errors in SRU / Z39.50

All MARC records in the Evergreen database are Unicode-encoded. However,
if the LDR09 hasn't been updated to indicate this, when we invoke
MARC::File::XML->as_xml_record it automatically runs a MARC8-to-UTF8 conversion
over the data - potentially corrupting the data, or resulting in fatal
errors. When holdings are added to records in SRU / Z39.50, we invoke
this code path.

The solution here is to simply manually set the leader 09 position to 'a'
before invoking MARC::File::XML->as_xml_record.

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

14 years agoAcq: admin interfaces for claims objects, link to claim policy from LI table
senator [Thu, 15 Apr 2010 21:29:27 +0000 (21:29 +0000)]
Acq: admin interfaces for claims objects, link to claim policy from LI table

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

14 years agoTeach BibTemplate about locales, now that unapi has been wised up to their existence
dbs [Thu, 15 Apr 2010 20:10:35 +0000 (20:10 +0000)]
Teach BibTemplate about locales, now that unapi has been wised up to their existence

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

14 years agoTeach SuperCat about locales - this becomes important when requesting copy status...
dbs [Thu, 15 Apr 2010 20:09:01 +0000 (20:09 +0000)]
Teach SuperCat about locales - this becomes important when requesting copy status, etc

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

14 years ago* tweak wording for ui.circ.suppress_checkin_popups setting so that it sorts better
phasefx [Thu, 15 Apr 2010 18:56:11 +0000 (18:56 +0000)]
* tweak wording for ui.circ.suppress_checkin_popups setting so that it sorts better
* suppressing alerts/dialogs based on setting
* auto_override_these_events option for util.network
* use auto_override_these_events during checkin based on setting

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

14 years agotoward making fancy prompt dimensions sticky, just need to give the oils_persist...
phasefx [Thu, 15 Apr 2010 16:02:48 +0000 (16:02 +0000)]
toward making fancy prompt dimensions sticky, just need to give the oils_persist mechanism support for resize events

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

14 years agoHave Patron Merge interface honor horizontal patron summary setting
phasefx [Thu, 15 Apr 2010 15:38:41 +0000 (15:38 +0000)]
Have Patron Merge interface honor horizontal patron summary setting

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

14 years agocirc.holds.clear_shelf.no_capture_holds is not used. removing
erickson [Thu, 15 Apr 2010 14:21:15 +0000 (14:21 +0000)]
circ.holds.clear_shelf.no_capture_holds is not used.  removing

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

14 years agoAcq: unified search UI bugfix - timestamp searches were broken
senator [Wed, 14 Apr 2010 21:40:50 +0000 (21:40 +0000)]
Acq: unified search UI bugfix - timestamp searches were broken

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

14 years agoorg unit setting for suppressing alerts/popups during checkin--will indicate these...
phasefx [Wed, 14 Apr 2010 18:48:15 +0000 (18:48 +0000)]
org unit setting for suppressing alerts/popups during checkin--will indicate these events some other way if true.  Commiting now so as to not tie up upgrade_log

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

14 years agoRework clear_hold_shelf process so that it looks for eligible holds for the cleared...
phasefx [Wed, 14 Apr 2010 16:22:50 +0000 (16:22 +0000)]
Rework clear_hold_shelf process so that it looks for eligible holds for the cleared copies after the transaction updating the existing holds and copies has committed.  Also fixed the copy_status test so that Available works as a value for circ.holds.clear_shelf.copy_status

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

14 years agoAcq: fixing bug introduced in 16230
senator [Wed, 14 Apr 2010 13:42:35 +0000 (13:42 +0000)]
Acq: fixing bug introduced in 16230

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

14 years agoAcq: add search-by-file-of-terms to unified search
senator [Tue, 13 Apr 2010 20:17:55 +0000 (20:17 +0000)]
Acq: add search-by-file-of-terms to unified search

This feature was present in the now deprecated lineitem search interface.
It works, but it is severely limited at the moment in the number of search
terms you can use, because search queries are made into URIs before the
search actually happens (in order to make backing up to old search results
possible), and at a certain point, very large URIs become infeasible.

Some adjustments to how search history is made naviagable may be in order.

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

14 years agotweaks to <help> widget to support non-chrome help content with chrome <help> widgets...
phasefx [Tue, 13 Apr 2010 18:02:25 +0000 (18:02 +0000)]
tweaks to <help> widget to support non-chrome help content with chrome <help> widgets, and wiring it up into a generic Help button for embedded browser based interfaces

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

14 years agoReworking the <help> widget to add more hooks for localized/custom content, and a...
phasefx [Tue, 13 Apr 2010 16:19:12 +0000 (16:19 +0000)]
Reworking the <help> widget to add more hooks for localized/custom content, and a @pathname attribute for overriding the location.pathname value used to derive URL's for content.

Current behavior:

This widget will try to load help content from various static and dynamic URL's, stopping at the
first one that it finds.  Given an example location.href of '/xul/server/patron/display.xul' and
a @src of 'foo.html', it will check these URL's in this order:

    foo.html
    /xul/server/patron/display.xul.custom_help.html
    /xul/server/patron/display.xul.help.html
    /xul/server/patron/custom_help.html
    /xul/server/patron/help.html
    /xul/server/custom_help.html
    /xul/server/help.html
    /xul/custom_help.html
    /xul/help.html
    /custom_help.html
    /help.html

If @pathname is specified, it will override the value from location.href

The idea is that *custom_help.html files will never be stock.

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

14 years agoplugged in some required fields for invoicing and fund create dialog as proof of...
erickson [Tue, 13 Apr 2010 16:18:01 +0000 (16:18 +0000)]
plugged in some required fields for invoicing and fund create dialog as proof of concept (and because it's needed)

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

14 years agodijits that are marked as 'required' will show render with the invalid dijit styling...
erickson [Tue, 13 Apr 2010 16:18:00 +0000 (16:18 +0000)]
dijits that are marked as 'required' will show render with the invalid dijit styling when no data is present during page render.  The previous behavior was to only style the invalid widgets after the user had focused the widget and left invalid data in the widget.  this way users can see at page load if a field is required

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

14 years agomoved money summary boxes to regular in-markup dijits
erickson [Tue, 13 Apr 2010 16:17:59 +0000 (16:17 +0000)]
moved money summary boxes to regular in-markup dijits

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

14 years agoadded a balance owed column to invoice UI
erickson [Tue, 13 Apr 2010 15:18:12 +0000 (15:18 +0000)]
added a balance owed column to invoice UI

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

14 years agoadded pcrud perms for invoice payment method
erickson [Tue, 13 Apr 2010 14:07:06 +0000 (14:07 +0000)]
added pcrud perms for invoice payment method

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

14 years agouse oilsBasePath consistently for relative url support
erickson [Tue, 13 Apr 2010 13:59:29 +0000 (13:59 +0000)]
use oilsBasePath consistently for relative url support

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

14 years agoopen-ils.actor.user.retrieve.parts -- default to logged in user when no id is provided
erickson [Tue, 13 Apr 2010 00:53:31 +0000 (00:53 +0000)]
open-ils.actor.user.retrieve.parts -- default to logged in user when no id is provided

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

14 years agoXBL for a <help> widget. It will try to load help content from various static and...
phasefx [Mon, 12 Apr 2010 21:40:54 +0000 (21:40 +0000)]
XBL for a <help> widget.  It will try to load help content from various static and dynamic URL's, stopping
at the first one that it finds.  If for example, I were to add this to /xul/server/patron/display.xul:

    <help id="bar" src="foo.html" />

We would get a "Help" button that if clicked would then it would test these locations:

    foo.html (if @foo not set, then custom_help.html)
    /xul/server/patron/display.xul.help.html
    /xul/server/patron/help.html
    /xul/server/help.html
    /xul/help.html
    /help.html

and since @id is defined, it would also tack on ?id=bar (for log tracking and/or dynamic use by the content).

It will open the location in a non-modal pop-up window.  Navigation buttons not included.

MAYBE TODO:
    Add an @anchor for dynamically appending a hash component to each URL tested.
    Implement a browser with Back/Forward/Search/Index functionality.

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

14 years agoverify thaw date exists before attempting to iso-string-ify it, otherwise dojo dies
erickson [Mon, 12 Apr 2010 19:12:24 +0000 (19:12 +0000)]
verify thaw date exists before attempting to iso-string-ify it, otherwise dojo dies

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

14 years agoenabled paging for provider invoices tab, fixed some related data order_by defs to...
erickson [Mon, 12 Apr 2010 18:59:37 +0000 (18:59 +0000)]
enabled paging for provider invoices tab, fixed some related data order_by defs to be more useful in the provider detail page

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

14 years agoUpdate copyright statement to current year; include "and others" to be more accurate
dbs [Mon, 12 Apr 2010 18:21:34 +0000 (18:21 +0000)]
Update copyright statement to current year; include "and others" to be more accurate

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

14 years agoTurn "next page" / "previous page" symbols into entities
dbs [Mon, 12 Apr 2010 18:06:07 +0000 (18:06 +0000)]
Turn "next page" / "previous page" symbols into entities
Makes it easier for sites to customize this aspect of the look and feel of their skins if they support multiple languages.

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

14 years agoAcq: Add a pane to show related invoices on provider interface
senator [Mon, 12 Apr 2010 17:26:37 +0000 (17:26 +0000)]
Acq: Add a pane to show related invoices on provider interface

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

14 years agovar name typo w/ last commit, fixed
erickson [Mon, 12 Apr 2010 15:08:20 +0000 (15:08 +0000)]
var name typo w/ last commit, fixed

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

14 years agoPatch from Galen Charlton:
miker [Mon, 12 Apr 2010 15:00:29 +0000 (15:00 +0000)]
Patch from Galen Charlton:

This patch adds additional calls to escape_xml to handle cases where patron or library data could contain ampersand or other characters that need to be converted to entities.  Issue discovered by Bibliomation; patch includes contributions by Ben Ostrowsky.

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

14 years agosome <permacrud> permission cleanup
miker [Mon, 12 Apr 2010 14:52:22 +0000 (14:52 +0000)]
some <permacrud> permission cleanup

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