]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
13 years agoupdated SIP server to pull item config info from the new circ_modifier table when...
erickson [Mon, 3 May 2010 19:00:31 +0000 (19:00 +0000)]
updated SIP server to pull item config info from the new circ_modifier table when legacy script support is disabled

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

13 years agoAcq: users can now claim individual copies from the LI copy table
senator [Mon, 3 May 2010 18:05:27 +0000 (18:05 +0000)]
Acq: users can now claim individual copies from the LI copy table

Also included, small bugfix to unified search (bug had caused atomic version
of the API call to include an extra, undesired result), and an improvement
to the decision to show or not show the "mark received" link on the LI copy
table.

Also made using the claiming dialog update the LI table to reflect the new
claims / changes in eligibility.

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

13 years agoPatron update docs
erickson [Mon, 3 May 2010 17:15:04 +0000 (17:15 +0000)]
Patron update docs

and a light dusting of perltidy.

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16379 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agofixed bug where updating the email address resulted in updating the username instead...
erickson [Mon, 3 May 2010 15:34:49 +0000 (15:34 +0000)]
fixed bug where updating the email address resulted in updating the username instead of the email address on the local copy of the user object in the opac.  this bug likely affected nothing.

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

13 years agoPaging options for user_transactions and user_transactions_history, plus refactored...
phasefx [Mon, 3 May 2010 14:39:28 +0000 (14:39 +0000)]
Paging options for user_transactions and user_transactions_history, plus refactored post-query grep filters into the query itself

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

13 years agoflesh hold notes in the holds retrieve call, being mindful of who is requesting the...
erickson [Mon, 3 May 2010 14:02:50 +0000 (14:02 +0000)]
flesh hold notes in the holds retrieve call, being mindful of who is requesting the hold and who can see staff/private notes

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

13 years agoadd the ability to run in sync mode; prevent use of cached unapi data; add the slot...
miker [Mon, 3 May 2010 01:03:25 +0000 (01:03 +0000)]
add the ability to run in sync mode; prevent use of cached unapi data; add the slot as a well-known param to format and value handlers

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

13 years agosub-object limiting (think: holdings); query limit/offset; new "templated" mode using...
miker [Mon, 3 May 2010 01:01:29 +0000 (01:01 +0000)]
sub-object limiting (think: holdings); query limit/offset; new "templated" mode using opac/template-value elements and dojo.string.substitute; org depth support in constructed tag URIs

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

13 years agoMoved the datatype lookups from the drones to the listener process.
scottmk [Sat, 1 May 2010 18:11:47 +0000 (18:11 +0000)]
Moved the datatype lookups from the drones to the listener process.

The cstore, rstore, and pcrud servers do dummy SELECT queries of all
the non-virtual classes in the IDL, in order to get datatypes for all
the non-virtual fields.

These lookups are time-consuming.  On my laptop they may take several
seconds.  On a system with various components running on separate
boxes, they may take longer due to the additional network latency.

Formerly these lookups were done by each drone process when it
initialized itself, resulting in an occasional hiccup of additional
response latency whenever the listener spawned another drone.

Now the parent process does the lookup once, before it spawns any
drones.  The drones inherit the resulting datatypes via the normal
fork operation, and never have to look up the datatypes themselves.

In order for this new arrangement to work, the oilsExtendIDL function
(which does the lookups) needs to receive a database connection as a
parameter, since the parent's connection is different from those of
the drones.

M    Open-ILS/include/openils/oils_sql.h
M    Open-ILS/src/c-apps/oils_pcrud.c
M    Open-ILS/src/c-apps/oils_rstore.c
M    Open-ILS/src/c-apps/oils_sql.c
M    Open-ILS/src/c-apps/oils_cstore.c

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

13 years agoOrg unit settings gui.disable_local_save_columns and url.remote_column_settings....
phasefx [Sat, 1 May 2010 09:57:46 +0000 (09:57 +0000)]
Org unit settings gui.disable_local_save_columns and url.remote_column_settings.  Respectively, these allow us to prevent the local saving and use of column settings, and allows us to specify column settings remotely.  If local settings are allowed and remote settings are also configured, then local settings will trump remote settings.  Currently these only work with xul lists, not dojo.  There is no UI for saving settings remotely; for now the notion is that an admin sets columns up locally, and then transfers the setting files to the remote server.

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

13 years agoDedicated interface for circ.staff_client.do_not_auto_attempt_print org unit setting...
phasefx [Sat, 1 May 2010 08:33:51 +0000 (08:33 +0000)]
Dedicated interface for circ.staff_client.do_not_auto_attempt_print org unit setting (given that the generic one does not handle settings of type array very well--particularly enumeration of allowed array values)

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

13 years agomake the Javascript Shell environment more closely resemble that of the xul interface...
phasefx [Sat, 1 May 2010 08:33:50 +0000 (08:33 +0000)]
make the Javascript Shell environment more closely resemble that of the xul interfaces (JSAN loaded, utility functions and constants loaded, and network and error objects pre-configured)

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

13 years agoreplace direct use of dojo.date in these xul interfaces with util.date wrapper
phasefx [Sat, 1 May 2010 05:42:41 +0000 (05:42 +0000)]
replace direct use of dojo.date in these xul interfaces with util.date wrapper

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

13 years agoAcq: Towards a working lineitems + bibs search, but still not really there
senator [Fri, 30 Apr 2010 21:17:57 +0000 (21:17 +0000)]
Acq: Towards a working lineitems + bibs search, but still not really there

At least these things still need done:
    1) Need to find out how to combine search terms correctly for the
        open-ils.search multiclass method.
    2) Need either to find out how to negate multiclass search terms or
        to disable not- based searching for lineitem+bib
    3) Need to make uploaded file-of-terms work.

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

13 years agoadded support for update the fund on an LID after the debits have been created. ...
erickson [Fri, 30 Apr 2010 20:49:28 +0000 (20:49 +0000)]
added support for update the fund on an LID after the debits have been created.  added a .dry_run version of open-ils.acq.lineitem_detail.cud.batch[.dry_run] to allow the caller to check the fund warning percents

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

13 years agoUse the oilsConnectDB function to connect to the database, instead
scottmk [Fri, 30 Apr 2010 20:39:29 +0000 (20:39 +0000)]
Use the oilsConnectDB function to connect to the database, instead
of using replicated code.

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

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

13 years agoGive event definition a proper id (23)
erickson [Fri, 30 Apr 2010 16:34:33 +0000 (16:34 +0000)]
Give event definition a proper id (23)

Signed-off-by: Joe Atzberger <atz@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@16362 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoAdded global_flag and support for using the internal record
erickson [Fri, 30 Apr 2010 15:43:10 +0000 (15:43 +0000)]
Added global_flag and support for using the internal record
identifier as the tcn_value for newly imported records
TODO: add support to vandelay stored import procedures

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

13 years agorepaired syntax error in db schema / upgrade script
erickson [Fri, 30 Apr 2010 14:52:04 +0000 (14:52 +0000)]
repaired syntax error in db schema / upgrade script

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

13 years agoadd table and IDL class for global flags/settings. the value column is text, may...
miker [Fri, 30 Apr 2010 14:43:40 +0000 (14:43 +0000)]
add table and IDL class for global flags/settings.  the value column is text, may be semantically upgraded to JSON in the future

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

13 years agobreak the main registration table out to a separate template to ease the process...
erickson [Fri, 30 Apr 2010 14:40:33 +0000 (14:40 +0000)]
break the main registration table out to a separate template to ease the process of locally overriding the field order

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

13 years ago1. When a class name is available instead of a table/view name,
scottmk [Fri, 30 Apr 2010 01:52:37 +0000 (01:52 +0000)]
1. When a class name is available instead of a table/view name,
look up the class in the IDL to get a table name, view name, or
(in parentheses) a source definition in the form of a subquery.

2. Rename buildQuery() to build_Query() in order to avoid a
name collision.

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

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

13 years agoThe associated behavior for the cat.bib.delete_on_no_copy_via_acq_lineitem_cancel...
phasefx [Thu, 29 Apr 2010 22:07:17 +0000 (22:07 +0000)]
The associated behavior for the cat.bib.delete_on_no_copy_via_acq_lineitem_cancel org unit setting.

I notice the "alert on empty" setting does not seem to work with bib deletion via lineitem cancel

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

13 years agoAcq: unified search UI changes for lineitems + bibs search. No ML support yet.
senator [Thu, 29 Apr 2010 21:20:39 +0000 (21:20 +0000)]
Acq: unified search UI changes for lineitems + bibs search. No ML support yet.

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

13 years agoorg unit setting for "Delete bib if all copies are deleted via Acquisitions lineitem...
phasefx [Thu, 29 Apr 2010 20:34:02 +0000 (20:34 +0000)]
org unit setting for "Delete bib if all copies are deleted via Acquisitions lineitem cancellation."

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

13 years agoSubsequent EDI patch from Joe Atzberger. In this installmanent, EDI really does...
erickson [Thu, 29 Apr 2010 20:28:36 +0000 (20:28 +0000)]
Subsequent EDI patch from Joe Atzberger.  In this installmanent, EDI really does some stuff.  Also included are a number of test scripts and some mild code cleanup

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

13 years agoforward-ported the functionality for use-last-4-of-phone-as-default-password based...
erickson [Thu, 29 Apr 2010 19:59:45 +0000 (19:59 +0000)]
forward-ported the functionality for use-last-4-of-phone-as-default-password based on org setting

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

13 years ago1. Renamed function getRelation to oilsGetRelation.
scottmk [Thu, 29 Apr 2010 19:02:50 +0000 (19:02 +0000)]
1. Renamed function getRelation to oilsGetRelation.

2. Made oilsGetRelation() globally scoped so that qstore
can call it.

3. Renamed its formal parameter from "class" to "classdef",
since "class" is a reserved word in C++.  That can create
problems if the header file is #included in a C++ program.

4. Added a doxygen-style comment along the way.

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

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

13 years agoReturn of the top-level Help menu, with a context sensitive For Active Tab menu entry.
phasefx [Thu, 29 Apr 2010 18:45:39 +0000 (18:45 +0000)]
Return of the top-level Help menu, with a context sensitive For Active Tab menu entry.

So now every interface has a help option, though more work can still be done for interfaces containing sub-interfaces (I've reworked the OPAC wrapper here, but Patron Display / Patron Search could still use some love).

We'll also want to give thought to adding Help widgets to any popup dialogs.

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

13 years agoutility methods for deck class
phasefx [Thu, 29 Apr 2010 18:45:38 +0000 (18:45 +0000)]
utility methods for deck class

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

13 years agodebugging aid
phasefx [Thu, 29 Apr 2010 18:45:37 +0000 (18:45 +0000)]
debugging aid

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

13 years agoload menu.js before JSAN gets a chance too, so we can have better error reporting...
phasefx [Thu, 29 Apr 2010 18:45:37 +0000 (18:45 +0000)]
load menu.js before JSAN gets a chance too, so we can have better error reporting (with correct line numbers)

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

13 years agoImplement .columns method of qstore server, to return a list
scottmk [Thu, 29 Apr 2010 16:55:04 +0000 (16:55 +0000)]
Implement .columns method of qstore server, to return a list
of column names.

Also: add several doxygen-style comments to oils_storedq.c.

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

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

13 years agoadded support for selecting merge/overlay options during import of already queued...
erickson [Thu, 29 Apr 2010 15:53:35 +0000 (15:53 +0000)]
added support for selecting merge/overlay options during import of already queued records, same as main upload page

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

13 years agoadded paging to user picklist retrieval/display
erickson [Thu, 29 Apr 2010 15:14:20 +0000 (15:14 +0000)]
added paging to user picklist retrieval/display

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

13 years agoafter a record has been successfully imported via vandelay in the stream importer...
erickson [Thu, 29 Apr 2010 14:17:20 +0000 (14:17 +0000)]
after a record has been successfully imported via vandelay in the stream importer, remove the record from the bib queue to prevent bloat

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

13 years agoGive the stream_results versions of vandelay item spooling the ability to, like,...
erickson [Thu, 29 Apr 2010 14:17:19 +0000 (14:17 +0000)]
Give the stream_results versions of vandelay item spooling the ability to, like, you know, stream

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

13 years agoadded pcrud entries for po_items, repaired pcrud entries for po notes
erickson [Wed, 28 Apr 2010 21:48:21 +0000 (21:48 +0000)]
added pcrud entries for po_items, repaired pcrud entries for po notes
added logic to create invoice_item's from po_item's.
added po_item fund debit creation on po activation
added po_items to po money summary
added support for handling po_item debits during invoiceing.
showing po_item estimated cost summary data in invoice table

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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