Skip to content
Snippets Groups Projects
  1. May 24, 2024
  2. 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
  3. Feb 19, 2024
  4. Nov 30, 2023
  5. Sep 07, 2023
  6. Aug 15, 2023
  7. 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
  8. Jul 21, 2023
  9. Jul 05, 2023
  10. May 09, 2023
  11. Nov 08, 2022
  12. Nov 03, 2022
  13. 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
  14. Sep 27, 2022
    • Jean-Pascal Kanter's avatar
      fe605db4
    • Jean-Pascal Kanter's avatar
      refs #21718 [fid] user export · a425a32a
      Jean-Pascal Kanter authored
      * config variable name
      * data transfer object user now has functionality to filter whitespace in orders
      * fid.ini got out-commented variable field for user export fields in [Admin] section
      * updated user export behaviour, field 'orders' will now always be the last in an export
      * introduced an user export hydrator that enriches data for export into csv and json files
      * further altered the interface and handling of various csv flavors, prepared work for an unified
      * export interface to a future date, created adlr exporting to stated specs
      * introduced an user export hydrator that enriches data for export into csv and json files
      * further altered the interface and handling of various csv flavors, prepared work for an unified
      * export interface to a future date, created adlr exporting to stated specs
      * added some language tokens for better integration
      * updated json export to make the address list a associative array
      
      co-authored by: Robert Lange <robert.lange@uni-leipzig.de>
      * o...
      a425a32a
  15. Sep 22, 2022
    • Jean-Pascal Kanter's avatar
      refs #20927 [fid] OrderController Update · a3da6dd1
      Jean-Pascal Kanter authored
      * refactored logic for fidis orders, formerly living in the UserController, seperated User and Order Controller
      * added an (by default hidden) export option for orders)
      * extended abilities of order transfer object
      * added an order export hydrator that compiles data of an order to an array
      * extended the order list with a button that is hidden by default (if 'export_button' is not set)
      * allows export of orders in 3 different flavor of CSV (or rather, fake csv that is labelled as txt) and json.
      * language vars replaced some static texts with dynamic i18n ones, in this particular case the button descriptions of are affected
      a3da6dd1
    • Robert Lange's avatar
      refs #22231 [fid] vf6 view helper · e4e0cb4c
      Robert Lange authored
      * move rss helper to fid
      ** uses caching
      ** code styles
      
      co-authored by: Alexander Purr <purr@ub.uni-leipzig.de>
      * make get-it-box view helper factory reusable in instances
      e4e0cb4c
  16. Aug 25, 2022
  17. Aug 17, 2022
  18. Aug 12, 2022
    • Jean-Pascal Kanter's avatar
      refs #22181 [fid_bbi] update of 'permissions' · c1bb25d9
      Jean-Pascal Kanter authored and André Lahmann's avatar André Lahmann committed
      * so called 'permissions' where a kind of configuration for the general availability of services
      * those settings was the last remnant of the getit.ini
      - deleted getit.ini
      + added configuration part of those 4 settings to the GetItRules.yaml as 'conf_allow*'
      c1bb25d9
  19. Aug 02, 2022
  20. 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
  21. Jun 24, 2022
    • Alexander Purr's avatar
      refs #20926 [fid] allow admin to flag users for deletion · cfd296bc
      Alexander Purr authored
      * copied nearly complete functionality introduced to adlr in ticket 16184 to fid branch
      * adapt admins form for editing users
      * set deleted flag to false on user registration (as default)
      * show deleted info in admin user view
      * configurable
      * switch auth error message order
      ** dispay deleted account message before check on blocked account
      ** accounts can be blocked without flagging for removal
      cfd296bc
  22. Apr 28, 2022
  23. Mar 31, 2022
    • Alexander Purr's avatar
      refs #21408 [fid] EZB resolver improvements · 5f03ae0c
      Alexander Purr authored
      * EZB-Resolver:
      ** save access state to each ezb resolver result
      ** reuse getElectronicResults removed in ticket 20764
      * ResolverLinks helper hands over print- or electronic results to templates instead of prepared access and message information
      * handle access (article order button) and messaging in templates now
      ** messages are generated by type (electronic / print and access state)
      * improve array merging in template resolverLinks-print.phtml
      
      * change parseLinks method: differs from inherited finc ezb resolver by not requesting print state 10
      5f03ae0c
  24. Mar 09, 2022
    • Alexander Purr's avatar
      refs #20650 [fid] refactor order and order view · 07a20c94
      Alexander Purr authored
      * allowing empty comments on pda/print
      * building type translation keys with _ instead of -
      * fix method signature for isValid() to fit interface - can not change param of simple type mixed to string
      * do not show user name in users order list
      * create order edit form only if order type has form configuration in fid.ini
      07a20c94
  25. Mar 02, 2022
  26. Feb 24, 2022
  27. 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
  28. Jan 06, 2022
    • André Lahmann's avatar
      refs #20764 [fid] refactoring of EZB resolver driver · d5f0419a
      André Lahmann authored
      * introduced translation domain for GetItBox
      * refactored templates to use GetItBox domain
      * refactored state logic in resolverLinks-button.phtml to work with standardized VuFind access states
      * refactored and aligned GetResolverLinks->handleRequest with finc version
      * remove fetchLinks from EZB, use parent
      d5f0419a
  29. Jan 04, 2022
  30. 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
  31. Oct 22, 2021
  32. Oct 15, 2021
    • Dorian Merz's avatar
      refs #20642 [fid] restructure get-it-box for DDS · c57308ef
      Dorian Merz authored
      * change visibility of helper functions
      * allow for ALL keyword in sources list
      c57308ef
    • Dorian Merz's avatar
      refs #20642 [fid] restructure get-it-box for DDS · a836cda1
      Dorian Merz authored
      * change visibility of helper functions
      * allow for ALL keyword in sources list
      a836cda1
    • 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
  33. Oct 14, 2021