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 22, 2021
  5. 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
  6. 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
  7. 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
  8. Jul 30, 2021
    • Alexander Purr's avatar
      refs #20106 [fid] Digitization-on-Demand Service · 71917609
      Alexander Purr authored and Dorian Merz's avatar Dorian Merz committed
      * new inputs: library, signature, external_url
      * now 2 different forms:
      ** a) via record, prefilled (like before)
      ** b) via profile: free request (not indexed record)
      * about b)
      ** new action and route
      ** inherit and extend form configuration (new hydrator, 4 more fields) from a)
      ** reuse template from a) and add record-inputs
      ** new inputs: title (required), responsible, year, language
      ** record information ships via digitization-array (see FidAcquisitionTrait.php) into order object
      ** using createViewModel-function from AbstractBase for prevent loading not existing record
      * adjust orders listing template for displaying none indexed records correctly
      
      refs #20106 [fid] orders list
      * enable external links coming from data-lightbox
      * show additional request data if request is not linked to solr record
      71917609
  9. Apr 22, 2021
  10. Apr 20, 2021
  11. Mar 05, 2021
    • Alexander Purr's avatar
      refs #19204 [fid] add digitization-on-demand service · a0315910
      Alexander Purr authored
      * new route via "/Record/0-123456/fidDigitization"
      * new form config
      * new form template
      * add type specific order information on acquisition trait and order hydrator
      * add translation keys - incomplete jet
      * add translation
      a0315910
  12. Feb 24, 2021
  13. Feb 16, 2021
  14. Jan 19, 2021
  15. Jan 13, 2021
  16. Dec 16, 2020
  17. Dec 04, 2020
  18. Nov 06, 2020
  19. Oct 09, 2020
  20. Apr 28, 2020
  21. Apr 21, 2020
    • Alexander Purr's avatar
      refs #17176 [fid] add advanced subito partial copy page selection validaton · 68a1f311
      Alexander Purr authored and Dorian Merz's avatar Dorian Merz committed
      * add new validators
      ** page selection: correct page order
      ** page selection: highest selected page can not exceed number of pages
      ** page selection: can not not exceed a certain percentaged part of whole record
      * add first validator to form configuration
      * add other validators within controller trait to from
      * add hyphen filter to form configuration
      * add dynamic page selection validators
      ** add session to RecordController via DelegatorFactory
      ** adjust behavior to handle false page selection warning with session parameter
      * add fid translation
      * display number of record pages in summary of subito partial copy
      ** changes in RecordDataFormatterFactory
      *** add general spec builder function
      *** extend general specs for subito partial copy
      68a1f311
  22. Feb 19, 2020
  23. Jan 27, 2020
  24. Jan 21, 2020
  25. Dec 06, 2019
  26. Dec 04, 2019
  27. Dec 03, 2019
  28. Nov 29, 2019
  29. Nov 19, 2019
  30. Nov 13, 2019
    • Alexander Purr's avatar
      refs #16359 [fid] Orders · 0965d8ed
      Alexander Purr authored and Dorian Merz's avatar Dorian Merz committed
      * add general form logic for acquisitions
      ** add acquisition trait for business logic
      ** add order hydrator
      ** form definitions and templates (using record data formatter)
      ** delegator for using api client within controller
      * add subito article and partial copy forms
      ** add form definition and templates
      ** add business logic within trait
      ** create order by using api
      * add language keys
      * simple order hydrator
      0965d8ed
  31. 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
  32. 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
  33. 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
  34. Sep 02, 2019
  35. Aug 29, 2019
  36. Aug 27, 2019