1205 Commits (2c8fcbf50699c4a274a46f866d5d5533e44df3c5)

Author SHA1 Message Date
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
MichiK 4e3232e57a Replace datepicker and remove datepicker inline JS 6 years ago
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.
6 years ago
Igor Scheller c33940f64a Moved permission checks to Authenticator class 6 years ago
msquare e0de2c2c65 more work on 35c3 theme 6 years ago
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
6 years ago
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)
6 years ago
Igor Scheller 23c0fae36f Added csrf middleware 6 years ago
msquare 8236989be0 fix missing unique mail validation on user register 6 years ago
Igor Scheller 15751f9c7a Fix error when accessing undefined date
Closes #491 (Edit User fails when User never logged in before)
6 years ago
Igor Scheller 88f3bafa5e Replaced `Auth()` with `auth()` 6 years ago
Igor Scheller 82b22160fd Fixed error if shirt size is not configured 6 years ago
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 6 years ago
Igor Scheller d7aea575ff Replaced more sql queries and old data 6 years ago
Igor Scheller 57932be428 Moved arrival_date to state 6 years ago
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
6 years ago
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉 6 years ago
Igor Scheller 89e62c95a7 Changed more functions 🎉 6 years ago
Igor Scheller b069a938c6 Changed user_link and some other user functions to use the user id 6 years ago
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables 6 years ago
Igor Scheller d15946df2d Changed `src/` code and templates to use the new user model 6 years ago
Igor Scheller b443b53919 Translation: added pluralization support 6 years ago
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes #426
6 years ago
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config 6 years ago
Igor Scheller 7762c0eb2b Translatable user groups & cutoff fix
Closes #318 (Typo: "irt Manager" instead of "Shirt Manager")
6 years ago
Igor Scheller 6187eed3bb Merge remote-tracking branch 'MyIgel/mailing' 6 years ago
Igor Scheller 66038eda14 Merge branch 'twig-templates' 6 years ago
Nos- b2303c0723 Tried to fix inputfields for date, email, tel 6 years ago
Igor Scheller 2a134e6c0b Config: Removed nightshifts query 6 years ago
Igor Scheller 0734807eef Merge remote-tracking branch 'MyIgel/logentry-model' 6 years ago
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations' 6 years ago
Igor Scheller 8456a3cf6f Moved emojis to assets 6 years ago
Igor Scheller c1a1180d1f Moved frontend, templates and lang to resources 6 years ago
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating' 6 years ago
Igor Scheller 01e9c22695 Implemented mailing abstraction
Closes #434
6 years ago
Igor Scheller 36dafdb68a Merge remote-tracking branch 'MyIgel/rebuild-psr7' 6 years ago
Igor Scheller 9d34f371cb Added CreditsController 6 years ago
Igor Scheller 9e217d87c0 Template refactoring to use twig 6 years ago
Igor Scheller ac48332166 Models: Added LogEntry model 6 years ago
Igor Scheller 2bebbeb191 Installation: Added migrations for install.sql and update.sql files 6 years ago
Igor Scheller 9d9aa71eb7 Installation: Added migrations for install.sql and update.sql files 6 years ago
Igor Scheller 5456fea503 $bugfixes 6 years ago
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class 6 years ago
Igor Scheller acfe72cb91 Removed translation from config file 6 years ago
Igor Scheller 427315195b Moved translation/internationalization to Helpers\Translator class 6 years ago
Igor Scheller bb3d16d273 Added Twig template renderer, closes #338 6 years ago
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty 6 years ago
msquare 1090d5e889
Update shifts_controller.php
fix problem when missing needed angeltype entry
6 years ago
Igor Scheller d93ace2eae Prevent object serialization in session 6 years ago
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database' 6 years ago
Igor Scheller f3b3b6683c Added middleware tests 6 years ago
msquare df30f7d5d8 merge pr #427: Use npm to handle frontend dependencies 6 years ago
Bot 28349b69a8 Changed JS to use single quotes instead of double quotes 6 years ago
Igor Scheller 864a086900 Prevent object serialization in session 6 years ago
msquare 2832fe48ee rename some params (codestyle) 6 years ago
msquare 9496e35711 added comments and renamed short method to url generators 6 years ago
msquare 5a83d4fb8b fix broken css class on main menu angel icon 6 years ago
msquare 6dbec2e2fb remove unused code 7 years ago
msquare 0f1da65f2a
Merge pull request #421 from MyIgel/master
Prevent empty string after $tokens = explode(' ', $search);
7 years ago
msquare 2e1c2cf3b5 remove br between shift filter checkboxes 7 years ago
Igor Scheller e44ba84561 Refactoring: moved application bootstrapping to bootstrap.php 7 years ago
Igor Scheller 0d154365a2 models: return null on empty result 7 years ago
Igor Scheller 646ffc1910 $bugfixes... 7 years ago
Bot 5227fe6a94 Formatting 7 years ago
Igor Scheller fe58e4f422 database: updated checks for selectOne 7 years ago
Igor Scheller 0e8cc2f0a7 database: integrated illuminate/database do Db class, removed unused methods 7 years ago
Igor Scheller b2e5b5c44d Prevent empty string after $tokens = explode(' ', $search); 7 years ago
mia c83771ed62
Fixes #401
Display "shift started" instead of "shift starts" when shift has already started.
7 years ago
msquare 73ed2308c1 use user tshirt count 7 years ago
msquare b3ca550ed0 simplify t-shirt statistics 7 years ago
msquare 0314ba19e3 make got t-shirt always available 7 years ago
msquare c961269bb7 better hour formatting 7 years ago
msquare d66dc43aec fix worklog entry view 7 years ago
msquare ee9fbda098 add work date to work log 7 years ago
msquare d95e488893 add work log creator infor 7 years ago
msquare be3652b44a fix work log logs 7 years ago
msquare 86a38a3372 add user work log entries feature 7 years ago
msquare e7b0e9934d add shift filter buttons at the top 7 years ago
msquare 14584b9611 small improvements of user view 7 years ago
msquare be6bd2f3d3 small improvements of user view 7 years ago
msquare 3993e553d1 small improvements of user view 7 years ago
msquare b59d17918e small improvements of user view 7 years ago
msquare c3b8fa892d tshirt-score for forced active 7 years ago
msquare 8c64532902 fix ical export description 7 years ago
Bot b00743d6d3 Formatting 7 years ago
Igor Scheller 6ceec76e7d feature request: filter angel types based on account settings, closes #362 7 years ago
msquare 02b775684d some beauty for the my shifts table 7 years ago
msquare 1e8f0c4845 fixes #208, fixes #310: T-Shirt Score™ should be shown on the user view page below your shifts 7 years ago
msquare abf4b1da30 check if logged in before sign up 7 years ago
Katrin Leinweber a2fa3fce3d rephrase more naturally 7 years ago
msquare 96d4968e1d fix dashboard stats 7 years ago
Igor Scheller 6953090e7d 392: Show warning message when editing html news without proper permissions to save them, Closes #392 7 years ago
Igor Scheller f1b7946975 Removed some short ifs from Shifts_view.php 7 years ago
msquare db11dd1d0f fix room view 7 years ago
msquare a7dc640385 add my shifts button to shift view 7 years ago
msquare 0101993284 fix dashboard rows 7 years ago
msquare d4ccc14d6c fix dashboard rows 7 years ago
msquare 6aaf8d6f53 fix #389: Public Dashboard Stats 7 years ago
Igor Scheller f8d0a7c5b0 Updated translation / Formatting / Test 7 years ago
Igor Scheller 75eea1681e Removed dead function call 7 years ago
Bot 952c7892f3 Formatting & Docstrings 7 years ago
klemens a6cf4c9ce9 spelling fixes 7 years ago
msquare 6f29b6492d show forced active on user view 7 years ago
msquare 05aad262bb show forced active on user view 7 years ago
msquare 5f34e15712 fix broken public dashboard shift links 7 years ago
msquare fbbea4eb5f add show on dashboard flag for angeltypes 7 years ago
msquare 81b4e9d2bc solve problem with autobreaks in news text when building html tables 7 years ago
msquare 34da670b6f solve problem with autobreaks in news text when building html tables 7 years ago
msquare 2b52d24c59 solve problem with autobreaks in news text when building html tables 7 years ago
msquare 9969208be2 solve problem with autobreaks in news text when building html tables 7 years ago
msquare a0f70d9819 solve problem with autobreaks in news text when building html tables 7 years ago
msquare a1c032642f introduce new shift signup state for not arrived angels 7 years ago
msquare 2c04e35bed introduce new shift signup state for not arrived angels 7 years ago
msquare 7a3bdda483 rewrite controller for creating shift entries 7 years ago
msquare 1289101f6e rewrite controller for creating shift entries 7 years ago
msquare afd7c59d1d fix shift entry delete 7 years ago
msquare fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions 7 years ago
msquare 567ed9ebd2 remove flags since they do not belong to language selection 7 years ago
msquare b60ad7ccfb make shift entry comment private again 7 years ago
msquare 769d8c4af9 better logging of needed angeltypes for shifts and rooms 7 years ago
msquare b2602f8936 add log entries when deleting a room 7 years ago
MichiK 9c54b42a3d Allow dot in user name
0f273988 changed the regular expression for user names. The new regex
does not allow dots anymore in user names, stripping them silently.
We already have at least one user with a dot in their name who can't
login now anymore.
7 years ago
msquare 3ea35788be finetuning dashboard layout 7 years ago
msquare a5f4de9509 finetuning dashboard layout 7 years ago
msquare 20f4d44cbf fix union queries for dashboard stats 7 years ago
msquare 35be25a786 fix dashboard using needed angeltypes from room config too for frab shifts 7 years ago
msquare 952dc6921a undo of fix #382: XXE DoS in engelsystem - the feature is actually needed for xcal files 7 years ago
msquare c70e268a2e add fullscreen button to dashboard and update translation to german 7 years ago
msquare a8cf4b9ddf fix #382: XXE DoS in engelsystem 7 years ago
msquare cf7eb80a92 fix dashboard ajax reload 7 years ago
gnomus c3d22ad517
Replace window reload with jquery ajax load 7 years ago
msquare 5278be1f0f add link to public dashboard from shift view 7 years ago
msquare 991058a9e4 improve public dashboard 7 years ago
msquare adc62470c5 improve public dashboard 7 years ago
msquare af8454598c improve public dashboard 7 years ago
msquare 582b1a739a improve public dashboard 7 years ago
msquare 3379ea10b2 improve public dashboard 7 years ago
msquare 59b8e76d12 improve public dashboard 7 years ago
msquare ff94df53d6 finish basic public dashboard 7 years ago
msquare d5631297dc better logging of needed angeltypes for shifts and rooms 7 years ago
msquare 74f3677f19 add quick+dirty public dashboard 7 years ago
msquare afb77d22ba move room db queries to model 7 years ago
msquare aae8c77ed1 fix #212: Duplicate entry for Room name 7 years ago
msquare dbf6e64a2c change write permission check to catch exceptions 7 years ago
msquare cbe88ad801 remove some unused code 7 years ago
msquare 4143680297 remove room number and visible flag, rename pentabarf to frab and introduce map/c3nav integration as well as markdown description for rooms 7 years ago
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.
7 years ago
msquare e5880c51a2 fix #376: Removing supporter rights does not work 7 years ago
msquare 6dfa70974e ask for dect number if user arrived 7 years ago
MichiK bc3f777b23 Rename 'supporter(s)' to 'Supporter(s)' 7 years ago
msquare e7d605c6d9 fix log on confirming angels 7 years ago
msquare 0f273988c9 fix user nick validation, fixes #369 7 years ago
msquare a5f5dc52c8 update bootstrap-datepicker and set orientation to bottom, fixes #370 7 years ago
msquare 962e7d5726 Hide 'You are not marked as arrived' notification in header until congress starts, fixes #368 7 years ago
msquare 9e04e2d4a0 fix age validation 7 years ago
msquare cbc7f54ad8 fix query for creating angeltypes 7 years ago
Igor Scheller 0b45d2a88f #366 Feature: Time Interval Buttons (on Shifts page), closes #366 7 years ago
Igor Scheller 25e434bce4 Refactored ExceptionHandler 7 years ago
Igor Scheller 6eea072376 Added ExceptionHandler Interface 7 years ago
msquare e54a10b816 add shift calendar to angeltype view fix tab jumps 7 years ago
msquare 928e707015 add shift calendar to angeltype view 7 years ago
msquare d8476f244d complete feature contact info for angeltypes, fixes #275 7 years ago
msquare bb2681a7c8 add validation of dect numbers 7 years ago
msquare b95d4ece8a increase readability of hints with links, refs #357 7 years ago
Igor Scheller d34b160b5c Added links to notifications, closes #357 7 years ago
msquare 15c50ab315 fix minor cody style issues (codacy) 7 years ago
msquare deae2a1721 fix removing users from shift, fixes #359 7 years ago
msquare 86e41e2949 change logging of needed angeltypes for created shifts 7 years ago
msquare 1c77c45bcf fix problem with default values, fixes #354, fixes #353 7 years ago
msquare 3ee1a4b0c7 fix problem with default value for userangeltype.supporter, fixes #352 7 years ago
msquare 88ea992f9c fix sql queries with bools 7 years ago
msquare 4eedad6c89 fix problem with default values on registration 7 years ago