730 Commits (main)

Author SHA1 Message Date
Igor Scheller c44d48a22a Registration: Added autocompletion information and fixed naming 4 years ago
Igor Scheller 85baeb3a6b Registration: Added pronoun 4 years ago
Igor Scheller 0bbc2d219d Rename "restricted angeltype" to "Requires introduction" in the frontend
Closes #294 (Rename "restricted angeltype")
4 years ago
Allen Taylor 6c177d5173 Added timestamps for questions 4 years ago
Igor Scheller f732a4af6f Added Worklog model 4 years ago
Igor Scheller acf84f222d Added Room model 4 years ago
Igor Scheller e9726982fd Edit user: Allow groups admin to change own groups 4 years ago
Igor Scheller 559d641825 User settings: Don't default to 1970-01-01 4 years ago
Igor Scheller 390db395a6 File formatting fixes 5 years ago
Igor Scheller 272be5eab2 Shifts overview: Show all rooms and only own angel types 5 years ago
Igor Scheller e947e788f9 Rebuild logs view 5 years ago
Igor Scheller 8c0ac0f7a1 Check permissions before showing ical, atom and json export links
closes #729 (Rechtesystem ical&json)
5 years ago
Igor Scheller 795a0631cb Added application base url: Redirector now uses URLs instead of relative paths 5 years ago
Igor Scheller d323b75501 News: Rewrite 5 years ago
Igor Scheller 951755598a Removed ReplaceSmilies from news 5 years ago
Igor Scheller c519be276a Logging: Renamed EngelsystemLogger to Logger and added UserAwareLogger 5 years ago
Igor Scheller dfcacaa331 Renamed message send buttons
closes #702 (Sending a message and an irritating button)
5 years ago
msquare fd2a644a24 #723: i8n date formats on news page 5 years ago
msquare fbd78b8daf fixes #693: never select a default date before first existing shift in shifts view 5 years ago
Michael Weimann a78659b2d4 Migrate message view 5 years ago
Igor Scheller b3a4c67b1b Admin arrive: Fixed search 5 years ago
Igor Scheller e1471248fe User: Add pronoun statement 5 years ago
Michael Weimann ea034ecec6 Add the container class to some views 5 years ago
cbluoss 4beb5a6986 Extended the iCal section with a collapsible card to show the current api key. 5 years ago
msquare d70d7c6436 Resolve redirect problem in schedule import 5 years ago
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 5 years ago
Igor Scheller 47e209e125 ImportSchedule: Append talk language to shift title
Resolves #587 (Include talk language into Frab-imported shift titles)
5 years ago
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)
5 years ago
Bot be39c63f46 Renamed redirect() to throwRedirect() 5 years ago
Igor Scheller d6cb9c6258 Questions: Moved user tests to user and fixed attribute names, added @covers 5 years ago
Michael Weimann e16e0b2644 Migrate Question usages 5 years ago
Igor Scheller 14f8d208b8 Removed global $ical_shifts 5 years ago
Igor Scheller 0e386d2c7f Removed global $page 5 years ago
Michael Weimann 35a7d853ff
Migrate view to the NewsComments model 5 years ago
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
5 years ago
Michael Weimann 6534191d59 Migrate news to model class 5 years ago
msquare 416c49ae0b fix #634 by also allowing only restricted angeltypes 5 years ago
msquare 2b27b45aba remove legacy file guest start 5 years ago
Igor Scheller 9b08b951a2
Merge pull request #651 from MyIgel/shift-deletion-worklog
Save time of past shifts as worklog if they get deleted
5 years ago
Igor Scheller fc773b25b3 Use 403 forbidden on shifts json, atom export and ical export 5 years ago
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 5 years ago
Igor Scheller 85e4403392 Rooms: Save times as Worklog and notify on room deletion 5 years ago
Igor Scheller a02f5e61be Edit user: Prevent overwriting first and last name if temporary disabled 5 years ago
Igor Scheller 100602437f User admin: Allow setting new groups if user has none assigned 5 years ago
msquare 3ce3129b6e feature: disable lastname+prename in config 5 years ago
Igor Scheller 69b3a2440c Admin user: Show force active status in log 5 years ago
msquare a5f838d56a fix back button on shift create preview 5 years ago
msquare ead2b1582b add overnight shift creation feature flag 5 years ago
Yannik Enss 770202e03d Declare summary of atom feed items as HTML
RFC4287 Section 3.1.1 requires HTML content to be declared
as such with the "type" attribute, this commit adds that attribute
to the generated atom feeds.
5 years ago
msquare 76a7ceb27b fixes #635: set end of the last created shift to the official end inestead of first shift change on next day 5 years ago
msquare d376c0d038 fix edit user error 5 years ago
msquare 1b3781cb2f format admin_arrive dates accordingly as in user list 5 years ago
msquare 0c51d3c487 make shift calendar printable 5 years ago
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
6 years ago
Igor Scheller 6ed891fc04 Added logout via AuthController 6 years ago
Igor Scheller ead56a89fe Only show the shift "Comment" field for own entries 6 years ago
Igor Scheller 4e709d0d23 Log messages without inline HTML 6 years ago
Igor Scheller e7f10d846e Escape log messages 6 years ago
msquare f6a87535a0 add help button to ical export for android, fixes #402 6 years ago
msquare 4f1cef546e better nick validation, fixes #429 6 years ago
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/]
```
6 years ago
Igor Scheller 7c3a0c70e8 Bugfix: default value for planned_arrival_date and don't overwrite dect
Fixed registration form formatting
Fixed profile request attributes fallback values
6 years ago
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.
6 years ago
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.
6 years ago
Igor Scheller 69c47dcc42 admin-free: Improved formattig 6 years ago
Janne Heß 69ac1b2d21 Support disabling the arrival feature
Setting `autoarrive` to true will now cause all newly registered angels
to be automatically confirmed as arrived.
6 years ago
Janne Heß afa4506e11 Support alternative home sites 6 years ago
msquare 60ad343b22 fixes #178: Show not only next but also last shift in free angels view 6 years ago
Igor Scheller 1bb2c57842 comments: Don't strip characters
closes #510 (htmlentities-like content in a comment gets removed)
6 years ago
Igor Scheller 6df3dc8489 questions: Don't strip content from messages
closes #545 ("=" removed in Questions & Answers)
6 years ago
Igor Scheller 012d5a4722 Don't strip characters from direct messages 6 years ago
Igor Scheller 540efef63e active angels: Bugfix and prevent errors when searching double spaces 6 years ago
msquare db26412e6c fixes #549: fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive 6 years ago
Igor Scheller acd9ec6966 add multiple shifts: Fix hour regex and sorting, cleanup and formatting 6 years ago
Igor Scheller 36830c43e7 Fix warning if searching two whitespaces and formatting 6 years ago
Igor Scheller 31d9efb2b8 Bugfix: Edit user: Show groups list if angel has no rights 6 years ago
Igor Scheller d214525e24 Sort Angels Alphabetical
closes #541 (Shift Signup: Sort Angels Alphabetical)
6 years ago
jwacalex 8c5b52aa11 reformatted code due to guidelines 6 years ago
jwacalex 60a9c15454 first draft for #536 6 years ago
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)
6 years ago
Igor Scheller c5621b82cf Implemented /metrics endpoint and reimplemented /stats
closes #418 (/metrics endpoint)

Usage:
```yaml
scrape_configs:
  - job_name: 'engelsystem'
    static_configs:
    - targets: ['engelsystem.example.com:80']
```
6 years ago
Igor Scheller 204ff4c0e7 rooms admin: Set a maximum character length
closes #525 (Room names with more than 35 characters dispatch a team of untrained monkeys)
6 years ago
msquare 93b819025c fix margin of form submit in tables 6 years ago
MichiK 252f003b94 Really fix the data/timepicker CSS and JS
Attaching the timepicker to the input instead of the sorrounding div didn't
turn out as expected. Therefore, I used the same mechanism for DOM attachment
and lazy initialization for the timepicker like for the datepicker.

Instead of trying to load the CSS through webpack and some JS voodoo, it's
a lot simpler to just include it via the normal base theme CSS. This works.
In addition, I noticed that there is an easier way to read the current locale.
No need to do this twice via different ways.

This closes #516.
6 years ago
MichiK 7e53c45890 Change the color of "reset" in admin_arrive 6 years ago
MichiK ed5ee3235e Add timepickers in shifts view 6 years ago
Igor Scheller c33940f64a Moved permission checks to Authenticator class 6 years ago
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes #494 (Security Vulnerability)
6 years ago
Igor Scheller 23c0fae36f Added csrf middleware 6 years ago
msquare 8236989be0 fix missing unique mail validation on user register 6 years ago
Igor Scheller 15751f9c7a Fix error when accessing undefined date
Closes #491 (Edit User fails when User never logged in before)
6 years ago
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()` 6 years ago
Igor Scheller 82b22160fd Fixed error if shirt size is not configured 6 years ago
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 6 years ago
Igor Scheller d7aea575ff Replaced more sql queries and old data 6 years ago
Igor Scheller 57932be428 Moved arrival_date to state 6 years ago
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
6 years ago
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉 6 years ago
Igor Scheller 89e62c95a7 Changed more functions 🎉 6 years ago
Igor Scheller b069a938c6 Changed user_link and some other user functions to use the user id 6 years ago