Commit graph

349 commits

Author SHA1 Message Date
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
Jan Böhmer
068daeda75 Use jbtronics/2fa-webauthn for u2f two factor authentication 2022-10-03 23:09:50 +02:00
Jan Böhmer
ccc99eba0c Add database indices to improve performance (SQLITE) 2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a Add database indices to improve performance 2022-09-25 18:33:13 +02:00
Jan Böhmer
6a6ff152ab Fixed two factor authentication exception 2022-09-25 00:54:31 +02:00
Jan Böhmer
32638777d9 Show the number of parts with this element and all its child elements in Admin pages 2022-09-21 13:20:57 +02:00
Jan Böhmer
26cc4b4836 Fixed exception 2022-09-21 12:47:12 +02:00
Jan Böhmer
c2c768b151 Fixed some exceptions introduced earlier. 2022-09-21 12:31:32 +02:00
Jan Böhmer
8bc2c994d2 Removed ElementPermissionListener and ColumnSecurity annotationn 2022-09-18 23:38:01 +02:00
Jan Böhmer
51e05a8669 Use typed properties 2022-09-18 22:59:31 +02:00
Jan Böhmer
8338c0f2d6 Fix exception with AmountFormatter if Si prefix were enabled and no unit symbol were set.
Also this case is now prevented by Validator (as it is not very useful). Fixes issue #171.
2022-09-17 17:58:01 +02:00
Jan Böhmer
c7f5c23374 Implement a filter for Log Table (part 1) 2022-09-11 18:45:31 +02:00
Jan Böhmer
b0d29eaeaf Dont change the original collection when calling getOrderdetails with $hide_obsolete = true
This caused the orderdetails tab to be hidden on part info, when the orderdetail was obsolete
2022-09-08 00:35:39 +02:00
Jan Böhmer
9a7e47863b Added autocomplete for part parameters 2022-09-05 17:02:57 +02:00
Jan Böhmer
8e6bc25d2e Fixed some inspection issues. 2022-08-14 19:39:07 +02:00