gfawcett [Thu, 19 Mar 2009 02:01:03 +0000 (02:01 +0000)]
Added Metadata table for optional item attributes. Breaks old model.
Don't yet have a metadata-entry mechanism, other than the Django admin
interface.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@199
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 19 Mar 2009 02:01:00 +0000 (02:01 +0000)]
a couple view tweaks. Feeds won't fail when empty.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@198
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 17:39:07 +0000 (17:39 +0000)]
removed extraneous admin entry point for courses and items
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@196
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 14:58:30 +0000 (14:58 +0000)]
cleaned up z39.50 handling, should be much faster
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@195
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 13:43:09 +0000 (13:43 +0000)]
added links for charges/discharges
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@194
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 13:16:45 +0000 (13:16 +0000)]
browsing z39.50 using paginator
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@193
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 03:33:03 +0000 (03:33 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@192
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 17 Mar 2009 03:31:19 +0000 (03:31 +0000)]
adding some z39.50 searching support
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@191
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 16 Mar 2009 22:51:35 +0000 (22:51 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@190
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 16 Mar 2009 22:48:09 +0000 (22:48 +0000)]
simple decorator add copy to work through courses and items
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@189
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Sat, 14 Mar 2009 04:43:13 +0000 (04:43 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@174
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Fri, 13 Mar 2009 20:28:32 +0000 (20:28 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@173
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 13 Mar 2009 16:14:50 +0000 (16:14 +0000)]
added simple course-browse screen.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@172
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 13 Mar 2009 02:24:15 +0000 (02:24 +0000)]
fixed http-host in feed urls.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@171
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 13 Mar 2009 02:14:54 +0000 (02:14 +0000)]
updated README. Particularly updated the installation-requirements.
Hopefully someone wants to kick the tires soon. Our installation
instructions needed a bit of freshening up.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@170
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 13 Mar 2009 02:06:18 +0000 (02:06 +0000)]
made PyZ3950 optional.
It was hard to install, and we definitely don't have a good dependency
story for our beta testers, so just optionalize it for now. The only
thing that won't work for the moment is our Z39.50 test code;
everything else is good to go.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@169
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 13 Mar 2009 01:57:31 +0000 (01:57 +0000)]
Feeds! Atom feeds for course-site items.
Some notes:
* all feeds are Atom; comments on my Atom details are welcome.
* several different feeds per course site. E.g., just top-level items;
recently-changed items; a walk of all items in the site directory
tree; many others possible.
* by design, the feeds themselves are anonymous-access. I don't see a
real security risk here, but if exposing titles and modification
dates violates some policy, we can change it.
* all links in the feeds refer back to the Reserves system, so they
can be authenticated if necessary. This is also true for "URL items"
-- the Atom link is back to the canonical item-URL in Reserves,
which redirects to the target URL (if you're allowed to know it).
* Django has its own feed system. I tried it, and then chose not to
use it. Genshi does a fine job, and IMHO Django makes it harder to
offer multiple feed-variants on individual items like Courses. It
looks good for simpler feed-needs though, and has the benefit of
supporting both Atom and RSS. (Not that we couldn't do that with
Genshi too.)
There's room for more feed types: "My Courses", "Things in My
Courses", "canned search", etc. Ideas are most welcome.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@168
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 12 Mar 2009 22:44:40 +0000 (22:44 +0000)]
minor i18n fix: cannot gettext-wrap unicode literals, e.g. _(u'foo')
Not sure if this is Babel, gettext, or something else. Anyway, it's fixed.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@167
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 11 Mar 2009 02:31:31 +0000 (02:31 +0000)]
i18n/l10n updates. Added "pick my language" screen. l10n actually works now.
Looks like I had made a bunch of small errors when trying to get
BabelDjango working with our app (and with Genshi). It's all good now,
I think. I've translated two (count 'em! two!) items into French and
verified that they display properly.`
Get translatin'!
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@166
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Tue, 10 Mar 2009 02:56:48 +0000 (02:56 +0000)]
tweaks and documentation.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@165
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Tue, 10 Mar 2009 02:44:47 +0000 (02:44 +0000)]
Added access-controls to admin-option editing; general cleanup of views.py.
Admin-option editing was public; that's changed, you must now be an
'admin' which for now means you are Django's 'user.is_staff'.
I reorganized views.py into more-logical sections, and think we are
going to split it up into multiple views/* files.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@164
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Tue, 10 Mar 2009 00:38:42 +0000 (00:38 +0000)]
Graham's PyZ3950 dependency hack
So I can try out Art's demo code. Will work out the real dependency
problem later.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@163
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 23:49:36 +0000 (23:49 +0000)]
fixed bugs in add/drop sections; was leaving broken section identifiers behind.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@162
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 23:49:30 +0000 (23:49 +0000)]
added some test data for Art.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@161
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 23:49:27 +0000 (23:49 +0000)]
added @members_only decorator; templated the 403 responses.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@160
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 23:49:24 +0000 (23:49 +0000)]
constrain Member class: (course,user) must be unique.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@159
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 9 Mar 2009 23:13:55 +0000 (23:13 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@158
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 02:05:26 +0000 (02:05 +0000)]
preliminary support for course-sections (from an external data source).
See conifer/custom/course_sections.py for the course-section
interface. It's primarily used in the edit-course-permissions handler;
it needs more testing, but appears pretty decent so far.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@157
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 02:05:21 +0000 (02:05 +0000)]
minor UI tweak when changing invitation-code.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@156
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 9 Mar 2009 02:05:18 +0000 (02:05 +0000)]
a slightly better default welcome-page design.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@155
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 20:25:24 +0000 (20:25 +0000)]
style and heading-level changes. Add-new-course now requires an extra perm.
I'm not sure how in practice we will give add-course permissions to
instructors. How do we know which ones are the instructors?
I think our backend for user-information is going to have to grow an
(optional) is_user_an_instructor() test. We can also add an
Instructors group in Django which will give the required permission.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@154
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 20:06:26 +0000 (20:06 +0000)]
renamed add_new_course* files to edit_course*
they were really add/edit forms after all.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@153
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 20:01:46 +0000 (20:01 +0000)]
bugfix: title-lookup error when changing course-code during course-edit.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@152
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 20:01:43 +0000 (20:01 +0000)]
better handling for not-defined items in Genshi
In days of yore, Genshi had special handling for references to
undefined variables. They were basically treated as null/empty values;
they would evaluate as False in tests; and they would display as
''. That changed out from underneath me, somewhere along the Genshi
path. The modern way is to use a test, "defined('foo')" before
attempting to access 'foo'.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@151
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 20:01:40 +0000 (20:01 +0000)]
added "instructors_only" decorator to control access to sensitive URLs
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@150
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 19:28:49 +0000 (19:28 +0000)]
added course-site deletion (insecure)
Haven't done the access control bit yet.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@149
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 19:08:31 +0000 (19:08 +0000)]
better edit-course-permissions screen, separated from edit-course-details.
Still no support for course-sections; coming soon.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@148
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 17:11:14 +0000 (17:11 +0000)]
joining course by invitation code; vestigial edit-course-permissions screen.
I want to rework the course-permissions screen though, I don't like
that permissions are spread across two pages.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@147
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 01:57:06 +0000 (01:57 +0000)]
improved display of courses without course codes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@146
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 01:49:33 +0000 (01:49 +0000)]
UI support for editing course details
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@145
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 01:49:15 +0000 (01:49 +0000)]
improved display of courses without course codes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@144
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 01:48:58 +0000 (01:48 +0000)]
more work on new-course; changes to Course model; various bugfixes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@143
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 8 Mar 2009 01:48:42 +0000 (01:48 +0000)]
external course-lookup; continuing work on new-course-site creation.
custom/course_codes.py generalizes the validation of course-codes and
lookup (in an external system) of information related to course-codes.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@142
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 4 Mar 2009 03:17:42 +0000 (03:17 +0000)]
vestigal add-new-course interface.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@137
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 4 Mar 2009 02:08:42 +0000 (02:08 +0000)]
fixed over-specialization bug in generics.py.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@136
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 4 Mar 2009 01:33:53 +0000 (01:33 +0000)]
i18n review -- tagged all the English literals, rebuilt POT
There are a couple oddballs that I'm not sure how to handle. For
exmaple, how does one internationalize an HTML literal like "This is a
subproject of <a href="...">Project Conifer</a>."? I don't see
anything in Babel that has the right kind of smarts for this. Must ask
an i18n guru.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@135
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 4 Mar 2009 01:33:21 +0000 (01:33 +0000)]
added news-item admin tool
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@134
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 2 Mar 2009 04:09:18 +0000 (04:09 +0000)]
Admin options for editing terms, deparments: generic indexes and forms.
The big change in this rev is introduction of the Django 'newforms'
system. Since we're using Genshi (not Django templating), newforms
seemed a bad fit. But I think I've got a fairly nice compromise
between Django and Genshi going on in my generics.py.
See the ModelForm subclasses in views.py: the Index attribute is
novel, and specific to the generics.py system.
There is still more to do here, notably figuring out how to handle
permissions and i18n.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@133
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 1 Mar 2009 21:18:50 +0000 (21:18 +0000)]
generic make-a-user from backend data source
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@132
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 1 Mar 2009 21:18:17 +0000 (21:18 +0000)]
added Markdown/HTML support for news items
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@131
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 1 Mar 2009 19:21:43 +0000 (19:21 +0000)]
heh, EG auth backend must support usernames other than 'admin'
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@130
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 1 Mar 2009 03:29:48 +0000 (03:29 +0000)]
added Django authentication-backend
It authenticates users against an Evergreen server via XMLRPC (for
simplicity: XMLRPC requires no third-party modules). Just set the
EVERGREEN_XMLRPC_SERVER to a valid host and away you go.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@129
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 20 Feb 2009 20:04:55 +0000 (20:04 +0000)]
SIP: added ITEM_INFORMATION and ITEM_INFO_RESP messages.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@128
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Fri, 20 Feb 2009 18:55:25 +0000 (18:55 +0000)]
baby steps toward a Python SIP client for ereserve/ils interaction.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@127
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 19 Feb 2009 02:29:35 +0000 (02:29 +0000)]
rough in-app editing of course items; no longer based on Django admin ui.
I also did some housekeeping in genshi_namespace, which was getting
cluttered: moved some URL-of-item functions into models, as methods of
the classes in question.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@126
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 18 Feb 2009 04:15:31 +0000 (04:15 +0000)]
removed obsolete item.xhtml (merged into course.xhtml)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@125
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 18 Feb 2009 04:02:29 +0000 (04:02 +0000)]
added in-course search; refactored course template code
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@124
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Wed, 18 Feb 2009 04:02:21 +0000 (04:02 +0000)]
relaxed model a bit
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@123
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 14 Feb 2009 22:24:17 +0000 (22:24 +0000)]
mostly navigation and appearance changes.
- no longer showing an expanded tree of all course items; it's
overwhelming in full sites. Only show first level elements;
- cleaned up the in-course breadcrumbs a bit;
- fixed page width to a 960px layout;
- put course-name and department information in a coloured band to
separate from the course content.
- etc.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@122
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Tue, 27 Jan 2009 02:28:30 +0000 (02:28 +0000)]
minor UI tweaks; attachment-links now open directly
(rather than having to click on the About page and then click on
'download')
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@121
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 26 Jan 2009 18:43:17 +0000 (18:43 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@120
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 26 Jan 2009 00:12:53 +0000 (00:12 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@119
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Sun, 25 Jan 2009 23:43:53 +0000 (23:43 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@118
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Sun, 25 Jan 2009 21:25:49 +0000 (21:25 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@117
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Thu, 15 Jan 2009 03:21:55 +0000 (03:21 +0000)]
Basic support for Electronic docs (file uploads).
It's ugly, but the mechanism works. This commit changes the Item
model; if you don't want to rebuild your tables you can do this:
sqlite3 syrup.sqlite "alter table syrup_item add column
fileobj_mimetype varchar(128) NULL;"
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@113
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 12 Jan 2009 02:30:24 +0000 (02:30 +0000)]
The URL of a "URL item" is now its URL.
That is, if an item is of the "URL" type, and you ask the system for
the display-URL of the item, you'll get the payload URL, rather than a
system URL that redirects to the payload. The upside of this is that
the target URL is visible in the status-bar when the user hovers over
it, and that's good for usability IMHO.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@111
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Mon, 12 Jan 2009 02:21:02 +0000 (02:21 +0000)]
bugfix in item_add handler
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@110
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 23:44:34 +0000 (23:44 +0000)]
Fix for borked last commit (forgot the hide-edit-links code).
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@109
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 23:44:27 +0000 (23:44 +0000)]
basic access-controls on adding/editing items; added phys-item icon.
Only instructors and proxy-instructors can add items. We hide
edit-links if user isn't an editor.
The physical item icon could be improved.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@108
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 22:29:03 +0000 (22:29 +0000)]
added world-icon for URL items
Icon borrowed from Tango project (License and Readme are in the
folder).
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@107
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 21:55:49 +0000 (21:55 +0000)]
more CSS and display tweaks.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@106
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 21:55:40 +0000 (21:55 +0000)]
Oops forgot the add-URL template for r103
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@105
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 21:55:34 +0000 (21:55 +0000)]
about/edit links on left. Better?
I'm not sure it is. I want to keep a copy of the css though.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@104
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 04:04:16 +0000 (04:04 +0000)]
Basic UI support for adding URL items.
Will need some refactoring.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@103
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 04:01:41 +0000 (04:01 +0000)]
renamed item-add, since it's heading-specific.
Probably better to factor this template out. Real items have more in
common with each other.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@102
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 02:18:31 +0000 (02:18 +0000)]
UI support for adding subheadings.
It's a start. No other types of item can be added yet. Subheadings can
be nested arbitrarily deep. Note, there are no access controls yet!
Also tweaked search-results so that results link to the found items.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@101
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sun, 11 Jan 2009 02:11:40 +0000 (02:11 +0000)]
added function to derive URLs for courses
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@100
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 10 Jan 2009 21:02:08 +0000 (21:02 +0000)]
Tightened up login-form, welcome page
* Added a tab-bar for anonymous users, and dropped the ugly right-side panel
* Login form returns with an error instead of an ugly text-message
* Logout returns you to the Home page
* Cleaned up the tab-bar a bit; some items there really belong elsewhere.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@99
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 10 Jan 2009 21:01:42 +0000 (21:01 +0000)]
added placeholder template for browse_courses
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@98
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Sat, 10 Jan 2009 19:39:35 +0000 (19:39 +0000)]
using locals() in search-results.
This works because locals is a dict, and .render expects keyword args,
and you can supply a dict as a keyword set using the **dict syntax.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@97
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 6 Jan 2009 03:09:44 +0000 (03:09 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@94
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 5 Jan 2009 02:52:07 +0000 (02:52 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@93
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 5 Jan 2009 01:47:18 +0000 (01:47 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@92
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Sun, 4 Jan 2009 02:47:10 +0000 (02:47 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@91
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Fri, 2 Jan 2009 22:03:23 +0000 (22:03 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@90
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 23 Dec 2008 03:50:44 +0000 (03:50 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@89
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 23 Dec 2008 03:42:50 +0000 (03:42 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@88
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 23 Dec 2008 03:30:34 +0000 (03:30 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@87
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 23 Dec 2008 03:11:17 +0000 (03:11 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@86
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 21:47:17 +0000 (21:47 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@85
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 20:54:35 +0000 (20:54 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@84
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 20:05:06 +0000 (20:05 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@83
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 20:04:49 +0000 (20:04 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@82
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 19:21:42 +0000 (19:21 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@81
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 19:01:40 +0000 (19:01 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@80
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 16 Dec 2008 18:19:41 +0000 (18:19 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@79
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 9 Dec 2008 03:05:17 +0000 (03:05 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@78
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
gfawcett [Tue, 2 Dec 2008 01:24:48 +0000 (01:24 +0000)]
more work on Item class; refactoring and cleanup of template code.
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@75
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Tue, 2 Dec 2008 01:02:22 +0000 (01:02 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@74
6d9bc8c9-1ec2-4278-b937-
99fde70a366f
artunit [Mon, 1 Dec 2008 19:01:20 +0000 (19:01 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@68
6d9bc8c9-1ec2-4278-b937-
99fde70a366f