Commit Graph

103 Commits

Author SHA1 Message Date
Tim Neumann 5667fc2326 Allow specifying the deadline for signup in terms of shift length
Allow finer control over the specification of the
time after shift start where signup is still allowed.

The new config field is multiplied by the shift duration,
and the result added to the start time to determine the
time when signup is closed.

The existing signup_post_minutes is just added to the time
calculated by this new feature.

The feature is useful when the signup should be allowed
not just a few minutes after shift start but for a larger part
of the shift (like for half of the shift).
With the previous option it would not make sense to allow a late signup
longer than the shortest shift of the event.

This is a follow-up to a50dd9cae0
2021-10-08 17:38:28 +02:00
Igor Scheller f201b2f1c8 Merge branch 'feature-bootstrap5'
# Conflicts:
#	package.json
#	tests/Unit/Renderer/Twig/Extensions/GlobalsTest.php
#	webpack.config.js
#	yarn.lock
2021-08-17 14:26:28 +02:00
Michael Weimann 2098946a6f
update to bootstrap 5.1 2021-08-08 19:33:44 +02:00
Igor Scheller 6cfeedc57a Fixed more themes and styles/types 2021-08-05 01:00:12 +02:00
Igor Scheller 7917e32f3e
Fixed api key toggle driver license config display and dashboard 2021-07-29 20:01:17 +02:00
Michael Weimann a0d216c61d
extend content security policy to allow data images 2021-07-29 20:01:14 +02:00
Michael Weimann 4428266488
migrate panels to cards 2021-07-29 20:01:10 +02:00
Michael Weimann 5f7fcb9018
make all themes basically working with bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate buttons and badges

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

upgrade bootstrap, fix devtool

remove postcss-preset-env

remove npm-run-all

add theme info to design

add theme configs for 2-15

make all themes compile

fix node env in script

refactor theme config

make all themes basically working

fix sass 3rd party warnings

replace slash div by math.div
2021-07-29 20:00:54 +02:00
Igor Scheller 3912b4e93e Set initial admin password if configured
Resolves #806 (Allow admins to configure the initial password of the admin user)
Closes #809 PR (Allow to configure initial admin pw)
2021-05-24 15:41:16 +02:00
Benjamin Wand 5293bc7192
Theme for DiVOC R2R 2021-04-02 11:51:58 +02:00
Allen Taylor 02ba802d6b configured var dump server 2021-01-09 16:44:02 +01:00
Igor Scheller b5c974b9e3 Add new questions frontend 2020-12-20 17:46:45 +01:00
Igor Scheller 857ed23548 Added FAQ 2020-12-20 17:46:45 +01:00
Igor Scheller 251f2cbfa6 OAuth: Added display name and metrics, show providers on user page 2020-11-22 14:55:29 +01:00
Igor Scheller 80941c2999 Login: Added OAuth support 2020-11-22 14:55:29 +01:00
msquare aabd98241c add teal rc3 theme 2020-11-14 18:29:15 +01:00
msquare c59bf69f0c add fonts to rc3 theme 2020-11-13 20:41:29 +01:00
msquare 8f62e5bf15 add rc3 theme (colors & background image), fix background of select2 2020-11-13 20:15:31 +01:00
Igor Scheller efddc102d1 Use more configs from env, improved docker setup 2020-10-23 13:41:34 +02:00
Christian Heusel 47617f6284 make more options accessible via env vars
* correct the yaml synctax for the docker file
* create an extra env file for the optional config stuff
* modify the default config to respect the set env vars

Signed-off-by: Christian Heusel <christian@heusel.eu>
2020-10-21 21:29:35 +02:00
Igor Scheller e4247cd0bd Metrics: Use buckets for work, worklog and vouchers 2020-09-22 11:37:21 +02:00
Tim Neumann a50dd9cae0 Add option for minutes after shift start where signup is allowed 2020-09-02 13:12:16 +02:00
Igor Scheller e2e2ac0c68 Metrics: Added configured locales and themes, refactoring/formatting 2020-04-25 17:04:57 +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 d323b75501 News: Rewrite 2020-04-25 15:50:57 +02:00
Igor Scheller e4a06fb457 Header: Add external links 2019-12-28 21:46:52 +01:00
msquare 0cab703c94
Merge pull request #705 from MyIgel/pronoun
User: Add pronoun statement
2019-12-27 19:47:52 +01:00
Igor Scheller 537179df66 Shifts overview: Added filter_max_duration to limit max runtime 2019-12-27 18:58:27 +01:00
Igor Scheller 8f2da56892 Voucher: Added hours_per_voucher setting 2019-12-27 06:07:48 +01:00
Igor Scheller e1471248fe User: Add pronoun statement 2019-12-26 19:18:47 +01:00
Igor Scheller 25cdf1cac8 Voucher: Added calculation start time 2019-12-25 16:26:59 +01:00
msquare 3a6d096fff add 36c3 theme 2019-11-23 18:39:09 +01:00
msquare 3ce3129b6e feature: disable lastname+prename in config 2019-08-24 10:56:59 +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
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 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
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 330356043d credits: Allow customization 2018-12-22 12:01:23 +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