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
6686d58c06
Implemented AngelTypes model
2022-12-08 18:35:22 +01:00
Igor Scheller
7a92ea077f
ShiftType test: Fix test
2022-12-02 15:07:29 +01:00
Igor Scheller
992e708276
Replaced ShiftTypes with shift_types / ShiftType model
2022-11-27 14:17:02 +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
865873c099
Enabled to write messages to myself
2022-06-06 16:12:47 +02: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
8d436d988a
More PHP 8.1 fixes to be compatible
2021-12-29 11:00:02 +01:00
Igor Scheller
f1531ad987
Added [more] tag to news
2021-12-12 13:23:01 +01:00
Igor Scheller
ec355d40f5
Added user related factories
2021-08-08 18:31:33 +02:00
Igor Scheller
30e1d41c0a
EventConfig: Set time on dates
2021-04-12 17:13:48 +02:00
Igor Scheller
85044bc833
News: Add is_pinned
2020-12-27 10:59:28 +01:00
Igor Scheller
ebab34ee67
Schedule import: Add overview
2020-11-22 16:53:07 +01:00
Igor Scheller
80941c2999
Login: Added OAuth support
2020-11-22 14:55:29 +01:00
Allen Taylor
6c177d5173
Added timestamps for questions
2020-09-27 19:28:27 +02: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
395f6706d6
Message: Add coverage, fix method hints
2019-12-30 01:53:20 +01:00
Michael Weimann
95adeca0ae
Add message model
2019-12-30 01:53:20 +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
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
4f63bbbaac
Add Question model
2019-12-07 21:29:11 +01:00
Michael Weimann
17192a2c41
Adapt code style to PSR-12
2019-11-12 22:04:39 +01:00
Michael Weimann
26b8d2b921
Introduce the NewsComments model
2019-11-12 21:58:40 +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
109f112131
BaseModel: Removed methods as already provided by Eloquent Builder
2019-11-06 12:15:14 +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
b9cb7d57fd
Basic coverage tests of logger classes for 100% unit tests coverage
2019-07-16 02:59:33 +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
Igor Scheller
63d1292bf8
Added EventConfig model
2018-10-30 21:13:56 +01:00
Igor Scheller
c4867811e2
BaseModel: Added findOrNew
2018-10-30 21:13:56 +01:00
Igor Scheller
104e4f4c43
Session: Added Symfony PDO backend
2018-09-16 14:56:07 +02:00
Igor Scheller
ac48332166
Models: Added LogEntry model
2018-08-31 03:24:54 +02:00