Commit graph

194 commits

Author SHA1 Message Date
Jan Böhmer
3671c94844 Fixed code style. 2020-03-29 22:16:06 +02:00
Jan Böhmer
ea302ded91 Fixed PHPstan issues. 2020-03-29 15:59:00 +02:00
Jan Böhmer
88580aad79 Dont log that shipping costs or price has been changed when just saving a part.
Fixes issue #26
2020-03-28 19:30:57 +01:00
Jan Böhmer
7cf500279e Show part lots and orderdetails with a name in target column if it exists. 2020-03-28 18:55:02 +01: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
bc8748e6f4 Show parameters on info page & improved parameter editing. 2020-03-14 22:12:19 +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
a6e0f1738b Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
Jan Böhmer
a3c626d0ab Perform deep clone when cloning a part.
Fixes issue #25.
2020-03-08 18:56:00 +01:00
Jan Böhmer
b2f751644a Give user creation/deletions a NOTICE level. 2020-03-07 22:26: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
5a5d7b24be Allow to undo a change from event log. 2020-03-01 19:46:48 +01:00
Jan Böhmer
f604022e49 Allow to show collection elements that were deleted before by timetravel 2020-02-29 22:53:53 +01:00
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