- Feb 02, 2022
-
-
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
-
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
-
- Jan 04, 2022
-
-
Robert Lange authored
* devops info: ** run "./install-codestylechecker.sh install" to install dependencies for git hooks code style checks ** see https://projekte.ub.uni-leipzig.de/projects/finc-intern/wiki/Code-Quality-Checking_mit_PHPStorm#section-5 for integration of CS Fixer validation in PHPStorm * $HOME/bin/codestylechecker/php-cs-fixer3 fix --config=$HOME/bin/codestylechecker/vufind.php-cs-fixer.php_cs module/fid/src/ * add missing class and method comments * move view helper classes to correct directory * run codesniffer-beautifier for modules and templates co-authored by: Dorian Merz <merz@ub.uni-leipzig.de> co-authored by: Alexander Purr <purr@ub.uni-leipzig.de>
-
- Dec 15, 2021
-
-
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
-
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)
-
- Oct 15, 2021
-
-
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
-
- Sep 29, 2021
-
-
* 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
-
- Aug 10, 2021
-
-
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
-
- Jan 19, 2021
-
-
Dorian Merz authored
-
- Dec 04, 2020
-
-
* prevents from displaying not updated user data in VuFind * user-object is refreshed automatically after successful user update
-
- Feb 19, 2020
-
-
* speed up csv export by limit fidis user request to one ** response contains complete user list inclusive all relevant details ** see also #16938 * export file as *.txt * display phone number in user export
-
- Jan 27, 2020
-
-
Dorian Merz authored
* generates tab separated values file for download * export all fields
-
- Jan 21, 2020
-
-
* remove required text and add information to username change form * prefill email address at password reset form * disable email input and email validation for logged in users
-
- Dec 06, 2019
-
-
Dorian Merz authored
* UserController: first check for param 'backUrl' before using referer original author: Robert Lange <robert.lange@uni-leipzig.de>
-
- Dec 03, 2019
-
-
* route * action * template (using partial) * language keys
-
- Nov 19, 2019
-
-
* add label attribute to order dto * adjust order templates to display order label
-
- Oct 29, 2019
-
-
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>
-
- Oct 17, 2019
-
-
* 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...
-
- Sep 03, 2019
-
-
* 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
-
- Sep 02, 2019
-
-
- Aug 29, 2019
-
-
* include address on user creation * address fields validation
-
- Aug 27, 2019
-
-
* API calls * menu link * translations
-
- Aug 23, 2019
-
-
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
-
- Jul 09, 2019
-
-
* 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
-
- Jun 28, 2019
-
-
* get referer url from request * check for lightbox in templates
-
- Jun 27, 2019
-
-
Dorian Merz authored
-
* 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
-
* 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'
-
- Jun 19, 2019
-
-
Co-authored-by:
Sebastian Kehr <kehr@ub.uni-leipzig.de>
-
* 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
-