Commit graph

422 commits

Author SHA1 Message Date
msquare
ce6419e308
Merge pull request from MyIgel/show-angetypes
Shift page: show additional angeltypes if shift entries where found
2019-08-21 22:22:05 +02:00
Igor Scheller
f73b8e7a0e Fix translation methods 2019-08-21 22:11:20 +02:00
Igor Scheller
b2a4225a62 Shift page: show additional angeltypes if shift entries where found 2019-08-21 22:08:48 +02:00
msquare
548d7317b4 redo fix shift view bug 2019-08-21 01:28:47 +02:00
msquare
53ec14b9c4 better bar min calculation 2019-08-19 10:20:44 +02:00
msquare
7d82103762 better bar min calculation 2019-08-19 10:20:07 +02:00
msquare
89ca2bb398 better bar min calculation 2019-08-19 10:19:27 +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
msquare
0c51d3c487 make shift calendar printable 2019-07-24 20:57:27 +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
0458ce9509 Added more error messages 2019-06-04 21:24:59 +02:00
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.
2019-06-04 21:24:59 +02:00
Igor Scheller
ead56a89fe Only show the shift "Comment" field for own entries 2019-06-04 21:23:34 +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 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 : Show not only next but also last shift in free angels view 2019-01-13 16:04:44 +01:00
Igor Scheller
6df3dc8489 questions: Don't strip content from messages
closes  ("=" removed in Questions & Answers)
2018-12-28 23:08:39 +01:00
Clemens
482721eb1b user view: Show multiple worklog entries per day
closes  (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
msquare
e0de2c2c65 more work on 35c3 theme 2018-11-25 15:40:53 +01:00
Igor Scheller
944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes  (Security Vulnerability)
2018-11-21 19:24:36 +01:00
Igor Scheller
88f3bafa5e Replaced Auth() with auth() 2018-10-31 13:43:23 +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
Igor Scheller
89e62c95a7 Changed more functions 🎉 2018-10-31 13:43:23 +01:00
Igor Scheller
b069a938c6 Changed user_link and some other user functions to use the user id 2018-10-31 13:43:23 +01:00
Igor Scheller
2dcb7cc2de Replaced some global $user variables 2018-10-31 13:43:23 +01:00
Igor Scheller
d15946df2d Changed src/ code and templates to use the new user model 2018-10-31 13:43:23 +01:00
Igor Scheller
b443b53919 Translation: added pluralization support 2018-10-30 22:50:22 +01:00
Igor Scheller
90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes 
2018-10-30 22:50:22 +01:00
Igor Scheller
7f61dc95be EventConfig: Merge event configuration from database to global config 2018-10-30 21:13:56 +01:00
Igor Scheller
7762c0eb2b Translatable user groups & cutoff fix
Closes  (Typo: "irt Manager" instead of "Shirt Manager")
2018-10-24 19:18:35 +02:00
Igor Scheller
66038eda14 Merge branch 'twig-templates' 2018-09-23 20:11:37 +02:00
Igor Scheller
2a134e6c0b Config: Removed nightshifts query 2018-09-23 11:40:53 +02:00
Igor Scheller
d0abc27c07 Merge remote-tracking branch 'MyIgel/translations' 2018-09-15 14:58:31 +02:00
Igor Scheller
9e217d87c0 Template refactoring to use twig 2018-09-02 02:09:56 +02:00
Bot
e8f8fc7f5f Replaced gettext translation _() with __() that uses the Translator class 2018-08-29 23:46:32 +02:00
Igor Scheller
acfe72cb91 Removed translation from config file 2018-08-29 23:46:32 +02:00
Igor Scheller
d6c8f1a614 Merge branch 'master' to 'rebuild-database' 2018-08-20 21:07:57 +02:00
Bot
28349b69a8 Changed JS to use single quotes instead of double quotes 2018-08-11 22:16:57 +02:00
Bot
5227fe6a94 Formatting 2018-01-14 18:09:34 +01:00