Syrup.git
15 years agomissed a go-back
gfawcett [Mon, 4 May 2009 02:21:23 +0000 (02:21 +0000)]
missed a go-back

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

15 years agoadd more 'go back/cancel' links; put consistent wording on them all
gfawcett [Mon, 4 May 2009 02:19:58 +0000 (02:19 +0000)]
add more 'go back/cancel' links; put consistent wording on them all

Beta testers noted that there were many places where a Go-back or
Cancel link was desirable. I've tried to add one in all the obvious
places.

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

15 years agoAdded explanation-text for Resequence Items
gfawcett [Mon, 4 May 2009 01:33:07 +0000 (01:33 +0000)]
Added explanation-text for Resequence Items

Actually, this had been an earlier feature, but a typo had disabled
it. This version is a bit tighter anyway.

If you click on Resequence Items, a short explanatory message will
appear below the link.

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

15 years agoUsers can now self-register for open-access courses.
gfawcett [Mon, 4 May 2009 01:17:16 +0000 (01:17 +0000)]
Users can now self-register for open-access courses.

Previously, all users could view the contents of open-access courses,
but could not register for them. Now there is an option to join an
open-access course, which adds the course to the user's My Courses
list.

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

15 years agohard-coded reference to new z3950 server at Conifer (leddy target).
gfawcett [Fri, 1 May 2009 01:40:02 +0000 (01:40 +0000)]
hard-coded reference to new z3950 server at Conifer (leddy target).

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

15 years agofixed 'Resequence' bug that was affecting Internet Explorer
gfawcett [Fri, 1 May 2009 01:25:24 +0000 (01:25 +0000)]
fixed 'Resequence' bug that was affecting Internet Explorer

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

15 years agocleaned up invitation page; fixed bug in bad-invitation handler.
gfawcett [Mon, 27 Apr 2009 01:58:05 +0000 (01:58 +0000)]
cleaned up invitation page; fixed bug in bad-invitation handler.

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

15 years agoChanged "Add a new course site" to "Create a new course site".
gfawcett [Mon, 27 Apr 2009 01:58:00 +0000 (01:58 +0000)]
Changed "Add a new course site" to "Create a new course site".

Betty Ing suggested this, for consistency. I'm not sure that all the
other "Add a new" links should be changed to "Create a new"s,
though. Creating a course site makes sense to me; but you don't create
a term (though you might add a representation of one to the system).
Opinions welcome.

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

15 years agoadded Y-M-D format cue to Add Term page (to model label, actually).
gfawcett [Mon, 27 Apr 2009 01:57:56 +0000 (01:57 +0000)]
added Y-M-D format cue to Add Term page (to model label, actually).

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

15 years agohm, item-search results should be DISTINCT.
gfawcett [Mon, 27 Apr 2009 00:15:48 +0000 (00:15 +0000)]
hm, item-search results should be DISTINCT.

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

15 years agoEnabled ANON courses. Search and browse results are now limited by user-permissions...
gfawcett [Mon, 27 Apr 2009 00:07:11 +0000 (00:07 +0000)]
Enabled ANON courses. Search and browse results are now limited by user-permissions level.

ANON courses are courses which are open to non-authenticated
users. I'm not sure that this is a good idea yet, but it is useful for
testing.

Browsing will no longer show, for example, courses which the current
user cannot enter. Search will not return items that the current user
cannot view. This is extended to browse-instructors: if the instructor
has no accessible courses, don't bother showing the course.

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

15 years agochanged dwarf references to concat.ca refs. Danger, still too literal...
gfawcett [Mon, 27 Apr 2009 00:07:07 +0000 (00:07 +0000)]
changed dwarf references to concat.ca refs. Danger, still too literal...

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

15 years agoadded TODOs, following a discussion with kgs
gfawcett [Wed, 22 Apr 2009 01:18:45 +0000 (01:18 +0000)]
added TODOs, following a discussion with kgs

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

15 years agolose the PID in the masthead; change E-Reserves to Reserve.
gfawcett [Tue, 21 Apr 2009 23:50:07 +0000 (23:50 +0000)]
lose the PID in the masthead; change E-Reserves to Reserve.

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

15 years agoensure that new items always appear at the end of their heading.
gfawcett [Tue, 21 Apr 2009 23:46:30 +0000 (23:46 +0000)]
ensure that new items always appear at the end of their heading.

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

15 years agofix big cannot-edit-item bug, caused by earlier reloc of all item-based templates.
gfawcett [Tue, 21 Apr 2009 23:17:41 +0000 (23:17 +0000)]
fix big cannot-edit-item bug, caused by earlier reloc of all item-based templates.

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

15 years agofixed bug in item_add_cat_search, due to move of templates.
gfawcett [Thu, 16 Apr 2009 00:29:58 +0000 (00:29 +0000)]
fixed bug in item_add_cat_search, due to move of templates.

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

15 years agofixed error from my views reorganization: missing 'welcome'
gfawcett [Thu, 16 Apr 2009 00:26:04 +0000 (00:26 +0000)]
fixed error from my views reorganization: missing 'welcome'

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

15 years agomoved item-related templates to templates/item/. Updated LICENSE notes; removed outda...
gfawcett [Thu, 16 Apr 2009 00:19:55 +0000 (00:19 +0000)]
moved item-related templates to templates/item/. Updated LICENSE notes; removed outdated .dat file.

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

15 years agobroke up our enormous views.py to several views/* submodules.
gfawcett [Thu, 16 Apr 2009 00:09:02 +0000 (00:09 +0000)]
broke up our enormous views.py to several views/* submodules.

See the new README-VIEWS file for a quick overview.

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

15 years agominor fixes; todo changes
gfawcett [Thu, 16 Apr 2009 00:06:14 +0000 (00:06 +0000)]
minor fixes; todo changes

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

15 years agotiny css tweak
gfawcett [Wed, 15 Apr 2009 02:35:36 +0000 (02:35 +0000)]
tiny css tweak

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

15 years agotweak tweak
gfawcett [Thu, 9 Apr 2009 02:14:54 +0000 (02:14 +0000)]
tweak tweak

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

15 years agocss tweaks
gfawcett [Thu, 9 Apr 2009 02:02:24 +0000 (02:02 +0000)]
css tweaks

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

15 years agocss tweaks
gfawcett [Thu, 9 Apr 2009 01:59:48 +0000 (01:59 +0000)]
css tweaks

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

15 years agobig CSS/HTML overhaul to make Syrup look okay in IE6 (hopefully IE7 too)
gfawcett [Thu, 9 Apr 2009 01:48:20 +0000 (01:48 +0000)]
big CSS/HTML overhaul to make Syrup look okay in IE6 (hopefully IE7 too)

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

15 years agominor HTML adjustments; deleted an old template.
gfawcett [Wed, 8 Apr 2009 23:13:41 +0000 (23:13 +0000)]
minor HTML adjustments; deleted an old template.

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

15 years agoCSS tweaks
gfawcett [Wed, 8 Apr 2009 23:13:38 +0000 (23:13 +0000)]
CSS tweaks

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

15 years agoadded 'relocate' to 'about' pages for consistency. Changed 'put under heading' to...
gfawcett [Wed, 8 Apr 2009 23:13:34 +0000 (23:13 +0000)]
added 'relocate' to 'about' pages for consistency. Changed 'put under heading' to 'relocate'.

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

15 years agofixed more root-related problems
gfawcett [Wed, 8 Apr 2009 19:20:17 +0000 (19:20 +0000)]
fixed more root-related problems

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

15 years agoSIP robustness tweaks, TODO and other housekeeping.
gfawcett [Wed, 8 Apr 2009 02:32:10 +0000 (02:32 +0000)]
SIP robustness tweaks, TODO and other housekeeping.

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

15 years agofixed more absolute-root problems. Introduced ROOT global Genshi variable.
gfawcett [Wed, 8 Apr 2009 01:43:41 +0000 (01:43 +0000)]
fixed more absolute-root problems. Introduced ROOT global Genshi variable.

ROOT can be used in templates: it has the value of the CGI variable
SCRIPT_NAME, so we can use it to determine what the root-prefix of the
app is.

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

15 years agowork in progress: fixing absolute /syrup/ root references.
gfawcett [Tue, 7 Apr 2009 02:08:57 +0000 (02:08 +0000)]
work in progress: fixing absolute /syrup/ root references.

Sorry for checking in partially-working code, but I don't want to list this.

Some /syrup/ root-prefixes are fixed; some are not. Note, this commit
will almost certainly break if running as './manage.py
runserver'. Using mod_python, it should still work:

<Location "/syrup/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE conifer.settings
    PythonOption django.root /syrup
    PythonDebug Off
    PythonPath "['/home/graham/projects/evergreen/servres/'] + sys.path"
</Location>

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

15 years agofor better mod_python deployment, moving all URLs under /syrup/
gfawcett [Tue, 7 Apr 2009 01:42:22 +0000 (01:42 +0000)]
for better mod_python deployment, moving all URLs under /syrup/

That will change next! I will move them all up to a relative root, and
then Apache can decide what the root-prefix will be.

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

15 years agoadded local fm_IDL.xml; may blow this away yet.
gfawcett [Mon, 6 Apr 2009 01:01:33 +0000 (01:01 +0000)]
added local fm_IDL.xml; may blow this away yet.

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

15 years agobaby steps toward a good mod_python deployment.
gfawcett [Mon, 6 Apr 2009 01:01:28 +0000 (01:01 +0000)]
baby steps toward a good mod_python deployment.

This works as is, with a overly-controlling Apache environment:

<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE conifer.settings
    #PythonOption django.root /syrup
    PythonOption django.root
    PythonDebug Off
    PythonPath "['/home/graham/projects/evergreen/servres/'] + sys.path"
</Location>

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

15 years agoTODO updates.
gfawcett [Mon, 6 Apr 2009 01:01:12 +0000 (01:01 +0000)]
TODO updates.

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

15 years agostyle tweak
gfawcett [Mon, 6 Apr 2009 01:01:06 +0000 (01:01 +0000)]
style tweak

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

15 years agofixed bug with paginator on search-results
gfawcett [Mon, 6 Apr 2009 01:01:04 +0000 (01:01 +0000)]
fixed bug with paginator on search-results

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

15 years agotweaks
gfawcett [Sun, 5 Apr 2009 23:49:10 +0000 (23:49 +0000)]
tweaks

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

15 years agodon't try to show item's MARC if it doesn't have one.
gfawcett [Sun, 5 Apr 2009 23:41:53 +0000 (23:41 +0000)]
don't try to show item's MARC if it doesn't have one.

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

15 years agotightened fuzzy-match results: only show items that are not already arrived.
gfawcett [Sun, 5 Apr 2009 23:38:37 +0000 (23:38 +0000)]
tightened fuzzy-match results: only show items that are not already arrived.

Note, having a barcode in metadata isn't enough to mean 'arrived', you
also need a live PhysicalObject (where 'live' means 'no departed
timestamp').

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

15 years agoshow MARC for matching items on 'mark-item-arrived' screen.
gfawcett [Sun, 5 Apr 2009 23:38:32 +0000 (23:38 +0000)]
show MARC for matching items on 'mark-item-arrived' screen.

So, in a thorny case, you can match the barcode-swiped item's bib
record against those in the database.

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

15 years agoforgot to add 'mark_arrived_outcome' template.
gfawcett [Sun, 5 Apr 2009 22:31:06 +0000 (22:31 +0000)]
forgot to add 'mark_arrived_outcome' template.

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

15 years agobetter unique-physical-object detection; friendlier error message on collision.
gfawcett [Sun, 5 Apr 2009 22:27:58 +0000 (22:27 +0000)]
better unique-physical-object detection; friendlier error message on collision.

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

15 years agoclarify how the model knows if an item is 'in Reserves' or not
gfawcett [Sun, 5 Apr 2009 21:32:10 +0000 (21:32 +0000)]
clarify how the model knows if an item is 'in Reserves' or not

A live PhysicalObject record is the authoritative source.

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

15 years agoargh, bugfix in model. Minor tweak to template.
gfawcett [Sun, 5 Apr 2009 21:25:54 +0000 (21:25 +0000)]
argh, bugfix in model. Minor tweak to template.

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

15 years agoAdd small-int at item-arrival; search on small-ints.
gfawcett [Sun, 5 Apr 2009 21:17:25 +0000 (21:17 +0000)]
Add small-int at item-arrival; search on small-ints.

I don't yet have a post-arrival method of setting a small integer
ID. Not sure what the requirements are, so I'm punting for the moment.

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

15 years agofleshing out the mark-item-as-received workflow. New PhysicalObject table. Vestigial...
gfawcett [Sun, 5 Apr 2009 20:42:51 +0000 (20:42 +0000)]
fleshing out the mark-item-as-received workflow. New PhysicalObject table. Vestigial small-integer ID support.

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

15 years agophysical item view: check and display item-status
gfawcett [Sun, 5 Apr 2009 19:18:07 +0000 (19:18 +0000)]
physical item view: check and display item-status

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

15 years agohousekeeping, and farting around fruitlessly with yaz-client encoding issue
gfawcett [Sun, 5 Apr 2009 18:34:25 +0000 (18:34 +0000)]
housekeeping, and farting around fruitlessly with yaz-client encoding issue

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

15 years agovarious & sundry z3950 and MARC-related improvements
gfawcett [Sun, 5 Apr 2009 18:33:55 +0000 (18:33 +0000)]
various & sundry z3950 and MARC-related improvements

Search queries no longer need explicit @and prefixes (they are now implicit);

a cleaner phys-item search-results page. Still only max 10 results showing, though.

various visual improvements.

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

15 years agosettling on JSON as syrup:marc attribute format.
gfawcett [Sun, 5 Apr 2009 15:56:01 +0000 (15:56 +0000)]
settling on JSON as syrup:marc attribute format.

Also extending my yaz_search general-timeout value.

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

15 years agoresequence-items should only show for editors.
gfawcett [Sat, 4 Apr 2009 19:15:45 +0000 (19:15 +0000)]
resequence-items should only show for editors.

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

15 years agoadded 'delete this item' support in the user-interface.
gfawcett [Sat, 4 Apr 2009 19:11:08 +0000 (19:11 +0000)]
added 'delete this item' support in the user-interface.

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

15 years agohack to permit Evergreen bookbag URLs as search-terms in Add Physical Item.
gfawcett [Sat, 4 Apr 2009 17:54:14 +0000 (17:54 +0000)]
hack to permit Evergreen bookbag URLs as search-terms in Add Physical Item.

You still have to pick the items one at a time, still: not a batch import yet.

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

15 years agoadded lib_integration.cat_search as proper hook for z3950. Evergreen URLs are valid...
gfawcett [Sat, 4 Apr 2009 17:23:57 +0000 (17:23 +0000)]
added lib_integration.cat_search as proper hook for z3950. Evergreen URLs are valid search queries.

    It's a hack, but if you paste an Evergreen "title details" URL
    into the catalogue search interface, it will fetch the correct
    MARCXML record and display the item. Currently hard-coded to the
    Conifer catalogue, will fix that.

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

15 years agoItem-checkout code cleanup. Log checkout events. Slightly better error-reporting.
gfawcett [Sat, 4 Apr 2009 16:36:09 +0000 (16:36 +0000)]
Item-checkout code cleanup. Log checkout events. Slightly better error-reporting.

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

15 years agohousekeeping
gfawcett [Sat, 4 Apr 2009 16:36:06 +0000 (16:36 +0000)]
housekeeping

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

15 years agomark phys_mark_arrived as @admin_only
gfawcett [Sat, 4 Apr 2009 02:48:18 +0000 (02:48 +0000)]
mark phys_mark_arrived as @admin_only

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

15 years agoworking on Mark Physical Items As Arrived: fuzzy match is working.
gfawcett [Sat, 4 Apr 2009 02:42:24 +0000 (02:42 +0000)]
working on Mark Physical Items As Arrived: fuzzy match is working.

The fuzzy-match is in place; not tuned yet, but it's there. It's a
relevance-engine based on Levenshtein-distance comparison of the
title, author (and to a lesser degree the publisher and
pubdate). Ideas for improvements are most welcome.

Note that this version of the code takes a full snapshot of the MARC
record when a Physical Item is requested from the catalogue. So there
are more opportunities for item comparison.

The code is a horrible mess. Much cleanup to do.

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

15 years agoon selection of item from catalogue, store whole MARC record
gfawcett [Sat, 4 Apr 2009 02:42:19 +0000 (02:42 +0000)]
on selection of item from catalogue, store whole MARC record

For the moment, I'm storing the MARC in a syrup:marc Metadata
record. The format is not standard yet: I'm writing it out as a JSON
assoc-array.

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

15 years agoon visit to restricted URL, show login form and redirect to destination afterward.
gfawcett [Fri, 3 Apr 2009 23:44:28 +0000 (23:44 +0000)]
on visit to restricted URL, show login form and redirect to destination afterward.

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

15 years agoon SIP checkout, display outcome prettily (with drill-down to SIP fields if desired)
gfawcett [Fri, 3 Apr 2009 23:30:33 +0000 (23:30 +0000)]
on SIP checkout, display outcome prettily (with drill-down to SIP fields if desired)

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

15 years agougly-but-functional SIP patron-check, item-status-check and item checkout.
gfawcett [Fri, 3 Apr 2009 02:45:30 +0000 (02:45 +0000)]
ugly-but-functional SIP patron-check, item-status-check and item checkout.

Needs some configuring at the bottom of settings.py to get the SIP to
work.

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

15 years agoremoved test file.
gfawcett [Fri, 3 Apr 2009 01:31:49 +0000 (01:31 +0000)]
removed test file.

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

15 years agofirst actual SIP integration
gfawcett [Fri, 3 Apr 2009 01:31:41 +0000 (01:31 +0000)]
first actual SIP integration

Doing patron and item-info lookups through SIP. checkout is next. woohoo!

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

15 years agomoved SIP client into conifer.libsystems.sip
gfawcett [Fri, 3 Apr 2009 01:31:34 +0000 (01:31 +0000)]
moved SIP client into conifer.libsystems.sip

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

15 years agohide tab-bar admin-options from non-administrators
gfawcett [Fri, 3 Apr 2009 01:31:27 +0000 (01:31 +0000)]
hide tab-bar admin-options from non-administrators

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

15 years agoa few tweaks to the patron-item mockup
gfawcett [Fri, 3 Apr 2009 01:31:14 +0000 (01:31 +0000)]
a few tweaks to the patron-item mockup

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

15 years agofleshed out mockup of patron item-checkout screen.
gfawcett [Fri, 3 Apr 2009 01:31:06 +0000 (01:31 +0000)]
fleshed out mockup of patron item-checkout screen.

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

15 years agoadded mockup for Physical Item Processing admin-screen
gfawcett [Fri, 3 Apr 2009 01:30:56 +0000 (01:30 +0000)]
added mockup for Physical Item Processing admin-screen

Including a simple form for patron-item checkout.

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

15 years agosearch-box now handles barcode and short-number searches.
gfawcett [Fri, 3 Apr 2009 01:30:52 +0000 (01:30 +0000)]
search-box now handles barcode and short-number searches.

Well, sort of. I'm using Item ID for 'short-number' right now, and
that's not quite correct. Barcode searches are correct, though.

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

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@243 6d9bc8c9-1ec2-4278...
artunit [Thu, 2 Apr 2009 04:15:47 +0000 (04:15 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@243 6d9bc8c9-1ec2-4278-b937-99fde70a366f

15 years agogit-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@242 6d9bc8c9-1ec2-4278...
artunit [Thu, 2 Apr 2009 01:34:25 +0000 (01:34 +0000)]
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@242 6d9bc8c9-1ec2-4278-b937-99fde70a366f

15 years agorequire 'linger' over menublock openers before triggering.
gfawcett [Thu, 26 Mar 2009 15:58:26 +0000 (15:58 +0000)]
require 'linger' over menublock openers before triggering.

These are the little gray arrows beside the item-names that trigger
the 'about/edit' menus to pop up. Previously, if you sailed your mouse
over one of them while moving across the screen, they would pop
open. Aggravating. Now a moment of linger-time (currently 200ms) over
the arrows is needed to trigger the menu. Much nicer.

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

15 years agofixed typo that crept into css; other minor adjustments.
gfawcett [Thu, 26 Mar 2009 02:46:06 +0000 (02:46 +0000)]
fixed typo that crept into css; other minor adjustments.

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

15 years agocleanup of item-metadata interface ('about' links)
gfawcett [Thu, 26 Mar 2009 02:26:35 +0000 (02:26 +0000)]
cleanup of item-metadata interface ('about' links)

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

15 years agougly hack to keep item menublock together (with nbsp's)
gfawcett [Thu, 26 Mar 2009 01:54:00 +0000 (01:54 +0000)]
ugly hack to keep item menublock together (with nbsp's)

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

15 years agomore visual tweaks. It's looking pretty good IMHO.
gfawcett [Thu, 26 Mar 2009 01:36:13 +0000 (01:36 +0000)]
more visual tweaks. It's looking pretty good IMHO.

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

15 years agobetter relocate interface (tree of folders, rather than a wrong-sorted SELECT)
gfawcett [Thu, 26 Mar 2009 01:01:24 +0000 (01:01 +0000)]
better relocate interface (tree of folders, rather than a wrong-sorted SELECT)

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

15 years agofixed jquery-expression error.
gfawcett [Thu, 26 Mar 2009 01:01:21 +0000 (01:01 +0000)]
fixed jquery-expression error.

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

15 years agomore tiny visual tweaks...
gfawcett [Thu, 26 Mar 2009 00:26:11 +0000 (00:26 +0000)]
more tiny visual tweaks...

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

15 years agofixed bug in urls (a typo had crept in)
gfawcett [Thu, 26 Mar 2009 00:26:08 +0000 (00:26 +0000)]
fixed bug in urls (a typo had crept in)

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

15 years agomore visual touch-ups
gfawcett [Thu, 26 Mar 2009 00:26:05 +0000 (00:26 +0000)]
more visual touch-ups

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

15 years agoimproved visual appearance of Resequence Items interface.
gfawcett [Thu, 26 Mar 2009 00:26:02 +0000 (00:26 +0000)]
improved visual appearance of Resequence Items interface.

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

15 years agoturned on 'show full tree' mode. Maybe I will make this an option in
gfawcett [Thu, 26 Mar 2009 00:25:59 +0000 (00:25 +0000)]
turned on 'show full tree' mode. Maybe I will make this an option in
the general user interface.

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

15 years agooops, forgot the item_relocate template.
gfawcett [Wed, 25 Mar 2009 03:39:04 +0000 (03:39 +0000)]
oops, forgot the item_relocate template.

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

15 years agoAdded action to move an item under a different heading.
gfawcett [Wed, 25 Mar 2009 03:39:01 +0000 (03:39 +0000)]
Added action to move an item under a different heading.

It avoids cycles: no headings that are parents of themselves.

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

15 years agoadded item-reordering for subheading-contents as well.
gfawcett [Wed, 25 Mar 2009 02:52:37 +0000 (02:52 +0000)]
added item-reordering for subheading-contents as well.

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

15 years agoUpdated to jQuery 1.3.2. Added "reorder items", you can drag items to change sequence.
gfawcett [Wed, 25 Mar 2009 02:46:34 +0000 (02:46 +0000)]
Updated to jQuery 1.3.2. Added "reorder items", you can drag items to change sequence.

Note that "reorder items" is only at toplevel, I haven't yet written
the handler for resequencing in a subheading. Also, you cannot drag
into a subheading, that was too complicated; I will give an
Edit...Relocate option for that.

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

15 years agolet users edit display-name of physical items, too.
gfawcett [Tue, 24 Mar 2009 03:07:28 +0000 (03:07 +0000)]
let users edit display-name of physical items, too.

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

15 years agomore robust yaz_search.
gfawcett [Tue, 24 Mar 2009 02:38:47 +0000 (02:38 +0000)]
more robust yaz_search.

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

15 years agohackety hack. hackish add-physical-item interface (catalogue search).
gfawcett [Tue, 24 Mar 2009 02:25:29 +0000 (02:25 +0000)]
hackety hack. hackish add-physical-item interface (catalogue search).

It's primitive. Adding a physical item entails doing a catalogue
search, and picking the desired item from the results. This pushes
parts of the MARC record into Syrup as an indicator of the wanted
item. Resolving bib ID or barcode is out of scope, most likely done in
wetware.

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

15 years agoadded search-form (@prefix-style query) to /syrup/graham_z3950_test/
gfawcett [Mon, 23 Mar 2009 01:06:10 +0000 (01:06 +0000)]
added search-form (@prefix-style query) to /syrup/graham_z3950_test/

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

15 years agoZ39.50 + Evergreen demo: are items available, holdable?
gfawcett [Mon, 23 Mar 2009 01:06:07 +0000 (01:06 +0000)]
Z39.50 + Evergreen demo: are items available, holdable?

see /syrup/graham_z3950test/ . I am using Evergreen in this example,
but it could be replaced by SIP or another backend that can take a bib
ID and return availability information.

(If SIP needs a barcode, not bib ID (which I suspect it might), then
we may need another lookup function in the interface. Will investigate.

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

15 years agobugfix in preferences page
gfawcett [Fri, 20 Mar 2009 02:52:45 +0000 (02:52 +0000)]
bugfix in preferences page

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

15 years agoadded user-preference, 'I want email when new items show up.' Prefs UI to change it.
gfawcett [Fri, 20 Mar 2009 02:47:08 +0000 (02:47 +0000)]
added user-preference, 'I want email when new items show up.' Prefs UI to change it.

Still no actual mechanism to send the emails though! That's to come.

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

15 years agorefactored the Browse features. Marked methods proposed for deletion.
gfawcett [Fri, 20 Mar 2009 02:05:16 +0000 (02:05 +0000)]
refactored the Browse features. Marked methods proposed for deletion.

We have some cruft in views.py and urls.py. I'm proposing to cut it
unless artunit can think of a good reason to keep it. I've marked the
methods and URLs with "MARK".

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

15 years agocleanup of UserProfile model. Redefinition of active_instructors. updated Browse...
gfawcett [Fri, 20 Mar 2009 01:48:30 +0000 (01:48 +0000)]
cleanup of UserProfile model. Redefinition of active_instructors. updated Browse Instructors.

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