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
Jan Böhmer
eb46ea19e3
Make update checking mechanism more resilient against connection errors
2023-08-21 23:11:12 +02:00
Jan Böhmer
33a0981981
Added possibility to ignore the checks of withdraw amount when building projects
...
This fixes #349
2023-08-20 23:23:18 +02:00
Jan Böhmer
b62dc1241d
Fix parameter mapping on part creation dialog to fix add builds part
...
This fixes issue #348
2023-08-20 20:30:38 +02:00
Jan Böhmer
7b112512a9
Prevent that an administrator can lockout himself accidentally out of the user interface by using one of the permission presets
2023-08-20 12:42:56 +02:00
Jan Böhmer
0e5613b57b
Forbid access to homepage if a user has no allow permission
...
This allows to block access to everything (even the homepage) for anonymous access. This fixes issue #290
2023-08-20 12:33:08 +02:00
Jan Böhmer
73d61f7440
Fixed PartKeepr import for storagelocation attachments
...
This should fix issue #334
2023-08-19 23:52:22 +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
bcd41c4d9b
Added possibility to authenticate with the given API token
2023-08-16 00:13:01 +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
f5a15b23d6
Improved PartDB Info endpoint
2023-08-06 18:33:21 +02:00
Jan Böhmer
6d3b0261b3
Added first API endpoint
2023-08-06 00:42:34 +02:00
Jan Böhmer
a43ee52086
Fixed static analysis issues
2023-08-05 00:07:42 +02:00
Jan Böhmer
97ccb0cb21
Allow to globally disable update checking/connection with Github
2023-08-04 23:55:41 +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
b3153dac68
Fixed static analysis issue and added test for UserRepository
2023-08-01 16:20:31 +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
9bf814d4cd
Fixed error when StructuralEntityChoice type was used for non structural entities.
2023-08-01 15:14:32 +02:00