Commit Graph

69 Commits

Author SHA1 Message Date
Igor Scheller bf4a818e01 Make session cleanup more robust and tests explicit 2023-04-08 14:14:57 +02:00
Igor Scheller 9f35ebc482 Use app configured session lifetime for garbage collection 2023-04-08 00:34:43 +02:00
Igor Scheller a464682b47 Reimplemented admin room pages 2023-02-26 16:55:04 +01:00
Bot ad360a70fb Require comma at last array element and no single line space 2023-02-09 18:19:38 +01:00
Bot f9d22f9bda Set strict types everywhere (except includes) 2023-02-03 20:55:58 +01:00
Igor Scheller 0188ed5562 Fixed StringInputLength validation 2023-01-24 23:28:15 +01:00
Igor Scheller 37a26c123e Validation: Fixed worklog comment: ... 2023-01-24 20:49:31 +01:00
Michael Weimann 2ad4203dd3
Add useless comment phpcs sniff 2022-12-20 22:19:49 +01:00
Michael Weimann b004f865b4
Set native property types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:50 +01:00
Michael Weimann aff8826c99
Set native return types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Michael Weimann 2b88322c0c
Set native parameter types
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:30 +01:00
Igor Scheller b4402a5b59 Update PHP dependencies (major version bumps) 2022-12-13 22:03:08 +01:00
frischler bdc62eaac3
Worklog Refactoring 2022-12-08 17:40:24 +01:00
frischler 203531629f Settings Modernization: Creating /settings/profile page with Controller methods and tests 2022-11-01 16:55:23 +01:00
Igor Scheller ff1dfd5a18 Use config for session tests 2022-10-21 19:49:18 +02:00
Xu 2391415969 make session lifetime configurable 2022-10-21 19:42:10 +02:00
Igor Scheller 20e389fccd k8s: Use traefik as default ingress, added improved app url handling to support subpath deployments 2022-10-14 13:36:11 +02:00
Michael Weimann 66e7a3e183 Add unused imports phpcs rule 2022-04-19 23:33:44 +02:00
Igor Scheller 46d6ada728 Update composer packages and bump php version to 7.4 2021-12-29 17:12:19 +01:00
Igor Scheller 93ae2442f6 Formatting, syntax, typehint and namespace fixes, cleanups 2020-04-25 16:54:30 +02:00
Igor Scheller 795a0631cb Added application base url: Redirector now uses URLs instead of relative paths 2020-04-25 15:50:57 +02:00
Igor Scheller 6b1c22a743 Removed LegacyUrlGenerator 2020-04-25 15:50:57 +02:00
Igor Scheller e42284deca Added Checked validation 2020-04-25 15:50:57 +02:00
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 2019-12-08 02:20:51 +01:00
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)
2019-12-08 02:20:48 +01:00
Igor Scheller 89742ecd55 Response: Added with and withInput methods and back/redirect functions 2019-12-08 02:12:56 +01:00
Igor Scheller 5704174fe6 MessageTrait: Fixed HeaderBag::get parameter deprecation in Symfony 4.4 2019-11-22 11:15:27 +01:00
Igor Scheller 68afc74b03 Formatting to follow PSR-12 2019-11-11 00:05:41 +01:00
Igor Scheller 867d720f15 Tests: Replaced setMethods as it is deprecated 2019-11-06 12:29:58 +01:00
Igor Scheller ae0816ce8d Response: Fixed naming to use renderer instead of view and added setter 2019-10-08 14:07:28 +02:00
Igor Scheller e124b41977 Tests: TestCase: Initialize $this->app on every run 2019-10-08 13:57:50 +02:00
Igor Scheller 1b3e3b1d65 Exceptions: Added HttpNotFound exception 2019-10-07 22:02:28 +02:00
Igor Scheller 8d090438b6 Validation rules: min/max/between: Use string length to compare strings 2019-10-07 21:59:40 +02:00
Igor Scheller b25924e868 Allow nested rules (not and optional) 2019-07-16 01:39:54 +02:00
Igor Scheller 6743106d9a Replaced validation with `respect/validation` 2019-07-10 13:34:15 +02:00
Igor Scheller 7414f9b23d Implemented Validation for controllers 2019-07-09 21:43:18 +02:00
Igor Scheller bcce2625a8 Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
2019-07-08 01:57:59 +02:00
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