Commit graph

386 commits

Author SHA1 Message Date
Jan Böhmer
342ed382e3 Properly mark the tinyint column with a comment, so that migrations can properly detect that no changes are needed 2023-04-09 00:04:13 +02:00
Jan Böhmer
29af14f588 Added an option to enforce log comments for certain actions
This implements issue #220
2023-04-08 20:43:19 +02:00
Jan Böhmer
66c1eff79f Generate WebP thumbnails even for builtin footprints 2023-04-01 18:43:57 +02:00
Jan Böhmer
4cb1313a77 Use WebP for thumbnails, this reduces the thumbnail size drastically (~ 50%) 2023-04-01 00:16:38 +02:00
Jan Böhmer
bd5ee837f4 Added permissions for importing data 2023-03-13 21:51:56 +01:00
Jan Böhmer
6230ad971b Merge branch 'keycloak' 2023-03-04 17:15:50 +01:00
Jan Böhmer
e0635f7ead Show maximum allowed file size below the upload field for attachments 2023-03-02 23:38:23 +01:00
Jan Böhmer
6fa5efc4ca Increased the maximum file size from 16M to 100M and make it configurable
This fixes issue #228
2023-03-02 23:08:14 +01:00
Jan Böhmer
5e85c52a57 Allow to automatically assign SAML users to a group based on SAML attributes 2023-02-27 23:47:42 +01:00
Jan Böhmer
99f04d71af Revert "Moved all user info updating logic into SAMLUserFactory"
This reverts commit 960ee342e4.
2023-02-27 22:28:23 +01:00
Jan Böhmer
960ee342e4 Moved all user info updating logic into SAMLUserFactory 2023-02-24 00:12:44 +01:00
Jan Böhmer
c831d57614 Added an console command to convert local to SAML users and vice versa 2023-02-23 23:36:40 +01:00
Jan Böhmer
c5904303e3 Allow to configure SAML via env variables 2023-02-22 00:50:51 +01:00
Jan Böhmer
586a57c2c9 Allow X500 attributes for user info and added some tests 2023-02-21 23:41:02 +01:00
Jan Böhmer
91fb861fd3 Use login form page to show error messages on Part-DB side 2023-02-21 23:11:16 +01:00
Jan Böhmer
78ec0f1ea3 Create a new DB user when somebody logs in using SAML 2023-02-20 23:04:20 +01:00
Jan Böhmer
c0b74d83a5 Started to work on interfacing with keycloak 2023-02-20 22:10:24 +01:00
Jan Böhmer
c75cdecbe8 Upgraded doctrine-bundle recipe 2023-02-11 22:27:51 +01:00
Jan Böhmer
03e52bf598 Added login rate throttling 2023-02-11 21:55:24 +01:00
Jan Böhmer
209c493732 Added some dataprocessors to monolog to add more context to error logs 2023-02-04 23:51:02 +01:00
Jan Böhmer
49d7a527f5 Renamed demo environment to docker 2023-02-04 23:40:24 +01:00
Jan Böhmer
1559b669df Renamed form/ templates folder to recommended snake_case style 2023-02-04 23:21:36 +01:00
Jan Böhmer
5696f32a04 Renamed security template folder to recommended snake_case style 2023-02-04 22:59:43 +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
2c03a6e683 Added an command to backup the data of Part-DB easily
This fixes issue #86.
2023-01-29 00:47:03 +01:00
Jan Böhmer
f2239e99d1 Allow to configure a lot more of options via env variables 2023-01-28 20:44:50 +01:00
Jan Böhmer
daba6edf5d Allow to edit user avatar via user admin page. 2023-01-23 23:58:11 +01:00
Jan Böhmer
97b87dee5f Show user avatar next to its name, in all possible locations 2023-01-23 23:01:57 +01:00
Jan Böhmer
29bce6f19f Use permissions presets as initial settings for group permissions during migration 2023-01-23 21:46:24 +01:00
Jan Böhmer
769850cec6 Added the IC logos tools from the old Part-DB version 2023-01-12 00:14:31 +01:00
Jan Böhmer
04b660d777 Finished builtin footprints viewer tool. 2023-01-09 23:40:54 +01:00
Jan Böhmer
7b6a906d98 Renamed "devices" permission to "projects" 2023-01-08 20:10:58 +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
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
f62937096f Moved doctrine custom type definitions to Doctrine\Types namespace 2022-12-31 18:42:56 +01:00
Jan Böhmer
a4eae19a1f Improved organisation of Services 2022-12-18 17:28:42 +01:00
Jan Böhmer
81328071f7 Cleaned up and reorganized projects CSS. 2022-12-11 23:05:22 +01:00
Jan Böhmer
2c8ef7165e Include stacktraces in heroku logging 2022-12-11 20:56:57 +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
dc81f8272e Use the new improved error messages on forms provided by symfoyn 2022-11-29 00:12:06 +01:00
Jan Böhmer
131e9a2850 Fixed service parameters 2022-11-14 20:07:20 +01:00
Jan Böhmer
5a1d4251f4 Regrouped permissions
Datastructures and the part permission are now together in the "data" permission group.
2022-11-14 19:59:18 +01:00
Jan Böhmer
cd60a81576 Improved translations 2022-11-14 19:54:21 +01:00
Jan Böhmer
ae4cb23b18 Removed timetravel permission
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +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
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
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