724 Commits (8d436d988a128016f9784b7b95b25075a09285c0)

Author SHA1 Message Date
Igor Scheller 4e709d0d23 Log messages without inline HTML 6 years ago
Igor Scheller e7f10d846e Escape log messages 6 years ago
msquare f6a87535a0 add help button to ical export for android, fixes #402 6 years ago
msquare 4f1cef546e better nick validation, fixes #429 6 years ago
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/]
```
6 years ago
Igor Scheller 7c3a0c70e8 Bugfix: default value for planned_arrival_date and don't overwrite dect
Fixed registration form formatting
Fixed profile request attributes fallback values
6 years ago
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.
6 years ago
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.
6 years ago
Igor Scheller 69c47dcc42 admin-free: Improved formattig 6 years ago
Janne Heß 69ac1b2d21 Support disabling the arrival feature
Setting `autoarrive` to true will now cause all newly registered angels
to be automatically confirmed as arrived.
6 years ago
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 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
msquare db26412e6c fixes #549: fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive 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
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 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
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
Igor Scheller c33940f64a Moved permission checks to Authenticator class 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 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 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 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 9d34f371cb Added CreditsController 6 years ago
Igor Scheller ac48332166 Models: Added LogEntry model 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 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
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 864a086900 Prevent object serialization in session 6 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 fe58e4f422 database: updated checks for selectOne 7 years ago
Igor Scheller b2e5b5c44d Prevent empty string after $tokens = explode(' ', $search); 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 ee9fbda098 add work date to work log 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 8c64532902 fix ical export description 7 years ago
Igor Scheller 6ceec76e7d feature request: filter angel types based on account settings, closes #362 7 years ago
msquare abf4b1da30 check if logged in before sign up 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
Bot 952c7892f3 Formatting & Docstrings 7 years ago
klemens a6cf4c9ce9 spelling fixes 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 1289101f6e rewrite controller for creating shift entries 7 years ago
msquare fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions 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 a8cf4b9ddf fix #382: XXE DoS in engelsystem 7 years ago
msquare 5278be1f0f add link to public dashboard from shift view 7 years ago
msquare d5631297dc better logging of needed angeltypes for shifts and rooms 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 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
msquare 9e04e2d4a0 fix age validation 7 years ago
Igor Scheller 0b45d2a88f #366 Feature: Time Interval Buttons (on Shifts page), closes #366 7 years ago
msquare bb2681a7c8 add validation of dect numbers 7 years ago
msquare 15c50ab315 fix minor cody style issues (codacy) 7 years ago
msquare 86e41e2949 change logging of needed angeltypes for created shifts 7 years ago
msquare 4eedad6c89 fix problem with default values on registration 7 years ago
msquare f9ab269758 fix problem with default values on registration 7 years ago
msquare 6b74705f37 fix problem with default values on registration 7 years ago
msquare d8de02db34 fix problem with default values on registration 7 years ago
msquare 59cd65cb50 fix problem with validation of planned arrival date 7 years ago
msquare 7df64c82a6 fix problem with bools in queries 7 years ago
msquare c62833bb51 fix problem with default value when registering 7 years ago
msquare eec161a852 fix problem with default age when registering 7 years ago
msquare 50f24271eb fix all redirects to home (because of new urls redirect to ? wont work anymore) 7 years ago
Igor Scheller 4817658862 Merge branch 'noc0lour:fix_setup_bugs', closes #335 7 years ago
Igor Scheller 945fcb079a Added registration_enabled configuration 7 years ago
Igor Scheller e6ed8a3017 Changed LogEntries table: Use log level instead of nick name 7 years ago
Igor Scheller 8c81adc8e8 Implemented container 7 years ago
Igor Scheller 0a20883aa8 Reimplementation of 2840bb619 (signup requires arrival), closes #330 7 years ago
Igor Scheller 2bd127c011 Use symfony session 7 years ago
Igor Scheller 96f1d9fd54 Bugfixes 7 years ago
Bot a473a56f1d Formatting 7 years ago
Igor Scheller d0074cf006 Merge remote-tracking branch 'engelsystem/feature-igel-rewrite'
# Conflicts:
#	includes/controller/angeltypes_controller.php
#	includes/pages/admin_groups.php
#	includes/pages/user_settings.php
#	includes/sys_page.php
#	src/Exceptions/Handler.php
#	src/Http/Request.php
7 years ago
Igor Scheller 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML 7 years ago
Igor Scheller cc01c906ba #336: Integration of symfony/http-foundation request 7 years ago
Igor Scheller 73175e2b64 #337: Added routing 7 years ago
Andrej Rode 5f305121a4 fix order by not in select clause for >mysql-5.7 7 years ago
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected 8 years ago
msquare 69a1ee2bfe use glyph bool icons on room list 8 years ago
msquare a0af8d4624 further switching to db exceptions instead of return false 8 years ago
msquare 5794c4cab8 clear delete queries from false resuls 8 years ago
msquare a157004f4a handle failed db queries in Db class 8 years ago
Igor Scheller e1762e7764 replaced template_render with dynamic renderer class 8 years ago
Igor Scheller d4ad70804b Removed overwhelmed page 8 years ago
Igor Scheller 7d5d905fcf Moved $themes array to config 8 years ago
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object 8 years ago
Igor Scheller 68da2a4eb8 Renamed "default_theme" config to "theme" 8 years ago
Igor Scheller 781f830678 Fixes and improvements 8 years ago
Bot 3de0cc840f Removed spaces 8 years ago
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class 8 years ago
Bot 740026a9de Replaced [0-9] with \d 8 years ago
Bot 915ce28fee Replaced " with ' 8 years ago
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries 8 years ago
Igor Scheller 8254a79c58 Bugfixes & improvements 8 years ago
Bot 55141154c0 Replaced " with ' 8 years ago
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup 8 years ago
Bot d71e7bbfad Formatting 8 years ago
Bot 7313e15ce8 PSR-2 formatting 8 years ago
msquare 29128763fd Merge pull request #306 from MyIgel/config-fix-constant
Fixes "Constant already defined" notice
8 years ago
Igor Scheller 1f8d1eb4bb Fixed "Constant already defined" notice
Added more ugly global variables
8 years ago
Igor Scheller 00d8709ae8 Fix relative paths 8 years ago
msquare fe5dec73ba bring back filtering by occupancy 8 years ago
msquare 5600476c56 fix missing users on active angels view 8 years ago
msquare 4407604793 move data sorting to begin 8 years ago