255 Commits (48e1d9f5f89e4def25bae6a15250b81eea4c01c3)

Author SHA1 Message Date
Igor Scheller 61977f5da9 Metrics: Fixed message count 5 years ago
Igor Scheller 395f6706d6 Message: Add coverage, fix method hints 5 years ago
Michael Weimann 95adeca0ae Add message model 5 years ago
Igor Scheller e1471248fe User: Add pronoun statement 5 years ago
Igor Scheller 45d13ac998 Metrics: Strict types and type hinting 5 years ago
Igor Scheller c023c8a9c6 Metrics: Added users_force_active 5 years ago
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 5 years ago
Igor Scheller 47e209e125 ImportSchedule: Append talk language to shift title
Resolves #587 (Include talk language into Frab-imported shift titles)
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
Bot be39c63f46 Renamed redirect() to throwRedirect() 5 years ago
Igor Scheller 8fc159f287 Stats: Added questions test 5 years ago
Michael Weimann e16e0b2644 Migrate Question usages 5 years ago
Michael Weimann 4f63bbbaac Add Question model 5 years ago
Igor Scheller ebef4c5bc3 Models: Updated docs 5 years ago
Igor Scheller 96cdf91c3c Use pcov to speed up tests with code coverage 5 years ago
Igor Scheller 9329889235 Fixed LegacyDevelopment Exception handler to produce less verbose output 5 years ago
Igor Scheller 577c052aff Twig update to 3.0.0 and Renderer type hinting 5 years ago
Igor Scheller 15e6740e12 Twig update to > 2.11: Fixed namespaces, warnings and cleanup 5 years ago
Igor Scheller f8e1f85089 Removed not used {trans} twig token 5 years ago
Igor Scheller a1e1d91a64 PHP 7.4: Fixed xdebug code coverage 5 years ago
Igor Scheller d203071de0 First step to PHP 7.4 compatibility... 5 years ago
Igor Scheller 0e386d2c7f Removed global $page 5 years ago
Igor Scheller 5704174fe6 MessageTrait: Fixed HeaderBag::get parameter deprecation in Symfony 4.4 5 years ago
Michael Weimann 17192a2c41
Adapt code style to PSR-12 5 years ago
Michael Weimann 26b8d2b921
Introduce the NewsComments model 5 years ago
Igor Scheller 68afc74b03 Formatting to follow PSR-12 5 years ago
Igor Scheller b878740f80 News: Bug fixes, cleanup, comments & formatting
Use more magically available methods and properties
Fixed atom feed and stats not using the new model
5 years ago
Michael Weimann 6534191d59 Migrate news to model class 5 years ago
Igor Scheller 8b5b9e2c65 src/: Formatting, doc block hints and cleanup 5 years ago
Igor Scheller 109f112131 BaseModel: Removed methods as already provided by Eloquent Builder 5 years ago
msquare 2b27b45aba remove legacy file guest start 5 years ago
Igor Scheller a514ba3adc HasUserModel: Moved user method to trait 5 years ago
Luca 6cde313e47 Move translations whose message ids do not appear as literals in the sources into a separate file
Test whether additional.{m,p}o files are loaded correctly
5 years ago
Igor Scheller 18de950d8f Mail log: Formatting 5 years ago
Igor Scheller 9921c5002a DatabaseServiceProvider: Use timezone from config (was not set before) 5 years ago
Igor Scheller fa35187795 Removed .mo translation files from version control, use .po as fallback 5 years ago
Igor Scheller dd03662968 Rebuild password reset 5 years ago
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 5 years ago
Igor Scheller 810068dcf8 Fixes: AuthController session error merging and StatsTest 5 years ago
Igor Scheller ae0816ce8d Response: Fixed naming to use renderer instead of view and added setter 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 faf74150e9 Mailer: Use users locale for translation 5 years ago
Igor Scheller efaf29e5ef Metrics: Add database access time 5 years ago
Igor Scheller b4f8092730 Database: Use configured time zone 5 years ago
Igor Scheller 64e4d168e0 migration: Order by migrated and append not migrated 6 years ago
msquare eefae43a47 simplified login form, show password recovery always, some camp theme tweaks 6 years ago
msquare 1e16f4c47e
Merge pull request #624 from MyIgel/version
Added version to credits and metrics page
6 years ago
Igor Scheller 3d8476efd3 ErrorHandler: Remove more form fields before serialization 6 years ago
Igor Scheller 51a3c6eb44 ErrorHandler: Remove some form fields before serialization 6 years ago
msquare b03102e3c6 AuthController return types 6 years ago
Igor Scheller 4582f808f0 Added version to credits and metrics page 6 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 6d5ada2522 Added validation to AuthController 6 years ago
Igor Scheller 7414f9b23d Implemented Validation for controllers 6 years ago
Igor Scheller 508695efb2 Replaced gettext translation with package
This allows to check if no translation is available
6 years ago
Igor Scheller f90ab26fee Moved translation helpers to sub namespace 6 years ago
Igor Scheller e9f157ec5c Renderer: Added shared data 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 da804fe720 Metrics: Added scrape memory usage 6 years ago
Igor Scheller e06affae17 Added tests to HomeController 6 years ago
Luca 9232513831 Fix caching issue for '/' route 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 e948091066 Replaced old /api endpoint with ApiController 6 years ago
Igor Scheller 93e578e555 Added html content sniffer 6 years ago
Igor Scheller 236197faf8 Upgraded external components 6 years ago
Igor Scheller 819677c902 Use self references and fix class naming 6 years ago
Igor Scheller 8da8805f5d Replaced functions with mb_* equivalents 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
Janne Heß afa4506e11 Support alternative home sites 6 years ago
Igor Scheller 491ee37651 Don't save sessions permanently on api and metrics paths
closes #530 (Session on API calls)
6 years ago
msquare db26412e6c fixes #549: fill missing arrival dates and prevent setting arrival by admin-user instead of admin-arrive 6 years ago
Igor Scheller 26f58b8156 metrics: Fix users stats 6 years ago
Igor Scheller 330356043d credits: Allow customization 6 years ago
Igor Scheller 393db49294 Renderer: Added twig extension for markdown rendering 6 years ago
Igor Scheller b3f059ad04 metrics: Added vouchers and tshirts 6 years ago
Igor Scheller 9a2f246511 metrics: Added more stats 6 years ago
Igor Scheller c5621b82cf Implemented /metrics endpoint and reimplemented /stats
closes #418 (/metrics endpoint)

Usage:
```yaml
scrape_configs:
  - job_name: 'engelsystem'
    static_configs:
    - targets: ['engelsystem.example.com:80']
```
6 years ago
Igor Scheller 3c8d0eeb44 ErrorHandler: Don't wrap the response if a content-type is defined 6 years ago
Igor Scheller 2570418e9f Translation: Enforce LC_NUMERIC for numeric conversions 6 years ago
Igor Scheller 3cd70773d8 Authenticator: Use id from user object
Closes #519 (iCal/JSON export only works when logged in)
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 c33940f64a Moved permission checks to Authenticator class 6 years ago
Igor Scheller 720b46f60f Models: Added DocBlocks 6 years ago
Igor Scheller f845a5ab8b Added caching for templating and routing
See #486 (Implement caching)
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 fd37c9d60e Added additional headers 6 years ago
Igor Scheller 23c0fae36f Added csrf middleware 6 years ago
Igor Scheller a2aaba9cab User: Bugfixes & code cleanup 6 years ago
Igor Scheller 57932be428 Moved arrival_date to state 6 years ago
Igor Scheller 4e09ee3eb2 Replaced more user related stuff
(Contains some buggy stuff too...)
6 years ago
Igor Scheller 89e62c95a7 Changed more functions 🎉 6 years ago