Commit Graph

245 Commits

Author SHA1 Message Date
Michael Weimann 59cfce0c76
Enable space after cast sniff and remove .git-blame-ignore-revs 2022-12-25 11:59:45 +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 7f78f59840 Added UserAngelType model 2022-12-13 22:46:16 +01:00
Igor Scheller 6686d58c06 Implemented AngelTypes model 2022-12-08 18:35:22 +01:00
Thomas Rupprecht 0e3d47f2e1
replace md5 with random_bytes and use 64 chars for api_key 2022-12-08 15:57:13 +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 cdc218e116 db factories: More unique constrains 2022-11-26 13:36:47 +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
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 c0a39cb2a1 Migrations: Removed references to models to prevent further migration issues 2022-10-21 16:11:27 +02:00
Igor Scheller 3964982db0 Fixed migrations 2022-10-18 22:22:54 +02:00
Xu f9da096308 add option to show mobile number of user in users view 2022-10-18 22:06:08 +02:00
Xu 4d6da1894a added dect option for rooms 2022-10-18 21:22:37 +02:00
Igor Scheller bb49b308fb Generate UUID as shifts transaction id and fixed translation 2022-06-12 17:02:19 +02:00
Igor Scheller 96277dcfc4 Added transaction id to shifts for bulk deletion 2022-06-12 17:02:17 +02:00
Xu 9001907b74 added voucher angel group right 2022-06-12 16:14:22 +02:00
Xesxen 7d51953b84 Database: Increase shift_size column size 2022-06-03 16:03:59 +02:00
Michael Weimann 09babc596b Fix docker dev and tests 2022-04-12 23:23:45 +02:00
Igor Scheller 80d87617f2 Fix migration and test improvements 2022-01-01 16:33:40 +01:00
Tobias Wiese e361400f68 news: remove html support
Since the support for markdown in news the html feature isn't really
necessary any more.
2022-01-01 16:33:40 +01:00
Igor Scheller 05a206d367 Increased sessions table size 2021-12-29 17:12:19 +01:00
Igor Scheller 676a2113b4 Added User\License model 2021-12-29 17:12:19 +01:00
Igor Scheller 8d436d988a More PHP 8.1 fixes to be compatible 2021-12-29 11:00:02 +01:00
Igor Scheller 65f4af9c7e Removed anonymize.sql as its currently broken anyhow 2021-12-12 13:23:01 +01:00
Igor Scheller 0229e41149 Fixed create user table migration 2021-12-04 13:56:21 +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
Igor Scheller 59993788ec Added check if table exists to shifts migration 2021-11-27 11:43:53 +01:00
xuwhite a1f5454bf5
Optional description for shifts 2021-11-27 11:34:20 +01:00
Igor Scheller 5c90a1ef37 Added shirt edit view 2021-10-23 17:04:19 +02:00
Igor Scheller ff8adafd33 Added more factories 2021-08-08 18:31:33 +02:00
Igor Scheller ec355d40f5 Added user related factories 2021-08-08 18:31:33 +02:00
Igor Scheller 3912b4e93e Set initial admin password if configured
Resolves #806 (Allow admins to configure the initial password of the admin user)
Closes #809 PR (Allow to configure initial admin pw)
2021-05-24 15:41:16 +02:00
Igor Scheller bb2a13f605 OAuth: Compare oauth users using exact compare 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 f0bddb321c MySQL: Use bin format to compare oauth users 2020-12-29 00:28:37 +01:00
Igor Scheller 85044bc833 News: Add is_pinned 2020-12-27 10:59:28 +01:00
Igor Scheller d423bb07d3 OAuth: Save auth tokens 2020-12-26 21:09:24 +01:00
Igor Scheller 48e1d9f5f8 Questions: Fix permissions migration 2020-12-20 19:53:15 +01:00
Igor Scheller b5c974b9e3 Add new questions frontend 2020-12-20 17:46:45 +01:00
Igor Scheller 857ed23548 Added FAQ 2020-12-20 17:46:45 +01:00
Igor Scheller ebab34ee67 Schedule import: Add overview 2020-11-22 16:53:07 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Igor Scheller dbf3737170 Questions: Add current timestamp on migration 2020-09-27 23:42:39 +02:00
Allen Taylor 6c177d5173 Added timestamps for questions 2020-09-27 19:28:27 +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 8296ef0662 Migrations: Default to unsignedInteger in changeReferences() 2020-09-24 09:34:00 +02:00
Igor Scheller 8c630a2148 Groups: Added Welcome Angel 2020-09-22 11:46:11 +02:00
Igor Scheller 390db395a6 File formatting fixes 2020-06-28 19:39:29 +02:00
Igor Scheller 055586cb8f DB/MySQL: Use utf8mb4 to support emojis
closes #706 (Allow emoji as private message text)
2020-04-25 16:54:30 +02:00
Igor Scheller 395f6706d6 Message: Add coverage, fix method hints 2019-12-30 01:53:20 +01:00
Michael Weimann 95adeca0ae Add message model 2019-12-30 01:53:20 +01:00
Igor Scheller e1471248fe User: Add pronoun statement 2019-12-26 19:18:47 +01:00
Igor Scheller 42721e9572 Added Schedule parsing and replaced old Fahrplan importer
Resolves #553 (Change Frab Import from xCal to XML)
Resolves #538 (Feature Request: Multi Frab Import)
2019-12-08 02:20:48 +01:00
Igor Scheller 72123fcd31 Migration References->referencesUser: Changes $setPrimary from true to false 2019-12-08 02:09:52 +01:00
Igor Scheller ad6b48bd20 Migration: Fixed formatting 2019-12-08 01:56:51 +01:00
Michael Weimann 24578c5cb0 Add questions table migration 2019-12-07 21:29:11 +01:00
Igor Scheller a2f4426058 Migrations: Use on update cascade 2019-11-28 14:30:10 +01:00
Michael Weimann 17192a2c41
Adapt code style to PSR-12 2019-11-12 22:04:39 +01:00
Michael Weimann c0bf0b56f1
Add the news_comments table migration 2019-11-12 21:49:31 +01:00
Igor Scheller 68afc74b03 Formatting to follow PSR-12 2019-11-11 00:05:41 +01:00
Igor Scheller b878740f80 News: Bug fixes, cleanup, comments & formatting
Use more magically available methods and properties
Fixed atom feed and stats not using the new model
2019-11-10 22:10:11 +01:00
Michael Weimann 6534191d59 Migrate news to model class 2019-11-10 22:10:11 +01:00
Igor Scheller 508695efb2 Replaced gettext translation with package
This allows to check if no translation is available
2019-07-08 01:58:06 +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 5a912a0f7e migration: Add shiftentry_edit_angeltype_supporter permission to angels 2018-12-30 15:12:00 +01:00
Igor Scheller 99126cab0c migrations: formatting 2018-12-30 15:10:04 +01:00
msquare db26412e6c fixes #549: fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive 2018-12-27 19:08:35 +01:00
Igor Scheller b1d8fede46 user: allow up to 40 characters for dect numbers
closes #309 (EPVPN number in DECT field is shortened)
closes #529 (For dect numbers are only 5 digits allowed)
2018-12-22 12:03:24 +01:00
Igor Scheller 951828a4f1 Migration: Moved reference method to trait 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 57932be428 Moved arrival_date to state 2018-10-31 13:43:23 +01:00
Igor Scheller 8e62c4c52c Added new user models 2018-10-31 13:43:23 +01:00
Igor Scheller 689ad7d5d5 EventConfig: Use text column instead of json if not supported 2018-10-30 21:13:56 +01:00
Igor Scheller 63d1292bf8 Added EventConfig model 2018-10-30 21:13:56 +01:00
Igor Scheller 4f04924e29 Privileges: grant user work log permissions to shikos & cleanup
Closes #478 (Make user work log available)
2018-10-24 22:27:31 +02:00
Igor Scheller d985d493a3 Migrations: Added namespace 2018-10-24 19:15:07 +02:00
Igor Scheller 5f46fd2f15 Database: Don't use `0000-00-00 00:00:00` as a datetime 2018-10-24 19:15:07 +02:00
Igor Scheller 0b0890f425 Session: Added DatabaseHandler, replaces Symfony PdoSessionHandler 2018-09-25 14:02:55 +02:00
Igor Scheller 104e4f4c43 Session: Added Symfony PDO backend 2018-09-16 14:56:07 +02:00
Igor Scheller ac48332166 Models: Added LogEntry model 2018-08-31 03:24:54 +02:00
Igor Scheller 9d9aa71eb7 Installation: Added migrations for install.sql and update.sql files 2018-08-30 15:53:37 +02:00
msquare ee9fbda098 add work date to work log 2017-12-29 18:57:11 +01:00
msquare be3652b44a fix work log logs 2017-12-29 17:30:54 +01:00
msquare 86a38a3372 add user work log entries feature 2017-12-29 17:19:27 +01:00
Bot 952c7892f3 Formatting & Docstrings 2017-12-25 23:51:15 +01:00
msquare fbbea4eb5f add show on dashboard flag for angeltypes 2017-12-23 11:59:13 +01:00
msquare 4143680297 remove room number and visible flag, rename pentabarf to frab and introduce map/c3nav integration as well as markdown description for rooms 2017-12-10 15:02:37 +01:00
msquare d8476f244d complete feature contact info for angeltypes, fixes #275 2017-11-24 10:02:52 +01:00
msquare 80606cdd8b add sql script to anonymize a live db for testing 2017-11-19 10:32:51 +01:00
Igor Scheller 4817658862 Merge branch 'noc0lour:fix_setup_bugs', closes #335 2017-09-25 20:25:00 +02:00
Igor Scheller e6ed8a3017 Changed LogEntries table: Use log level instead of nick name 2017-09-19 19:45:02 +02:00
Igor Scheller 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML 2017-08-29 22:22:53 +02:00