Skip to content
Snippets Groups Projects
  1. 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
  2. Sep 27, 2022
    • 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>
      * optimize csv export for windows / mac
      ** set UTF16
      ** code styles
      a425a32a
  3. 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
  4. Aug 25, 2022
  5. Jan 10, 2022
  6. Jan 04, 2022
  7. Dec 15, 2021
    • 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 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
  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. 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
  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 16, 2021
  13. Mar 06, 2020
  14. Jan 27, 2020
  15. Dec 03, 2019
  16. Nov 19, 2019
  17. Nov 15, 2019
    • Gregor Gawol's avatar
      refs #16136 [fid] modified ezb resolver output · 67254d17
      Gregor Gawol authored and Dorian Merz's avatar Dorian Merz committed
      * display print issues in separate box
      * display messages
      * only one ezb request
      * set js function to fid module
      * fixed button bug
      * changed get it box config
      * set new position messages
      * set registration info
      * default info ezb resolver
      * set other registration info text
      67254d17
  18. 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
  19. 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
  20. Oct 23, 2019
  21. 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
  22. Oct 01, 2019
  23. Sep 27, 2019
  24. 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
  25. Aug 27, 2019
  26. 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
  27. 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
  28. 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
  29. 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