Commit Graph

414 Commits

Author SHA1 Message Date
msquare 39f96783cf review changes 2020-11-25 00:49:45 +01:00
Igor Scheller 27331b4cf6 Use twig to render profile setting page 2020-11-25 00:49:45 +01:00
msquare 0c3ff73454 new setting page layout 2020-11-25 00:49:45 +01:00
msquare d3265ef70a add password settings page 2020-11-25 00:49:45 +01:00
Igor Scheller 251f2cbfa6 OAuth: Added display name and metrics, show providers on user page 2020-11-22 14:55:29 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
Lena Schneider 18d5bd3bd4 Add pronouns to angeltype members
fix #770
2020-11-08 16:27:54 +01:00
Igor Scheller b5e0a46dbd My Shifts: Link Angeltypes
Closes #707 (The angel types in the "My Shifts" view should be linked to their description page)
2020-10-18 16:58:36 +02:00
Igor Scheller 3d5ce35f5e Show available vouchers in user view 2020-10-18 16:58:36 +02:00
Igor Scheller 6c3d51272c User page: Fixed arrival text 2020-10-18 16:58:36 +02:00
Igor Scheller 0bbc2d219d Rename "restricted angeltype" to "Requires introduction" in the frontend
Closes #294 (Rename "restricted angeltype")
2020-10-18 16:55:11 +02:00
Allen Taylor 6c177d5173 Added timestamps for questions 2020-09-27 19:28:27 +02:00
Igor Scheller f4f3487c93 Renamed variables for more consistent worklog naming 2020-09-24 17:38:12 +02:00
Igor Scheller f732a4af6f Added Worklog model 2020-09-24 17:38:12 +02:00
Igor Scheller acf84f222d Added Room model 2020-09-24 09:34:00 +02:00
Igor Scheller 8ff9b8b9b9 Room page: Add edit/delete buttons 2020-09-22 11:46:11 +02:00
Igor Scheller bd2994eea7 Admin arrive: Show button on user pages 2020-09-22 11:46:11 +02:00
Igor Scheller 390db395a6 File formatting fixes 2020-06-28 19:39:29 +02:00
Igor Scheller 4d8e568ff8 Users overview: Fixed sorting 2020-04-25 16:54:30 +02:00
Igor Scheller 8c0ac0f7a1 Check permissions before showing ical, atom and json export links
closes #729 (Rechtesystem ical&json)
2020-04-25 16:54:30 +02:00
Igor Scheller 02ee581202 User view: Show double assigned shifts
closes #674 (Number of shifts differs in web interface and API response)
2020-04-24 22:32:55 +02:00
Igor Scheller dfcacaa331 Renamed message send buttons
closes #702 (Sending a message and an irritating button)
2020-04-24 22:32:55 +02:00
Igor Scheller a8333dd4d5 Only show "iCal export and API" on own profile page
It's confusing to see it on other profile pages
2020-04-24 22:32:55 +02:00
Christian Kleinbach e4712658a4 added german date format for ticks in calender view + corresponding translation 2020-04-23 13:30:26 +02:00
Igor Scheller 94753bc3d8 Worklog: Limit worklog comment length to 200 as it is configured in the database 2020-01-09 13:43:10 +01:00
Igor Scheller e1471248fe User: Add pronoun statement 2019-12-26 19:18:47 +01:00
Igor Scheller ec47d124bb Shifts overview: only scroll shifts, not whole page 2019-12-26 16:46:06 +01:00
Michael Weimann ea034ecec6 Add the container class to some views 2019-12-19 19:33:52 +01:00
Michael Weimann e16e0b2644 Migrate Question usages 2019-12-07 21:29:11 +01:00
msquare 613d258c87 fix #345 by adding a badge to shift view wich contains number of missing angels 2019-11-03 12:08:46 +01:00
Igor Scheller eec1eff65b Shifts overview: Style cleanup 2019-10-20 15:38:09 +02:00
Wonko T. Sane 1a5c10dd41 adding a dashed line when expandable 2019-10-20 14:59:15 +02:00
Wonko T. Sane b14d352140 Fix for #526
Implementation idea stolen from http://jsfiddle.net/6K7t4/24/
2019-10-20 14:59:15 +02:00
Igor Scheller dd03662968 Rebuild password reset 2019-10-08 16:17:06 +02:00
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 2019-10-08 15:28:23 +02:00
Igor Scheller a51bfae6e5 User view: Fix shifts order if user has worklogs 2019-08-24 12:32:34 +02:00
msquare 3ce3129b6e feature: disable lastname+prename in config 2019-08-24 10:56:59 +02:00
msquare 1604d2bce0 format freeloader duration on user myshifts page 2019-08-23 15:55:22 +02:00
msquare d4e0fb0013 format freeloader duration on user myshifts page 2019-08-23 15:49:41 +02:00
msquare 39fda9b04f format freeloader duration on user myshifts page 2019-08-23 15:47:17 +02:00
msquare 10fcd66da3 format freeloader duration on user myshifts page 2019-08-23 15:44:52 +02:00
msquare edcf794a32 fixes #644: display shifts with same start time on user myshifts page 2019-08-23 15:23:04 +02:00
msquare ce6419e308
Merge pull request #643 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 #429 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 #178: 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 #545 ("=" removed in Questions & Answers)
2018-12-28 23:08:39 +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 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 #494 (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 #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 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
Igor Scheller fe58e4f422 database: updated checks for selectOne 2018-01-14 17:47:26 +01:00
mia c83771ed62
Fixes #401
Display "shift started" instead of "shift starts" when shift has already started.
2018-01-01 16:55:59 +00:00
msquare c961269bb7 better hour formatting 2017-12-30 12:07:10 +01:00
msquare d66dc43aec fix worklog entry view 2017-12-29 19:08:57 +01:00
msquare ee9fbda098 add work date to work log 2017-12-29 18:57:11 +01:00
msquare d95e488893 add work log creator infor 2017-12-29 17:37:08 +01:00
msquare 86a38a3372 add user work log entries feature 2017-12-29 17:19:27 +01:00
msquare 14584b9611 small improvements of user view 2017-12-29 13:18:28 +01:00
msquare be6bd2f3d3 small improvements of user view 2017-12-29 13:13:45 +01:00
msquare 3993e553d1 small improvements of user view 2017-12-29 13:12:56 +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 02b775684d some beauty for the my shifts table 2017-12-27 12:45:48 +01:00
msquare 1e8f0c4845 fixes #208, fixes #310: 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 f1b7946975 Removed some short ifs from Shifts_view.php 2017-12-26 14:35:33 +01:00
msquare db11dd1d0f fix room view 2017-12-26 12:45:35 +01:00
msquare a7dc640385 add my shifts button to shift view 2017-12-26 12:17:51 +01:00
msquare 0101993284 fix dashboard rows 2017-12-26 10:52:32 +01:00
msquare d4ccc14d6c fix dashboard rows 2017-12-26 10:51:23 +01:00
msquare 6aaf8d6f53 fix #389: Public Dashboard Stats 2017-12-26 10:47:39 +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 6f29b6492d show forced active on user view 2017-12-24 10:48:04 +01:00
msquare 05aad262bb show forced active on user view 2017-12-24 10:21:52 +01:00
msquare fbbea4eb5f add show on dashboard flag for angeltypes 2017-12-23 11:59:13 +01:00
msquare a1c032642f introduce new shift signup state for not arrived angels 2017-12-20 23:12:17 +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 fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions 2017-12-19 20:58:01 +01:00
msquare b60ad7ccfb make shift entry comment private again 2017-12-18 11:25:26 +01:00
msquare 3ea35788be finetuning dashboard layout 2017-12-14 20:09:51 +01:00
msquare a5f4de9509 finetuning dashboard layout 2017-12-14 20:03:34 +01:00
msquare c70e268a2e add fullscreen button to dashboard and update translation to german 2017-12-13 17:50:52 +01:00
msquare cf7eb80a92 fix dashboard ajax reload 2017-12-13 16:51:38 +01:00
gnomus c3d22ad517
Replace window reload with jquery ajax load 2017-12-13 14:43:17 +01:00
msquare 991058a9e4 improve public dashboard 2017-12-13 12:37:05 +01:00
msquare adc62470c5 improve public dashboard 2017-12-13 12:22:26 +01:00
msquare 582b1a739a improve public dashboard 2017-12-12 22:09:01 +01:00
msquare 3379ea10b2 improve public dashboard 2017-12-12 22:04:12 +01:00
msquare 59b8e76d12 improve public dashboard 2017-12-12 22:00:29 +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 cbe88ad801 remove some unused code 2017-12-10 15:12:39 +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
msquare 6dfa70974e ask for dect number if user arrived 2017-12-03 20:45:15 +01:00
MichiK bc3f777b23 Rename 'supporter(s)' to 'Supporter(s)' 2017-12-02 16:31:37 +01:00
msquare 962e7d5726 Hide 'You are not marked as arrived' notification in header until congress starts, fixes #368 2017-11-30 21:32:04 +01:00
msquare e54a10b816 add shift calendar to angeltype view fix tab jumps 2017-11-24 12:09:28 +01:00
msquare 928e707015 add shift calendar to angeltype view 2017-11-24 12:01:19 +01:00
msquare d8476f244d complete feature contact info for angeltypes, fixes #275 2017-11-24 10:02:52 +01:00
msquare b95d4ece8a increase readability of hints with links, refs #357 2017-11-19 16:41:20 +01:00
Igor Scheller d34b160b5c Added links to notifications, closes #357 2017-11-19 16:29:51 +01:00
Igor Scheller 945fcb079a Added registration_enabled configuration 2017-09-20 12:18:08 +02:00
msquare db8b6b2520 change shift renderer global add user link 2017-09-16 17:14:45 +02:00
Igor Scheller 0a20883aa8 Reimplementation of 2840bb619 (signup requires arrival), closes #330 2017-08-31 12:32:08 +02:00
Igor Scheller 96f1d9fd54 Bugfixes 2017-08-30 15:35:12 +02:00