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
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
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
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
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
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
f265b9d19d
Fixed PHPstan issues
2023-08-28 22:39:29 +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
8fe3f4cf5c
Added permissions to control access to API and manage API tokens
2023-08-26 22:57:50 +02:00
Jan Böhmer
35a0e8464a
Added possibility to list all available API keys at the user settings page
2023-08-19 23:19:21 +02:00
Jan Böhmer
040e86ea6d
Added API endpoint to get info about the API token currently used to authenticate the user
2023-08-17 00:36:25 +02:00
Jan Böhmer
8dad143f8d
Added own APIToken authenticator, so we can wrap the used API token inside the symfony security token
2023-08-17 00:17:02 +02:00
Jan Böhmer
3bc6e61869
Added very basic system to add API tokens to an user
2023-08-15 23:36:56 +02:00
Jan Böhmer
3486957447
Added endpoint for suppliers
2023-08-06 20:57:32 +02:00
Jan Böhmer
6b5c51bdc5
Improved schema infos of Manufacturer endpoints
2023-08-06 20:50:19 +02:00
Jan Böhmer
676c8eeefb
Added basic API to access and edit manufacturer entities
2023-08-06 20:18:57 +02:00
Jan Böhmer
1fb334b0ca
Show a notification on homepage and server info page if there is a new version available.
2023-08-04 23:49:26 +02:00
Jan Böhmer
c981476706
Use proper way of overriding doctrine attributes
...
In older versions doctrine allowed overriding attributes, by simply redifining them in subclasses. In 2.16 this throws an exception. We now use the proper way using the AttributeOverrides attribute
2023-08-01 15:55:21 +02:00
Jan Böhmer
0f336b6f89
Allow for longer manufacturer and supplier URLs
2023-07-31 00:00:57 +02:00
Jan Böhmer
6a00b8e168
Added possibility to manage client_credentials OAuth tokens
2023-07-30 15:24:46 +02:00
Jan Böhmer
15ba6572df
Try to detect if an external attachment is an image or not.
...
Before we assumed that it is a picture in all cases.
2023-07-29 18:50:18 +02:00
Jan Böhmer
d59b8817c3
Do not use fetch join, as even with the N+1 problem the queries are faster than with the very complex and slow expressions needed for the fetch Join pagination
2023-07-22 23:51:06 +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
2e8cb35acc
Use ManyToOne instead of OneToOne for master_picture_attachment like before
2023-07-20 21:54:13 +02:00
Jan Böhmer
2ddfe48aba
Do the doctrine definitions of the master preview attachment in the sub classes
...
This makes lazy fetching works and saves some db queries.
2023-07-19 22:49:40 +02:00
Jan Böhmer
87cf4c2d08
Do a extra lazy fetch on webauthn and u2f keys property of a user
...
In the most cases we just need the count of them and not the exact details. This just gives as a bit better performance on most requests
2023-07-19 00:20:38 +02:00
Jan Böhmer
3a8c5a788f
Fixed phpstan issues
2023-07-17 00:43:35 +02:00
Jan Böhmer
d10d29e590
Do not enable the create part from provider permission automatically
...
This allows users to create new datastructures, which is maybe not wanted. Besides it has to be configured first.
2023-07-17 00:20:38 +02:00
Jan Böhmer
f423fdf7f8
Fixed bug in DB schema, which prevented the creation of parts without info provider reference
2023-07-16 23:48:55 +02:00