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
Vedran Vekic
0f92a69b03
Rewrite LCSC datasheet URL ( #795 )
2024-12-10 14:32:23 +01:00
Jan Böhmer
e223078af9
Added a custom function to make PostgresSQL searches case insensitive
...
This is required only for postgres as every other database is case invariant by default. But to achieve a portable way, we implement it via a custom DQL function.
This fixes issue #784
2024-12-02 00:17:54 +01:00
Jan Böhmer
b1ba26e0b9
Allow usernames to contain @-signs as long as it is not at the begininng
...
This allows to use email addresses as usernames and fixes issue #772
2024-12-01 23:05:27 +01:00
Jan Böhmer
ca8ad760d7
Allow SAML users to access the API
...
This fixes issue #765 .
2024-12-01 22:54:22 +01:00
Jan Böhmer
baf8977578
Correctly handle IP addresses containing RFC 4007 scoping
2024-12-01 19:19:04 +01:00
Marc
76ebd22eab
Fixed Typos and mistranslations in GDPR mode (DSGVO Modus) ( #757 )
...
Fixed Typo enviroment
Co-authored-by: Marc Kreidler <kreidler@nedo.com>
2024-11-08 23:22:18 +01:00
Jan Böhmer
6225d2c9b3
Implemented an easy to use APIFilter for tags
...
This makes the process of filters more easily and intuitive. This fixes issue #750
2024-11-05 00:07:25 +01:00
Jan Böhmer
01fc6524a4
Added a aggregate function for storelocation sorting to avoid exceptions on Postgres
...
Actually this was not good on other DB types too, but they just ignored the problems.
This fixes issue #734
2024-11-04 23:46:45 +01:00
Jan Böhmer
484ba5ebd7
If user password set command is run in non-interactive mode, show a warning message if no password is inputted
...
Related to issue #748
2024-11-03 23:39:04 +01:00
Jan Böhmer
5e76451d46
Try to guess the character encodings and convert it to UTF-8 on importing
...
This should fix issue #749
2024-11-03 22:27:24 +01:00
Jan Böhmer
a873ad3316
Replace all unicode characters with ASCII chars in FilenameSanatizer to make filenames more sanatized
2024-11-03 22:06:42 +01:00
Jan Böhmer
7d834ac8d7
Include the query part of the request, when generating the url for the datatables via a custom twig function.
...
This fixes issue #735 , as without this the query gets not passed to the datatable
2024-10-16 23:57:02 +02:00
Jan Böhmer
0c47aa226c
Fixed imports of parameters on parts
...
It was missing the required serialization group. This fixes issue #718
2024-10-13 21:35:31 +02:00
Jan Böhmer
3d75bf5f9f
Added translation for the confirmation code field in the authenticator app 2FA setup section
2024-10-13 20:46:12 +02:00
Jan Böhmer
ccf67c0662
Added translation if authentication confirmation code is wrong
2024-10-13 20:35:56 +02:00
Jan Böhmer
ca116cae91
Keeep the segment annotations in the translation files, when editing them from inside the application
2024-10-13 20:30:56 +02:00
Jan Böhmer
a29d933f99
Fixed 2FA TOTP for non-admins, while also retaining validation of auth code
...
This fixes issue #717
2024-10-13 20:29:22 +02:00
Jan Böhmer
49acf3e0cf
Fixed problem preventing non-admins to add TOTP 2FA to their account
...
This was caused by the no-lockout constraint, which was accidentially triggered here
2024-10-13 20:13:03 +02:00
Jan Böhmer
f3c802bcff
Made parameter type fields wider to fit more digits
2024-09-09 21:36:05 +02:00
Jan Böhmer
574583bd6a
Do not round values of parameters, we can now use the full double precision
...
This fixes issue #681
2024-09-09 21:33:28 +02:00
Jan Böhmer
84c54d0b25
Removed NumberType fixes, as these is now part of the upstream symfony
2024-09-09 21:13:44 +02:00
Jan Böhmer
86d3f87694
[Digikey provider] Do not try to interpret certain parameters (like packages) as numbers
...
This fixes issue #682
2024-09-09 20:44:09 +02:00
Jan Böhmer
b4e8136618
Fixed problem with undeleting elements containing an embedded and propertly restore the infos of the embed
...
This fixes issue #685
2024-09-09 20:26:26 +02:00
Jan Böhmer
87a518703f
Escape spaces in unnwrapped urls to avoid invalid URLs
2024-09-09 16:23:12 +02:00
Jan Böhmer
dd03ca943d
Fixed phpstan issues
2024-09-09 14:52:18 +02:00
Jan Böhmer
6997861811
[OEMSecrets provider] Extract real URLs and remove tracking parts
2024-09-09 14:52:09 +02:00
Pasquale D'Orsi
1cc1530b20
OEMSecrets provider interface v.1.0 ( #679 )
...
* OEMSecrets provider interface v.1.0
New class for interacting with the OEMSecrets (https://www.oemsecrets.com ) API version 3.0.1.
* Refactored info provider to be stateless and independent from session, optimized Part-DB API usage, and fixed PHPStan issues.
Refactored info provider to be stateless and independent from session, now use Psr\Cache, fixed issues identified by PHPStan, additional minor enhancements and bug fixes.
* Prefix cache keys with oemsecrets_ to avoid key collissions
* Use uniqid with more entropy to reduce probability of collisions
* Made $resultData local as it is only used inside searchByKeyword
* Use the parameter name $id from interface declaration for getDetails to avoid problems with named arguments
* Use unicode modifier for preg_match to avoid problems when parameters contain non-unicode strings
* Various small code quality improvements
* Try to retrieve the part from the API in getDetails, if the DTO was not cached before
* Improved code formatting
* Channged OEMSecret default country to DE to be consistent with other default values
* Do not call gc_collect_cycles in the loop to process the results, but only after all processBatch calls
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2024-09-09 00:59:44 +02:00
Jan Böhmer
b99777cde1
Return a 404 message, instead of creating an 500 Runtime exception, when a file associated with an attachment is not existing.
...
This fails more gracefully, and do not pollute log files.
2024-08-24 15:49:45 +02:00
Jan Böhmer
8193e7a68e
Allow to show attachment IDs in attachment table
2024-08-24 15:48:50 +02:00
Jan Böhmer
7fc3153dde
Fixed filter logic for exclusion of entities. Before parts with null values as property value were wrongly not shown
...
This fixes issue #658
2024-08-23 22:58:04 +02:00
Jan Böhmer
5231dbd6e7
Remove project path in twig label error messages to prevent information leakage
2024-08-23 22:28:29 +02:00
Jan Böhmer
77671550a7
Fail gracefully, when an exception occurs during rendering of the example labels for label profiles
...
This fixes issue #671
2024-08-23 22:15:29 +02:00
Jan Böhmer
e231404128
Load HTMLExtension in SandboxedTwig, so that the data_uri filter can be used in twig labels
...
This fixes issue #665
2024-08-23 22:06:37 +02:00
Jan Böhmer
ad47c8d8ed
Allow to configure default table page length via Settings UI
2024-08-21 22:15:26 +02:00
Jan Böhmer
0dbf417866
Moved part table default column definiton to settings UI
2024-08-21 22:02:56 +02:00
frank-f
fd521acaa4
Update LCSCProvider field for real datasheet URL ( #670 )
2024-08-21 17:35:55 +02:00
Jan Böhmer
79da0518c2
Allow to configure sidebar menu via the new settings system
2024-08-07 00:41:06 +02:00
Jan Böhmer
5e512f8935
Migrated kicad category depth setting to new settings system
2024-08-04 19:18:20 +02:00
Jan Böhmer
99c10ffe85
Use icons for info provider settings
2024-08-04 18:52:49 +02:00
Jan Böhmer
47830dcd08
Allow to define icons for settings
2024-08-04 00:00:38 +02:00
Jan Böhmer
e9973af8f4
Fixed old usages of base_currency
2024-08-03 23:19:09 +02:00
Jan Böhmer
2ab2b7f77d
Moved default language, default timezone and base currency settings to new settings system
2024-08-03 23:14:29 +02:00
Jan Böhmer
d2406726c6
Merge branch 'master' into settings-bundle
2024-08-03 22:15:20 +02:00
Jan Böhmer
21c3c45150
Introduced a custom ExponentialNumberType for parameter values
...
This type shows small values in exponential notation instead of rounding it to zero.
2024-07-28 23:18:36 +02:00
Jan Böhmer
1aee0a91c0
Workaround symfonys issue with NumberType and negative exponential e-notation number
...
This fixes issue #649
2024-07-28 22:52:44 +02:00
Jan Böhmer
d6ff22fc44
Show in server info page which natural sorting method is used
...
This should ease debugging
2024-07-28 14:13:34 +02:00
Jan Böhmer
2ef46cdd34
Moved gravatar and update checking settings to the settings-bundle system
2024-07-16 21:58:41 +02:00
Jan Böhmer
5ab6a63492
Moved the "ENFORCE_CHANGE_COMMENTS_FOR" type to the HistorySettings class
2024-06-25 22:59:22 +02:00
Jan Böhmer
6df7bc5f2a
Made the magic strings of EventCommentHelper into an array
2024-06-25 22:29:04 +02:00