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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
gfawcett [Fri, 16 Jul 2010 17:38:23 +0000 (17:38 +0000)]
Access-control model changes. Simplistic site-permisisons screen. Schema changes.
The site-permissions screen is unfinished; need ways to add
individuals and external groups. Right now it's mainly informational.
I've taken out the passkey (invitation-code) system for now; it could
easily be reimplemented in terms of a Group with a 'passkey:NNN'
external ID.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@927
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 16 Jul 2010 17:38:20 +0000 (17:38 +0000)]
minor import cleanups
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@926
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 16 Jul 2010 15:39:49 +0000 (15:39 +0000)]
a few minor bug fixes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@925
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:56:53 +0000 (00:56 +0000)]
south migration for unique-name indexes. Run ./manage.py migrate.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@924
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:56:01 +0000 (00:56 +0000)]
tweaks
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@923
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:56 +0000 (00:55 +0000)]
moved marcxml to conifer.libsystems; removed refs to old campus integration module; cleanup.
I've left some of the campus refs, in code that I know is getting an
overhaul soon.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@922
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:50 +0000 (00:55 +0000)]
simplified 'reserves search' function
I broke the search() function into two parts, a request/response outer
function, and an inner function focussed on getting the actual result
sets. Much cleaning up ensued.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@921
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:46 +0000 (00:55 +0000)]
got rid of 'user_filters', moving towards putting filter-clause generators in the model.
So, if you want a clause that would show only Items accessible by the current user:
accessible = Item.objects.filter(Item.filter_for_user(current_user))
filter_for_user() returns a Q() object, which can be combined using
binary ops to construct more complex queries.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@920
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:37 +0000 (00:55 +0000)]
The Great Cleanup
I've made some radical cuts and reorganizations to the source. Most
functions are still working.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@919
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:26 +0000 (00:55 +0000)]
moving to new integration system; dummy item_status integration.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@918
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:13 +0000 (00:55 +0000)]
working around z3950/unicode issues; several minor changes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@917
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:55:06 +0000 (00:55 +0000)]
admin: refresh terms from external system.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@916
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:58 +0000 (00:54 +0000)]
admin: refresh dept/course list from external system
Right now I have a hardcoded list of externals, accessed using the
'hook' system. This needs to change of course.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@915
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:53 +0000 (00:54 +0000)]
changing 'published' to a char field; storing marc record in item. Breaking schema change.
Unicode in Z39.50 results is currently broken.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@914
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:47 +0000 (00:54 +0000)]
Create site, view site, add items to site mostly working again
The 'about/metadata' item links are not working yet. I need to
refactor the add-item forms quite a bit, esp. wrt. consistent metadata
entry.
The site-permissions screen is still a farce, and needs to be
rewritten to address the new membership-group model.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@913
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:42 +0000 (00:54 +0000)]
Changed mind: each Site has exactly one Course, one Term, one Owner. Schema change.
This radically simplifies the design. Access control and
personalization can still be addressed through membership Groups.
There can be only one Site with a given (course, term, owner) triple.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@912
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:27 +0000 (00:54 +0000)]
my test fixture
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@911
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:14 +0000 (00:54 +0000)]
partially-working site-creation
The permissions page is still messed up; and the creation UI is
awful. But it does generate a Site instance.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@910
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:54:04 +0000 (00:54 +0000)]
semi-mechanical translation from 'course' to 'site' inside files.
I'm sure I messed some things up, but it's much closer to being good!
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@909
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:53:57 +0000 (00:53 +0000)]
rename 'course' files to 'site'
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@908
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:53:47 +0000 (00:53 +0000)]
Dang, ReadingList is an awful model name. Starting over as Site; blow your test db away.
Sorry, the schema migration stuff can't handle this; at least I don't
think it's worth the contortions to make it try.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@907
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jul 2010 00:53:40 +0000 (00:53 +0000)]
minor UI tweaks; introduced hook system for miscellaneous customizations.
The hook system is experimental; as the name suggests, it's a
mechanism for declaring and implementing hooks into various parts of
the application. Currently, I've just added one hook for determining
which users should be entitled to create new ReadingLists. We'll see
how it plays out.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@906
6d9bc8c9-1ec2-4278-b937-
99fde70a366f