Michael Weimann
|
6534191d59
|
Migrate news to model class
|
5 years ago |
Igor Scheller
|
2cce967eb0
|
Tests: Replaced duplicates and formatting/cleanup
|
5 years ago |
Igor Scheller
|
867d720f15
|
Tests: Replaced setMethods as it is deprecated
|
5 years ago |
Igor Scheller
|
109f112131
|
BaseModel: Removed methods as already provided by Eloquent Builder
|
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
|
af09865f3d
|
Fix/Cleanup tests for DatabaseServiceProvider
|
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
|
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
|
faf74150e9
|
Mailer: Use users locale for translation
|
5 years ago |
Igor Scheller
|
154625bc8a
|
CI: Fix tests
|
5 years ago |
Igor Scheller
|
64c4743f57
|
Routes config: Added test to ensure that routes are cacheable in production
|
5 years ago |
Igor Scheller
|
efaf29e5ef
|
Metrics: Add database access time
|
5 years ago |
Igor Scheller
|
64e4d168e0
|
migration: Order by migrated and append not migrated
|
5 years ago |
msquare
|
6df62659da
|
show password recovery always, fix test
|
5 years ago |
msquare
|
1e16f4c47e
|
Merge pull request #624 from MyIgel/version
Added version to credits and metrics page
|
5 years ago |
Igor Scheller
|
51a3c6eb44
|
ErrorHandler: Remove some form fields before serialization
|
5 years ago |
Igor Scheller
|
4582f808f0
|
Added version to credits and metrics page
|
5 years ago |
Igor Scheller
|
fece50ca09
|
Basic coverage tests of logger classes for 100% unit tests coverage
|
5 years ago |
Igor Scheller
|
b9cb7d57fd
|
Basic coverage tests of logger classes for 100% unit tests coverage
|
5 years ago |
Igor Scheller
|
b25924e868
|
Allow nested rules (not and optional)
|
5 years ago |
Igor Scheller
|
6743106d9a
|
Replaced validation with `respect/validation`
|
5 years ago |
Igor Scheller
|
6d5ada2522
|
Added validation to AuthController
|
5 years ago |
Igor Scheller
|
7414f9b23d
|
Implemented Validation for controllers
|
5 years ago |
Igor Scheller
|
508695efb2
|
Replaced gettext translation with package
This allows to check if no translation is available
|
5 years ago |
Igor Scheller
|
f90ab26fee
|
Moved translation helpers to sub namespace
|
5 years ago |
Igor Scheller
|
e9f157ec5c
|
Renderer: Added shared data
|
5 years ago |
Igor Scheller
|
bcce2625a8
|
Implemented AuthController for login
* Moved /login functionality to AuthController
* Refactored password handling logic to use the Authenticator
|
5 years ago |
Igor Scheller
|
e06affae17
|
Added tests to HomeController
|
5 years ago |
Igor Scheller
|
6ed891fc04
|
Added logout via AuthController
|
5 years ago |
Igor Scheller
|
2e51fbff9d
|
Added / route with redirects
|
5 years ago |
Igor Scheller
|
e948091066
|
Replaced old /api endpoint with ApiController
|
5 years ago |
Igor Scheller
|
93e578e555
|
Added html content sniffer
|
5 years ago |
Igor Scheller
|
1f433694d2
|
Tests: Fix type warning
|
5 years ago |
Igor Scheller
|
236197faf8
|
Upgraded external components
|
5 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
|
9930668837
|
Fixed test coverage
|
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
|
43b7b5c117
|
migration: Exclude add_angel_supporter_permissions from unit tests
|
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 |
Igor Scheller
|
b1d8fede46
|
user: allow up to 40 characters for dect numbers
closes #309 (EPVPN number in DECT field is shortened)
closes #529 (For dect numbers are only 5 digits allowed)
|
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
|
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
|
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
|
4e09ee3eb2
|
Replaced more user related stuff
(Contains some buggy stuff too...)
|
6 years ago |
Igor Scheller
|
2dcb7cc2de
|
Replaced some global `$user` variables
|
6 years ago |
Igor Scheller
|
d15946df2d
|
Changed `src/` code and templates to use the new user model
|
6 years ago |
Igor Scheller
|
8e62c4c52c
|
Added new user models
|
6 years ago |
Igor Scheller
|
b443b53919
|
Translation: added pluralization support
|
6 years ago |
Igor Scheller
|
90e1a94962
|
Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails
Closes #426
|
6 years ago |
Igor Scheller
|
7f61dc95be
|
EventConfig: Merge event configuration from database to global config
|
6 years ago |
Igor Scheller
|
63d1292bf8
|
Added EventConfig model
|
6 years ago |
Igor Scheller
|
c4867811e2
|
BaseModel: Added findOrNew
|
6 years ago |
Igor Scheller
|
c9afc27ab9
|
Tests: Moved ServiceProvider::setExpects to TestCase
|
6 years ago |
Igor Scheller
|
4f04924e29
|
Privileges: grant user work log permissions to shikos & cleanup
Closes #478 (Make user work log available)
|
6 years ago |
Igor Scheller
|
d985d493a3
|
Migrations: Added namespace
|
6 years ago |
Igor Scheller
|
5f46fd2f15
|
Database: Don't use `0000-00-00 00:00:00` as a datetime
|
6 years ago |
Igor Scheller
|
b46207f911
|
Merge remote-tracking branch 'MyIgel/session'
|
6 years ago |
Igor Scheller
|
6187eed3bb
|
Merge remote-tracking branch 'MyIgel/mailing'
|
6 years ago |
Igor Scheller
|
aa2124f655
|
RouteDispatcher: Allow installation into sub directory
|
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
|
edeab5e75f
|
Added Database class as a replacement for Db, fixed naming
|
6 years ago |
Igor Scheller
|
0734807eef
|
Merge remote-tracking branch 'MyIgel/logentry-model'
|
6 years ago |
Igor Scheller
|
d0abc27c07
|
Merge remote-tracking branch 'MyIgel/translations'
|
6 years ago |
Igor Scheller
|
c1a1180d1f
|
Moved frontend, templates and lang to resources
|
6 years ago |
Igor Scheller
|
4bf3a68f43
|
Fixed assets rendering
|
6 years ago |
Igor Scheller
|
222c9fed7d
|
Merge remote-tracking branch 'MyIgel/templating'
|
6 years ago |
Igor Scheller
|
01e9c22695
|
Implemented mailing abstraction
Closes #434
|
6 years ago |
Igor Scheller
|
ce6d0fd13b
|
tests: fixed array() return
|
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
|
9d34f371cb
|
Added CreditsController
|
6 years ago |
Igor Scheller
|
9e217d87c0
|
Template refactoring to use twig
|
6 years ago |
Igor Scheller
|
ac48332166
|
Models: Added LogEntry model
|
6 years ago |
Igor Scheller
|
8257864829
|
Added translation support for twig templates
See https://twig-extensions.readthedocs.io/en/latest/i18n.html for documentation
|
6 years ago |
Igor Scheller
|
a2c47304d8
|
Added generic error pages
|
6 years ago |