evergreen/bjwebb.git
14 years agoFix a function that moves translations in config.i18n_core,
scottmk [Tue, 14 Sep 2010 13:27:09 +0000 (13:27 +0000)]
Fix a function that moves translations in config.i18n_core,
so that it will handle both text-based keys and numeric keys.

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

14 years agoIntegrate authority browse and creation support into the MARC editor
dbs [Tue, 14 Sep 2010 04:13:42 +0000 (04:13 +0000)]
Integrate authority browse and creation support into the MARC editor

This commit changes the contextual authority menu to be based on
the authority browse interface; this should result in better
matching behavior. The browse axis (author, subject, title, topic)
is based on the context tag.

The browse interface has enabled the contextual menu to grow
"Next page" / "Previous page" menu items to enable cataloguers
to wade through long lists of similar authority entries.

The browse interface has also grown a "Create new authority record"
menu with two submenu items.

  * "Create immediately" takes the field in context and creates a new authority
     record based on that field, with matching indicators and subfields.
  * "Create and edit..." displays the MARCXML for the authority record in
     a MARC editor window before saving the record to the database.

TODO: Make the "Create..." contextual options add the $0 linking subfield
to the newly controlled field.

TODO: Address some of the flaky UI behaviour, such as having to right-click
three times on an authority-controllable field to display the authority menu.

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

14 years agoadd cat.default_classification_scheme OU setting type to DB
gmc [Mon, 13 Sep 2010 21:30:26 +0000 (21:30 +0000)]
add cat.default_classification_scheme OU setting type to DB

For benefit of those tracking trunk.

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

14 years agofix retrieval of cat.default_classification_scheme
gmc [Mon, 13 Sep 2010 21:07:35 +0000 (21:07 +0000)]
fix retrieval of cat.default_classification_scheme

Fixes bug where the cat.default_classification_scheme OU
setting was effectively ignored in bib call # display
in bib overlay and list of default call numbers during volume
creation.

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

14 years agoUpdate README: create the database from template0 to avoid SQL_ASCII / UNICODE conflicts
dbs [Mon, 13 Sep 2010 21:02:28 +0000 (21:02 +0000)]
Update README: create the database from template0 to avoid SQL_ASCII / UNICODE conflicts

Of course, perhaps this just obscures a real problem. Hrm.

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

14 years agoa little defensive programming
miker [Mon, 13 Sep 2010 19:03:32 +0000 (19:03 +0000)]
a little defensive programming

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

14 years agomethod for generating a set of compressed holdings statements for a bib with optional...
miker [Mon, 13 Sep 2010 18:14:19 +0000 (18:14 +0000)]
method for generating a set of compressed holdings statements for a bib with optional location and depth scoping, type filtering and item status filtering

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

14 years agoarg...typo ... again (but not really a problem)
miker [Mon, 13 Sep 2010 17:35:15 +0000 (17:35 +0000)]
arg...typo ... again (but not really a problem)

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

14 years agoarg...typo
miker [Mon, 13 Sep 2010 17:34:11 +0000 (17:34 +0000)]
arg...typo

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

14 years agowe need to move permissions around for a Great Renumbering, but i18n is not protected...
miker [Mon, 13 Sep 2010 17:26:03 +0000 (17:26 +0000)]
we need to move permissions around for a Great Renumbering, but i18n is not protected by fkeys.  this provides infratructure for maintaining i18n values that already exist in a db, and an example usage on permission.perm_list

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

14 years agoTypo
atz [Mon, 13 Sep 2010 16:37:05 +0000 (16:37 +0000)]
Typo

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

14 years agoPrevent failure of update scripts.
atz [Mon, 13 Sep 2010 16:34:32 +0000 (16:34 +0000)]
Prevent failure of update scripts.

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

14 years agohave fielder cache some frequently used data
miker [Mon, 13 Sep 2010 15:48:41 +0000 (15:48 +0000)]
have fielder cache some frequently used data

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

14 years agoteach fielder to cache (off by default), with a default timeout of 5min
miker [Mon, 13 Sep 2010 15:17:44 +0000 (15:17 +0000)]
teach fielder to cache (off by default), with a default timeout of 5min

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

14 years agoREADME tweaks: Remove --create-bootstrap from eg_db_config.pl; s/STAFF_CLIENT_BUILD_I...
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

14 years agoAdd a Perl script for extracting permission names from the output
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

14 years agomake the other two k_* MARC templates usable by default
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

14 years agowrap custom props file reader in try/catch to prevent xhr complaining about missing...
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

14 years agoSerials: little bugfixin on this OPAC-oriented method
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

14 years agoAllows you to create *_custom.properties files for overlaying stock strings with...
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

14 years agoSerials: dojo/autogrid-based scaffolding for building serials objects
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

14 years agostaff.circ_modifier.display localization for rendering circ modifiers
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

14 years agoSerials: make it possible to predict issues for all dists at once, not just one
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

14 years agoadd maxValuesPerFacet attr/param
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

14 years agoSerials: support predicting issuances until a specified end date
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

14 years agoadd "type" (siss.holding_type) and "status" (sitem.status) filters; renaming the...
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

14 years agoMethod for retrieving received issuances attached to a bib, optionally scoped by...
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

14 years agothinko in schwarzian transform, and provide a tiebreaker sort on string
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

14 years agoTypo fix in Vandelay item attribute definition editor
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

14 years agoIn IE, tell Evergreen to return just the initially visible facets, and do it async...
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

14 years agoAdd "refresh grid" buttons to some consistently glitchy autogrids.
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

14 years agoMake it a little more straightfoward to refresh an autogrid from without. Can
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

14 years agoAcq: no reason to deprive the user of back/forward here
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

14 years agouse mod_deflate when and where we can (opac, and not in IE, basically)
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

14 years agoenable the Refund action in the new billing interface
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

14 years agominor tweaks to patron retrieval within the billing interface
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

14 years agofixes a bug where where the Staff column in a Payments list was styling CSS for a...
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

14 years agosome defense in patron.util.set_penalty_css against unfleshed or partially fleshed...
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

14 years agoindentation
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

14 years agomore, different layers
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

14 years agoAllow the caller to specify a max number of facet values per facet
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

14 years ago'use parent' consistently throughout OfflineStore.pm
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

14 years agoWhy yes, there _is_ a missing backslash at the end of that line!
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

14 years agoui.patron.registration.require_address org unit setting and associated behavior for...
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

14 years agoIn list.fm_columns, allow us to dictate the data object used for rendering (the row...
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

14 years agorender patron barcode in patron search results
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

14 years agoGive the ability to duplicate column definitions by prefixing their id's. Allow...
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

14 years agomove Patron Search over to fm_columns instead of patron.util.columns (the former...
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

14 years agothe method behind patron.util.retrieve_fleshed_au_via_id can take a fields parameter...
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

14 years agoEnable Class::DBI::Frozen::301 use for offline transaction management
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

14 years agoRemove the previously deprecated CGI interfaces for configuring the Evergreen system
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

14 years agoTwo files that should probably be deleted.
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

14 years agoScript is executable
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

14 years agoAdapt update.sh to make process changes
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

14 years agoadded command line option for defining a stderr output log file for the SIP server
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

14 years agoBooking: stop the "new resource type" dialog from executing a naughty query
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

14 years agobetter synchronization between holds interface and hold details interface, and provid...
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

14 years agoput these buttons under the sway of Dojo so that they don't get triggered when pressi...
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

14 years agoImprove on 17547 to support a default value for /creating/ new objects while
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

14 years agoadded support for viewing and editing existing issuance-level holds to the default...
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

14 years agoadded alternate issuance flesh call that only fleshes the subscription; used for...
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

14 years agoChange the field order in asset.call_number_class if you want to sort these
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

14 years agoStyling tweaks to brief bib summary bar. More tooltips, and expose record id and...
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

14 years agoMake overrideEditWidgets to an AutoGrid able to accept shoved in values from
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

14 years agoloop over users in a group, as the plan for usrgroup+mous is terrible
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

14 years agoshould have had this index all along, but was less important until now where copy...
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

14 years agoWith group billing calls we need a new index
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

14 years agoported ils-version comment updates to trunk, change ils-version to HEAD for trunk...
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

14 years agoSerials: pattern wizard bugfix
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

14 years agofor consistency, use 'issuanceid' as the issuance ID param for holds possibility...
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

14 years agoAddress typos and grammar in seed data
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

14 years agoMake OpenLibrary the default added content provider
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

14 years agoCheck for empty-ok after testing issuance copies in addition to when there are no...
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

14 years agothinko in seed data permission
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

14 years agoMiddle Layer work to enable Issuance (type I) holds; also cleaned up support for...
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

14 years agoSerials: Improve open-ils.serial.receive_items.one_unit_per; remove dead code
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

14 years agomake the table rows containing stat cats in the patron editor more easily selectable...
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

14 years agolet's us set the z-index to -1 for rows in register_custom.css to make certain patron...
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

14 years agoMake Class::DBI::Frozen::301 a common forced module for all distros; genericize RHEL...
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

14 years agoLibrary::CallNumber::LC is now in CPAN
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

14 years agoorg unit settings for default ident type and default country for new users and new...
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

14 years ago* move inline CSS in patron editor to a file
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

14 years agoA simple "vital stats" collector method returning information about a user for displa...
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

14 years agoCleanup of reporter:selector values instigated by a report from Sally Fortin of the...
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

14 years agoWe were shoving a fieldmapper actor.usr object into hold slip templates as params...
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

14 years agogive OpenILS.data.lookup the ability to handle actor stat cats
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

14 years agodisabled lib menu entries in Holdings Maintenance was an artifact of that menu data...
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

14 years agoTweaked Holdings Maintenance so that it only shows the selected library, its ancestor...
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

14 years agoThe reporter and extend_reporter schemas are no longer optional.
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

14 years agoa little more SIP checkin logging
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

14 years agocache the SIP login session to determine 'where' a transaction is occuring in case...
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

14 years agoMove some operations out of the transaction so that they can
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

14 years agoOnly modify msg when needed or we'll get spurious 'stop sign' pages
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

14 years agomake lineitem price updates synchronous to prevent race condition between onChange...
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

14 years agoConsolidated upgrade script for 1.6 -> 2.0.
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

14 years agoAutoFieldWidget now shows timestamps correctly.
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

14 years agomake the authcookie param (and openils.User.authcookie) useful
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

14 years agoevent code may be 0 (SUCCESS) == false in SIP checkin, check defined instead
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

14 years agomake insertOrderedFields insert in /ascending/ order instead of descending. doh
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

14 years agogive default OUs separate addresses
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