Commit Graph

32 Commits

Author SHA1 Message Date
Igor Scheller 6ed891fc04 Added logout via AuthController 2019-06-12 10:24:02 +02:00
Igor Scheller 2e51fbff9d Added / route with redirects 2019-06-12 10:21:20 +02:00
Igor Scheller 236197faf8 Upgraded external components 2019-06-03 21:36:58 +02:00
Igor Scheller 79c92da8c1 Formatting
```bash
php-cs-fixer fix --allow-risky=yes --rules=@PSR2,psr4,mb_str_functions.php_unit_construct,php_unit_ordered_covers,trailing_comma_in_multiline_array --rules='{"array_syntax": {"syntax":"short"}}' [tests/|src/]
```
2019-04-25 18:17:19 +02:00
Igor Scheller c74fa7955d phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
2019-04-25 17:56:06 +02:00
Igor Scheller 58ca7113f3 PSR-7: Replaced implementation with `Nyholm\Psr7` 2019-04-17 13:11:39 +02:00
Igor Scheller d9f898a0bb Bugfix: Replaced Diactoros with Symfony PsrHttpFactory to use PhpExtended\HttpMessage implementation
Prevents warnings that get converted to errors when run in dev mode
2019-04-16 20:20:56 +02:00
Igor Scheller c9d7e88cc7 Implemented controller permissions 2018-12-02 12:53:31 +01:00
Igor Scheller 55beca95cd Refactoring: Throw HttpAuthExpired on csrf token mismatch 2018-12-02 12:53:31 +01:00
Igor Scheller 9788c5095a Implemented HttpException 2018-12-02 12:53:31 +01:00
Igor Scheller 944c29b964 Require POST for sending forms
* Ensure that the form is submitted with a post request
* Replaced several links with forms

Closes #494 (Security Vulnerability)
2018-11-21 19:24:36 +01:00
Igor Scheller 23c0fae36f Added csrf middleware 2018-11-21 19:24:36 +01:00
Igor Scheller b46207f911 Merge remote-tracking branch 'MyIgel/session' 2018-09-30 19:33:14 +02:00
Igor Scheller 0b0890f425 Session: Added DatabaseHandler, replaces Symfony PdoSessionHandler 2018-09-25 14:02:55 +02:00
Igor Scheller 66038eda14 Merge branch 'twig-templates' 2018-09-23 20:11:37 +02:00
Igor Scheller 104e4f4c43 Session: Added Symfony PDO backend 2018-09-16 14:56:07 +02:00
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating' 2018-09-09 12:11:12 +02:00
Igor Scheller b52444af8a Merge remote-tracking branch 'MyIgel/routing' 2018-09-04 21:13:28 +02:00
Igor Scheller 36dafdb68a Merge remote-tracking branch 'MyIgel/rebuild-psr7' 2018-09-03 22:55:54 +02:00
Igor Scheller 9e217d87c0 Template refactoring to use twig 2018-09-02 02:09:56 +02:00
Igor Scheller a2c47304d8 Added generic error pages 2018-08-29 23:46:32 +02:00
Igor Scheller df6360044b Added Twig template functions 2018-08-29 23:46:31 +02:00
Igor Scheller 73c9d923e7 Renamed RoutingServiceProvider to Http\UrlGeneratorServiceProvider 2018-08-22 03:10:08 +02:00
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 f3f05f6cc4 Make Engelsystem\Http\Response PSR-7 compatible 2018-08-14 00:17:19 +02:00
Igor Scheller 3c08829205 Added Http\Response and Psr7{Request,Response} 2018-08-07 16:54:08 +02:00
msquare f8807c4efb fix behaviour of HTTP/Request get 2017-11-19 14:47:32 +01:00
Igor Scheller 8cd17419a8 TestFixes 2017-11-12 15:38:12 +01:00
Igor Scheller ad948bdd32 Added RequestServiceProvider and SessionServiceProvider 2017-11-01 16:12:01 +01:00
Igor Scheller 8c703e1202 Added request test 2017-10-31 17:17:32 +01:00