senator [Tue, 28 Sep 2010 20:26:09 +0000 (20:26 +0000)]
A/T: Send an early response back to the client when running all pending events
The client may wish to know when the relativelty fast process of creating the
events is over, and the relatively slow process of validating them and running
their reactors/cleanup/etc is about to begin.
repaired bug that caused checkin to sometimes fail when a hold
was captured for a user that had at least 1 inactive card;
made checkin override events configurable; minor cleanup
Change memcached default location to 127.0.0.1 from localhost
Debian Squeeze currently doesn't fare well with memcached servers pointing to
localhost and needs an explicit 127.0.0.1, whereas Ubuntu Lucid is happy with
either. Changing the default here means one less possible gotcha in the out
of the box install & configure experience for Debian Squeeze folk.
Make authority validation rules match authority ingest rules for better matches
This resolves a problem in O:A:Storage:Publisher:authority:validate_tag() where
the full NACO normalization rules that are applied to the subfields of the
authority records when they are ingested into authority.full_rec are not similarly
applied to the incoming subfields of the bib field that is being validated;
only diacritic characters in the bib field subfields were being normalized.
Now we apply naco_normalize() to the search terms so that they will match
the ingested form of the authority record.
Silence SQL warnings from O:A:Storage:Publisher:metabib
PostgreSQL wants strings containing regular expressions to be prefixed
with E; this patch considerably reduces the noise in open-ils.storage_unix.log
by complying with PostgreSQL's wishes.
Add a placeholder server/skin/custom.js to prevent one error in JS console
custom.js enables you to override the settings in the stock constants.js
to skin the behaviour of your staff client at your installation, without
being subject to grief at upgrade time.
Not having a custom.js file at all was, however, causing errors to be generated
in the JS console as XULRunner tried hard to parse the 404 message as
JavaScript. I suppose one could have changed the 404 message to valid
JavaScript... naw, that would be evil.
2. Rename the uniqueness constraint for booking.resource_type.
M Open-ILS/src/sql/Pg/090.schema.action.sql
M Open-ILS/src/sql/Pg/200.schema.acq.sql
M Open-ILS/src/sql/Pg/012.schema.vandelay.sql
M Open-ILS/src/sql/Pg/095.schema.booking.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
M Open-ILS/src/sql/Pg/070.schema.container.sql
A Open-ILS/src/sql/Pg/upgrade/0421.schema.embiggen-ints.sql
Call persist_helper() in most interfaces. Give it the ability to handle resizing windows and set some windows up so that their height, width, and maximized state persist
Instead of having authoritative versions of
open-ils.circ.fire_*_trigger_events, wrap just the
target retrieval itself in a transaction. Avoids as
yet unexplained rollback failure that occurs if
processing a selfcheck receipt with more than a few items on it.
don't styled the juvenile indicator in the patron display based on age calculations by default, just go by the juvenile flag on the user. local CSS can restore the behavior if desired
* all potential capturable copies are now checked (up to the first
one that is permitted for the request), instead of a small random
subset of them
* don't do redundant permission checks
Apply some fixes that were earlier applied to the base installation script
090.schema.action.sql, but not in an upgrade script.
Also: correct a typo (INTEVAL -> INTERVAL). Hence this upgrade needs to go
to v2.0 as well as to trunk.
M Open-ILS/src/sql/Pg/090.schema.action.sql
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0418.function.action.fix-purge-circ.sql
Forward-port of a patch from Steve Callendar, via James Fournie, via launchpad:
When the patron.password.use_phone is set, new patrons are created with their password set to the last 4 digits of their phone number, HOWEVER, when a patron's password is reset, it does not work properly. Although the little underlined summary shows the proper 4 digits, the password box displays 9-ish digits, and is not the last 4 digits of the password.
The attached patch was created by Steve Callender and is confirmed working on 1.6.0
ORIGINAL CAVEAT: This patch will not work on 2.0 as that has a new user editor, but it would presumably be worthwhile to verify this functionality works in that editor as well.
ED NOTE: Because it is possible to use the old editor -- it still exists -- this patch should be applied. It does what it advertises to do, which is fix the old editor to follow the "use phone number" OU setting.
Drop the never-used column item_count from acq.lineitem.
Drop it also from the associated history table, and rebuild
the function that maintains it. Finally, rebuild the
associated lifecycle view.
Apply to trunk only; this column never existed in 2.0.
The column has already been removed from the base installation
script.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0417.schema.acq.drop-lineitem-item-count.sql
Dropping and recreating a foreign key constraint for config.metabib_field,
in order to change its name. WHen this foreign key was first introduced,
the upgrade script gave it one name and the base install script gave it
a different name. Here we bring the names into sync.
M Open-ILS/src/sql/Pg/002.schema.config.sql
A Open-ILS/src/sql/Pg/upgrade/0415.schema.rename-field-class-fkey.sql
Remove most annoying UI "feature" of the new authority browse list interface
When I added the new authority browse list interface, I used dojo.xhrGet()
to retrieve records from the authority browse backend - but because I didn't
specify sync:true, when you first right-clicked on a subfield, the function
would return immediately and default to showing the context menu. You would
then need to click two more times to show the authority list.
Now you get it on your first right-click, as it should be.
Browse through 20 authority records at a time in management interface
The default browse list is set to 9 elements, but we have enough vertical
space to make use of more. Perhaps we should check the font size and
viewport height and then adjust accordingly, but that would be Hard.
Remove most UI annoyances from authority management interface
* term input field now gets the focus automatically
* pressing enter in most places submits a new search
* removed the onBlur event as that required users to click a second
time to open the action menu
fix from tsbere to handle case where the print strategy is set to custom/external but the actual command is missing (perhaps due to xulrunner upgrades?)
Holdings Maintenance used to make too many assumptions about what a decent org hierarchy looked like, and had these rules to suppress some of the fetch-render-happy behavior that existed when clicking on org units. We can remove them now, and this allows volumes to render when owned by the top of the org tree