Commit Graph

107 Commits

Author SHA1 Message Date
Igor Scheller 89742ecd55 Response: Added with and withInput methods and back/redirect functions 2019-12-08 02:12:56 +01:00
msquare 3a6d096fff add 36c3 theme 2019-11-23 18:39:09 +01:00
Igor Scheller dd03662968 Rebuild password reset 2019-10-08 16:17:06 +02:00
msquare 3ce3129b6e feature: disable lastname+prename in config 2019-08-24 10:56:59 +02:00
msquare 1e16f4c47e
Merge pull request #624 from MyIgel/version
Added version to credits and metrics page
2019-07-21 13:38:05 +02:00
Igor Scheller 4582f808f0 Added version to credits and metrics page 2019-07-21 03:19:19 +02:00
msquare 9e9fee25f2 all 3 color themes for camp and high contrast theme 2019-07-20 23:58:14 +02:00
msquare c412f6b009 add cccamp19 theme 2019-07-20 23:58:14 +02:00
msquare 6ca0e8e81a all 3 color themes for camp and high contrast theme 2019-07-14 13:09:08 +02:00
msquare 10d0428f64 add cccamp19 theme 2019-07-11 20:09:49 +02:00
Igor Scheller 7414f9b23d Implemented Validation for controllers 2019-07-09 21:43:18 +02:00
Igor Scheller 508695efb2 Replaced gettext translation with package
This allows to check if no translation is available
2019-07-08 01:58:06 +02:00
Igor Scheller f90ab26fee Moved translation helpers to sub namespace 2019-07-08 01:58:06 +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
Luca 9232513831 Fix caching issue for '/' route 2019-06-14 04:15:20 +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 e948091066 Replaced old /api endpoint with ApiController 2019-06-12 10:20:08 +02:00
MichiK 142871f852 Add a config option for maximum signup in advance
We now have `signup_advance_hours` in the configuration that
only allows signup for shifts so many hours in the future.
A notice is displayed in the shift view for shifts in the
far future, together with an info notice on when signup for
that shift will be possible.

In addition, we now have a new shift state `NOT_YET` for this
purpose so we do not have to abuse `SHIFT_ENDED` anymore for
`signup_requires_arrival` as well.
2019-06-04 21:24:59 +02:00
Igor Scheller 94fea1edad Use ini timezone setting 2019-06-04 21:21:34 +02:00
Igor Scheller 4e709d0d23 Log messages without inline HTML 2019-06-03 20:33:09 +02:00
msquare f6a87535a0 add help button to ical export for android, fixes #402 2019-05-05 15:23:13 +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
Janne Heß 79b30fa3a8 Support disabling the planned arrival
We also use Engelsystem for single-day events, and the planned
arrival/departure feature doesn't make sense for us.
2019-04-23 21:05:56 +02:00
Janne Heß 665e444e88 Support disabling the DECT field
It's a really chaos-event-specific feature and is confusing for many
people on non-chaos events.
2019-04-23 12:43:45 +02:00
Igor Scheller e1be950fb1 config: Improved mail encryption documentation 2019-04-20 20:02:22 +02:00
Janne Heß 69ac1b2d21 Support disabling the arrival feature
Setting `autoarrive` to true will now cause all newly registered angels
to be automatically confirmed as arrived.
2019-03-09 13:53:08 +01:00
Janne Heß afa4506e11 Support alternative home sites 2019-03-09 13:52:13 +01:00
Igor Scheller 491ee37651 Don't save sessions permanently on api and metrics paths
closes #530 (Session on API calls)
2018-12-28 20:35:44 +01:00
Igor Scheller 330356043d credits: Allow customization 2018-12-22 12:01:23 +01:00
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']
```
2018-12-19 22:36:42 +01:00
Phi|eas |ebada 5696dbffc2 Degender shirt sizes
As requested on [twitter](https://twitter.com/sdrnoise/status/1069327306475347968).

Following [Geekfeminism's naming scheme](http://geekfeminism.wikia.com/wiki/T-shirts).
2018-12-03 19:20:58 +01:00
Igor Scheller fd37c9d60e Added additional headers 2018-11-21 19:24:36 +01:00
Igor Scheller 23c0fae36f Added csrf middleware 2018-11-21 19:24:36 +01:00
msquare c1494fc1e7 add 35c3 theme dark 2018-11-11 20:50:25 +01:00
Igor Scheller d15946df2d Changed `src/` code and templates to use the new user model 2018-10-31 13:43:23 +01:00
Igor Scheller 90e1a94962 Make application name configurable
* Added app_name configuration option
* Extended `EngelsystemMailer` to prepend the application name to all mails

Closes #426
2018-10-30 22:50:22 +01:00
Igor Scheller 2aad181798 Footer: Add additional links to the footer
Closes #435 (Support for additional footer links)
2018-10-24 22:31:32 +02:00
Igor Scheller 4bd38305dc Readme: Clarify config file names
Closes #465 (tshirt_sizes seem mixed with the default config)
2018-10-24 19:16:47 +02:00
Igor Scheller 0d38de6a2c Mail: should use sendmail as a default 2018-10-24 19:15:52 +02:00
Igor Scheller b46207f911 Merge remote-tracking branch 'MyIgel/session' 2018-09-30 19:33:14 +02:00
Igor Scheller 6187eed3bb Merge remote-tracking branch 'MyIgel/mailing' 2018-09-26 21:31:18 +02:00
Igor Scheller 66038eda14 Merge branch 'twig-templates' 2018-09-23 20:11:37 +02:00
Igor Scheller 2a134e6c0b Config: Removed nightshifts query 2018-09-23 11:40:53 +02:00
Igor Scheller 104e4f4c43 Session: Added Symfony PDO backend 2018-09-16 14:56:07 +02:00
Igor Scheller d0abc27c07 Merge remote-tracking branch 'MyIgel/translations' 2018-09-15 14:58:31 +02:00
Igor Scheller 222c9fed7d Merge remote-tracking branch 'MyIgel/templating' 2018-09-09 12:11:12 +02:00
Igor Scheller 47b3d35f36 Changed configuration comments to english 2018-09-06 16:04:41 +02:00
Igor Scheller 01e9c22695 Implemented mailing abstraction
Closes #434
2018-09-05 13:44:43 +02:00
Igor Scheller b52444af8a Merge remote-tracking branch 'MyIgel/routing' 2018-09-04 21:13:28 +02:00