Commit Graph

633 Commits (4d6a006d3d88569c9792340dea9ddcfc4706875d)

Author SHA1 Message Date
Igor Scheller 7c6afc2bfe Removed `User($id)` function 🎉
Igor Scheller 89e62c95a7 Changed more functions 🎉
Igor Scheller b069a938c6 Changed user_link and some other user functions to use the user id
Igor Scheller 2dcb7cc2de Replaced some global `$user` variables
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes 
Igor Scheller 7f61dc95be EventConfig: Merge event configuration from database to global config
Igor Scheller 66038eda14 Merge branch 'twig-templates'
Nos- b2303c0723 Tried to fix inputfields for date, email, tel
Igor Scheller 2a134e6c0b Config: Removed nightshifts query
Igor Scheller 0734807eef Merge remote-tracking branch 'MyIgel/logentry-model'
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations'
Igor Scheller c1a1180d1f Moved frontend, templates and lang to resources
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating'
Igor Scheller 9d34f371cb Added CreditsController
Igor Scheller ac48332166 Models: Added LogEntry model
Bot e8f8fc7f5f Replaced gettext translation `_()` with `__()` that uses the Translator class
Igor Scheller acfe72cb91 Removed translation from config file
Igor Scheller bb3d16d273 Added Twig template renderer, closes
Igor Scheller 175c335810 Db::selectOne() should return null if result is empty
Igor Scheller d93ace2eae Prevent object serialization in session
Igor Scheller d6c8f1a614 Merge branch 'master' to 'rebuild-database'
Igor Scheller 864a086900 Prevent object serialization in session
msquare 0f1da65f2a
Merge pull request from MyIgel/master
Prevent empty string after $tokens = explode(' ', $search);
msquare 2e1c2cf3b5 remove br between shift filter checkboxes
Igor Scheller fe58e4f422 database: updated checks for selectOne
Igor Scheller b2e5b5c44d Prevent empty string after $tokens = explode(' ', $search);
msquare 73ed2308c1 use user tshirt count
msquare b3ca550ed0 simplify t-shirt statistics
msquare 0314ba19e3 make got t-shirt always available
msquare c961269bb7 better hour formatting
msquare ee9fbda098 add work date to work log
msquare 86a38a3372 add user work log entries feature
msquare e7b0e9934d add shift filter buttons at the top
msquare 8c64532902 fix ical export description
Igor Scheller 6ceec76e7d feature request: filter angel types based on account settings, closes
msquare abf4b1da30 check if logged in before sign up
Igor Scheller 6953090e7d 392: Show warning message when editing html news without proper permissions to save them, Closes
Bot 952c7892f3 Formatting & Docstrings
klemens a6cf4c9ce9 spelling fixes
msquare 81b4e9d2bc solve problem with autobreaks in news text when building html tables
msquare 34da670b6f solve problem with autobreaks in news text when building html tables
msquare 2b52d24c59 solve problem with autobreaks in news text when building html tables
msquare 9969208be2 solve problem with autobreaks in news text when building html tables
msquare a0f70d9819 solve problem with autobreaks in news text when building html tables
msquare a1c032642f introduce new shift signup state for not arrived angels
msquare 1289101f6e rewrite controller for creating shift entries
msquare fd85034e7f redo shift signoff and icons for delete/confirm/acknowledgment questions
msquare 952dc6921a undo of fix : XXE DoS in engelsystem - the feature is actually needed for xcal files
msquare a8cf4b9ddf fix : XXE DoS in engelsystem
msquare 5278be1f0f add link to public dashboard from shift view
msquare d5631297dc better logging of needed angeltypes for shifts and rooms
msquare afb77d22ba move room db queries to model
msquare aae8c77ed1 fix : Duplicate entry for Room name
msquare dbf6e64a2c change write permission check to catch exceptions
msquare 4143680297 remove room number and visible flag, rename pentabarf to frab and introduce map/c3nav integration as well as markdown description for rooms
msquare 9e04e2d4a0 fix age validation
Igor Scheller 0b45d2a88f Feature: Time Interval Buttons (on Shifts page), closes
msquare bb2681a7c8 add validation of dect numbers
msquare 15c50ab315 fix minor cody style issues (codacy)
msquare 86e41e2949 change logging of needed angeltypes for created shifts
msquare 4eedad6c89 fix problem with default values on registration
msquare f9ab269758 fix problem with default values on registration
msquare 6b74705f37 fix problem with default values on registration
msquare d8de02db34 fix problem with default values on registration
msquare 59cd65cb50 fix problem with validation of planned arrival date
msquare 7df64c82a6 fix problem with bools in queries
msquare c62833bb51 fix problem with default value when registering
msquare eec161a852 fix problem with default age when registering
msquare 50f24271eb fix all redirects to home (because of new urls redirect to ? wont work anymore)
Igor Scheller 4817658862 Merge branch 'noc0lour:fix_setup_bugs', closes
Igor Scheller 945fcb079a Added registration_enabled configuration
Igor Scheller e6ed8a3017 Changed LogEntries table: Use log level instead of nick name
Igor Scheller 8c81adc8e8 Implemented container
Igor Scheller 0a20883aa8 Reimplementation of 2840bb619 (signup requires arrival), closes
Igor Scheller 2bd127c011 Use symfony session
Igor Scheller 96f1d9fd54 Bugfixes
Bot a473a56f1d Formatting
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 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML
Igor Scheller cc01c906ba : Integration of symfony/http-foundation request
Igor Scheller 73175e2b64 : Added routing
Andrej Rode 5f305121a4 fix order by not in select clause for >mysql-5.7
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected
msquare 69a1ee2bfe use glyph bool icons on room list
msquare a0af8d4624 further switching to db exceptions instead of return false
msquare 5794c4cab8 clear delete queries from false resuls
msquare a157004f4a handle failed db queries in Db class
Igor Scheller e1762e7764 replaced template_render with dynamic renderer class
Igor Scheller d4ad70804b Removed overwhelmed page
Igor Scheller 7d5d905fcf Moved $themes array to config
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object
Igor Scheller 68da2a4eb8 Renamed "default_theme" config to "theme"
Igor Scheller 781f830678 Fixes and improvements
Bot 3de0cc840f Removed spaces
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class
Bot 740026a9de Replaced [0-9] with \d
Bot 915ce28fee Replaced " with '
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries
Igor Scheller 8254a79c58 Bugfixes & improvements
Bot 55141154c0 Replaced " with '