Jan Böhmer
b9c3358f7f
Use a doctrine entity for storing the settings
2025-07-06 22:15:48 +02:00
Jan Böhmer
dc81a5b361
Moved SHOW_PART_IMAGE_OVERLAY to settings-bundle
2025-07-06 21:53:06 +02:00
Jan Böhmer
a4f2a7a7df
Moved fixer API config to settings bundle
2025-07-06 21:42:58 +02:00
Jan Böhmer
c0c847c5be
Moved octopart / nexar integration configuration to the new settings system
2025-07-06 20:18:14 +02:00
Jan Böhmer
1dbcff66d1
Moved digikey IPS configuration to new settings system
2025-07-06 19:32:55 +02:00
Jan Böhmer
9812671a89
Merge master into settings-bundle
2025-07-06 19:05:22 +02:00
d-buchmann
00a74ed96a
Add env option to disable part image overlay ( #960 )
...
Build assets artifact / Build assets artifact (push) Has been cancelled
Docker Image Build / docker (push) Has been cancelled
Docker Image Build (FrankenPHP) / docker (push) Has been cancelled
Static analysis / Static analysis (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, mysql) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, postgres) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.1, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.2, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.3, sqlite) (push) Has been cancelled
PHPUnit Tests / PHPUnit and coverage Test (PHP 8.4, sqlite) (push) Has been cancelled
* Add env option to disable part image overlay
Fixes #369 while preserving the state as-is
* Added documentation and use 1 instead of true for new env
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de>
2025-07-02 22:31:13 +02:00
Jan Böhmer
442457f11b
Merge branch 'master' into settings-bundle
2025-06-15 18:39:49 +02:00
Jan Böhmer
42cb590c75
Fixed deprecations with api platform
2025-02-22 19:35:49 +01:00
Jan Böhmer
3247a97217
Removed "All" page length option for log tables, as this easily causes an out of memory situation on the server
...
You can easily have thousands of log entries, making it impossible to view them all at once.
This fixes #835
2025-02-01 23:44:07 +01:00
Jan Böhmer
97aed847b6
Updated dependencies
2025-01-18 22:21:58 +01:00
Jan Böhmer
8750573724
Merge branch 'master' into settings-bundle
2025-01-17 22:06:18 +01:00
Jan Böhmer
8826ba6729
Fixed CSP rules to allow the WASM loading for the barcode scanner
2025-01-04 18:23:57 +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
7530e62dfa
Do not format error messages as JSON, this makes log files easier to read and reduces line length which can makes problems on FPM
...
See issue #781
2024-12-01 22:33:32 +01:00
Sam Edwards
65b2f045ac
Responsive tweaks ( #755 )
...
* Change datatables markup to be responsive with BS5
* Responsive tweaks to single part info
2024-11-03 23:14:52 +01:00
Jan Böhmer
283a445198
Use jbtronics/translation-editor bundle instead of php-translation/symfony-bundle for profiler translation editing
...
This new bundle has less dependencies and less overhead
2024-09-08 20:03:33 +02:00
Jan Böhmer
0dbf417866
Moved part table default column definiton to settings UI
2024-08-21 22:02:56 +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
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
f88584e1ca
Allow to configure the global theme using the WebUI
2024-06-24 21:40:37 +02:00
Jan Böhmer
3e657a7cac
Merge branch 'master' into settings-bundle
2024-06-24 21:15:14 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
8c45a40f9e
Explicitly configure some deprecated configuration options
2024-06-19 23:47:38 +02:00
Jan Böhmer
0a482da93e
Use postgres native array_position function instead of our FIELD function and pass it as array literal instead of variadic function
...
Otherwise we will run into errors, that we can not give more than 100 arguments to a function
2024-06-17 23:13:04 +02:00
Jan Böhmer
9db822eabd
Use natural sorting for string datatables columns when using postgres
...
The natural sorting solution is quite portable, so this should be possible for other database types too later
2024-06-17 21:38:16 +02:00
Jan Böhmer
6e9b337b49
Fixed regex function for postgres
2024-06-13 23:18:25 +02:00
Jan Böhmer
c58ff5861d
Replaced the non standard IFNULL function which postgres does not know with the COALSCE function
2024-06-13 23:01:53 +02:00
Jan Böhmer
971bb92a8c
Fixed error caused by ArrayType fields which is required by the webauthn bundle but was removed in doctrine/orm 4.0
...
We simple forward port the ArrayType class from orm 3.8 to fix this error
2024-06-10 21:11:11 +02:00
Jan Böhmer
0772d85918
Use new settings system to configure the instance Name and homepage banner
2024-05-20 21:14:32 +02:00
Jan Böhmer
5a4b7c525b
Started working on moving info provider settings with jbtronics/settings-bundle
2024-04-29 22:59:56 +02:00
Jan Böhmer
8d816ab1ee
Updated recipes to update docker related files
2024-03-10 18:08:22 +01:00
Jan Böhmer
f0519ae0b3
Return a 401 message with an JSON encoded body, if no authentication header is passed for an API request.
...
Also for browser requests, a flash message is shown in that case, prompting the user to authenticate.
This follows a suggestion from issue #494
2024-01-25 23:35:42 +01:00
Jan Böhmer
60f8e754c2
Use the DEFAULT_URI setting for SAML base url instead of auto determining it.
...
This should fix issue #436
2023-12-10 22:52:59 +01:00
Jan Böhmer
d991643b0e
Removed deprecated google 2FA option
2023-12-05 22:07:48 +01:00
Jan Böhmer
1911c62edd
Upgraded DAMA doctrine test bundle
2023-12-03 23:58:19 +01:00
Jan Böhmer
fd645a0bce
Updated symfony-framework-bundle recipe
...
This removes the annotation reader services, which are not needed anymore
2023-12-03 23:04:35 +01:00
Jan Böhmer
abc554c7b8
Updated doctrine recipe
2023-12-03 22:44:55 +01:00
Jan Böhmer
07cc8a9534
Updated API platform recipe
2023-12-03 22:43:42 +01:00
Jan Böhmer
22f8448c65
Added an very basic API implementation for KICAD
2023-11-28 14:24:22 +01:00
Jan Böhmer
83d43d931c
Added a SAML_BEHIND_PROXY env, which must be set if Part-DB is behind a reverse proxy when using SAML
...
The php-saml library use its own logic to determine the current path, and we need to set the use_proxy_vars so that it respects the proxy FORWARDED headers.
This should fix issue #436
2023-11-25 01:45:08 +01:00
Jan Böhmer
7f612bc371
Added ability to view part relations on a part info page
2023-11-15 00:44:45 +01:00
Jan Böhmer
717a9fb0a3
Fixed API Platform deprecations
2023-10-25 20:40:41 +02:00
Jan Böhmer
aaf230fc58
Updated api platform recipe
2023-10-06 13:00:13 +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
915444b5da
Added documentation about pagination and property filter to API docs.
2023-09-18 13:02:45 +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
b9331ac1ef
Prevent indexing through search engines, if we are not in demo mode
2023-08-23 22:01:39 +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