Commit graph

404 commits

Author SHA1 Message Date
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
Jan Böhmer
21ca1ffead Moved all console comands to the partdb: namespace 2022-08-04 21:49:16 +02:00
Jan Böhmer
529cf1dff1 Implemented a Content-Security-Policy which disallows external and inline scripts 2022-08-03 21:40:42 +02:00
Jan Böhmer
fdcfb95ac7 Remove FOS CKEditor bundle as we dont use it anymore
We now use our self-written elements with CKEDITOR5
2022-07-26 21:26:30 +02:00
Jan Böhmer
017170e2d6 Use symfonys included bootstrap 5 forms styling 2022-07-24 18:31:06 +02:00
Jan Böhmer
79a1715290 Merge branch 'master' into turbo 2022-07-24 01:26:22 +02:00
Jan Böhmer
c8c15fe67f Allow http_method_override again needed for deletion controllers
Fixes issue #149 and #146
2022-07-22 00:30:17 +02:00
Jan Böhmer
ca41df79ed Just enable the locales we really need in symfony framework.
This should improve performance a little bit.
2022-07-21 23:47:00 +02:00
Jan Böhmer
9cc4226726 Allow users to set trusted proxies for header override.
This should fix issue #145.
2022-07-17 22:47:30 +02:00
Jan Böhmer
f3680ea7de Parse markdown using stimulus controller. 2022-03-06 14:54:08 +01:00
Jan Böhmer
5cc5c53853 Automatic reload assets on when they change. 2022-03-04 20:19:43 +01:00
Jan Böhmer
27b8fbd5b2 Added symfony ux-turbo packages 2022-03-04 20:13:25 +01:00
Jan Böhmer
98e3a374ed Updated symfony/webpack-encore-bundle recipe 2022-03-04 19:32:04 +01:00
Jan Böhmer
89e1492132 Updated symfony/web-profiler-bundle recipe 2022-03-04 19:27:33 +01:00