Commit graph

363 commits

Author SHA1 Message Date
Jan Böhmer
ba5ae35809 Fixed some inspection issues 2023-02-05 03:01:25 +01:00
Jan Böhmer
3c3a03a179 Use new ValidTheme constraint on theme field.
The old choice constraint needed an const, which is not available anymore, as you can configure the themes via parameters
2023-02-01 23:50:54 +01:00
Jan Böhmer
08c97282a3 Allow to configure which themes should be available via parameters.yaml 2023-02-01 23:15:02 +01:00
Jan Böhmer
489b3e2c21 Use webpack entrypoints for bootstrap and bootswatch themes
This allows us to utilize the webpack versioning mechanism, to avoid display issues, when upgrading bootstrap
2023-02-01 22:58:39 +01:00
Jan Böhmer
60446edd68 Fixed possibility to create nested structure from the part edit page 2023-01-30 22:29:20 +01:00
Jan Böhmer
5bf68632c3 Use MPN instead of part name for auto product URLs if available
Implements issue #93
2023-01-28 23:31:06 +01:00
Jan Böhmer
07f95bc6ea Added possibility to create nested structures of elements using Mass Import 2023-01-28 23:24:45 +01:00
Jan Böhmer
22950f2476 Validate that a parts name fullfills the regular expression set in a category 2023-01-28 21:36:19 +01:00
Jan Böhmer
76ec63e760 Added a tab "Build" to project info page, where you can see how often you can build this project. 2023-01-18 23:07:51 +01:00
Jan Böhmer
cad1206175 Fixed phpunit tests 2023-01-08 22:44:32 +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
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
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
0e56f11b6b Added an mechanism to upgrade permissions schema (manually by calling a program) 2023-01-08 00:15:35 +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
ef6d30e04b Ensure that a project BOM includes the build parts of its subprojects 2022-12-29 17:52:13 +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
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
a3ee51e76b Improved styling of the BOM edit 2022-12-27 13:03:19 +01:00
Jan Böhmer
b83b55b8d4 Added some constraints and validations to the BOM entries. 2022-12-26 13:57:11 +01:00
Jan Böhmer
c78bc01d23 Added very basic controls to edit a projects BOM 2022-12-23 13:12:22 +01:00
Jan Böhmer
b074095038 Fixed inconsistent DB mapping definition 2022-12-23 12:27:41 +01:00
Jan Böhmer
7f38095e82 Added a part info tab to show in which projects the part is used. 2022-12-18 23:58:04 +01:00
Jan Böhmer
d5b1c6be0a Added simple info page for projects 2022-12-18 21:58:21 +01:00
Jan Böhmer
0c7ec9f0c7 Added some basic DB fields for the new project system 2022-12-18 20:34:25 +01:00
Jan Böhmer
8ae4e9fe05 Fixed some inspection issues 2022-12-18 19:45:04 +01:00
Jan Böhmer
a0f934169c Allow to delete users while keeping log entries. 2022-12-17 00:25:54 +01:00
Jan Böhmer
b1d359f538 Added internal part number field to parts 2022-12-04 02:28:47 +01:00
Jan Böhmer
81abf36867 Allow to undelete attachments and parameters
Before they were just mapped to the abstract base class, which is not instantiable. Now we properly map them to the correct sub class and no error occurs.
2022-11-30 23:49:27 +01:00
Jan Böhmer
68462185ba Removed old GPLv2 copyright header 2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583 Added copyright/license info to files 2022-11-29 21:21:26 +01:00
Jan Böhmer
bd12185b44 Show expired lot sum in parts table in parenthesis 2022-11-28 23:59:01 +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
1c12174cd9 Fixed new permission migration for SQLite 2022-11-14 23:21:49 +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
1de88e0494 Added various useful presets for permissions 2022-11-14 00:02:37 +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
33f8d2ba9e Merge branch 'master' into permission_rework 2022-10-30 17:35:57 +01:00
Jan Böhmer
6051c86521 Fixed exception while login 2022-10-09 22:09:43 +02:00
Jan Böhmer
0b83d0a0b0 Allow to unset the group of a user
Fetch EAGER seems to be buggy here, so fetch the group lazily
2022-10-09 21:50:56 +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
8fe01cf240 Prefer webauthn tfa over google auth if enabled. 2022-10-05 22:32:01 +02:00
Jan Böhmer
c1cb045960 Fixed static analyis issues 2022-10-05 21:59:42 +02:00
Jan Böhmer
ac978abe1d Allow to register Webauthn Keys 2022-10-04 00:08:58 +02:00