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
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
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
fb91d98d13
Added localized type name for BOMEntry to fix an exception
2022-12-29 13:18:19 +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
d5b1c6be0a
Added simple info page for projects
2022-12-18 21:58:21 +01:00
Jan Böhmer
855b3070bb
Fix exception when creating an attachment without an file.,
2022-12-18 20:55:50 +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
c6f1758a18
Fixed static analysis
2022-12-18 18:14:48 +01:00
Jan Böhmer
14bbe3d6d6
Rename unsafe file extensions of attachments to prevent XSS and server side code injection.
2022-12-18 18:11:44 +01:00
Jan Böhmer
a4eae19a1f
Improved organisation of Services
2022-12-18 17:28:42 +01:00
Jan Böhmer
fc829b7183
Round average price to prevent exceptions.
...
This fixes issue #113 .
2022-12-11 15:42:59 +01:00
Jan Böhmer
7235cb72b4
Really use euro as base currency when querying exchange rates, so we can use the configuration-free ECB provider
...
This should fixes issue #154 .
2022-12-11 15:33:50 +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
c3f4e61e41
Removed the useless margin below the description text in Parts table
...
This fixes issue #192
2022-11-29 00:29:53 +01:00
Jan Böhmer
6ce6b97b1e
Allow to change needs review status using parts multiselect action
2022-11-29 00:18:11 +01:00
Jan Böhmer
d69418bb9d
Add labelprofile and devices read permission to readonly preset
2022-11-27 20:37:05 +01:00
Jan Böhmer
df11f62a2f
Fixed PHPstan issues
2022-11-27 16:53:44 +01:00
Jan Böhmer
960dbdf6f6
Fixed permissions fixtures loading.
2022-11-27 16:11:20 +01:00
Jan Böhmer
a3aa8ec2ef
Fixed error with loading the permissions.yaml file caused by moving of PermissionManager
2022-11-14 23:32:28 +01:00
Jan Böhmer
b0c027f805
Renamed PermissionResolver service to PermissionService
2022-11-14 20:15:06 +01:00
Jan Böhmer
c5434ba842
Moved PasswordResetManager into Services\UserSystem namespace
2022-11-14 20:04:07 +01:00
Jan Böhmer
1e106a3da1
Moved TwoFactor services into Services\UserSystem namespace
2022-11-14 20:02:58 +01:00
Jan Böhmer
1de88e0494
Added various useful presets for permissions
2022-11-14 00:02:37 +01:00
Jan Böhmer
63a1855eb6
If a user can view parts, he is also allowed to view any subsequent datastructures.
...
Otherwise it is really difficult to implement permission correct part viewing.
2022-11-13 18:18:08 +01:00
Jan Böhmer
06ae136bae
Hide "Show all entry" in tools sidebar if user does not have permissions to view parts.
2022-11-06 01:09:41 +01:00
Jan Böhmer
34fbcec00f
Added an page to view infos about the server (Part-DB, PHP and DB config
2022-11-06 01:07:10 +01:00
Jan Böhmer
a30b67e328
Allow to change all permissions at once via the console command.
2022-11-05 23:20:26 +01:00
Jan Böhmer
3e85fc4d42
Improved access control for part lists.
2022-10-31 23:10:21 +01:00
Jan Böhmer
d0f7949bc9
Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints)
2022-10-31 22:47:45 +01:00
Jan Böhmer
10a035fcea
Reset the permissions of the admin user.
2022-10-31 21:54:46 +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
04d89b38b2
Allow null value during decoding of datetimes when time traveling
...
This should fix some exceptions occuring when viewing historic states of a part.
2022-10-09 20:52:52 +02:00
Jan Böhmer
9c688e22dc
Allow to delete Webauthn Keys
2022-10-04 00:16:10 +02:00
Jan Böhmer
86c580f835
Fixed static analysis issue
2022-09-25 02:14:28 +02:00
Jan Böhmer
4c25e85a48
Automatically update the sidebar trees for all users if the trees are changed somehow.
2022-09-25 02:08:54 +02:00
Jan Böhmer
2bd41eee60
Fixed an exception related during undeletion of elements.
2022-09-25 01:14:07 +02:00
Jan Böhmer
3d61e04e5b
Added placeholders to insert Barcodes into labels without using the predefined templates.
2022-09-25 00:34:44 +02:00
Jan Böhmer
c2c768b151
Fixed some exceptions introduced earlier.
2022-09-21 12:31:32 +02:00
Jan Böhmer
58ada496e4
Fixed static analysis issues.
2022-09-18 23:44:44 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
a9e527ce2a
Refactored TwigExtensions Part 2
2022-09-18 17:50:25 +02:00
Jan Böhmer
b078389381
Refactored TwigExtensions Part 1
2022-09-18 16:45:12 +02:00