Thomas Rupprecht
c906af1010
use int instead of float for spinner value
2022-12-10 17:25:04 +01:00
Thomas Rupprecht
ece4d261c4
add comment about css rules to hide the arrows in the input field
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
3e22315caa
CI: Fixed php version
2022-12-10 00:44:16 +01:00
Igor Scheller
31afc07d22
Ignore code coverage (parent::boot is not registered)
2022-12-08 19:23:44 +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
Michael Weimann
9396a49412
Add phpstan
2022-12-08 16:32:04 +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
Thomas Rupprecht
2b5ffca1b0
Use template literals instead of string concatenation ( #1003 )
...
* use template literals instead of string concatenation
* extract function call out of template literals
* add contributing hint to don't put function calls in template-literals
2022-12-04 12:00:18 +01:00
Thomas Rupprecht
d4a9861751
Add function-paren-newline ESLint rule; align config code style ( #1000 )
...
* unify indentation in config.default.php
* add eslint rule `function-paren-newline`
* fix `function-param-newline` lint rule
2022-12-04 11:33:25 +01:00
Michael Weimann
282f4b45ac
Replace jQuery with VanillaJS
2022-12-02 17:07:12 +01:00
Michael Weimann
7bbdb95885
Replace jQuery ready
2022-12-02 17:07:11 +01:00
Joshua Bachmeier
6917f7805b
Add support for oauth scopes
...
As defined in RFC6749:
* https://www.rfc-editor.org/rfc/rfc6749#section-4.1.1
* https://www.rfc-editor.org/rfc/rfc6749#section-3.3
Scopes can be configured per-provider in engelsystem config.
2022-12-02 15:35:10 +01:00
Joshua Bachmeier
44821019b6
Add error handling to oauth provider response processing
2022-12-02 15:35:10 +01:00
Igor Scheller
7a92ea077f
ShiftType test: Fix test
2022-12-02 15:07:29 +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
9c3c2cc2ac
select2 width should be 100% to scale if the browser width changes
2022-12-02 14:25:57 +01:00
Thomas Rupprecht
4ccceb271c
style input radios with bootstrap classes
2022-12-02 14:19:45 +01:00
Thomas Rupprecht
0002585de4
fix border radius on time input in shift filter
2022-12-02 13:58:30 +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
Thomas Rupprecht
47b80b504c
documentation improvements
...
remove trailing whitspaces
use single backticks
2022-12-02 13:27:10 +01:00
Thomas Rupprecht
d952dfe262
update libs
2022-11-28 22:13:09 +01:00
Michael Weimann
1b83d0bb77
Add yarn check CI
2022-11-27 17:04:06 +01:00
Michael Weimann
9d9211c054
Format JS code
2022-11-27 16:31:32 +01:00
Michael Weimann
4752c9306c
Add eslint
2022-11-27 16:31:32 +01:00
Igor Scheller
992e708276
Replaced ShiftTypes with shift_types / ShiftType model
2022-11-27 14:17:02 +01:00
Igor Scheller
ac162f4411
Removed referenced angeltype from shift type
2022-11-27 14:17:02 +01:00
Igor Scheller
354ec084eb
Show driver's license button on user page when angeltype requires it
2022-11-27 12:14:14 +01:00
Igor Scheller
cdc218e116
db factories: More unique constrains
2022-11-26 13:36:47 +01:00
Thomas Rupprecht
23d7e8632b
javascript improvements
...
use `const` instead of `var`/`let`
use `$(function () { ... })` instead of `$(document).ready(function () { ... })`
unify codestyle
2022-11-25 13:44:39 +01:00
Thomas Rupprecht
887add83f6
`<head>` optimizations
...
lowercase charset utf-8
move `<title>` after `<meta charset="utf-8"/>`
charset should be in the first 1024 bytes and the title after the charset definition
unify self closing tags
2022-11-25 12:41:43 +01:00
Michael Weimann
4f504e98f1
Update frontend deps
2022-11-25 12:32:06 +01:00
Igor Scheller
99afe3f651
Permissions refactoring
...
* Migration: Added groups, privileges, user_groups, group_privileges, improved references
* Models: Added Group, Privilege and integrated it into User
* Replaced old permission handling with new models
2022-11-06 12:41:52 +01:00
frischler
35815b0838
Settings Modernization: Applied suggested changed from #972
2022-11-01 16:55:23 +01:00
frischler
dba7bc29f9
Settings Modernization: Added mobile_show setting to /settings/profile page.
2022-11-01 16:55:23 +01:00
frischler
63f1c12429
Settings Modernization: Refactoring
...
Settings Modernization: Fixing Date issue
Settings Modernization: Reroute
Settings Modernization: Reroute settings to /settings/profile, Cleanup and Refactoring
2022-11-01 16:55:23 +01:00
frischler
d6899d37d9
Settings Modernization: Applying buildup and teardown time, add localization
2022-11-01 16:55:23 +01:00
frischler
203531629f
Settings Modernization: Creating /settings/profile page with Controller methods and tests
2022-11-01 16:55:23 +01:00
Igor Scheller
96f4e1b3a8
Fix typo in config, default group on registration and edit comparison
2022-10-24 00:07:05 +02:00
Igor Scheller
74be132f47
Improve `/design`: Add section links and disable in-text-links
2022-10-22 20:31:41 +02:00
Igor Scheller
4d9f4694ae
Groups: Fix naming and update IDs
2022-10-22 17:49:20 +02:00