dbs [Mon, 13 Sep 2010 14:49:32 +0000 (14:49 +0000)]
README tweaks: Remove --create-bootstrap from eg_db_config.pl; s/STAFF_CLIENT_BUILD_ID/STAFF_CLIENT_STAMP_ID/
Thanks to tsbere for flagging these changes
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17628
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Mon, 13 Sep 2010 12:35:59 +0000 (12:35 +0000)]
Add a Perl script for extracting permission names from the output
of the dump_idl utility (and hence from an IDL file).
AM Open-ILS/examples/list_perms.pl
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17625
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Mon, 13 Sep 2010 12:35:22 +0000 (12:35 +0000)]
make the other two k_* MARC templates usable by default
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17624
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Mon, 13 Sep 2010 02:04:24 +0000 (02:04 +0000)]
wrap custom props file reader in try/catch to prevent xhr complaining about missing file
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17622
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Sun, 12 Sep 2010 20:19:18 +0000 (20:19 +0000)]
Serials: little bugfixin on this OPAC-oriented method
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17620
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Sun, 12 Sep 2010 19:29:40 +0000 (19:29 +0000)]
Allows you to create *_custom.properties files for overlaying stock strings with <messagecatalog>.
So for example, a recent commit changed how circ modifiers are displayed in the staff client, with
common.properties:
staff.circ_modifier.display=%1$s : %2$s : %3$s
You could do this for the original rendering:
common_custom.properties:
staff.circ_modifier.display=%1$s
The custom file need only contain the properties that you wish to change.
The xul <messagecatalog id="commonStrings" src="/xul/server/locale/<!--#echo var='locale'-->/common.properties" /> will attempt to parse both common.properties and common_custom.properties
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17617
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Sun, 12 Sep 2010 19:03:01 +0000 (19:03 +0000)]
Serials: dojo/autogrid-based scaffolding for building serials objects
Accessible from the staff client OPAC browser's "Actions for this Record" menu
as "Alternate Serial Control", these minimalist interfaces should support a
workflow by which the user can create a subscription and its related parts
(distributions, streams, etc), and get things going in a quick and dirty way
while the existing Serial Control View continues to develop.
Some notable differences in orientation between this and the existing
interface work include:
- The disuse of call numbers on distributions, instead favoring call number
application to items by issuance at receive time (i.e., all copies of
the Sep 2010 issue of Popular Mechanics share a call number rather than
all copies of Popular Mechanics, any issue, at a given library sharing a
call number).
- Lack of attention to binding (although the batch receive interface will
treat each item as a single bound unit, for barcoding, or will avoid
creating units altogether if you don't want to barcode your serials).
If this doesn't sound like the way you would do serials, I'd definitely
recommend sticking with Serials Control View and ignoring these interfaces.
Dan Wells' interface work promises broader functionality in the long run.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17615
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Sun, 12 Sep 2010 18:43:38 +0000 (18:43 +0000)]
staff.circ_modifier.display localization for rendering circ modifiers
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17614
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Sun, 12 Sep 2010 18:32:33 +0000 (18:32 +0000)]
Serials: make it possible to predict issues for all dists at once, not just one
Also return events on failure in a few more places to gives users better clues
when things go wrong. More work is still ahead on this.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17612
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sun, 12 Sep 2010 15:23:46 +0000 (15:23 +0000)]
add maxValuesPerFacet attr/param
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17609
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Sun, 12 Sep 2010 00:12:26 +0000 (00:12 +0000)]
Serials: support predicting issuances until a specified end date
Previously you could specify a number of issues, or possibly a final holding,
but if you haven't created the final holding yet, but you know when the
subscription ends, this can be useful.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17607
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 11 Sep 2010 19:39:24 +0000 (19:39 +0000)]
add "type" (siss.holding_type) and "status" (sitem.status) filters; renaming the method to be explicit about the fact that it is for issuances with received (sitem.date_received IS NOT NULL) items /only/
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17606
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 11 Sep 2010 18:35:46 +0000 (18:35 +0000)]
Method for retrieving received issuances attached to a bib, optionally scoped by location, with paging and ordering support
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17605
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 11 Sep 2010 14:18:24 +0000 (14:18 +0000)]
thinko in schwarzian transform, and provide a tiebreaker sort on string
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17603
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Sat, 11 Sep 2010 03:31:26 +0000 (03:31 +0000)]
Typo fix in Vandelay item attribute definition editor
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17602
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Sat, 11 Sep 2010 02:12:41 +0000 (02:12 +0000)]
In IE, tell Evergreen to return just the initially visible facets, and do it async-y (thanks berick)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17601
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 10 Sep 2010 22:24:44 +0000 (22:24 +0000)]
Add "refresh grid" buttons to some consistently glitchy autogrids.
This is obviously not an ideal solution, but if the user sees these grids
and it's clear that not all the rows that should appear are rendering, they
at least have a button to click to deal with it. There are probably other
places where this could be applied.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17599
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 10 Sep 2010 22:02:18 +0000 (22:02 +0000)]
Make it a little more straightfoward to refresh an autogrid from without. Can
be useful in making glitchy, half-rendered grids behave.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17597
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 10 Sep 2010 20:21:21 +0000 (20:21 +0000)]
Acq: no reason to deprive the user of back/forward here
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17595
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Sep 2010 20:13:05 +0000 (20:13 +0000)]
use mod_deflate when and where we can (opac, and not in IE, basically)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17593
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 20:12:49 +0000 (20:12 +0000)]
enable the Refund action in the new billing interface
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17592
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 20:12:47 +0000 (20:12 +0000)]
minor tweaks to patron retrieval within the billing interface
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17591
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 20:12:45 +0000 (20:12 +0000)]
fixes a bug where where the Staff column in a Payments list was styling CSS for a patron's billing Full Details dialog
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17590
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 20:12:44 +0000 (20:12 +0000)]
some defense in patron.util.set_penalty_css against unfleshed or partially fleshed users
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17589
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 20:12:42 +0000 (20:12 +0000)]
indentation
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17588
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Sep 2010 20:12:19 +0000 (20:12 +0000)]
more, different layers
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17587
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 10 Sep 2010 20:11:15 +0000 (20:11 +0000)]
Allow the caller to specify a max number of facet values per facet
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17586
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Sep 2010 19:07:45 +0000 (19:07 +0000)]
'use parent' consistently throughout OfflineStore.pm
If we're going to use "use parent" instead of "use base" when creating
the child instance of Class::DBI 3.01 that is OpenILS::Utils::OfflineStore,
we might as well be consistent when declaring its own children.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17585
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Sep 2010 18:41:16 +0000 (18:41 +0000)]
Why yes, there _is_ a missing backslash at the end of that line!
Thanks to Thomas Berezansky for reporting the broken Makefile.install.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17584
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 18:17:20 +0000 (18:17 +0000)]
ui.patron.registration.require_address org unit setting and associated behavior for requiring at least one postal address during patron registration
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17582
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 16:35:51 +0000 (16:35 +0000)]
In list.fm_columns, allow us to dictate the data object used for rendering (the row.my object fed into list.append) for all columns via the '*' column definition. Also, wire up mailing and billing address columns into Patron Search
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17580
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 16:35:48 +0000 (16:35 +0000)]
render patron barcode in patron search results
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17579
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 16:35:45 +0000 (16:35 +0000)]
Give the ability to duplicate column definitions by prefixing their id's. Allow the specification of alternate row objects and datafields to render from. The idea is to let us do such things as list address columns for a patron twice, once for the billing address and again for the mailing address.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17578
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 16:35:40 +0000 (16:35 +0000)]
move Patron Search over to fm_columns instead of patron.util.columns (the former makes use of fm_IDL.xml and can automagically make use of new fields, etc.). Also give fm_columns the ability to hide virtual fields from the column picker
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17577
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Fri, 10 Sep 2010 16:35:37 +0000 (16:35 +0000)]
the method behind patron.util.retrieve_fleshed_au_via_id can take a fields parameter for which fields to flesh, so let's expose that, and flesh some patron data being sent to receipt templates while we're here. End-goal is to expose address information in patron searches without sending too much data over the wire
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17576
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Sep 2010 16:08:30 +0000 (16:08 +0000)]
Enable Class::DBI::Frozen::301 use for offline transaction management
Most modern systems will install Class::DBI::Frozen::301 to avoid
conflicts with incompatible Class::DBI packages. We need to teach
offline.pl how to use Class::DBI::Frozen::301 if it is available.
Note that we're using "use parent" instead of "use base" per the
recommendation of "perldoc base"; accordingly, we're adding the
system prerequisite for the parent pragma.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17575
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Fri, 10 Sep 2010 16:04:51 +0000 (16:04 +0000)]
Remove the previously deprecated CGI interfaces for configuring the Evergreen system
The CGI interfaces have not been maintained; the interfaces available through
the Admin -> Server Administration menu in the staff client are the recommended
method for setting up new libraries in the organizational hierarchy,
permissions, copy statuses, and circulation rules.
Note that an adjustment to eg_vhost.conf is recommended to point to the
offline.pl script, which is the only remaining CGI script in use; this
should avoid conflicting Apache definitions for the /cgi-bin/ alias.
Addresses https://bugs.launchpad.net/evergreen/+bug/634984
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17574
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Fri, 10 Sep 2010 15:57:21 +0000 (15:57 +0000)]
Two files that should probably be deleted.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17573
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Fri, 10 Sep 2010 15:56:28 +0000 (15:56 +0000)]
Script is executable
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17572
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Fri, 10 Sep 2010 15:54:52 +0000 (15:54 +0000)]
Adapt update.sh to make process changes
Some warnings still appear, but script works like it used to.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17571
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 10 Sep 2010 14:17:02 +0000 (14:17 +0000)]
added command line option for defining a stderr output log file for the SIP server
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17566
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 10 Sep 2010 02:15:06 +0000 (02:15 +0000)]
Booking: stop the "new resource type" dialog from executing a naughty query
The dialog will no longer offer a field for selecting a bibliographic record,
but then again you wouldn't need it. Bibliographically-based resource types
can be set up through a context menu option in the staff OPAC browser, whereas
this interface is only suited to non-bib-based resource types, like meeting
rooms, laptops, etc.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17563
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Sep 2010 22:15:53 +0000 (22:15 +0000)]
better synchronization between holds interface and hold details interface, and provide more data to list columns in hold details
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17560
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Sep 2010 21:45:10 +0000 (21:45 +0000)]
put these buttons under the sway of Dojo so that they don't get triggered when pressing enter in random fields in the patron editor form. I have no idea why this works :)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17557
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 9 Sep 2010 21:28:20 +0000 (21:28 +0000)]
Improve on 17547 to support a default value for /creating/ new objects while
letting the current value of an object pass through to the overriding widget
when /editing/.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17555
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 9 Sep 2010 21:09:26 +0000 (21:09 +0000)]
added support for viewing and editing existing issuance-level holds to the default opac skin
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17554
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 9 Sep 2010 21:09:25 +0000 (21:09 +0000)]
added alternate issuance flesh call that only fleshes the subscription; used for public/opac display
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17553
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Sep 2010 20:35:47 +0000 (20:35 +0000)]
Change the field order in asset.call_number_class if you want to sort these
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17550
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 9 Sep 2010 20:35:44 +0000 (20:35 +0000)]
Styling tweaks to brief bib summary bar. More tooltips, and expose record id and bib call number (from the first available defined in the appropriate asset.call_number_class entry)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17549
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 9 Sep 2010 18:53:14 +0000 (18:53 +0000)]
Make overrideEditWidgets to an AutoGrid able to accept shoved in values from
the fields of the object they're editing.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17547
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 9 Sep 2010 16:30:01 +0000 (16:30 +0000)]
loop over users in a group, as the plan for usrgroup+mous is terrible
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17545
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 9 Sep 2010 15:55:50 +0000 (15:55 +0000)]
should have had this index all along, but was less important until now where copy nnotes are used up front
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17543
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Thu, 9 Sep 2010 15:31:23 +0000 (15:31 +0000)]
With group billing calls we need a new index
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17541
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 9 Sep 2010 14:22:22 +0000 (14:22 +0000)]
ported ils-version comment updates to trunk, change ils-version to HEAD for trunk installs
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17540
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Thu, 9 Sep 2010 13:44:18 +0000 (13:44 +0000)]
Serials: pattern wizard bugfix
Previously, you couldn't always compile the pattern at the end of the wizard
if you elected not to use certain parts of the wizard, such as enumeration
captions, even though to do so should be perfectly valid.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17537
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Thu, 9 Sep 2010 13:35:18 +0000 (13:35 +0000)]
for consistency, use 'issuanceid' as the issuance ID param for holds possibility testing; removed some crusty, old hold creation code
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17535
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 9 Sep 2010 02:51:55 +0000 (02:51 +0000)]
Address typos and grammar in seed data
TODO: Consistently wrap translatable content in oils_i18n_gettext() calls
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17533
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Thu, 9 Sep 2010 01:50:10 +0000 (01:50 +0000)]
Make OpenLibrary the default added content provider
OpenLibrary is a better choice than Amazon for added content out of the box
because:
1) The OpenLibrary added content handler provides cover images +
tables of content, whereas the Amazon added content handler only
provides cover images.
2) The terms of use for OpenLibrary content are much friendlier than
the Amazon "Product Advertising API".
We discussed this back in mid-2009: http://markmail.org/message/csx2hl6aleznapga
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17530
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 8 Sep 2010 22:34:16 +0000 (22:34 +0000)]
Check for empty-ok after testing issuance copies in addition to when there are no copies to test
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17529
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 8 Sep 2010 20:53:32 +0000 (20:53 +0000)]
thinko in seed data permission
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17528
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 8 Sep 2010 20:46:27 +0000 (20:46 +0000)]
Middle Layer work to enable Issuance (type I) holds; also cleaned up support for F(orce) and R(ecall) copy-type holds, UI pending
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17527
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Wed, 8 Sep 2010 20:16:20 +0000 (20:16 +0000)]
Serials: Improve open-ils.serial.receive_items.one_unit_per; remove dead code
..receive_items.one_unit_per will now generate/update summaries as
..receive_items already does.
..items.receive_by_id was unneeded, dead code.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17525
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 19:57:33 +0000 (19:57 +0000)]
make the table rows containing stat cats in the patron editor more easily selectable by CSS. So, for example, we could put something like this in register_custom.css: TR[stat_cat_id='1'] { border: solid thick red; font-size: x-large; }
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17523
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 19:32:42 +0000 (19:32 +0000)]
let's us set the z-index to -1 for rows in register_custom.css to make certain patron editor fields read-only. miker_++
For example: TR[fmfield=ident_value] { z-index: -1; }
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17522
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 8 Sep 2010 18:57:43 +0000 (18:57 +0000)]
Make Class::DBI::Frozen::301 a common forced module for all distros; genericize RHEL/CentOS
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17520
dcc99617-32d9-48b4-a31d-
7c20da2025e4
dbs [Wed, 8 Sep 2010 18:10:47 +0000 (18:10 +0000)]
Library::CallNumber::LC is now in CPAN
We briefly had to grab Library::CallNumber::LC from the SVN repo, but
that broke on systems without subversion installed (argh). Thankfully
the maintainer moved Library::CallNumber::LC to CPAN so our job becomes
routine.
Thanks to Chris Sharp and Benjamin Shum for running the gauntlet of a
2.0 alpha install and finding this problem.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17518
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 18:10:15 +0000 (18:10 +0000)]
org unit settings for default ident type and default country for new users and new addresses in patron editor
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17517
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 16:17:48 +0000 (16:17 +0000)]
* move inline CSS in patron editor to a file
* hook for custom CSS file to override patron editor styling
So for example, you can create /openils/var/web/css/skin/default/register_custom.css and have it contain CSS like this:
TR[fmfield=ident_type] { display: none; } /* dangerous if the widget is required and doesn't have a default */
TR[fmfield=ident_value2] > TD { font-size: x-large; }
TR[fmfield=barred] { display: none; }
TR[fmfield=country] { display: none; } /* dangerous if the widget is required and doesn't have a default */
TR[fmfield=master_account] { display: none; }
TR[fmfield=alert_message] { display: none; }
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17516
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 8 Sep 2010 14:37:22 +0000 (14:37 +0000)]
A simple "vital stats" collector method returning information about a user for display in the OPAC or Staff Client.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17514
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Wed, 8 Sep 2010 13:36:09 +0000 (13:36 +0000)]
Cleanup of reporter:selector values instigated by a report from Sally Fortin of the missing selector for the cbt class.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17511
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 06:50:02 +0000 (06:50 +0000)]
We were shoving a fieldmapper actor.usr object into hold slip templates as params.data.user, but that environment doesn't have fieldmapper, dojo, etc. To sidestep some difficulties adding such libraries, this takes user stat cat entries and shoves them in as normal Javascript objects (params.data.user_stat_cat_entries)
So you can add something like this to the hold slip template:
<script>
var x = params.data.user_stat_cat_entries;
for (var i = 0; i < x.length; i++) {
document.write(x[i].stat_cat.name + ' : ' + x[i].stat_cat_entry + '<br/>');
}
</script>
However, such pig-trickery with inline Javascript only works with the Mozilla Print strategy (where we render HTML and execute Javascript).
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17509
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 06:49:34 +0000 (06:49 +0000)]
give OpenILS.data.lookup the ability to handle actor stat cats
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17508
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Wed, 8 Sep 2010 04:07:32 +0000 (04:07 +0000)]
disabled lib menu entries in Holdings Maintenance was an artifact of that menu data being generated and used in other contexts. This enables all the libs for the menu in Holdings Maintenance
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17507
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 7 Sep 2010 20:50:58 +0000 (20:50 +0000)]
Tweaked Holdings Maintenance so that it only shows the selected library, its ancestors, and its descendents, subject to a Limit menu for org depth (so for example, in the stock example hierarchy where you have Consortium -> System -> Branch -> Sub-Library/Bookmobile, if you Limit to Branch, you will not see any Bookmobile or Sub-Library orgs). It no longer renders sibling libs when clicking through the list.
Also...
* some refactoring and comment removal
* less obtrusive but hopefully still useful menu entry styling for library entries that have volumes
* some defensive coding for util.make_menulist
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17506
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 7 Sep 2010 19:56:48 +0000 (19:56 +0000)]
The reporter and extend_reporter schemas are no longer optional.
So changes to them go back into the transaction.
ALTERs to auditor.action_hold_request_history stay outside of the
transaction, at least for now, until the status of that table
is clarified.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17505
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 7 Sep 2010 16:54:44 +0000 (16:54 +0000)]
a little more SIP checkin logging
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17503
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 7 Sep 2010 16:41:53 +0000 (16:41 +0000)]
cache the SIP login session to determine 'where' a transaction is occuring in case the caller does not indicate the location; compare hold pickup lib to physical location to determine alert type; small logging and format tweaks
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17502
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 7 Sep 2010 16:12:15 +0000 (16:12 +0000)]
Move some operations out of the transaction so that they can
fail without killing the script. The affected objects do
not necessarily exist -- i.e. the reporter schema, the
extend_reporter schema, and the auditor.action_hold_request_history
table.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17501
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Tue, 7 Sep 2010 15:24:55 +0000 (15:24 +0000)]
Only modify msg when needed or we'll get spurious 'stop sign' pages
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17498
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Tue, 7 Sep 2010 14:51:21 +0000 (14:51 +0000)]
make lineitem price updates synchronous to prevent race condition between onChange of price set completion and PO activation
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17496
dcc99617-32d9-48b4-a31d-
7c20da2025e4
scottmk [Tue, 7 Sep 2010 14:18:50 +0000 (14:18 +0000)]
Consolidated upgrade script for 1.6 -> 2.0.
Things still missing:
1. Inserts and other changes to permission.perm_list and
permission.grp_perm_map. These can't be derived in a simple way from
the individual upgrade scripts, and will have to be hand-crafted to
fit what's already in the seed data.
2. Operations on optional schemas need to be moved out of the
transaction so that the script will work in a database that
doesn't have them.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17495
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 3 Sep 2010 21:47:13 +0000 (21:47 +0000)]
AutoFieldWidget now shows timestamps correctly.
Timestamps used to be a little bit off because of Dojo's limited parsing
of ISO6801 stamps.
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17491
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 21:08:07 +0000 (21:08 +0000)]
make the authcookie param (and openils.User.authcookie) useful
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17490
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 3 Sep 2010 20:00:22 +0000 (20:00 +0000)]
event code may be 0 (SUCCESS) == false in SIP checkin, check defined instead
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17488
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 19:55:06 +0000 (19:55 +0000)]
make insertOrderedFields insert in /ascending/ order instead of descending. doh
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17486
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Fri, 3 Sep 2010 19:28:01 +0000 (19:28 +0000)]
give default OUs separate addresses
Per suggestion from Anoop Atre to avoid a new user
changing one OU address in a new database and wondering
why all of the OU addresses were changed.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17484
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Fri, 3 Sep 2010 19:16:59 +0000 (19:16 +0000)]
restrict deletion of perm_lists in use
Per suggestion by Mike Rylander; prevents overzealous
administrator from removing necessary permisions that
are in use.
TODO: UI to make it clear when that happens
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17482
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 3 Sep 2010 19:13:08 +0000 (19:13 +0000)]
Patron address copy on clone
In patron reg, copy address instead of linking to original address on
clone. Controlled by new org unit setting
circ.patron_edit.clone.copy_address
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17480
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 3 Sep 2010 19:00:05 +0000 (19:00 +0000)]
repaired thinko in hold targeting org-unit max-loops check
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17478
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 17:35:00 +0000 (17:35 +0000)]
use slice to clone arguments as an array, because arguments does not support splice
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17477
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 17:30:36 +0000 (17:30 +0000)]
we should really just use for(;;) for arguments
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17476
dcc99617-32d9-48b4-a31d-
7c20da2025e4
gmc [Fri, 3 Sep 2010 16:37:15 +0000 (16:37 +0000)]
allow updates of permission.perm_list.id to cascade
Doing this to make it possible to reshuffle permission IDs
for upgrades to 2.0.x
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17474
dcc99617-32d9-48b4-a31d-
7c20da2025e4
senator [Fri, 3 Sep 2010 16:30:47 +0000 (16:30 +0000)]
Serials: a wizard for the pattern code field of the caption_and_pattern object
This field holds the same data you'd find in the contents of an 853, 854, or
855 tag. This wizard aims to make it a little easier for mere mortals to
compose this information, since the correctness of this field is fairly
central to reasonably accurate serials issuance prediction.
Find a button to launch this wizard from the Caption/Pattern interface of the
Serial Control View.
Big thanks to Galen Charlton, Dan Wells and Mike Rylander for all the help in
getting this started and understanding the MARC.
The wizard does still have a way to go before it's everything it can be. It
still needs (in no particular order):
- scrollbars on that dialog window
- support for subfield $y and probably $z, possibly others
- i18n fixes, accessibility improvements
- more control over subfield $8
- more input validation and user guidance; sane defaults for some fields?
- reconsideration of the order of the parts of the wizard
- finding out if it makes sense to allow $m without $j,$k and $l present
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17472
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 15:38:03 +0000 (15:38 +0000)]
typo in supercat fixup
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17470
dcc99617-32d9-48b4-a31d-
7c20da2025e4
miker [Fri, 3 Sep 2010 15:36:21 +0000 (15:36 +0000)]
add opac_visible to asset.copy_location and org units
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17469
dcc99617-32d9-48b4-a31d-
7c20da2025e4
erickson [Fri, 3 Sep 2010 13:36:11 +0000 (13:36 +0000)]
users with no transaction history will have no xact summary; protect
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17467
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 2 Sep 2010 23:57:51 +0000 (23:57 +0000)]
wire up the alternate print approach for full pull lists
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17464
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 2 Sep 2010 23:57:47 +0000 (23:57 +0000)]
up the default pull list limit from 50 to 100
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17463
dcc99617-32d9-48b4-a31d-
7c20da2025e4
phasefx [Thu, 2 Sep 2010 20:10:36 +0000 (20:10 +0000)]
fix the problem where login does not work immediately after registering a workstation
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17450
dcc99617-32d9-48b4-a31d-
7c20da2025e4
atz [Thu, 2 Sep 2010 18:47:35 +0000 (18:47 +0000)]
Utility for ISBN10->ISBN13 upconversion
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17449
dcc99617-32d9-48b4-a31d-
7c20da2025e4