Syrup.git
15 years agobugfix: title-lookup error when changing course-code during course-edit.
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

15 years agobetter handling for not-defined items in Genshi
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

15 years agoadded "instructors_only" decorator to control access to sensitive URLs
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

15 years agoadded course-site deletion (insecure)
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

15 years agobetter edit-course-permissions screen, separated from edit-course-details.
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

15 years agojoining course by invitation code; vestigial edit-course-permissions screen.
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

15 years agoimproved display of courses without course codes.
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

15 years agoUI support for editing course details
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

15 years agoimproved display of courses without course codes.
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

15 years agomore work on new-course; changes to Course model; various bugfixes.
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

15 years agoexternal course-lookup; continuing work on new-course-site creation.
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

15 years agovestigal add-new-course interface.
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

15 years agofixed over-specialization bug in generics.py.
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

15 years agoi18n review -- tagged all the English literals, rebuilt POT
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

15 years agoadded news-item admin tool
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

15 years agoAdmin options for editing terms, deparments: generic indexes and forms.
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

15 years agogeneric make-a-user from backend data source
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

15 years agoadded Markdown/HTML support for news items
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

15 years agoheh, EG auth backend must support usernames other than 'admin'
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

15 years agoadded Django authentication-backend
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

15 years agoSIP: added ITEM_INFORMATION and ITEM_INFO_RESP messages.
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

15 years agobaby steps toward a Python SIP client for ereserve/ils interaction.
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

15 years agorough in-app editing of course items; no longer based on Django admin ui.
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

15 years agoremoved obsolete item.xhtml (merged into course.xhtml)
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

15 years agoadded in-course search; refactored course template code
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

15 years agorelaxed model a bit
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

15 years agomostly navigation and appearance changes.
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

15 years agominor UI tweaks; attachment-links now open directly
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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@120 6d9bc8c9-1ec2-4278...
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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@119 6d9bc8c9-1ec2-4278...
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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@118 6d9bc8c9-1ec2-4278...
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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@117 6d9bc8c9-1ec2-4278...
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

15 years agoBasic support for Electronic docs (file uploads).
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

16 years agoThe URL of a "URL item" is now its URL.
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

16 years agobugfix in item_add handler
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

16 years agoFix for borked last commit (forgot the hide-edit-links code).
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

16 years agobasic access-controls on adding/editing items; added phys-item icon.
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

16 years agoadded world-icon for URL items
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

16 years agomore CSS and display tweaks.
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

16 years agoOops forgot the add-URL template for r103
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

16 years agoabout/edit links on left. Better?
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

16 years agoBasic UI support for adding URL items.
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

16 years agorenamed item-add, since it's heading-specific.
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

16 years agoUI support for adding subheadings.
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

16 years agoadded function to derive URLs for courses
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

16 years agoTightened up login-form, welcome page
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

16 years agoadded placeholder template for browse_courses
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

16 years agousing locals() in search-results.
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@94 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@93 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@92 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@91 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@90 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@89 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@88 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@87 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@86 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@85 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@84 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@83 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@82 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@81 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@80 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@79 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@78 6d9bc8c9-1ec2-4278...
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

16 years agomore work on Item class; refactoring and cleanup of template code.
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@74 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@68 6d9bc8c9-1ec2-4278...
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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@67 6d9bc8c9-1ec2-4278...
artunit [Mon, 1 Dec 2008 17:00:54 +0000 (17:00 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@67 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@66 6d9bc8c9-1ec2-4278...
artunit [Fri, 28 Nov 2008 21:13:01 +0000 (21:13 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@66 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@65 6d9bc8c9-1ec2-4278...
artunit [Fri, 28 Nov 2008 14:59:23 +0000 (14:59 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@65 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@64 6d9bc8c9-1ec2-4278...
artunit [Fri, 28 Nov 2008 03:19:15 +0000 (03:19 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@64 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agofixed item-link error in components/item.xhtml
gfawcett [Fri, 28 Nov 2008 03:13:16 +0000 (03:13 +0000)]
fixed item-link error in components/item.xhtml

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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@62 6d9bc8c9-1ec2-4278...
artunit [Fri, 28 Nov 2008 02:45:22 +0000 (02:45 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@62 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@61 6d9bc8c9-1ec2-4278...
artunit [Thu, 27 Nov 2008 14:50:42 +0000 (14:50 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@61 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agoadded specialized views for subheadings, items with URLs
gfawcett [Thu, 27 Nov 2008 02:35:24 +0000 (02:35 +0000)]
added specialized views for subheadings, items with URLs

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

16 years agoimproved item display; added item-metadata page
gfawcett [Thu, 27 Nov 2008 00:59:44 +0000 (00:59 +0000)]
improved item display; added item-metadata page

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

16 years agoCourse.item_tree working, sample display code in course_detail.xhtml
gfawcett [Thu, 27 Nov 2008 00:59:41 +0000 (00:59 +0000)]
Course.item_tree working, sample display code in course_detail.xhtml

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

16 years agocleanup of syrup folder; documentation stub for Course.item_tree
gfawcett [Tue, 25 Nov 2008 03:33:21 +0000 (03:33 +0000)]
cleanup of syrup folder; documentation stub for Course.item_tree

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

16 years agomade Item.fileobj optional, minor doc update.
gfawcett [Tue, 25 Nov 2008 03:20:02 +0000 (03:20 +0000)]
made Item.fileobj optional, minor doc update.

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

16 years agoadded primitive Item model. See comments.
gfawcett [Tue, 25 Nov 2008 02:50:01 +0000 (02:50 +0000)]
added primitive Item model. See comments.

In ReservesDirect, an item representation is spread across several
tables. I propose that we try to model an item as a row in a single
table, and include columns for the item metadata as well as its
physical status (if any) and content (if any).

Perhaps it will become clear why RD uses so many tables, and I'll see
the error of my ways. :-) But it seems wise to start with the simplest
data model that might work, and extend from there.

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

16 years agofleshing out the Item model
gfawcett [Tue, 25 Nov 2008 02:49:59 +0000 (02:49 +0000)]
fleshing out the Item model

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

16 years agoincomplete, adding Item classes to model
gfawcett [Tue, 25 Nov 2008 02:49:56 +0000 (02:49 +0000)]
incomplete, adding Item classes to model

A work in progress, I'm trying to refactor the RD item schema, which
involves a whole whack of tables.

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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@44 6d9bc8c9-1ec2-4278...
artunit [Mon, 24 Nov 2008 21:28:54 +0000 (21:28 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@44 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@43 6d9bc8c9-1ec2-4278...
artunit [Mon, 24 Nov 2008 21:26:14 +0000 (21:26 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@43 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@42 6d9bc8c9-1ec2-4278...
artunit [Mon, 24 Nov 2008 21:25:51 +0000 (21:25 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@42 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@41 6d9bc8c9-1ec2-4278...
artunit [Mon, 24 Nov 2008 20:05:45 +0000 (20:05 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@41 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@40 6d9bc8c9-1ec2-4278...
artunit [Mon, 24 Nov 2008 19:27:56 +0000 (19:27 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@40 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@39 6d9bc8c9-1ec2-4278...
artunit [Fri, 21 Nov 2008 04:40:11 +0000 (04:40 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@39 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agominor refactoring and docification of genshi support
gfawcett [Fri, 21 Nov 2008 00:13:56 +0000 (00:13 +0000)]
minor refactoring and docification of genshi support

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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@37 6d9bc8c9-1ec2-4278...
artunit [Thu, 20 Nov 2008 20:45:10 +0000 (20:45 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@37 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agoadded commit-on-success transaction manager
gfawcett [Thu, 20 Nov 2008 04:49:38 +0000 (04:49 +0000)]
added commit-on-success transaction manager

This is a smart default: each HTTP request is handled within a
discrete database transaction. If an unhandled exception occurs during
the request, the transaction is rolled back.

Maybe we'll want to rethink this later, and use a more fine-grained
approach.

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

16 years agoadded jquery-tablesorter to open_courses; License notes
gfawcett [Thu, 20 Nov 2008 04:26:51 +0000 (04:26 +0000)]
added jquery-tablesorter to open_courses; License notes

I'm not happy with having to add JavaScript to open_courses.xhtml; it
should have been in the paginate.xhtml file. Must figure out how to
move it there.

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

16 years agomade i18n optional in genshi_support
gfawcett [Thu, 20 Nov 2008 03:44:28 +0000 (03:44 +0000)]
made i18n optional in genshi_support

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

16 years agofollowing Art's lead with a open_courses template
gfawcett [Thu, 20 Nov 2008 03:26:01 +0000 (03:26 +0000)]
following Art's lead with a open_courses template

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

16 years agointermediary commit before loading Art's changes
gfawcett [Thu, 20 Nov 2008 03:25:59 +0000 (03:25 +0000)]
intermediary commit before loading Art's changes

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

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@31 6d9bc8c9-1ec2-4278...
artunit [Thu, 20 Nov 2008 00:46:51 +0000 (00:46 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@31 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@30 6d9bc8c9-1ec2-4278...
artunit [Wed, 19 Nov 2008 22:58:14 +0000 (22:58 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@30 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@29 6d9bc8c9-1ec2-4278...
artunit [Wed, 19 Nov 2008 22:28:15 +0000 (22:28 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@29 6d9bc8c9-1ec2-4278-b937-99fde70a366f

16 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@28 6d9bc8c9-1ec2-4278...
artunit [Wed, 19 Nov 2008 22:24:02 +0000 (22:24 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@28 6d9bc8c9-1ec2-4278-b937-99fde70a366f