Commit graph

248 commits

Author SHA1 Message Date
Igor Scheller
c33940f64a Moved permission checks to Authenticator class 2018-12-02 12:53:31 +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
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
b443b53919 Translation: added pluralization support 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
d0abc27c07 Merge remote-tracking branch 'MyIgel/translations' 2018-09-15 14:58:31 +02:00
Bot
e8f8fc7f5f Replaced gettext translation _() with __() that uses the Translator class 2018-08-29 23:46:32 +02:00
msquare
1090d5e889
Update shifts_controller.php
fix problem when missing needed angeltype entry
2018-08-28 18:28:09 +02:00
Igor Scheller
d6c8f1a614 Merge branch 'master' to 'rebuild-database' 2018-08-20 21:07:57 +02:00
msquare
6dbec2e2fb remove unused code 2018-01-28 14:52:26 +01:00
Igor Scheller
646ffc1910 $bugfixes... 2018-01-14 18:50:37 +01:00
Bot
5227fe6a94 Formatting 2018-01-14 18:09:34 +01:00
Igor Scheller
fe58e4f422 database: updated checks for selectOne 2018-01-14 17:47:26 +01:00
msquare
c961269bb7 better hour formatting 2017-12-30 12:07:10 +01:00
msquare
ee9fbda098 add work date to work log 2017-12-29 18:57:11 +01:00
msquare
86a38a3372 add user work log entries feature 2017-12-29 17:19:27 +01:00
msquare
3993e553d1 small improvements of user view 2017-12-29 13:12:56 +01:00
msquare
b59d17918e small improvements of user view 2017-12-29 13:09:35 +01:00
msquare
c3b8fa892d tshirt-score for forced active 2017-12-27 20:30:05 +01:00
Bot
b00743d6d3 Formatting 2017-12-27 13:50:53 +01:00
msquare
1e8f0c4845 fixes , fixes : T-Shirt Score™ should be shown on the user view page below your shifts 2017-12-27 12:24:55 +01:00
msquare
abf4b1da30 check if logged in before sign up 2017-12-27 11:35:26 +01:00
Igor Scheller
f8d0a7c5b0 Updated translation / Formatting / Test 2017-12-26 00:21:44 +01:00
Igor Scheller
75eea1681e Removed dead function call 2017-12-25 23:51:15 +01:00
Bot
952c7892f3 Formatting & Docstrings 2017-12-25 23:51:15 +01:00
klemens
a6cf4c9ce9 spelling fixes 2017-12-25 21:29:00 +01:00
msquare
5f34e15712 fix broken public dashboard shift links 2017-12-23 22:49:56 +01:00
msquare
fbbea4eb5f add show on dashboard flag for angeltypes 2017-12-23 11:59:13 +01:00
msquare
2c04e35bed introduce new shift signup state for not arrived angels 2017-12-20 23:05:46 +01:00
msquare
7a3bdda483 rewrite controller for creating shift entries 2017-12-20 00:54:57 +01:00
msquare
1289101f6e rewrite controller for creating shift entries 2017-12-20 00:42:58 +01:00
msquare
afd7c59d1d fix shift entry delete 2017-12-19 22:24:06 +01:00
msquare
fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions 2017-12-19 20:58:01 +01:00
msquare
567ed9ebd2 remove flags since they do not belong to language selection 2017-12-19 19:17:50 +01:00
msquare
769d8c4af9 better logging of needed angeltypes for shifts and rooms 2017-12-17 13:22:29 +01:00
msquare
c70e268a2e add fullscreen button to dashboard and update translation to german 2017-12-13 17:50:52 +01:00
msquare
5278be1f0f add link to public dashboard from shift view 2017-12-13 12:53:07 +01:00
msquare
ff94df53d6 finish basic public dashboard 2017-12-12 21:57:57 +01:00
msquare
74f3677f19 add quick+dirty public dashboard 2017-12-11 22:26:36 +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
MichiK
32d14f493b Fix sign-up to shifts by supporter
Any user with the `shiftentry_edit_angeltype_supporter` privilege was
able to sign up any users of the correct angeltype to any shift that
they could sign up themselves because the shift entry controller only
checks for the global privilege an not the fact that the user is indeed
supporter for the angeltype in question.
2017-12-07 18:52:07 +01:00
msquare
e7d605c6d9 fix log on confirming angels 2017-12-02 14:44:41 +01:00
msquare
e54a10b816 add shift calendar to angeltype view fix tab jumps 2017-11-24 12:09:28 +01:00