Commit graph

179 commits

Author SHA1 Message Date
Jan Böhmer
b5bc096972 Allow to to disable the saving of changed or deleted data.
Also it is possible to only save the information which fields were changed, not the data in it.
2020-02-23 21:04:16 +01:00
Jan Böhmer
2bc6a2be3c Show in log which fields were changed in a ElementEditedLogEntry. 2020-02-23 20:16:28 +01:00
Jan Böhmer
181e0f72ed Fixed entity export. 2020-02-23 19:45:06 +01:00
Jan Böhmer
b6f95ebe48 Allow to add a comment when editing/creating/deleting an element. 2020-02-23 00:44:52 +01:00
Jan Böhmer
fff1864a68 Merge branch 'master' into time_machine 2020-02-22 18:16:58 +01:00
Jan Böhmer
9e8771a4ee Changed license to AGPL3+ 2020-02-22 18:14:36 +01:00
Jan Böhmer
464a487a17 Added some simple time travel mechanism for part view.
In the moment it is not possible to show elements that were deleted.
2020-02-16 23:48:57 +01:00
Jan Böhmer
f79975832a Added an menu to show some simple statistics. 2020-02-10 23:26:45 +01:00
Jan Böhmer
743423432e Mark usernames with @. 2020-02-06 19:27:24 +01:00
Jan Böhmer
73c2aa232d Show the creating or last editing user in part or structure info. 2020-02-06 19:22:01 +01:00
Jan Böhmer
8a7b90d0ea Fixed exception in system log. 2020-02-06 14:03:25 +01:00
Jan Böhmer
eb071b1780 Log when elements are created, edited or removed. 2020-02-02 21:24:29 +01:00
Jan Böhmer
9f5a4ddf95 Fixed exception on log view. Added availability test for log view. 2020-02-02 19:58:55 +01:00
Jan Böhmer
96d7e4c9f4 Fixed inspection issues. 2020-02-02 14:05:36 +01:00
Jan Böhmer
6369ee2e61 Extracted some entity methods into contract interfaces. 2020-02-02 13:03:45 +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
dd1f806c4e Fixed some issues detected by PHPstan. 2020-02-01 17:00:03 +01:00
Jan Böhmer
f2ff77a8b3 Fixed coding style. 2020-02-01 16:17:20 +01:00
Jan Böhmer
bfa43e68a9 Add an entry to log, if the database is updated. 2020-01-26 21:31:48 +01:00
Jan Böhmer
d5f018a738 Added an database migration to improve the log schema. 2020-01-26 20:27:37 +01:00
Jan Böhmer
c8375bfa8b Add log entries on user login or logout. 2020-01-26 13:59:30 +01:00
Jan Böhmer
8b1eccc48d [Eventlog] Show extra data in log table. 2020-01-25 22:52:34 +01:00
Jan Böhmer
d0b3750594 Added an basic table to show log entries. 2020-01-24 22:57:04 +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
2f20d90041 Fixed code to be analysable by Symplfiy Code style set. 2020-01-05 22:32:19 +01:00
Jan Böhmer
fe0f69f762 Applied code style to tests/ 2020-01-05 15:55:16 +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
ad69c32832 Cache the trees structures for treeViews used in the sidebar. 2020-01-02 18:45:41 +01:00
Jan Böhmer
e16ae9390f Fixed tests. 2020-01-01 17:13:04 +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
b0fd346369 Use the right permission for minamount part field. 2019-11-15 19:02:11 +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
a0c3410db6 Centralized setElement logic for *Attachment entities. 2019-11-08 22:05:12 +01:00