Commit Graph

250 Commits

Author SHA1 Message Date
Xu 4378fa2d7d fix tests after ifsg implementation 2023-08-12 12:19:24 +02:00
Xu 8dd4af1bb6 add requires ifsg certificate 2023-08-12 12:19:24 +02:00
Igor Scheller 983fb988b4 Make profile page layout and shifts renderer less worse for normal users 2023-05-03 16:04:39 +02:00
Johannes Rudolph c67fbbad73 Add option to show user first and last name instead of nickname 2023-03-13 17:33:17 +01:00
xuwhite 668a9e86f5
refactor goodie config option as enum (#1100)
* goodie config as enum
* Unified goodie check, updated test
* Changed tshirt to goodie in url

---------

Co-authored-by: Igor Scheller <igor.scheller@igorshp.de>
2023-03-05 03:00:38 +01:00
Igor Scheller 34e9d01c18 Translate more date / time outputs 2023-02-26 14:10:02 +01:00
Igor Scheller 713f8222e4 Unified user notifications 2023-02-13 19:38:29 +01:00
Bot ad360a70fb Require comma at last array element and no single line space 2023-02-09 18:19:38 +01:00
Xu ccdf1aa8d5 add config option for other goodies 2023-01-31 01:51:31 +01:00
Igor Scheller bfa0d91704 Fix empty checks 2023-01-24 20:49:31 +01:00
Igor Scheller 89dc85c3d5
Add ShiftEntry model 2023-01-18 13:02:11 +01:00
Igor Scheller 3115870ec4
Added Shift model 2023-01-03 22:19:03 +01:00
Johannes Rudolph b1b08afd23
Make user view columns dynamic by config 2022-12-23 04:46:32 +01:00
Johannes Rudolph 92e0b8be65
Hide dect, voucher and t-shirt options shown to users when disabled via config 2022-12-23 04:22:39 +01:00
Thomas Rupprecht f24d31b928
Improve countdown logic
use `Intl.RelativeTimeFormat` to support different l10n add week as possible duration
2022-12-21 14:18:21 +01:00
Igor Scheller 7f78f59840 Added UserAngelType model 2022-12-13 22:46:16 +01:00
Thomas Rupprecht f12f8a1b3b set autocomplete attribute for password inputs 2022-12-11 18:17:42 +01:00
Thomas Rupprecht 7a376399b8 use better and more icons 2022-12-10 17:22:11 +01:00
Igor Scheller 6686d58c06 Implemented AngelTypes model 2022-12-08 18:35:22 +01:00
frischler bdc62eaac3
Worklog Refactoring 2022-12-08 17:40:24 +01:00
Thomas Rupprecht 0a1014496a fix tag nesting 2022-12-08 15:36:44 +01:00
Igor Scheller 354ec084eb Show driver's license button on user page when angeltype requires it 2022-11-27 12:14:14 +01:00
Igor Scheller 99afe3f651
Permissions refactoring
* Migration: Added groups, privileges, user_groups, group_privileges, improved references
* Models: Added Group, Privilege and integrated it into User
* Replaced old permission handling with new models
2022-11-06 12:41:52 +01:00
frischler dba7bc29f9 Settings Modernization: Added mobile_show setting to /settings/profile page. 2022-11-01 16:55:23 +01:00
frischler 63f1c12429 Settings Modernization: Refactoring
Settings Modernization: Fixing Date issue

Settings Modernization: Reroute

Settings Modernization: Reroute settings to /settings/profile, Cleanup and Refactoring
2022-11-01 16:55:23 +01:00
Igor Scheller 4d9f4694ae Groups: Fix naming and update IDs 2022-10-22 17:49:20 +02:00
Michael Weimann 7049a08bcd
Replace moment-countdown with countdown function 2022-10-22 17:22:53 +02:00
Igor Scheller 855d3535db Fixed formatting 2022-10-18 22:08:49 +02:00
Xu f9da096308 add option to show mobile number of user in users view 2022-10-18 22:06:08 +02:00
Michael Weimann f7d499b362
Include phpcs for /includes 2022-10-18 19:15:22 +02:00
Michael Weimann c502694e59 Add direct link to the angeltyes page from user view 2022-08-14 00:13:35 +02:00
Michael Weimann d26965e95b Improve voucher texts 2022-07-23 21:44:02 +02:00
Igor Scheller 58d9750d0c Vouchers page: Show force active state 2022-07-20 18:15:18 +02:00
frischler 8380536055 Settings language handled in SettingsController 2022-06-30 14:05:46 +02:00
Igor Scheller 5e81b8d2af Cleanup: Simplification and removed dead code and duplicated/outdated declarations 2022-06-17 21:08:53 +02:00
Xu 05e94bbfee add config option and permission for food voucher 2022-06-17 20:55:16 +02:00
Xu 53009c21a4 Message link in User view 2022-06-16 23:39:18 +02:00
frischler 3043a9512a Settings themes handled in SettingsController 2022-06-14 13:34:01 +02:00
Xu 9001907b74 added voucher angel group right 2022-06-12 16:14:22 +02:00
Thies Mueller e2a99a5b1d removed the tshirt part 2021-12-30 20:37:08 +01:00
msquare f286373b21 theme improvements 2021-12-27 21:49:07 +01:00
Igor Scheller 8256b9d6bd Hide oauth from profile and settings page if not configured / should be hidden 2021-12-12 12:34:43 +01:00
Igor Scheller dc0cf101b2 Moved gdpr goodie mail opt in to own configurable option
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2021-12-04 11:58:06 +01:00
xuwhite 15d9abd280 changes for gdpr legal foo 2021-12-04 11:58:06 +01:00
--global ccc0889d00 email option updated 2021-12-04 11:58:06 +01:00
Igor Scheller 5c90a1ef37 Added shirt edit view 2021-10-23 17:04:19 +02:00
msquare c3045e07ce minor css class changes 2021-09-10 14:30:16 +02:00
Igor Scheller 191a3a7d48
Replaced info and calendar icons 2021-07-29 20:01:18 +02:00
Igor Scheller 63f0a08407
Fixed spacing and sizes 2021-07-29 20:01:12 +02:00
Michael Weimann 4428266488
migrate panels to cards 2021-07-29 20:01:10 +02:00
Igor Scheller 36ba619d5a
Fixed button sizes and types 2021-07-29 20:01:06 +02:00
Igor Scheller b41a9a02d1
Use bootstrap icons instead of glyphicons 2021-07-29 20:01:05 +02:00
Igor Scheller 6f27d11093 Use mailto: and tel: links 2021-04-12 17:13:48 +02:00
Igor Scheller 149155fbda Added email notification on new news 2021-04-12 16:15:25 +02:00
Igor Scheller 5cdf3889f9 Add max length for user settings 2020-12-20 17:46:45 +01:00
msquare 39f96783cf review changes 2020-11-25 00:49:45 +01:00
Igor Scheller 27331b4cf6 Use twig to render profile setting page 2020-11-25 00:49:45 +01:00
msquare 0c3ff73454 new setting page layout 2020-11-25 00:49:45 +01:00
msquare d3265ef70a add password settings page 2020-11-25 00:49:45 +01:00
Igor Scheller 251f2cbfa6 OAuth: Added display name and metrics, show providers on user page 2020-11-22 14:55:29 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Igor Scheller b5e0a46dbd My Shifts: Link Angeltypes
Closes #707 (The angel types in the "My Shifts" view should be linked to their description page)
2020-10-18 16:58:36 +02:00
Igor Scheller 3d5ce35f5e Show available vouchers in user view 2020-10-18 16:58:36 +02:00
Igor Scheller 6c3d51272c User page: Fixed arrival text 2020-10-18 16:58:36 +02:00
Igor Scheller f732a4af6f Added Worklog model 2020-09-24 17:38:12 +02:00
Igor Scheller acf84f222d Added Room model 2020-09-24 09:34:00 +02:00
Igor Scheller bd2994eea7 Admin arrive: Show button on user pages 2020-09-22 11:46:11 +02:00
Igor Scheller 390db395a6 File formatting fixes 2020-06-28 19:39:29 +02:00
Igor Scheller 4d8e568ff8 Users overview: Fixed sorting 2020-04-25 16:54:30 +02:00
Igor Scheller 8c0ac0f7a1 Check permissions before showing ical, atom and json export links
closes #729 (Rechtesystem ical&json)
2020-04-25 16:54:30 +02:00
Igor Scheller 02ee581202 User view: Show double assigned shifts
closes #674 (Number of shifts differs in web interface and API response)
2020-04-24 22:32:55 +02:00
Igor Scheller a8333dd4d5 Only show "iCal export and API" on own profile page
It's confusing to see it on other profile pages
2020-04-24 22:32:55 +02:00
Igor Scheller e1471248fe User: Add pronoun statement 2019-12-26 19:18:47 +01:00
Igor Scheller dd03662968 Rebuild password reset 2019-10-08 16:17:06 +02:00
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 2019-10-08 15:28:23 +02:00
Igor Scheller a51bfae6e5 User view: Fix shifts order if user has worklogs 2019-08-24 12:32:34 +02:00
msquare 3ce3129b6e feature: disable lastname+prename in config 2019-08-24 10:56:59 +02:00
msquare 1604d2bce0 format freeloader duration on user myshifts page 2019-08-23 15:55:22 +02:00
msquare d4e0fb0013 format freeloader duration on user myshifts page 2019-08-23 15:49:41 +02:00
msquare 39fda9b04f format freeloader duration on user myshifts page 2019-08-23 15:47:17 +02:00
msquare 10fcd66da3 format freeloader duration on user myshifts page 2019-08-23 15:44:52 +02:00
msquare edcf794a32 fixes #644: display shifts with same start time on user myshifts page 2019-08-23 15:23:04 +02:00
msquare af580389c1 no time for arrival day needed 2019-07-25 18:53:27 +02:00
Igor Scheller d794efe7bd User overview: Order by planned arrival/departure dates 2019-07-25 17:40:59 +02:00
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
2019-07-08 01:57:59 +02:00
Igor Scheller b6eda8dbfc Fix profile link to mark angels as arrived 2019-06-04 21:22:19 +02:00
Igor Scheller 4e709d0d23 Log messages without inline HTML 2019-06-03 20:33:09 +02:00
msquare a9499f4e5a fix hour format for work log entries on myshifts page 2019-04-28 14:58:43 +02:00
msquare 4f1cef546e better nick validation, fixes #429 2019-04-28 14:39:49 +02:00
Igor Scheller 79c92da8c1 Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
2019-04-25 18:17:19 +02:00
Janne Heß 79b30fa3a8 Support disabling the planned arrival
We also use Engelsystem for single-day events, and the planned
arrival/departure feature doesn't make sense for us.
2019-04-23 21:05:56 +02:00
Janne Heß 665e444e88 Support disabling the DECT field
It's a really chaos-event-specific feature and is confusing for many
people on non-chaos events.
2019-04-23 12:43:45 +02:00
msquare 60ad343b22 fixes #178: Show not only next but also last shift in free angels view 2019-01-13 16:04:44 +01:00
Clemens 482721eb1b user view: Show multiple worklog entries per day
closes #531 (Multiple worklogs on same day not displayed in users shift list (but counted in sum))
2018-12-21 21:18:14 +01:00
Igor Scheller c33940f64a Moved permission checks to Authenticator class 2018-12-02 12:53:31 +01:00
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 2018-10-31 13:43:23 +01:00
Igor Scheller d7aea575ff Replaced more sql queries and old data 2018-10-31 13:43:23 +01:00
Igor Scheller 57932be428 Moved arrival_date to state 2018-10-31 13:43:23 +01:00
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
2018-10-31 13:43:23 +01:00
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉 2018-10-31 13:43:23 +01:00