]> git.evergreen-ils.org Git - working/Evergreen.git/log
working/Evergreen.git
13 years agoinfrastructure for context sensitive print setting
phasefx [Mon, 30 Aug 2010 15:36:16 +0000 (15:36 +0000)]
infrastructure for context sensitive print setting

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

13 years agoMake "show item details" consistent for top AND bottom of patron items out
senator [Mon, 30 Aug 2010 14:57:56 +0000 (14:57 +0000)]
Make "show item details" consistent for top AND bottom of patron items out

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

13 years agoComplete the label font settings namespace change and replace some debug values for...
dbs [Mon, 30 Aug 2010 14:56:55 +0000 (14:56 +0000)]
Complete the label font settings namespace change and replace some debug values for spine margin

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

13 years agoAdd upgrade script to go along with r13763 (thanks for the reminder, senator)
dbs [Mon, 30 Aug 2010 14:47:37 +0000 (14:47 +0000)]
Add upgrade script to go along with r13763 (thanks for the reminder, senator)

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

13 years agoDisplay blank instead of 'undefined' for undefined label prefixes and suffixes
dbs [Mon, 30 Aug 2010 14:23:17 +0000 (14:23 +0000)]
Display blank instead of 'undefined' for undefined label prefixes and suffixes

When you saved an "undefined" prefix or suffix, that string would actually be stuffed
into the database, which is not optimal.

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

13 years agoUse different label printing strategies for XUL 1.9.2 vs. 1.9.0
dbs [Mon, 30 Aug 2010 14:13:00 +0000 (14:13 +0000)]
Use different label printing strategies for XUL 1.9.2 vs. 1.9.0

r16421 contained a fix for printing in XUL 1.9.2 that appears to have
broken printing in XUL 1.9.0. This change should switch back to the old
style of printing if XUL 1.9.0 is detected, and otherwise uses the 1.9.2
strategy for any other version of XUL.

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

13 years agoRefine the backspace operation in spine label editor
dbs [Mon, 30 Aug 2010 12:26:04 +0000 (12:26 +0000)]
Refine the backspace operation in spine label editor

Make backspace at the start of a line also move up to the previous row.

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

13 years agoTeach the spine label editor to use the label prefixes and suffixes
dbs [Fri, 27 Aug 2010 21:58:24 +0000 (21:58 +0000)]
Teach the spine label editor to use the label prefixes and suffixes

If label_prefix or label_suffix are defined in asset.copy_location, the
spine label editor will now prefix or suffix them to the call number
label respectively.

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

13 years agoSerials: closer to full working receiving in the batch receive interface
senator [Fri, 27 Aug 2010 21:50:28 +0000 (21:50 +0000)]
Serials: closer to full working receiving in the batch receive interface

Units are actually created now, one per item. Plus misc bug fixes.
For more flexible binding of items into units, see the serial control view.

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

13 years agoAdd label_prefix and label_suffix columns to asset.copy_location
dbs [Fri, 27 Aug 2010 21:11:05 +0000 (21:11 +0000)]
Add label_prefix and label_suffix columns to asset.copy_location

These columns will be used to (optionally) set label prefixes and suffixes
when printing spine labels for copies at a given copy location.

The copy location editor has been taught to be aware of these new columns,
but right now a NULL prefix or suffix will be turned into an empty string
once the copy location has been edited. That might not be a big deal, but
I'm a foolish hobgoblin and like consistency.

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

13 years agosupport hiding of patron credit functionality. To do this, create a server/skin...
phasefx [Fri, 27 Aug 2010 18:13:26 +0000 (18:13 +0000)]
support hiding of patron credit functionality.  To do this, create a server/skin/global_custom.css file containing  .hide_patron_credit { display: none }

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

13 years agoCleaner implementation of LC subclass / Cutter spine label splitting
dbs [Fri, 27 Aug 2010 16:08:22 +0000 (16:08 +0000)]
Cleaner implementation of LC subclass / Cutter spine label splitting

TODO: detect whether this library is configured as an LC library and
only invoke these call number machinations if that is the case. That
leaves the door open for implementations of preferred Dewey splitting
mechanisms, etc.

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

13 years agoSplit spine labels between the alpha and numeric part of the LC subclass
dbs [Fri, 27 Aug 2010 14:10:27 +0000 (14:10 +0000)]
Split spine labels between the alpha and numeric part of the LC subclass

Some sites jam the alpha and numberic parts of the LC subclass together;
for example "QA76.76" instead of "QA 76.76". Without the space, Evergreen
was not inserting a line break. This commit will insert a line break
automatically if the first element of a call number contains 1 to 3 alpha
characters followed immediately by 1 or more numbers.

This should not affect Dewey or most other classification systems, but will
have the effect of making call numbers split as follows:

Given "QA76.76 S93 1998", generate:

QA
76.76
S93
1998

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

13 years agoRestrict authority record fields to 1xx and 5xx when offering a match
dbs [Fri, 27 Aug 2010 01:19:26 +0000 (01:19 +0000)]
Restrict authority record fields to 1xx and 5xx when offering a match

When you right-click on a subfield eligible for authority control and display
the list of authority records that match the left-truncated subfield, we should
not display every field in the matching authority records; the 1xx and 5xx seem
like the obvious options to which the selection should be limited.

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

13 years agomissing COMMIT;
phasefx [Thu, 26 Aug 2010 19:19:29 +0000 (19:19 +0000)]
missing COMMIT;

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

13 years agouse openils.Util.printHtmlString for invoice printing; added progress dialog while...
erickson [Thu, 26 Aug 2010 18:14:12 +0000 (18:14 +0000)]
use openils.Util.printHtmlString for invoice printing; added progress dialog while wiating for invoices to arrive

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

13 years agoadded support for returning hold shelf expire time (CM field) in item info response...
erickson [Thu, 26 Aug 2010 17:03:06 +0000 (17:03 +0000)]
added support for returning hold shelf expire time (CM field) in item info response when an item has been captured for a hold.  value is populated if item is on holds shelf or in transit to holds shelf

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

13 years agodepth could be 0, don't undef on false; repaired url param addition of depth
erickson [Thu, 26 Aug 2010 17:03:05 +0000 (17:03 +0000)]
depth could be 0, don't undef on false; repaired url param addition of depth

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

13 years agoexamples of how to specify default preferred language and weight values
miker [Thu, 26 Aug 2010 16:53:51 +0000 (16:53 +0000)]
examples of how to specify default preferred language and weight values

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

13 years agoFix mismatches between cat.spine.font.* and cat.label.font.* that phasefx caught
dbs [Thu, 26 Aug 2010 15:16:19 +0000 (15:16 +0000)]
Fix mismatches between cat.spine.font.* and cat.label.font.* that phasefx caught

The font settings apply to both spine and pocket labels, and I committed
the original upgrade and SQL scripts half-way through adjusting for that
realization.

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

13 years agoFix OPAC renewals, broken by an imperfect booking test.
senator [Thu, 26 Aug 2010 14:39:59 +0000 (14:39 +0000)]
Fix OPAC renewals, broken by an imperfect booking test.

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

13 years agoSpine label editor: make ENTER at the end of a line move to next line
dbs [Thu, 26 Aug 2010 12:49:16 +0000 (12:49 +0000)]
Spine label editor: make ENTER at the end of a line move to next line

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

13 years agoProvide a visual delimiter for the spine/pocket label groupbox
dbs [Thu, 26 Aug 2010 03:49:20 +0000 (03:49 +0000)]
Provide a visual delimiter for the spine/pocket label groupbox

This just wraps a black border around the area where users edit
the spine/pocket label, to give an idea of the area that can
be edited according to the line width / length settings.

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

13 years agoAdd explicit identification of the master authority record when merging
dbs [Thu, 26 Aug 2010 03:07:39 +0000 (03:07 +0000)]
Add explicit identification of the master authority record when merging

We now generate a table with the first cell containing either "Master"
(indicating the record into which the other records will be merged) and
or "Target" (indicating that the record will be merged into the master.

This also adds a horizontal rule to delineate between the form buttons
at the top, and adds borders to provide more clarity between the mergebox
contents.

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

13 years agoAdd font-weight to label settings to support boldness
dbs [Thu, 26 Aug 2010 01:38:54 +0000 (01:38 +0000)]
Add font-weight to label settings to support boldness

  * font-weight gets its own user-editable setting on the label generator UI,
along with a library setting, so now you too can have bold spine labels applied
uniformly at your library (but overridden for individual labels)
  * Convert a few hardcoded labels to entities in passing

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

13 years agoMake spine label settings configurable as org unit settings
dbs [Thu, 26 Aug 2010 00:16:11 +0000 (00:16 +0000)]
Make spine label settings configurable as org unit settings

Note that due to the persist attribute on these XUL elements, a user
who has manually changed their spine label settings may not see the
org unit setting defaults for those particular settings if those
org unit settings are created or changed.

Now that the infrastructure is in place, We could make the org unit
settings take precedence over the persisted attributes if we think
that's the right way to go.

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

13 years agoupdate standing penalty query for blocked barcode list, trunk style!
miker [Wed, 25 Aug 2010 21:51:55 +0000 (21:51 +0000)]
update standing penalty query for blocked barcode list, trunk style!

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

13 years agoadded sample apache config for the IP-based redirector
erickson [Wed, 25 Aug 2010 16:58:10 +0000 (16:58 +0000)]
added sample apache config for the IP-based redirector

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

13 years agoadded support for configuring redirect depth, skin, and locale during IP-based org...
erickson [Wed, 25 Aug 2010 16:58:09 +0000 (16:58 +0000)]
added support for configuring redirect depth, skin, and locale during IP-based org unit redirection

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

13 years agotsbere to the rescue for the server-xul make target if in the staff client directory
phasefx [Wed, 25 Aug 2010 16:38:04 +0000 (16:38 +0000)]
tsbere to the rescue for the server-xul make target if in the staff client directory

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

13 years agocirc.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing...
phasefx [Wed, 25 Aug 2010 15:57:33 +0000 (15:57 +0000)]
circ.missing_pieces.copy_status org unit setting to support the Mark/Scan as Missing Pieces workflow.

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

13 years agoProvide i18n support for some coust labels and descriptions
dbs [Wed, 25 Aug 2010 14:33:47 +0000 (14:33 +0000)]
Provide i18n support for some coust labels and descriptions

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

13 years agoTeach the spine label editor some manners: insert/delete rows, cursor up + down
dbs [Wed, 25 Aug 2010 03:12:00 +0000 (03:12 +0000)]
Teach the spine label editor some manners: insert/delete rows, cursor up + down

Tested with single and multiple spine labels at a time. Lots of DOM
manipulation going on here, but seems to work nicely.

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

13 years agoone more label change for the trunk client
phasefx [Tue, 24 Aug 2010 19:25:39 +0000 (19:25 +0000)]
one more label change for the trunk client

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

13 years agochange Evergreen Staff Client folder and link names to Evergreen Staff Client Trunk...
phasefx [Tue, 24 Aug 2010 19:04:25 +0000 (19:04 +0000)]
change Evergreen Staff Client folder and link names to Evergreen Staff Client Trunk for now, to sidestep an issue with installing over old-style installations

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

13 years agoStaff Client Build/Update Enhancements patch from Thomas Berezansky
phasefx [Tue, 24 Aug 2010 19:04:20 +0000 (19:04 +0000)]
Staff Client Build/Update Enhancements patch from Thomas Berezansky

Among other things, allows cross-compilation of Windows installers from Unix environments via NSIS, and enables Mozilla's upgrade mechanism for performing upgrades without needing to download and execute external files.

See https://bugs.launchpad.net/evergreen/+bug/616452/ for more details.

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

13 years agoa suggestion from tsbere, this raises the existing login window if the staff client...
phasefx [Tue, 24 Aug 2010 18:05:16 +0000 (18:05 +0000)]
a suggestion from tsbere, this raises the existing login window if the staff client is invoked when it is already running

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

13 years ago1-line fix for false 404 from sylvar
atz [Tue, 24 Aug 2010 15:22:03 +0000 (15:22 +0000)]
1-line fix for false 404 from sylvar

solves "The requested URL /xul/rel_1_6_0_7/server/patron/ue.xhtml&clone=112879 was not found on this server."

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

13 years agoCorrecting some miscellaneous anomalies in the org unit setting types.
scottmk [Tue, 24 Aug 2010 13:29:02 +0000 (13:29 +0000)]
Correcting some miscellaneous anomalies in the org unit setting types.

M    Open-ILS/src/sql/Pg/002.schema.config.sql
A    Open-ILS/src/sql/Pg/upgrade/0378.data.fix_org_unit_setting_types.sql
M    Open-ILS/src/sql/Pg/950.data.seed-values.sql

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

13 years agomore typos, arg, let's try this again
erickson [Mon, 23 Aug 2010 19:32:45 +0000 (19:32 +0000)]
more typos, arg, let's try this again

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

13 years agotypos in path name for new circ conify UIs
erickson [Mon, 23 Aug 2010 19:27:11 +0000 (19:27 +0000)]
typos in path name for new circ conify UIs

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

13 years agoconify UIs for config.rule_ stuff;
erickson [Mon, 23 Aug 2010 19:19:51 +0000 (19:19 +0000)]
conify UIs for config.rule_ stuff;

Includes duration, recurring fine, max fine, and age hold protect

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

13 years agoAllow true deletion of existing addresses in patron editor. Let summary sidebar...
phasefx [Mon, 23 Aug 2010 18:36:26 +0000 (18:36 +0000)]
Allow true deletion of existing addresses in patron editor.  Let summary sidebar anticipate dissappearing addresses on refresh.

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

13 years agoPaste error
atz [Mon, 23 Aug 2010 18:23:04 +0000 (18:23 +0000)]
Paste error

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

13 years agoPerltidy
atz [Mon, 23 Aug 2010 17:56:31 +0000 (17:56 +0000)]
Perltidy

death to tabs

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

13 years agoFailure to open a file(handle) should be a fatal error.
atz [Mon, 23 Aug 2010 17:54:35 +0000 (17:54 +0000)]
Failure to open a file(handle) should be a fatal error.

Otherwise we aren't getting any output anyway.

Also a few formatting touchups for readability.

TODO: use warnings!  use Cronscript for standardized lockfile and options.

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

13 years agodisplay copy counts correctly in staff search results
gmc [Mon, 23 Aug 2010 15:09:13 +0000 (15:09 +0000)]
display copy counts correctly in staff search results

Also fixes following warning:

Useless use of a constant in void context at .../OpenILS/Application/Search/Biblio.pm line 263.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17309 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoperl 5.8 requires quotes around the version #
erickson [Mon, 23 Aug 2010 14:50:39 +0000 (14:50 +0000)]
perl 5.8 requires quotes around the version #

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

13 years agoShow the number of bibs linked to each authority record
dbs [Sun, 22 Aug 2010 13:28:14 +0000 (13:28 +0000)]
Show the number of bibs linked to each authority record

This information is important to cataloguers when deciding which records
to merge or delete.

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

13 years agowe need an index on LOWER(barcode) with r17018
miker [Sat, 21 Aug 2010 18:02:36 +0000 (18:02 +0000)]
we need an index on LOWER(barcode) with r17018

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

13 years agofix seed for item_barcode Vandelay bib attribute definition
gmc [Fri, 20 Aug 2010 23:32:32 +0000 (23:32 +0000)]
fix seed for item_barcode Vandelay bib attribute definition

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17298 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoBooking: finish the forward-port from rel_1_6
senator [Fri, 20 Aug 2010 21:51:03 +0000 (21:51 +0000)]
Booking: finish the forward-port from rel_1_6

This /should/ complete the forward port of booking from the rel_1_6 branch,
which means that booking in trunk should work just how it does in the latest
1.6.1.* releases.

Most of the changes in this commit were to Circ/Circulate.pm, and cursory
tests don't indicate any problems in the circulation logic overall, but the
lay of the land there is quite different now in trunk than it was when Booking
was initially developed, so I'd be somewhat wary for a little while.

Going forward, trunk can accept improvements/bug fixes/etc for booking, and
those changes can be *back*ported to branches in the usual way.  Yay!

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

13 years agoAllow STAFF_CLIENT_BUILD_ID to be passed in or set in ENV
atz [Fri, 20 Aug 2010 20:13:36 +0000 (20:13 +0000)]
Allow STAFF_CLIENT_BUILD_ID to be passed in or set in ENV

Deconflict actions for STAFF_CLIENT_BUILD_ID='current'.  Build will
always end up in datestamped directory, but a symlink will be added
to it w/ the build ID string.  That should keep everybody happy.

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

13 years agoAdd type="text/javascript" to <script> tags where needed.
atz [Fri, 20 Aug 2010 20:13:35 +0000 (20:13 +0000)]
Add type="text/javascript" to <script> tags where needed.

Probably just a formality.

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

13 years agore-tab to use tabs for consistency with rest of file; for now, add embedded vim...
erickson [Fri, 20 Aug 2010 19:19:41 +0000 (19:19 +0000)]
re-tab to use tabs for consistency with rest of file;  for now, add embedded vim command to settle the issue

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

13 years agoadded sample SIP config for patron_type_uses_code option
erickson [Fri, 20 Aug 2010 19:03:54 +0000 (19:03 +0000)]
added sample SIP config for patron_type_uses_code option

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

13 years agoadded internal_id handler
erickson [Fri, 20 Aug 2010 18:59:52 +0000 (18:59 +0000)]
added internal_id handler

in anticipation of possible sip extension for returning patron ID

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

13 years agoBooking: more progress on the forward-port from rel_1_6
senator [Fri, 20 Aug 2010 18:53:12 +0000 (18:53 +0000)]
Booking: more progress on the forward-port from rel_1_6

This completes the merging of changes from r15878 except for those to
Circulate.pm, which are more involved and call for more untangling.

More to come soon.

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

13 years agoAdd an API for counting the number of bibs linked to each authority record in the...
dbs [Fri, 20 Aug 2010 18:38:35 +0000 (18:38 +0000)]
Add an API for counting the number of bibs linked to each authority record in the input list

srfsh# request open-ils.cat open-ils.cat.authority.records.count_linked_bibs [1,2,3,4,5,6]

Received Data: [
  {
    "bibs":1,
    "authority":1
  },
  {
    "bibs":1,
    "authority":2
  },
  {
    "bibs":2,
    "authority":3
  }
]

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

13 years agoadded support for a SIP config option that forces the server to return the no_i18n...
erickson [Fri, 20 Aug 2010 18:33:25 +0000 (18:33 +0000)]
added support for a SIP config option that forces the server to return the no_i18n version of the patron profile group name from the 'ptype' sub (aka PC field in patron-info requests); added config options getter sub; cleaned up some string concats to prevent warnings

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

13 years agoeliminate false positives for ContentCafe features for a given bib
phasefx [Fri, 20 Aug 2010 17:18:28 +0000 (17:18 +0000)]
eliminate false positives for ContentCafe features for a given bib

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

13 years agoApply a little bit of style to group form elements together in confined spaces
dbs [Fri, 20 Aug 2010 15:41:43 +0000 (15:41 +0000)]
Apply a little bit of style to group form elements together in confined spaces

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

13 years agoduring LI creation, adopt the provider of the PO if linked to a PO (and no provider...
erickson [Fri, 20 Aug 2010 15:35:53 +0000 (15:35 +0000)]
during LI creation, adopt the provider of the PO if linked to a PO (and no provider was selected). repair event description copy/paste error

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

13 years agountil distrib formula skip_count is used (and possibly even then), let's hide it...
erickson [Fri, 20 Aug 2010 15:22:03 +0000 (15:22 +0000)]
until distrib formula skip_count is used (and possibly even then), let's hide it from the setup UI

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

13 years agopropagate estimated price to created copy as copy price (aka list price or replacemen...
erickson [Fri, 20 Aug 2010 14:11:27 +0000 (14:11 +0000)]
propagate estimated price to created copy as copy price (aka list price or replacement price); propagate invoiced amount to created copy as copy cost (aka library cost);  caveats and consderations noted in the code.

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

13 years agorepair faulty lineitem detachment from invoices
erickson [Fri, 20 Aug 2010 14:11:27 +0000 (14:11 +0000)]
repair faulty lineitem detachment from invoices

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

13 years agoHook up the authority management interface to the middle layer
dbs [Fri, 20 Aug 2010 14:01:26 +0000 (14:01 +0000)]
Hook up the authority management interface to the middle layer

For now, uses the first record in the list as the master; we either
need to give users the ability to select the master record at merge
time, or to select it prior to clicking "Merge"

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

13 years agoAdd the authority record merge middle-layer API (open-ils.cat.authority.records.merge)
dbs [Fri, 20 Aug 2010 13:22:30 +0000 (13:22 +0000)]
Add the authority record merge middle-layer API (open-ils.cat.authority.records.merge)

Also add a pertinent permission (MERGE_AUTH_RECORDS)

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

13 years agobug 620899: fix broken test for oils_web.xml
gmc [Fri, 20 Aug 2010 11:25:40 +0000 (11:25 +0000)]
bug 620899: fix broken test for oils_web.xml

Patch from Rick Scott <rick@shadowspar.dyndns.org>

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17280 dcc99617-32d9-48b4-a31d-7c20da2025e4

13 years agoHitting ENTER in the term search box fires off a search now, as you would expect
dbs [Fri, 20 Aug 2010 04:10:07 +0000 (04:10 +0000)]
Hitting ENTER in the term search box fires off a search now, as you would expect

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

13 years agoWhen initiating a new authority search, reset the pager to zero to avoid surprises
dbs [Fri, 20 Aug 2010 04:02:44 +0000 (04:02 +0000)]
When initiating a new authority search, reset the pager to zero to avoid surprises

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

13 years agoAdd a speedbump to the MFHD delete workflow
dbs [Fri, 20 Aug 2010 03:47:46 +0000 (03:47 +0000)]
Add a speedbump to the MFHD delete workflow

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

13 years agoAdd a speedbump (confirmation dialog) when deleting authority records
dbs [Fri, 20 Aug 2010 03:35:59 +0000 (03:35 +0000)]
Add a speedbump (confirmation dialog) when deleting authority records

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

13 years agoGive the Authority List interface the ability to merge records... almost
dbs [Fri, 20 Aug 2010 03:27:04 +0000 (03:27 +0000)]
Give the Authority List interface the ability to merge records... almost

Separate the interface into separate JavaScript vs markup files

To-do:
  * Provide a middle layer method that accepts the array of records to merge and merges them
  * Teach the mergeRecords() to call that method when it exists
  * Provide a way of reordering the records or otherwise flagging which record should be the lead
  * Prevent the same record from being added to the merge slushbox twice

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

13 years agosubmit unified search query on Enter when focused on value widget
erickson [Thu, 19 Aug 2010 22:16:01 +0000 (22:16 +0000)]
submit unified search query on Enter when focused on value widget

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

13 years agomove PO status to top of page for clarity
erickson [Thu, 19 Aug 2010 22:16:01 +0000 (22:16 +0000)]
move PO status to top of page for clarity

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

13 years agoClass::DBI::Frozen::301 needs to be forcefully installed on Debian Squeeze
dbs [Thu, 19 Aug 2010 22:11:30 +0000 (22:11 +0000)]
Class::DBI::Frozen::301 needs to be forcefully installed on Debian Squeeze

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

13 years agocirc_modifier codes could be defined, but non-true (i.e. '0'). test for defined...
erickson [Thu, 19 Aug 2010 21:00:30 +0000 (21:00 +0000)]
circ_modifier codes could be defined, but non-true (i.e. '0').  test for defined instead of truthiness when analyzing LID circ modifiers.  repaired (invisible) bug that unnecessarily lead to using circ mod objects instead of codes, depending on context

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

13 years agoadded util function for printing an html string; use new func for PO printing; ...
erickson [Thu, 19 Aug 2010 20:00:14 +0000 (20:00 +0000)]
added util function for printing an html string;  use new func for PO printing;  TODO, use new func in selfcheck code to reduce duplication

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

13 years agoSerials: an alternative batch receiving interface, to support certain
senator [Thu, 19 Aug 2010 18:18:21 +0000 (18:18 +0000)]
Serials: an alternative batch receiving interface, to support certain
heavy-barcoding workflows.

Still needs some things hooked up in the middle layer to create serial.units.
Still needs some configurability.  Access from "Actions for this Record" in
the staff-client-wrapped OPAC for a record with subscriptions and items
attached.

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

13 years agoAcq: make view/place orders open a new tab w/ xul browser wrapped therearound
senator [Thu, 19 Aug 2010 17:35:03 +0000 (17:35 +0000)]
Acq: make view/place orders open a new tab w/ xul browser wrapped therearound

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

13 years agoFurther enhancements to the authority list interface
dbs [Thu, 19 Aug 2010 16:51:00 +0000 (16:51 +0000)]
Further enhancements to the authority list interface

  * Offer Next / Previous buttons instead of forcing the number spinner
  * Submit searches onBlur of the search box instead of having to click Submit
  * Accept CGI params so we can kick off a search from other interfaces
  * Factor out the displayRecords() code so we can attach other events to it

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

13 years agoAdd support to BibTemplate for arbitrary XML chunks (DOM node) via the "xml" construc...
miker [Thu, 19 Aug 2010 15:51:06 +0000 (15:51 +0000)]
Add support to BibTemplate for arbitrary XML chunks (DOM node) via the "xml" constructure param, which disables automatic format-specific fetching.

Add a new module, openils.FeedTemplate which, given:

 * an xml feed (URI or pre-collected DOM node)
 * a dojo.query to pull out items from the feed
 * the DOM node of a template to clone for each item
 * the target DOM node into which it should shove the item-filled template instances

will render a feed of arbitrary xml for you.

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

13 years agoadded missing closing td
erickson [Thu, 19 Aug 2010 15:01:54 +0000 (15:01 +0000)]
added missing closing td

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

13 years agofor consistency, use same 'icons' to indicate PO and PL. don't show PO/PL links...
erickson [Thu, 19 Aug 2010 15:01:53 +0000 (15:01 +0000)]
for consistency, use same 'icons' to indicate PO and PL.  don't show PO/PL links when no such object is linked to the lineitem

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

13 years agoautomatically create lineitem assets (i.e. load bibs and items) during po activation...
erickson [Thu, 19 Aug 2010 14:22:28 +0000 (14:22 +0000)]
automatically create lineitem assets (i.e. load bibs and items) during po activation when necessary since activation requires it;  only do this during non-dry-run calls

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

13 years agoadded clear_marc to po li retrieval to cut down network; mild code cleanup
erickson [Thu, 19 Aug 2010 14:22:27 +0000 (14:22 +0000)]
added clear_marc to po li retrieval to cut down network; mild code cleanup

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

13 years agodowngraded a debug log message from error() to debug()
erickson [Thu, 19 Aug 2010 14:22:26 +0000 (14:22 +0000)]
downgraded a debug log message from error() to debug()

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

13 years agoGive the authority list interface a place on the staff client Cataloging menu
dbs [Thu, 19 Aug 2010 13:57:07 +0000 (13:57 +0000)]
Give the authority list interface a place on the staff client Cataloging menu

The interface itself still needs usability love, but exposing basic edit/delete
functionality for authority records should give authoritarians some level of
happiness.

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

13 years agoFix some defects in the first iteration of the authority edit/delete interface
dbs [Thu, 19 Aug 2010 04:47:53 +0000 (04:47 +0000)]
Fix some defects in the first iteration of the authority edit/delete interface

  * Ensure that the correct ID is assigned to the edit/delete request
  * Prevent caching of results so that when a record is deleted, we don't continue to see it

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

13 years agoDon't show deleted authority records in startwith browse, either
dbs [Thu, 19 Aug 2010 03:47:35 +0000 (03:47 +0000)]
Don't show deleted authority records in startwith browse, either

Also restore the >= operator that was stomped in r17257

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

13 years agoDon't return deleted authority records in a browse list
dbs [Thu, 19 Aug 2010 03:35:53 +0000 (03:35 +0000)]
Don't return deleted authority records in a browse list

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

13 years agoForgot to set the open-ils.pcrud controller for are in r17255
dbs [Thu, 19 Aug 2010 01:26:33 +0000 (01:26 +0000)]
Forgot to set the open-ils.pcrud controller for are in r17255

And making the new perm section tab-consistent while I'm at it

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

13 years agoAdd basic authority browse/edit/delete interface
dbs [Thu, 19 Aug 2010 01:24:03 +0000 (01:24 +0000)]
Add basic authority browse/edit/delete interface

http://localhost/eg/cat/authority/list should get you where you need to be

The paging is comical, the JS should probably be split out from the
declarative markup, the interface needs i18n, the UI needs to become
usable - but at least we have exposed some functionality for working
with authority records now.

Ideally this becomes a widget that we can just embed into other
interfaces to maintain context (which suggests using openils.cgi
to seed the initial values of the widget).

Note that the delete function works - it sets the deleted flag for
an are to "true" - but the underlying authorities browse interface
currently doesn't care about such niceties and always returns deleted
records along with undeleted records. So that might be the next stop.

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

13 years agomoney_open_user_summary may not exist if the user has no transactions to summarize...
erickson [Wed, 18 Aug 2010 18:08:17 +0000 (18:08 +0000)]
money_open_user_summary may not exist if the user has no transactions to summarize.  protect against null summary object

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

13 years agoprovide an explicit import() sub to collect the boostrap config name at import. ...
erickson [Wed, 18 Aug 2010 17:40:16 +0000 (17:40 +0000)]
provide an explicit import() sub to collect the boostrap config name at import.  force child_init to run (once) if not run by Apache

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

13 years agoOnly Debian Squeeze currently packages MARC::Record > 2.0.1
dbs [Wed, 18 Aug 2010 17:39:34 +0000 (17:39 +0000)]
Only Debian Squeeze currently packages MARC::Record > 2.0.1

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

13 years agoFixup ctx.page_title and script type declarations
atz [Wed, 18 Aug 2010 16:48:28 +0000 (16:48 +0000)]
Fixup ctx.page_title and script type declarations

Some had ctc.page_title, another had page_titel, but most didn't have any.

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

13 years agoso, some datasets have records with multiple 245a subfields. yeah, really.
miker [Wed, 18 Aug 2010 16:33:47 +0000 (16:33 +0000)]
so, some datasets have records with multiple 245a subfields. yeah, really.

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

13 years agoso, some datasets have records with multiple 245a subfields. yeah, really.
miker [Wed, 18 Aug 2010 16:33:21 +0000 (16:33 +0000)]
so, some datasets have records with multiple 245a subfields. yeah, really.

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