Igor Scheller
d214525e24
Sort Angels Alphabetical
...
closes #541 (Shift Signup: Sort Angels Alphabetical)
2018-12-25 10:25:32 +01:00
jwacalex
8c5b52aa11
reformatted code due to guidelines
2018-12-22 12:10:16 +01:00
jwacalex
60a9c15454
first draft for #536
2018-12-22 12:10:16 +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
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))
2018-12-21 21:18:14 +01:00
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']
```
2018-12-19 22:36:42 +01:00
Igor Scheller
9a15fbc71e
worklog: Fix hours validation
...
closes #527 (Worklog entries with floating point numbers with a comma dispatches a team of untrained monkeys)
2018-12-18 13:48:46 +01:00
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)
2018-12-18 13:22:10 +01:00
Igor Scheller
c676e73cf6
php7.3: Fix username validation regex
...
closes #523 (Login does not work ->Invalid range in character class)
2018-12-18 12:44:09 +01:00
msquare
412be8e188
upgrade chart.js lib and fix bargraph. fixes #511
2018-12-09 13:07:19 +01:00
msquare
93b819025c
fix margin of form submit in tables
2018-12-09 12:51:48 +01:00
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 .
2018-12-08 21:14:20 +01:00
MichiK
7e53c45890
Change the color of "reset" in admin_arrive
2018-12-07 17:26:44 +01:00
MichiK
ed5ee3235e
Add timepickers in shifts view
2018-12-05 18:43:51 +01:00
MichiK
4e3232e57a
Replace datepicker and remove datepicker inline JS
2018-12-04 21:03:32 +01:00
MichiK
36b7f8d2a2
Fix datepicker
...
`<input type="date">` and JS datepicker combined cause trouble in some
browsers, so this changes all the date input fields' type to `text`
via JS so that the browser's datepicker is only used when a user has
disabled JavaScript.
In addition, it adds a placeholder so the user knows which date format
to use when entering the date manually.
This closes #507 .
2018-12-03 19:21:45 +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
f845a5ab8b
Added caching for templating and routing
...
See #486 (Implement caching)
2018-11-24 16:30:36 +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 #494 (Security Vulnerability)
2018-11-21 19:24:36 +01:00
Igor Scheller
23c0fae36f
Added csrf middleware
2018-11-21 19:24:36 +01:00
msquare
8236989be0
fix missing unique mail validation on user register
2018-11-18 12:13:00 +01:00
Igor Scheller
15751f9c7a
Fix error when accessing undefined date
...
Closes #491 (Edit User fails when User never logged in before)
2018-11-02 18:03:40 +01:00
Igor Scheller
88f3bafa5e
Replaced `Auth()` with `auth()`
2018-10-31 13:43:23 +01:00
Igor Scheller
82b22160fd
Fixed error if shirt size is not configured
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 #426
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 #318 (Typo: "irt Manager" instead of "Shirt Manager")
2018-10-24 19:18:35 +02:00
Igor Scheller
6187eed3bb
Merge remote-tracking branch 'MyIgel/mailing'
2018-09-26 21:31:18 +02:00
Igor Scheller
66038eda14
Merge branch 'twig-templates'
2018-09-23 20:11:37 +02:00
Nos-
b2303c0723
Tried to fix inputfields for date, email, tel
2018-09-23 11:48:09 +02:00
Igor Scheller
2a134e6c0b
Config: Removed nightshifts query
2018-09-23 11:40:53 +02:00
Igor Scheller
0734807eef
Merge remote-tracking branch 'MyIgel/logentry-model'
2018-09-16 12:06:18 +02:00
Igor Scheller
d0abc27c07
Merge remote-tracking branch 'MyIgel/translations'
2018-09-15 14:58:31 +02:00
Igor Scheller
8456a3cf6f
Moved emojis to assets
2018-09-10 22:49:46 +02:00
Igor Scheller
c1a1180d1f
Moved frontend, templates and lang to resources
2018-09-10 18:22:48 +02:00
Igor Scheller
222c9fed7d
Merge remote-tracking branch 'MyIgel/templating'
2018-09-09 12:11:12 +02:00
Igor Scheller
01e9c22695
Implemented mailing abstraction
...
Closes #434
2018-09-05 13:44:43 +02:00
Igor Scheller
36dafdb68a
Merge remote-tracking branch 'MyIgel/rebuild-psr7'
2018-09-03 22:55:54 +02:00
Igor Scheller
9d34f371cb
Added CreditsController
2018-09-03 15:42:51 +02:00