Commit graph

3475 commits

Author SHA1 Message Date
Jan Böhmer
d34dbbbb38 Improved tests for project system 2023-01-08 23:22:53 +01:00
Jan Böhmer
de4c25ac0e Added info link to project edit page 2023-01-08 23:14:25 +01:00
Jan Böhmer
937f1ab38b Show master picture attachment in poject info page, when existing 2023-01-08 23:12:06 +01:00
Jan Böhmer
7b536fc4ad Renamed device_* routes to project_* routes 2023-01-08 23:07:25 +01:00
Jan Böhmer
1a3253b31a Fixed permission schema migration for PHP < 8.1 2023-01-08 22:53:32 +01:00
Jan Böhmer
cad1206175 Fixed phpunit tests 2023-01-08 22:44:32 +01:00
Jan Böhmer
011bda3600 Rename indices instead of dropping and creating them again
This should hopefully fix the failing migration on test action.
2023-01-08 22:05:06 +01:00
Jan Böhmer
751cdc603a Added comment to the element change log entries on permission schema change. 2023-01-08 20:14:23 +01:00
Jan Böhmer
7b6a906d98 Renamed "devices" permission to "projects" 2023-01-08 20:10:58 +01:00
Jan Böhmer
f2dfe12087 Use new label for ProjectBOMEntry 2023-01-08 19:40:56 +01:00
Jan Böhmer
513e7f3851 Use name "project" instead of "device" everywhere in the frontend 2023-01-08 19:36:56 +01:00
Jan Böhmer
897ea72bd0 Removed DEFAULT value for description on projects table as thats not supported on older MySQL version 2023-01-08 19:19:40 +01:00
Jan Böhmer
f618616379 Show BOM entries in projects history 2023-01-08 19:14:24 +01:00
Jan Böhmer
e423ef1e09 Only drop the legacy foreign key if migrated from legacy DB. 2023-01-08 18:57:56 +01:00
Jan Böhmer
257c67b6c1 Fixed static analysis issues. 2023-01-08 18:30:41 +01:00
Jan Böhmer
e679317b4b Added project system database schema for SQLite 2023-01-08 18:17:52 +01:00
Jan Böhmer
79db46b8e6 Renamed devices table to projects to have the same name as the entities. 2023-01-08 18:01:56 +01:00
Jan Böhmer
fb0c604edd Allow to filter for part stock changed events in system log 2023-01-08 01:48:03 +01:00
Jan Böhmer
137c6430b1 Write the stock change comment also in the elementEdited log entry 2023-01-08 01:45:34 +01:00
Jan Böhmer
5d6b7a9470 Improved the rendering of a part instock change log entry 2023-01-08 01:41:04 +01:00
Jan Böhmer
4c94d9c150 Write a special log entry to DB when a user withdraws/add/move parts stock 2023-01-08 01:22:02 +01:00
Jan Böhmer
b2157c93e3 Fixed an exception when upgrading permissions schemas when the user has no group 2023-01-08 01:21:09 +01:00
Jan Böhmer
ec9dcb7975 Undone a change needed for testing. 2023-01-08 00:36:11 +01:00
Jan Böhmer
7aa88a8dbd Automatically upgrade permission version schema in the background when needed on a request. 2023-01-08 00:35:43 +01:00
Jan Böhmer
0e56f11b6b Added an mechanism to upgrade permissions schema (manually by calling a program) 2023-01-08 00:15:35 +01:00
Jan Böhmer
60d5776cb7 Added permission to control if a user is allowed to withdraw/add/move parts 2023-01-07 21:23:36 +01:00
Jan Böhmer
89a4846259 Improved the backdrop removal of the modal after modal submission 2023-01-07 20:58:13 +01:00
Jan Böhmer
436aff7533 Improved user experience with part withdraw modal
Related to issue #201
2023-01-07 20:49:36 +01:00
Jan Böhmer
ba4085d882 Added a very basic modal on part info page for changing part instock
Related to issue #201
2023-01-01 13:21:50 +01:00
Jan Böhmer
0e020dab74 Added an price field to allow defining the price of non-part BOM entries 2022-12-31 18:57:36 +01:00
Jan Böhmer
f62937096f Moved doctrine custom type definitions to Doctrine\Types namespace 2022-12-31 18:42:56 +01:00
Jan Böhmer
e60f0f0571 Added attachments and parameters tab to Project info page 2022-12-31 14:45:16 +01:00
Jan Böhmer
2b1b86eb7e Added a subprojects tab to project info 2022-12-31 14:34:30 +01:00
Jan Böhmer
742b2d3d48 Improved project info page 2022-12-31 14:17:46 +01:00
Jan Böhmer
ef6d30e04b Ensure that a project BOM includes the build parts of its subprojects 2022-12-29 17:52:13 +01:00
Jan Böhmer
14e2e105e0 Fixed problem that it was not possible to changes a entities parent 2022-12-29 17:33:36 +01:00
Jan Böhmer
9aa6e714f2 Ensure that its own project builds part is not added to the project BOM 2022-12-29 17:33:28 +01:00
Jan Böhmer
3a60a9848f Fixed problem that it was not possible to changes a entities parent 2022-12-29 17:32:47 +01:00
Jan Böhmer
064f514281 Removed left over dump statement in template 2022-12-29 17:18:10 +01:00
Jan Böhmer
05c4adb928 Mark the special project build status in part info page and parts tables 2022-12-29 16:56:24 +01:00
Jan Böhmer
fdcd1b9d9d Added possibility to associate a part with a project that represents the builds of the project 2022-12-29 16:21:04 +01:00
Jan Böhmer
adc070d10c Added possibility to set project status 2022-12-29 15:22:34 +01:00
Jan Böhmer
5521995f79 Delete ProjectBOMEntry when the associated part is deleted 2022-12-29 13:27:33 +01:00
Jan Böhmer
fb91d98d13 Added localized type name for BOMEntry to fix an exception 2022-12-29 13:18:19 +01:00
Jan Böhmer
3f82d0967a Allow to add a part to a project from a parts info page 2022-12-29 13:15:26 +01:00
Jan Böhmer
bd20c40531 Do not use full urls when not needed, to prevent issues with SSL mixed content 2022-12-28 23:38:32 +01:00
Jan Böhmer
15677937a2 Do not use full urls when not needed, to prevent issues with SSL mixed content 2022-12-28 23:37:50 +01:00
Jan Böhmer
25494c9ddf Added a page to quickly add many parts to a project from parts lists. 2022-12-28 23:32:46 +01:00
Jan Böhmer
345fb0a3c1 Allow to open and close bom entry collapse even when newly added. 2022-12-28 23:15:43 +01:00
Jan Böhmer
39ed00c7c0 Fixed issue with removing the bom entries caused by the multiple collapse rows 2022-12-28 23:06:52 +01:00