Commit graph

75 commits

Author SHA1 Message Date
Jan Böhmer
164efb0551 Fixed phpstan error with NodesListBuilder 2024-12-29 13:14:00 +01:00
Jan Böhmer
a37b8cbb15 Fixed introduced bug in node flattening 2024-12-28 23:19:55 +01:00
Jan Böhmer
946032a101 Fixed phpstan analysis issues and bad code that showed up with phpstan 2.0 2024-12-28 23:08:08 +01:00
Jan Böhmer
235d572f8c Use DatetimeImmutable instead of DateTime wherever possible 2024-06-22 17:36:54 +02:00
Jan Böhmer
d49bb1f4b5 Removed unused import statements 2024-03-03 20:34:36 +01:00
Jan Böhmer
42e604245c Fixed some inspection issues 2024-03-03 19:57:31 +01:00
Jan Böhmer
2b65926865 Cache the sidebar trees to save some database calls 2024-02-25 00:48:15 +01:00
Jan Böhmer
8b8079a6f1 Fixed deprecations 2023-12-05 21:55:20 +01:00
Jan Böhmer
b7af08503c Refactored cache tags and invalidation 2023-11-29 20:49:16 +01:00
Jan Böhmer
0af5a58dbe Renamed Storelocation entity to StorageLocation 2023-09-04 22:57:40 +02:00
Jan Böhmer
b5c0f37f88 Fixed exception on visiting certain group edit pages.
This fixes issue #340
2023-08-01 15:06:57 +02:00
Jan Böhmer
1ec4266f96 Fixed sorting for element choice type and added tests 2023-07-23 01:01:29 +02:00
Jan Böhmer
cd80552ce7 Fixed PHPstan issues 2023-07-23 00:14:29 +02:00
Jan Böhmer
8ce5f4a796 Do not cache entities directly in NodesListBuilder but cache only the IDs instead
Otherwise the doctrine proxies break, and we get issues with loading the preview_images in structural Elements.
2023-07-20 23:20:46 +02:00
Jan Böhmer
b3b205cd6e Added permissions to control access to info providers and oauth tokens 2023-07-16 20:33:24 +02:00
Jan Böhmer
e032f6b33d Use root node of sidebar trees as link to link to all parts list 2023-07-03 00:34:37 +02:00
Jan Böhmer
b7c8ca2a48 Improved typing and phpdoc type annotations 2023-06-18 15:37:42 +02:00
Jan Böhmer
6a2ff9d153 Added declare strict types to all files 2023-06-11 18:59:07 +02:00
Jan Böhmer
684334ba22 Improved code style of tests 2023-06-11 15:02:59 +02:00
Jan Böhmer
5629215ce4 Use imports instead of FQNs 2023-06-11 15:00:28 +02:00
Jan Böhmer
7ee01d9a05 Applied rector with PHP8.1 migration rules 2023-06-11 14:17:19 +02:00
Jan Böhmer
a43af180a7 Applied rector rules up to symfony 6.2 2023-05-28 01:21:05 +02:00
Jan Böhmer
1dbf36b86b Use str_contains and similar instead of strpos 2023-05-27 23:58:28 +02:00
Jan Böhmer
d04d743520 Fixed typos 2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369 Removed unused imports 2023-04-15 22:27:19 +02:00
Jan Böhmer
29d1d49aca Fixed some more inspection issues 2023-04-15 22:05:29 +02:00
Jan Böhmer
5f5541ca12 Added UserSelectType and allow to set owner of a storage location 2023-04-02 21:50:22 +02:00
Jan Böhmer
9ac8098f15 Deny access to part import tool without permission and added to tools menu 2023-03-13 22:02:55 +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
7b536fc4ad Renamed device_* routes to project_* routes 2023-01-08 23:07:25 +01:00
Jan Böhmer
513e7f3851 Use name "project" instead of "device" everywhere in the frontend 2023-01-08 19:36:56 +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
a4eae19a1f Improved organisation of Services 2022-12-18 17:28:42 +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
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
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
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
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
0d0a04c36f Fixed static analysis issues. 2022-09-11 19:14:16 +02:00
Jan Böhmer
c9151c65ba Implemented a filter constraint for entities 2022-08-21 01:34:17 +02:00
Jan Böhmer
639829f5c5 Fixed some inspection issues. 2022-08-14 19:32:53 +02:00
Jan Böhmer
730e18748c Show icons in tools menu 2022-08-13 02:40:43 +02:00
Jan Böhmer
18f41e14e6 Show icons in the root node in sidebar treeviews. 2022-08-13 02:18:32 +02:00
Jan Böhmer
90da7d71b9 Use the entity names as root name text instead of the generic "root node" 2022-08-13 01:53:43 +02:00