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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
gfawcett [Mon, 27 Dec 2010 21:58:04 +0000 (21:58 +0000)]
configurable default site access level.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1119
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 27 Dec 2010 21:58:01 +0000 (21:58 +0000)]
uwindsor: fetch catalogue of known courses, departments.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1118
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 17 Dec 2010 16:36:37 +0000 (16:36 +0000)]
skip record-cleaning stage if opensrf is used for search instead of z39.50
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1113
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 17 Dec 2010 04:05:46 +0000 (04:05 +0000)]
add extra metadata fields for electronic items.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1111
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 17 Dec 2010 04:05:43 +0000 (04:05 +0000)]
move debugging code to __main__.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1110
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 17 Dec 2010 04:05:40 +0000 (04:05 +0000)]
trying opensrf for search instead of z39.50, for performance comparison.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1109
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 30 Nov 2010 04:44:20 +0000 (04:44 +0000)]
url fields now stored
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1093
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Fri, 26 Nov 2010 19:52:06 +0000 (19:52 +0000)]
first pass at stop word support for sorting
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1090
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 13 Nov 2010 02:03:30 +0000 (02:03 +0000)]
d'oh, left in a debugging statement.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1067
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 13 Nov 2010 01:42:55 +0000 (01:42 +0000)]
move the declaration text into the customization system. Fixed bug in hooksystem.
The bug is that the getattr() calls should have had a default third argument
of None, so that if the lookup failed, None would be the result. Instead, we
got AttributeErrors when no such hook existed: not what I intended.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1066
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 13 Nov 2010 01:39:14 +0000 (01:39 +0000)]
added Declaration model; students must click to declare intent before downloading.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1065
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 13 Nov 2010 01:35:41 +0000 (01:35 +0000)]
force ELEC document links to go to Meta page, not directly to download.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1064
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 14 Oct 2010 02:38:43 +0000 (02:38 +0000)]
be a bit more defensive w.r.t. network outages.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1041
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 14 Oct 2010 02:36:26 +0000 (02:36 +0000)]
remove some debugging prints
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1040
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 14 Oct 2010 02:28:52 +0000 (02:28 +0000)]
uwindsor integration: proper copy counts.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@1039
6d9bc8c9-1ec2-4278-b937-
99fde70a366f