Commit graph

53 commits

Author SHA1 Message Date
Jan Böhmer
206bcebdb7 Forbid users to select dates after 2038 on 32-bit systems to prevent errors caused by Year2038 bug
See discussion #548 and #549
2024-03-09 00:11:00 +01:00
Jan Böhmer
20be83c345 Allow to configure the currency to get prices in for the LCSCProvider 2024-02-22 23:57:57 +01:00
Jan Böhmer
95ef97fcc2 Added possibility to enable/disable the LCSC provider 2024-02-22 23:32:12 +01:00
Jan Böhmer
631c364179 Added option to redirect https requests to http via Part-DB
This is especially useful for the heroku demo instance, where the webserver can not do the automatic redirect
2024-01-25 22:58:52 +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
57423436ce Added options to use MySQL connection via SSL 2023-12-10 00:36:29 +01:00
Jan Böhmer
6926f6b233 Allow to show all parts of all categories in a single KiCad category by setting EDA_KICAD_CATEGORY_DEPTH to -1 2023-12-03 15:03:00 +01:00
Jan Böhmer
459ae163da Restrict the depth of the category tree shown inside KiCAD to improve performance
The depth can be controlled via the EDA_KICAD_CATEGORY_DEPTH env
2023-12-03 14:42:33 +01:00
Jan Böhmer
18db20e511 Added the option env option to configure that all new attachment files should be downloaded by default 2023-11-26 23:44:02 +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
3953e36921 Include the ipv6 localhost in default TRUSTED_PROXIES
Related to issue #428
2023-11-11 23:22:30 +01:00
Jan Böhmer
3c5a96ba5c Merge branch 'part-table-columns-config' 2023-10-08 21:50:43 +02:00
Jan Böhmer
79262972aa Renamed config env to TABLE_PARTS_DEFAULT_COLUMNS and updated documentation 2023-10-08 21:28:37 +02:00
Jan Böhmer
18ae32f15a Renamed some env to match their purpose better 2023-10-08 00:33:48 +02:00
Jan Böhmer
33033bc5b1 Added the MouserProvider by @pdo59 2023-10-07 23:46:31 +02:00
Jan Böhmer
85f3ba6aaa Merge branch 'master' into api 2023-08-26 22:15:12 +02:00
Jan Böhmer
99ee05a90f Allow to configure update checking utility via env 2023-08-21 22:57:45 +02:00
Jan Böhmer
6d3b0261b3 Added first API endpoint 2023-08-06 00:42:34 +02:00
Jan Böhmer
aaff0835a3 Renmed SAMLP_SP_PRIVATE_KEY to SAML_SP_PRIVATE_KEY
Now it matches the documented value and follows the naming schema. The old env name is still valid, to maintain backwards compatibility.

Fixes issue #339
2023-08-01 15:31:40 +02:00
Jan Böhmer
f7cea1100c Allow to configure various options of the octopart provider 2023-07-31 00:57:33 +02:00
Jan Böhmer
7b61cb3163 Added more env variables to configure providers 2023-07-17 00:19:02 +02:00
Jan Böhmer
f8e299ec56 Added new env option to show all parts on a page by default
Related to discussion #312
2023-07-08 19:33:23 +02:00
Jan Böhmer
923e40ed8f Add the data after the change to a element edited log entry, so you can easily view the changes in log detail pages 2023-05-14 21:41:00 +02:00
Jan Böhmer
29af14f588 Added an option to enforce log comments for certain actions
This implements issue #220
2023-04-08 20:43:19 +02:00
Jan Böhmer
6230ad971b Merge branch 'keycloak' 2023-03-04 17:15:50 +01:00
Jan Böhmer
8fad743e85 Allow to select the priority of SAML role mapping based on the order in the configuration option 2023-03-04 16:52:17 +01:00
Jan Böhmer
6fa5efc4ca Increased the maximum file size from 16M to 100M and make it configurable
This fixes issue #228
2023-03-02 23:08:14 +01:00
Jan Böhmer
cb9433902c Added SAML configuration options to docs 2023-02-28 16:34:51 +01:00
Jan Böhmer
5e85c52a57 Allow to automatically assign SAML users to a group based on SAML attributes 2023-02-27 23:47:42 +01:00
Jan Böhmer
c5904303e3 Allow to configure SAML via env variables 2023-02-22 00:50:51 +01:00
Jan Böhmer
03e52bf598 Added login rate throttling 2023-02-11 21:55:24 +01:00
Jan Böhmer
5f6671a5aa Link to docs.part-db.de 2023-02-09 00:14:36 +01:00
Jan Böhmer
a8fe635cf5 Enable HISTORY_SAVE_CHANGED_DATA and HISTORY_SAVE_REMOVED_DATA by default 2023-02-04 23:53:07 +01:00
Jan Böhmer
f2239e99d1 Allow to configure a lot more of options via env variables 2023-01-28 20:44:50 +01:00
Jan Böhmer
a53d9ba08f Updated symfony/mailer recipe 2022-07-23 22:10:57 +02:00
Jan Böhmer
f827c8bb2b Updated recipe for symfony/flex 2022-07-23 22:10:25 +02:00
Jan Böhmer
d5d0c3e73a Updated symfony/phpunit-bridge recipe. 2021-10-02 21:04:31 +02:00
Jan Böhmer
74e4c4d0d1 Added support for SQLite. 2020-06-13 23:58:59 +02:00
Jan Böhmer
8a12b3abfe Allow to configure if user is allowed to download URLs via env vars. 2020-06-01 21:55:56 +02:00
Jan Böhmer
fbc1c32463 Updated recipe for framework-bundle. 2020-05-10 17:06:32 +02:00
Jan Böhmer
b5bc096972 Allow to to disable the saving of changed or deleted data.
Also it is possible to only save the information which fields were changed, not the data in it.
2020-02-23 21:04:16 +01:00
Jan Böhmer
5d98e87e20 Updated recipes for symfony/framework-bundle. 2020-01-07 19:06:08 +01:00
Jan Böhmer
64cf8097bc Updated doctrine recipes. 2020-01-07 18:48:34 +01:00
Jan Böhmer
12b3107188 Added an setting to disable password reset mechanism.
By default the pw reset is disabled, when no email server is configured.
2019-12-01 12:48:59 +01:00
Jan Böhmer
6a0d027675 Added an mechanism to reset passwords via mail. 2019-11-24 22:49:22 +01:00
Jan Böhmer
89acf91fe6 Added an demo mode option, where the user password change dialog is disabled. 2019-10-20 00:01:06 +02:00
Jan Böhmer
896299bc4d Allow to specify homepage banner via ENV. Otherwise the content of the file config/banner.md is used. 2019-10-19 23:20:19 +02:00
Jan Böhmer
280b2d4427 Fixed some 404 errors when using Part-DB without URL rewriting.
Fixed problems with the ajaxUI. Also added an ENV option that RedirectController redirects you to index.php/en page version.
2019-10-03 00:45:02 +02:00
Jan Böhmer
568367b59e Added an console command for updating currency exchange rates. 2019-08-13 13:04:31 +02:00
Jan Böhmer
368645f0cb Added an environment for the demo
In this environment the exception are logged to stderr, so we can access it via heroku.
2019-08-10 17:20:23 +02:00