Commit graph

42 commits

Author SHA1 Message Date
Jan Böhmer
7baad04e39 Updated dependencies 2023-04-16 23:58:03 +02:00
Jan Böhmer
273293479d Hopefully fix phpunit issue on github actions 2023-04-16 01:46:44 +02:00
Jan Böhmer
d04d743520 Fixed typos 2023-04-15 23:14:53 +02:00
Jan Böhmer
13209c3236 Improved typing of properties 2023-04-15 22:25:03 +02:00
Jan Böhmer
29d1d49aca Fixed some more inspection issues 2023-04-15 22:05:29 +02:00
Jan Böhmer
be5663c468 Allow import/export of users 2023-03-13 22:16:02 +01:00
Jan Böhmer
68462185ba Removed old GPLv2 copyright header 2022-11-29 22:28:53 +01:00
Jan Böhmer
75cf3dc46f Fix the $permissions must be initialized before access exception preventing login on two factor auth 2022-11-28 00:03:42 +01:00
Jan Böhmer
6b9e0b415c Removed legacy PermissionEmbed class
It was used for the old permission saving system and is not needed anymore
2022-11-14 20:20:36 +01:00
Jan Böhmer
59ddf91527 Make PermissionData an embeddable so doctrine can properly track changes to the data array 2022-10-31 21:12:01 +01:00
Jan Böhmer
687ee80255 Save permissions as JSON in user/group entities. 2022-10-30 21:51:24 +01:00
Jan Böhmer
6051c86521 Fixed exception while login 2022-10-09 22:09:43 +02:00
Jan Böhmer
34573bb5e6 Fixed exception when accessing the group admin page 2022-10-09 21:07:51 +02:00
Jan Böhmer
ccc99eba0c Add database indices to improve performance (SQLITE) 2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a Add database indices to improve performance 2022-09-25 18:33:13 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
15a31433e1 Fixed PHPstan warnings. 2022-03-04 13:22:40 +01:00
Jan Böhmer
d0b1024d80 Fixed code style. 2020-08-21 21:36:22 +02:00
Jan Böhmer
8951940be1 Show messages, when an element can not be deleted.
Fixes issue #43.
2020-05-17 21:52:47 +02:00
Jan Böhmer
8b6fe757a0 Removed unnecessary getIDString() function in AbstractDBElement. 2020-05-13 21:19:23 +02:00
Jan Böhmer
a4ee46fed4 Dont order collections by attachment_type or supplier as this causes an exception on table views. 2020-04-01 17:00:50 +02:00
Jan Böhmer
63ca177699 Order data structrues in select pickers alphabetically by their names. 2020-04-01 16:43:42 +02:00
Jan Böhmer
a4802e290f Order attachments and part lots by a reasonable parameter. 2020-04-01 15:37:06 +02:00
Jan Böhmer
cb0aa7bc7a Fixed some psalm issues. 2020-03-29 23:13:25 +02:00
Jan Böhmer
ea302ded91 Fixed PHPstan issues. 2020-03-29 15:59:00 +02:00
Jan Böhmer
2899db0206 Allow to put parameters in different groups. 2020-03-24 15:08:56 +01:00
Jan Böhmer
fd61c8d9e2 Fixed coding style. 2020-03-15 13:56:31 +01:00
Jan Böhmer
719e21c0df Save element parameters in its own database table (dont use JSON)
This makes it easier to query for specific parameters.
2020-03-11 21:48:47 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
594c694ee0 Renamed the base DBElement classes to AbstractDBElement to comply with symfony recommendations. 2020-02-01 19:48:07 +01:00
Jan Böhmer
388e847b17 Applied symplify rules to codebase. 2020-01-05 22:49:00 +01:00
Jan Böhmer
f861de791f Applied code style rules to src/ 2020-01-05 15:46:58 +01:00
Jan Böhmer
9a7223a301 Fixed code style. 2020-01-04 20:24:09 +01:00
Jan Böhmer
25105ba7d4 Set default value of enforce_2fa to fix travis. 2019-12-24 15:20:26 +01:00
Jan Böhmer
2fa0963374 Prepared DB and models for Two Factor authentication 2019-12-14 16:35:19 +01:00
Jan Böhmer
e557bdedd5 Added an PHP CS fixer config file and applied it to files.
We now use the same the same style as the symfony project, and it allows us to simply fix the style by executing php_cs_fixer fix in the project root.
2019-11-09 00:47:20 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01:00
Jan Böhmer
eb1d8fd4e4 Added possibility to add/edit attachments on Admin pages. 2019-09-24 18:28:35 +02:00
Jan Böhmer
ccc345cd1b Changed DB structure the way, many more elements can have attachments
Also every Element has now a preview attachment field. For the user this will be used as profile picture.
2019-09-24 13:39:49 +02:00
Jan Böhmer
90d449ea22 Prevent a user from lock itself out from the user system. 2019-09-11 18:50:23 +02:00
Jan Böhmer
7390f2eccd Allow to change the permissions for users. 2019-09-10 17:12:56 +02:00
Jan Böhmer
7826e3d2ad Added entities and properties for some future features. 2019-08-12 15:47:57 +02:00
Renamed from src/Entity/Group.php (Browse further)