51 Commits (b345bf4ea762621a7811304f4cc6c64066b7ddc0)

Author SHA1 Message Date
Igor Scheller 46d6ada728 Update composer packages and bump php version to 7.4 3 years ago
Igor Scheller 93ae2442f6 Formatting, syntax, typehint and namespace fixes, cleanups 5 years ago
Igor Scheller 795a0631cb Added application base url: Redirector now uses URLs instead of relative paths 5 years ago
Igor Scheller 6b1c22a743 Removed LegacyUrlGenerator 5 years ago
Igor Scheller e42284deca Added Checked validation 5 years ago
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 5 years ago
Igor Scheller 42721e9572 Added Schedule parsing and replaced old Fahrplan importer
Resolves #553 (Change Frab Import from xCal to XML)
Resolves #538 (Feature Request: Multi Frab Import)
5 years ago
Igor Scheller 89742ecd55 Response: Added with and withInput methods and back/redirect functions 5 years ago
Igor Scheller 5704174fe6 MessageTrait: Fixed HeaderBag::get parameter deprecation in Symfony 4.4 5 years ago
Igor Scheller 68afc74b03 Formatting to follow PSR-12 5 years ago
Igor Scheller 867d720f15 Tests: Replaced setMethods as it is deprecated 5 years ago
Igor Scheller ae0816ce8d Response: Fixed naming to use renderer instead of view and added setter 5 years ago
Igor Scheller e124b41977 Tests: TestCase: Initialize $this->app on every run 5 years ago
Igor Scheller 1b3e3b1d65 Exceptions: Added HttpNotFound exception 5 years ago
Igor Scheller 8d090438b6 Validation rules: min/max/between: Use string length to compare strings 5 years ago
Igor Scheller b25924e868 Allow nested rules (not and optional) 6 years ago
Igor Scheller 6743106d9a Replaced validation with `respect/validation` 6 years ago
Igor Scheller 7414f9b23d Implemented Validation for controllers 6 years ago
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
6 years ago
Igor Scheller 6ed891fc04 Added logout via AuthController 6 years ago
Igor Scheller 2e51fbff9d Added / route with redirects 6 years ago
Igor Scheller 236197faf8 Upgraded external components 6 years ago
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/]
```
6 years ago
Igor Scheller c74fa7955d phpunit: Upgrade to version 8, fixed tests, formatting
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
6 years ago
Igor Scheller 58ca7113f3 PSR-7: Replaced implementation with `Nyholm\Psr7` 6 years ago
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
6 years ago
Igor Scheller c9d7e88cc7 Implemented controller permissions 6 years ago
Igor Scheller 55beca95cd Refactoring: Throw HttpAuthExpired on csrf token mismatch 6 years ago
Igor Scheller 9788c5095a Implemented HttpException 6 years ago
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)
6 years ago
Igor Scheller 23c0fae36f Added csrf middleware 6 years ago
Igor Scheller b46207f911 Merge remote-tracking branch 'MyIgel/session' 6 years ago
Igor Scheller 0b0890f425 Session: Added DatabaseHandler, replaces Symfony PdoSessionHandler 6 years ago
Igor Scheller 66038eda14 Merge branch 'twig-templates' 6 years ago
Igor Scheller 104e4f4c43 Session: Added Symfony PDO backend 6 years ago
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating' 6 years ago
Igor Scheller b52444af8a Merge remote-tracking branch 'MyIgel/routing' 6 years ago
Igor Scheller 36dafdb68a Merge remote-tracking branch 'MyIgel/rebuild-psr7' 6 years ago
Igor Scheller 9e217d87c0 Template refactoring to use twig 6 years ago
Igor Scheller a2c47304d8 Added generic error pages 6 years ago
Igor Scheller df6360044b Added Twig template functions 6 years ago
Igor Scheller 73c9d923e7 Renamed RoutingServiceProvider to Http\UrlGeneratorServiceProvider 6 years ago
Igor Scheller b0e7bc0df2 Made Engelsystem\Http\Request PSR-7 ServerRequestInterface compatible 6 years ago
Igor Scheller bf6efe532c Added trusted proxies 6 years ago
Igor Scheller 5427ee385d Made Engelsystem\Http\Request PSR-7 RequestInterface compatible 6 years ago
Igor Scheller f3f05f6cc4 Make Engelsystem\Http\Response PSR-7 compatible 6 years ago
Igor Scheller 3c08829205 Added Http\Response and Psr7{Request,Response} 6 years ago
msquare f8807c4efb fix behaviour of HTTP/Request get 7 years ago
Igor Scheller 8cd17419a8 TestFixes 7 years ago
Igor Scheller ad948bdd32 Added RequestServiceProvider and SessionServiceProvider 7 years ago