Commit Graph

943 Commits

Author SHA1 Message Date
Igor Scheller 4817658862 Merge branch 'noc0lour:fix_setup_bugs', closes #335 2017-09-25 20:25:00 +02:00
Igor Scheller d49e49c364 Implemented service provider functionality 2017-09-22 14:13:19 +02:00
Igor Scheller 783c58611a Added app path to container 2017-09-21 20:52:19 +02:00
Igor Scheller 212760d4c9 Changed Container to Illuminate/Container
@see https://laravel.com/docs/5.5/container
@see https://davejamesmiller.com/2017/06/15/laravel-illuminate-container-in-depth
2017-09-21 18:37:37 +02:00
Igor Scheller 945fcb079a Added registration_enabled configuration 2017-09-20 12:18:08 +02:00
Igor Scheller c6ef1120f8 Set cookie to httponly 2017-09-20 11:07:25 +02:00
Igor Scheller 5b12eecdd6 Merge remote-tracking branch 'engelsystem/feature-igel-rewrite' 2017-09-20 01:24:56 +02:00
Igor Scheller 86c0713baa Added helpers unit test 2017-09-20 01:10:14 +02:00
Igor Scheller e6ed8a3017 Changed LogEntries table: Use log level instead of nick name 2017-09-19 19:45:02 +02:00
Igor Scheller b3b65743cd Added Logger 2017-09-19 18:30:42 +02:00
Igor Scheller 20a6fa07f8 Implemented container 2017-09-19 14:51:46 +02:00
Igor Scheller 0ac9818764 Added Application 2017-09-19 14:50:46 +02:00
msquare db8b6b2520 change shift renderer global add user link 2017-09-16 17:14:45 +02:00
Igor Scheller 8c81adc8e8 Implemented container 2017-08-31 17:30:54 +02:00
Igor Scheller 0a20883aa8 Reimplementation of 2840bb619 (signup requires arrival), closes #330 2017-08-31 12:32:08 +02:00
Igor Scheller 2bd127c011 Use symfony session 2017-08-30 19:57:01 +02:00
Igor Scheller 96f1d9fd54 Bugfixes 2017-08-30 15:35:12 +02:00
Bot a473a56f1d Formatting 2017-08-30 00:22:02 +02:00
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
2017-08-29 23:16:41 +02:00
Igor Scheller 50da458d89 Refactoring: Moved files to array 2017-08-29 22:39:35 +02:00
Igor Scheller 3002ed9e93 Security: Only allow angels with admin_news_html privilege to use HTML 2017-08-29 22:22:53 +02:00
Igor Scheller cc01c906ba #336: Integration of symfony/http-foundation request 2017-08-29 21:52:07 +02:00
Igor Scheller 73175e2b64 #337: Added routing 2017-08-28 17:34:00 +02:00
Andrej Rode eeae07e625 add edited_at_timestamp to shift creation to fix mysql error 2017-08-16 01:31:53 +02:00
Andrej Rode 5f305121a4 fix order by not in select clause for >mysql-5.7 2017-08-16 00:45:56 +02:00
Andrej Rode dc6fb49f44 fix only_full_group_by mysql default behaviour 2017-08-16 00:19:16 +02:00
msquare 581b81f1b2 fix wrong request get 2017-07-28 20:33:14 +02:00
msquare 7f4aa6daa5 remove exit commands after redirects (redirect does already die) 2017-07-28 20:26:12 +02:00
msquare f82e5456d2 dried code by introducing selectOne for select queries with only one result line expected 2017-07-28 20:11:09 +02:00
msquare 69a1ee2bfe use glyph bool icons on room list 2017-07-28 19:49:32 +02:00
msquare 5cffcd7fdf fix angeltype edit and display bugs 2017-07-28 19:44:54 +02:00
msquare 4effb7e59f fix lane rendering 2017-07-28 19:28:11 +02:00
msquare a0af8d4624 further switching to db exceptions instead of return false 2017-07-28 19:15:52 +02:00
msquare 5794c4cab8 clear delete queries from false resuls 2017-07-28 18:50:00 +02:00
msquare 4d08434d31 fix problem with html select containing 0 as key 2017-07-23 12:09:42 +02:00
msquare a157004f4a handle failed db queries in Db class 2017-07-23 11:46:54 +02:00
Igor Scheller e1762e7764 replaced template_render with dynamic renderer class 2017-07-20 02:30:53 +02:00
Igor Scheller d4ad70804b Removed overwhelmed page 2017-07-20 02:10:53 +02:00
Igor Scheller 7d5d905fcf Moved $themes array to config 2017-07-20 01:14:28 +02:00
Igor Scheller b7ebb05b8e Passwords should be posted 2017-07-20 01:03:59 +02:00
Igor Scheller ec45216899 Merge remote-tracking branch 'engelsystem/feature-igel-rewrite' 2017-07-19 23:35:20 +02:00
msquare 8ae0123635 unarrived angels can enter a shift (has been disabled for 33c3) 2017-07-19 21:32:42 +02:00
msquare 903a1f9790 remove 24h shift filter time range limit 2017-07-19 21:30:18 +02:00
msquare e93dd774a5 fix small issues on checking success of a db query 2017-07-19 21:28:26 +02:00
Igor Scheller 3a1e460249 Changed $_GET, $_POST and $_REQUEST to use the Request object 2017-07-19 11:44:16 +02:00
Igor Scheller cdf14f9d3f Reapplied "Merge pull request #321 from raboof/wantsToDrive" 2017-07-17 23:43:47 +02:00
Igor Scheller 317c91a22f Reapplied "Merge pull request #319 from jwacalex/gh_317_unable_to_edit_hidden_room_in_admin" 2017-07-17 23:08:15 +02:00
Igor Scheller a2b9edc6a3 Reapplied "Merge pull request #314 from Scriptkiddi/master" 2017-07-17 22:17:58 +02:00
Arnout Engelen b688b928db Read wants_to_drive field correctly 2017-04-30 13:02:38 +02:00
Arnout Engelen 3d8dea3733 Form validation: should tick at least on license
Owning a car is not sufficient, select at least one kind of drivers' license
2017-04-30 13:01:33 +02:00
Arnout Engelen cf20b65902 Reword 'wants to operate a car for the PL'
As discussed in #sha2017-angel
2017-04-30 13:00:53 +02:00
jwacalex b6d394e982 first fix for #317. hidden rooms can be seen with admin_rooms priviledge 2017-04-11 17:25:34 +02:00
Igor Scheller cd30017b97 Some fixes 2017-03-03 08:31:25 +01:00
Igor Scheller 37c32ad08f Added PDO::ATTR_EMULATE_PREPARES => false 2017-03-02 12:48:48 +01:00
Igor Scheller 68da2a4eb8 Renamed "default_theme" config to "theme" 2017-03-02 08:11:52 +01:00
Fritz Otlinghaus c9336840ff Update email_helper.php 2017-02-03 17:23:06 +01:00
Fritz Otlinghaus 6f367eefe0 Update email_helper.php 2017-02-03 17:14:46 +01:00
Igor Scheller 781f830678 Fixes and improvements 2017-01-22 01:16:00 +01:00
Bot 3de0cc840f Removed spaces 2017-01-22 01:12:57 +01:00
Igor Scheller 8506d6d27e Refactoring: Config cleanup / moved to class 2017-01-21 23:07:20 +01:00
Bot 740026a9de Replaced [0-9] with \d 2017-01-21 20:12:48 +01:00
Bot 915ce28fee Replaced " with ' 2017-01-21 20:12:35 +01:00
Igor Scheller 9a3ad88834 Changed from mysqli to PDO, some refactorings, faster sql queries 2017-01-21 13:58:53 +01:00
Igor Scheller f7c09cb7ff Added exception handler 2017-01-20 21:12:19 +01:00
Igor Scheller 8254a79c58 Bugfixes & improvements 2017-01-03 15:59:33 +01:00
Igor Scheller 1c27bf1375 Removed $angeltype from function Shift_signup_allowed_* 2017-01-03 15:33:10 +01:00
Bot 55141154c0 Replaced " with ' 2017-01-03 15:32:59 +01:00
Bot 356b2582f3 PPHDoc, formatting, fixes, cleanup 2017-01-03 03:22:48 +01:00
Bot d71e7bbfad Formatting 2017-01-02 15:49:53 +01:00
Bot 7313e15ce8 PSR-2 formatting 2017-01-02 03:57:23 +01:00
Igor Scheller 84f6990db2 Merged branch origin/master 2017-01-02 02:21:53 +01:00
Igor Scheller 94b5250414 Added composer with parsedown requirement 2017-01-02 02:19:17 +01:00
msquare 4a95dfa171 Merge pull request #307 from MyIgel/real-path
Fix relative paths: missing / on internationalization
2017-01-02 00:10:49 +01:00
msquare 29128763fd Merge pull request #306 from MyIgel/config-fix-constant
Fixes "Constant already defined" notice
2017-01-02 00:09:18 +01:00
Igor Scheller 1f0ca24f5c Fix relative paths: missing / on internationalization 2017-01-01 19:49:59 +01:00
Igor Scheller 1f8d1eb4bb Fixed "Constant already defined" notice
Added more ugly global variables
2017-01-01 18:50:53 +01:00
Igor Scheller 5e850171e2 Fixed "Constant already defined" notice 2017-01-01 15:43:20 +01:00
Igor Scheller f894ca5fa4 Fix relative paths 2017-01-01 15:25:21 +01:00
Igor Scheller 00d8709ae8 Fix relative paths 2017-01-01 05:58:42 +01:00
msquare b8ebd23f6d bring back filtering by occupancy 2016-12-29 15:33:21 +01:00
msquare 51eb22a1c6 fix shift signup state calculation 2016-12-29 15:24:57 +01:00
msquare 3fbd62ab7d bring back coloring for admins 2016-12-29 14:56:09 +01:00
msquare fe5dec73ba bring back filtering by occupancy 2016-12-29 14:51:43 +01:00
msquare 68aeb14edb bring back filtering by angeltype 2016-12-29 14:16:00 +01:00
msquare 5600476c56 fix missing users on active angels view 2016-12-28 18:30:09 +01:00
msquare 4407604793 move data sorting to begin 2016-12-28 14:53:35 +01:00
msquare 6c4bb0da31 move data sorting to begin 2016-12-28 14:49:00 +01:00
msquare cbeb45ef16 redo 2016-12-28 14:34:09 +01:00
msquare 45200b503d improve needed angel types query 2016-12-28 14:32:26 +01:00
msquare 0603d0dd4e remove unused code 2016-12-28 12:11:35 +01:00
msquare 363cc8f6b5 more performance using union 2016-12-28 01:09:40 +01:00
msquare 75945fdbbd more performance using union 2016-12-28 00:48:16 +01:00
msquare eccbf32f68 redo 2016-12-28 00:26:54 +01:00
msquare 84527c2252 redo 2016-12-28 00:16:59 +01:00
msquare 65a665ee49 reduce max shift filter duration to 24h 2016-12-28 00:11:42 +01:00
msquare aed9f2c96c bring back needed angeltypes from rooms 2016-12-28 00:02:55 +01:00
msquare 860252bce8 select only one room per default 2016-12-27 23:07:44 +01:00
msquare 46528fe1d8 shift view performance improvements 2016-12-27 23:02:05 +01:00
msquare ffc33993d4 overwhelmed 2016-12-27 19:16:26 +01:00
msquare 2840bb6198 no signup for shifts for angels that are not arrived 2016-12-27 19:13:24 +01:00
msquare b05b235cf8 fix slow query 2016-12-27 16:02:13 +01:00
msquare 9975e42d3c fix edit user bug deleting emails 2016-12-27 13:10:18 +01:00
msquare 2f2d08c574 fix edit user bug deleting emails 2016-12-27 13:05:30 +01:00
msquare 07a0ed37ec fix angeltype supporter privilege for signing up users to shift 2016-12-26 23:47:10 +01:00
msquare 827de98256 fix room delete bug in pentabarf import temporarily 2016-12-26 19:08:59 +01:00
msquare 5f9d508b02 fix #297 show date on every time tick in shift calendar 2016-12-26 18:39:29 +01:00
msquare 549cd6534a reduce number of sql queries on shift calendar 2016-12-26 14:40:28 +01:00
msquare b3f92834b0 reduce number of sql queries on shift calendar 2016-12-26 14:33:18 +01:00
msquare deb41c4b64 reduce number of sql queries on shift calendar 2016-12-26 14:26:49 +01:00
msquare 99c7e8ce1a fixes #298 allow a shift supporter to remove a user from shift 2016-12-24 17:29:12 +01:00
msquare 0c15964e6b #298 hide freeload form from angeltype supporters 2016-12-24 17:02:34 +01:00
msquare e86d75b4d9 begin #298 add privilege and add users to shifts by angeltype supporter 2016-12-24 17:00:03 +01:00
msquare 188891c147 use planned arrival time validation for register page 2016-12-23 16:22:46 +01:00
msquare 5b9ff7b7bf fix that free shifts become green 2016-12-23 12:50:27 +01:00
msquare b8c26b0fd0 fix that free shifts become green 2016-12-23 12:48:34 +01:00
msquare 9e804ba91a fix that free shifts become green 2016-12-23 12:46:32 +01:00
msquare acfe7309f6 remove angeltype contact fields until the feature is ready 2016-12-15 08:51:19 +01:00
msquare 2f0a63a4a1 remove angeltype contact radios for now 2016-12-13 17:59:42 +01:00
msquare e26eb952f4 update binary lang file 2016-12-13 17:59:42 +01:00
msquare deac80e700 merge #253 2016-12-13 17:58:41 +01:00
jwacalex 6a591e7557 merged cherry picked commit 2016-11-30 23:31:21 +01:00
jwacalex 45cda10479 merged master and issue 2016-11-30 23:23:49 +01:00
jwacalex 79b9f9448e initial commit and functionality for no self sign up 2016-11-30 23:20:13 +01:00
jwacalex 1324260e0f forgot to remove if-statement -.- 2016-11-30 16:17:52 +01:00
jwacalex f4f6dfefcb fixed broken logic in controller (cf. to mail to @msquare) 2016-11-30 15:53:47 +01:00
Leandra Eberle 687c333322 Update Descriptions 2016-11-26 16:44:28 +01:00
Leandra Eberle acbaaf4364 Update Descriptions 2016-11-26 16:43:22 +01:00
Leandra Eberle 10517213f6 Update Descriptions 2016-11-26 16:33:07 +01:00
Leandra Eberle 0401e90f00 Update Descriptions 2016-11-26 16:23:49 +01:00
msquare 561e8ec36c better msg placement on angeltype view 2016-11-25 14:55:19 +01:00
msquare 34248bb20c show freeload comments to supporters (user shift admin) 2016-11-25 14:27:47 +01:00
msquare 476d1daeb7 fixes #280 shift entries finished by user returns no freeloaded shifts 2016-11-25 13:58:43 +01:00
msquare bae3ede662 fixes #279 fix exporting freeload comment in json export 2016-11-25 13:38:16 +01:00
msquare a8bcb19eaa fix shift view bars 2016-11-25 13:06:05 +01:00
msquare 4f6db20ae4 fix shift view bars 2016-11-25 13:03:41 +01:00
Leandra Eberle 67df8da061 Typo Changes and Descriptions 2016-11-24 22:47:32 +01:00
gnomus dc49b9af41 Update guest_login.php 2016-11-24 12:22:18 +01:00
msquare ff31d0a1c5 fix shift signup state being combined to null 2016-11-24 09:32:32 +01:00
msquare 16e9a69c0d fixes #277 date parsing returns the start of the day now 2016-11-24 09:25:28 +01:00
msquare 321566d4b0 Merge pull request #278 from leaneb/master
Change Ask an Arch Angel title
2016-11-24 09:15:05 +01:00
Leandra Eberle 4116e0114e Change ask an Arch Angel, to Ask the Heaven because the Arch Angel only role is deprecated 2016-11-24 00:17:01 +01:00
msquare 3fd30add3c fix NPE 2016-11-23 22:31:11 +01:00
msquare be8c47a175 add 33c3 theme 2016-11-23 17:52:58 +01:00
msquare 5ae328b2b1 hide event countdown for mobile clients 2016-11-20 17:54:16 +01:00
msquare 409761ce4b rebuild login page 2016-11-18 15:36:02 +01:00
msquare 9098b8e80d reduce complexity of user view 2016-11-18 08:47:52 +01:00
msquare bd54bec595 add ValidationResult to namespace 2016-11-18 08:20:17 +01:00
msquare 356cc9e1d0 reduce complexity of user driver license 2016-11-17 15:04:33 +01:00
msquare 7b8d191808 reduce complexity of user driver license 2016-11-17 14:40:21 +01:00
msquare 9c4636f5c4 reduce complexity of user driver license 2016-11-17 14:35:04 +01:00