Commit graph

64 commits

Author SHA1 Message Date
Jan Böhmer
193ecd252b Fixed some deprecations. 2021-10-02 20:41:14 +02:00
Jan Böhmer
349ab706cc Apply symplify checkers. 2020-08-21 21:38:31 +02: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
ae75e6844f Fixed coding style. 2020-04-10 13:05:08 +02:00
Jan Böhmer
e8f83f188a Fixed issue that U2F keys did not work.
The DB length for this field was too short, so the key handles were cut off and devices were not recognized.
2020-04-09 15:17:46 +02:00
Jan Böhmer
919e40e1a8 Don't add strange looking space in full name if a user does not have an first or last name. 2020-04-08 16:18:53 +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
eb9b24d5d7 Fixed inspection issues. 2020-03-29 22:47:25 +02:00
Jan Böhmer
ea302ded91 Fixed PHPstan issues. 2020-03-29 15:59:00 +02:00
Jan Böhmer
f8af23b92b Implemented permission system for part parameters. 2020-03-26 13:09:25 +01: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
8a61b465d0 Check permissions for time travel and element undo. 2020-03-07 20:49:52 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
743423432e Mark usernames with @. 2020-02-06 19:27:24 +01:00
Jan Böhmer
96d7e4c9f4 Fixed inspection issues. 2020-02-02 14:05: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
da72f5b3ec Fixed PHPstan issues for level 5. 2020-02-01 19:42:28 +01:00
Jan Böhmer
f2ff77a8b3 Fixed coding style. 2020-02-01 16:17:20 +01:00
Jan Böhmer
fcd9291f7f Enforce a meaningful username format. 2020-01-08 20:57:46 +01:00
Jan Böhmer
fc8ab93752 Fixed missing invalidation of user tree views. 2020-01-08 20:50:37 +01:00
Jan Böhmer
3a081b6413 Fixed strict_types exception in PermissionEmbed. 2020-01-08 20:34:35 +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
1aed1d1d26 Fixed some inspection issues. 2020-01-04 20:14:42 +01:00
Jan Böhmer
84cb5acf6a Restrict keyhandle length to 64 chars to ensure compatibility with some older MySQL versions. 2020-01-01 16:12:15 +01:00
Jan Böhmer
cdd5027ee8 Redirect user if it need to add an 2FA method or need to change password 2019-12-31 17:54:51 +01:00
Jan Böhmer
b5e80ec1b7 Prefer U2F as 2FA method if it is available. 2019-12-29 17:36:41 +01:00
Jan Böhmer
3e56352688 Added the possibility to delete a U2F key. 2019-12-29 16:20:09 +01:00
Jan Böhmer
069293a843 Added 2FA with U2F keys. 2019-12-29 13:35:30 +01:00
Jan Böhmer
604ebe420d Added possibility to show backup codes in user settings. 2019-12-27 18:21:12 +01:00
Jan Böhmer
fba5f9794f Added an service for generating Backup codes and added some tests. 2019-12-27 15:20:06 +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
6a0d027675 Added an mechanism to reset passwords via mail. 2019-11-24 22:49:22 +01:00
Jan Böhmer
6ddc937ec5 Fixed some inspection issues. 2019-11-10 14:00:56 +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
89258bc102 Added some tests for important entity methods. 2019-11-09 00:31:42 +01:00
Jan Böhmer
787e498586 Updated copyright headers. 2019-11-01 13:40:30 +01:00
Jan Böhmer
2187f5eac2 Allow to disable a user in admin settings.
When a user is disabled, he can not login.
2019-10-26 23:22:27 +02:00
Jan Böhmer
dd1dc54d97 Test the admin pages, if read/list/delete is working. 2019-10-26 22:27:04 +02:00
Jan Böhmer
0b69de332d Implemented different themes for Part-DB.
We use Bootswatch to provide different themed bootstrap CSS.
2019-10-13 17:48:18 +02:00
Jan Böhmer
eb1d8fd4e4 Added possibility to add/edit attachments on Admin pages. 2019-09-24 18:28:35 +02:00