leihs 2.9.3 is now available as .zip and as .tar.gz package, as usual at SourceForge, the portal for free and open source software:
Changes since version 2.9.2:
- Hand over pages perform much faster because only the data that’s actually needed is transmitted.
- The availability graph now shows both the group counts and the total number of available items
- The availability graph now shows reservations from “far in the future” and “far in the past” even on the current date. This should help figure out when a very old or future (but assigned) reservation is blocking an item
- Code is cleaner in many areas, especially the availability graph and inventory code assignment JavaScripts
- There is early documentation for hooking up to LDAP
- Many layouts moved to HAML in preparation for our upgrade to Rails 3.1
- Dozens of bugs fixed!
Have fun and let us know if there are any problems!
Installing/upgrading via git
The latest stable commit is tagged 2.9.3 on the master branch.
If you’ve never cloned leihs via Git, you can get a fresh copy like this:
git clone git://github.com/psy-q/leihs.git leihs
cd leihs
git checkout -b my_leihs 2.9.3
If you already have a “leihs” directory with a Git clone of leihs, you can update your version like this, inside your leihs directory.
Make sure to have a backup copy of your configuration files before starting this (config/database.yml, config/environment.rb, config/LDAP.yml). Alternatively, you could just store those files outside your leihs directory and symlink them into it, so that git mostly ignores them.
git fetch
git checkout my_leihs
git merge 2.9.3
RAILS_ENV=production rake db:migrate
This is for a production environment. If your copy of leihs is in development mode, you can leave off the RAILS_ENV=production.
Please let us know if you run into problems with these instructions.