Syrup.git
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

13 years agoconfigurable default site access level.
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

13 years agouwindsor: fetch catalogue of known courses, departments.
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

13 years agoskip record-cleaning stage if opensrf is used for search instead of z39.50
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

13 years agoadd extra metadata fields for electronic items.
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

13 years agomove debugging code to __main__.
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

13 years agotrying opensrf for search instead of z39.50, for performance comparison.
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

13 years agourl fields now stored
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

13 years agofirst pass at stop word support for sorting
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

13 years agod'oh, left in a debugging statement.
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

13 years agomove the declaration text into the customization system. Fixed bug in hooksystem.
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

13 years agoadded Declaration model; students must click to declare intent before downloading.
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

13 years agoforce ELEC document links to go to Meta page, not directly to download.
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

14 years agobe a bit more defensive w.r.t. network outages.
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

14 years agoremove some debugging prints
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

14 years agouwindsor integration: proper copy counts.
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

14 years agotemporary, use local fm_IDL.xml for testing conifer integration
gfawcett [Thu, 14 Oct 2010 02:28:47 +0000 (02:28 +0000)]
temporary, use local fm_IDL.xml for testing conifer integration

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

14 years agoconifer/libsystems/evergreen/support.py: args should be json-encoded, not just string...
gfawcett [Thu, 14 Oct 2010 02:28:43 +0000 (02:28 +0000)]
conifer/libsystems/evergreen/support.py: args should be json-encoded, not just stringified.

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

14 years agoshould have imported settings here?
gfawcett [Wed, 6 Oct 2010 17:24:19 +0000 (17:24 +0000)]
should have imported settings here?

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

14 years agoshow pubdate even if no publisher.
gfawcett [Sun, 3 Oct 2010 00:24:49 +0000 (00:24 +0000)]
show pubdate even if no publisher.

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

14 years agoadd 'proxify_url' to integration API; provide ezproxy implementation for Leddy.
gfawcett [Sat, 2 Oct 2010 23:54:42 +0000 (23:54 +0000)]
add 'proxify_url' to integration API; provide ezproxy implementation for Leddy.

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

14 years agocss tweaks
gfawcett [Sat, 2 Oct 2010 20:11:59 +0000 (20:11 +0000)]
css tweaks

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

14 years ago* conifer/integration/uwindsor.py: added reminder about where to find API docs.
gfawcett [Sat, 2 Oct 2010 19:58:04 +0000 (19:58 +0000)]
* conifer/integration/uwindsor.py: added reminder about where to find API docs.

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

14 years agoUI tweaks
gfawcett [Sat, 2 Oct 2010 19:57:57 +0000 (19:57 +0000)]
UI tweaks

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

14 years ago* conifer/syrup/views/sites.py: bugfix in join-this-site function.
gfawcett [Sat, 2 Oct 2010 19:57:54 +0000 (19:57 +0000)]
* conifer/syrup/views/sites.py: bugfix in join-this-site function.

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

14 years agoGot rid of pop-out menus. Also got rid of no-longer-used "resequencing" code.
gfawcett [Sat, 2 Oct 2010 19:57:51 +0000 (19:57 +0000)]
Got rid of pop-out menus. Also got rid of no-longer-used "resequencing" code.

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

14 years agophysical items don't need an "About this item" link.
gfawcett [Sat, 2 Oct 2010 19:57:48 +0000 (19:57 +0000)]
physical items don't need an "About this item" link.

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

14 years agovestigial unAPI/mods3 support
gfawcett [Fri, 1 Oct 2010 01:34:02 +0000 (01:34 +0000)]
vestigial unAPI/mods3 support

It works well enough to import sample records into Zotero.

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

14 years agochanged conifer link
artunit [Tue, 28 Sep 2010 18:25:27 +0000 (18:25 +0000)]
changed conifer link

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

14 years agodepartment and instructor browse not needed with main browse mechanism
artunit [Tue, 28 Sep 2010 18:23:14 +0000 (18:23 +0000)]
department and instructor browse not needed with main browse mechanism

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

14 years agodatabase migration fixes
gfawcett [Wed, 18 Aug 2010 13:24:12 +0000 (13:24 +0000)]
database migration fixes

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

14 years agoshould not have enabled CAS in the example local_settings.
gfawcett [Wed, 18 Aug 2010 13:16:33 +0000 (13:16 +0000)]
should not have enabled CAS in the example local_settings.

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

14 years agoPut CAS-auth and uwindsor-integration into the local_settings.py.example.
gfawcett [Wed, 18 Aug 2010 13:15:12 +0000 (13:15 +0000)]
Put CAS-auth and uwindsor-integration into the local_settings.py.example.

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

14 years agoCAS authentication.
gfawcett [Wed, 18 Aug 2010 02:46:17 +0000 (02:46 +0000)]
CAS authentication.

See: http://code.google.com/p/django-cas/

To use CAS authentication, you must "easy_install django-cas", then add these
to your local_settings.py:

CAS_AUTHENTICATION = True
CAS_SERVER_URL     = 'https://my.cas.server.example.net/cas/'

You will probably also want to define two customization hooks:
external_person_lookup and user_needs_decoration. See:
conifer/syrup/integration.py.

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

14 years agosome design notes.
gfawcett [Wed, 18 Aug 2010 02:45:46 +0000 (02:45 +0000)]
some design notes.

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

14 years agovarious bib related bits.
gfawcett [Tue, 17 Aug 2010 02:57:59 +0000 (02:57 +0000)]
various bib related bits.

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

14 years agoremove linktool from INSTALLED_APPS
gfawcett [Mon, 16 Aug 2010 23:28:46 +0000 (23:28 +0000)]
remove linktool from INSTALLED_APPS

It's not an app in the Django sense. I wonder why I put this there...

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

14 years agoadded missing __init__.py
gfawcett [Mon, 16 Aug 2010 23:21:41 +0000 (23:21 +0000)]
added missing __init__.py

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

14 years agoupdated local copy of fm_IDL.xml (for development only)
gfawcett [Mon, 16 Aug 2010 22:57:24 +0000 (22:57 +0000)]
updated local copy of fm_IDL.xml (for development only)

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

14 years agohandle term-sequencing error in form validation, not just in the model.
gfawcett [Mon, 16 Aug 2010 22:56:30 +0000 (22:56 +0000)]
handle term-sequencing error in form validation, not just in the model.

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

14 years agooops, forgot the migration scripts in @950 (added site.end_term attribute)
gfawcett [Sun, 8 Aug 2010 19:50:54 +0000 (19:50 +0000)]
oops, forgot the migration scripts in @950 (added site.end_term attribute)

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

14 years agoAdded Site.end_term attribute, for modelling multi-term course offerings.
gfawcett [Fri, 6 Aug 2010 02:25:44 +0000 (02:25 +0000)]
Added Site.end_term attribute, for modelling multi-term course offerings.

Replaced 'term' with ('start_term', 'end_term'); 'term' is now a read-only
alias for 'start_term'.

Most sites will have the same value for their start- and end-terms.

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

14 years agomore on linktool (sakai)
gfawcett [Thu, 29 Jul 2010 03:08:02 +0000 (03:08 +0000)]
more on linktool (sakai)

The darn model is trickier than I expected.

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

14 years agofix timespan midpoint arithmetic
gfawcett [Thu, 29 Jul 2010 03:06:19 +0000 (03:06 +0000)]
fix timespan midpoint arithmetic

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

14 years agosakai (linktool) integration almost done...
gfawcett [Wed, 28 Jul 2010 03:17:48 +0000 (03:17 +0000)]
sakai (linktool) integration almost done...

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

14 years agoprogress on sakai (linktool) association with reserves lists.
gfawcett [Tue, 27 Jul 2010 02:45:15 +0000 (02:45 +0000)]
progress on sakai (linktool) association with reserves lists.

Still more to do on the instructor side, re: creating new reserves
Sites, or associating with existing ones.

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

14 years agoreorg of site editing code; starting on smarter sakai-linktool integration
gfawcett [Mon, 19 Jul 2010 01:35:55 +0000 (01:35 +0000)]
reorg of site editing code; starting on smarter sakai-linktool integration

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

14 years agolinktool redirector URL fix.
gfawcett [Fri, 16 Jul 2010 19:56:52 +0000 (19:56 +0000)]
linktool redirector URL fix.

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

14 years agoPreliminary Sakai Linktool support
gfawcett [Fri, 16 Jul 2010 19:37:09 +0000 (19:37 +0000)]
Preliminary Sakai Linktool support

Merged git branch 'linktool-auth' (6aae15a) into 'master'. I used
'--squash', which loses the merge history, but allows the merge to be
committed to SVN ('linktool-auth' was not an SVN branch).

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