Commit graph

267 commits

Author SHA1 Message Date
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
Jan Böhmer
f8aee65d9e Simplified the available permissions 2022-10-31 21:13:27 +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
ed87f81a69 Try to fix template loading issue on linux 2022-10-05 23:24: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
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
8bc2c994d2 Removed ElementPermissionListener and ColumnSecurity annotationn 2022-09-18 23:38:01 +02:00
Jan Böhmer
82a6ab1d4a Persist column visibility and ordering across requests and different parts tables. 2022-09-09 00:41:35 +02:00
Jan Böhmer
8f94a58c71 Allow to order and filter by the amount sum of parts. 2022-09-04 03:37:54 +02:00
Jan Böhmer
99b25fb293 Disable content security policy in development env, as symfony profiler uses a lot of inline js 2022-08-28 18:40:16 +02:00
Jan Böhmer
f9d945c4c7 Added the very basic foundations for a filter system 2022-08-15 01:01:27 +02:00
Jan Böhmer
eef26f7ae6 Use PUBLIC_ACCESS role instead of IS_AUTHENTICATED_ANONYMOUSLY role 2022-08-14 19:11:42 +02:00
Jan Böhmer
93d817db81 Use the new authenticator system introduced in symfony 5.1 2022-08-14 17:09:57 +02:00
Jan Böhmer
754926d4c8 Reenable r/u2f-two-factor-bundle 2022-08-14 00:36:00 +02:00
Jan Böhmer
600119276c Use the newer scheb/2fa bundle instead of scheb/two_factor_bundle
Currently the U2F auth is broken, as there is no plugin supporting it in the new system
2022-08-13 23:33:05 +02:00
Jan Böhmer
796dea33f2 Added an parameter to enable/disable the root node in the sidebar
Fixes issue #158
2022-08-13 01:46:53 +02:00
Jan Böhmer
e7fa1ebcb8 Added an parameter to decide, if the root tree node should be expanded or not
Related to issue #158, but it does not work due to a very buggy treeview...
2022-08-05 00:24:28 +02:00
Jan Böhmer
cb16819340 Allow to configure which tree panels are shown in the sidebar
Adresses issue #158
2022-08-04 23:13:43 +02:00