Commit Graph

89 Commits (1cfab91f28fd74a5572c089040d0ceddc6665203)

Author SHA1 Message Date
Igor Scheller acf84f222d Added Room model
Bot be39c63f46 Renamed redirect() to throwRedirect()
Igor Scheller ead56a89fe Only show the shift "Comment" field for own entries
Igor Scheller 4e709d0d23 Log messages without inline HTML
Igor Scheller c33940f64a Moved permission checks to Authenticator class
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)
Igor Scheller d7aea575ff Replaced more sql queries and old data
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉
Igor Scheller 89e62c95a7 Changed more functions 🎉
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations'
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty
Igor Scheller fe58e4f422 database: updated checks for selectOne
msquare fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions
Igor Scheller 96f1d9fd54 Bugfixes
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 73175e2b64 : Added routing
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected
msquare 5794c4cab8 clear delete queries from false resuls
msquare a157004f4a handle failed db queries in Db class
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Bot 3de0cc840f Removed spaces
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class
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 d5d2acc7d8 improve code style
msquare 07ddbb0f4c make short variable names longer
msquare f05f1a3cd4 rename to
msquare 91dafb19ec prohibit inline control structures on pages
msquare 53ad1b5110 fix codacy unused code
Philip Häusler b479cdaef8 fix room creation
Philip Häusler 4684d708fb better shift cancel messages and workflow
Philip Häusler 99d36e47b8 redirect to other users page on shift cancel
Felix Favre e4bd324801 changed all y-m-d date formats to Y-m-d date formats
part of 
Philip Häusler 42150cc6e9 add log entry for deleting own shift entries
Philip Häusler 6bede2fd22 harden the sql queries
Philip Häusler 502a52394e redirect to users page on shift cancel by admin
Philip Häusler a791a75b0a integrate shift type into shifts
Felix Favre e9bbd967ff add freeload info to shiftentry update log
issue 
Philip Häusler 156db1eadd add shift entry update model
Philip Häusler 0a74ab94a8 add shift entry delete model
Philip Häusler 4931fbb372 replace icons with glyphicons
Philip Häusler bd2a8b441f clear up mvc for user list
Philip Häusler 7f43f3bfe5 remove html templates
Philip Häusler f5a094fd8b add user view, better bootstrap
Philip Häusler 74647e16d3 add basic bootstrap theme