Tim Neumann
c2dd25fc7c
Allow admins to remove entries from some config arrays ( #1155 )
...
This is done by setting the respective value to null
2023-09-24 21:42:44 +02:00
Igor Scheller
40b93e3d8b
Sessions: Only show part of the session ID
2023-09-18 19:00:51 +02:00
Igor Scheller
c06cb767da
Delete all other sessions after setting a new password
2023-09-18 18:10:40 +02:00
Igor Scheller
dbb089315f
Delete all sessions on password reset
2023-09-18 18:10:40 +02:00
Igor Scheller
5c59fec1cf
Add page to view and delete user sessions
2023-09-18 18:10:40 +02:00
Igor Scheller
102c8428c8
Save user id in Session model
2023-09-18 18:10:40 +02:00
Igor Scheller
67d5950926
Add Session model
2023-09-18 18:10:40 +02:00
Igor Scheller
ee7d30b339
Schedule import: Show error message on schedule parsing errors
2023-09-18 17:27:15 +02:00
Xu
1ca9b99612
added tests for config ifsg_light_enabled
2023-08-30 20:04:32 +02:00
Xu
6b273288bd
add config option for ifsg_light
2023-08-30 20:04:32 +02:00
Igor Scheller
24ecea0d65
Shifts: Fix day marker on start of day
2023-08-29 20:11:37 +02:00
Igor Scheller
5e702cd177
News creation: Show error on duplicates
2023-08-29 20:11:37 +02:00
Igor Scheller
a60c5987ab
Worklog: create log entry on successfull creation
2023-08-29 20:11:37 +02:00
Igor Scheller
009b0f3f27
Fixed tests
2023-08-18 15:18:45 +02:00
Michael Weimann
f4030b86af
Add day of event in footer and on dashboard
2023-08-18 14:46:19 +02:00
Xu
b5803caf44
fix work log suggestion during the event
2023-08-16 20:54:35 +02:00
Michael Weimann
85bc95fea9
Fix code style
2023-08-14 16:38:44 +02:00
msquare
0a3a3c3b56
make tests happy again
2023-08-14 16:30:14 +02:00
Igor Scheller
49300900d6
News: Catch all throwable exceptions
2023-08-13 13:47:37 +02:00
msquare
3ae8424aea
so much space...
2023-08-12 13:09:09 +02:00
msquare
6622680baf
add ifsg tests
2023-08-12 12:19:24 +02:00
Xu
21423ef305
renaming ifsg
2023-08-12 12:19:24 +02:00
Xu
4378fa2d7d
fix tests after ifsg implementation
2023-08-12 12:19:24 +02:00
Xu
f345942e46
add ifsg certificates
2023-08-12 12:19:24 +02:00
Igor Scheller
e407a3b780
OAuth: Fix error when user id is numeric
2023-07-30 18:57:49 +02:00
Michael Weimann
9feed46d4e
Add TrimMiddleware to trim all request values
2023-07-10 12:59:02 +02:00
Michael Weimann
c5317e2536
Add ShirtSize validation
2023-05-11 18:48:28 +02:00
Igor Scheller
72d48de3ae
Add ETag to FeedController
2023-05-03 16:04:39 +02:00
Michael Weimann
1292722ac3
Add Username validation
2023-04-17 23:09:08 +02:00
Igor Scheller
bf4a818e01
Make session cleanup more robust and tests explicit
2023-04-08 14:14:57 +02:00
Igor Scheller
9f35ebc482
Use app configured session lifetime for garbage collection
2023-04-08 00:34:43 +02:00
Thomas Rupprecht
d4104850be
phpstan fixes (partial level 3) ( #1091 )
2023-04-01 14:39:25 +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
523e984122
Added git HEAD to version parsing
2023-02-28 16:12:01 +01:00
Igor Scheller
fb8c05edad
Added email notification on new private messages
2023-02-26 16:59:48 +01:00
Igor Scheller
a464682b47
Reimplemented admin room pages
2023-02-26 16:55:04 +01:00
Igor Scheller
6b15e6b86e
Fixed news test
2023-02-26 13:49:13 +01:00
Igor Scheller
cf18f058b5
Moved logging tests from feature to unit
2023-02-26 13:49:13 +01:00
Igor Scheller
e0a702ec3b
Fixed stats test
2023-02-26 13:49:13 +01:00
Igor Scheller
98a0937b82
Reimplemented angeltypes about page
2023-02-15 18:05:30 +01:00
xuwhite
6fcb656299
Added important news ( #1096 )
2023-02-13 21:19:45 +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
Bot
f9d22f9bda
Set strict types everywhere (except includes)
2023-02-03 20:55:58 +01:00
Michael Weimann
3c6a5bb385
Fix strict types errors
2023-02-03 20:55:58 +01:00
Igor Scheller
7eccf2c535
Reimplemented shifts json export
2023-02-02 20:01:31 +01:00
Igor Scheller
b0b4cb54ec
Reimplemented shifts ical export
2023-02-02 20:01:31 +01:00
Igor Scheller
3d0d5067fd
Reimplemented news Atom feed, added RSS feed
2023-02-02 20:01:31 +01:00
Igor Scheller
8223193330
Added uuid/uuidBy twig functions
2023-02-02 20:01:31 +01:00
Igor Scheller
a9cd00c37a
Authenticator: Improve auth methods handling, esp. for api endpoints
2023-02-02 20:01:31 +01:00
Xu
ccdf1aa8d5
add config option for other goodies
2023-01-31 01:51:31 +01:00
Igor Scheller
0188ed5562
Fixed StringInputLength validation
2023-01-24 23:28:15 +01:00
Igor Scheller
37a26c123e
Validation: Fixed worklog comment: ...
2023-01-24 20:49:31 +01:00
Igor Scheller
f5a7598a45
tests: Removed exception handler registration because it has side effects
2023-01-24 20:49:31 +01:00
Thomas Rupprecht
e844c98871
Convert class const's to enum's ( #1050 )
...
* convert `Migrate::(UP|DOWN)` class const to `MigrateDirection` enum
* convert `Handler::(ENV_PRODUCTION|ENV_DEVELOPMENT)` class const to `Environment` enum
* convert `ShiftSignupState::(FREE|...|NOT_ARRIVED)` class const to `ShiftSignupStatus::(FREE|...|NOT_ARRIVED)` enum
2023-01-24 19:23:57 +01:00
Thomas Rupprecht
5a2b8f7ff9
Improve navbar
2023-01-22 19:16:33 +01:00
Igor Scheller
96f703bf22
Migrate NeededAngelType model
2023-01-22 18:43:09 +01:00
Igor Scheller
89dc85c3d5
Add ShiftEntry model
2023-01-18 13:02:11 +01:00
Johannes Rudolph
64be48c646
Add Possibility for Custom Translations: config/[locale]/custom.po
2023-01-17 19:22:59 +01:00
Igor Scheller
2be8e565bf
Refactored UUID generation: use pseudo unique named UUID for schedules
2023-01-06 14:16:41 +01:00
Igor Scheller
3115870ec4
Added Shift model
2023-01-03 22:19:03 +01:00
Michael Weimann
59cfce0c76
Enable space after cast sniff and remove .git-blame-ignore-revs
2022-12-25 11:59:45 +01:00
Thomas Rupprecht
3d88ae7916
convert `switch` to `match`
2022-12-22 00:08:54 +01:00
Igor Scheller
559517e017
Ignore the timezone configured in php.ini, better cleanup after feature tests
2022-12-21 17:22:45 +01:00
Igor Scheller
d1b7b6886e
Fix tests coverage
2022-12-21 15:11:37 +01:00
Michael Weimann
2ad4203dd3
Add useless comment phpcs sniff
2022-12-20 22:19:49 +01:00
Michael Weimann
61139e03c3
Use constructor property promotion
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-20 22:18:34 +01:00
Michael Weimann
b004f865b4
Set native property types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:50 +01:00
Michael Weimann
aff8826c99
Set native return types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Michael Weimann
2b88322c0c
Set native parameter types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:30 +01:00
Igor Scheller
f835a7538c
Tests: Improved execution time, test more factories
2022-12-13 22:59:56 +01:00
Igor Scheller
93b30dcbdf
OAuth2 event: refactoring
2022-12-13 22:46:16 +01:00
Igor Scheller
5b8805f884
Moved OAuth2 event helper and added tests
2022-12-13 22:46:16 +01:00
Igor Scheller
7f78f59840
Added UserAngelType model
2022-12-13 22:46:16 +01:00
Igor Scheller
b4402a5b59
Update PHP dependencies (major version bumps)
2022-12-13 22:03:08 +01:00
Thomas Rupprecht
ce0ac6f823
Use specific ID parameter names in routes ( #1023 )
2022-12-11 18:01:34 +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
Michael Weimann
9396a49412
Add phpstan
2022-12-08 16:32:04 +01:00
Joshua Bachmeier
6917f7805b
Add support for oauth scopes
...
As defined in RFC6749:
* https://www.rfc-editor.org/rfc/rfc6749#section-4.1.1
* https://www.rfc-editor.org/rfc/rfc6749#section-3.3
Scopes can be configured per-provider in engelsystem config.
2022-12-02 15:35:10 +01:00
Joshua Bachmeier
44821019b6
Add error handling to oauth provider response processing
2022-12-02 15:35:10 +01:00
Igor Scheller
7a92ea077f
ShiftType test: Fix test
2022-12-02 15:07:29 +01:00
Igor Scheller
992e708276
Replaced ShiftTypes with shift_types / ShiftType model
2022-11-27 14:17:02 +01:00
Igor Scheller
ac162f4411
Removed referenced angeltype from shift type
2022-11-27 14:17:02 +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
35815b0838
Settings Modernization: Applied suggested changed from #972
2022-11-01 16:55:23 +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
frischler
d6899d37d9
Settings Modernization: Applying buildup and teardown time, add localization
2022-11-01 16:55:23 +01:00
frischler
203531629f
Settings Modernization: Creating /settings/profile page with Controller methods and tests
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
Xu
b860b37ba9
add option to hide angeltype at registration
2022-10-21 22:30:17 +02:00
Igor Scheller
ff1dfd5a18
Use config for session tests
2022-10-21 19:49:18 +02:00
Xu
2391415969
make session lifetime configurable
2022-10-21 19:42:10 +02:00
Igor Scheller
7cd4befdfa
Refactored shift entry deletion: Use event for notification and worklog creation
2022-10-14 16:27:51 +02:00
Igor Scheller
870a92efd5
Move NightShiftMultiplier calculation to Shifts helper
2022-10-14 16:27:51 +02:00
Igor Scheller
20e389fccd
k8s: Use traefik as default ingress, added improved app url handling to support subpath deployments
2022-10-14 13:36:11 +02:00
Michael Weimann
29aec8d72f
Fix barchart division by 0 error
2022-07-18 19:33:58 +02:00
Igor Scheller
cf53d85ced
Fixed coverage for BarChart test
2022-07-12 00:36:38 +02:00