Commit Graph

1509 Commits

Author SHA1 Message Date
Igor Scheller e750436a82 Fix worklog input validation error and default to current day during buildup 2022-07-20 20:16:57 +02:00
Igor Scheller d7c148fa89 Allow more characters for room names 2022-07-20 19:14:56 +02:00
Igor Scheller a03472ebc1 Shifts overview: select current day during the event 2022-07-20 18:15:28 +02:00
Igor Scheller 58d9750d0c Vouchers page: Show force active state 2022-07-20 18:15:18 +02:00
Igor Scheller 1245d81ad8 Create shifts: Default to manually select angel types 2022-07-18 19:59:09 +02:00
Igor Scheller c99531decb Allow changing the username match pattern from the config 2022-07-18 16:15:22 +02:00
Michael Weimann 1277f8f96f Replace chart-js with backend rendering
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-07-11 23:30:41 +02:00
frischler 8380536055 Settings language handled in SettingsController 2022-06-30 14:05:46 +02:00
Igor Scheller 5e81b8d2af Cleanup: Simplification and removed dead code and duplicated/outdated declarations 2022-06-17 21:08:53 +02:00
Bot 3ebea2ae15 Replaced DB with Db 2022-06-17 20:57:52 +02:00
Xu 05e94bbfee add config option and permission for food voucher 2022-06-17 20:55:16 +02:00
Xu 53009c21a4 Message link in User view 2022-06-16 23:39:18 +02:00
frischler 3043a9512a Settings themes handled in SettingsController 2022-06-14 13:34:01 +02:00
Igor Scheller bb49b308fb Generate UUID as shifts transaction id and fixed translation 2022-06-12 17:02:19 +02:00
Igor Scheller 7c448e6064 Use locking for shift transacton id generation 2022-06-12 17:02:19 +02:00
Igor Scheller 96277dcfc4 Added transaction id to shifts for bulk deletion 2022-06-12 17:02:17 +02:00
Xu 9001907b74 added voucher angel group right 2022-06-12 16:14:22 +02:00
Igor Scheller 743a79ceea Replace model data access workaround with twigbridge patch 2022-06-10 12:45:24 +02:00
Igor Scheller 7acd34ba74 Added unread messages as global var 2022-06-06 16:12:47 +02:00
frischler 2c0d516578 Improved Messages UI and shrinking includes/user_messages.php 2022-06-06 16:12:47 +02:00
Igor Scheller 724894316a Add transaction around user creation to safeguard against partially created users 2022-05-29 12:29:34 +02:00
Xu 939f20709f fixed unanswered questions link and added links to design page alerts 2022-05-20 14:02:02 +02:00
Michael Weimann 6ea938460a Clean up styles 2022-04-29 15:16:23 +02:00
Michael Weimann c4b2fbda1a Remove date/time pickers 2022-04-19 23:33:44 +02:00
msquare dd6963a2bd closes #877: sequential numbers for arrived angels view 2022-03-20 18:43:08 +01:00
Igor Scheller d8076abc38 Make password enabled configurable via oauth settings 2022-03-20 18:29:51 +01:00
Igor Scheller b5ba5f6188 Fix sso disabled password inconsistencies 2022-03-20 18:29:51 +01:00
Fabian Freyer 63be666a67 Allow password-less registration
Introduce a configuration option that, when unset, causes registration
to not require setting a password. Users registered without a password
will not be able to login unless through SSO.
2022-03-20 18:29:51 +01:00
Igor Scheller b345bf4ea7 Fix metrics and notifications when sql_mode is only_full_group_by (since MySQL 5.7/8.0) 2022-03-20 15:32:44 +01:00
msquare fb573fd1d9 improve variable length shift creation 2022-03-20 14:39:33 +01:00
Igor Scheller 485df38786 SHow right count of angels in shift view for additional angeltypes 2022-01-01 17:43:45 +01:00
Igor Scheller 38043ee35f Fix list of additional angeltypes on shift view 2022-01-01 17:31:50 +01:00
Thies Mueller e2a99a5b1d removed the tshirt part 2021-12-30 20:37:08 +01:00
Igor Scheller 6a79aaeeaa Replaced swift mailer with symfony mailer 2021-12-29 22:28:12 +01:00
Igor Scheller f6c86285d9 Select current day on angeltype/room shifts list 2021-12-29 17:12:19 +01:00
Igor Scheller ea0a4777d8 Fix additional shift description formatting 2021-12-29 17:12:19 +01:00
Igor Scheller a129f18c2c Make confirmation optional when adding a user to an angeltype 2021-12-29 17:12:19 +01:00
Igor Scheller 02c69073f0 Add shift links to shift changed/assigned mails 2021-12-29 17:12:19 +01:00
Igor Scheller 676a2113b4 Added User\License model 2021-12-29 17:12:19 +01:00
Igor Scheller a79e1ebb5c Added email notification when added to angeltype 2021-12-29 17:12:19 +01:00
Igor Scheller 1e3bd9aaad Added email notification on angeltype confirmation 2021-12-29 17:12:19 +01:00
Igor Scheller 8d436d988a More PHP 8.1 fixes to be compatible 2021-12-29 11:00:02 +01:00
Igor Scheller 643c4c8da7 Upgraded composer packages, fixed class naming and return types 2021-12-29 11:00:02 +01:00
Lena Schneider 200ac26b24 Register page layout rework
As discussed with @MyIgel the whole register page is in dire need of gasoline and a lighter. I started to refactor it by rearranging the row & column grid (removed 2 nesting levels) and changed the order of the field to something with a little more sense. The page still needs to be moved to a proper view...
2021-12-28 16:00:23 +01:00
msquare f286373b21 theme improvements 2021-12-27 21:49:07 +01:00
msquare 8d405b8b7c fix bug when creating varialbe shits 2021-12-15 17:14:09 +01:00
Igor Scheller 0f280e68dc Another date validation fix for arrival/departure dates 2021-12-12 13:23:01 +01:00
Igor Scheller 8256b9d6bd Hide oauth from profile and settings page if not configured / should be hidden 2021-12-12 12:34:43 +01:00
Igor Scheller 2d45e04a90 Added option to allow sso account creation even if public registration is disabled 2021-12-12 12:34:43 +01:00
Igor Scheller 1ba4b57eac Added OAuth2 SSO login group mapping 2021-12-12 12:34:43 +01:00
Igor Scheller 38dda01330 Use RFC3339 strings to represent start and end times for shifts json start/stop, fixed ical timezone output 2021-12-09 20:14:07 +01:00
Igor Scheller 39f83ef082 Angeltype: Only show defined contact infos 2021-12-09 20:14:07 +01:00
Igor Scheller 6c288bceb5 Fixed maintenance page assets for subpaths and send 503 Service Unavailable 2021-12-09 20:14:07 +01:00
msquare bf1ea07eab shift edit: fix form info for description field 2021-12-05 11:57:02 +01:00
Igor Scheller dc0cf101b2 Moved gdpr goodie mail opt in to own configurable option
Co-authored-by: Michael Weimann <mail@michael-weimann.eu>
2021-12-04 11:58:06 +01:00
xuwhite 15d9abd280 changes for gdpr legal foo 2021-12-04 11:58:06 +01:00
--global ccc0889d00 email option updated 2021-12-04 11:58:06 +01:00
xuwhite a1f5454bf5
Optional description for shifts 2021-11-27 11:34:20 +01:00
Igor Scheller 56e0d3bcbd Disabled button on own shift sign out on shift view if not supporter or shift admin 2021-10-23 17:20:53 +02:00
Igor Scheller 2cfce86e25 Fixed formatting 2021-10-23 17:19:49 +02:00
Igor Scheller a68c8ae6d2 Fixes #824: Server error when no shifts configured and with 'user_shifts' as home site 2021-10-23 17:17:29 +02:00
Igor Scheller 657b44f9cf Redirect back from login after 403 (Not authorized) 2021-10-23 17:13:46 +02:00
Igor Scheller c2c1a4d281 Fixed admin free join query nesting 2021-10-23 17:11:59 +02:00
Igor Scheller 71d9077a03 Admin free: Only generate query on search 2021-10-23 17:11:59 +02:00
msquare 6fc3b62a74 small improvement on admin free translation 2021-10-23 17:11:43 +02:00
Igor Scheller 6d2b36a746 Fixed shifts filter to show partially occupied shifts as free and not occupied
As suggested by @pjdeltour in #829 (Shifts filter - not showing all filtered shifts)
2021-10-23 17:07:19 +02:00
msquare ca8f851ab1 user shirt edit: finetuning shirt edit view and logs 2021-10-23 17:04:19 +02:00
Igor Scheller 5c90a1ef37 Added shirt edit view 2021-10-23 17:04:19 +02:00
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
Michael Weimann 86606c8055
fix css and datepicker 2021-09-11 14:39:40 +02:00
msquare c3045e07ce minor css class changes 2021-09-10 14:30:16 +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 d9a9b1921d
fix the message notification badge 2021-08-16 18:02:04 +02:00
Igor Scheller 231f481537 Styling optimizations (esp. alerts) and other fixes 2021-08-09 23:32:24 +02:00
Igor Scheller 950a865c0c "Own Angeltypes" filter: only select restricted type if already confirmed 2021-08-08 19:11:16 +02:00
Igor Scheller 993e64944f Fixed formatting 2021-08-05 01:07:15 +02:00
Igor Scheller 6cfeedc57a Fixed more themes and styles/types 2021-08-05 01:00:12 +02:00
Igor Scheller a36e142f28 Replaced self sign up icons, fixed FAQ link on angeltypes overview and shift overview colors 2021-08-05 00:55:00 +02:00
Michael Weimann 82f640896e
migrate shift overview cards to panels
migrate shift overview cards to panels
2021-07-29 20:01:21 +02:00
Igor Scheller d51edb6092
Fixed backend pages, shifts table header 2021-07-29 20:01:20 +02:00
Igor Scheller 91c7a19f11
Removed and replaced outdated classes and styling, use secondary buttons 2021-07-29 20:01:19 +02:00
Igor Scheller 191a3a7d48
Replaced info and calendar icons 2021-07-29 20:01:18 +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 2509bd4a98
Add brand new legacy theme helpers 2021-07-29 20:01:15 +02:00
Michael Weimann b68af58321
migrate datetime picker to bs5
fix bs5 time picker

fix datetime picker js error
2021-07-29 20:01:13 +02:00
Igor Scheller 63f0a08407
Fixed spacing and sizes 2021-07-29 20:01:12 +02:00
Igor Scheller 08188fa32a
Fixed shifts filter toggle and "hide on print" classes 2021-07-29 20:01:11 +02:00
Michael Weimann 4428266488
migrate panels to cards 2021-07-29 20:01:10 +02:00
Igor Scheller 0398efad65
Fixed tabs 2021-07-29 20:01:09 +02:00
Igor Scheller 08790b0b2e
Replaced labels with badges 2021-07-29 20:01:07 +02:00
Igor Scheller 36ba619d5a
Fixed button sizes and types 2021-07-29 20:01:06 +02:00
Igor Scheller b41a9a02d1
Use bootstrap icons instead of glyphicons 2021-07-29 20:01:05 +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
Michael Weimann 9acaa03a71
migrate basic elements to bs5
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>

migrate body color to bs5

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

migrate the nav menu to bs5

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

migrate to bs5 badges

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

migrate to bs5 nav pills

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

migrate the login page to bs5

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

fix the language dropdown in bs5

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2021-07-29 19:41:09 +02:00
msquare d7eb3b9c5b how to mark angels as active 2021-05-21 21:17:37 +02:00
Igor Scheller edcc1f481d Fixed formatting 2021-05-11 21:50:54 +02:00
Xu 34b01fd37d shifts filter own AngelTypes select only confirmed Angeltypes 2021-05-11 21:47:07 +02:00
msquare 7f1f3a773a fix angeltype selection on admin shift entry create 2021-04-16 21:50:45 +02:00
msquare d054378a63 add datetime picker to admin shifts page 2021-04-16 18:03:54 +02:00
Xu 1cfab91f28 wording: no self sign up allowed 2021-04-13 16:01:38 +02:00
Igor Scheller 6f27d11093 Use mailto: and tel: links 2021-04-12 17:13:48 +02:00
Igor Scheller 6aca6f08e2 Upgrade to PHP 8 2021-04-12 17:13:48 +02:00
Igor Scheller 30e1d41c0a EventConfig: Set time on dates 2021-04-12 17:13:48 +02:00
Igor Scheller 149155fbda Added email notification on new news 2021-04-12 16:15:25 +02:00
Xu 2c8fcbf506 AngelTypes_view: use mailto and tel links 2021-03-28 21:44:48 +02:00
Igor Scheller 28e357acd3 Shift sign up: Allow Supporters to signup users to occupied shifts 2020-12-26 21:14:10 +01:00
Igor Scheller d423bb07d3 OAuth: Save auth tokens 2020-12-26 21:09:24 +01:00
Igor Scheller d7152ebc09 Allow 0 minutes before/after schedule, fix room sorting 2020-12-26 02:39:52 +01:00
Igor Scheller b5c974b9e3 Add new questions frontend 2020-12-20 17:46:45 +01:00
Igor Scheller 5cdf3889f9 Add max length for user settings 2020-12-20 17:46:45 +01:00
Igor Scheller 8284921ac5 Dashboard: Add URL filter 2020-12-20 17:15:24 +01:00
Igor Scheller 2745b04dc2 Added filter to dashboard 2020-12-20 17:15:24 +01:00
Igor Scheller 6738fbeec3 Fixed 500 when editing an Angeltype while session expires 2020-12-20 17:15:24 +01:00
EdJoPaTo 0bde445aa2 translation: less misleading admin_arrive translation 2020-12-18 21:16:46 +01:00
Igor Scheller 507e94aa55 Questions: Show newest first 2020-11-29 20:00:15 +01:00
msquare 39f96783cf review changes 2020-11-25 00:49:45 +01:00
Igor Scheller 27331b4cf6 Use twig to render profile setting page 2020-11-25 00:49:45 +01:00
msquare 0c3ff73454 new setting page layout 2020-11-25 00:49:45 +01:00
msquare d3265ef70a add password settings page 2020-11-25 00:49:45 +01:00
Igor Scheller ebab34ee67 Schedule import: Add overview 2020-11-22 16:53:07 +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
Igor Scheller c44d48a22a Registration: Added autocompletion information and fixed naming 2020-11-22 14:55:29 +01:00
Igor Scheller 85baeb3a6b Registration: Added pronoun 2020-11-22 14:55:29 +01:00
Igor Scheller a136cd97df Angellist: Fixed sorting 2020-11-17 21:34:34 +01:00
Lena Schneider 18d5bd3bd4 Add pronouns to angeltype members
fix #770
2020-11-08 16:27:54 +01:00
Igor Scheller b5e0a46dbd My Shifts: Link Angeltypes
Closes #707 (The angel types in the "My Shifts" view should be linked to their description page)
2020-10-18 16:58:36 +02:00
Igor Scheller 3d5ce35f5e Show available vouchers in user view 2020-10-18 16:58:36 +02:00
Igor Scheller e74eb6eee4 Shifts edit: Added schedule import warning 2020-10-18 16:58:36 +02:00
Igor Scheller 6c3d51272c User page: Fixed arrival text 2020-10-18 16:58:36 +02:00
Igor Scheller 0bbc2d219d Rename "restricted angeltype" to "Requires introduction" in the frontend
Closes #294 (Rename "restricted angeltype")
2020-10-18 16:55:11 +02:00
Allen Taylor 6c177d5173 Added timestamps for questions 2020-09-27 19:28:27 +02:00
Igor Scheller f4f3487c93 Renamed variables for more consistent worklog naming 2020-09-24 17:38:12 +02:00
Igor Scheller f732a4af6f Added Worklog model 2020-09-24 17:38:12 +02:00
Igor Scheller acf84f222d Added Room model 2020-09-24 09:34:00 +02:00
Igor Scheller e9726982fd Edit user: Allow groups admin to change own groups 2020-09-22 11:46:11 +02:00
Igor Scheller 559d641825 User settings: Don't default to 1970-01-01 2020-09-22 11:46:11 +02:00
Igor Scheller 8ff9b8b9b9 Room page: Add edit/delete buttons 2020-09-22 11:46:11 +02:00
Igor Scheller bd2994eea7 Admin arrive: Show button on user pages 2020-09-22 11:46:11 +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 390db395a6 File formatting fixes 2020-06-28 19:39:29 +02:00
Igor Scheller 272be5eab2 Shifts overview: Show all rooms and only own angel types 2020-06-14 13:55:08 +02:00
Igor Scheller e947e788f9 Rebuild logs view 2020-05-01 21:41:06 +02:00
Igor Scheller 984ce25728 Moved development error handler setup to ConfigureEnvironmentServiceProvider 2020-04-25 17:04:57 +02:00
Igor Scheller 2605204af8 Moved error reporting settings to ConfigureEnvironmentServiceProvider 2020-04-25 17:04:57 +02:00
Igor Scheller 2b1ccb6406 Configure application timezone globally 2020-04-25 17:04:57 +02:00
Igor Scheller 4d8e568ff8 Users overview: Fixed sorting 2020-04-25 16:54:30 +02:00
Igor Scheller 8c0ac0f7a1 Check permissions before showing ical, atom and json export links
closes #729 (Rechtesystem ical&json)
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 d323b75501 News: Rewrite 2020-04-25 15:50:57 +02:00
Igor Scheller 951755598a Removed ReplaceSmilies from news 2020-04-25 15:50:57 +02:00
Igor Scheller c519be276a Logging: Renamed EngelsystemLogger to Logger and added UserAwareLogger 2020-04-25 15:50:57 +02:00
Igor Scheller 02ee581202 User view: Show double assigned shifts
closes #674 (Number of shifts differs in web interface and API response)
2020-04-24 22:32:55 +02:00
Igor Scheller dfcacaa331 Renamed message send buttons
closes #702 (Sending a message and an irritating button)
2020-04-24 22:32:55 +02:00
Igor Scheller a8333dd4d5 Only show "iCal export and API" on own profile page
It's confusing to see it on other profile pages
2020-04-24 22:32:55 +02:00
Christian Kleinbach e4712658a4 added german date format for ticks in calender view + corresponding translation 2020-04-23 13:30:26 +02:00
msquare fd2a644a24 #723: i8n date formats on news page 2020-04-03 11:00:21 +02:00
msquare fbd78b8daf fixes #693: never select a default date before first existing shift in shifts view 2020-04-03 10:28:55 +02:00
Igor Scheller 94753bc3d8 Worklog: Limit worklog comment length to 200 as it is configured in the database 2020-01-09 13:43:10 +01:00
digitaldonkey 5c54d4787f Fix New Messages navbar display and make the Messages link clickable. 2020-01-02 03:34:55 +01:00
Michael Weimann a78659b2d4 Migrate message view 2019-12-30 01:53:20 +01:00
Igor Scheller 46f80fbed2 Angeltypes: Fixed error on angeltype creation 2019-12-29 14:21:20 +01:00
Igor Scheller b3a4c67b1b Admin arrive: Fixed search 2019-12-28 10:27:21 +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 7fb10ec569 Voucher: Add worklog entries to calculation 2019-12-27 05:24:32 +01:00
Igor Scheller e1471248fe User: Add pronoun statement 2019-12-26 19:18:47 +01:00
Igor Scheller ec47d124bb Shifts overview: only scroll shifts, not whole page 2019-12-26 16:46:06 +01:00
Igor Scheller 25cdf1cac8 Voucher: Added calculation start time 2019-12-25 16:26:59 +01:00
Michael Weimann ea034ecec6 Add the container class to some views 2019-12-19 19:33:52 +01:00
cbluoss 4beb5a6986 Extended the iCal section with a collapsible card to show the current api key. 2019-12-12 18:48:26 +01:00
cbluoss 74b464aab5 ShiftEntry query now returns the related user.name as well.
This was done for API requests to save additional queries,
but should allow us to remove some queries pretty much everywhere shifts
get listed (will be done in a new PR eventually)
2019-12-12 18:48:22 +01:00
msquare d70d7c6436 Resolve redirect problem in schedule import 2019-12-08 12:56:47 +01:00
msquare a3a938a121
Merge pull request #685 from MyIgel/schedule-import
Rebuild Schedule import
2019-12-08 11:48:58 +01:00
Igor Scheller b540ac9385 Add timezone to shifts JSON
Resolves #689 (Provide time zone offset via the shifts-json-export API)
2019-12-08 11:38:20 +01:00
Igor Scheller 064a175027 Renamed GuzzleServiceProvider to HttpClientServiceProvider, fixed translation and import error 2019-12-08 02:20:51 +01:00
Igor Scheller 47e209e125 ImportSchedule: Append talk language to shift title
Resolves #587 (Include talk language into Frab-imported shift titles)
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
Bot be39c63f46 Renamed redirect() to throwRedirect() 2019-12-08 02:12:56 +01:00
Igor Scheller d6cb9c6258 Questions: Moved user tests to user and fixed attribute names, added @covers 2019-12-07 21:29:11 +01:00
Michael Weimann e16e0b2644 Migrate Question usages 2019-12-07 21:29:11 +01:00
Igor Scheller 14f8d208b8 Removed global $ical_shifts 2019-11-28 16:24:33 +01:00
Igor Scheller 0e386d2c7f Removed global $page 2019-11-28 14:30:41 +01:00
Michael Weimann 35a7d853ff
Migrate view to the NewsComments model 2019-11-12 21:58:50 +01:00
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
2019-11-10 22:10:11 +01:00
Michael Weimann 6534191d59 Migrate news to model class 2019-11-10 22:10:11 +01:00
msquare 416c49ae0b fix #634 by also allowing only restricted angeltypes 2019-11-03 12:37:48 +01:00
msquare 2b27b45aba remove legacy file guest start 2019-11-03 12:21:37 +01:00
msquare 613d258c87 fix #345 by adding a badge to shift view wich contains number of missing angels 2019-11-03 12:08:46 +01:00
msquare dc3de33a4b fix #287: handle IDN email addresses 2019-11-03 11:43:13 +01:00
Igor Scheller 9b08b951a2
Merge pull request #651 from MyIgel/shift-deletion-worklog
Save time of past shifts as worklog if they get deleted
2019-10-21 09:12:10 +02:00
Igor Scheller eec1eff65b Shifts overview: Style cleanup 2019-10-20 15:38:09 +02:00
Wonko T. Sane 1a5c10dd41 adding a dashed line when expandable 2019-10-20 14:59:15 +02:00
Wonko T. Sane b14d352140 Fix for #526
Implementation idea stolen from http://jsfiddle.net/6K7t4/24/
2019-10-20 14:59:15 +02:00
Igor Scheller 4154e97f3f Deleted shift: Multiply with night shifts multiplier for worklog entry 2019-10-13 20:28:34 +02:00
Igor Scheller fc773b25b3 Use 403 forbidden on shifts json, atom export and ical export 2019-10-13 13:15:08 +02:00
Igor Scheller dd03662968 Rebuild password reset 2019-10-08 16:17:06 +02:00
Igor Scheller 8f8130634e Show normal login page after registration, added msg() template function 2019-10-08 15:28:23 +02:00
Igor Scheller c5dd21cbd6 Deleted shift: Added message about worklog entry 2019-09-18 04:38:49 +02:00
Igor Scheller 85e4403392 Rooms: Save times as Worklog and notify on room deletion 2019-09-18 04:27:59 +02:00
Igor Scheller d71b27b78b Shifts: Save time as worklog if past shift gets deleted 2019-09-18 04:27:56 +02:00
Igor Scheller a02f5e61be Edit user: Prevent overwriting first and last name if temporary disabled 2019-08-24 12:53:26 +02:00
Igor Scheller a51bfae6e5 User view: Fix shifts order if user has worklogs 2019-08-24 12:32:34 +02:00
Igor Scheller 100602437f User admin: Allow setting new groups if user has none assigned 2019-08-24 11:58:57 +02:00
msquare 3ce3129b6e feature: disable lastname+prename in config 2019-08-24 10:56:59 +02:00
msquare 1604d2bce0 format freeloader duration on user myshifts page 2019-08-23 15:55:22 +02:00
msquare d4e0fb0013 format freeloader duration on user myshifts page 2019-08-23 15:49:41 +02:00
msquare 39fda9b04f format freeloader duration on user myshifts page 2019-08-23 15:47:17 +02:00
msquare 10fcd66da3 format freeloader duration on user myshifts page 2019-08-23 15:44:52 +02:00
msquare edcf794a32 fixes #644: display shifts with same start time on user myshifts page 2019-08-23 15:23:04 +02:00
Igor Scheller 69b3a2440c Admin user: Show force active status in log 2019-08-22 23:26:00 +02:00
Igor Scheller 088d351b2b Sort angeltypes shifts date dropdown 2019-08-22 21:18:36 +02:00
msquare ce6419e308
Merge pull request #643 from MyIgel/show-angetypes
Shift page: show additional angeltypes if shift entries where found
2019-08-21 22:22:05 +02:00
Igor Scheller f73b8e7a0e Fix translation methods 2019-08-21 22:11:20 +02:00
Igor Scheller b2a4225a62 Shift page: show additional angeltypes if shift entries where found 2019-08-21 22:08:48 +02:00
msquare 4d4fb81cd3
Merge pull request #641 from MyIgel/shift-signup-log
Shift signup/signout: Be more verbose
2019-08-21 01:30:53 +02:00
msquare 548d7317b4 redo fix shift view bug 2019-08-21 01:28:47 +02:00
msquare 8139f2fb4e redo fix shift view bug 2019-08-21 01:27:38 +02:00
msquare a521ace9f7 fix shift view bug 2019-08-21 01:26:01 +02:00
Igor Scheller 27895f2639 Shift signup/signout: Be more verbose 2019-08-21 01:22:46 +02:00
msquare a5f838d56a fix back button on shift create preview 2019-08-19 22:05:10 +02:00
msquare 53ec14b9c4 better bar min calculation 2019-08-19 10:20:44 +02:00
msquare 7d82103762 better bar min calculation 2019-08-19 10:20:07 +02:00
msquare 89ca2bb398 better bar min calculation 2019-08-19 10:19:27 +02:00
msquare ead2b1582b add overnight shift creation feature flag 2019-08-17 18:46:03 +02:00
Yannik Enss 770202e03d Declare summary of atom feed items as HTML
RFC4287 Section 3.1.1 requires HTML content to be declared
as such with the "type" attribute, this commit adds that attribute
to the generated atom feeds.
2019-08-15 23:42:44 +02:00
msquare 76a7ceb27b fixes #635: set end of the last created shift to the official end inestead of first shift change on next day 2019-08-15 21:14:54 +02:00
msquare d376c0d038 fix edit user error 2019-08-04 17:55:07 +02:00
msquare 1b3781cb2f format admin_arrive dates accordingly as in user list 2019-07-25 19:02:08 +02:00
msquare af580389c1 no time for arrival day needed 2019-07-25 18:53:27 +02:00
Igor Scheller d794efe7bd User overview: Order by planned arrival/departure dates 2019-07-25 17:40:59 +02:00
msquare 0c51d3c487 make shift calendar printable 2019-07-24 20:57:27 +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
Igor Scheller 6ed891fc04 Added logout via AuthController 2019-06-12 10:24:02 +02:00
Igor Scheller 0458ce9509 Added more error messages 2019-06-04 21:24: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 ead56a89fe Only show the shift "Comment" field for own entries 2019-06-04 21:23:34 +02:00
Igor Scheller b6eda8dbfc Fix profile link to mark angels as arrived 2019-06-04 21:22:19 +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
Igor Scheller e7f10d846e Escape log messages 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 ca0b2d8b5f Improved email error logging 2019-04-30 18:09:08 +02:00
msquare a9499f4e5a fix hour format for work log entries on myshifts page 2019-04-28 14:58:43 +02:00
msquare ef2d917c59 catch mail exceptions, execute the action, inform the user about the error and create a log entry 2019-04-28 14:54:32 +02:00
msquare 4f1cef546e better nick validation, fixes #429 2019-04-28 14:39:49 +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 7c3a0c70e8 Bugfix: default value for planned_arrival_date and don't overwrite dect
Fixed registration form formatting
Fixed profile request attributes fallback values
2019-04-25 17:56:23 +02:00