Igor Scheller
f90ab26fee
Moved translation helpers to sub namespace
6 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
0458ce9509
Added more error messages
6 years ago
MichiK
142871f852
Add a config option for maximum signup in advance
...
We now have `signup_advance_hours` in the configuration that
only allows signup for shifts so many hours in the future.
A notice is displayed in the shift view for shifts in the
far future, together with an info notice on when signup for
that shift will be possible.
In addition, we now have a new shift state `NOT_YET` for this
purpose so we do not have to abuse `SHIFT_ENDED` anymore for
`signup_requires_arrival` as well.
6 years ago
Igor Scheller
ead56a89fe
Only show the shift "Comment" field for own entries
6 years ago
Igor Scheller
b6eda8dbfc
Fix profile link to mark angels as arrived
6 years ago
Igor Scheller
94fea1edad
Use ini timezone setting
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
Igor Scheller
ca0b2d8b5f
Improved email error logging
6 years ago
msquare
a9499f4e5a
fix hour format for work log entries on myshifts page
6 years ago
msquare
ef2d917c59
catch mail exceptions, execute the action, inform the user about the error and create a log entry
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
d208cab1ac
When only free shifts should be shown: filter for selected angel types
...
closes #556 (shifts shown, where not selected angeltype is free)
6 years ago
Igor Scheller
1fefe93bc8
users_controller: formatting
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
Igor Scheller
0150aca6ad
Order rooms in shift overview by name
...
closes #551 (Order of Rooms in overview)
6 years ago
msquare
794df6f99e
fixes #548 : users with only worklog and no shifts had 0 minutes on admin-active. query fixed
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
689735ad51
Sort users on team page
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
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))
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
9a15fbc71e
worklog: Fix hours validation
...
closes #527 (Worklog entries with floating point numbers with a comma dispatches a team of untrained monkeys)
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
Igor Scheller
c676e73cf6
php7.3: Fix username validation regex
...
closes #523 (Login does not work ->Invalid range in character class)
6 years ago
msquare
412be8e188
upgrade chart.js lib and fix bargraph. fixes #511
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