Commit graph

1601 commits

Author SHA1 Message Date
misaz
9d54001f89 added support for configuring columns in part table which are enabled by default as well as their order. 2023-10-04 21:14:57 +02:00
Jan Böhmer
ec4eccdf08 Removed unnecessary commented code 2023-10-04 00:50:28 +02:00
Jan Böhmer
64c38042a0 Added missing lastModified and creationDate fields to API response 2023-10-04 00:08:10 +02:00
Jan Böhmer
e09f60e71f Allow to filter attachments API response by attachment types 2023-10-03 23:58:41 +02:00
Jan Böhmer
0e75d76720 Added API endpoints for projects 2023-10-03 23:53:10 +02:00
Jan Böhmer
852624ae7e Added filter to filter parts by storage location 2023-10-03 21:59:33 +02:00
Jan Böhmer
00708608cd Added entity filter to filter part response by categories, etc. 2023-10-03 21:37:58 +02:00
Jan Böhmer
e339b7d9f0 Fixed issue with FixInheritanceMappingMetadataFactory 2023-10-03 20:47:37 +02:00
Jan Böhmer
2f958dafae Fixed PHPstan issues 2023-10-03 16:41:03 +02:00
Jan Böhmer
3df47ed748 Added filters to various endpoints to allow searching for parts 2023-10-03 16:29:04 +02:00
Jan Böhmer
c7a02ae870 Added tests for token API authentication 2023-10-02 23:36:14 +02:00
Jan Böhmer
42356cc2a3 Show the last 5 characters of the token secrets on the user settings page to make identification of a token easier 2023-10-02 00:45:21 +02:00
Jan Böhmer
b796ae36db Restrict access to users API endpoint 2023-10-02 00:35:11 +02:00
Jan Böhmer
7bd44484be Added documentation for virtual fields of Attachment and Part entity 2023-10-02 00:22:15 +02:00
Jan Böhmer
607bb45f5f Added an possibilty to document "virtual" properties to api documentation, which are added dynamically during the normalization priocess 2023-10-02 00:21:59 +02:00
Jan Böhmer
90518056cd Fixed JSONLD schema generation of API documentation 2023-10-01 22:45:39 +02:00
Jan Böhmer
0430178fe2 Fixed issue when the data is null. 2023-09-24 15:42:44 +02:00
Jan Böhmer
198befe2bc Allow to dynamically create elements with purely numeric names in a selector type
Before this was not possible, as this was messed up with the DB ids. Now we prefix the new created values with a special prefix, to mark them as new.

This fixes issue #381
2023-09-24 15:28:35 +02:00
Jan Böhmer
7195bd6cd6 Increased user avatar max file size from 2M to 5M 2023-09-24 14:46:51 +02:00
Jan Böhmer
a5fa2da80c Show the languages from the language selector as preffered in language select on user settings page 2023-09-24 14:45:12 +02:00
Jan Böhmer
ccb94c8a13 Fixed problem that all properties in snake_case style were considered readOnly by API Platform 2023-09-19 23:52:11 +02:00
Jan Böhmer
f285061a76 Allow to view and edit parameters of elements 2023-09-19 11:44:22 +02:00
Jan Böhmer
78a6262665 Fixed PHPstan issues 2023-09-19 00:00:25 +02:00
Jan Böhmer
34059ad99d Added API endpoints for attachment types 2023-09-18 23:46:42 +02:00
Jan Böhmer
87e881f8e0 Show attachments and preview image in API response 2023-09-18 23:38:06 +02:00
Jan Böhmer
1823bc6528 Added url to media file and thumbnail to attachments 2023-09-18 22:16:09 +02:00
Jan Böhmer
077beb37b1 Added endpoints for attachments 2023-09-18 21:57:17 +02:00
Jan Böhmer
8182e83846 Added some helper functions to make it easier to parse Pricedetails 2023-09-18 21:37:21 +02:00
Jan Böhmer
59f62d4a4c Show lots, order and pricedetails in part response 2023-09-18 21:31:55 +02:00
Jan Böhmer
d2144a1fed Added possibility to add a change comment to changes via the API 2023-09-18 13:24:33 +02:00
Jan Böhmer
6387c24c89 Added some documentation to the API 2023-09-18 12:48:16 +02:00
Jan Böhmer
f01ec9dbe4 Improved documentation of entity fields 2023-09-17 12:50:32 +02:00
Jan Böhmer
219fbe5fca Added API endpoints for orderdetails and pricedetails 2023-09-17 11:24:33 +02:00
Jan Böhmer
deec059a38 Merge branch 'master' into api 2023-09-17 10:32:25 +02:00
Jan Böhmer
4bed50d894 Allow database migration from legacy versions even if the perms_label column is missing in the groups table
This fixes issue #366 and #67
2023-09-09 23:04:50 +02:00
Jan Böhmer
4e57750214 Added endpoint for storage locations 2023-09-04 23:05:30 +02:00
Jan Böhmer
3738cb6025 Fixed error in paramater discriminator map 2023-09-04 23:01:54 +02:00
Jan Böhmer
0af5a58dbe Renamed Storelocation entity to StorageLocation 2023-09-04 22:57:40 +02:00
Jan Böhmer
09acca950d Added simple endpoint for basic part infos and partlots 2023-09-03 23:58:09 +02:00
Jan Böhmer
e04b635c98 Added API endpoints for more data structures 2023-09-03 17:15:18 +02:00
Jan Böhmer
17b49e7ae5 Added security to manufacturer and suppliers API endpoint 2023-08-28 23:46:55 +02:00
Jan Böhmer
7b6ba37667 Allow to cache support status of voters
This should increase the performance a bit
2023-08-28 23:06:37 +02:00
Jan Böhmer
f265b9d19d Fixed PHPstan issues 2023-08-28 22:39:29 +02:00
Jan Böhmer
6be55d1837 Use the new VoterHelper in voters 2023-08-28 22:00:25 +02:00
Jan Böhmer
fc6643bd6f Added system to restrict permissions based on API token level 2023-08-28 21:20:59 +02:00
Jan Böhmer
3e693642b6 Allow to delete API tokens 2023-08-26 23:19:35 +02:00
Jan Böhmer
8fe3f4cf5c Added permissions to control access to API and manage API tokens 2023-08-26 22:57:50 +02:00
Jan Böhmer
85f3ba6aaa Merge branch 'master' into api 2023-08-26 22:15:12 +02:00
Jan Böhmer
133652c296 Fixed PHPstan issues 2023-08-23 22:05:16 +02:00
Jan Böhmer
b9331ac1ef Prevent indexing through search engines, if we are not in demo mode 2023-08-23 22:01:39 +02:00