Commit Graph

364 Commits

Author SHA1 Message Date
Igor Scheller b0e7bc0df2 Made Engelsystem\Http\Request PSR-7 ServerRequestInterface compatible 2018-08-20 17:43:15 +02:00
Igor Scheller bf6efe532c Added trusted proxies 2018-08-19 16:44:33 +02:00
Igor Scheller 5427ee385d Made Engelsystem\Http\Request PSR-7 RequestInterface compatible 2018-08-19 14:04:16 +02:00
Igor Scheller 18fd73a899 Moved middleware to application config 2018-08-19 13:59:57 +02:00
Igor Scheller f3b3b6683c Added middleware tests 2018-08-19 13:59:39 +02:00
Igor Scheller f3f05f6cc4 Make Engelsystem\Http\Response PSR-7 compatible 2018-08-14 00:17:19 +02:00
Igor Scheller 20c03a155d Implemented PSR-15 middleware handler 2018-08-14 00:17:19 +02:00
Igor Scheller 92c26718fd exceptions: implemented error rendering return 2018-08-14 00:17:19 +02:00
Igor Scheller d243090fea config: allow renaming of config.default.php to config.php
Closes #444 (Problems after installation)
2018-08-12 17:38:36 +02:00
Igor Scheller f46e921b71 Use domain for links to '/' to fix assets URLs on subdirectories 2018-08-12 17:36:52 +02:00
Igor Scheller 3c08829205 Added Http\Response and Psr7{Request,Response} 2018-08-07 16:54:08 +02:00
msquare 2832fe48ee rename some params (codestyle) 2018-08-06 13:10:53 +02:00
msquare 9496e35711 added comments and renamed short method to url generators 2018-08-06 12:57:48 +02:00
msquare 86b2937078 added comments and renamed short method to url generators 2018-08-06 12:50:34 +02:00
Igor Scheller 6962c2b790 Legacy URL Support 2018-08-05 21:46:05 +02:00
Igor Scheller 46e7fc89b4 Fixed tests after #431: Hotfix php7 syntax error 2018-08-04 22:21:13 +02:00
Jens Brandt 4a5ef5f98a rename hotfix to camelCase 2018-05-14 21:21:50 +02:00
Jens Brandt cfc2493bb5 rename hotfix to english 2018-05-14 21:08:15 +02:00
Jens Brandt 28fadbd19d Hotfix php7 syntax error 2018-05-10 15:29:32 +02:00
Igor Scheller 235266ec53 Added basic database migration functionality 2018-01-16 21:47:21 +01:00
Igor Scheller 78cddecef3 DatabaseServiceProvider: Added unit tests 2018-01-15 23:31:19 +01:00
Igor Scheller fe58e4f422 database: updated checks for selectOne 2018-01-14 17:47:26 +01:00
Igor Scheller 0e8cc2f0a7 database: integrated illuminate/database do Db class, removed unused methods 2018-01-14 13:32:57 +01:00
Igor Scheller d4b36e9bad Added Illuminate/Database 2018-01-14 02:59:39 +01:00
Igor Scheller e0b58d2a7d Added illuminate/support and Fluent Interface to Config 2018-01-14 01:45:23 +01:00
Bot 952c7892f3 Formatting & Docstrings 2017-12-25 23:51:15 +01:00
Igor Scheller 25e434bce4 Refactored ExceptionHandler 2017-11-25 11:27:38 +01:00
Igor Scheller 6eea072376 Added ExceptionHandler Interface 2017-11-25 11:27:38 +01:00
msquare 0ee7df4883 change behaviour of HTTP/Request get 2017-11-19 15:16:01 +01:00
msquare f8807c4efb fix behaviour of HTTP/Request get 2017-11-19 14:47:32 +01:00
Igor Scheller ad948bdd32 Added RequestServiceProvider and SessionServiceProvider 2017-11-01 16:12:01 +01:00
Igor Scheller 60fd72cd1a Added service providers 2017-10-31 13:40:13 +01:00
Igor Scheller 449e2cdd00 Added env function, added GitLab CI code coverage config 2017-09-25 01:16:12 +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 31414905d7 Fixed exceptionHandler to catch PdoExceptions, formatting 2017-09-20 01:29:04 +02:00
Igor Scheller 86c0713baa Added helpers unit test 2017-09-20 01:10:14 +02:00
Igor Scheller 1e267ce3b1 Added Renderer unit test 2017-09-19 23:55:24 +02:00
Igor Scheller 2cb636b651 Added Container unit test 2017-09-19 21:50:22 +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 0ac9818764 Added Application 2017-09-19 14:50:46 +02:00
Igor Scheller 8c81adc8e8 Implemented container 2017-08-31 17:30:54 +02:00
Igor Scheller 2bd127c011 Use symfony session 2017-08-30 19:57:01 +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 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
msquare 26515d7582 forgott to include query bindings into selectOne 2017-07-28 20:12:40 +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 440ed74cd7 exception handler should handle throwables instead of exceptions 2017-07-28 19:28:00 +02:00
msquare 5794c4cab8 clear delete queries from false resuls 2017-07-28 18:50:00 +02:00
msquare 144b453bc6 fix unreadable exception 2017-07-23 12:18:32 +02:00
msquare 2b834ba7f1 fix problem where empty string is not recognized as get value 2017-07-23 12:11:50 +02:00
msquare 908f5712cc fix problem where 0 is not recognized as get value 2017-07-23 12:02:37 +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 ec45216899 Merge remote-tracking branch 'engelsystem/feature-igel-rewrite' 2017-07-19 23:35:20 +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 8506d6d27e Refactoring: Config cleanup / moved to class 2017-01-21 23:07:20 +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