Thomas Rupprecht
e844c98871
Convert class const's to enum's ( #1050 )
...
* convert `Migrate::(UP|DOWN)` class const to `MigrateDirection` enum
* convert `Handler::(ENV_PRODUCTION|ENV_DEVELOPMENT)` class const to `Environment` enum
* convert `ShiftSignupState::(FREE|...|NOT_ARRIVED)` class const to `ShiftSignupStatus::(FREE|...|NOT_ARRIVED)` enum
2023-01-24 19:23:57 +01:00
Thomas Rupprecht
5a2b8f7ff9
Improve navbar
2023-01-22 19:16:33 +01:00
Igor Scheller
96f703bf22
Migrate NeededAngelType model
2023-01-22 18:43:09 +01:00
Igor Scheller
89dc85c3d5
Add ShiftEntry model
2023-01-18 13:02:11 +01:00
xuwhite
89f9b423b1
room view & angeltype view: show all shifts ( #1067 )
2023-01-17 20:01:29 +01:00
Thomas Rupprecht
d18185f49e
Improve alerts and conversation ( #1062 )
...
* add role="alert"
* improve conversation styling
* replace alert with card for conversation
2023-01-17 15:05:47 +01:00
Igor Scheller
2be8e565bf
Refactored UUID generation: use pseudo unique named UUID for schedules
2023-01-06 14:16:41 +01:00
Igor Scheller
23424830e7
Removed unused reference
2023-01-03 22:42:50 +01:00
Igor Scheller
3115870ec4
Added Shift model
2023-01-03 22:19:03 +01:00
Thomas Rupprecht
30f50dab6d
Extract shifts filter JavaScript and improve HTML structure
2023-01-02 18:54:32 +01:00
Igor Scheller
26b5a6e1f0
Fix shifts edit page
2022-12-28 12:31:31 +01:00
Michael Weimann
59cfce0c76
Enable space after cast sniff and remove .git-blame-ignore-revs
2022-12-25 11:59:45 +01:00
Thomas Rupprecht
2bab370221
enable/disable all html-tags corresponding to a radio button checked state ( #1046 )
2022-12-23 18:31:26 +01:00
Johannes Rudolph
b1b08afd23
Make user view columns dynamic by config
2022-12-23 04:46:32 +01:00
Johannes Rudolph
92e0b8be65
Hide dect, voucher and t-shirt options shown to users when disabled via config
2022-12-23 04:22:39 +01:00
Johannes Rudolph
737066414e
Fix i18n on User Edit Page
2022-12-23 03:20:10 +01:00
Thomas Rupprecht
3d88ae7916
convert `switch` to `match`
2022-12-22 00:08:54 +01:00
Thomas Rupprecht
fdddd63aae
fix input radio id and default to multi on shift creation
2022-12-21 23:53:47 +01:00
Thomas Rupprecht
f24d31b928
Improve countdown logic
...
use `Intl.RelativeTimeFormat` to support different l10n add week as possible duration
2022-12-21 14:18:21 +01:00
Igor Scheller
98a3187899
Use native types where possible + ctor prop promotion 💣
2022-12-21 12:46:40 +01:00
Igor Scheller
d92733f658
Schedule: Make URLs klickable on overview and handle connection errors
2022-12-21 12:08:48 +01:00
Igor Scheller
700d841a87
Fix atom, ical and json exports
2022-12-21 11:42:55 +01:00
Michael Weimann
2ad4203dd3
Add useless comment phpcs sniff
2022-12-20 22:19:49 +01:00
Michael Weimann
61139e03c3
Use constructor property promotion
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-20 22:18:34 +01:00
Michael Weimann
b004f865b4
Set native property types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:50 +01:00
Igor Scheller
5b8805f884
Moved OAuth2 event helper and added tests
2022-12-13 22:46:16 +01:00
Igor Scheller
7f78f59840
Added UserAngelType model
2022-12-13 22:46:16 +01:00
Thomas Rupprecht
2d454ca8ae
move js code for spinner into js file
...
now the code is needed only once for all spinners
2022-12-11 18:44:58 +01:00
Thomas Rupprecht
f12f8a1b3b
set autocomplete attribute for password inputs
2022-12-11 18:17:42 +01:00
Thomas Rupprecht
ce0ac6f823
Use specific ID parameter names in routes ( #1023 )
2022-12-11 18:01:34 +01:00
Thomas Rupprecht
5bd922d109
code improvements
...
unify lowercase variant of form method post
remove duplicate class selector
improve comments
2022-12-11 10:21:47 +01:00
Michael Weimann
4c3dc1e081
Fix shift creation
...
Regression introduced by changing the angeltype count field IDs
2022-12-11 10:20:44 +01:00
Thomas Rupprecht
5604176675
fix mailto link
2022-12-11 10:14:07 +01:00
Thomas Rupprecht
c906af1010
use int instead of float for spinner value
2022-12-10 17:25:04 +01:00
Thomas Rupprecht
59e623c938
add function parameter types for form_spinner
2022-12-10 17:25:04 +01:00
Thomas Rupprecht
fbe52117ed
improve spinner control
...
use input type `number` with `min` and `step`
use `.stepDown()` and `.stepUp()` to change value
hide browser controls
2022-12-10 17:25:04 +01:00
Thomas Rupprecht
3bcbca97ab
improve spinner ids
2022-12-10 17:25:04 +01:00
Thomas Rupprecht
7a376399b8
use better and more icons
2022-12-10 17:22:11 +01:00
Igor Scheller
6686d58c06
Implemented AngelTypes model
2022-12-08 18:35:22 +01:00
frischler
bdc62eaac3
Worklog Refactoring
2022-12-08 17:40:24 +01:00
Thomas Rupprecht
0e3d47f2e1
replace md5 with random_bytes and use 64 chars for api_key
2022-12-08 15:57:13 +01:00
Thomas Rupprecht
1d158da441
remove self closing tag
2022-12-08 15:43:34 +01:00
Thomas Rupprecht
3b8a275e1c
remove unused `form_multi_checkboxes` function
2022-12-08 15:43:34 +01:00
Thomas Rupprecht
e8ccbd7c5e
style checkboxes with bootstrap classes
2022-12-08 15:43:34 +01:00
Thomas Rupprecht
0a1014496a
fix tag nesting
2022-12-08 15:36:44 +01:00
Michael Weimann
282f4b45ac
Replace jQuery with VanillaJS
2022-12-02 17:07:12 +01:00
Thomas Rupprecht
65dca1cebd
improve admin-shifts ui
...
on larger screens put start & end next to each other
size of the "needed angles" fit on more screen sizes
2022-12-02 14:49:14 +01:00
Thomas Rupprecht
6d5748f9f8
fix label to input link for `form_spinner`, `form_date` and `form_datetime`
2022-12-02 14:45:23 +01:00
Thomas Rupprecht
4ccceb271c
style input radios with bootstrap classes
2022-12-02 14:19:45 +01:00
Thomas Rupprecht
37c7b876f3
fix select_array. needed for a correct format for select2
...
if `$data` is a `Collection` than the return format is `[{"key":["value"]}]` and not `[{"key":"value"}]`
2022-12-02 13:53:29 +01:00