Bot
f9d22f9bda
Set strict types everywhere (except includes)
2023-02-03 20:55:58 +01:00
Igor Scheller
89dc85c3d5
Add ShiftEntry model
2023-01-18 13:02:11 +01:00
Igor Scheller
3115870ec4
Added Shift model
2023-01-03 22:19:03 +01:00
Michael Weimann
59cfce0c76
Enable space after cast sniff and remove .git-blame-ignore-revs
2022-12-25 11:59:45 +01:00
Michael Weimann
2ad4203dd3
Add useless comment phpcs sniff
2022-12-20 22:19:49 +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
Michael Weimann
aff8826c99
Set native return types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:31 +01:00
Michael Weimann
2b88322c0c
Set native parameter types
...
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
2022-12-15 20:13:30 +01:00
Igor Scheller
7f78f59840
Added UserAngelType model
2022-12-13 22:46:16 +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
71d183df01
Applied changes as suggested in https://github.com/engelsystem/engelsystem/pull/915
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
676a2113b4
Added User\License model
2021-12-29 17:12:19 +01:00
Igor Scheller
80941c2999
Login: Added OAuth support
2020-11-22 14:55:29 +01:00
Igor Scheller
f732a4af6f
Added Worklog model
2020-09-24 17:38:12 +02:00
Igor Scheller
f99e0a229f
Tests: Added ModelTest class
2020-06-14 13:55:08 +02:00
Igor Scheller
93ae2442f6
Formatting, syntax, typehint and namespace fixes, cleanups
2020-04-25 16:54:30 +02:00
Igor Scheller
d27bcabc8b
tests: code coverage cleanup
2020-01-02 15:09:08 +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
Igor Scheller
68afc74b03
Formatting to follow PSR-12
2019-11-11 00:05:41 +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
Igor Scheller
2cce967eb0
Tests: Replaced duplicates and formatting/cleanup
2019-11-06 13:16:00 +01:00
Igor Scheller
a514ba3adc
HasUserModel: Moved user method to trait
2019-11-03 00:25:35 +01:00
Igor Scheller
e124b41977
Tests: TestCase: Initialize $this->app on every run
2019-10-08 13:57:50 +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
c74fa7955d
phpunit: Upgrade to version 8, fixed tests, formatting
...
Use `dms/phpunit-arraysubset-asserts` after `assertArraySubset` got deprecated
2019-04-25 17:56:06 +02:00
Igor Scheller
b1d8fede46
user: allow up to 40 characters for dect numbers
...
closes #309 (EPVPN number in DECT field is shortened)
closes #529 (For dect numbers are only 5 digits allowed)
2018-12-22 12:03:24 +01:00
Igor Scheller
8e62c4c52c
Added new user models
2018-10-31 13:43:23 +01:00