Skip to content
Snippets Groups Projects
  1. Mar 15, 2024
    • Robert Lange's avatar
      refs #25348 [fid] fid client rework · 6dfa8947
      Robert Lange authored and Mathias Maaß's avatar Mathias Maaß committed
      * do not proxify local_addresses
      * use Laminas http client in fid client
      * do not use vufindhttp-psrcompat and zend-psr18bridge
      * simplify: remove sendAuthenticatedRequest and buildRequest => senRequest
      * refresh logon after 401 (when stale?)
      * add comment and set headers always by key => value
      * deactivate SSL_VERIFY for fidis request
      * fix options for ssl
      * do not retry refreshLogon
      6dfa8947
  2. Aug 02, 2023
    • Robert Lange's avatar
      refs #24322 [fid] VF7 module update · 99075649
      Robert Lange authored and Mathias Maaß's avatar Mathias Maaß committed
      * update composer, use latest finc/vufindhttp-psrcompat version
      * replace Zend by Laminas in php
      * use laminas instead of Zend i18n resources
      * use updated module for permission provider
      * add translation for label_access_level_basic_access
      * replace Zend by Laminas
      * fix hydrator - use Laminas\Hydrator\ClassMethodsHydrator
      * fix hydrator - use Laminas\Hydrator\ClassMethodsHydrator, adapt doc
      * fix hydrator - use Laminas\Hydrator\ClassMethodsHydrator, adapt doc
      * add csp ini
      * convert inline script to Head script
      * adjust UserDataStrategy hydrate-method (maybe php7 problem only)
      ** failure at creating user and edit user data by admin
      ** prevent error: Too few arguments to function fid\Hydrator\Strategy\UserDataStrategy::hydrate()
      * adapt menu.phtml from finc
      ** add missing menu entries
      * add hydrator's extract-method return type
      * improve default config
      ** show createdAt-field in user list by default
      ** activate order export by default
      * add missing closing tag
  3. May 09, 2023
  4. Oct 26, 2022
    • Jean-Pascal Kanter's avatar
      refs #21483 [fid] vufind changes to delete orders · 6babbbb8
      Jean-Pascal Kanter authored
      * no security question as of now
      * wont work without expansion of fidis
      * added route for order deletion (requires admin rights)
      * config parameters displayCols defines, 'delete' for the delete button
      * using font awesome for the fa-trash symbol, can be overwritte in field-delete.html
      * design changes for orderDelete
      * Code Stlye changes to Delete Order Modal
      ** Modal has its own template now, only rendered when activated via config
      ** fixed a bug where the default fid delete button would have missed crucial info and had just outright deleted the entry
      ** known problem: the delete route is actually reacheable for any one user but will be rebuffed by fidis itself, still not entirely clean
      6babbbb8
  5. Jul 20, 2022
    • Robert Lange's avatar
      refs #21486 [fid] introduce rules for get-it-box · ecc94112
      Robert Lange authored
      * usage of rules evaluator and GetItRules.yaml in instance
      * add temp check with old implementation - TODO: remove with 22011
      
      * fix status on invalid session state, also refs #22043
      ** throw UserNotAuthorizedException on 401
      ** on 401 logout in RecordController homeAction
      ecc94112
  6. Jan 04, 2022
  7. Dec 15, 2021
    • Alexander Purr's avatar
      refs #21063 [fid] changes after using PHP CS Fixer 3.1.0 instead of 2.14.0... · d51e616d
      Alexander Purr authored
      refs #21063 [fid] changes after using PHP CS Fixer 3.1.0 instead of 2.14.0 (friendsofphp/php-cs-fixer)
      
      * PHP CS Fixer 3.1.0 is used in VuFind8
      * working just with test/vufind.php-cs-fixer.php ruleset from VuFind8
      ** with updated ruleset
      ** some rule names / settings changed because of fixer version
      * running by command:
      ** ../VuFind8/vendor/bin/php-cs-fixer fix --config=../VuFind8/tests/vufind.php-cs-fixer.php module/fid
      d51e616d
    • Alexander Purr's avatar
      refs #21063 [fid] running fixer · ea8e05d8
      Alexander Purr authored
      * vendor/bin/phpcbf --standard=tests/phpcs.xml module/fid/
      * vendor/bin/php-cs-fixer fix --config=tests/vufind.php_cs module/fid
      * using PHP_CodeSniffer 3.6.2 instead of 3.4.0 (squizlabs/php_codesniffer)
      ea8e05d8
  8. Oct 15, 2021
    • Alexander Purr's avatar
      refs #20234 [fid] order editing for admins, improved order listings · 6b0c4e24
      Alexander Purr authored
      * new Client methods:
      ** get order (uses fidis GET resource)
      ** update order (is complemented by fidis PUT resource - ticket 20690)
      * add new route for EditOrder
      * new UserController methods
      ** editOrderAction -> loads order, form-config & view; checks EditOrder-Permission
      ** updateOrder
      ** applyStatusOptions for correct prefilling and translate of status options
      * new form-configs for simple (only status) and complete (status and due date) form
      * new configuration blocks in fid.ini (disabled)
      ** OrderList section for displaying additional columns in order list table
      ** Edit section (depending on order type - here pda and digitization) sets form type (basic / complete) and possible status options
      * templates
      ** add configured columns (like type, status, due date, edit button) on admin order list (and nested templates)
      ** new edit order main template (incl. some order information)
      ** new basic and complete form template
      * add getter and se...
      6b0c4e24
  9. Aug 10, 2021
    • Robert Lange's avatar
      refs #20154 [fid] allow user to delete own account · c0022bff
      Robert Lange authored
      * add action in User Controller
      * add form for password confirmation
      * check credentials in Client
      * add properties in User dto for deletion
      * check for deleted property on login in Authenticator
      * add default translation texts
      * add template for success message
      * redirect to home page after closing of modal
      c0022bff
  10. Dec 16, 2020
  11. Apr 06, 2020
  12. Feb 21, 2020
  13. Feb 20, 2020
  14. Feb 19, 2020
  15. Jan 14, 2020
    • Sebastian Kehr's avatar
      refs #16728 [fid] · 838855ee
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * fix: properly handle empty user data on hydration
      * add missing translations
      * account for anonymous logons on authorization
      * remove headline in template
      838855ee
  16. Dec 04, 2019
  17. Nov 14, 2019
  18. Nov 08, 2019
  19. Nov 07, 2019
  20. Oct 23, 2019
  21. Aug 29, 2019
  22. Aug 27, 2019
  23. Aug 23, 2019
    • Dorian Merz's avatar
      refs #15642 [fid] API admin section · df0d74c9
      Dorian Merz authored
      * adds actions and routes to
      ** user list
      ** user profile manipulation
      * introduces basic authorization and permission handling
      
      * introduces Admin config section containing
      ** editable fields
      ** applicable user permissions
      ** disable select inputs
      
      * user overview
      ** styles user overview as a table
      ** links to user edit page for each
      
      * adds 'denied' values for unselected permissions
      
      * force login for admin pages
      * flushes user list cache on successfull edit
      ** displays latest data in user list
      
      * reacts on admin roles from API (cf. #15692)
      
      * VuFind permission handling
      ** adds PermissionProvider to handle FID API permissions via Permission ViewHelper
      df0d74c9
  24. Jun 27, 2019
    • Sebastian Kehr's avatar
      refs #15445 [fid] styling user forms · 432d6a84
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * introduce custom method for password updates
      * improvements to user access level selection
      * improved user creation form look
      * set college value in update form
      * translate username to email address
      432d6a84
    • Robert Lange's avatar
      refs #15445 [fid] add user role to registration · da544af2
      Robert Lange authored and Dorian Merz's avatar Dorian Merz committed
      * add select in final registration form
      * add properties to model and dto
      * remove dto for permissions, use simple array instead
      * set permission (group) in ILSAuthenticator
      * show !multiple! groups in profile
      * add select in update from
      * refactor User model => extra property 'role'
      da544af2
  25. Jun 20, 2019
  26. Jun 19, 2019
    • Robert Lange's avatar
      refs #15383 password recover feature · 71974e04
      Robert Lange authored and Dorian Merz's avatar Dorian Merz committed
      
      Co-authored-by: Sebastian Kehr's avatarSebastian Kehr <kehr@ub.uni-leipzig.de>
      71974e04
    • Sebastian Kehr's avatar
      refs #15383 [fid] user management / registration · ea7bfde8
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * migration of former core-module-package contents
      * first adjustments of api client logon functionality
      * fix initial registration step
      * registration finalization adjustments
      * fetch libraries on registration
      * improved logon client method
      * refresh logon only if stale
      * throw exception on bad credentials
      * adjust config files
      * fetch user details only if logged on
      * rename namespace, text domain as well as module and theme
      
      * untrack compiled css
      * let registration form look like login form
      * rename ils driver for config injection by ils connection
      * use aliases for authenticator and ils driver
      * let authenticator support account creation
      * enable account creation in base config
      * override default account creation route
      
      * introduce user controller and update action
      ea7bfde8