Release Info

Development Version!

Changes since last release:
admin 960831b1a..8327fdc5b:
  > chore: update database
  > Include customer_orders in user/transfer, fixes 912
  > Exact e-mail address match in `/users/` search, feature 913
  > Add and use secondary_email, fixes 901
  > Add secondary_email and migration, fixes 901
  > update leihs-ui
  > cider: trial attachments

borrow 5193f89a9..d866ab964:
  > chore: update database, legacy-api
  > Add secondary_email and migration, fixes 901
  > simplify macros use
  > leihs-ui: fix react bundling
  > [WIP] mfa/master
  > leihs-ui: fix the link for model grid borrow app
  > show cover image if available
  > don't show user select box if no delegations
  > fetch current user only if not already in ls
  > timestamps for frontend
  > dont put errors into ls

database 9ac995331..c4b8b08e4:
  > Fix migration
  > Add secondary_email and migration, fixes 901

legacy 825207825..bdd2946aa:
  > Fix migration
  > Add and use secondary_email, fixes 901
  > Add secondary_email and migration, fixes 901
  > Adjust restore script to run on PG10 (only)

mail 214d6dac9..27971dc02:
  > chore: update database
  > Add secondary_email and migration, fixes 901

my 628e1a35c..96f888065:
  > chore: update database
  > Add secondary_email and migration, fixes 901
  > update leihs-ui

procure b6d2ff5db..7d4d3efc9:
  > chore: update database
  > Add secondary_email and migration, fixes 901
  > update leihs-ui
Current Release
  • feat: Add secondary_email, admin/users e-mail match, fixes 901, 912, and 913
  • fix: legacy: ui: use new handover-purpose icon in menu
  • deploy: fix: release notes
  • borrow: wip
Previous Releases

Leihs 5.2.2

  • feat: add purpose to orderless reservations on handover
  • fix: ui: HandoverAutocomplete positioning

Leihs 5.2.1

  • fix: Extend inventory-pool users/groups role filter with ‘none’ and ‘any’
  • fix: DB schema restricts group roles
  • feat: borrow app: delegations
  • deploy: ruby: bundler flags

Leihs 5.2.0

  • feat: legacy: inventory: categories: expand/close all
  • feat: legacy: cover image for models
  • feat: admin & legacy: expand roles system to groups
  • feat: legacy: search after models in visits
  • feat: Sign up via ext auth
  • feat: borrow app: invalidate cart if conflicts
  • feat: borrow app: model search/filters
  • feat: borrow app: current user show
  • feat: borrow app: pools
  • fix: consider all days for workload
  • fix: legacy: retired items and inactive pools combination
  • fix: performance issues for borrow categories and models
  • fix: procure: display of the accounting fields
  • fix: admin: create mail templates together with pool
  • fix: legacy: maintenance period considers closed days now
  • fix: Some UI improvement and fixes
  • fix: legacy: missing translations and other stuff
  • fix: procure: add missing translations
  • fix: borrow app: fix special per page setting
  • fix: legacy: allow take back for user without access
  • fix: admin: sort pools in menu by name
  • deploy: cleanup, fixes, build cache, Docker
  • chore: borrow: kebab-case keys in data and errors
  • chore: Reconcile SMTP ENV var names; update clj-shared
  • chore: borrow: clean up app-db
  • chore: borrow: boot: exclude js from watch task
  • chore: borrow: move client sources
  • database: pool workday constraint

Leihs 5.1.10

  • feat: Add and mange group_access_rights
  • fix: legacy: fix: scope model’s compatibles in borrow
  • fix: legacy: fix: ui: show linebreaks in model description
  • fix: legacy: fix: error when assigning a retired item
  • fix: legacy: fix week number for contract
  • fix: procure: show only close button for past budget period
  • fix: Admin: fix and spec show inventory_pools_roles (bugs 798, 787)
  • fix: Resurrect inventory export
  • fix: mail: fix logging
  • fix: user with deactivated language
  • fix: DB: make sure “FIRSTNAME LASTNAME” is found in users search
  • chore: database: add procurement organizations constraint
  • chore: shared-clj: return_to inside jwt token
  • chore: database: add foreign key constraints to orders

Leihs 5.1.9

  • fix: ruby security 2.6.6

Leihs 5.1.8

  • feat: Inventory-pool administration, deleted_at, suspensions
  • fix: legacy: reorder reservations for hand over
  • fix: database & deploy: ensure exactly one default language which is active too
  • fix: create workday along with inventory-pool
  • chore: database: index on access_rights on user and pool

Leihs 5.1.7

  • legacy: reservation’s default scope only created_at
  • chore: Add smtp_authentication_type setting

Leihs 5.1.6

  • fix: legacy: deal with reservation_advance_days nil
  • fix: legacy: better error message & audits for assigned items
  • fix: my: password reset email case insensitive
  • deploy: Generalize CI deploy, template settings
  • deploy: export secret in execute script play

Leihs 5.1.5

  • mail: support smtp auth
  • inventory/deploy: add ffzh-prod

Leihs 5.1.4

  • fix: Admin: Extend delete and transfer to include more fkeys

Leihs 5.1.3

  • chore: Convert extended_info to json(b), expose it via admin API and UI
  • deploy: fixes for demo host

Leihs 5.1.4

  • fix: Admin: Extend delete and transfer to include more fkeys

Leihs 5.1.3

  • chore: Convert extended_info to json(b), expose it via admin API and UI
  • deploy: fixes for demo host

Leihs 5.1.2

  • bug: admin: bugfixes
  • deploy: enable mails on ffzh-staging

Leihs 5.1.1

  • bug: legacy: fix approvable vs. submittable reservation
  • feat: Admin: access user/img_digest from the frontend
  • deploy: Support Debian Buster; add container test
  • deploy: ffzh: upgrade to 5.1 fixes
  • chore: Container tests: increase prepare timeout

Leihs 5.1.0

  • bug: legacy: missing validation for reservation advance days
  • bug: legacy: label for audits options
  • bug: global navbar issues
  • feat: Audits: new tables, stored procs, triggers, enabled for new admin scope, no UI yet
  • feat: password reset via email
  • feat: Support ext auth sign-out callback
  • feat: admin: archiving audits
  • feat: my: sign-in-ui: only show password input if usable
  • feat: legacy: Revert “make some settings readonly”
  • feat: inventory: csv export: add Delegation user info if borrowed
  • feat: legacy: change attachments field permissions
  • chore: deploy: demo: reset dump playbook
  • chore: deploy: Improve systemd service definitions
  • chore: deploy: Replace http shutdown with pid shutdown

Leihs 5.0.4

  • feat: legacy: maximum reservation time
  • feat: procure: improve filter UX
  • fix: non-deterministic group allocation in availability
  • fix: legacy: mails and users with no language
  • fix: legacy: find and load also empty attachments
  • fix: legacy: migrate attachments add constraints
  • fix: procure: fix filter when loosing inspector rights
  • deploy: chore: remove duplicated config
  • documentation: availability

Leihs 5.0.3

  • feat: Database audits clean-up
  • feat: procure: upload new category image
  • feat: locale handling, translate home and sign-in
  • fix: mails and users with no language
  • fix: Extend api-tokens with system-admin scopes
  • fix: procure: RequestForm supplier_name field
  • fix: legacy: removal of a member of delegation with open reservations
  • fix: legacy: fix: inconsistent delegated user for an order
  • chore: Set up caching via apache for /my and /admin
  • deploy: enable configuring languages

Leihs 5.0.2

  • feat: show quantity in borrow returns
  • feat: sort items by inventory code in inventory
  • feat: support AAI/Switch authentication systems
  • fix: autocomplete for adding items to a package
  • fix: inventory: barcode scanner support for edit package > add item input
  • fix: mail templates migration for empty database
  • fix: manage: create inventory search field only searches when term is given
  • fix: manage: inconsistent delegated user for an order
  • fix: my: show user name as in admin
  • fix: navbar: don’t show sub app if only one app
  • fix: procure: handle if settings are empty
  • fix: procure: presence of 0 for quantities
  • fix: procure: wrong sums for requester
  • fix: procurement: fix request creation
  • fix: redirects
  • fix: release info on the login page
  • fix: sign in: autoFocus the user input field
  • fix: sign-in: dont autocapitalize username (on mobile)
  • translations: admin statistics
  • deploy: add SyslogIdentifier for all systemd services
  • deploy: add caching for build artefacts
  • deploy: db restore vacuum analyze
  • deploy: fix missing services for stop task
  • deploy: fix monit stop/start
  • deploy: fix: add missing secret to legacy cron job

Leihs 5.0.1

We recommend existing instances to wait for v5.1 to upgrade their system (First time installations can use V5.0)

See v5.0.0 for list of breaking changes.

Fixes

  • Fixed login using password of certain formats
  • Fixed the post-login redirection which did not succeed for some users
  • Fixed broken display of delegation name in global search
  • Improved rendering process to be more resilient

Leihs 5.0.0

We recommend existing instances to wait for v5.1 to upgrade their system (First time installations can use V5.0)

Breaking Changes:

  • The existing LDAP-adapter concept has been replaced by a general leihs authentication-API (Example code available)
  • Modernised internal password hashing - existing passwords are not valid anymore. Managers or Admins need to enter a new password for them.

Rewrite of authentication

  • Possibility to manage Authentication-Systems in Admin section
  • New sign-in UI for internal and external accounts
  • Sign-in via email address or login (username)
  • Modernised internal password hashing - existing passwords are not valid anymore
  • The existing LDAP-adapter concept has been replaced by a general leihs authentication-API (Example code available)

User accounts

  • No fields are mandatory anymore
  • Possibility to create api-tokens for users

Admin

  • New Admin-application
  • New API to sync users and groups from an external system
  • New entity “groups”
  • Replaced: Manage users
  • Replaced: Manage Delegations Rewrite and redesign of the delegations page in Admin section

Procurement

  • Rewrite of the Procurement app (German only at the moment)
  • Can be used on mobile devices
  • New role “Viewer” - only views requests

Leihs 4.19.5

  • fix: orders index for hand over via post

Leihs 4.19.4

  • fix: mail templates migration for empty database

Leihs 4.19.3

  • fix: redirect to root when not logged into procurement

Leihs 4.19.2

  • fix: show textarea for model description and make all of them resizable
  • fix: missing new for software constructor

Leihs 4.19.1

  • fix: quick fix for prod to not loose package children in inventory helper

Leihs 4.19.0

  • feature: better information for entitlements conflicts
  • feature: inventory helper in react
  • fix: labels and titles for create package
  • fix: create model i18n
  • fix: for manage fields in inventory pool show status and target type
  • fix: add more columns to admin quick export
  • chore: create model in react
  • fix: remove deactivation of form fields per user
  • feature: refactor package ui
  • fix: add item properties as columns to quick export

Leihs 4.18.0

  • feature: enable and disable fields per inventory pool
  • feature: quick inventory export in admin
  • fix: sort pools alphabetically for borrow

Leihs 4.17.0

  • feat: send submitted order email
  • feat: improve field editor
  • fix: in field editor if you delete default value then choose another default value
  • fix: add lost styles for timeline again
  • fix: show max 100 results and debounce for autocomplete
  • fix: borrow calendar reload button
  • fix: borrow: set purpose as required field on order submit
  • translation: translate errors in borrow
  • translation: booking calendar translation
  • fix: show timeline in new tab for edit order

Leihs 4.16.1

  • fix: availability & retired items in borrow

Leihs 4.16.0

  • feat: simplify borrow inventory pools list
  • fix: hiding fields in create item was not working anymore
  • fix: dont allow to deactivate required fields in field editor for static fields
  • fix: calendar when max visits not defined
  • fix: ui-datepicker styles
  • fix: translation in borrow pools
  • fix: links in the new timeline
  • fix: show only pools with borrowable items in borrow models index
  • fix: daily view visits links
  • fix: borrow: templates order form
  • chore: refactor and improve performance

Leihs 4.15.0

  • feat: react booking calendar in borrow everywhere
  • feat: admin field editor
  • fix: borrow: deal with undefined max_visits in calendar
  • fix: borrow: templates order form UX
  • fix: simplify borrow inventory pools list
  • fix: more robust settings initializer
  • fix: various things in visits index
  • fix: borrow calendar back button
  • fix: error on templates page with session storage true
  • fix: empty start/end date in session storage
  • fix: show item count per room and inventory codes if less than 100
  • fix: room diff outputs not the items with unknown rooms but unly the unknown rooms
  • fix: make some settings readonly
  • fix: dont allow to deactivate required fields in field editor for static fields
  • fix: hiding fields in create item was not working anymore
  • translation: delete model error message
  • chore: remove paperclip from migrations #3
  • chore: remove inventory_pool_id from entitlements

Leihs 4.14.2

  • feat: new Timeline

Leihs 4.14.1

  • fix: borrow pools index and calendar on models show

Leihs 4.14.0

  • feat: verification filter for visits list
  • fix: rewritten booking calendar in ‘borrow’ section
  • fix: do not use category filter on inventory list for options tab
  • fix: when creating Models, dont save if errors
  • chore: refactor and improve borrow booking calendar
  • chore: container-test: handle missing image alias
  • chore: remove settings singleton

Leihs 4.13.0

  • feat: admin: suppliers: add note, UI improvements
  • feat: improve global search
  • fix: create model validation message for product and version
  • fix: do not show categories on inventory list if options are selected
  • fix: expert search text resources i18n
  • fix: i18n plural ‘Day’
  • fix: license saved message
  • fix: procurement: enhance category/template list UX
  • fix: procurement: validate whole numbers in forms
  • fix: remove filter visibility dependencies in inventory list and show all models after create new model
  • fix: remove paperclip from migrations
  • fix: remove paperclip from migrations #2

Leihs 4.12.0

  • feature: show thumbnail on edit item if attachment is of content type image
  • fix: contracts search must consider contracts purpose too not only orders purpose
  • fix: do not show inactive pools on borrow inventory pools
  • fix: inventory: upload attachments when creating model
  • fix: linkify inventory pool descriptions for borrow
  • fix: model validation of product name and version
  • fix: pools list in borrow section should list pools with borrowable items or contracts
  • fix: text resources for model product and version errors

Leihs 4.11.0

  • feat: logo link in footers, admin-configurable
  • fix: for deleting the last group from user
  • fix: negative general quantity for borrow calendar
  • fix: admin: form labels in settings
  • fix: correct error msg. in hand over
  • fix: Do not validate serial number when creating a package
  • fix: edit license page title
  • fix: improve form handling
  • fix: lending: when adding options to handover, don’t reload availability
  • fix: linkify technical details for license
  • fix: on inventory list show problems for license lines too
  • fix: show all contracts button in global search
  • fix: show contracts from deactivated pools
  • fix: Show retired label and inactive pool on item line in global search
  • refactor: user-session (in DB)

Leihs 4.10.0

lending

  • dont allow to create supppliers on create and edit item forms, disable field supply category
  • fix: always show field inventory_code independent of role
  • fix: inspection label for take back
  • fix: include Software & Licences for take back
  • fix: model availability doesn’t count retired items
  • fix: show existing delegation contact user in swap user dialog
  • fix: use return urls for cancel of edit model etc
  • fix: translations for some create item buttons
  • fix: order list order by created at and group by user

Leihs 4.9.0

lending

  • feat: Display purpose on take back line
  • feat: manage: search contracts by ‘compact_id’
  • fix: add missing key to en_GB for attachment error
  • fix: create item inventory code buttons
  • fix: delayed loading for inventory list search field
  • fix: edit item bugs
  • fix: edit order link from failed approval modal
  • fix: inventory list bugs
  • fix: ‘swap user’ form submission in Safari
  • fix: load package models in chunks to prevent too long urls
  • fix: validation of empty select

Leihs 4.8.0

lending

  • feat: mark groups with too many assignments in red on group overview
  • fix: dont submit ‘swap user’ form when no user is selected
  • fix: hand over dialog autocomplete

procurement

  • feat: admin can inspect in all categories
  • feat: only block nav for changed forms
  • feat: refresh button in overview
  • fix: Inspectors can see accounting fields of other categories
  • fix: only show budget limits if configured

database

  • constraints for orders state and reject reason
  • add reject reason to orders
  • Remove purpose_id from orders

Leihs 4.7.3

  • Fix: Fix closed reservations contract state

Leihs 4.7.2

  • Fix: Redundant contracts in the list

Leihs 4.7.1

  • Fix: Button label for order line and group manager
  • Fix: Filter for verification required and order list
  • Fix: Reject button for orders with many items

Leihs 4.7.0

  • Feature: Disable flexible fields
  • Fix: Do not show location comma, if there is no location
  • Fix: Create item: save button i18n; date format; hide fields functionality
  • Fix: Show version for licenses on inventory
  • Fix: Inventory: edit Options, set inventory code as required
  • Technical: Orders & contracts refactoring
  • Locale: Admin inventory pool 18n

Leihs 4.6.0

  • Feature: inventory: add license version field
  • Feature: inventory: expert search
  • Feature: procurement: accounting type fields
  • Feature: procurement: inline edit request lines in overview
  • Feature: procurement: inspection comments templates
  • Feature: admin: show languages table
  • Feature: render app errors with details
  • Fix: Calendar and csv import translations
  • Fix: don’t crash on inactive dynamic fields
  • Fix: inventory: enable quantity allocations for every license type
  • Fix: inventory: don’t show “Undefined” types
  • Fix: inventory: don’t show location for item-licenses
  • Fix: inventory: image upload restrictions error
  • Fix: lending: for order lines replace buttons dropdown with rejected label after rejection
  • Locale: Add French translation
  • Deploy: Support Debian 9 “stretch”

Leihs 4.5.1

  • Fix: Item.properties default hash
  • Fix: serialize User.settings
  • Fix: store -> serialize in item.rb
  • Fix: destroy in accept nested attributes
  • Fix: create fields rake task: inactive fields

Leihs 4.5.0

  • Fix: Fix create fields rake task: inactive fields
  • Fix: Fix access rights problems (fixes #283)
  • Fix: Patch image upload
  • Fix: perf: manage: inventory helper: limit autocompletes
  • Fix: Delete unsubmitted orders when deactivating pools (resolves #289)
  • Tech: Upgrade to Rails 5
  • Feat: Case insensitive take back

Leihs 4.4.1

  • Fix: Show item’s location in hand over assign dropdown

Leihs 4.4.0

  • Feature: Search in audits (resolves #256)
  • Fix: Borrow: remove broken links from categories list (resolves #259)
  • Fix: Admin: search for user in admin tab only searches for admins (resolves #166)
  • Feature: Release page + deploy info
  • Feature: Add metadata to files & attachments (resolves #265)
  • Fix: Serial number validation warning in inventory helper (resolves #255)
  • Feature: Change contracts sorting in global search (resolves #242)
  • Documentation: Add owner_id & inventory_pool_id to items
  • Feature: New entity: Rooms (resolves #228)

Leihs 4.3.1

Frontend Bug Fixes

  • Fix: BarcodeScanner: don’t operate on focused inputs
  • Fix: upgrade tooltipster jquery plugin

Leihs 4.3.0

  • Feature: deactive pools (resolves #223)
  • Fix: Forbid first admin user if already exists
  • Fix: Inventory search in location’s room (resolves #221)

Leihs 4.2.0

Inventory Feature and Bug Fixing

Manage section

  • When copying an item, the field “last checked” on the new item is set to the current date

Borrow section

  • The information in the links order, hand over and returns on the top of the page show on the right hand side of the page the date from and date to. Before we showed the dates until or since as f.e. 1970 days since 23.7.2014.
  • The error messages on the top of the page when sending an order were not shown correctly.

Leihs 4.1.0

Adjustments and Bug Fixing

Missing translations

  • When submitting an order in the borrow section in the German part, the success message has now been translated to German.
  • Tab “return” in German part of leihs has now been translated to German

Borrow section

  • The filter settings are not deleted anymore when switching from one category to another

Lending section

  • Feature delegation contracts: When searching for a user, not only his own contracts are shown in the overview but also contracts of delegations, where this user is acting as borrower.
  • Bug fixing: Adding an item or model is not case sensitive anymore. This bug was introduced with the PostgreSQL-Update
  • Bug fixing: It is not possible to lend the same item at the same time to the same user.
  • Bug fixing: Date field when editing the calender in the return page was buggy. Now it is possible to delete the date or type a new date

Manage section

  • Feature duplicate items: If you save an item where the serial-nr. already exists in leihs, you receive a warning asking, if you really want to save. This should help keep your inventory “tidy”.

Admin section

  • The shown time in the Audits-Page has been corrected to show the current time
  • The newest entries in the Audits-Page are now shown on the top

Installing leihs V4

  • Enabling LDAP in V4: How-to-documentation adjusted to enable LDAP under PostgreSQL
  • We now provide the possibility to create the first leihs-Admin-user through a UI
→ Older Releases