Syrup.git
13 years agoconifer/integration/uwindsor.py: cat_search cleanup
gfawcett [Sun, 3 Apr 2011 00:37:39 +0000 (00:37 +0000)]
conifer/integration/uwindsor.py: cat_search cleanup

This also addresses the unicode-related TypeError that C/W MARS encountered.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1296 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadded schema migration for changes in trunk@1271, "evergreen updates, folded in with...
gfawcett [Sun, 27 Mar 2011 14:43:03 +0000 (14:43 +0000)]
added schema migration for changes in trunk@1271, "evergreen updates, folded in with item screen"

Be sure to "./manage.py migrate".

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1283 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofm_IDL.xml update now done at startup, all items update tasks use evergreen python...
artunit [Wed, 23 Mar 2011 19:13:24 +0000 (19:13 +0000)]
fm_IDL.xml update now done at startup, all items update tasks use evergreen python bindings proper

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1279 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agothanks to dbs, much better opensrf interaction for update
artunit [Wed, 23 Mar 2011 03:20:57 +0000 (03:20 +0000)]
thanks to dbs, much better opensrf interaction for update

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1278 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoyet again with location, modifier, and call number updates
artunit [Tue, 22 Mar 2011 01:53:53 +0000 (01:53 +0000)]
yet again with location, modifier, and call number updates

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1272 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoevergreen updates, folded in with item screen
artunit [Mon, 21 Mar 2011 01:47:41 +0000 (01:47 +0000)]
evergreen updates, folded in with item screen

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1271 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoquick fix for odd multiple copy scenario, workaround for empty ldap-agent file
artunit [Wed, 9 Mar 2011 21:24:41 +0000 (21:24 +0000)]
quick fix for odd multiple copy scenario, workaround for empty ldap-agent file

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1260 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor integration: LDAP fuzzy person-lookup rewritten in Python.
gfawcett [Sat, 5 Mar 2011 18:42:33 +0000 (18:42 +0000)]
uwindsor integration: LDAP fuzzy person-lookup rewritten in Python.

This used to require an external executable called SpeedLookup, whose
functionality is now replaced by uwindsor_fuzzy_lookup.py.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1257 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agopull out extraneous print statement, fix attachment status text
artunit [Tue, 15 Feb 2011 20:21:55 +0000 (20:21 +0000)]
pull out extraneous print statement, fix attachment status text

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1233 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofix bug for status
artunit [Tue, 15 Feb 2011 16:42:22 +0000 (16:42 +0000)]
fix bug for status

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1232 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoput memoize back in place for item status
artunit [Mon, 14 Feb 2011 03:45:05 +0000 (03:45 +0000)]
put memoize back in place for item status

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1229 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoils updates for items, more testing to do but basic layer works
artunit [Mon, 14 Feb 2011 03:37:00 +0000 (03:37 +0000)]
ils updates for items, more testing to do but basic layer works

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1228 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoquick fix for due date in multiple statuses
artunit [Wed, 9 Feb 2011 15:30:28 +0000 (15:30 +0000)]
quick fix for due date in multiple statuses

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1226 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoembed status information for all copies
artunit [Wed, 9 Feb 2011 05:23:25 +0000 (05:23 +0000)]
embed status information for all copies

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1225 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoquick fix for status link
artunit [Wed, 9 Feb 2011 00:29:44 +0000 (00:29 +0000)]
quick fix for status link

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1224 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoclarify status for multiple items
artunit [Tue, 8 Feb 2011 03:58:58 +0000 (03:58 +0000)]
clarify status for multiple items

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1223 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agomonkey-patch django_cas to scrub usernames returned from CAS server.
gfawcett [Wed, 2 Feb 2011 02:34:03 +0000 (02:34 +0000)]
monkey-patch django_cas to scrub usernames returned from CAS server.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1220 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosome TODO updates.
gfawcett [Tue, 1 Feb 2011 03:10:52 +0000 (03:10 +0000)]
some TODO updates.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1217 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosite permissions: add individual member to site (fuzzy name lookup)
gfawcett [Tue, 1 Feb 2011 03:00:18 +0000 (03:00 +0000)]
site permissions: add individual member to site (fuzzy name lookup)

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1216 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoauth token function added
artunit [Fri, 28 Jan 2011 05:13:45 +0000 (05:13 +0000)]
auth token function added

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1212 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agomoved uwindsor configs to local_settings
artunit [Fri, 28 Jan 2011 03:21:29 +0000 (03:21 +0000)]
moved uwindsor configs to local_settings

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1211 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agobetter attachment handling, need to test more before production
artunit [Wed, 19 Jan 2011 17:11:03 +0000 (17:11 +0000)]
better attachment handling, need to test more before production

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1205 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofirst draft of attachments, seemingly all DVDs so far
artunit [Wed, 19 Jan 2011 05:18:49 +0000 (05:18 +0000)]
first draft of attachments, seemingly all DVDs so far

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1204 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofirst draft of handling multi-volume sets, sync status info in full display
artunit [Tue, 18 Jan 2011 02:25:43 +0000 (02:25 +0000)]
first draft of handling multi-volume sets, sync status info in full display

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1201 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agomore handling for bib_id, still inconsistent for z39.50 but other searching should...
artunit [Mon, 17 Jan 2011 15:43:50 +0000 (15:43 +0000)]
more handling for bib_id, still inconsistent for z39.50 but other searching should be fine

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1200 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agochange wording for adding materials, as per request
artunit [Sun, 16 Jan 2011 05:33:22 +0000 (05:33 +0000)]
change wording for adding materials, as per request

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1199 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosupport for barcode searching, expose bib_id in item edit
artunit [Sun, 16 Jan 2011 05:17:30 +0000 (05:17 +0000)]
support for barcode searching, expose bib_id in item edit

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1198 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosnag bibid from url search
artunit [Fri, 14 Jan 2011 06:25:43 +0000 (06:25 +0000)]
snag bibid from url search

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1196 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agobugfix
gfawcett [Thu, 13 Jan 2011 02:36:03 +0000 (02:36 +0000)]
bugfix

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1195 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadded "Restricted" access level: auth'd users may browse, but only members can downlo...
gfawcett [Thu, 13 Jan 2011 00:49:53 +0000 (00:49 +0000)]
added "Restricted" access level: auth'd users may browse, but only members can download ELEC documents.

At the request of the Leddy team.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1194 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadd info link for adding materials, change circ mod des
artunit [Wed, 12 Jan 2011 17:46:36 +0000 (17:46 +0000)]
add info link for adding materials, change circ mod des

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1193 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agomore IE tomfoolery
artunit [Wed, 12 Jan 2011 05:01:15 +0000 (05:01 +0000)]
more IE tomfoolery

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1191 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisplay loan duration, change div to span for IE madness
artunit [Wed, 12 Jan 2011 04:42:25 +0000 (04:42 +0000)]
display loan duration, change div to span for IE madness

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1190 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoreshelving means available at reserves desk
artunit [Tue, 11 Jan 2011 04:01:23 +0000 (04:01 +0000)]
reshelving means available at reserves desk

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1189 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor: imports for some missed bookbags
gfawcett [Tue, 11 Jan 2011 02:13:32 +0000 (02:13 +0000)]
uwindsor: imports for some missed bookbags

requires TEACHERS, a data file I'm not commiting to SVN.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1188 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosuperuser tweaks.
gfawcett [Tue, 11 Jan 2011 00:56:13 +0000 (00:56 +0000)]
superuser tweaks.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1187 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofix membership problems.
gfawcett [Tue, 11 Jan 2011 00:47:41 +0000 (00:47 +0000)]
fix membership problems.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1186 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agobackdoor "su" function for administrators.
gfawcett [Tue, 11 Jan 2011 00:35:36 +0000 (00:35 +0000)]
backdoor "su" function for administrators.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1185 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoart's css back in place
gfawcett [Mon, 10 Jan 2011 18:01:37 +0000 (18:01 +0000)]
art's css back in place

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1184 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisable 'get_better_copy_of_marc' for now, it lacks the <volume> and <link> stuff...
gfawcett [Mon, 10 Jan 2011 15:57:09 +0000 (15:57 +0000)]
disable 'get_better_copy_of_marc' for now, it lacks the <volume> and <link> stuff we need

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1183 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoquick button fix for IE
gfawcett [Mon, 10 Jan 2011 15:15:39 +0000 (15:15 +0000)]
quick button fix for IE

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1182 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor: script to fix forgotten permissions on ERES sites.
gfawcett [Mon, 10 Jan 2011 04:35:24 +0000 (04:35 +0000)]
uwindsor: script to fix forgotten permissions on ERES sites.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1181 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadd extra instructors to site.
gfawcett [Mon, 10 Jan 2011 04:13:30 +0000 (04:13 +0000)]
add extra instructors to site.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1180 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoBetter "no availability info" display. Call number display tweak. UWindsor bookbag...
gfawcett [Mon, 10 Jan 2011 04:01:01 +0000 (04:01 +0000)]
Better "no availability info" display. Call number display tweak. UWindsor bookbag reserve import script.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1179 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agocss tweak, hopefully doesn't undo artunit's change...
gfawcett [Mon, 10 Jan 2011 04:00:58 +0000 (04:00 +0000)]
css tweak, hopefully doesn't undo artunit's change...

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1178 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agochanged to suppress due date info if copy available
artunit [Mon, 10 Jan 2011 00:51:43 +0000 (00:51 +0000)]
changed to suppress due date info if copy available

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1177 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisplay earliest due date
artunit [Sun, 9 Jan 2011 23:04:00 +0000 (23:04 +0000)]
display earliest due date

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1176 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor: tweaks to eres import
gfawcett [Sun, 9 Jan 2011 20:44:03 +0000 (20:44 +0000)]
uwindsor: tweaks to eres import

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1175 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosmall fixes to line up availability block
artunit [Sun, 9 Jan 2011 19:37:11 +0000 (19:37 +0000)]
small fixes to line up availability block

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1174 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agohide css prob in alignment, will go away with date formatting later today
artunit [Sun, 9 Jan 2011 16:47:49 +0000 (16:47 +0000)]
hide css prob in alignment, will go away with date formatting later today

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1173 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor: migration of content from ERES to Syrup actually works!
gfawcett [Sun, 9 Jan 2011 01:00:03 +0000 (01:00 +0000)]
uwindsor: migration of content from ERES to Syrup actually works!

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1172 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoHash-based storage for uploaded files
gfawcett [Sun, 9 Jan 2011 00:56:13 +0000 (00:56 +0000)]
Hash-based storage for uploaded files

Two files with same content will share the same stored data.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1171 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor_migration/, containing some migrational stuff. (Remove this later.)
gfawcett [Sun, 9 Jan 2011 00:56:07 +0000 (00:56 +0000)]
uwindsor_migration/, containing some migrational stuff. (Remove this later.)

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1170 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agotemporary uwindsor thing: add fields to Site for linking bookbags and ERes pages.
gfawcett [Fri, 7 Jan 2011 20:46:01 +0000 (20:46 +0000)]
temporary uwindsor thing: add fields to Site for linking bookbags and ERes pages.

For initial migration only, then they can go away.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1169 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agorevert due-time display slightly more this time, so it actually fixes problem
gfawcett [Fri, 7 Jan 2011 17:05:17 +0000 (17:05 +0000)]
revert due-time display slightly more this time, so it actually fixes problem

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1168 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agorevertion due-time display slightly -- it breaks the UI
gfawcett [Fri, 7 Jan 2011 17:03:27 +0000 (17:03 +0000)]
revertion due-time display slightly -- it breaks the UI

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1167 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadded hook for due time info with checked out items
artunit [Fri, 7 Jan 2011 05:22:11 +0000 (05:22 +0000)]
added hook for due time info with checked out items

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1166 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoslightly smaller availability graphic.
gfawcett [Thu, 6 Jan 2011 03:04:16 +0000 (03:04 +0000)]
slightly smaller availability graphic.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1165 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoshow call number on index and metadata pages; better item-availability presentation.
gfawcett [Thu, 6 Jan 2011 03:00:58 +0000 (03:00 +0000)]
show call number on index and metadata pages; better item-availability presentation.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1164 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofor physical video items, display the video type.
gfawcett [Thu, 6 Jan 2011 02:35:59 +0000 (02:35 +0000)]
for physical video items, display the video type.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1163 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoTODO updates
gfawcett [Thu, 6 Jan 2011 02:35:56 +0000 (02:35 +0000)]
TODO updates

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1162 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadded unapi support for non-physical items (uses RIS instead of MODS)
gfawcett [Thu, 6 Jan 2011 02:35:52 +0000 (02:35 +0000)]
added unapi support for non-physical items (uses RIS instead of MODS)

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1161 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoextended length of URL field to 2,048 characters.
gfawcett [Wed, 5 Jan 2011 21:17:36 +0000 (21:17 +0000)]
extended length of URL field to 2,048 characters.

Django's default is only 200 characters!

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1160 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agobug in bookbag url importer
gfawcett [Wed, 5 Jan 2011 04:06:24 +0000 (04:06 +0000)]
bug in bookbag url importer

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1157 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoa few more uwindsorisms
gfawcett [Wed, 5 Jan 2011 04:06:21 +0000 (04:06 +0000)]
a few more uwindsorisms

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1156 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoTune item-sorting to ignore punctuation
gfawcett [Thu, 30 Dec 2010 16:48:25 +0000 (16:48 +0000)]
Tune item-sorting to ignore punctuation

Article titles with quotation marks in them were throwing off the sort.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1155 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisplay tweak
gfawcett [Thu, 30 Dec 2010 16:37:15 +0000 (16:37 +0000)]
display tweak

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1154 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoSimplify the Sakai integration somewhat: no 'create/revive site' options.
gfawcett [Thu, 30 Dec 2010 16:28:04 +0000 (16:28 +0000)]
Simplify the Sakai integration somewhat: no 'create/revive site' options.

Instructors can choose to link to an existing reserves list with which
they are associated. If they do so, instructors and students visiting
from Sakai will be taken directly to the linked site. If the
instructor chooses not to link a reserves list, then visitors from
Sakai will be taken to the generic "Browse" page.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1153 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoslightly better error on missing title/url on URL item.
gfawcett [Wed, 29 Dec 2010 19:45:28 +0000 (19:45 +0000)]
slightly better error on missing title/url on URL item.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1152 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofix subheading-edit bug.
gfawcett [Wed, 29 Dec 2010 19:34:10 +0000 (19:34 +0000)]
fix subheading-edit bug.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1151 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisplay tweak.
gfawcett [Wed, 29 Dec 2010 15:57:10 +0000 (15:57 +0000)]
display tweak.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1149 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agotweaks to RIS import
gfawcett [Wed, 29 Dec 2010 15:54:12 +0000 (15:54 +0000)]
tweaks to RIS import

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1148 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agodisplay tweaks
gfawcett [Wed, 29 Dec 2010 15:43:00 +0000 (15:43 +0000)]
display tweaks

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1147 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoFix marcxml import problems. No longer show Publisher on item-list view.
gfawcett [Wed, 29 Dec 2010 15:42:57 +0000 (15:42 +0000)]
Fix marcxml import problems. No longer show Publisher on item-list view.

But do show the item source (journal title) if available.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1146 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosort item titles case-insensitively.
gfawcett [Wed, 29 Dec 2010 15:42:54 +0000 (15:42 +0000)]
sort item titles case-insensitively.

I also moved the STOPWORDS definition out of the function body, to save a few
CPU cycles.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1145 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouse common metadata fields for editing physical items, too.
gfawcett [Wed, 29 Dec 2010 15:42:52 +0000 (15:42 +0000)]
use common metadata fields for editing physical items, too.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1144 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agouwindsor integration: amended download declaration with Joan's new text.
gfawcett [Wed, 29 Dec 2010 15:42:49 +0000 (15:42 +0000)]
uwindsor integration: amended download declaration with Joan's new text.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1143 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoRIS import tweak
gfawcett [Wed, 29 Dec 2010 00:00:27 +0000 (00:00 +0000)]
RIS import tweak

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1142 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoexperimental: import URL item from RIS citation
gfawcett [Tue, 28 Dec 2010 22:17:51 +0000 (22:17 +0000)]
experimental: import URL item from RIS citation

I'd like to show this to the Leddy reserves staff, and see if it might
expedite their workflow. Maybe they are using (or can use) RefWorks or Zotero
to process new items?

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1141 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoitalicize the journal title in summary view
gfawcett [Tue, 28 Dec 2010 21:13:47 +0000 (21:13 +0000)]
italicize the journal title in summary view

perpetuating the APA-ish look.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1140 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoA more citation-like display of item's metadata on index pages.
gfawcett [Tue, 28 Dec 2010 21:12:42 +0000 (21:12 +0000)]
A more citation-like display of item's metadata on index pages.

It's APA-leaning, but that's okay for now.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1139 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoworkaround for legacy url objects without authors.
gfawcett [Tue, 28 Dec 2010 21:00:39 +0000 (21:00 +0000)]
workaround for legacy url objects without authors.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1138 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoELEC and URL items both have extended (ERes-like) metadata.
gfawcett [Tue, 28 Dec 2010 20:58:37 +0000 (20:58 +0000)]
ELEC and URL items both have extended (ERes-like) metadata.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1137 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoforgot to add 'Add new staff user' to admin menu
gfawcett [Tue, 28 Dec 2010 20:39:44 +0000 (20:39 +0000)]
forgot to add 'Add new staff user' to admin menu

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1136 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoAdmin function: add new staff member. Partly refactored fuzzyFinder interface.
gfawcett [Tue, 28 Dec 2010 20:36:09 +0000 (20:36 +0000)]
Admin function: add new staff member. Partly refactored fuzzyFinder interface.

The refactored fuzzyFinder is ugly, though. Really there should be a
Genshi-side component.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1135 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agorevise TODOs
gfawcett [Tue, 28 Dec 2010 20:36:06 +0000 (20:36 +0000)]
revise TODOs

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1134 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoadd missing go-back link
gfawcett [Tue, 28 Dec 2010 19:11:53 +0000 (19:11 +0000)]
add missing go-back link

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1133 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoon long item-add forms, autoscroll past the header.
gfawcett [Tue, 28 Dec 2010 19:02:01 +0000 (19:02 +0000)]
on long item-add forms, autoscroll past the header.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1132 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agocopyright status enhancements
gfawcett [Tue, 28 Dec 2010 18:05:03 +0000 (18:05 +0000)]
copyright status enhancements

Now, electronic items that are not cleared for copyright are not downloadable
by students. Such items are visible to instructors and staff, with a clear
visual warning.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1131 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agohide "Preferences" for now; revisit later.
gfawcett [Tue, 28 Dec 2010 17:29:34 +0000 (17:29 +0000)]
hide "Preferences" for now; revisit later.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1130 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agobreak edit_site_permissions form into two form elements, to make Enter-key behaviour...
gfawcett [Tue, 28 Dec 2010 17:22:11 +0000 (17:22 +0000)]
break edit_site_permissions form into two form elements, to make Enter-key behaviour more intuitive.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1129 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofixed problem introduced in r1126, "fix problem in feeds related to URL items"
gfawcett [Tue, 28 Dec 2010 17:10:37 +0000 (17:10 +0000)]
fixed problem introduced in r1126, "fix problem in feeds related to URL items"

I forgot the SCRIPT_NAME.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1128 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoFix edit-site bug; better save-confirm messages on Permissions; delete groups.
gfawcett [Tue, 28 Dec 2010 17:04:03 +0000 (17:04 +0000)]
Fix edit-site bug; better save-confirm messages on Permissions; delete groups.

When editing a site (via "Setup"), the owner name was not being set properly,
and would cause the edit to fail if the owner was not changed.

Save-confirmation messages now have a "continue" link on the Permissions page,
making it a bit easier to proceed after making changes.

External groups are now deletable.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1127 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofix problem in feeds related to URL items.
gfawcett [Tue, 28 Dec 2010 17:04:00 +0000 (17:04 +0000)]
fix problem in feeds related to URL items.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1126 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoremove debugging print statement
gfawcett [Tue, 28 Dec 2010 04:01:52 +0000 (04:01 +0000)]
remove debugging print statement

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1125 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agomake import-all-depts-and-courses code more tolerant of redundant course codes in...
gfawcett [Tue, 28 Dec 2010 01:07:53 +0000 (01:07 +0000)]
make import-all-depts-and-courses code more tolerant of redundant course codes in the imported data.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1124 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agocall 'maybe_refresh_external_memberships' on every page load.
gfawcett [Tue, 28 Dec 2010 00:40:55 +0000 (00:40 +0000)]
call 'maybe_refresh_external_memberships' on every page load.

This is a typically fast call. Usually, it just reads the user profile
to check a timestamp. At most once per hour, it will make an external
call to see if the user's external-group memberships have changed.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1123 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agosite permissions: add class list by section number, or by external group code
gfawcett [Tue, 28 Dec 2010 00:40:52 +0000 (00:40 +0000)]
site permissions: add class list by section number, or by external group code

If you provide a hook function, 'derive_group_code_from_section',
mapping section numbers onto external group/class-list codes (in the
context of a given site), then users can easily add sections to course
sites, just by providing the section number(s). If not, then the part
of the UI related to section numbers is not displayed.

Note that external group members are loaded lazily: we don't know who
belongs to an external group until they log into Syrup, and their
external memberships are updated.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1122 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agofix access control bug: closed sites are only accessible by instructors.
gfawcett [Tue, 28 Dec 2010 00:40:49 +0000 (00:40 +0000)]
fix access control bug: closed sites are only accessible by instructors.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1121 6d9bc8c9-1ec2-4278-b937-99fde70a366f

13 years agoon site add/edit, fuzzy-lookup of site owner, if fuzzy-lookup hook is available.
gfawcett [Mon, 27 Dec 2010 21:58:07 +0000 (21:58 +0000)]
on site add/edit, fuzzy-lookup of site owner, if fuzzy-lookup hook is available.

For UWindsor, I'm using an external program called SpeedLookup for the
fuzzy search. If the program isn't found on the system, fuzzy search
will be disabled.

git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1120 6d9bc8c9-1ec2-4278-b937-99fde70a366f