Skip to content
Snippets Groups Projects
  1. Feb 02, 2022
    • Alexander Purr's avatar
      refs #20655 [fid] create some separate column field templates and split column... · 5974060c
      Alexander Purr authored
      refs #20655 [fid] create some separate column field templates and split column configuration for user and admin order list
      
      * due date
      * edit
      5974060c
    • Alexander Purr's avatar
      refs #20655 [fid] refactoring display of order listings · fef4c9e0
      Alexander Purr authored
      * use OrderList->displayCols array in fid.ini for activation and ordering columns
      * configuration is uses for order listing in user and admin view
      * restructure templating for best re-usage and less code
      * move templates into fid/order directory
      * add missing section in fid.ini
      * using renderInContext to retain parent's template variables too
      * hide empty lines / entries in renderArray-helper for displaying properties of free digitization-on-demand
      fef4c9e0
  2. Jan 04, 2022
  3. 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
  4. 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 setter (status, due date) on DTO order
      * create updateOrderHydrator
      ** used for prefilling form and update order object before requesting fidis
      * new translations
      
      * add preconfigured default status on creating an order / acquisition (via trait and order hydrator)
      
      * add template acquisition-contact-details.phtml from bbi
      ** used in pda action
      ** used in edit order action
      
      * add translation for order type
      
      * always show current status of order in order list
      ** by force reload user data inclusive orders in controller action
      
      * allow null value on setting order status
      6b0c4e24
  5. Sep 29, 2021
    • Alexander Purr's avatar
      refs #20243 [fid] some changes in PDA form · 40548cf7
      Alexander Purr authored and Dorian Merz's avatar Dorian Merz committed
      * enable comment field for pda
      ** in controller
      ** in hydrator
      * check complete address
      
      * allow multi-step form by saving and retrieving followup url
      * prevent hiding pda form in lightbox after redirect from profile update - SuccessMessage of flash messenger would disable displaying pda form
      40548cf7
  6. 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
  7. Jan 19, 2021
  8. Dec 04, 2020
  9. Feb 19, 2020
  10. Jan 27, 2020
  11. Jan 21, 2020
  12. Dec 06, 2019
  13. Dec 03, 2019
  14. Nov 19, 2019
  15. Oct 29, 2019
    • Dorian Merz's avatar
      refs #16223 [fid] book orders in user profile · 9240d092
      Dorian Merz authored
      * adds book orders menu entry
      * displays open orders in table
      * adds several templates
      * adds script to close modal on click to Order list links
      
      co-authored by: ckaz <kazzer@ub.uni-leipzig.de>
      9240d092
  16. Oct 17, 2019
    • Sebastian Kehr's avatar
      refs #15998 [fid] user management forms related changes · c8ffe802
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * initial refactoring to use address fieldsets on user creation and update
      * generalize user creation form
      ** allow for multiple addresses in more flexible ways
      ** introduce general radio fields for user groups
      * reuse dto on user creation with the help of zend-hydrator
      * adjust user update form
      * use hydrator for all user forms
      * fixup to user init method
      * add gpl license header
      * remove empty home library option from user update form
      * remove imports of non-existing classes
      * custom submit label in user update form
      * pass library list with ils authenticator
      * rename property for less confusion
      * implement possibly required ils authenticator method
      * render address id field only if value non-empty
      * convert user data property names to camel case via custom strategy
      * pass root input filter with context to nested input filters
      * relax requirements for first mandatory user address
      * first fixes to admin edit form
      * completely specify admin edit form i...
      c8ffe802
  17. Sep 03, 2019
    • Sebastian Kehr's avatar
      refs #15925 [fid] use fieldsets for user addresses · d79b1a70
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * allow for multiple addresses
      * use correct validator method and address index
      * remove type attribute
      * adjust profile view w.r.t. empty addresses
      * reintroduce form label helper to account for required attributes
      * let second address line be optional
      d79b1a70
  18. Sep 02, 2019
  19. Aug 29, 2019
  20. Aug 27, 2019
  21. 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
  22. Jul 09, 2019
    • Sebastian Kehr's avatar
      refs #15590 [fid] migrate form specs to configurable services · 03943db7
      Sebastian Kehr authored and Dorian Merz's avatar Dorian Merz committed
      * enable required zend modules
      * register abstract form factory
      * migrate initial registration form
      * remove annotations
      * migrate annotions to php-arrays
      ** migrate user create and update form
      ** set home library value options in controller
      ** migrate password forms
      ** remove unnecessesary validators
      * adjust controller factory
      03943db7
  23. Jun 28, 2019
  24. Jun 27, 2019
  25. 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