Commit Graph

60 Commits (1bc5828c193fd906ab7d26e3a7e1494e309d65a3)

Author SHA1 Message Date
msquare a5f838d56a fix back button on shift create preview
msquare ead2b1582b add overnight shift creation feature flag
msquare 76a7ceb27b fixes : set end of the last created shift to the official end inestead of first shift change on next day
Igor Scheller acd9ec6966 add multiple shifts: Fix hour regex and sorting, cleanup and formatting
Igor Scheller 36830c43e7 Fix warning if searching two whitespaces and formatting
jwacalex 8c5b52aa11 reformatted code due to guidelines
jwacalex 60a9c15454 first draft for
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)
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller fe58e4f422 database: updated checks for selectOne
Bot 952c7892f3 Formatting & Docstrings
msquare d5631297dc better logging of needed angeltypes for shifts and rooms
msquare afb77d22ba move room db queries to model
msquare 86e41e2949 change logging of needed angeltypes for created shifts
Igor Scheller 2bd127c011 Use symfony session
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
Igor Scheller cc01c906ba : Integration of symfony/http-foundation request
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected
msquare a0af8d4624 further switching to db exceptions instead of return false
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Bot 740026a9de Replaced [0-9] with \d
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries
Bot 55141154c0 Replaced " with '
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup
Bot d71e7bbfad Formatting
Bot 7313e15ce8 PSR-2 formatting
msquare 42144ed21c move static access to datetime parse function
msquare f05f1a3cd4 rename to
msquare 91dafb19ec prohibit inline control structures on pages
msquare 53ad1b5110 fix codacy unused code
Philip Häusler fc0d97344e made shift creation angeltypes smaller (like room editing)
Philip Häusler 3d7e378b67 change default end date on creating shifts
Philip Häusler 6bede2fd22 harden the sql queries
Philip Häusler fc4a5e0e7a fix shift creation for shifttypes
Philip Häusler 6a05c3d9de rewrite create shifts for shifttypes
Felix Favre 1cc84a967a change default selection
Philip Häusler fa0e38ebff add shift create model
Philip Häusler f9e577352d remove html templates
Philip Häusler 74647e16d3 add basic bootstrap theme
Philip Häusler aad54bfe88 basic gettext integration
Philip Häusler a47b1935cb added basic shift json export support using same pattern like ical export
Philip Häusler a573b4e325 replaced header with redirect function
Jan-Philipp Litza 3efe63fa10 fix : "Array" after preview in mass-shift-generation
Philip Häusler 0dabaa505e begin log
Philip Häusler 079279a1d0 code maintenance
Philip Häusler f81943f6c5 make hidden rooms visible for shift creation
Philip Häusler 043a1203d4 bugfixes with angeltype (TID removed)
Philip Häusler d1078f60fd new register form
Philip Häusler ce7f071c38 angeltypes recreated
Philip Häusler def9532d6b angeltypes recreated