Jan Böhmer
93b04fbf94
Use nodejs 22 in docker images
2025-08-30 00:32:43 +02:00
Jan Böhmer
a2d94b54b1
Use PHP 8.4 in docker images
2025-08-30 00:31:50 +02:00
Jan Böhmer
1aedcc056f
Fixed (hopefully) frankenphp dockerfile
2025-08-30 00:30:54 +02:00
Jan Böhmer
2019f44395
Updated dependencies
2025-08-30 00:10:59 +02:00
Jan Böhmer
b217d3e4ef
Added info about the configuration of the info provider system
2025-08-30 00:08:29 +02:00
Jan Böhmer
e3125e3afb
Document system settings in getting_started guide
2025-08-29 23:33:35 +02:00
Jan Böhmer
d5c5c7c772
Added documentation about the censoring
2025-08-29 23:25:58 +02:00
Jan Böhmer
f945118827
Redact API keys overwritten via env variables to prevent leakage to undesired users
2025-08-29 23:24:42 +02:00
Jan Böhmer
ab811b1b7b
Updated debian installation guide
2025-08-29 00:12:01 +02:00
Jan Böhmer
1cd5d7b073
Updated configuration documentation
2025-08-28 23:59:39 +02:00
Jan Böhmer
c9576f0b08
Documented env migration command
2025-08-28 23:50:32 +02:00
Jan Böhmer
cbedb377ac
Added migration guide
2025-08-28 23:49:01 +02:00
Jan Böhmer
6340bdd677
Updated dependencies
2025-08-28 23:11:26 +02:00
Jan Böhmer
f41722c7eb
Merge remote-tracking branch 'origin/master' into v2
2025-08-28 23:04:46 +02:00
Jan Böhmer
b645c674bc
Added documentation on how to configure proxy internet access
...
Related to issue #1001
2025-08-28 23:04:14 +02:00
Jan Böhmer
e45a56c66a
Bump version from 1.17.3 to 1.17.4
2025-08-28 22:55:32 +02:00
Jan Böhmer
b4a7d18ace
Pass proxy env vars to symfony
2025-08-25 15:55:28 +02:00
Jan Böhmer
d70fe0fbaa
Improved styling of help text in settings forms
2025-08-24 23:42:39 +02:00
Jan Böhmer
48ff2494f6
Add settings form for remaining info providers
2025-08-24 23:35:31 +02:00
Jan Böhmer
ee33d743e6
Allow to associate settings forms with info providers
2025-08-24 23:32:58 +02:00
Jan Böhmer
eaaf44b391
Fixed disable logic and disable hints for info providers
2025-08-24 21:10:38 +02:00
Jan Böhmer
a48490ac1a
Show flash messages on saving settings
2025-08-24 21:01:07 +02:00
Jan Böhmer
cb63b3bde7
Set empty_data to null for APIKeyType
2025-08-24 20:54:04 +02:00
Jan Böhmer
f48791e961
Use a special form type for api key settings, that hide the api key by default as dots
2025-08-24 20:04:52 +02:00
Jan Böhmer
a75a60fecd
Use settings-bundle 3.0.0 to ensure cache invalidation on env var change
2025-08-24 19:33:26 +02:00
Jan Böhmer
ac89489202
Allow to override the banner with its existing env variable
2025-08-24 17:37:16 +02:00
Jan Böhmer
ae08d9539d
Fixed ckeditor loading
2025-08-24 12:35:14 +02:00
Jan Böhmer
275b695d6b
Use ajax_replace option for symfony debug toolbar instead of custom event subscriber
2025-08-24 12:24:08 +02:00
Jan Böhmer
d4d80de10f
Show a tooltip on which env needs to be set to override a certain settings parameter
2025-08-24 12:03:37 +02:00
Jan Böhmer
49ddb2938f
Updated dependencies
2025-08-24 11:33:35 +02:00
Jan Böhmer
7054c51490
Started documenting the upgrade process
2025-08-15 01:04:20 +02:00
Jan Böhmer
808af0d3cd
Fixed phpstan issue
2025-08-15 00:52:19 +02:00
Jan Böhmer
b14fc0e22a
Only use inline style for commonmark parser
2025-08-15 00:09:28 +02:00
Jan Böhmer
f7259a118b
Removed invalid reference to parsedown
2025-08-14 22:56:40 +02:00
Jan Böhmer
be60c4363c
Replaced parsedown with the newer league/commonmark library
2025-08-14 22:56:20 +02:00
Jan Böhmer
631db7df31
Fixed postgresql migrations
2025-08-14 22:37:40 +02:00
Jan Böhmer
781ea45633
Removed ArrayType which is not necessary anymore with the new webauthn lib
2025-08-14 18:47:17 +02:00
Jan Böhmer
0eee161630
Use new webauthn library for 2FA
2025-08-14 18:46:10 +02:00
Jan Böhmer
7a1b9b8ce1
Updated dependencies
2025-08-13 16:13:25 +02:00
Jan Böhmer
3fcb5ce82e
Merge branch 'master' into v2
2025-08-13 16:07:20 +02:00
Jan Böhmer
eb7aefb8c0
Bumped to version 1.17.3
2025-08-13 15:34:29 +02:00
Jan Böhmer
475cfe60f9
Fixed phpstan issue
2025-08-13 15:34:12 +02:00
Jan Böhmer
1e9a2e5382
Revert yarn dependencies update
2025-08-13 15:26:56 +02:00
Jan Böhmer
9eaf5042ec
Downgraded ckeditor-dev-utils to be compatible with node 18
2025-08-13 14:49:20 +02:00
Jan Böhmer
128b428644
Allow to use arrow style full-paths for mass creation of entities
...
This fixes issue #993
2025-08-13 14:37:13 +02:00
Jan Böhmer
23cd51c1ca
Updated dependencies
2025-08-12 23:34:06 +02:00
Jan Böhmer
d370f976a7
Return null instead of throwing an exception that could lead to a denial of service when trying to generate a thumbnail for a non-image picture
2025-08-12 23:29:24 +02:00
Jan Böhmer
247fed7d74
Fixed login CSFR token error
2025-08-04 23:50:25 +02:00
Jan Böhmer
c834058678
Updated to API Platform 4
2025-08-04 23:32:42 +02:00
Jan Böhmer
6c229ccb3a
Updated datatables bundle
2025-08-04 22:25:45 +02:00
Jan Böhmer
696eb8092a
Updated brick/math
2025-08-04 22:20:01 +02:00
Jan Böhmer
f9b85c3b85
Fixed deprecation on PHP8.4
...
Implements PR #970
2025-08-04 22:15:32 +02:00
Jan Böhmer
496df89e0b
Added configuration what should be reported for test coverage by phpunit
2025-08-03 22:04:45 +02:00
Jan Böhmer
58d4207b49
Fixed phpstan issues
2025-08-03 21:59:51 +02:00
Jan Böhmer
390736cf5a
Made bin/phpunit executable again
2025-08-03 21:48:38 +02:00
Jan Böhmer
fd090b8701
Use newer version of settings-bundle that should not fail anymore if the database does not exist during cache warmup
2025-08-03 21:43:56 +02:00
Jan Böhmer
286cd009de
Use node 20 in test runners
2025-08-03 21:23:26 +02:00
Jan Böhmer
1f384a6ab8
Removed Part-DB 8.1 runner on github
2025-08-03 21:21:42 +02:00
Jan Böhmer
883d38ecfc
Updated barcode-detector lib and wasm in background
2025-08-03 21:19:19 +02:00
Jan Böhmer
a691be6584
Updated datatables.net-select-bs5 plugin
2025-08-03 20:55:25 +02:00
Jan Böhmer
833a8c34f4
Updated stimulus-bridge
2025-08-03 20:51:35 +02:00
Jan Böhmer
9fde748fbe
Updated marked
2025-08-03 20:46:53 +02:00
Jan Böhmer
8c22ec46bc
Require nodejs 20.0 or later
2025-08-03 20:44:45 +02:00
Jan Böhmer
74cc8629f6
Upgrade fontawesome 6 -> 7
2025-08-03 20:40:03 +02:00
Jan Böhmer
fc3857aa67
Use greek special chars plugin for label editor
2025-08-03 20:24:56 +02:00
Jan Böhmer
db1b91fc32
Use ckeditors emoji picker instead of our own plugin
2025-08-03 20:22:00 +02:00
Jan Böhmer
e87720a838
Fixed CKEDITOR
2025-08-03 20:00:36 +02:00
Jan Böhmer
74fef78120
Updated ckeditor and use new mono package
2025-08-03 19:46:57 +02:00
Jan Böhmer
9eb8e33e09
Updated dependencies
2025-08-03 19:10:45 +02:00
Jan Böhmer
e2735823a0
Fixed tests for new PHPunit 11.5
2025-07-14 21:57:27 +02:00
Jan Böhmer
f3ad3c1ffe
Run phpunit code quality rector
2025-07-14 00:38:54 +02:00
Jan Böhmer
f215bd11cd
Updated rector config
2025-07-14 00:36:35 +02:00
Jan Böhmer
dc480f755c
Migrated phpunit annotations to attributes
2025-07-14 00:32:06 +02:00
Jan Böhmer
f1d34bbc24
Run rector
2025-07-14 00:26:40 +02:00
Jan Böhmer
6665203f2a
Updated rector config
2025-07-14 00:25:39 +02:00
Jan Böhmer
ce86863095
Updated dama doctrine-test bundle recipe
2025-07-14 00:16:01 +02:00
Jan Böhmer
e2bad9e9da
Updated phpunit recipe
2025-07-14 00:15:08 +02:00
Jan Böhmer
2cd2a481d9
Updated phpunit recipe
2025-07-14 00:06:44 +02:00
Jan Böhmer
78de2c5e03
Updated phpunit to 11.5
2025-07-14 00:05:44 +02:00
Jan Böhmer
dc25397469
Fixed PHPunit tests
2025-07-13 20:06:38 +02:00
Jan Böhmer
db810445fb
Updated phpunit recipe
2025-07-13 16:53:41 +02:00
Jan Böhmer
a3db52b184
Updated api-platform recipe
2025-07-13 16:52:26 +02:00
Jan Böhmer
7d96b2a611
Updated webpack-encore recipe
2025-07-13 16:51:10 +02:00
Jan Böhmer
50f4c01e99
Updated ux-turbo recipe
2025-07-13 16:46:41 +02:00
Jan Böhmer
0bc6d9986b
Updated stimulus-bundle
2025-07-13 16:44:10 +02:00
Jan Böhmer
d3c3fedac2
Updated routing recipe
2025-07-13 16:40:56 +02:00
Jan Böhmer
6137065b4e
Updated framework-bundle recipe
2025-07-13 16:40:14 +02:00
Jan Böhmer
a58fcd94dd
Updated translation recipe
2025-07-13 16:32:22 +02:00
Jan Böhmer
daec5aa4b1
Updated web-profiler-bundle recipe
2025-07-13 16:31:25 +02:00
Jan Böhmer
2819b457fa
Updated validator recipe
2025-07-13 16:30:11 +02:00
Jan Böhmer
1933234ed4
Updated symfony form recipe
2025-07-13 16:29:27 +02:00
Jan Böhmer
4e1bd486e8
Updated mailer recipe
2025-07-13 16:28:15 +02:00
Jan Böhmer
53889c7813
Updated recipe for property_info
2025-07-13 12:13:10 +02:00
Jan Böhmer
9a3794bc83
Updated uid recipe
2025-07-13 12:12:25 +02:00
Jan Böhmer
e5cf8550ee
Updated apache pack recipe
2025-07-13 12:11:50 +02:00
Jan Böhmer
5c4aa11b4b
Fixed problems with container injection into migrations
2025-07-12 23:39:26 +02:00
Jan Böhmer
1b86257836
Replaced the obsolete containerawareinterface with own implementation
2025-07-12 23:10:59 +02:00
Jan Böhmer
0f5fb992ef
Updated dependencies
2025-07-12 22:56:12 +02:00
Jan Böhmer
392740d79c
Updated nelmio/security-bundle recipe
2025-07-07 23:42:52 +02:00
Jan Böhmer
41108bd969
Updated doctrine-bundle recipe
2025-07-07 23:31:07 +02:00
Jan Böhmer
40a837b165
Updated doctrine/deprecations recipe
2025-07-07 23:29:06 +02:00
Jan Böhmer
7e6b931db4
Fixed code for symfony 7
2025-07-07 23:27:26 +02:00
Jan Böhmer
9eb825f89a
Bumped symfony to 7.3 and updated dependant bundles
2025-07-07 22:28:21 +02:00
Jan Böhmer
af87c1ae1d
Bumped minimal PHP version to 8.2
2025-07-07 22:15:36 +02:00
Jan Böhmer
18bf68cb6a
Use release versions of settings-bundle
2025-07-06 22:30:17 +02:00
Jan Böhmer
38c826713f
Check for permissions to access settings menu and added settings menu to sidebar menu
2025-07-06 22:29:35 +02:00
Jan Böhmer
b9c3358f7f
Use a doctrine entity for storing the settings
2025-07-06 22:15:48 +02:00
Jan Böhmer
2f2f4b2b3e
Allow to leave the enforceComments option empty
2025-07-06 22:08:10 +02:00
Jan Böhmer
423cdf6ca2
Set envVarMode to override everywhere
2025-07-06 22:00:46 +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
6e28f2a74e
Moved rootNodeRedirectsToNewEntity option to new settings system
2025-07-06 19:09:10 +02:00
Jan Böhmer
9812671a89
Merge master into settings-bundle
2025-07-06 19:05:22 +02:00
Jan Böhmer
8b417d6441
Bumped version to 1.17.2
2025-07-06 14:02:36 +02:00
Jan Böhmer
ff57b5b270
Fixed static analyis issue
2025-07-06 14:02:16 +02:00
Jan Böhmer
c00edef69c
Add fields parsable by KiCost to KiCad part info
2025-07-06 13:58:51 +02:00
Jan Böhmer
a235f05794
Do not update yarn dependencies to maintain compatibility with nodejs 18
2025-07-06 13:41:36 +02:00
Jan Böhmer
bd411ba13b
Revert "Downgrade minimatch to to still support nodejs 18"
...
This reverts commit f8bdbf1fde .
2025-07-06 13:40:47 +02:00
Jan Böhmer
f8bdbf1fde
Downgrade minimatch to to still support nodejs 18
2025-07-06 13:24:03 +02:00
Blaž Aristovnik
beea572c47
Add supplier information to KiCad part exports ( #955 )
...
* Add supplier information to KiCad part exports
- Include supplier name and part numbers from order details in KiCad exports
- Handle multiple suppliers with sequential numbering (Supplier 2, Supplier 3, etc.)
- Include both active and obsolete order details for comprehensive supplier info
- Add null checks to prevent errors when supplier or part number is missing
* Add SPN suffix to field name
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-07-06 13:12:04 +02:00
Jan Böhmer
442a7aa235
Updated dependencies
2025-07-06 00:43:02 +02:00
d-buchmann
2226b72d1c
Update AbstractParameter.php ( #959 )
...
* Update AbstractParameter.php
Make lazy null conditionals explicit.
Try to handle LaTeX special chars gracefully.
Fixes #958
* Only escape the percentage sign, so that you can still use latex for units
* Only escape previously unescaped percentage signs
* simplify regex
* Render the percentage sign correctly in units in the frontend.
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-07-06 00:20:29 +02:00
d-buchmann
00a74ed96a
Add env option to disable part image overlay ( #960 )
...
* 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
d-buchmann
699a5c935f
fix sidebar root node links ( #957 )
...
* fix sidebar root node links
link sidebar root nodes to their corresponding "new" route
* Use "Show all parts" for most root categories and started to make it configurable for the future
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-07-02 22:11:28 +02:00
Jan Böhmer
b2946aee0d
Moved pollin and reichelt info provider settings to new settings system
2025-06-22 20:08:27 +02:00
Jan Böhmer
beb079b825
Removed env variables of already implemented info provider settings
2025-06-15 22:33:31 +02:00
Jan Böhmer
64497c4c0d
Fixed phpstan issues
2025-06-15 22:30:23 +02:00
Jan Böhmer
70bbb47850
Fixed phpunit tests
2025-06-15 22:27:10 +02:00
Jan Böhmer
73253dd03c
Fixed dependencies
2025-06-15 18:46:39 +02:00
Jan Böhmer
442457f11b
Merge branch 'master' into settings-bundle
2025-06-15 18:39:49 +02:00
d-buchmann
c44535990b
Fix typo and copy-paste error ( #942 )
2025-05-23 18:09:56 +02:00
Jan Böhmer
b8d5b83eee
Bumped version 1.17.1
2025-05-18 22:54:26 +02:00
Jan Böhmer
00da2dedc3
Ignore phpstan issue
2025-05-18 22:54:03 +02:00
Jan Böhmer
4ce1de079e
Updated dependencies
2025-05-18 22:41:05 +02:00
Jan Böhmer
6b9c125de4
Added console command to sanitize SVG files
2025-05-18 22:38:43 +02:00
Jan Böhmer
2c4f44e808
Sanatize SVG files when uploading
2025-05-18 21:00:19 +02:00
Jan Böhmer
2b694731ad
Added content-security policy for SVG files in webserver config
2025-05-18 20:38:53 +02:00
Michael
7e34535e62
Added Datamatrix and C93 label twigs ( #931 )
...
* Added Datamatrix and C93 label twigs
* Added new barcode placeholders to ckeditor plugin
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-05-11 00:46:38 +02:00
Jan Böhmer
0bb831fe88
Updated dependencies
2025-05-11 00:33:29 +02:00
Jan Böhmer
42a32ce142
Merge remote-tracking branch 'origin/l10n_master'
2025-05-11 00:32:34 +02:00
Jan Böhmer
23f58b7bf4
New translations security.en.xlf (French)
2025-05-02 08:23:16 +02:00
Jan Böhmer
4e9101fded
New translations messages.en.xlf (Italian)
2025-03-30 19:01:21 +02:00
Jan Böhmer
9c700c77a8
New translations messages.en.xlf (English)
2025-03-30 17:21:15 +02:00
Jan Böhmer
cb1f674332
Removed now obsolete notice about requiring digikey v3 api in docs.
2025-03-30 16:24:33 +02:00
Jan Böhmer
6823d94ffb
New translations messages.en.xlf (English)
2025-03-30 16:21:19 +02:00
Jan Böhmer
60ab992360
Bumped to version 1.17.0
2025-03-30 16:06:47 +02:00
Jan Böhmer
f9e769a6e3
Fixed phpstan issue
2025-03-30 15:01:28 +02:00
Jan Böhmer
f802c6c176
Exclude automigration-backup folder from clean attachments folder
2025-03-30 14:50:52 +02:00
Jan Böhmer
dedadf0c10
Merge remote-tracking branch 'origin/master'
2025-03-30 14:47:53 +02:00
Jan Böhmer
c8375def1a
Added an database automigration feature to the docker image
2025-03-30 14:47:48 +02:00
Jan Böhmer
62ebcde2de
New Crowdin updates ( #899 )
...
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (German)
2025-03-30 14:23:21 +02:00
Jan Böhmer
594a5779dc
Specify that we mean a column in drop statement. This is more correct
...
This should help with more strict sql servers like in issue #900
2025-03-29 20:57:58 +01:00
Jan Böhmer
c0ef64fb64
Use updated version of translation-editor-bundle
2025-03-29 16:24:32 +01:00
Jan Böhmer
48c70c3bb4
Added way to batch edit the location of parts with a single stock
2025-03-29 16:21:10 +01:00
Jan Böhmer
68124a340b
Updated dependencies
2025-03-29 13:45:53 +01:00
Jan Böhmer
0b5003fcf6
We are in development of 1.17
2025-03-29 13:41:30 +01:00
Jan Böhmer
956ece60af
Added documentation for attachments download command
2025-03-29 13:35:29 +01:00
Jan Böhmer
53da45d7d7
Added command to download all external-only attachments to the local file system
2025-03-29 13:33:35 +01:00
Jan Böhmer
57f0432a87
Fixed typo in attachmentrepository
2025-03-29 12:52:43 +01:00
Jan Böhmer
fb535ec6f7
Added tests for latex formatted units
2025-03-29 12:37:17 +01:00
Jan Böhmer
4e1b1a4ffa
Render units of parameters in upstanding latex
...
Fixes issue #856
2025-03-29 12:33:18 +01:00
Jan Böhmer
5b111d80f1
Invalidate kicad category cache, when parts get changed, as this might affect the visibility of categories too
...
Related to #885
2025-03-29 12:01:26 +01:00
Jan Böhmer
03e1105a8e
Fixed phpstan issues
2025-03-27 23:11:49 +01:00
Jan Böhmer
059a9683db
Fixed problem that global_theme setting was not respected
...
This fixes issue #880
2025-03-27 21:47:52 +01:00
Jan Böhmer
1daf6f01f4
Fixed error 500 if internal attachment path was not resolvable to an URL
...
This fixes issue #898
2025-03-27 21:40:51 +01:00
Daniel Carrasco
d3b225771c
Modified the DigiKey Provider to works with the V4 API ( #875 )
...
* Modified the DigiKey Provider to works with the V4 API
* Correclty apply the MarketPlaceFilter option to digikey v4 API
* Show the packe type (Tape&Reel, Box, etc.) as footprint in digikey provider search
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-03-27 21:26:18 +01:00
Jan Böhmer
7275db27e7
Manually filter mouser search results to fix the edgecase, that the API returned multiple results for an exact part number
...
This fixes issue #888 and issue #616
2025-03-27 21:06:50 +01:00
Jan Böhmer
49ee9131d0
Use composer/ca-bundle instead of system CA for element14 provider
...
This is a workaround for debian systems, where the required root CA is missing as trusted CA in the system CAs. This fixes issue #891 and #866
2025-03-27 20:59:22 +01:00
Jan Böhmer
e75e0c4c0b
Add a link to the category part info as category description in KiCAD.
...
This also fixes issue #878
2025-03-27 20:34:32 +01:00
Jan Böhmer
e94d4a7752
Merge remote-tracking branch 'origin/l10n_master'
2025-03-23 19:52:02 +01:00
Jan Böhmer
95206f427d
We are in development of 1.16.2-dev now
2025-03-23 19:51:58 +01:00
Jan Böhmer
2d7f88522a
Improved attachment download compatibility
...
Added more headers to make it appear more like a browser request, and try to use TLS1.3, if we get a 403 (which is useful for digikey).
Commit cherry picked from @Treeed
2025-03-23 19:51:21 +01:00
Jan Böhmer
f5c17bc7c8
Fixed Pollin provider exception, if product top features panel does not exist
2025-03-23 19:43:28 +01:00
Jan Böhmer
63e222ed40
Upgraded dependencies
2025-03-23 19:41:40 +01:00
Jan Böhmer
6963ee3b8d
New translations messages.en.xlf (Spanish)
2025-03-11 14:02:14 +01:00
Jan Böhmer
bb5e42bf63
New translations security.en.xlf (Spanish)
2025-03-11 14:02:10 +01:00
Jan Böhmer
c48f778648
Update console_commands.md
2025-03-07 11:30:50 +01:00
Jan Böhmer
616aad6403
Added hint to docker install docs, that you need to run sudo with -E command
...
That should prevent isssues like in #882 and #871
2025-03-07 11:29:58 +01:00
Jan Böhmer
bcc7547d6f
New Crowdin updates ( #874 )
...
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (English)
2025-03-02 21:14:42 +01:00
Jan Böhmer
5a1a6e9217
Bumped version 1.16.1
2025-02-26 12:28:07 +01:00
Jan Böhmer
eae1fcecab
New translations security.en.xlf (Chinese Simplified) ( #870 )
2025-02-26 12:27:11 +01:00
Marc
b53989bb9d
Update LCSCProvider.php: fix error in query string ( #873 )
...
Fix typo in query string 'prodctCode' -> 'productCode' introduced in Commit 80527e3
2025-02-25 13:32:36 +01:00
Jan Böhmer
467d50bd31
Use slightly different migration method for attachment system migration
...
This maybe help with issue #871
2025-02-25 00:32:04 +01:00
Jan Böhmer
1935258978
Fixed phpstan issue
2025-02-23 22:55:59 +01:00
Jan Böhmer
2b5030c69f
Bumped version to 1.16.0
2025-02-23 22:40:02 +01:00
Jan Böhmer
6537502696
New Crowdin updates ( #867 )
...
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (German)
2025-02-23 17:30:33 +01:00
Jan Böhmer
0ba352ab0b
Updated composer dependencies
2025-02-23 17:28:39 +01:00
Jan Böhmer
5d3f861728
Use newer version of farnell/element14 api to get the correct links to product pages. Also we can now retrieve a more detailed description, which will be put into the notes field
2025-02-22 23:29:57 +01:00
Jan Böhmer
319b69f6c7
Added an workaround for issue #862
2025-02-22 22:59:55 +01:00
Jan Böhmer
c4ba28e3a0
Heavily refactored the property metadata attribute logic
...
The new method is much more universal and fixes issue #862
2025-02-22 22:19:38 +01:00
Jan Böhmer
b38ef8ecea
Revert "Fixed type error introduced with api-platform upgrade"
...
This reverts commit a54c2db9b9 .
2025-02-22 21:12:58 +01:00
Jan Böhmer
cb0817666d
Revert "Use the modular api-platform packages instead of the monolitic api-platform/core package"
...
This reverts commit 17caf476bf .
2025-02-22 21:12:54 +01:00
Jan Böhmer
a54c2db9b9
Fixed type error introduced with api-platform upgrade
2025-02-22 19:59:12 +01:00
Jan Böhmer
17caf476bf
Use the modular api-platform packages instead of the monolitic api-platform/core package
2025-02-22 19:48:36 +01:00
Jan Böhmer
42cb590c75
Fixed deprecations with api platform
2025-02-22 19:35:49 +01:00
Jan Böhmer
6fd05e1456
Fixed migration
2025-02-22 19:23:28 +01:00
Jan Böhmer
bec45d60e5
Fixed migration for postgresql
2025-02-22 18:03:03 +01:00
Jan Böhmer
019e67a676
Migrate legacy attachment discriminator class values to modern format, so that we can make the discriminator map unique and fix a deprecation with doctrine
2025-02-22 17:58:20 +01:00
Jan Böhmer
f146d88aa5
Added additional filters to attachment datatable
2025-02-22 17:48:26 +01:00
Jan Böhmer
48be9a8098
Made attachment datatable sortable by internal filename and external url
2025-02-22 17:41:41 +01:00
Treeed
29f92d9bd3
Split attachment paths ( #848 )
...
* fixed attachment statistics for sqlite
* Split attachment path into internal and external path, so the external source URL can be retained after a file is downloaded
* Make internal and external path for attachments nullable, to make clear that they have no internal or external path
* Added migrations for nullable columns for postgres and mysql
* Added migration for nullable internal and external pathes for sqlite
* Added translations
* Fixed upload error
* Restrict length of filename badge in attachment edit view
* Improved margins with badges in attachment edit
* Added a link to view external version from attachment edit
* Let media_url stay in API attachments responses for backward compatibility
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-02-22 17:29:14 +01:00
Jan Böhmer
ebb977e99f
Updated dependencies
2025-02-20 22:10:57 +01:00
Jan Böhmer
94bcd3d2d3
Fixed static analysis issue
2025-02-20 20:35:00 +01:00
Jan Böhmer
a9bd4c5606
Use better parameter value parsing for pollin and reichelt parameters
2025-02-20 19:45:05 +01:00
Jan Böhmer
8d9dde0032
Show the desired part, when searching for the pollin part number
2025-02-20 19:39:35 +01:00
Jan Böhmer
b2d4333fff
Merge branch 'pollin_provider'
2025-02-20 19:36:36 +01:00
Jan Böhmer
afd5e2b95b
Added documentation for pollin info provider
2025-02-20 19:36:31 +01:00
Jan Böhmer
085adf8d71
Throw an exception message, when trying to use an info provider which is not active
2025-02-20 19:35:16 +01:00
Jan Böhmer
9b35b60d61
Use correct price for one unit if there are multiple prices availble
...
We can still not parse the bulk prices correctly completly
2025-02-20 19:32:31 +01:00
Jan Böhmer
742e57cc5c
Added basic provider for pollin
2025-02-20 19:20:14 +01:00
Jan Böhmer
a5961668fe
Disable info provider result caching when in debug mode
2025-02-20 16:59:16 +01:00
Jan Böhmer
e7394c165a
Undo change to cache expiration
2025-02-20 16:57:16 +01:00
Jan Böhmer
7be966122f
Added missing info hint how to enable reichelt provider
2025-02-20 16:56:21 +01:00
Jan Böhmer
d176b68fd2
Merge branch 'reichelt_provider'
2025-02-20 16:46:58 +01:00
Jan Böhmer
1e80be1376
Added documentation for reichelt info provider
2025-02-20 16:46:47 +01:00
Jan Böhmer
3585b08d4b
Pass reichelt env through docker container
2025-02-20 16:38:07 +01:00
Jan Böhmer
c51e0eb68f
Allow to get prices in non-EUR currencies from reichelt
2025-02-20 16:37:13 +01:00
Jan Böhmer
d05c0579a2
Fixed problem that first batch price was not included
2025-02-20 16:33:37 +01:00
Jan Böhmer
5e40519bc5
Allow to select if VAT should be included or not
2025-02-20 16:29:37 +01:00
Jan Böhmer
d13752114c
Allow to configure the reichelt info provider via env vars
2025-02-20 16:06:10 +01:00
Jan Böhmer
90e1b809fe
Allow to change language and country
2025-02-20 15:59:35 +01:00
Jan Böhmer
32b4e6812d
Undo change to cache expiration
2025-02-20 15:40:26 +01:00
Jan Böhmer
a798aa9c24
Allow to extract MPN from reichelt provider
2025-02-20 15:39:35 +01:00
Jan Böhmer
f1c28b9f46
Allow to parse batch prices
2025-02-20 15:14:59 +01:00
Jan Böhmer
39bc400376
Added basic price info retrieval from reichelt
2025-02-20 00:32:03 +01:00
Jan Böhmer
e287918121
Extract category from reichelt provider
2025-02-20 00:24:46 +01:00
Jan Böhmer
e0bf8e5fbc
Allow reichelt provider to parse parameters
2025-02-20 00:18:05 +01:00
Jan Böhmer
376c7e7a6f
Allow to parse ranges for ParameterDTO which just contain two dots
2025-02-20 00:17:53 +01:00
Jan Böhmer
5612a790fb
Added basic way to retrieve simple part infos and datasheet
2025-02-19 23:55:58 +01:00
Jan Böhmer
80527e35c3
Added basic reichelt search capabilities
2025-02-19 00:44:49 +01:00
Jan Böhmer
f592ab6395
Updated KiCAD library lists to latest KICAD lib
2025-02-16 21:48:30 +01:00
Jan Böhmer
d7c741c652
Disable create option for input selects if an entity with this name already exists
2025-02-16 21:14:57 +01:00
Jan Böhmer
9502f30e1b
Add cllear button to entity select type
2025-02-16 20:36:46 +01:00
Jan Böhmer
7286c4bbef
Fixed bug in autoselect_typed plugin
2025-02-16 20:24:13 +01:00
Jan Böhmer
a976f97dbb
Apply click_to_edit plugin where reasonable
2025-02-16 20:24:01 +01:00
Jan Böhmer
2c9b8c7dea
Merge remote-tracking branch 'origin/l10n_master'
2025-02-16 19:48:57 +01:00
Jan Böhmer
787decf4e2
Updated dependencies
2025-02-16 19:48:51 +01:00
Treeed
2fc70b8bdd
Highlightable attachment paths ( #849 )
...
* made autocomplete controller allow selecting text and autocommit typed text on blur
* moved click_to_edit and autoselect_typed into separate plugins
---------
Co-authored-by: jona <a@b.c>
2025-02-16 19:46:29 +01:00
Jan Böhmer
64491a9772
New translations security.en.xlf (Dutch)
2025-02-10 17:11:09 +01:00
Jan Böhmer
b724b05de6
Fixed "implicitly marking parameter as nullable" deprecations in PHP 8.4 fixed
2025-02-08 00:19:20 +01:00
Marc
d94c4af1be
Document that only Digikey API v3 is supported ( #858 )
2025-02-04 21:41:03 +01:00
Nico Felbinger
8f0f5a5eb4
Fix postgresl unix socket example ( #852 )
...
* Fix postgresl unix socket example
* Fix user defaulting to root
2025-02-02 21:09:10 +01:00
Treeed
edf50a71d1
fixed attachment statistics for sqlite ( #847 )
...
Co-authored-by: jona <a@b.c>
2025-02-02 21:05:47 +01:00
Jan Böhmer
d0937218b9
Bumped version to 1.15.2
2025-02-01 23:47:14 +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
edd254ee06
Merge remote-tracking branch 'origin/l10n_master'
2025-02-01 23:14:50 +01:00
Jan Böhmer
42ecb83155
Rename duplicate parameters and attachments when importing from an info provider
...
This fixes issue #840
2025-02-01 23:14:42 +01:00
Jan Böhmer
56f801c058
New translations messages.en.xlf (English)
2025-02-01 21:30:23 +01:00
Marc
2d3d05e956
Added character symbols for degree and registered in keybindings.md ( #845 )
2025-02-01 21:02:02 +01:00
Marc
4321e51bf5
Update messages.de.xlf ( #841 )
...
Removed "es" in german translation of string tfa_trustedDevices.explanation
2025-02-01 20:58:55 +01:00
Jan Böhmer
be04730906
New Crowdin updates ( #837 )
...
* New translations security.en.xlf (Russian)
* New translations validators.en.xlf (Russian)
* New translations messages.en.xlf (Russian)
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (Italian)
2025-02-01 20:58:35 +01:00
Jan Böhmer
aa06e1df04
Fixed exception when trying to export an empty entity list
...
Fixes issue #836
2025-02-01 20:57:27 +01:00
Jan Böhmer
fd7a0156bc
Disable GET_GROSS_PRICES option for TME info provider when using private key. Otherwise we receive an error.
...
This fixes issue #838
2025-02-01 20:20:33 +01:00
Jan Böhmer
1e19ff24ba
Updated dependencies
2025-02-01 20:01:33 +01:00
Jan Böhmer
3d4e91fc69
Moved OEMSecrets config to new settings system
2025-01-18 22:58:26 +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
0f4238291f
Bumped version to 1.15.1
2025-01-07 21:56:13 +01:00
Jan Böhmer
03a2a10efd
Updated dependencies
2025-01-07 16:51:34 +01:00
Jan Böhmer
04310aa2f8
Removed WebpackAutoPathSubscriber, as it seems it not necessary anymore with encore 5
2025-01-07 16:39:51 +01:00
Jan Böhmer
e8ca11a5cf
Do not use a slash prefix for .setPublicPath() in webpack config. Webpack encore 5 seemed to have changed something, so that it does not get overriden anymore
...
We just get a warning, which we can ignore.
2025-01-07 16:14:21 +01:00
Jan Böhmer
24137b30a5
Added tests for RedirectController that simulates the situation of a reverse proxy and subdirectory
2025-01-07 15:52:28 +01:00
Jan Böhmer
4421917333
Revert "Removed baarcode scanner inbox, as we now have enough performance to apply the decoder to the full image"
...
This reverts commit de0832bece .
2025-01-06 00:49:16 +01:00
Jan Böhmer
25c8660c2e
Bumped version to 1.15.0
2025-01-06 00:31:19 +01:00
Jan Böhmer
190e87390d
New Crowdin updates ( #804 )
...
* New translations security.en.xlf (Italian)
* New translations messages.en.xlf (German)
* New translations security.en.xlf (German)
2025-01-06 00:29:40 +01:00
Jan Böhmer
c9aefdd862
Start with an empty selection of category when a new part is created, so that the user has to manually select it
2025-01-06 00:29:26 +01:00
Jan Böhmer
3ad088663f
Fixed phpstan issue
2025-01-06 00:21:04 +01:00
Jan Böhmer
a29e87e5ac
Fixed phpunit tests
2025-01-06 00:19:31 +01:00
Jan Böhmer
de0832bece
Removed baarcode scanner inbox, as we now have enough performance to apply the decoder to the full image
2025-01-06 00:08:42 +01:00
Jan Böhmer
614697ba84
Use zxing-wasm polyfill even if native barcode detector API is available as the polyfill is sometimes better than the native on
...
See discussion #808 for more infos
2025-01-05 23:43:17 +01:00
Jan Böhmer
6bdf3d891a
Include the JSON encoded response, when throwing an unknown response format in mouser provider
...
Should help to debug issue #820
2025-01-05 22:15:12 +01:00
Jan Böhmer
f75704f77c
Allow users to save a new label profiles directly from the label generator dialog
...
This fixes issue #806
2025-01-05 22:00:07 +01:00
Jan Böhmer
9d09543eb9
Added a button to quickly go to all label profiles editor
...
Related to issue #806
2025-01-05 17:50:15 +01:00
Jan Böhmer
a6116398a8
Only run PartDenormalizer when importing files, otherwise it causes problems with API platform
...
This fixes issue #800
2025-01-05 17:37:02 +01:00
Jan Böhmer
39763b84d5
Updated dependencies
2025-01-05 15:37:21 +01:00
Jan Böhmer
8502df08fa
Added test for autodetection of EIGP114 barcodes
2025-01-04 18:43:50 +01:00
Jan Böhmer
bf2a776403
Do the EIGP114 detection after userdefined barcode detection, so that users can override it on their partLots
2025-01-04 18:41:27 +01:00
Jan Böhmer
052190c69b
Do not trim user_barcode for partLots
2025-01-04 18:40: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
39b5240934
We are in development of version 1.15.0
2025-01-04 18:14:15 +01:00
Jan Böhmer
ddc1c286d9
Merge branch 'detector-api-polyfill'
2025-01-04 18:10:36 +01:00
Jan Böhmer
22fba37d28
Pause the camera and scanner, when navigating away from the scanner page, so that the camera feed is closed
2025-01-04 18:10:26 +01:00
Jan Böhmer
0c627a5636
Use forked version of html5-qrcode to avoid including zxing-js which will never be used then
2025-01-04 18:09:56 +01:00
Jan Böhmer
53dcd24216
Improved scanning FPS to 10
2025-01-04 16:57:41 +01:00
Jan Böhmer
4b09a321ad
Polyfill BarcodeDetector API for improved performance of Html5QRcodeScanner
2025-01-04 16:49:17 +01:00
Treeed
9e85b70c17
Added capability to scan Digikey barcodes and open the local part part page based on the result ( #811 )
...
* added capability to scan digikey barcodes and open the local part page based on the digikey part number or manufacturer part number
* had replaced one too many doublequotes
* Generalized interpretation of format06 barcodes, added ids for mouser
* Renamed vendor_barcode to user_barcode in entities
* Added a own class to parse EIGP114 barcodes
* Added tests to EIGP114Barcode parser
* Refactored code
* Changed BarcodeRedirector to support the new Barcode EIGP114BarcodeScanResult class
* Added possibility to just show all information contained in a barcode
* Dont require trailer for EIGP114 barcodes, as digikey does not seem to put them onto their barcodes
* Fixed inspection issues
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2025-01-04 01:20:51 +01:00
Jan Böhmer
9c99217dee
Fixed test errors
2025-01-03 20:21:17 +01:00
Jan Böhmer
afc1dbdd4b
Updated recipe for symfony flex
2025-01-03 17:45:13 +01:00
Jan Böhmer
20f58fc07d
Updated symfony cli recipe
...
This adds an error message if no composer dependencies are installed
2025-01-03 17:42:49 +01:00
Jan Böhmer
e6b78dd213
Updated dependencies
2025-01-03 17:41:37 +01:00
Jan Böhmer
63893ffabe
Allow to automatically map categories from info providers to local categories using the "alternative names" system
...
This partially addresses issues discussed in discussion #808
2024-12-31 18:31:20 +01:00
Jan Böhmer
c9e519d0b5
Show a warning flash, when creating a part from an info provider that has no category autoprovided
...
This partially fixes the problems described in discussion #808
2024-12-31 18:25:28 +01:00
Jan Böhmer
273bde90f2
Use the providerID as keyword when searching infos for a part with already existing providerreference and preselect the info provider if possible
2024-12-31 18:13:15 +01:00
Treeed
92e4976396
Show when parts from info provider already exist ( #810 )
...
* added button to show existing part with same manufacturer and mpn in provider list
* added button to edit existing part in provider list
* added docstring and comments
* replaced unnecessary double quotes
* Introduced a new twig variable localPart to split up the result
* Highlight a row, if the part is already existing
* Made buttons translatable
* Improved styling of the buttons and added a badge to show a hint
* Extracted database queries for part matching into its own service and optimized the query reducing the required queries by factor 2
* Allow to find existing parts via the stored providerReference
This should allow the database to more quickly find entries
* Allow to use part name and manufacturer alternative names for mapping
* Added a button to update a local part from the info provider and moved some buttons into dropdown menu
---------
Co-authored-by: jona <a@b.c>
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2024-12-31 18:03:36 +01:00
Jan Böhmer
e9efbff912
Upgraded typescript version
2024-12-29 20:15:05 +01:00
Jan Böhmer
41089c08f8
Upgraded exports-loader and webpack-cli
2024-12-29 20:08:59 +01:00
Jan Böhmer
9e23e606f8
Updated marked and compression-webpack plugin
2024-12-29 19:59:31 +01:00
Jan Böhmer
b3f0fd368a
Updated webpack encore to 5.0.0
2024-12-29 19:50:02 +01:00
Jan Böhmer
12bd5472e2
Fixed sizing of text in label editor input
2024-12-29 19:47:19 +01:00
Jan Böhmer
ef64779759
Updated CKeditor5 to v41
2024-12-29 19:31:04 +01:00
Jan Böhmer
b3d8076ddf
Fixed fixture loading process
2024-12-29 19:06:58 +01:00
Jan Böhmer
f775203608
Use new syntax for getReference() in data fixtures
2024-12-29 13:46:22 +01:00
Jan Böhmer
a6083688e4
Upgraded frontend dependencies
2024-12-29 13:43:32 +01:00
Jan Böhmer
50689cd4e6
Updated datatables-bundle
2024-12-29 13:41:30 +01:00
Jan Böhmer
255fcbac1c
Removed direct dependency to phpstan-phpdoc-parser, so that it can get removed when updating the webauthn bundle
2024-12-29 13:38:35 +01:00
Jan Böhmer
7f8ffa56e5
Removed (hopefully) unused and unnecessary dependencies
2024-12-29 13:34:10 +01:00
Jan Böhmer
9a2a5f30a3
Updated doctrine fixtures bundle
2024-12-29 13:20:12 +01:00
Jan Böhmer
a9f444cbb4
Added return types to ExponentialNumberTypes for futureproofing the implementation
2024-12-29 13:14:26 +01:00
Jan Böhmer
164efb0551
Fixed phpstan error with NodesListBuilder
2024-12-29 13:14:00 +01:00
Jan Böhmer
a37b8cbb15
Fixed introduced bug in node flattening
2024-12-28 23:19:55 +01:00
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
Jan Böhmer
a273acbecd
Updated PHPstan configuration
2024-12-28 15:12:18 +01:00
Jan Böhmer
0ceee1582e
Updated phpstan to 2.0
2024-12-28 14:56:44 +01:00
Jan Böhmer
04a0369d56
Added proxmox LXC installation method to docs
2024-12-25 19:21:30 +01:00
Jan Böhmer
31a288b44d
Added recommendation on installation methods
2024-12-25 19:13:28 +01:00
Jan Böhmer
502dc3aa1c
Added kubernetes as available installation method.
2024-12-25 19:12:09 +01:00
Jan Böhmer
6874d7ca55
Upgraded dependencies
2024-12-23 20:34:42 +01:00
Jan Böhmer
da8f669aed
Test for PHP 8.4
2024-12-23 20:26:31 +01:00
Vedran Vekic
0f92a69b03
Rewrite LCSC datasheet URL ( #795 )
2024-12-10 14:32:23 +01:00
Bryce Nagaj
8faa3251c4
Update verbiage ( #788 )
2024-12-10 14:30:47 +01:00
Marc
56fc14003c
Update information_provider_system.md ( #791 )
...
Fixed minor typo in Octopart variable: PROVIDER_OCOTPART_COUNTRY
2024-12-10 14:30:16 +01:00
Jan Böhmer
b3499e4ea5
Fixed (wrongly) failing test on IPAnonymizer
2024-12-02 11:01:39 +01:00
Jan Böhmer
07b1ff9bf5
Bumped version to 1.14.5
2024-12-02 01:00:35 +01:00
Jan Böhmer
5bbf24c92e
New translations security.en.xlf (English) ( #786 )
2024-12-02 00:22:45 +01:00
Jan Böhmer
eea8b3e679
Merge remote-tracking branch 'origin/master'
2024-12-02 00:22:20 +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
dependabot[bot]
b554d0d851
Bump codecov/codecov-action from 4 to 5 ( #774 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4 to 5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 23:16:37 +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
80129c0a88
Use PHP 8.3 as docker image, and allow for longer error log lines
...
This fixes issue #781
2024-12-01 22:34:05 +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
Jan Böhmer
baf8977578
Correctly handle IP addresses containing RFC 4007 scoping
2024-12-01 19:19:04 +01:00
Jan Böhmer
c7bf843312
Updated dependencies
2024-12-01 18:48:22 +01:00
Jan Böhmer
ce6fee1682
Merge remote-tracking branch 'origin/dependabot/composer/symfony/http-client-6.4.15'
2024-11-18 15:43:25 +01:00
Jan Böhmer
2653fad488
Merge remote-tracking branch 'origin/dependabot/composer/symfony/security-http-6.4.15'
2024-11-18 15:43:16 +01:00
Jan Böhmer
dd54c46a29
Merge remote-tracking branch 'origin/l10n_master'
2024-11-18 15:43:10 +01:00
dependabot[bot]
724a0e21d3
Bump symfony/security-http from 6.4.14 to 6.4.15
...
Bumps [symfony/security-http](https://github.com/symfony/security-http ) from 6.4.14 to 6.4.15.
- [Release notes](https://github.com/symfony/security-http/releases )
- [Changelog](https://github.com/symfony/security-http/blob/7.1/CHANGELOG.md )
- [Commits](https://github.com/symfony/security-http/compare/v6.4.14...v6.4.15 )
---
updated-dependencies:
- dependency-name: symfony/security-http
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-13 18:39:42 +00:00
dependabot[bot]
578277d11f
Bump symfony/http-client from 6.4.14 to 6.4.15
...
Bumps [symfony/http-client](https://github.com/symfony/http-client ) from 6.4.14 to 6.4.15.
- [Release notes](https://github.com/symfony/http-client/releases )
- [Changelog](https://github.com/symfony/http-client/blob/7.1/CHANGELOG.md )
- [Commits](https://github.com/symfony/http-client/compare/v6.4.14...v6.4.15 )
---
updated-dependencies:
- dependency-name: symfony/http-client
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-11-13 16:49:40 +00:00
Jan Böhmer
22258e3183
New translations validators.en.xlf (Croatian)
2024-11-10 14:30:20 +01:00
Jan Böhmer
0234463b68
Bumped version to 1.14.4
2024-11-08 23:32:34 +01:00
Jan Böhmer
ef412eef92
Fixed tests
2024-11-08 23:32:14 +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
5b0ca8e346
Updated dependencies
2024-11-08 23:15:40 +01:00
Jan Böhmer
0b6b10c27b
Bumped version to 1.14.3
2024-11-05 00:11:39 +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
2575e6a160
Improved size and position of back to top button to avoid overlapping with buttons, etc.
...
This should fix issue #737
2024-11-03 23:58:06 +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
b42d98e9f8
Increase font-weight of the <dl> element in part info page to match its look to the <h5> element
2024-11-03 23:21:58 +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
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
b1e03f49ee
Pass the docker envs for oemsecrets to Part-DB
...
This fixes issue #742
2024-11-03 21:46:53 +01:00
Jan Böhmer
011e23f8e6
Added polish to language selector
2024-11-03 20:04:43 +01:00
Jan Böhmer
646cd8cf22
Merge remote-tracking branch 'origin/l10n_master'
2024-11-03 20:03:28 +01:00
Jan Böhmer
52ac8a70d5
Updated dependencies
2024-11-03 20:03:24 +01:00
Jan Böhmer
e020334b73
New translations messages.en.xlf (Polish)
2024-10-19 22:40:21 +02:00
Jan Böhmer
7698e83f0b
New translations messages.en.xlf (Polish)
2024-10-19 21:40:19 +02:00
Jan Böhmer
dd56f5e0c8
New translations messages.en.xlf (Polish)
2024-10-19 19:30:24 +02:00
Jan Böhmer
92c32eef74
New Crowdin updates ( #738 )
...
* New translations validators.en.xlf (Polish)
* New translations messages.en.xlf (Polish)
2024-10-19 19:24:55 +02:00
Jan Böhmer
08770c7dc5
Bumped version to 1.14.2
2024-10-17 00:20:48 +02:00
Priit Laes
808a94e4df
Document APP_SECRET and PostgreSQL specific bits in configuration variables ( #727 )
...
* docs: Mention APP_SECRET
* docs: Add PostgreSQL specific bits to DATABASE_URL description
2024-10-16 23:59:53 +02:00
Jan Böhmer
490086d531
Use the same translation for the panel with enabled search options, like in the checkbox options in navbar
2024-10-16 23:59:23 +02:00
Jan Böhmer
2ef3fbb81b
Merge remote-tracking branch 'origin/l10n_master'
2024-10-16 23:57:07 +02: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
15ad0ec9c0
Updated dependencies
2024-10-16 23:40:48 +02:00
Jan Böhmer
f0b78e8b2c
New translations validators.en.xlf (Italian)
2024-10-16 13:50:37 +02:00
Jan Böhmer
e616faa76f
New translations messages.en.xlf (Italian)
2024-10-16 13:50:36 +02:00
Jan Böhmer
8159f4d8ee
Bumped version to 1.14.1
2024-10-13 23:43:55 +02:00
Jan Böhmer
021c576468
Exclude the translation dumper fix files, to avoid phpstan issues, which we cannot control
2024-10-13 23:23:48 +02:00
Jan Böhmer
1b2339a82c
Merge remote-tracking branch 'origin/l10n_master'
2024-10-13 23:22:24 +02:00
Jan Böhmer
2b6bb3f773
New translations messages.en.xlf (German)
2024-10-13 23:20:14 +02:00
Jan Böhmer
abc5c61a06
Fixed problem, that search field and search options did not close when clicking outside
...
This fixes issue #701 . For the search field this was caused by algolia/autocomplete lib, which do not support multiple autocomplete fields on a single page. If initailly loaded on the homepage, which features a second autocomplete, this one "steals" the input listening, and the one in the navbar do not close anymore when clicking outside.
Custom code which triggers the closing of the autocomplete manually when clicking outside, was added as a workaround.
2024-10-13 23:19:03 +02:00
Jan Böhmer
7145bce605
Construct the correct current path, when serving from a subdirectory
...
This fixes issue #274
2024-10-13 22:49:42 +02:00
Jan Böhmer
bb92e5e9ee
New translations validators.en.xlf (German)
2024-10-13 21:40:20 +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
76e945bbbd
Fixed issue that the document could not be scrolled anymore, when redirected from a modal
...
This fixes issue #696
2024-10-13 21:23:57 +02:00
Jan Böhmer
4a6ec2581d
Removed wrongly used controller for merge modal
2024-10-13 20:59:28 +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
c27648b89b
New translations validators.en.xlf (English)
2024-10-13 20:40:16 +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
234b5abb96
Merge remote-tracking branch 'origin/master'
2024-10-13 19:56:29 +02:00
Jan Böhmer
839bcf91d6
Updated dependencies.
2024-10-13 19:56:21 +02:00
Jan Böhmer
58ed57fab7
New translations messages.en.xlf (English) ( #703 )
2024-09-12 21:52:34 +02:00
Jan Böhmer
fa42997733
Bumped version to 1.14.0
2024-09-09 21:42:29 +02:00
Jan Böhmer
ac416141d0
Merge remote-tracking branch 'origin/master'
2024-09-09 21:42:15 +02:00
Jan Böhmer
c629a85b14
Updated dependencies
2024-09-09 21:42:03 +02:00
Jan Böhmer
7ccfea208f
New Crowdin updates ( #695 )
...
* New translations messages.en.xlf (English)
* New translations validators.en.xlf (German)
* New translations messages.en.xlf (German)
* New translations messages.en.xlf (Italian)
2024-09-09 21:38:07 +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
André Lademann
ddd7252051
Increase image size in list view #688 ( #689 )
2024-09-09 20:29:25 +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
c2638991f2
Added documentation for OEMSecrets info provider
2024-09-09 17:02:45 +02:00
Jan Böhmer
8554be9abd
Show number of results for info provider search and show a notice, if no results were found
2024-09-09 16:41:19 +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
98597fb3aa
Use new repository pathes (Part-DB-server) instead of the Part-DB-symfony ones
2024-09-08 20:05:06 +02: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
7db44f0ec5
Upgraded dependencies
2024-09-08 19:54:31 +02:00
Jan Böhmer
abb5395cae
Use "log-bin-trust-function-creators" option for mysql in recommended docker-compose file
...
This avoids errors, while creating the MySQL functions for the natural sort: "1419 You do not have the SUPER privilege an
d binary logging is enabled"
2024-09-08 19:46:55 +02:00
Jan Böhmer
8c8b44baef
Use debian bookworm, PHP 8.2 and node 20 for the docker image by default
2024-09-08 19:40:43 +02:00
Jan Böhmer
7366a33fe5
Apply the PHP_VERSION arg also to the partdb-entrypoint during build, to make it really version independent
2024-09-08 19:40:19 +02:00
Jan Böhmer
ad02d7e525
New Crowdin updates ( #692 )
...
* New translations messages.en.xlf (English)
* New translations validators.en.xlf (English)
* New translations security.en.xlf (English)
* New translations validators.en.xlf (Italian)
2024-09-08 19:14:02 +02:00
David Girón
b5a0189f29
feat(docker): Refactor Dockerfile ( #683 )
...
* reorder nodejs/yarn install, separate packages per line
* reduce run actions and reorganize commands
* simplify file creation, copy in one layer only
* fix lint LegacyKeyValueFormat
* arg php_version to run different version
* reorder copy from generated config
* update dockerfile-frankenphp
2024-09-08 19:13:13 +02:00
Jan Böhmer
756152dd68
Bumped to version 1.13.3
2024-08-24 15:58:46 +02:00
Jan Böhmer
173a8ee680
Improved assymmetric padding in datatables footer
2024-08-24 15:55:45 +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
f18c024daa
Remove -> prefix if no element is selected yet
2024-08-24 15:35:30 +02:00
Jan Böhmer
f6577a8f33
Allow to create sub elements for existing elements, by typing "->"
...
This fixes issue #666 and #560
2024-08-24 15:31:44 +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
6650e2da3d
Updated dependencies
2024-08-23 21:57:37 +02:00
Jan Böhmer
1ac9641a04
Added translations for table settings
2024-08-21 22:31:39 +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
Jan Böhmer
a45bf22ac5
Updated dependencies
2024-08-21 17:41:30 +02:00
frank-f
fd521acaa4
Update LCSCProvider field for real datasheet URL ( #670 )
2024-08-21 17:35:55 +02:00
Jan Böhmer
b5a6ba921c
Updated dependencies
2024-08-18 22:46:06 +02:00
Jan Böhmer
f6a2467eae
Improved select controls and added remove_buttons to multiple select inputs
2024-08-07 00:52:27 +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
947cce78d7
Added title and icon to settings page
2024-08-03 23:36:08 +02:00
Jan Böhmer
74e555d25d
Fixed tests
2024-08-03 23:31:56 +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
463812fb3d
Updated dependencies.
2024-08-03 22:18:17 +02:00
Jan Böhmer
d2406726c6
Merge branch 'master' into settings-bundle
2024-08-03 22:15:20 +02:00
Jan Böhmer
a169623866
Bump version to 1.13.2
2024-07-28 23:20:47 +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
27a28d4adc
Fixed the NatSortKey function where regex characters were improperly escaped in the old migration
...
This caused a "range out of order in character class" error and propably affected the functionality of the sort function
2024-07-28 17:08:55 +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
5ede61118c
Use paragonie/sodium_compat v1 as v2 do not support 32-bit PHP anymore
2024-07-28 13:31:27 +02:00
Jan Böhmer
228549ff51
Include pgsql extensions and client in docker images
2024-07-28 13:12:42 +02:00
Jan Böhmer
1ec5cbc301
Merge remote-tracking branch 'origin/l10n_master'
2024-07-28 13:02:58 +02:00
Jan Böhmer
3011cb8fae
Updated dependencies
2024-07-28 13:02:39 +02:00
Jan Böhmer
1f04d1b993
Updated dependencies
2024-07-21 21:33:39 +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
2bc50b2888
Updated settings-bundle
2024-07-16 21:33:44 +02:00
Jan Böhmer
ff78c3c9a7
New translations security.en.xlf (Vietnamese)
2024-07-10 03:32:31 +02:00
Jan Böhmer
d5980b7620
New translations messages.en.xlf (Spanish)
2024-07-05 11:30:31 +02:00
Jan Böhmer
9e0f86788d
Symfony/string 6.4.9 introduced a bug with generating the symfony UX translations files. Therefore use 6.4.8 for now
2024-07-03 22:18:56 +02:00
Jan Böhmer
2681c7ded3
Updated dependencies
2024-07-03 21:39:51 +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
Jan Böhmer
a0a7ca3c9c
Fixed exception on SystemInfo page
2024-06-25 22:28:36 +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
a8e1171108
Bumped to version 1.13.1
2024-06-23 21:14:00 +02:00
Jan Böhmer
19e5d302f4
Fixed detection on mariadb natsort capabilities on distributions which use the 5.5.5- prefix for MariaDB version
2024-06-23 21:13:37 +02:00
Jan Böhmer
22e2480feb
Bumped version to 1.13.0
2024-06-23 19:06:29 +02:00
Jan Böhmer
88ef1788ac
Add small time differences to the datafixtures log entries, to get a defined order
2024-06-23 18:03:54 +02:00
Jan Böhmer
a54ce939ca
Merge branch 'timetravel-tests'
2024-06-23 17:45:17 +02:00
Jan Böhmer
528d0c7a26
Added tests for TimeTravel service and fixed applyEntry function for embeddded fields
2024-06-23 17:43:10 +02:00
Jan Böhmer
c68a647e75
Added missing tests for LogEntryRepository
2024-06-23 16:07:42 +02:00
Jan Böhmer
e0e4b74b6f
Fixed getElementExistedAtTimestamp function()
2024-06-23 15:46:10 +02:00
Jan Böhmer
204178740c
Started adding basic tests for LogEntryRepository
2024-06-23 15:41:57 +02:00
Jan Böhmer
8fdf37261d
Fixed phpstan issues
2024-06-23 00:42:49 +02:00
Jan Böhmer
06c8e584a4
Allow to import attachments and parameters via entity import
...
This fixes issue #363
2024-06-23 00:41:25 +02:00
Jan Böhmer
bbf7222a6a
Improved EntityExporter to handle recursive exports
2024-06-23 00:11:38 +02:00
Jan Böhmer
f6e955b487
Hide mouser parts with an invalid product ID to avoid the issue described in #616
2024-06-22 23:37:50 +02:00
Jan Böhmer
32a72bfd23
Defocus show/hide sidbar button after clicking to close tooltip
...
Fixes issue #628
2024-06-22 23:08:51 +02:00
Jan Böhmer
25e0c22de9
Merge branch 'added-scan-button-to-navbar'
2024-06-22 23:04:06 +02:00
Jan Böhmer
2dd1843aac
Merge branch 'master' into added-scan-button-to-navbar
2024-06-22 23:03:10 +02:00
Jan Böhmer
f3bf4ca838
New translations validators.en.xlf (English)
2024-06-22 23:02:49 +02:00
Jan Böhmer
b88e5e27d8
Fixed tests
2024-06-22 23:01:40 +02:00
Jan Böhmer
6f91ff1f28
Fixed --overwrite option of the backup command not working
...
This fixes issue #635
2024-06-22 22:59:16 +02:00
Jan Böhmer
b7b941e3a1
Fixed error handling of structural data import
...
This was the reason for the exception in #632
2024-06-22 22:55:15 +02:00
Jan Böhmer
64414fe105
Added missing validator.invalid_range translation
2024-06-22 20:00:16 +02:00
Jan Böhmer
701713e298
Fixed symfony UX translations when using a locale with subregion (e.g. en_US)
...
Fixes issue described in #563
2024-06-22 19:57:49 +02:00
Jan Böhmer
445229976f
Allow locales like de_DE in removeLocaleFromPath function
...
Related to issue #563
2024-06-22 19:48:11 +02:00
Jan Böhmer
eb02404d49
Fixed typing of TextConstraint
2024-06-22 19:06:07 +02:00
Jan Böhmer
c780c0bd92
Fixed "__partLot already defined" error when using a between filter for amountSum on postgres
2024-06-22 19:03:30 +02:00
Jan Böhmer
8f631cae63
Split up NumberConstraint and DateTimeConstraint for better type enforcement
2024-06-22 18:53:26 +02:00
Jan Böhmer
07afff8db5
Updated yarn dependencies
2024-06-22 18:02:42 +02:00
Jan Böhmer
a4f440656a
Fixed timetravel feature on postgresql
2024-06-22 17:55:54 +02:00
Jan Böhmer
235d572f8c
Use DatetimeImmutable instead of DateTime wherever possible
2024-06-22 17:36:54 +02:00
Jan Böhmer
eebc373734
Merge branch 'rector'
2024-06-22 16:54:09 +02:00
Jan Böhmer
002d29a53e
Fixed PHPstan issues
2024-06-22 16:53:59 +02:00
Jan Böhmer
5074e2beac
Fixed phpunit tests
2024-06-22 00:44:59 +02:00
Jan Böhmer
d898ca736c
Applied rector to remaining test files
2024-06-22 00:37:47 +02:00
Jan Böhmer
af325612aa
Dont replace our test 'GET' strings with a class constant
2024-06-22 00:36:30 +02:00
Jan Böhmer
590c2c3b0a
Excluded a few more rector rules
2024-06-22 00:34:49 +02:00
Jan Böhmer
20f32c7f12
Applied rector suggestions
2024-06-22 00:31:43 +02:00
Jan Böhmer
4106bcef5f
Do not rename tableAction controller
2024-06-22 00:06:48 +02:00
Jan Böhmer
0e3b8a2a28
Do not replace our !== null checks with instanceof
2024-06-22 00:03:52 +02:00
Jan Böhmer
272608b4ec
Ignore symfony generated files for rector
2024-06-22 00:00:59 +02:00
Jan Böhmer
7a389469b9
Updated rector
2024-06-21 23:51:44 +02:00
Jan Böhmer
9650969c94
Merge branch 'master' of https://github.com/Part-DB/Part-DB-symfony
2024-06-21 23:41:57 +02:00
Jan Böhmer
6821e668e4
Do not inject ObjectNormalizer into StructuralElementDenormalizer directly
2024-06-21 23:41:52 +02:00
Jan Böhmer
43a68b96ae
Moved deprecated doctrine subscribers to doctrine event listeners
2024-06-21 23:41:22 +02:00
Jan Böhmer
1f6e3db09e
Document natural sorting and the DATABASE_EMULATE_NATURAL_SORT option
2024-06-21 12:31:25 +02:00
Jan Böhmer
2fabcabcc0
Added documentation about the different DATABASE_URL formats for the database types
2024-06-21 11:58:09 +02:00
Jan Böhmer
22855b077d
Improved "Choosing database" documentation page
2024-06-21 11:44:24 +02:00
Jan Böhmer
2cad7a67ea
Updated requirements in README file and mention PostgreSQL support in features
2024-06-21 10:39:44 +02:00
Jan Böhmer
8ce93a028a
Removed deprecated interface from SkippableItemNormalizer
2024-06-19 23:58:15 +02:00
Jan Böhmer
028307b63c
Added some return typehints to functions who missed them
2024-06-19 23:56:08 +02:00
Jan Böhmer
7bd6cd7cec
Merge remote-tracking branch 'origin/master'
2024-06-19 23:47:46 +02:00
Jan Böhmer
8c45a40f9e
Explicitly configure some deprecated configuration options
2024-06-19 23:47:38 +02:00
dependabot[bot]
70c62dab77
Bump docker/build-push-action from 5 to 6 ( #631 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-19 23:33:43 +02:00
Jan Böhmer
b4d8d31c2d
partUnit column in part datatable now shows the correct data
...
This fixes issue #630
2024-06-19 23:28:53 +02:00
Jan Böhmer
bc15135f6b
We are in development of 1.13 now
2024-06-18 23:44:28 +02:00
Jan Böhmer
16baccc2cb
Upgraded rector to latest version
2024-06-18 23:33:53 +02:00
Jan Böhmer
bb2559edc1
Fixed PHPstan issue
2024-06-18 23:31:24 +02:00
Jan Böhmer
f6f736a91f
Added amphp/http-client to support HTTP/2 connections, even if libcurl is not enabled
2024-06-18 23:25:40 +02:00
Jan Böhmer
9f477676e2
Removed psalm, as we only use phpstan
2024-06-18 23:24:54 +02:00
Jan Böhmer
6cba6ba52e
Updated dependencies
2024-06-18 23:21:45 +02:00
Jan Böhmer
d29dbc9385
Merge branch 'postgres'
2024-06-18 23:17:27 +02:00
Jan Böhmer
cb01302ada
Test the backup tool in github actions
...
This ensures that the tool works for all database types
2024-06-18 23:04:44 +02:00
Jan Böhmer
e3dfbf0e95
Support postgres in the backup command
2024-06-18 23:02:33 +02:00
Jan Böhmer
3f471d0c73
Natsort MPN column in part datatables
2024-06-18 22:34:29 +02:00
Jan Böhmer
4a706ab707
Do not natsort description fields as these can become very long
2024-06-18 22:34:13 +02:00
Jan Böhmer
4946a9ab0d
Fixed SQL declaration of NatSortKey function
...
We do not need the delimiter declarations
2024-06-18 22:32:07 +02:00
Jan Böhmer
123372d93f
Allow to emulate natural sort on mysql platforms
2024-06-18 21:42:00 +02:00
Jan Böhmer
272fe0516b
Allow to emulate natural sorting on SQLite databases
2024-06-18 00:09:44 +02:00
Jan Böhmer
289c9126d0
Use Natural_SORT_KEY for natural sorting on MariaDB database which support that
...
This resolves issue #243 and #402
2024-06-17 23:29: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
8bb8118d9f
Use natural sorting for trees and others repository functions
2024-06-17 22:33:40 +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
8a42dfa154
Use the FIELD function on postgres for order by field value
2024-06-17 21:20:23 +02:00
Jan Böhmer
d7a7e22e5a
Fixed lessThanDesired Constraint for postgresql
2024-06-17 21:16:46 +02:00
Jan Böhmer
4f75e2641b
Define a custom FIELD function to sort tables by list of ids without the emulation via string operations
2024-06-16 23:46:40 +02:00
Jan Böhmer
d3dcefb645
Fixed total amount and less than desired filter on postgresql
2024-06-16 23:26:57 +02:00
Jan Böhmer
6d1553e8d8
Fixed problem with datatable column sorting on postgresql
2024-06-16 22:52:15 +02:00
Jan Böhmer
740985d68f
New translations security.en.xlf (Croatian)
2024-06-14 23:40:19 +02:00
Jan Böhmer
7ad2fab53d
Fixed exception related that Datetimeimmutables were used were doctrine expected mutable ones
...
this prevented the saving of parts from info providers
2024-06-13 23:41:35 +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
33a5e70b70
Fixed phpunit tests for postgres
2024-06-13 22:19:17 +02:00
Jan Böhmer
07f1ce5822
Configure the postgres server to accept local connections without password
2024-06-13 00:00:51 +02:00
Jan Böhmer
d41996b365
Added SSH connection into test container for debugging
2024-06-12 23:33:05 +02:00
Jan Böhmer
d3c9b7eae1
Configure postgres to accept all connections without password for testing
2024-06-12 23:30:42 +02:00
Jan Böhmer
373a1ab0f4
Change the password of the postgres user
2024-06-12 23:24:37 +02:00
Jan Böhmer
58dd56a89f
Supply a password for the postgres database connection
2024-06-12 23:16:24 +02:00
Jan Böhmer
d7eadd9294
Use the builtin postgres user already defined in the github image
...
It hopefully requires no password
2024-06-12 23:13:20 +02:00
Jan Böhmer
853e29dd83
Removed sqlite database creation
...
This is not possible anymore for the sqlite driver and is unnesecarry as it is automatically created on migration
2024-06-10 23:47:28 +02:00
Jan Böhmer
0c1c46c045
Fixed MySQL version number
...
The 8.0 was to short to be detected as newer than 8.0.0. We need to specify the bugfix release to get proper results
2024-06-10 23:46:33 +02:00
Jan Böhmer
be97ea08a2
Specify a version number on the MySQL database URL, so that doctrine does not need to start a connection while cache clearing
2024-06-10 23:35:13 +02:00
Jan Böhmer
1c8b81ca2c
Run a SSH session in the github actions container for better debugging
2024-06-10 23:05:16 +02:00
Jan Böhmer
8266f230d7
For debugging disable fast failing of phpunit tests
2024-06-10 22:58:54 +02:00
Jan Böhmer
0b53542716
Added postgres to github tests actions
2024-06-10 22:52:11 +02:00
Jan Böhmer
eab1c7096c
Use the postgres migration code generated by the new doctrine orm versions
...
This now uses IDENTITY columns for ID columns, which makes their behavior more similar to the behavior of MySQL and SQLite
2024-06-10 22:38:46 +02:00
Jan Böhmer
8ee3aaf4f4
Added Sqlite migrations required by new doctrine/orm version and fixed migration duplication for sqlite
2024-06-10 21:54:15 +02:00
Jan Böhmer
427b8659c9
Added MySQL migrations required by the doctrine upgrades
...
The new ORM versions, do not have anymore column comments, so these got removed
2024-06-10 21:43:25 +02:00
Jan Böhmer
3c3af824cf
Merge branch 'doctrine-upgrade' into postgres
2024-06-10 21:26:00 +02:00
Jan Böhmer
d40ce470d3
Fixed some invalid class constant use in ResetAutoIncrementORMPurger
2024-06-10 21:25:51 +02:00
Jan Böhmer
07c7f07c35
Removed usage of partial flush which is not supported with the recent doctrine ORM version
2024-06-10 21:25:23 +02:00
Jan Böhmer
fe732ecf45
Fixed minor inspection issue
2024-06-10 21:16:46 +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
777f6ba738
Fixed error caused by immutable datetime passed to mutable datetime doctrine type
2024-06-10 20:47:06 +02:00
Jan Böhmer
4d927c5870
Use a better exception format for UTCDateTimeType
2024-06-10 20:17:57 +02:00
Jan Böhmer
1830e9da3d
Fixed errors caused by change on how setParameters on query builder works
...
We replaced them by individual setParameter calls as this seems to be the easiest way to fix this
2024-06-10 00:08:53 +02:00
Jan Böhmer
5eb29746af
Revert "Fixed errors that query builder setParameters now expects an ArrayCollection instead of an array"
...
This reverts commit 78671b0bfe .
2024-06-10 00:04:22 +02:00
Jan Böhmer
afb816cc41
Use the getReference function in TimeTravel service instead of the removed getPartialReference()
...
This is probably the better choice anyway
2024-06-09 23:58:03 +02:00
Jan Böhmer
bd640c19a4
Fixed type of token object is now a property instead of array value in Field2
2024-06-09 23:55:12 +02:00
Jan Böhmer
0d445b6a21
Fixed some minor inspection issues caused by the doctrine upgrades
2024-06-09 23:51:41 +02:00
Jan Böhmer
78671b0bfe
Fixed errors that query builder setParameters now expects an ArrayCollection instead of an array
2024-06-09 23:51:11 +02:00
Jan Böhmer
60325e797d
Fixed the use of the removed ClassMetadataInfo constants
2024-06-09 23:45:22 +02:00
Jan Böhmer
7d9be5ae76
Fixed wrong casing of SQLitePlatform
2024-06-09 23:36:00 +02:00
Jan Böhmer
777bfed813
Fixed doctrine middlewares
...
We now look directly onto the driver arguments instead of retrieving a database platform, for which we would need the database version.
As we modify driver specific options there, this might be the better choice anyway
2024-06-09 23:28:46 +02:00
Jan Böhmer
43ca543651
Fixed wrong signature of UTCDateTimeType
2024-06-09 23:15:14 +02:00
Jan Böhmer
205d5f8f58
Updated doctrine dbal and orm to next major version
2024-06-09 23:11:08 +02:00
RaptorDE
ee37852a72
added scan button navbar in mobile view
2024-06-09 13:02:49 +02:00
Jan Böhmer
dc14b58d73
Fixed DBInfoHelper compatibility with postgres
2024-06-09 00:46:23 +02:00
Jan Böhmer
a88a2e04cf
Added the required initial users and groups for the database migration
2024-06-09 00:11:58 +02:00
Jan Böhmer
c620beb965
Merge branch 'master' into postgres
2024-06-08 19:49:07 +02:00
Jan Böhmer
92cb9f70a1
Bumped version to 1.12.1
2024-06-08 19:23:22 +02:00
Jan Böhmer
b2059b6910
Use outline-secondary style for the sidebar toggle button
...
This makes the button a bit more subtle and fixes issue #620 that the button were not visible in darkmode
2024-06-07 23:28:59 +02:00
Jan Böhmer
0b21effb13
New Crowdin updates ( #606 )
...
* New translations security.en.xlf (Dutch)
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (English)
2024-06-07 22:49:18 +02:00
Jan Böhmer
02acafc348
Added postgres to the AbstractMultiPlatformMigration class
2024-06-06 23:11:11 +02:00
Jan Böhmer
d202ecf06f
Added support of the custom TinyInt type for postgres
2024-06-06 22:38:33 +02:00
Jan Böhmer
5402d7bedb
Increased phpunit memory limit to 1G
...
This hopefully fixed the failing github action
2024-06-06 20:04:50 +02:00
Jan Böhmer
39247f1ece
Updated dompdf to 3.0
2024-06-06 19:44:26 +02:00
Jan Böhmer
55b824d777
Updated dependencies
2024-06-06 19:40:49 +02:00
Jan Böhmer
7cc67f8bb1
Allow to configure history log settings via new settings system
2024-05-20 21:48:33 +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
26d83af298
Use new settings systems for attachments settings
2024-05-14 23:02:46 +02:00
SapuSeven
4eb223c401
Update LCSC API URL ( #612 )
2024-05-12 18:21:23 +02:00
Jan Böhmer
4876068cce
Added translations for info provider settings fields
2024-05-10 00:55:14 +02:00
Jan Böhmer
08ae313dfe
Added template to automatically generate a nice settings form from app settings
2024-05-10 00:03:25 +02:00
Jan Böhmer
3967c53468
Moved Element14 configuration logic to jbtronics/settings-bundle
2024-05-06 22:25:02 +02:00
Jan Böhmer
7ad077862c
Moved TME Provider settings to settings-bundle
2024-05-06 00:05:58 +02:00
Jan Böhmer
5a563e4f8f
Moved mouser info provider config to settings-bundle
2024-05-05 23:34:06 +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
4a99a5e68f
Bumped version to 1.12.0
2024-04-29 00:11:47 +02:00
Jan Böhmer
a96c10a13e
Made KiCAD bom import independent from the language of the header rows
...
This fixes issue #604
2024-04-29 00:09:10 +02:00
Jan Böhmer
b3b2782f45
Fixed wrong url to KiCad API in user settings if using a prefixed reverse proxy
...
This fixes issue #587
2024-04-28 23:54:52 +02:00
Jan Böhmer
1bf9f25ded
Fixed problem with kicad footprint autcomplete when using a reverse proxy in a prefixed path
...
This fixes issue #587
2024-04-28 23:27:15 +02:00
Jan Böhmer
75df0198fc
Fixed tests
2024-04-28 23:12:10 +02:00
Jan Böhmer
b70d74ae4b
Perform the duplicate check of parameter names already on initial creation
...
This fixes issue #568
2024-04-28 19:38:39 +02:00
Jan Böhmer
dfe4568991
Use a better translation for the "Is not" filter when children should also be excluded
2024-04-28 18:19:47 +02:00
Jan Böhmer
3fff354833
Fixed type conversion error in ProjectBuildType
...
This seemed only to occur, if the form field was disabled. This fixes issue #601
2024-04-28 18:09:17 +02:00
Jan Böhmer
db72dac243
Save the date when a webauthn key was used last time for 2 factor authentication and show it in user settings
2024-04-28 17:50:19 +02:00
Jan Böhmer
b886c0aeae
Removed a now unecessary workaround in the WebatuthnKey entity
2024-04-28 00:43:36 +02:00
Jan Böhmer
91b7f2752f
Added the database fields required by the new webauthn bundle versions
2024-04-28 00:31:38 +02:00
Jan Böhmer
f4a67c0224
Merge remote-tracking branch 'origin/l10n_master'
2024-04-27 23:57:44 +02:00
Jan Böhmer
c6ac0302ed
Updated dependencies
2024-04-27 23:57:31 +02:00
Jan Böhmer
39f1960135
New translations messages.en.xlf (Chinese Simplified)
2024-04-27 21:30:19 +02:00
Jan Böhmer
ffb659b228
New translations validators.en.xlf (Chinese Simplified)
2024-04-27 20:30:18 +02:00
Jan Böhmer
e93148304e
New translations messages.en.xlf (English)
2024-04-26 17:22:47 +02:00
Jan Böhmer
34940dd950
New translations messages.en.xlf (Russian) ( #602 )
2024-04-22 16:06:13 +02:00
Morgan Diepart
eda0e2fe26
Update Measurement Unit concept ( #596 )
2024-04-16 12:15:45 +02:00
Jan Böhmer
4aecfaf4e0
Fixed typo in DATABASE_URL env in debian installation guide
...
Fixes issue #592
2024-04-15 23:42:44 +02:00
Jan Böhmer
767de1dd65
Updated dependencies
2024-04-15 23:42:08 +02:00
frank-f
7a6b045030
Improve parameter parsing ( #583 )
...
* DigiKey: Skip empty values
* Move improved range detection from LCSCProvider to ParameterDTO class
Improve numeric value detection by moving extra info to value_text
* ParameterDTO: Add micro unit prefix
* Bring $value_text2 to a defined state
* ParameterDTO: Don't overwrite $unit if it's not empty
* ParameterDTO: Don't overwrite $unit if it's not empty
* Correct some inaccuacies in comments
* Added tests and fixed certain edge cases in parsing parameters
* Added more tests for parameter parsing
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2024-04-15 22:33:27 +02:00
Jan Böhmer
fdf64f9e9a
New Crowdin updates ( #570 )
...
* New translations security.en.xlf (Polish)
* New translations validators.en.xlf (Polish)
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (Russian)
* New translations validators.en.xlf (Russian)
* New translations messages.en.xlf (Italian)
2024-04-15 21:33:58 +02:00
Henning Kleen
835b954140
fix import of parts containing shopping information ( #594 )
2024-04-15 21:32:04 +02:00
frank-f
9770ffa46b
LCSC: Follow first 'pdfUrl' link to get real datasheet URL ( #582 )
...
* Follow first 'pdfUrl' link to get real datasheet URL
* Fix @param
* Fix @param
* Remove User-Agent header
It's not needed - LCSC was just having some server troubles over the weekend
* Added comment explaining the json_decode in getRealDatasheetUrl
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2024-04-03 12:38:20 +02:00
Jan Böhmer
da75cca97c
Fixed missing/wrong group attributes on Parameters
...
This fixes issue #584
2024-04-02 22:41:30 +02:00
Jan Böhmer
d767e7472d
Updated dependencies
2024-04-02 22:19:58 +02:00
Jan Böhmer
9b8d4c518a
Updated dependencies
2024-03-23 20:45:09 +01:00
Jan Böhmer
96f5b2beab
Bumped version to 1.11.3
2024-03-16 18:55:21 +01:00
Jan Böhmer
b9dc349d9a
Merge remote-tracking branch 'origin/l10n_master'
2024-03-16 18:50:49 +01:00
Jan Böhmer
07d6e5c1d6
Updated dependencies
2024-03-16 18:45:06 +01:00
Jan Böhmer
488c8c5526
KiCAD API: Inherit the reference prefix from category if it was defined
2024-03-16 18:31:35 +01:00
Jan Böhmer
fb0abf3c1a
New translations messages.en.xlf (English)
2024-03-16 01:20:29 +01:00
Jan Böhmer
a954712197
New Crowdin updates ( #567 )
...
* New translations messages.en.xlf (Czech)
* New translations validators.en.xlf (Czech)
2024-03-14 15:08:17 +01:00
au-ee
7c258d231b
install sudo to be able to do db migrations from the container's console ( #566 )
2024-03-12 11:03:33 +01:00
Jan Böhmer
c4bc1a4c51
Merge branch 'pr-564'
2024-03-11 22:24:26 +01:00
Jan Böhmer
0d9c86fcd3
Added brackets around if body
2024-03-11 22:24:21 +01:00
Frank Fenor
5454bb5b07
Avoid throwing an exception if Content-Disposition header doesn't exist or contains illegal things
2024-03-11 19:16:01 +01:00
Jan Böhmer
04d5cd741b
Merge remote-tracking branch 'origin/frankenphp'
2024-03-11 11:04:45 +01:00
Jan Böhmer
3191028f74
Added an github action to build the frankenPHP docker image
2024-03-10 23:44:34 +01:00
Jan Böhmer
49f82127aa
Do not copy the content of public/media to docker image
2024-03-10 20:49:33 +01:00
Jan Böhmer
28d86c8885
Show info about kernel runtime parameters on server info page
2024-03-10 20:32:43 +01:00
Jan Böhmer
1548b9f8c8
FrankenPHP dockerfile is now working
2024-03-10 20:22:47 +01:00
Jan Böhmer
7271c8c6f1
Restructured frankenphp structure
2024-03-10 19:50:21 +01:00
Jan Böhmer
aa0ec15e67
Allow to override the root user CLI check with COMPOSER_ALLOW_SUPERUSER
2024-03-10 19:30:14 +01:00
Jan Böhmer
7f78822a12
Added frankenphp runtime for symfony
2024-03-10 18:49:54 +01:00
Jan Böhmer
f8e92f98d0
Updated the dockerignore from the values of frankenphp
2024-03-10 18:09:56 +01:00
Jan Böhmer
8d816ab1ee
Updated recipes to update docker related files
2024-03-10 18:08:22 +01:00
Jan Böhmer
19967bd42e
Added files from frankenphp symfony skeleton
2024-03-10 18:05:21 +01:00
Jan Böhmer
d3a819613f
Bumped version to 1.11.2
2024-03-10 01:40:04 +01:00
Jan Böhmer
e33f6a20bb
Merge remote-tracking branch 'origin/l10n_master'
2024-03-10 01:39:21 +01:00
Jan Böhmer
02b736c92f
New translations messages.en.xlf (German)
2024-03-10 01:31:46 +01:00
Jan Böhmer
e339c79c5a
New translations messages.en.xlf (English)
2024-03-10 01:20:25 +01:00
Jan Böhmer
945fb9384e
Remove preview image attachment during if the attachment got deleted during cloning
...
This fixes issue #559
2024-03-10 01:19:52 +01:00
Jan Böhmer
a792a140f7
Show a success flash message, after mass creation submit
2024-03-10 00:55:22 +01:00
Jan Böhmer
ed4728fdb1
Correcty handle already existing elements in mass creation
...
This fixes issue #543
2024-03-10 00:51:37 +01:00
Jan Böhmer
92a8107b9d
Bumped to 1.11.2-dev
2024-03-10 00:20:05 +01:00
Jan Böhmer
1af8558cf4
Use position: fixed for footer in error pages to get better positioning in the popup details fram
2024-03-10 00:19:47 +01:00
Jan Böhmer
b781150ee9
Show the error page in a pop up in prod environment too
2024-03-10 00:12:54 +01:00
Jan Böhmer
59c4248efe
Strip HTML tags from more LCSC fields
...
This should hopefully fix issue #553
2024-03-09 23:09:49 +01:00
Jan Böhmer
a5b101a0ea
Fixed error, when retrieving prices in USD from LCSC
...
This fixes issue #552 . It seems that LCSC changed their currency symbol for US-Dollar
2024-03-09 22:54:12 +01:00
Jan Böhmer
03854aa207
Updated dependencies
2024-03-09 21:42:43 +01:00
Jan Böhmer
c989be2719
Retrieve the part mass from mouser API if available
2024-03-09 21:34:05 +01:00
Jan Böhmer
d22e3ddcd7
New translations validators.en.xlf (German)
2024-03-09 21:20:19 +01:00
Jan Böhmer
040168b3d4
New translations validators.en.xlf (Italian)
2024-03-09 08:20:18 +01:00
Jan Böhmer
ac5c5555d5
New translations validators.en.xlf (English)
2024-03-09 00:30:36 +01:00
Jan Böhmer
1e6065f732
Show 64-bit recommendation in check requirements CLI and server info page
2024-03-09 00:23:18 +01:00
Jan Böhmer
cb7be460d7
Add 64-bit recommendation to installation docs
2024-03-09 00:13:40 +01:00
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
18c697f472
Document the available Part-DB specific filters and functions in twig mode
2024-03-07 13:23:58 +01:00
Jan Böhmer
4adb9a5266
Document available fields in twig mode
...
Related to #546
2024-03-07 13:11:17 +01:00
Jan Böhmer
a72a7ed1fc
Explain the advantages of the twig mode
2024-03-07 12:46:30 +01:00
Jan Böhmer
838997b959
Updated the list of allowed object methods in twig label mode
2024-03-06 21:39:49 +01:00
Jan Böhmer
5736816b2b
Document on how to use the placeholder function and placeholder twig filter in label twig mode
...
Related with #546
2024-03-06 21:22:47 +01:00
Jan Böhmer
38b5a84c4f
Added some more useful variables to the twig label generator
2024-03-06 21:11:31 +01:00
Jan Böhmer
dff1ef04bf
Added placeholders filter to utilize the placeholders in twig mode
...
Fixes #546
2024-03-06 21:00:49 +01:00
Jan Böhmer
757201cafa
Allow access of twig sandbox to a few more extensions and functions
2024-03-06 20:21:07 +01:00
Jan Böhmer
1da3225e1d
Renamed SandboxedTwigProvider to SandboxedTwig Factory
2024-03-06 20:08:35 +01:00
Jan Böhmer
a2cd5652d2
Updated the list of tags, filters and functions which are allowed inside the sandboxed twig
2024-03-06 20:03:12 +01:00
Jan Böhmer
dc7c13479c
Add proper length constraint validations to all string mapped ORM fields, so they show a nice validation error, instead of a 500 error
...
Fixes issue #544
2024-03-06 19:46:11 +01:00
Jan Böhmer
113e5b3bcd
Escape not only the pathes of FileDTO objects returned by info providers but the preview image url too.
...
This fixes the second issue in #521
2024-03-05 22:52:27 +01:00
Jan Böhmer
925f5c0ce0
Fixed phpstan bug
2024-03-04 22:42:24 +01:00
Jan Böhmer
0c53f5e186
Bumped to version 1.11.1
2024-03-04 22:38:43 +01:00
Jan Böhmer
2bcbe1d0be
Made mouser price info parsing more flexible
...
Austrian mouser returned some other formatted string, which caused problems on the old method. This fixes issue #540
2024-03-04 22:38:15 +01:00
Jan Böhmer
0e68f0783f
Assume that a mouser part is active, if mouser has parts instock even if it is marked as "new part"
...
Related to #540
2024-03-04 22:18:35 +01:00
Jan Böhmer
91e8711fdf
Fixed problems with dynamically adding structural entities, when the arrows had spaces around them
...
Related to #538
2024-03-04 22:10:28 +01:00
Jan Böhmer
cf39e1f259
Do not split up pasted input on structrual entity selectors. This caused a part of the string to get split/lost
...
Fixes issue #538
2024-03-04 21:51:26 +01:00
Jan Böhmer
0cd631774b
Fixed compatibility error with webauthn library which prevented 2FA via webauthn
2024-03-04 21:20:57 +01:00
Jan Böhmer
df53cf2540
Pass LCSC related env from the docker container to Part-DB
...
This fixes issue #539
2024-03-04 20:44:49 +01:00
Jan Böhmer
b734fc09f3
Release of version 1.11.0
2024-03-03 23:16:52 +01:00
Jan Böhmer
1fe5c56d02
Merge remote-tracking branch 'origin/l10n_master'
2024-03-03 23:08:10 +01:00
Jan Böhmer
af98842090
Added tests for the remaining API endpoints
2024-03-03 23:07:55 +01:00
Jan Böhmer
3d67ad870a
Added tests for all API endpoints of Structural elements
2024-03-03 21:52:26 +01:00
Jan Böhmer
7b5ae70de3
Added tests for the Attachments API endpoint
2024-03-03 21:02:15 +01:00
Jan Böhmer
18c80f6b64
Use the route attribute from the correct namespace
2024-03-03 20:37:33 +01:00
Jan Böhmer
d49bb1f4b5
Removed unused import statements
2024-03-03 20:34:36 +01:00
Jan Böhmer
87533b6031
Fixed further inspection issues
2024-03-03 20:33:24 +01:00
Jan Böhmer
33e36f3d2b
Fixed issue with EntityImported that was caused by the changes to PartNormalizer
...
We now have a possibility to skip API Platforms serializer subsystem
2024-03-03 20:24:24 +01:00
Jan Böhmer
42e604245c
Fixed some inspection issues
2024-03-03 19:57:31 +01:00
Jan Böhmer
33475dca66
Updated dependencies
2024-03-03 19:51:47 +01:00
Jan Böhmer
7a90d3f281
Rewrote PartNormalizer so that it does not use ObjectNormalizer directly
2024-03-03 19:28:44 +01:00
Jan Böhmer
e53da5ad06
Added documentation on how to upload files and download URLs through the API on attachments
2024-03-03 19:04:25 +01:00
Jan Böhmer
f5bbb8bdd6
Merge branch 'upload_overhaul'
2024-03-03 18:55:58 +01:00
Jan Böhmer
d5b07bbaa3
Added additional type hints
2024-03-03 18:55:50 +01:00
Jan Böhmer
3585b8a56a
Adapter attachment upload forms to the new system
2024-03-03 18:52:06 +01:00
Jan Böhmer
0c33059c4e
Allow to upload files to attachments by passing a base64 encoded file
2024-03-03 18:40:35 +01:00
Jan Böhmer
0824e11570
Fixed infinite loop during deserialization on attachment PATCH operations
2024-03-03 17:58:25 +01:00
Jan Böhmer
0c4f5bcb3a
New translations messages.en.xlf (German)
2024-03-03 16:50:19 +01:00
Jan Böhmer
aad8dcbadf
New translations messages.en.xlf (Italian)
2024-03-03 11:03:22 +01:00
Jan Böhmer
193d5c8663
New translations messages.en.xlf (Czech)
2024-03-03 10:03:25 +01:00
Jan Böhmer
3734541743
Describe the new way to create attachments and parameters via API
2024-03-03 00:49:44 +01:00
Jan Böhmer
f3bea68011
Automatically detect the discriminator type of attachments and parameters based on the chosen element IRI
...
Related to issue #502
2024-03-02 23:15:00 +01:00
Jan Böhmer
e843286ea7
Allow to create parameters via the API
2024-03-02 21:49:16 +01:00
Jan Böhmer
e3d2012809
Use a own discriminator map for the Attachment API Platform discriminator
2024-03-02 21:45:16 +01:00
Jan Böhmer
ce768764cc
Allow to create Attachments for all entity types using the API
...
This fixes issue #502
2024-03-02 21:39:30 +01:00
Jan Böhmer
16b3d58242
Implemented basic discriminator map for Attachment API access. Now we can properly create part attachments using a POST operation
2024-03-02 21:21:16 +01:00
Jan Böhmer
fad8f26eaa
Added additional projects related filters to part table views
2024-03-02 19:18:55 +01:00
Jan Böhmer
04d1e84596
Added a filter to filter for parts which are used in a specific project
...
Related to issue #516
2024-03-02 19:00:30 +01:00
Jan Böhmer
934acca934
Added an column to part table view to show which projects a part uses.
...
Fixes issue #516
2024-03-02 18:48:31 +01:00
Jan Böhmer
639c98237a
New translations messages.en.xlf (English)
2024-03-02 18:40:50 +01:00
Jan Böhmer
a6db67ab33
Fixed margins of the upload files button
2024-03-02 18:33:20 +01:00
Jan Böhmer
b92553f480
Added button to create attachments by uploading multiple files
...
This fixes issue #481
2024-03-02 18:26:50 +01:00
Jan Böhmer
f5d53dc305
Make the checkboxes of datatables look like regular bootstrap checkboxes
2024-03-02 01:28:15 +01:00
Jan Böhmer
b7ce91e2d8
Use the new system of datatables-select 2.0 where checkboxes are true checkbox fields
2024-03-02 01:04:28 +01:00
Jan Böhmer
4295141fb6
Updated dependencies
2024-03-01 21:42:42 +01:00
Jan Böhmer
973709c2f4
Updated dependencies
2024-02-29 23:46:39 +01:00
Jan Böhmer
a72a61091a
Only add the amountSum select for part tables if it is really required
2024-02-29 23:35:05 +01:00
Jan Böhmer
c635637c00
Fixed problem that tables could not be sorted by manufacturers, categories, etc.
2024-02-29 23:13:17 +01:00
Jan Böhmer
77a5cadf51
Merge branch 'quicksearch'
2024-02-29 23:04:42 +01:00
Jan Böhmer
e0ef376cf0
Fixed various problems with the quicksearch
2024-02-29 23:00:21 +01:00
Jan Böhmer
04aeab7ea6
Renamed the quicksearch controller
2024-02-29 22:50:26 +01:00
Jan Böhmer
0dea26f67d
Do not allow search if query is empty
2024-02-29 22:48:07 +01:00
Jan Böhmer
1815162907
Added a search bar to homepage
2024-02-29 22:46:19 +01:00
Jan Böhmer
e00988047c
Added highlighting to search results
2024-02-29 22:20:30 +01:00
Jan Böhmer
faadd8e9a4
Improved layout for autocomplete dropdown
2024-02-29 21:53:28 +01:00
Jan Böhmer
409dcce3c7
Use correct translations for livesearch field in navbar
2024-02-29 20:39:27 +01:00
Jan Böhmer
746ba398a9
Fixed missing dropdown after some link navigations
2024-02-28 22:08:32 +01:00
Jan Böhmer
faa3bea3ab
Allow to navigate to dropdown entries by keyboard
2024-02-28 22:06:54 +01:00
Jan Böhmer
f70f6c39ce
Fixed error that algolia autocomplete input appeared multiple times after a link was clicked
2024-02-28 22:00:12 +01:00
Jan Böhmer
25a8642749
Make algolia autocomplete headers blue in bootstrap theme
2024-02-28 21:41:45 +01:00
Jan Böhmer
41e45599d4
Use a modified theme for algolia/autocomplete, which plays better with bootstrap
2024-02-28 21:38:11 +01:00
Jan Böhmer
293afc3998
New Crowdin updates ( #532 )
...
* New translations messages.en.xlf (Chinese Simplified)
* New translations messages.en.xlf (Chinese Simplified)
2024-02-28 13:00:59 +01:00
Jan Böhmer
c662dcfcd9
Started to make the autocomplete theme more bootstrap like
2024-02-27 23:39:49 +01:00
Jan Böhmer
e16aa31ddf
Fixed z-index of autocomplete dropdown
2024-02-27 23:05:24 +01:00
Jan Böhmer
c87f809d12
Added header to part livesearch dropdown part results
2024-02-27 23:02:05 +01:00
Jan Böhmer
a3dcd1a0a8
Added recent searches to search
2024-02-27 00:39:38 +01:00
Jan Böhmer
4398b8698c
Set proper darkmode attribute for algolia autocomplete
2024-02-27 00:33:48 +01:00
Jan Böhmer
18eb0467ee
Integrated algolia autocomplete search into navbar
2024-02-27 00:28:17 +01:00
Jan Böhmer
60942c8254
Added very basic livesearch feauture using algolia autocomplete
2024-02-27 00:08:21 +01:00
Jan Böhmer
c7fac06b65
Updated dependencies
2024-02-25 19:44:34 +01:00
Jan Böhmer
2e5b2c8b7d
Removed amountSum subquery from the detail query, as its result is not used anywhere
2024-02-25 01:46:35 +01:00
Jan Böhmer
fbd095ab50
Only add the joins to the parts table filter query if they are really required
...
This should improve the performance of the queries slightly
2024-02-25 01:40:25 +01:00
Jan Böhmer
b176cb1ae1
Use a much faster query to retrieve the total number of rows in datatables
...
This should increase performance on part tables
2024-02-25 00:58:26 +01:00
Jan Böhmer
2b65926865
Cache the sidebar trees to save some database calls
2024-02-25 00:48:15 +01:00
Jan Böhmer
a5d184baef
Use rawurlencode instead of urlencode to sanatize URL-unsafe characters returned by the info providers.
2024-02-24 23:58:27 +01:00
Jan Böhmer
12e9497ccf
Sanatize remaining invalid URL characters somehow returned by InfoProviders
...
This fixes issue #521
2024-02-24 23:55:31 +01:00
Jan Böhmer
4b7d200aa2
Retrieve category info from LCSC
2024-02-24 23:32:50 +01:00
Jan Böhmer
e937432d1e
Fixed phpstan issue
2024-02-24 23:23:46 +01:00
Jan Böhmer
e1f1d10833
Added test for change on ParamterDTO done by PR #530
2024-02-24 22:51:02 +01:00
Jan Böhmer
05ec7ab665
Merge branch 'master' of https://github.com/Part-DB/Part-DB-symfony
2024-02-24 22:49:05 +01:00
Jan Böhmer
dbd841a723
Updated dependencies
2024-02-24 22:48:52 +01:00
frank-f
e8bc93f67a
Fix RegEx to handle negative values and Ohms without prefix ( #530 )
...
* Fix RegEx to include negative values
* Update RegEx to handle Ω without prefix
* Update RegEx to include %
* Handle plus/minus values as range
* Fix copy&paste error
* Change minimum value to negative
* Escape decimal point and add slash to valid unit characters to be able to pick up for example "ppm/°C"
* Skip empty values
2024-02-24 22:48:38 +01:00
Jan Böhmer
0d6ab793ce
Fixed typos in README.md
2024-02-23 14:59:28 +01:00
Jan Böhmer
eab4d6f600
Added documentation about LCSC provider
2024-02-23 14:55:56 +01:00
Jan Böhmer
861c0174df
Fixed more typos and grammar issues in docs
2024-02-23 14:26:17 +01:00
Jan Böhmer
5d68922f2e
Fixed some typos and grammar issues in documentation
2024-02-23 13:56:23 +01:00
Cody Jacob
20ee16e3c0
Update eda_integration.md ( #528 )
...
spelling mistakes.
--grammerly was used
2024-02-23 13:13:15 +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
015b69e601
Merge branch 'lcsc-master'
2024-02-22 23:33:46 +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
d600cb4b9a
Improved parsing of parameters. Values with unit and ranges get now properly parsed into the Part-DB structures
2024-02-22 23:22:52 +01:00
Jan Böhmer
0bbfaf9893
Improved typing and formatting of LCSC provider slightly
2024-02-22 22:41:09 +01:00
Nexrem
e3e562a154
Add LCSC Info Provider using their public API
2024-02-22 15:32:33 +01:00
Jan Böhmer
49034fabf2
Added phpstan template annotations to Voters to fix phpstan issues
2024-02-19 00:01:16 +01:00
Jan Böhmer
e9d03a0c95
Fixed "Loading..." message on datatables with no content
2024-02-18 20:31:31 +01:00
Jan Böhmer
d7e68605c9
Fixed row coloring issue with the new datatables
2024-02-18 20:10:52 +01:00
Jan Böhmer
51900b4b62
Fixed visual bugs introduced by the datatables upgrade
2024-02-18 19:58:13 +01:00
Jan Böhmer
67a1d06f37
Updated datatables version
2024-02-18 19:32:54 +01:00
Jan Böhmer
395af17d96
Updated dependencies
2024-02-18 19:25:52 +01:00
Jan Böhmer
88f4feaa81
Revert "Updated dependencies"
...
This reverts commit 4d4570701b .
2024-02-15 11:41:21 +01:00
Jan Böhmer
b6b2e44231
Dont prefetch settings page in navbar with turbos instaclick behavior as this page might not be accessible without additional authentication
2024-02-14 22:48:36 +01:00
Jan Böhmer
4d4570701b
Updated dependencies
2024-02-14 22:46:01 +01:00
Jan Böhmer
178a825e93
New Crowdin updates ( #517 )
...
* New translations messages.en.xlf (Russian)
* New translations validators.en.xlf (Russian)
* New translations security.en.xlf (Russian)
2024-02-12 18:37:42 +01:00
Jan Böhmer
f67ce2b0a3
Updated unifont to latest version
2024-02-08 22:48:50 +01:00
Jan Böhmer
10918ccb0d
Merge branch 'turbo-upgrade'
2024-02-08 22:20:50 +01:00
Jan Böhmer
698fadc00c
Upgraded markedjs package
2024-02-08 22:20:44 +01:00
Jan Böhmer
b16760988d
Updated CKEDITOR to version 41
2024-02-08 22:17:00 +01:00
Jan Böhmer
7e3e1e2705
Use new turbo morph features
2024-02-08 22:05:57 +01:00
Jan Böhmer
e5e039a1ca
Use hotwired/turbo 8
2024-02-08 22:01:05 +01:00
Jan Böhmer
43d8c3c208
Bumped version to 1.10.7
2024-02-06 22:50:08 +01:00
Jan Böhmer
3cc1fb40f0
Fixed problem that no datastructures with an parent element could be created/edited via API
...
This fixes issue #512 .
The error was introduced when trying to allow the modification of attachments/parameters throught the parent element. We need a seperate write scope to the element, or we end up with an infinite loop.
2024-02-06 22:42:25 +01:00
Jan Böhmer
fea8109789
Fixed permission denied error, when accessing a user info page
2024-02-06 22:21:43 +01:00
Jan Böhmer
ff2aafabbd
Fixed permission denied error on log details page for BOMEntries
2024-02-06 22:18:09 +01:00
Jan Böhmer
e27b15691a
Fixed permission denied error, when trying to access the log details page of a LabelProfile
2024-02-06 22:09:02 +01:00
Jan Böhmer
47ddcca065
Fixed exception on label profile admin, if the label profile had an preview attachment
2024-02-06 21:59:53 +01:00
Jan Böhmer
0a7a7c979c
Fixed problem with navbar height if search button has two words text
2024-02-06 21:53:13 +01:00
Jan Böhmer
b37ae97673
Added chinese to navbar language picker
2024-02-06 21:50:07 +01:00
Jan Böhmer
fa9e571b41
Merge branch 'dependabot/github_actions/codecov/codecov-action-4'
2024-02-06 21:47:30 +01:00
Jan Böhmer
f0fd3d8c1d
Updated dependencies
2024-02-06 21:47:18 +01:00
dependabot[bot]
a1bdfab80f
Bump codecov/codecov-action from 3 to 4 ( #509 )
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-06 21:44:36 +01:00
Jan Böhmer
0d5b7a0711
New translations messages.en.xlf (Chinese Simplified) ( #511 )
2024-02-06 21:42:33 +01:00
Jan Böhmer
852107f7f6
New Crowdin updates ( #510 )
...
* New translations messages.en.xlf (Chinese Simplified)
* New translations validators.en.xlf (Chinese Simplified)
* New translations security.en.xlf (Chinese Simplified)
* New translations messages.en.xlf (Chinese Simplified)
* New translations security.en.xlf (Chinese Simplified)
2024-02-06 09:41:15 +01:00
dependabot[bot]
77b017381a
Bump codecov/codecov-action from 3 to 4
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3 to 4.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-05 17:15:54 +00:00
Jan Böhmer
75ce9c4370
Fixed problem with multi escaping in title tag
...
This should fix issue #505
2024-02-03 00:50:38 +01:00
Jan Böhmer
a8d12c9c4c
Updated dependencies
2024-02-03 00:40:37 +01:00
Jan Böhmer
3294ba5964
Mention czech and danish translation in README
2024-02-02 23:44:06 +01:00
Jan Böhmer
2bd3a6a745
Updated bs-treeview to 1.0.6 where the issue that child nodes of already expanded nodes dont get expanded on an select all
...
This fixes issue #506
2024-02-02 23:42:36 +01:00
Jan Böhmer
0d3c670f9d
Release version 1.10.6
2024-01-29 21:30:18 +01:00
Jan Böhmer
998b3ed075
Fixed typo in german translation
2024-01-29 21:29:14 +01:00
Jan Böhmer
a390b1e2a0
Upgraded dependencies
2024-01-29 21:28:21 +01:00
Jan Böhmer
fb493cc837
Fixed export of entities, if their name contained slash or other reserved charcters
2024-01-29 21:25:30 +01:00
Jan Böhmer
2f17d5f3f5
Fixed problem that trying to request nl language version of a page caused an exception
...
If the translation files dont contain any content, they are seen as invalid and cause this error. Therefore delete it.
2024-01-29 21:12:01 +01:00
Jan Böhmer
3a2f3ce1cc
Fix problem with cache key generation if the username contained an @ sign or any other special character
...
This fixes issue #504
2024-01-29 21:08:25 +01:00
Jan Böhmer
1b5eea4750
Register the unselect handler on turbo:load instead of visit, to avoid problems that the newly clicked treeview node gets unselected too.
2024-01-28 21:57:42 +01:00
Jan Böhmer
cb9e90ddc9
Load the link again when clicking a already selected treeview node, instead of just unselecting it
2024-01-28 21:48:32 +01:00
Jan Böhmer
03c7a71311
Release version 1.10.5
2024-01-28 21:20:05 +01:00
Jan Böhmer
e5b9ce9c25
Describe the creation of parameters/attachments workaround in API docs
...
Related to issue #502
2024-01-28 20:59:13 +01:00
Jan Böhmer
c8cde94ee3
Fixed problem that attachment API responses, did not contain an @id and @context attribute
2024-01-28 20:26:03 +01:00
Jan Böhmer
aad62f2599
Disable POST operations for Attachment and AbstractParameter groups for now, as they can not work properly
...
As they work on abstract classes, they can not be initialized directly currently and you need to create them via a PATCH operation on their owning elements.
2024-01-28 19:53:33 +01:00
Jan Böhmer
7ae0fad356
Allow to create attachments and parameters via PATCH operations on their owning elemens as direct POST operations are not possible yet
...
This partly fixes issue #502
2024-01-28 19:50:59 +01:00
Jan Böhmer
3548f12deb
Added info on how to execute commands inside docker container to docs
2024-01-28 18:30:16 +01:00
Jan Böhmer
a161e3a520
Load the link again when clicking a already selected treeview node, instead of just unselecting it
...
This fixes the somehow unintuitive behavior described in issue #458
2024-01-27 22:22:07 +01:00
Jan Böhmer
8018e8687b
Unselect a treeview node, if the referenced page changes
...
Related to issue #458
2024-01-27 21:12:21 +01:00
Jan Böhmer
e6ae73db00
Merge remote-tracking branch 'origin/l10n_master'
2024-01-27 20:33:31 +01:00
Jan Böhmer
d720cde693
Upgraded dependencies
2024-01-27 20:33:27 +01:00
Jan Böhmer
d111905ba0
Added hint to docs, that the mouser API dont provide all infos availble
...
See issue #503
2024-01-27 20:31:12 +01:00
Jan Böhmer
4b41e932d2
New translations messages.en.xlf (Czech)
2024-01-26 09:44:31 +01:00
Jan Böhmer
ee3ad403fb
Fixed exception if no content type or accept header are given
2024-01-26 00:36:14 +01:00
Jan Böhmer
2a7c131786
New translations messages.en.xlf (German)
2024-01-26 00:28:58 +01:00
Jan Böhmer
2861f4fdb8
New translations messages.en.xlf (English)
2024-01-26 00:16:07 +01:00
Jan Böhmer
6f24e7f077
Fixed phpunit tests caused by typo in Autowire attribute
...
This caused the whole thing to behave very very weirdly
2024-01-26 00:12:37 +01:00
Jan Böhmer
08e7e3f2bf
Fixed phpstan issue
2024-01-25 23:41:43 +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
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
e8d670971e
Merge remote-tracking branch 'origin/dependabot/github_actions/actions/cache-4'
2024-01-25 22:19:32 +01:00
Jan Böhmer
fa43ae91cb
Merge remote-tracking branch 'origin/l10n_master'
2024-01-25 22:19:26 +01:00
Jan Böhmer
e8eb102feb
Updated dependencies
2024-01-25 22:19:06 +01:00
Jan Böhmer
e4634ecc2c
Fixed wrong header in API authentication docs
...
This fix issue #494
2024-01-25 13:22:01 +01:00
Jan Böhmer
0307a50890
New translations messages.en.xlf (Czech)
2024-01-24 20:01:38 +01:00
Jan Böhmer
af1852bb3f
We are in development of 1.10.5 now
2024-01-24 11:57:17 +01:00
Jan Böhmer
046803b9c4
Added danish to prefered languages
2024-01-24 11:56:56 +01:00
Jan Böhmer
daabb9f55e
New Crowdin updates ( #491 )
...
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations security.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
2024-01-24 11:53:55 +01:00
dependabot[bot]
b177db82f5
Bump actions/cache from 3 to 4
...
Bumps [actions/cache](https://github.com/actions/cache ) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases )
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md )
- [Commits](https://github.com/actions/cache/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/cache
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-01-22 17:15:29 +00:00
Jan Böhmer
6b2ebd2434
New Crowdin updates ( #485 )
...
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
2024-01-22 11:52:37 +01:00
Jan Böhmer
ef6dd0febc
Bumped version to 1.10.4
2024-01-16 23:06:20 +01:00
Jan Böhmer
2cb8cf72ba
Merge remote-tracking branch 'origin/l10n_master'
2024-01-16 23:05:53 +01:00
Jan Böhmer
7430ecd7a6
Invalidate part related cache tags properly, if a part is created, changed or removed
...
This fixes the issue with KiCAD integration described in issue #483
2024-01-16 22:49:01 +01:00
Jan Böhmer
dcf85f9d5e
Add hint about bad unicode treatment in sqlite to dabase choosing guide
...
Related to issue #465
2024-01-16 22:10:29 +01:00
Jan Böhmer
427a31f1b6
New translations messages.en.xlf (Czech)
2024-01-15 23:30:23 +01:00
Jan Böhmer
be4268c6cd
New translations messages.en.xlf (Czech)
2024-01-15 22:32:00 +01:00
Jan Böhmer
a1660cd888
Bumped version to 1.10.3
2024-01-15 20:46:07 +01:00
Jan Böhmer
4645227a40
Upgraded dependencies
2024-01-15 20:44:51 +01:00
Jan Böhmer
1da2b9eecb
Fixed javascript error caused by CKEDITOR
...
This was not really a problem, just annoying. But now it is fixed.
Fixes issue #457
2024-01-15 20:39:27 +01:00
Jan Böhmer
f83d4103a6
Use a own marked instance for the MarkdownController instead of the global one
...
This prevents from configuring plugins multiple times which can lead to a heap overflow.
This fixes issue #478
2024-01-15 20:19:10 +01:00
Jan Böhmer
9e28d39095
Upgraded markedjs
2024-01-15 20:05:16 +01:00
Jan Böhmer
6d838c41ce
Merge remote-tracking branch 'origin/l10n_master'
2024-01-15 20:00:29 +01:00
Jan Böhmer
af0931a86e
New translations messages.en.xlf (Czech)
2024-01-15 11:40:38 +01:00
Jan Böhmer
a4117d024e
New translations messages.en.xlf (Czech)
2024-01-15 10:41:53 +01:00
Jan Böhmer
6b122d6040
New translations messages.en.xlf (Czech)
2024-01-15 09:41:58 +01:00
Jan Böhmer
6e66a2bf7a
New translations messages.en.xlf (Danish)
2024-01-14 22:41:43 +01:00
Jan Böhmer
37edb73b3e
New translations messages.en.xlf (Danish)
2024-01-14 21:41:53 +01:00
Jan Böhmer
a3b5243ffc
Install mysqldump in docker, so the builtin backup solution can be used
...
Fixes issue #479
2024-01-14 21:31:37 +01:00
Jan Böhmer
b12a2c6aab
Added czech to language picker in navbar
2024-01-14 20:55:51 +01:00
Jan Böhmer
1379f896c9
Merge remote-tracking branch 'origin/l10n_master'
2024-01-14 20:54:52 +01:00
Jan Böhmer
0a31714717
Upgraded dependencies
2024-01-14 20:54:35 +01:00
Jan Böhmer
5f8d822e8a
New translations messages.en.xlf (Czech)
2024-01-14 20:40:18 +01:00
Jan Böhmer
ff6624b7b3
New translations messages.en.xlf (Czech)
2024-01-14 17:30:21 +01:00
Jan Böhmer
645837dd67
New translations validators.en.xlf (Czech)
2024-01-14 16:30:19 +01:00
Jan Böhmer
eac8f4cd37
New translations messages.en.xlf (Czech)
2024-01-14 16:30:18 +01:00
Jan Böhmer
7e4e9138d3
New translations messages.en.xlf (Czech)
2024-01-14 15:30:21 +01:00
Jan Böhmer
ede7fa3149
New translations messages.en.xlf (Czech)
2024-01-14 12:30:17 +01:00
Jan Böhmer
aa1405a64b
New translations messages.en.xlf (Czech)
2024-01-14 11:31:54 +01:00
Jan Böhmer
507c2640a9
New translations messages.en.xlf (Danish)
2024-01-14 01:40:19 +01:00
Jan Böhmer
f6e403d552
New translations messages.en.xlf (Danish)
2024-01-14 00:40:19 +01:00
Jan Böhmer
c1fe3b9d97
New translations messages.en.xlf (Danish)
2024-01-13 20:10:21 +01:00
Jan Böhmer
c85882a0b1
New translations messages.en.xlf (Danish)
2024-01-13 19:10:17 +01:00
Jan Böhmer
21203fc527
New translations messages.en.xlf (Danish)
2024-01-13 18:10:18 +01:00
Jan Böhmer
69cfe51db0
New translations messages.en.xlf (Danish)
2024-01-13 17:10:17 +01:00
Jan Böhmer
9a2133d176
New translations messages.en.xlf (Danish)
2024-01-13 14:21:52 +01:00
Jan Böhmer
f2861fbcf0
New translations messages.en.xlf (Danish)
2024-01-13 13:21:59 +01:00
Jan Böhmer
83d7de0a22
New Crowdin updates ( #475 )
...
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Czech)
2024-01-12 10:59:08 +01:00
Jan Böhmer
d80e9bab12
New Crowdin updates ( #474 )
...
* New translations messages.en.xlf (Danish)
* New translations validators.en.xlf (Danish)
* New translations security.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations validators.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Czech)
* New translations validators.en.xlf (Czech)
* New translations security.en.xlf (Czech)
* New translations messages.en.xlf (Danish)
* New translations messages.en.xlf (Czech)
* New translations validators.en.xlf (Czech)
* New translations security.en.xlf (Czech)
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Czech)
* New translations messages.en.xlf (Dutch)
* New translations messages.en.xlf (Dutch)
2024-01-12 10:01:44 +01:00
Jan Böhmer
d9f58b935a
Fixed some issues when importing parameters from partkeepr
...
Before values were not properly imported, if there was not a normalized version yet and units were not correctly imported
2024-01-11 00:02:32 +01:00
Jan Böhmer
301ecf6c95
Do not import prices with zero price as pricedetails during partkeepr import
...
These are useless placeholders by partkeepr
2024-01-10 23:40:06 +01:00
Jan Böhmer
be1e17b3be
Merge remote-tracking branch 'origin/l10n_master'
2024-01-10 23:19:29 +01:00
Jan Böhmer
86f19d6b25
Updated dependencies
2024-01-10 23:19:16 +01:00
Jan Böhmer
e2146332dc
Fixed problems with invalid dates during PartKeepr import with MySQL
...
See issue #473
2024-01-10 23:18:02 +01:00
Jan Böhmer
e283e2db57
New translations messages.en.xlf (Danish)
2024-01-10 22:50:23 +01:00
Jan Böhmer
22377daa8d
New translations messages.en.xlf (Danish)
2024-01-10 21:50:24 +01:00
Jan Böhmer
498e0ae2c7
New translations messages.en.xlf (Russian)
2024-01-10 19:10:49 +01:00
Jan Böhmer
12ea949739
New translations messages.en.xlf (Russian)
2024-01-10 18:10:29 +01:00
Jan Böhmer
436e73a2e9
New translations messages.en.xlf (Russian)
2024-01-10 15:05:35 +01:00
Jan Böhmer
1b65dcfcf1
New translations messages.en.xlf (Russian)
2024-01-10 14:01:39 +01:00
Jan Böhmer
8095f1b995
New translations security.en.xlf (Danish)
2024-01-10 00:12:25 +01:00
Jan Böhmer
a20a3e65fa
New translations validators.en.xlf (Danish)
2024-01-10 00:12:25 +01:00
Jan Böhmer
e8a047a28f
New translations messages.en.xlf (Danish)
2024-01-10 00:12:24 +01:00
Jan Böhmer
d9ba631173
New translations messages.en.xlf (Russian)
2024-01-09 20:44:32 +01:00
Jan Böhmer
8dc0e014ba
New translations messages.en.xlf (Russian)
2024-01-09 19:41:53 +01:00
Jan Böhmer
530476f917
New translations messages.en.xlf (Russian)
2024-01-08 13:30:36 +01:00
Jan Böhmer
8634ff26a7
New translations messages.en.xlf (Russian)
2024-01-08 12:31:58 +01:00
Jan Böhmer
c8f3acaa9d
New translations messages.en.xlf (Russian)
2024-01-07 23:00:19 +01:00
Jan Böhmer
74ec7d4c9c
New translations messages.en.xlf (Russian)
2024-01-07 22:00:21 +01:00
Jan Böhmer
72c21313dc
New translations messages.en.xlf (Russian)
2024-01-07 21:00:18 +01:00
Jan Böhmer
b7660bc778
New translations messages.en.xlf (Russian)
2024-01-07 13:30:27 +01:00
Jan Böhmer
22b197012b
New translations messages.en.xlf (Russian)
2024-01-07 12:30:17 +01:00
Jan Böhmer
78bd858ebb
Bumped version to 1.10.2
2024-01-06 15:57:59 +01:00
Jan Böhmer
19819454fa
Dont split up links when extracting parameters from notes and description
...
This partly fixes issue #469
2024-01-06 15:14:07 +01:00
Jan Böhmer
26a4b57cfb
Fixed tests related to PartNormalizer
2024-01-06 15:01:50 +01:00
Jan Böhmer
f3729ef9db
Merge remote-tracking branch 'origin/l10n_master'
2024-01-06 01:07:20 +01:00
Jan Böhmer
ab09d319e9
Fixed wrong path for assets managed by webpack and loaded via twig asset() function.
...
This had also the effect that 2FA via webauthn were not working, as the request the invalid path resetted the webauthn request saved in session.
2024-01-06 01:06:56 +01:00
Jan Böhmer
df23ba07ba
Fixed excpetion that no IRI could be generated if a new Part was created via POST operation via API
...
This was because the objectSerializer in PartNormalizer messed up the JSONLD IRI generation of the paramaters property. It tried to generate this IRI via the Part ressource class, which is not possible
2024-01-05 23:38:49 +01:00
Jan Böhmer
d20b668e87
Decorate error handler of API platform to show a better error message, if a user tries to cascade persist a new entity through an API operation
2024-01-05 23:10:46 +01:00
Jan Böhmer
f0646597fe
Updated dependencies
2024-01-05 22:33:00 +01:00
Jan Böhmer
6d783fd581
New translations messages.en.xlf (Dutch)
2024-01-04 10:00:32 +01:00
Jan Böhmer
14fbf18733
New translations messages.en.xlf (Dutch)
2024-01-04 09:00:23 +01:00
Jan Böhmer
e35c7c496f
New translations security.en.xlf (Dutch)
2024-01-03 16:00:42 +01:00
Jan Böhmer
a218b8fdd6
New translations validators.en.xlf (Dutch)
2024-01-03 16:00:41 +01:00
Jan Böhmer
1491672cf8
New translations messages.en.xlf (Dutch)
2024-01-03 16:00:40 +01:00
Jan Böhmer
f9894ffff7
New translations messages.en.xlf (Italian)
2023-12-30 19:00:21 +01:00
Jan Böhmer
7b565817d6
Disable update checking for tests
2023-12-24 15:50:42 +01:00
Jan Böhmer
a03b2ecf73
Use sqlite database for testing by default
2023-12-24 15:27:05 +01:00
Jan Böhmer
dd2f74e19e
Merge branch 'master' of github.com:Part-DB/Part-DB-server
2023-12-24 15:21:04 +01:00
Jan Böhmer
c1dcaf926a
Updated dependencies
2023-12-24 15:20:52 +01:00
dependabot[bot]
c116db9593
Bump actions/upload-artifact from 3 to 4 ( #461 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-24 15:03:39 +01:00
Jan Böhmer
1b92b9f171
Bump to 1.10.1 release
2023-12-12 22:42:53 +01:00
Jan Böhmer
17e79207f0
Suppress static analysis issue
2023-12-12 22:42:34 +01:00
Jan Böhmer
4d187741e0
Added the right copyright header to the foundation emails CSS asset
2023-12-12 22:39:44 +01:00
Jan Böhmer
85c3031fcd
Upgraded dependencies
2023-12-12 22:30:45 +01:00
Jan Böhmer
a3e012d754
Added an event listener for console commands which shows a warning if the console is called as root or as wrong user
...
The idea is to prevent permission issues, by accidential calling the console wrong.
2023-12-12 22:23:19 +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
3e13a0d9d9
Disable update checking in tests to prevent false-negatives in github actions caused by github api blocking
2023-12-10 22:52:01 +01:00
Jan Böhmer
cd91dc8b5a
Fixed wrong path for event log datatables, when accessing via a prefixed reverse proxy
2023-12-10 21:40:49 +01:00
Jan Böhmer
bcaf96ed59
Use a svg file as default user avatar instead of SVG. Also changed path generation logic
...
This should also fix the path issue described in issue #446
2023-12-10 21:25:40 +01:00
Jan Böhmer
e2437d4c33
Updated dependencies
2023-12-10 00:40:39 +01:00
Jan Böhmer
3798217abc
Use PDO constant instead of magic number in SetSQLModeMiddleware
2023-12-10 00:37:58 +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
e824f6376a
Mention update capability of part info providers in docs
2023-12-07 16:27:25 +01:00
Jan Böhmer
1f4bedc9b0
New Crowdin updates ( #451 )
...
* New translations messages.en.xlf (English)
* New translations validators.en.xlf (English)
* New translations security.en.xlf (English)
* New translations messages.en.xlf (German)
2023-12-07 13:32:29 +01:00
Jan Böhmer
aa66285909
Bumped to version 1.10.0
2023-12-07 13:19:07 +01:00
Jan Böhmer
c6229568c5
Added an workaround to github CI issue. setup php action has php-psr ext enabled somehow, which causes trouble.
2023-12-07 00:42:44 +01:00
Jan Böhmer
6110f5be40
Added an workaround to github CI issue. setup php action has php-psr ext enabled somehow, which causes trouble.
2023-12-07 00:41:07 +01:00
Jan Böhmer
ea9cc6723f
Show a meaningful flash warning if trying to add/withdraw an amount of 0 instead of throwing an exception
...
Fixes issue #448
2023-12-07 00:36:16 +01:00
Jan Böhmer
b5721dcfd0
Revert "Migrated deprecated doctrine event subsrcibers"
...
For some very very weird reasoning this cause issues with the ObjectNormalizer, which does not get an an serializer injected anymore.
When the EventLoggerSubscriber is a doctrine subscriber it seems that the serializer service is initialized (as its requested in constructor but not used) and later injected into the object normalizer.
When its an listener, this does not work anymore.
2023-12-07 00:17:27 +01:00
Jan Böhmer
d7383539ba
Merge remote-tracking branch 'origin/l10n_master'
2023-12-06 14:00:29 +01:00
Jan Böhmer
11cdc282d2
Mention KiCad integration in README
2023-12-06 14:00:15 +01:00
Jan Böhmer
b23f59271b
New translations messages.en.xlf (German)
2023-12-06 13:11:47 +01:00
Jan Böhmer
999fe48a31
Removed SnakeCasePropertyAccessor as this fix is now part of the symfony property-info component
2023-12-06 00:05:37 +01:00
Jan Böhmer
963079afbf
Fixed static analysis issue
2023-12-06 00:00:32 +01:00
Jan Böhmer
a6d508205b
Fixed SQLite regex test
2023-12-06 00:00:20 +01:00
Jan Böhmer
fdf52a59fe
Fixed error in sqlite regex implementation in certain edge cases
2023-12-05 23:51:54 +01:00
Jan Böhmer
dd0f8ec97c
Implement the SQLite extension for doctrine via a middleware instead of an deprecated event listener
2023-12-05 23:50:07 +01:00
Jan Böhmer
641b47b189
Updated omines/datatables-bundle
2023-12-05 23:36:26 +01:00
Jan Böhmer
e1120dbfa7
Upgraded own bundle dependencies to fix some deprecations
2023-12-05 23:30:59 +01:00
Jan Böhmer
f9d47e0865
Migrated deprecated doctrine event subscribers to doctrine event listeners
2023-12-05 22:08:07 +01:00
Jan Böhmer
d991643b0e
Removed deprecated google 2FA option
2023-12-05 22:07:48 +01:00
Jan Böhmer
8b8079a6f1
Fixed deprecations
2023-12-05 21:55:20 +01:00
Jan Böhmer
5faeb5dd56
Fixed problem with loading Fixtures on MySQL in combination with savepoints
...
We must now load the fixtures using custom command partdb:fixtures:load
2023-12-05 21:33:29 +01:00
Jan Böhmer
5b3156ccf4
Merge branch 'symfony6.4-upgrade'
2023-12-04 00:04:57 +01:00
Jan Böhmer
dc355773c9
Updated tecnickcom/tc-lib-barcode
2023-12-04 00:01:47 +01:00
Jan Böhmer
1daf556206
Updated brick/math
2023-12-04 00:00:00 +01:00
Jan Böhmer
1911c62edd
Upgraded DAMA doctrine test bundle
2023-12-03 23:58:19 +01:00
Jan Böhmer
2fe2740b62
Updated dompdf
2023-12-03 23:40:16 +01:00
Jan Böhmer
4d7d624033
Updated web-auth/webauthn-symfony-bundle recipe
2023-12-03 23:32:34 +01:00
Jan Böhmer
0abe3f0e61
Updated webpack-encore-bundle recipe
2023-12-03 23:31:34 +01:00
Jan Böhmer
77a6204798
Updated symfony/translation bundle
2023-12-03 23:28:26 +01:00
Jan Böhmer
64af418be2
Updated security-bundle recipe
2023-12-03 23:27:18 +01:00
Jan Böhmer
15411d6c81
Updated phpunit-bridge recipe
2023-12-03 23:24:33 +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
f888028823
Updated phpstan recipe
2023-12-03 22:46:20 +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
60ecbc7c32
Upgraded all symfony components to 6.4
2023-12-03 22:18:44 +01:00
Jan Böhmer
b7af538cbf
Updated symbols list, to include symbols containing special chars
2023-12-03 22:12:25 +01:00
Jan Böhmer
49c8b8003b
New translations messages.en.xlf (Italian)
2023-12-03 21:43:16 +01:00
Jan Böhmer
65d04d4afb
New translations messages.en.xlf (English)
2023-12-03 20:43:38 +01:00
Jan Böhmer
a449e82a22
New translations messages.en.xlf (Italian)
2023-12-03 20:43:30 +01:00
Jan Böhmer
34fd611946
Merge branch 'kicad-api'
2023-12-03 20:30:58 +01:00
Jan Böhmer
62cbc168fb
Updated documentation about new visibility changes.
2023-12-03 20:30:49 +01:00
Jan Böhmer
74d1904df1
Only show parts and their categories in KiCad if they have useful info defined on them
2023-12-03 20:22:47 +01:00
Jan Böhmer
7d69d6ba30
Changed logic of invisible to a (forced) visibility field
2023-12-03 15:29:17 +01:00
Jan Böhmer
bc37d11f13
Fixed static analysis issue
2023-12-03 15:11:06 +01:00
Jan Böhmer
1825080d9e
Added documentation about the EDA_KICAD_CATEGORY_DEPTH env
2023-12-03 15:07:41 +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
fc7b1e6d31
Merge branch 'master' into kicad-api
2023-12-03 14:15:44 +01:00
Jan Böhmer
3198e5d750
New translations messages.en.xlf (Italian)
2023-12-03 09:40:17 +01:00
Jan Böhmer
f31cac580a
New translations messages.en.xlf (Italian)
2023-12-03 08:40:16 +01:00
Jan Böhmer
753a12765b
New translations messages.en.xlf (English)
2023-12-03 01:31:09 +01:00
Jan Böhmer
cbffc485f3
Updated dependencies
2023-12-03 01:20:39 +01:00
Jan Böhmer
c15ddcdf9f
We are in development of Part-DB 1.10.0 now
2023-12-03 01:18:07 +01:00
Jan Böhmer
264ed3aaab
Merge branch 'kicad-api'
2023-12-03 01:17:39 +01:00
Jan Böhmer
61a5ebde6b
Show the correct KICad API endpoint on the user settings page.
2023-12-03 01:16:16 +01:00
Jan Böhmer
f4b4f14a67
Added ability to modify the EDA data via the Part-DB API
2023-12-03 00:57:11 +01:00
Jan Böhmer
9994dbd9db
Added tests to test the KICad API endpoints
2023-12-03 00:43:34 +01:00
Jan Böhmer
d976865e7a
Fixed static analysis issues
2023-12-03 00:05:41 +01:00
Jan Böhmer
0445b87567
Added EDA column migration for SQLite
2023-12-03 00:00:46 +01:00
Jan Böhmer
64c86fa11d
Show EDA metadata in extended info table of part info page
2023-12-02 23:55:42 +01:00
Jan Böhmer
548339911f
Added info about autocomplete to documentation
2023-12-02 19:57:55 +01:00
Jan Böhmer
e914a32894
Updated KiCad library autocomplete lists
2023-12-02 19:54:55 +01:00
Jan Böhmer
f28e369c01
Added an autocomplete feature for Kicad symbols and footprints
2023-12-02 19:40:26 +01:00
Jan Böhmer
30b2c8b841
Added forms to change EDA infos of footprints and categories
2023-12-01 22:47:05 +01:00
Jan Böhmer
b5c7a789a2
Made EDA form for parts prettier
2023-12-01 22:36:14 +01:00
Jan Böhmer
168b4f6c15
Started to write documentation on KiCAD integration
2023-12-01 14:09:19 +01:00
Jan Böhmer
bf5ed030fe
Use the EDAInfo data to send info to KiCAD
2023-11-30 19:34:50 +01:00
Jan Böhmer
b76b2740a7
Use Embeddables for EDACategoryInfo instead of a json column
2023-11-30 19:13:32 +01:00
Jan Böhmer
d5f002ac20
Added basic ability to store EDA Data in a Part
...
But that might change, as it is currently not ideal
2023-11-30 12:54:30 +01:00
Jan Böhmer
2ec1a10623
Add various info from the Part-DB database to the KICAD parts
2023-11-29 21:28:06 +01:00
Jan Böhmer
ee69f9e576
Cache the results for the parts of a category for KiCAD
2023-11-29 20:57:11 +01:00
Jan Böhmer
b7af08503c
Refactored cache tags and invalidation
2023-11-29 20:49:16 +01:00
Jan Böhmer
08a1ce5f64
Moved some logic from KICAD controller into its own service
2023-11-29 20:17:17 +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
6b0f0d31b9
Allow to authenticate using Authorization: Token header, which the KiCAD API uses
2023-11-28 14:24:22 +01:00
Jan Böhmer
feca20ef77
Added a hint about quotes and TRUSTED_PROXIES setting in docker-compose example
2023-11-28 13:44:17 +01:00
Jan Böhmer
9e04a3405f
New translations messages.en.xlf (English)
2023-11-28 00:22:20 +01:00
Jan Böhmer
46adb6d8b8
Release v1.9.1
2023-11-27 23:26:27 +01:00
Jan Böhmer
66e184c6b1
Merge remote-tracking branch 'origin/l10n_master'
2023-11-27 23:25:52 +01:00
Jan Böhmer
5b812104af
New translations messages.en.xlf (German)
2023-11-27 23:23:32 +01:00
Jan Böhmer
0346b339c4
Updated dependencies
2023-11-27 23:22:08 +01:00
Jan Böhmer
c6bff42cf7
New translations messages.en.xlf (English)
2023-11-27 23:22:04 +01:00
Jan Böhmer
03712fcf96
Show an error flash, if the info providers cannnot communicate with the servers instead of throwing an exception
2023-11-27 23:17:20 +01:00
Jan Böhmer
dbff543fa8
Remove an attachment as preview image of an element, if it is not an image anymore through a change
2023-11-27 22:59:02 +01:00
Jan Böhmer
08bd4d54e3
Fix exception if uploading a new file for an already existing attachment
2023-11-27 22:48:18 +01:00
Jan Böhmer
eb30fb6e83
Fixed thumbnail for SVG files where the original name had no svg extension
2023-11-27 18:27:36 +01:00
Jan Böhmer
05e9b63f89
Fixed exception, when downloading an attachment file, which does not have a usable extension
2023-11-27 18:13:55 +01:00
Jan Böhmer
da0845c11c
Added Timestampable interface to entities that missed it, to fix timetravel in certain cases
2023-11-27 17:53:35 +01:00
Jan Böhmer
584062c29a
Move alternative names field of attachmenttype admin page to right position
...
Formerly it was not inside the common tab but below all tabs
2023-11-27 17:40:39 +01:00
Jan Böhmer
752cfb3698
Try to automatically determine an attachment name from a given URL similar to the name of an uploaded file
2023-11-27 17:39:24 +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
0f0adfcf36
Filter out duplicate file DTO returned by the info providers
2023-11-26 22:24:22 +01:00
Jan Böhmer
7e99746b1e
New translations security.en.xlf (English)
2023-11-25 21:10:30 +01:00
Jan Böhmer
30afcc02b9
New translations validators.en.xlf (English)
2023-11-25 21:10:29 +01:00
Jan Böhmer
8ff2fef855
New translations messages.en.xlf (English)
2023-11-25 21:10:28 +01:00
Jan Böhmer
76295b73c8
Bumped to release 1.9.0
2023-11-25 20:07:51 +01:00
Jan Böhmer
8c00769757
Merge remote-tracking branch 'origin/l10n_master'
2023-11-25 20:07:17 +01:00
Jan Böhmer
773d0e9d20
New translations messages.en.xlf (English)
2023-11-25 20:05:34 +01:00
Jan Böhmer
d14f596479
New translations messages.en.xlf (German)
2023-11-25 20:05:23 +01:00
Jan Böhmer
700ed42ce5
Removed unused translation
2023-11-25 20:00:08 +01:00
Jan Böhmer
dc2369c71e
Remove additional colon in translation
2023-11-25 19:42:32 +01:00
Jan Böhmer
5fc760f6ad
Run phpunit tests against PHP 8.3
2023-11-25 19:42:05 +01:00
Jan Böhmer
ffb5d3e790
Added an checkbox in the withdrawal/move dialog, that if checked automatically deletes a part lot if it becomes empty during the operation
...
Fixes issue #327
2023-11-25 19:38:21 +01:00
Jan Böhmer
512947e0d0
New translations messages.en.xlf (English)
2023-11-25 19:20:46 +01:00
Jan Böhmer
9e69a09a19
Fixed translation of stock change type in log table
2023-11-25 19:16:54 +01:00
Jan Böhmer
b447a69dae
Allow to specify an informational field during a part stock operation, where the user can specify, when this operation was really performed
...
Fixes issue #416
2023-11-25 19:10:18 +01:00
Jan Böhmer
d52e6b5881
New translations messages.en.xlf (German)
2023-11-25 14:00:18 +01:00
Jan Böhmer
6cff19358a
Dont show the permission reset warning during database migration anymore
...
This only affects database which were older than the new permission system and hopefully everybody should have updated by now. The message could irritate new users, so it was removed
2023-11-25 13:21:39 +01:00
Jan Böhmer
a6d476f953
New translations messages.en.xlf (German)
2023-11-25 13:00:19 +01:00
Jan Böhmer
aba73174ab
Fixed wrong link in docs.
2023-11-25 01:48:32 +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
64cebaba77
New translations messages.en.xlf (English)
2023-11-25 01:20:54 +01:00
Jan Böhmer
07535c26a6
Fixed static analysis issue
2023-11-25 01:19:48 +01:00
Jan Böhmer
aab1dcf8e6
Fixed APIPlatform test issues which were introduced with the upgrade to api platform core v3.2.6
2023-11-25 01:17:35 +01:00
Jan Böhmer
4b88de9316
Show a notice above the permission editor, that permissions can depend on each other
...
Related to issue #435
2023-11-25 00:42:17 +01:00
Jan Böhmer
84c111ac7c
Show a warning flash message, if permissions were corrected and missing permissions were set
...
Related to issue #435
2023-11-25 00:36:31 +01:00
Jan Böhmer
2feeb1c868
New translations messages.en.xlf (English)
2023-11-25 00:01:18 +01:00
Jan Böhmer
17000da97e
Updated dependencies
2023-11-24 23:55:21 +01:00
Jan Böhmer
5b09cbf1ac
Merge branch 'merge_system'
2023-11-24 23:51:35 +01:00
Jan Böhmer
07088c94e7
Implemented logic for not (yet) used EntityMerger service
2023-11-24 23:48:39 +01:00
Jan Böhmer
1da5e7ccd7
Properly merge the PartAssociations pointing towards the parts
2023-11-24 23:36:09 +01:00
Jan Böhmer
b9956e38b8
Dont concat if one of the strings is empty during part merge
2023-11-24 23:16:26 +01:00
Jan Böhmer
36879dd7da
Test merge and update from info provider controller endpoints
2023-11-24 23:13:15 +01:00
Jan Böhmer
099ea63740
Show a notice flash to remember user to review changes
2023-11-24 19:45:15 +01:00
Jan Böhmer
615defa84a
Give the update part from info provider menu a own design
2023-11-24 19:35:44 +01:00
Jan Böhmer
3eeeb01ad1
Added possibility to search the info providers to update an existing part
2023-11-24 19:28:30 +01:00
Jan Böhmer
73f6d79925
Added an modal form on the part info page, to merge a part into another one
2023-11-22 22:50:25 +01:00
Jan Böhmer
b0f5d9b55f
Added an form for merging two parts together
2023-11-22 20:11:38 +01:00
Jan Böhmer
50069c7611
Fixed tests
2023-11-22 17:14:24 +01:00
Jan Böhmer
c86694ab8f
Merge the remaining fields of a Part
2023-11-21 19:41:18 +01:00
Jan Böhmer
478d5e2a3a
Merge tags and bool fields of parts
2023-11-21 00:18:10 +01:00
Jan Böhmer
e7b766906d
Try to avoid duplications during merging of parts and merge more fields.
2023-11-21 00:02:17 +01:00
Jan Böhmer
c5435df6f9
Add a blue dot to the collection type delete buttons in forms to indicate that this element was not yet saved to DB yet
2023-11-20 23:40:14 +01:00
Jan Böhmer
e8f4cd9fec
Merge remote-tracking branch 'origin/l10n_master'
2023-11-20 00:08:20 +01:00
Jan Böhmer
378d695a24
New translations validators.en.xlf (German)
2023-11-20 00:06:55 +01:00
Jan Böhmer
a4b16f7f09
New translations messages.en.xlf (German)
2023-11-20 00:06:54 +01:00
Jan Böhmer
1fe3a614c9
New translations validators.en.xlf (German)
2023-11-20 00:01:40 +01:00
Jan Böhmer
773e393f55
New translations messages.en.xlf (German)
2023-11-20 00:01:39 +01:00
Jan Böhmer
87626589a3
Added very basic controller to merge info provider data into the part
2023-11-19 23:47:46 +01:00
Jan Böhmer
01784a9d1f
Started implementing building blocks for the merge system
2023-11-19 23:17:48 +01:00
Jan Böhmer
f99323f9b3
New translations messages.en.xlf (English)
2023-11-19 22:22:04 +01:00
Jan Böhmer
83ad99215f
Added optional "stocked amount" and storage locations columns for the BOM list
...
This fixes issue #429
2023-11-19 22:13:25 +01:00
Jan Böhmer
958d59a0ff
Save search setting checkboxes state to localStorage to persist it
...
Related to issue #424
2023-11-19 21:49:16 +01:00
Jan Böhmer
de8a68c70d
Expliticly declare a conversion from the custom TinyInt doctrine type to int
...
This hopefully fixes issue #434
2023-11-19 21:03:43 +01:00
Jan Böhmer
5f87d5b1ac
Updated dependencies
2023-11-19 21:02:43 +01:00
Jan Böhmer
c2ea880dad
New translations validators.en.xlf (Italian)
2023-11-18 09:40:18 +01:00
Jan Böhmer
7eba4254e6
New translations messages.en.xlf (Italian)
2023-11-18 09:40:17 +01:00
Jan Böhmer
76bb3eae9d
New translations messages.en.xlf (Italian)
2023-11-18 08:40:18 +01:00
Jan Böhmer
3da656c08b
Fixed (false positive) test in APIDocsAvailabilityTest
...
API Platform seems to have slightly changed the serialization process of errors and the requested HTML format was not available for error serialization
2023-11-17 23:59:32 +01:00
Jan Böhmer
b6dc3eb1a2
New translations validators.en.xlf (English)
2023-11-17 23:51:17 +01:00
Jan Böhmer
fefa65941b
New translations messages.en.xlf (English)
2023-11-17 23:51:16 +01:00
Jan Böhmer
74d75c6e1f
Upgraded dependencies
2023-11-17 23:44:28 +01:00
Jan Böhmer
01ed3eeecd
Merge branch 'part_associations'
2023-11-17 23:37:26 +01:00
Jan Böhmer
9a3b9b84bc
Fixed deprecation
2023-11-17 23:32:41 +01:00
Jan Böhmer
90a1ffa2ac
Fixed issues with wrong Groups attribute definition
2023-11-17 23:30:36 +01:00
Jan Böhmer
5442aa5e07
Added test for vendor barcode scanner
2023-11-17 23:29:06 +01:00
Jan Böhmer
0ab604d468
Added migrations for sqlite
2023-11-17 23:26:45 +01:00
Jan Böhmer
0b178b46f2
Allow to scan barcodes, whose content where defined in the vendor_barcode field
2023-11-17 23:23:54 +01:00
Jan Böhmer
d12bde2b1e
Reveal the invalid field in a collapse if a validation error occurs
2023-11-17 23:15:18 +01:00
Jan Böhmer
96a771e7ac
Allow to edit the vendor_barcode field of a PartLot
2023-11-17 23:05:47 +01:00
Jan Böhmer
3e6b80d1cf
Added possibility to access PartAssociations via API
2023-11-17 22:12:19 +01:00
Jan Böhmer
4d7d196a3c
Added some documentation and tests to PartAssociations
2023-11-17 18:36:49 +01:00
Jan Böhmer
4e1f6277c6
Added a translation for the part association in LogFilterType
2023-11-17 18:28:24 +01:00
Jan Böhmer
626c4dd5d6
Use a custom delete confirmation message for part associations
2023-11-16 22:38:01 +01:00
Jan Böhmer
c8bd800b9f
Hide the custom type input field if not needed to improve the UX
2023-11-16 22:33:31 +01:00
d-buchmann
0fa03d8bb0
Associate project BOM entries with correct project when cloning ( #433 )
2023-11-16 12:56:42 +01:00
Jan Böhmer
22606f01d2
New translations messages.en.xlf (Chinese Simplified)
2023-11-16 10:10:33 +01:00
Jan Böhmer
3c2e535117
New translations messages.en.xlf (Chinese Simplified)
2023-11-16 09:10:25 +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
cc2332a83a
Added some constraints to ensure validity of the PartAssociation entities
2023-11-14 23:50:09 +01:00
Jan Böhmer
c7892cb9e2
Added a seperate field for specifying the other relation
2023-11-14 23:35:18 +01:00
Jan Böhmer
5bd2d9b344
Restrict size of part images, if the part selector element is very wide
...
This improves UX
2023-11-13 23:05:25 +01:00
Jan Böhmer
81f8b365e9
Improved the association edit panel
2023-11-13 23:01:59 +01:00
Jan Böhmer
8ab9cf1417
Added very basic possibility to add an association
2023-11-13 00:11:58 +01:00
Jan Böhmer
b7cfdebad5
Added data field for vendor PartLot barcodes
2023-11-12 22:06:05 +01:00
Jan Böhmer
0447a7e6b3
Added basic data structures for part associations
2023-11-12 21:53:45 +01:00
Jan Böhmer
6d67ee8106
New translations security.en.xlf (English)
2023-11-12 00:40:45 +01:00
Jan Böhmer
2d7058329c
New translations validators.en.xlf (English)
2023-11-12 00:40:44 +01:00
Jan Böhmer
9e58baa574
New translations messages.en.xlf (English)
2023-11-12 00:40:43 +01:00
Jan Böhmer
6d8cb9cc08
New translations messages.en.xlf (French)
2023-11-12 00:40:28 +01:00
Jan Böhmer
5cfccab671
Allow to scan IPN barcodes using the built in barcode scanner
...
This improves issue #373
2023-11-12 00:36:13 +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
7163df6d46
Fixed paths generated using app.request.requestUri when in a reverse proxy with a subpath
...
Related to issue #428
2023-11-11 23:14:22 +01:00
Jan Böhmer
5f86253b94
Add documentation on how to put Part-DB into a subpath of a reverse proxy
...
This fixes issue #428
2023-11-11 23:03:29 +01:00
Jan Böhmer
93d0f97cfd
Updated dependencies
2023-11-11 18:35:49 +01:00
Jan Böhmer
9732b71f85
Fixed other placeholders besides the IPN Barcodes
2023-11-05 21:42:39 +01:00
Jan Böhmer
cf11320789
Keep query parameters when switching language via navbar
2023-11-05 21:32:45 +01:00
Jan Böhmer
5e326bca12
Added label placeholders to add a barcode version of the IPN to a label
...
This fixes issue #373
2023-11-05 21:24:21 +01:00
Jan Böhmer
3c52e57a44
Updated dependencies
2023-11-04 20:44:32 +01:00
Jan Böhmer
2002b9d5d3
Merge remote-tracking branch 'origin/master'
2023-11-03 23:07:58 +01:00
Jan Böhmer
323c70393d
Use demo.part-db.de in links to demo as this now has TLS encryption too.
2023-11-03 23:07:51 +01:00
Jan Böhmer
eabd03dc53
Fixed variable access curly brackets deprecations in migrations
2023-11-03 23:04:55 +01:00
Jan Böhmer
3ac82cf76a
The frontend dependencies can now detect their path automatically.
...
Therefore it does not need to be configured in the webpack.config.js before compilation. This should help to make things like issue #426 easier to resolve.
2023-11-03 23:01:23 +01:00
Pyromane
1409d19922
Update installation_docker.md ( #425 )
...
For the database additionally "restart: unless-stopped" is specified, so that this is also available after a restart of the host.
2023-10-31 13:32:43 +01:00
Jan Böhmer
bdcd51d533
Refactored barcode scan functions
...
This is preparatory work for issue #373
2023-10-26 22:23:43 +02:00
Jan Böhmer
563edb1731
Added ipn to possible columns in project BOM view
...
This fixes issue #418
2023-10-26 17:55:03 +02:00
dependabot[bot]
cd7013f776
Bump actions/setup-node from 3 to 4 ( #420 )
...
Bumps [actions/setup-node](https://github.com/actions/setup-node ) from 3 to 4.
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-26 17:44:42 +02:00
Jan Böhmer
783a00ca2f
Added test for price related quantity in DTOToEntityConverter
2023-10-26 17:41:26 +02:00
Jan Böhmer
e233940f1f
Merge remote-tracking branch 'd-buchmann/d-buchmann-patch-1'
2023-10-26 17:38:10 +02:00
Jan Böhmer
717a9fb0a3
Fixed API Platform deprecations
2023-10-25 20:40:41 +02:00
Jan Böhmer
d0a5b4dcd7
Bumped version to 1.8.2
2023-10-25 17:30:06 +02:00
Jan Böhmer
294f7cf005
Fixed some deprecations related to missing return types
2023-10-25 17:27:37 +02:00
Jan Böhmer
eb24aa2e68
Updated dependencies
2023-10-25 17:14:02 +02:00
Jan Böhmer
a1c680d14d
Increase xdebug.max_nesting_level to 1000 if required in bin/console script
...
Fix issue #411
2023-10-25 17:05:24 +02:00
buchmann
5144b75ed7
Fix image type alt name if newly generated
2023-10-25 15:56:40 +02:00
buchmann
aeed7c0802
fix line breaks
2023-10-25 14:29:18 +02:00
buchmann
2b470e6cdd
Merge commit 'f8ccd5bc22bbc25188077dc20f0049f7068852ea' into d-buchmann-patch-1
2023-10-25 14:10:46 +02:00
d-buchmann
e6870c61ee
Update DTOtoEntityConverter.php
2023-10-25 14:01:46 +02:00
d-buchmann
f8ccd5bc22
Add price_related_quantity to PriceDTO.php
2023-10-25 13:58:59 +02:00
Jan Böhmer
7239aef47f
Ensure that the user property is really null in getLastUser function, if the target user was deleted
...
This fixes issue #414
2023-10-24 23:55:14 +02:00
Jan Böhmer
91cab91c81
Fixed missing ) in log detail page
2023-10-24 23:27:24 +02:00
Jan Böhmer
ce318bab9a
Update codecov.yml
2023-10-24 18:27:30 +02:00
Jan Böhmer
b500fa82bb
Allow to dynamically create currencies in pricedetails
...
This fixes issue #413
2023-10-24 14:08:50 +02:00
Jan Böhmer
388d26fa05
Forbid a user to delete himself on the admin page
2023-10-24 13:32:44 +02:00
Jan Böhmer
9fd3012c27
Fixed exception if user avatar file somehow got deleted.
...
Now we just show the default avatar instead of the non-existing attachment file
2023-10-24 13:25:33 +02:00
Jan Böhmer
3f36972764
Throw no warning, when unsetting a not existing permission value
2023-10-23 22:15:04 +02:00
Pyromane
9cd5d14708
Update upgrade_legacy.md ( #417 )
...
PHP minimum requirement adjusted
2023-10-21 18:47:36 +02:00
Jan Böhmer
cc82547699
Bumped to 1.8.1
2023-10-15 16:48:00 +02:00
Jan Böhmer
a9be442dd1
Fixed PartVoter when a class string is passed
2023-10-15 16:47:39 +02:00
Jan Böhmer
ffbcf25246
Bumped to version 1.8.0
2023-10-15 15:50:19 +02:00
Jan Böhmer
e9665d7a7a
Merge remote-tracking branch 'origin/l10n_master'
2023-10-15 15:50:01 +02:00
Jan Böhmer
0a06467f79
Fixed visual issues in README.md and wrong coverage badge
2023-10-15 15:49:09 +02:00
Jan Böhmer
31510f6762
New translations validators.en.xlf (Russian)
2023-10-15 15:40:33 +02:00
Jan Böhmer
b298ee0003
New translations messages.en.xlf (Russian)
2023-10-15 15:40:32 +02:00
Jan Böhmer
97b539e1c6
New translations validators.en.xlf (Japanese)
2023-10-15 15:40:30 +02:00
Jan Böhmer
6546fba218
New translations messages.en.xlf (Japanese)
2023-10-15 15:40:29 +02:00
Jan Böhmer
b97132dbb5
New translations validators.en.xlf (German)
2023-10-15 15:40:22 +02:00
Jan Böhmer
aeeb4b87ec
New translations messages.en.xlf (German)
2023-10-15 15:40:21 +02:00
Jan Böhmer
9a4877cdb0
New translations validators.en.xlf (French)
2023-10-15 15:40:19 +02:00
Jan Böhmer
919beda7f5
Hopefully fixed coverage upload to codecov
2023-10-15 14:33:24 +02:00
Jan Böhmer
306ecff9c7
Fixed issues with xdebug.max_nesting_level in github actions
2023-10-15 14:24:48 +02:00
Tac Tacelosky
0c689d492b
remove repeated lines ( #405 )
2023-10-15 14:07:26 +02:00
Jan Böhmer
c3de0ccacc
Merge remote-tracking branch 'origin/l10n_master'
2023-10-15 14:03:02 +02:00
Jan Böhmer
0d5bc2b29f
Removed additional } in 2FA messages
2023-10-15 14:01:18 +02:00
Jan Böhmer
d675f072d6
Updated dependencies
2023-10-15 14:01:01 +02:00
Jan Böhmer
6f30db4877
New translations messages.en.xlf (English)
2023-10-15 13:40:19 +02:00
Jan Böhmer
cdcfcc7717
Merge remote-tracking branch 'origin/l10n_master'
2023-10-15 13:29:10 +02:00
Jan Böhmer
71765558fc
Mention API feature in README and docs index.md
2023-10-15 13:28:40 +02:00
Jan Böhmer
5d3b1a7bcd
Fiixed typos in README.md
2023-10-15 13:27:20 +02:00
Jan Böhmer
a2a477e4e5
Fixed some issues in docs
2023-10-15 13:24:56 +02:00
Jan Böhmer
f32c0f52b6
Fixed formatting and typos in documentation
2023-10-15 13:21:14 +02:00
Jan Böhmer
47fc7db953
Correctly link to JSON Merge Patch in API docu instead of JSON Patch
2023-10-15 12:38:32 +02:00
Jan Böhmer
cc267c0edf
New translations messages.en.xlf (English)
2023-10-15 02:30:19 +02:00
Jan Böhmer
f5a3ab1f9b
New translations messages.en.xlf (German)
2023-10-15 02:30:18 +02:00
Jan Böhmer
f6c97b58aa
New translations messages.en.xlf (English)
2023-10-15 01:30:44 +02:00
Jan Böhmer
7a2928e202
Show a proper error message to user when he is not allowed to create a new element using a StructuralEntityType
...
This fixes issue #391
2023-10-15 01:29:19 +02:00
Jan Böhmer
f53c98312e
Escape space in attachment URLs with %20
...
Fixes issue #401
2023-10-15 00:50:43 +02:00
Jan Böhmer
180505cba4
Improved API documentation on what will happen, if no Accept: header is set
...
Related with issue #399
2023-10-14 21:01:54 +02:00
Jan Böhmer
6d6a69e1dd
Removed unnecessary curly brackets in string interpolation, which are deprecated in PHP 8.2
2023-10-14 20:31:04 +02:00
dependabot[bot]
5f61e096f9
Bump docker/login-action from 2 to 3 ( #382 )
...
Bumps [docker/login-action](https://github.com/docker/login-action ) from 2 to 3.
- [Release notes](https://github.com/docker/login-action/releases )
- [Commits](https://github.com/docker/login-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/login-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-08 22:08:03 +02:00
Jan Böhmer
1becde537b
Fixed test issues
2023-10-08 21:54:51 +02:00
Jan Böhmer
3c5a96ba5c
Merge branch 'part-table-columns-config'
2023-10-08 21:50:43 +02:00
Jan Böhmer
470df57f58
Removed useless permissions checks, as the permissions are now always granted automatically, if the user has read access to parts
2023-10-08 21:36:05 +02:00
Jan Böhmer
185c88fa3e
Removed now useless visibility options from PartsDataTable
...
The visibility is now configured by the env variable, so this is useless.
2023-10-08 21:32:57 +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
1369091b90
Moved column sorting and visibility logic to its own (non-shared) helper service
2023-10-08 21:07:22 +02:00
Jan Böhmer
b0322b4c03
Added a "new part" button to the navbar
...
This fixes issue #394
2023-10-08 01:25:29 +02:00
Jan Böhmer
c402ec40a5
Fixed initial rendering of default currency item in freshly initialized currency selectors
2023-10-08 01:04:04 +02:00
Jan Böhmer
1964084155
Merge branch 'mouser_pdo59'
...
This resolve issue #329
2023-10-08 00:41:47 +02:00
Jan Böhmer
4b5f9648b1
Allow to passthrought the mouser provider env using docker
2023-10-08 00:40:03 +02:00
Jan Böhmer
9d9287cefb
Added documentation for MouserAPI
2023-10-08 00:39:08 +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
7cd2662c77
Moved API key to query options of HTTPClient in MouserProvider
2023-10-08 00:18:25 +02:00
Jan Böhmer
4f0730b6f9
Properly formatted MouserProvider and fixed some type issues
2023-10-08 00:15:57 +02:00
Jan Böhmer
d7bc74fb2b
Slightly restructured mouserprovider to remove redundant code
2023-10-08 00:00:10 +02:00
Jan Böhmer
a0b31cfd7e
Made mouser provider key lowercase to be consistent with other providers
2023-10-07 23:49:04 +02:00
Jan Böhmer
33033bc5b1
Added the MouserProvider by @pdo59
2023-10-07 23:46:31 +02:00
Jan Böhmer
d6daac0762
New translations security.en.xlf (English)
2023-10-06 14:50:47 +02:00
Jan Böhmer
6a5a632a0e
New translations validators.en.xlf (English)
2023-10-06 14:50:46 +02:00
Jan Böhmer
c64633299a
New translations messages.en.xlf (English)
2023-10-06 14:50:45 +02:00
Jan Böhmer
f4e173d3fb
New translations validators.en.xlf (Russian)
2023-10-06 14:50:41 +02:00
Jan Böhmer
5ff8d1c1cb
New translations messages.en.xlf (Russian)
2023-10-06 14:50:39 +02:00
Jan Böhmer
aad40aefbc
New translations validators.en.xlf (Japanese)
2023-10-06 14:50:37 +02:00
Jan Böhmer
ff77dac5fb
New translations messages.en.xlf (Japanese)
2023-10-06 14:50:36 +02:00
Jan Böhmer
ced53c2690
New translations validators.en.xlf (German)
2023-10-06 14:50:30 +02:00
Jan Böhmer
6f66d50ff6
New translations messages.en.xlf (German)
2023-10-06 14:50:29 +02:00
Jan Böhmer
06f88341ba
New translations validators.en.xlf (French)
2023-10-06 14:50:26 +02:00
Jan Böhmer
2a9a86aaaf
New translations messages.en.xlf (French)
2023-10-06 14:50:25 +02:00
Jan Böhmer
2409c7f62b
Exclude TwoStepORMAdapter from phpstan to fix github actions issue
2023-10-06 14:42:32 +02:00
Jan Böhmer
1b276c5eae
Fixed typo in name of TwoStepORMAdapter
2023-10-06 13:08:46 +02:00
Jan Böhmer
608bd247af
Updated symfony/phpunit-bridge recipe
2023-10-06 13:06:40 +02:00
Jan Böhmer
e9cdd20dcc
Updated phpstan/phpstan recipe
2023-10-06 13:05:06 +02:00
Jan Böhmer
37dccd4249
Updated doctrine/doctrine-bundle recipe
2023-10-06 13:02:14 +02:00
Jan Böhmer
485d162d82
Updated dama/doctrine-test-bundle recipe
2023-10-06 13:01:17 +02:00
Jan Böhmer
aaf230fc58
Updated api platform recipe
2023-10-06 13:00:13 +02:00
Jan Böhmer
f9cafae789
Upgraded marked.js dependency
2023-10-06 12:47:00 +02:00
Jan Böhmer
c758027d4c
Upgraded to CKEditor5 v40
2023-10-06 12:41:43 +02:00
Jan Böhmer
c178d45f73
Upgraded dependencies after merge
2023-10-06 12:35:17 +02:00
Jan Böhmer
8c9abce633
Merge branch 'api'
2023-10-06 12:29:53 +02:00
misaz
0753b7137f
fixed tab/spaces in PartsDataTable
2023-10-04 21:30:04 +02:00
misaz
9d54001f89
added support for configuring columns in part table which are enabled by default as well as their order.
2023-10-04 21:14:57 +02:00
Jan Böhmer
00bb005e4e
Bumped to version 1.7.3
2023-10-04 01:26:07 +02:00
Jan Böhmer
60b8650a1a
Updated dependencies
...
The webauthn 2fa integration got an update, this should fix issue #389
2023-10-04 01:25:22 +02:00
Jan Böhmer
ec4eccdf08
Removed unnecessary commented code
2023-10-04 00:50:28 +02:00
Jan Böhmer
64c38042a0
Added missing lastModified and creationDate fields to API response
2023-10-04 00:08:10 +02:00
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
e339b7d9f0
Fixed issue with FixInheritanceMappingMetadataFactory
2023-10-03 20:47:37 +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
607bb45f5f
Added an possibilty to document "virtual" properties to api documentation, which are added dynamically during the normalization priocess
2023-10-02 00:21:59 +02:00
Jan Böhmer
90518056cd
Fixed JSONLD schema generation of API documentation
2023-10-01 22:45:39 +02:00
Jan Böhmer
1e52ec42ca
Added tests for availability of the API documentation
2023-10-01 21:56:05 +02:00
Jan Böhmer
1e04ee14de
Added phpstan as local dev dependency
2023-10-01 21:46:33 +02:00
Jan Böhmer
469f9e8933
Do not redirect missing API prefixed routes to a localized version
2023-10-01 16:07:42 +02:00
Jan Böhmer
c49aff5cfc
Removed GraphQL endpoint
2023-10-01 15:57:18 +02:00
Jan Böhmer
39009a71d5
Bumped version to 1.7.2
2023-09-24 19:54:35 +02:00
Jan Böhmer
0430178fe2
Fixed issue when the data is null.
2023-09-24 15:42:44 +02:00
Jan Böhmer
cf9df883c9
Updated dependencies
2023-09-24 15:36:07 +02:00
Jan Böhmer
198befe2bc
Allow to dynamically create elements with purely numeric names in a selector type
...
Before this was not possible, as this was messed up with the DB ids. Now we prefix the new created values with a special prefix, to mark them as new.
This fixes issue #381
2023-09-24 15:28:35 +02:00
Jan Böhmer
7195bd6cd6
Increased user avatar max file size from 2M to 5M
2023-09-24 14:46:51 +02:00
Jan Böhmer
a5fa2da80c
Show the languages from the language selector as preffered in language select on user settings page
2023-09-24 14:45:12 +02:00
Jan Böhmer
593d37f37c
Added italien to language selector navbar menu
2023-09-24 14:42:21 +02:00
Jan Böhmer
2ddd6753ca
Merge remote-tracking branch 'origin/l10n_master'
2023-09-24 14:40:31 +02:00
Jan Böhmer
9537c4f210
New translations messages.en.xlf (Italian)
2023-09-24 12:50:18 +02:00
Jan Böhmer
e0ce6ba165
New translations messages.en.xlf (Italian)
2023-09-24 11:50:16 +02:00
Jan Böhmer
ee50ce26f8
Merge remote-tracking branch 'origin/master'
2023-09-23 23:08:55 +02:00
Jan Böhmer
94a6de4a90
Fixed wrong literal in italian translation, which caused an exception.
2023-09-23 23:08:46 +02:00
Jan Böhmer
d5902314c3
New Crowdin updates ( #378 )
...
* New translations messages.en.xlf (French)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations validators.en.xlf (Italian)
* New translations security.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
2023-09-23 23:06:06 +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
8a13799829
(Hopefully) fix static analysis github action
2023-09-18 23:57:28 +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
60125534ec
New Crowdin updates ( #370 )
...
* New translations validators.en.xlf (French)
* New translations messages.en.xlf (German)
* New translations validators.en.xlf (German)
* New translations messages.en.xlf (Italian)
* New translations validators.en.xlf (Italian)
* New translations security.en.xlf (Italian)
* New translations messages.en.xlf (Japanese)
* New translations validators.en.xlf (Japanese)
* New translations messages.en.xlf (Russian)
* New translations validators.en.xlf (Russian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (English)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
* New translations messages.en.xlf (Italian)
2023-09-18 19:41:01 +02:00
dependabot[bot]
48385cadc9
Bump docker/build-push-action from 4 to 5 ( #375 )
...
Bumps [docker/build-push-action](https://github.com/docker/build-push-action ) from 4 to 5.
- [Release notes](https://github.com/docker/build-push-action/releases )
- [Commits](https://github.com/docker/build-push-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/build-push-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:40:49 +02:00
dependabot[bot]
ba6abe6ca7
Bump docker/setup-buildx-action from 2 to 3 ( #374 )
...
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-buildx-action/releases )
- [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:40:43 +02:00
dependabot[bot]
79ad243bf4
Bump actions/checkout from 3 to 4 ( #361 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:40:33 +02:00
dependabot[bot]
5ab21e019d
Bump docker/metadata-action from 4 to 5 ( #376 )
...
Bumps [docker/metadata-action](https://github.com/docker/metadata-action ) from 4 to 5.
- [Release notes](https://github.com/docker/metadata-action/releases )
- [Upgrade guide](https://github.com/docker/metadata-action/blob/master/UPGRADE.md )
- [Commits](https://github.com/docker/metadata-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: docker/metadata-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:40:23 +02:00
dependabot[bot]
d8469efba2
Bump docker/setup-qemu-action from 2 to 3 ( #377 )
...
Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action ) from 2 to 3.
- [Release notes](https://github.com/docker/setup-qemu-action/releases )
- [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: docker/setup-qemu-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-18 19:40:13 +02:00
Jan Böhmer
43c15de55c
Added SQLite migrations for API tokens
2023-09-18 16:36:08 +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
915444b5da
Added documentation about pagination and property filter to API docs.
2023-09-18 13:02:45 +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
64db3ed965
Update dependencies
2023-09-17 11:24:12 +02:00
Jan Böhmer
deec059a38
Merge branch 'master' into api
2023-09-17 10:32:25 +02:00
Jan Böhmer
316b09ddf3
Bumped version to 1.7.1
2023-09-09 23:20:09 +02:00
Jan Böhmer
866ef73774
Upgraded dependencies
2023-09-09 23:19:44 +02:00
Jan Böhmer
138d5c6e0f
Merge remote-tracking branch 'origin/l10n_master'
2023-09-09 23:05:29 +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
9bd1b86f6e
Updated dependencies
2023-09-03 13:47:11 +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
879b702fc1
Fixed PHPunit tests
2023-08-28 22:47:15 +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
55943f5d8f
Fixed wrong env documentation for TME and digikey provider
...
This fixes issue #359
2023-08-28 12:08:47 +02:00
Jan Böhmer
56d120cd08
Fixed styling of no API tokens yet message
2023-08-26 23:21:28 +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
be14fe548c
Updated composer dependencies.
2023-08-26 22:16:49 +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
08f7b2cc87
New translations security.en.xlf (English)
2023-08-23 21:51:37 +02:00
Jan Böhmer
1a2bdaf8e5
New translations validators.en.xlf (English)
2023-08-23 21:51:36 +02:00
Jan Böhmer
d81dec78ae
New translations messages.en.xlf (English)
2023-08-23 21:51:35 +02:00
Jan Böhmer
f78bd03521
New translations messages.en.xlf (German)
2023-08-23 21:51:29 +02:00
Jan Böhmer
6aa16272d8
Merge remote-tracking branch 'origin/l10n_master'
2023-08-23 21:24:45 +02:00
Jan Böhmer
e80f7c08ab
Bumped version to 1.7.0
2023-08-23 21:24:09 +02:00
Jan Böhmer
675f05f0fb
Updated dependencies
2023-08-23 21:23:34 +02:00
Jan Böhmer
b1f23e1684
Added some documentation about the update notification
2023-08-23 21:06:10 +02:00
Jan Böhmer
d612164885
Added that clearing the octopart oauth token is required after changing octopart clientID
...
See discussion in issue #329 . Maybe we will implement a better (more automatic) way to solve this.
2023-08-23 21:00:04 +02:00
Jan Böhmer
b257e1d5f7
New translations messages.en.xlf (German)
2023-08-23 20:51:29 +02:00
Théophile Bornon
f26776ecd5
Fix wrong environment variable name ( #355 )
...
For Octopart, the secret must be set inside the PROVIDER_OCTOPART_SECRET instead of PROVIDER_OCTOPART_CLIENT_SECRET
2023-08-23 20:46:26 +02:00
Jan Böhmer
bf4a23652c
New translations messages.en.xlf (Chinese Simplified)
2023-08-22 08:00:22 +02:00
Jan Böhmer
e7681aedb1
New translations messages.en.xlf (English)
2023-08-21 23:20:48 +02:00
Jan Böhmer
098fcb29fb
Upgraded dependencies
2023-08-21 23:17:42 +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
99ee05a90f
Allow to configure update checking utility via env
2023-08-21 22:57:45 +02:00
Jan Böhmer
fd31f983af
Fixed positioning of the part row selection checkboxes
2023-08-21 22:52:11 +02:00
Jan Böhmer
80bae4167f
Added button to inverse part selection in tables
...
Fix issue #346
2023-08-21 22:49:02 +02:00
Andy
eaee4af715
Update installation_guide-debian.md ( #352 )
...
Fixed a typo: (link to configuration.md)
2023-08-21 17:06:12 +02:00
Jan Böhmer
7d4723c3e4
New translations messages.en.xlf (English)
2023-08-20 23:30:41 +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
e2270aec38
Upgraded further JS packages
2023-08-20 13:03:09 +02:00
Jan Böhmer
73346fcdaf
Upgraded dependencies
2023-08-20 12:51:50 +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
e66ff40733
Use the column order stored in localStorage during the initial datatables ajax call.
...
This way we still have the right ordering when changing pages. This fixes issue #345
2023-08-20 00:41:44 +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
dedb3071d6
New translations messages.en.xlf (English)
2023-08-05 00:10:52 +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
fa4af99525
RELEASE v1.6.1
2023-08-01 16:21:25 +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
1a3e5ec705
Updated dependencies
...
The commit order changes were merged into doctrines main branch, so we can now use the official release instead of the development branch again.
2023-08-01 15:34:37 +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
9bf814d4cd
Fixed error when StructuralEntityChoice type was used for non structural entities.
2023-08-01 15:14:32 +02:00
Jan Böhmer
b5c0f37f88
Fixed exception on visiting certain group edit pages.
...
This fixes issue #340
2023-08-01 15:06:57 +02:00
Jan Böhmer
05d73d2f68
RELEASE v1.6.0
2023-08-01 00:22:29 +02:00
Jan Böhmer
ff284d056c
Updated dependencies.
2023-08-01 00:22:03 +02:00
Jan Böhmer
2393c759f3
Merge branch 'octopart-ip'
2023-07-31 22:43:19 +02:00
Jan Böhmer
0a983513ea
Added documentation for the octopart provider.
2023-07-31 22:43:14 +02:00
Jan Böhmer
c737348cea
Dont skip the Sqlite migration. Do nothing instead
...
Before this migration was never finished and always re executed on subsequent migration attempts.
2023-07-31 22:30:02 +02:00
Jan Böhmer
e8e2258357
Added migration for SQLite
2023-07-31 22:28:19 +02:00
Jan Böhmer
d847b74522
Reenable caching for part provider system.
2023-07-31 22:21:20 +02:00
Jan Böhmer
5750e7dbdf
Fixed exception if octopart did not returned an category for a part
2023-07-31 22:21:08 +02:00
Jan Böhmer
ffe76f9d2e
Use full path for categories returned by Octopart
2023-07-31 22:17:24 +02:00
Jan Böhmer
5b1ad541a8
Added an caching layer to octopart provider to reduce API queries.
2023-07-31 22:11:46 +02:00
Jan Böhmer
4824a82c3f
Fixed error, when octopart search got no results
2023-07-31 01:00:34 +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
827dd01e28
Get shopping informations from octopart
2023-07-31 00:13:59 +02:00
Jan Böhmer
d969f49ecc
Get specifications, mass, footprint and manufacturer status from Octopart
2023-07-31 00:01:19 +02:00
Jan Böhmer
0f336b6f89
Allow for longer manufacturer and supplier URLs
2023-07-31 00:00:57 +02:00
Jan Böhmer
43cc37d10f
Added very basic octopart info provider
2023-07-30 23:04:18 +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
1b3fc2c23c
Fixed PHPUnit exception
2023-07-29 19:03:46 +02:00
Jan Böhmer
8e96971b9c
Merge remote-tracking branch 'origin/l10n_master'
2023-07-29 18:55:48 +02:00
Jan Böhmer
8e39e330fe
Updated dependencies.
2023-07-29 18:55:24 +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
1c222ff293
Improved attachment name generation from DTO url
...
We dont include the query paramaters in the name anymore
2023-07-29 18:38:18 +02:00
Jan Böhmer
2fb1ec7f8a
New translations messages.en.xlf (German)
2023-07-29 18:10:26 +02:00
Jan Böhmer
70f1db9619
New translations messages.en.xlf (German)
2023-07-29 17:10:30 +02:00
Jan Böhmer
11be65678e
Fixed order by FIELD emulation on sqlite via INSTR
...
We need to search for the comma token separators at both ends of the search term, otherwise the ordering will be wrong.
2023-07-29 17:06:35 +02:00
Jan Böhmer
80ed064cd6
Emulate the field function in SQLIte by using an string search, instead of our PHP function callback
2023-07-29 16:50:47 +02:00
Jan Böhmer
62b1e33616
Fixed field ordering on SQLite
2023-07-29 16:42:27 +02:00
Jan Böhmer
52f2ef6d30
New translations messages.en.xlf (German)
2023-07-28 23:30:26 +02:00
Jan Böhmer
8ace78a873
New translations messages.en.xlf (German)
2023-07-28 11:50:42 +02:00
Jan Böhmer
5c30210534
Fixed some stuff on the emulated Field2 function and added tests
2023-07-27 00:38:17 +02:00
Jan Böhmer
1d03b6c38d
Added tests for sqlite emulated functions
2023-07-26 23:39:53 +02:00
Jan Böhmer
d3ead8742e
Implement a special field2 function, to migitiate the argument count limit in sqlite
...
This fixes issue #332 on SQLite DBs
2023-07-26 23:23:25 +02:00
Jan Böhmer
ed6b0057b7
Make the manufacturer field optional on part manufacturer data during Partkeepr import
...
This should fix issue #333
2023-07-26 22:55:18 +02:00
Jan Böhmer
90fbcb88d8
Updated dependencies
2023-07-23 23:22:00 +02:00
Jan Böhmer
be2ed52d93
Fixed phpstan issues
2023-07-23 23:04:45 +02:00
Jan Böhmer
f1af19a52a
Fixed wrong background color for structural links
2023-07-23 23:02:04 +02:00
Jan Böhmer
4c4501073c
Use a two step approach to retrieve part tables
...
This allows us to combine the fast filtering with the fetch joins, which should speed up the datatables a lot.
2023-07-23 21:48:38 +02:00
Jan Böhmer
b8b9a416ac
Fixed wrong type of the supplier filter
2023-07-23 21:33:50 +02:00
Jan Böhmer
fc7e436ca9
Improved image and attachment viewing on part info page
2023-07-23 01:32:28 +02:00
Jan Böhmer
1de1eebc59
Fixed PHPstan issues
2023-07-23 01:20:38 +02:00
Jan Böhmer
a4d411656b
Added a field extension for SQLite and let the database sort the elements by the given ID order directly
2023-07-23 01:19:48 +02:00
Jan Böhmer
1ec4266f96
Fixed sorting for element choice type and added tests
2023-07-23 01:01:29 +02:00
Jan Böhmer
61f02d693f
Added info about alternative names to info provider documentation
2023-07-23 00:29:16 +02:00
Jan Böhmer
cd80552ce7
Fixed PHPstan issues
2023-07-23 00:14:29 +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
c0f626e9bd
Fixed phpstan issue
2023-07-19 23:01:29 +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
2c6de84c9a
Only check every 10 minutes if the user needs to setup a 2FA method enforced by its group
...
That saves us 3 database queries on many requests.
2023-07-19 00:56:28 +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
3a8c835880
Lazily sort info providers list, to prevent unneccesarry work on most container calls
2023-07-19 00:11:19 +02:00
Jan Böhmer
e2dbd3d873
Fixed bug, that prevented all related history entries for an element
...
As the query param had the same name for each iteration, it got overwritten every time
2023-07-19 00:01:42 +02:00
Jan Böhmer
55aabddd41
Allow to sort by user in log data table
2023-07-18 23:45:52 +02:00
Jan Böhmer
eb07820523
Fixed issue that prevented undo changes from being logged
2023-07-18 23:42:01 +02:00
Jan Böhmer
8116217019
Fixed exception when undo/revert to a change which contained a change to a enum property
2023-07-18 23:34:45 +02:00
Jan Böhmer
6fb1845ff7
Use fixed version of jbtronics/2fa-webauthn-bundle
2023-07-17 23:46:12 +02:00
Jan Böhmer
75325f0ed8
Added some trademark disclaimer to Part-DB documentation
2023-07-17 23:28:24 +02:00
Jan Böhmer
0577f9e166
Added some documentation about caching
2023-07-17 23:25:22 +02:00
Jan Böhmer
52c6884e28
Allow slashes in digikey product ids
2023-07-17 23:21:30 +02:00
Jan Böhmer
2be76a488f
Added documentation for part provider system
2023-07-17 23:14:35 +02:00
Jan Böhmer
686535fe42
New translations messages.en.xlf (English)
2023-07-17 00:53:09 +02:00
Jan Böhmer
5c17aee1e4
Properly escape group table name
...
Otherwise MySQL 8 will not be able to use this schema
2023-07-17 00:49:25 +02:00
Jan Böhmer
9b35ac3a99
Updated yarn dependencies.
2023-07-17 00:45:46 +02:00
Jan Böhmer
59b78e850f
Merge branch 'part_info_provider_integration'
2023-07-17 00:43:51 +02:00
Jan Böhmer
3a8c5a788f
Fixed phpstan issues
2023-07-17 00:43:35 +02:00
Jan Böhmer
afcbbe0f43
Fixed phpunit tests
2023-07-17 00:34:00 +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
7b61cb3163
Added more env variables to configure providers
2023-07-17 00:19:02 +02:00
Jan Böhmer
4c1c6701b3
Test availability of the info provider pages
2023-07-16 23:56:30 +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
Jan Böhmer
a5995a2ce8
Centralized logic for part creation form
2023-07-16 23:46:20 +02:00
Jan Böhmer
c810b6772c
Show the value returned by the provider on part creation page.
...
This makes it easier to check or assign a element manually
2023-07-16 23:19:02 +02:00
Jan Böhmer
b74ab18a6d
Added possibility to define alternative names on data structures
...
This can be used to find elements, based on the data returned by info providers
2023-07-16 22:59:46 +02:00
Jan Böhmer
edc54aaf91
Added migrations for sqlite and new additional_names field
2023-07-16 20:47:25 +02:00
Jan Böhmer
b3b205cd6e
Added permissions to control access to info providers and oauth tokens
2023-07-16 20:33:24 +02:00
Jan Böhmer
2fe4def775
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 20:30:24 +02:00
Jan Böhmer
7bbf612394
Fixed title of info providers list
2023-07-16 20:09:20 +02:00
Jan Böhmer
97ab1f0492
Improved search page
2023-07-16 20:05:11 +02:00
Jan Böhmer
81bfcdd158
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 19:30:23 +02:00
Jan Böhmer
6862d318f0
Cache the DTO objects returned by the info providers
...
This saves API requests
2023-07-16 19:05:26 +02:00
Jan Böhmer
412fa3f0bf
Get datasheets and category from digikey
2023-07-16 18:35:44 +02:00
Jan Böhmer
01d9109c45
Improved digikey provider
2023-07-16 17:10:48 +02:00
Jan Böhmer
dd914d1d64
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 16:56:03 +02:00
Jan Böhmer
5cf3624a3a
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 13:20:24 +02:00
Jan Böhmer
c7ff8c2dd1
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 12:20:29 +02:00
Jan Böhmer
83c202d675
New translations messages.en.xlf (Chinese Simplified)
2023-07-16 11:20:25 +02:00
Jan Böhmer
f7648e3311
Added an button to connect the oauth providers from WebUI
2023-07-16 03:18:33 +02:00
Jan Böhmer
c203de082e
Added proper OAuth authentication for digikey and other providers
2023-07-16 03:07:53 +02:00
Jan Böhmer
a95ba1acc4
Add a reference to the used info provider to a part
2023-07-16 01:24:49 +02:00
Jan Böhmer
db325525e4
New translations messages.en.xlf (Chinese Simplified)
2023-07-15 22:30:25 +02:00
Jan Böhmer
db97114fb4
Use preview image and other additional images provided by the info provider
2023-07-15 21:41:35 +02:00
Jan Böhmer
b18a300f10
New translations validators.en.xlf (Chinese Simplified)
2023-07-15 21:30:27 +02:00
Jan Böhmer
61ffb857ee
New translations messages.en.xlf (Chinese Simplified)
2023-07-15 21:30:26 +02:00
Jan Böhmer
701212239d
Use an experimental doctrine/orm version to fix some issues persisting attachments while simutanously creating a new attachment type
...
The circular reference between attachmentTypeAttachment and attachmentType seems to confuse doctrine. This is fixed in the experimental version
2023-07-15 21:17:10 +02:00
Jan Böhmer
422fa01c6f
Use the initial element for database if the value was not changed.
2023-07-15 21:00:45 +02:00
Jan Böhmer
62820b4dd9
New translations validators.en.xlf (Chinese Simplified)
2023-07-15 20:30:54 +02:00
Jan Böhmer
8ea92ef330
Added tests for DTOConverter
2023-07-15 18:18:35 +02:00
Jan Böhmer
de82249d8d
Provide footprint information on TMEProvider
2023-07-15 01:52:46 +02:00
Jan Böhmer
94a26ae75a
Allow to extract ranges from paramaters
2023-07-15 01:41:29 +02:00
Jan Böhmer
f9fdae9de9
Added an TME data provider
2023-07-15 01:01:20 +02:00
Jan Böhmer
0cb46039dd
Allow to retrieve price and shopping informations from info providers
2023-07-14 00:09:22 +02:00
Jan Böhmer
c4439cc9db
Mark newly created entities better in structural entity selector
2023-07-12 23:58:40 +02:00
Jan Böhmer
6cd9640b30
Allow to automatically find or create entities from database based on info providers
2023-07-12 23:43:16 +02:00
Jan Böhmer
f9bce3dfdb
Merge branch 'master' into part_info_provider_integration
2023-07-11 22:04:06 +02:00
Jan Böhmer
8eb0c997ed
Updated dependencies
2023-07-11 22:01:32 +02:00
Jan Böhmer
a8f96e06bd
Automatically whitelist the SAML IIDP domain for external redirect
...
This fixes issue #318
2023-07-11 21:50:55 +02:00
Jan Böhmer
9a2945927f
New translations security.en.xlf (Chinese Simplified)
2023-07-10 23:36:28 +02:00
Jan Böhmer
89f9249ec6
New translations messages.en.xlf (Chinese Simplified)
2023-07-10 23:36:27 +02:00
Jan Böhmer
24f572253f
New translations messages.en.xlf (Chinese Simplified)
2023-07-10 22:36:25 +02:00
Jan Böhmer
4fc9c19893
Removed useless tabs in code blocks in installation guide
2023-07-10 13:26:07 +02:00
Jan Böhmer
f6fcd730a8
Added how you checkout a stable release in the installation guide
...
Related to discussion #317
2023-07-10 13:20:44 +02:00
Jan Böhmer
716a56979d
Added basic possibilty to create parts based on infoProviders
2023-07-09 23:31:40 +02:00
Jan Böhmer
538476be99
Added a info provider for element14/Farnell
2023-07-09 18:51:54 +02:00
Jan Böhmer
93a170a893
Added basic search system in info providers
2023-07-09 17:55:41 +02:00
Jan Böhmer
e0301f096f
Added an very basic system to configure info providers
2023-07-09 14:27:41 +02:00
Jan Böhmer
9e3cb4d694
Use enum for manufacturing status
2023-07-08 23:49:47 +02:00
Jan Böhmer
49b76c3e43
New translations messages.en.xlf (English)
2023-07-08 23:16:14 +02:00
Jan Böhmer
9962784991
New translations messages.en.xlf (Chinese Simplified)
2023-07-08 23:16:12 +02:00
Jan Böhmer
6336b38cfc
Bumped version to 1.6.0-dev
2023-07-08 23:07:33 +02:00
Jan Böhmer
2362835275
Merge branch 'user_impersonator'
2023-07-08 23:07:12 +02:00
Jan Böhmer
8a4ede9d43
Write to event log, when a user gets impersonated
2023-07-08 23:07:06 +02:00
Jan Böhmer
cc1595e048
Added button to user admin to impersonate a certain user
2023-07-08 22:43:41 +02:00
Jan Böhmer
ca16763423
Bumped version to 1.5.1
2023-07-08 21:11:55 +02:00
Jan Böhmer
b6dd5bb881
Fixed ordering columns of tables when columns were reordered
2023-07-08 20:16:52 +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
91e9c6e048
Use bootstrap popover for title attribute in datatables
2023-07-08 19:08:00 +02:00
Jan Böhmer
b941b97eee
Show full paths of elements on hover in part tables
...
Related to discussion #312
2023-07-08 19:02:43 +02:00
Jan Böhmer
d38ac652fc
Do not cut QR code on small label pages
...
Fixes issue #314
2023-07-08 18:46:29 +02:00
Jan Böhmer
bdcf3b71ce
Fixed exception when parameter constraint unit field is empty
2023-07-08 18:39:44 +02:00
Jan Böhmer
ddbf8b7725
Fixed phpstan issue
2023-07-04 00:35:57 +02:00
Jan Böhmer
a6fd4547a7
Bumped version to 1.5.1
2023-07-04 00:31:37 +02:00
Jan Böhmer
d20153c569
Added basic logic for impersonation
2023-07-04 00:31:13 +02:00
Jan Böhmer
15e072a2ff
Fixed exception when the calculated minimum_order_price is null
...
This fixes issue #311
2023-07-03 23:41:39 +02:00
Jan Böhmer
f98e20aa84
Fixed errors importing partkeepr databases
2023-07-03 23:33:45 +02:00
Jan Böhmer
e7a1b33ae6
Allow to set the exchange rate of a currency to null (not existing) after it was set once
2023-07-03 22:15:58 +02:00
Jan Böhmer
2d5f23271f
Force that an currency has an iso currency code
...
Otherwise it will crash a lot of formatter code (and a currency which is not existing is not really useful)
2023-07-03 22:11:12 +02:00
Jan Böhmer
059110ae7a
Improved styling of a info level flash toast in darkmode
2023-07-03 22:01:39 +02:00
Jan Böhmer
ac84c175af
Bumped version to 1.5.0
2023-07-03 00:59:12 +02:00
Jan Böhmer
3b6014c229
Updated dependencies
2023-07-03 00:58:43 +02:00
Jan Böhmer
9cb265c6f5
Improved margin between darkmode label and darkmode selector
2023-07-03 00:55:11 +02:00
Jan Böhmer
a47f0ccc12
Fixed phpstan issue
2023-07-03 00:38:14 +02:00
Jan Böhmer
e032f6b33d
Use root node of sidebar trees as link to link to all parts list
2023-07-03 00:34:37 +02:00
Jan Böhmer
98e179ba06
Validate bom when adding additional bom entries via addPart controller to prevent invalid BOMs
...
This fixes issue #302
2023-07-03 00:28:37 +02:00
Jan Böhmer
2ebb4fef4c
Added some tests to constraint validators
2023-07-02 23:59:06 +02:00
Jan Böhmer
e72b120c12
Use new UniqueObjectCollection constraint to ensure that BOM entries does not contain duplicate items
2023-07-02 20:49:10 +02:00
Jan Böhmer
7b87b00b44
Properly reset the page length when reloading a datatable
...
Fixes issue #309
2023-07-02 19:44:26 +02:00
Jan Böhmer
2b793bf242
Fixed tests
2023-07-02 17:46:09 +02:00
Jan Böhmer
49ae906029
Allow to directly specify the scanned string via an input query parameter
2023-07-02 14:16:32 +02:00
Jan Böhmer
4f82a0f026
Fixed qr code scan URL paths
2023-07-02 14:03:29 +02:00
Jan Böhmer
ae8edffdc8
Put the dompdf fonts and temp files in a folder inside var/dompdf, which should always be writable by the server process
2023-07-02 13:57:15 +02:00
Jan Böhmer
2b67c1c631
Use development version of dompdf, so we can use character level fallback fonts for dompdf
...
This is useful, so mixed character text is always shown and you not need to explicitly select unifont as font
2023-07-02 03:36:42 +02:00
Jan Böhmer
d395cf66a0
Fixed problem with label additional styles for labels
2023-07-02 03:28:17 +02:00
Jan Böhmer
956ed9e8ae
Added GNU unifont as fallback font for labels with CJK characters
2023-07-02 03:26:56 +02:00
Jan Böhmer
63726b09d6
New translations security.en.xlf (English)
2023-06-30 00:26:50 +02:00
Jan Böhmer
f78d42cc30
New translations validators.en.xlf (English)
2023-06-30 00:26:49 +02:00
Jan Böhmer
5d1c807a86
New translations messages.en.xlf (English)
2023-06-30 00:26:48 +02:00
Jan Böhmer
fad077aad9
New translations security.en.xlf (Chinese Simplified)
2023-06-30 00:26:47 +02:00
Jan Böhmer
24f47bee73
New translations validators.en.xlf (Chinese Simplified)
2023-06-30 00:26:46 +02:00
Jan Böhmer
d93b7b2cb2
New translations messages.en.xlf (Chinese Simplified)
2023-06-30 00:26:45 +02:00
Jan Böhmer
ab03111a84
New translations security.en.xlf (German)
2023-06-30 00:26:38 +02:00
Jan Böhmer
1ba03b69f6
New translations validators.en.xlf (German)
2023-06-30 00:26:37 +02:00
Jan Böhmer
9957f64628
New translations messages.en.xlf (German)
2023-06-30 00:26:36 +02:00
Jan Böhmer
6505af2a8b
Disable translation file linting as it causes problems with empty translation files
2023-06-29 23:37:42 +02:00
Jan Böhmer
54c74bac6e
Show in README that we now require PHP 8.1
2023-06-29 23:35:06 +02:00
Jan Böhmer
5cf4c879dd
Merge remote-tracking branch 'origin/l10n_master'
2023-06-29 23:32:12 +02:00
Jan Böhmer
aa00db48ce
Updated dependencies
2023-06-29 23:31:17 +02:00
Jan Böhmer
4a158db632
New translations messages.en.xlf (German)
2023-06-29 23:26:32 +02:00
Jan Böhmer
f57a0ecba2
Use correct permission name 'show_private' instead of 'show_secure' in templates
...
This fixes issue #307
2023-06-28 16:30:16 +02:00
Jan Böhmer
3614c82632
Use light background for image on part page
2023-06-28 16:21:03 +02:00
Jan Böhmer
9207d41f17
New translations messages.en.xlf (English)
2023-06-28 16:17:50 +02:00
Jan Böhmer
c5abd0ff3f
New translations security.en.xlf (Chinese Traditional)
2023-06-28 16:17:49 +02:00
Jan Böhmer
2c2bde1e05
New translations validators.en.xlf (Chinese Traditional)
2023-06-28 16:17:48 +02:00
Jan Böhmer
dcff8c0d9a
New translations messages.en.xlf (Chinese Traditional)
2023-06-28 16:17:47 +02:00
Jan Böhmer
44555e5289
New translations security.en.xlf (Chinese Simplified)
2023-06-28 16:17:45 +02:00
Jan Böhmer
9c4eff68a3
New translations validators.en.xlf (Chinese Simplified)
2023-06-28 16:17:44 +02:00
Jan Böhmer
8f9122c706
New translations messages.en.xlf (Chinese Simplified)
2023-06-28 16:17:43 +02:00
Jan Böhmer
3eb1b476dd
New translations messages.en.xlf (Russian)
2023-06-28 16:17:40 +02:00
Jan Böhmer
0de9f48be4
New translations messages.en.xlf (Japanese)
2023-06-28 16:17:37 +02:00
Jan Böhmer
162b482a8b
New translations messages.en.xlf (Greek)
2023-06-28 16:17:34 +02:00
Jan Böhmer
2a46358ccf
New translations messages.en.xlf (German)
2023-06-28 16:17:31 +02:00
Jan Böhmer
8146d6c293
New translations messages.en.xlf (French)
2023-06-28 16:17:29 +02:00
Jan Böhmer
5ab067cf86
Use password strenght estimator when setting new password after password reset.
2023-06-28 16:12:38 +02:00
Jan Böhmer
720859197c
Removed unused controller, which was used for U2F registration before
2023-06-28 16:10:18 +02:00
Jan Böhmer
ce064a0b37
Use symfony/ux-translator to translate password_strength_estimator badges
2023-06-28 16:00:11 +02:00
Jan Böhmer
bfd82fb415
Use zxcvbn-core for password strength estimator and lazy load the controller
...
As we can now configure the used wordbooks, we can reduce the size of the file extremly
2023-06-28 14:44:29 +02:00
Jan Böhmer
655f656781
New translations messages.en.xlf (English)
2023-06-27 01:20:33 +02:00
Jan Böhmer
3f32841f49
New translations security.en.xlf (Chinese Traditional)
2023-06-27 01:20:32 +02:00
Jan Böhmer
4d7c021925
New translations validators.en.xlf (Chinese Traditional)
2023-06-27 01:20:31 +02:00
Jan Böhmer
ac923fe669
New translations messages.en.xlf (Chinese Traditional)
2023-06-27 01:20:30 +02:00
Jan Böhmer
d35b62995e
New translations security.en.xlf (Chinese Simplified)
2023-06-27 01:20:29 +02:00
Jan Böhmer
ae7d2745db
New translations validators.en.xlf (Chinese Simplified)
2023-06-27 01:20:28 +02:00
Jan Böhmer
5ff47e63bc
New translations messages.en.xlf (Chinese Simplified)
2023-06-27 01:20:27 +02:00
Jan Böhmer
389341f613
New translations validators.en.xlf (Russian)
2023-06-27 01:20:25 +02:00
Jan Böhmer
00b51ad40d
New translations messages.en.xlf (Russian)
2023-06-27 01:20:24 +02:00
Jan Böhmer
34c39597f5
New translations validators.en.xlf (Japanese)
2023-06-27 01:20:22 +02:00
Jan Böhmer
4516e75b6f
New translations messages.en.xlf (Japanese)
2023-06-27 01:20:21 +02:00
Jan Böhmer
040518cca8
New translations validators.en.xlf (German)
2023-06-27 01:20:17 +02:00
Jan Böhmer
5d336e5fb9
New translations messages.en.xlf (German)
2023-06-27 01:20:16 +02:00
Jan Böhmer
e7d0103869
New translations validators.en.xlf (French)
2023-06-27 01:20:14 +02:00
Jan Böhmer
55cb10910f
New translations messages.en.xlf (French)
2023-06-27 01:20:13 +02:00
Jan Böhmer
ecded8af93
Added password meter based on zxcvbn
...
Maybe we will use a different package later, as this one is very big...
2023-06-27 01:07:26 +02:00
Jan Böhmer
20826daa18
Show a notice flash if the content of labels is empty
...
This implements the suggestion of issue #297
2023-06-27 00:18:47 +02:00
Jan Böhmer
742f1f4622
Moved add bom entries button to top of BOM table
2023-06-27 00:11:16 +02:00
Jan Böhmer
49cf20545f
Fixed exception occuring when deleting an element
2023-06-27 00:10:55 +02:00
Jan Böhmer
289e6f3d1c
Added translations for darkmode buttons
2023-06-27 00:02:56 +02:00
Jan Böhmer
b246d17a33
Fixed darkmode in tomselect group headers.
2023-06-26 23:59:44 +02:00
Jan Böhmer
c6b6616ee3
Added internal part number (IPN) as label placeholders
...
This fixes issue #306
2023-06-26 23:56:23 +02:00
Jan Böhmer
d6500c45aa
Use the domain name in server_name field of Google Authenticator QR code
...
We achieve that by decorating the GoogleAuthenticator service
2023-06-26 23:47:54 +02:00
Jan Böhmer
6fd79688b0
Merge branch 'darkmode-migration'
2023-06-26 23:02:12 +02:00
Jan Böhmer
c6478857bc
Improved dark mode
2023-06-26 23:01:32 +02:00
Jan Böhmer
8a711ffecb
Added darkmode styles for CKEDITOR
2023-06-26 22:57:36 +02:00
Jan Böhmer
139ea879df
Fixed deprecation notices on marked js
2023-06-26 21:48:39 +02:00
Jan Böhmer
6a0968cc02
Updated dependencies.
2023-06-26 21:37:17 +02:00
Jan Böhmer
5a1fa409d8
Do not try to reset autoincrement of sqlite test DB as this somehow cause trouble with loading fixtures...
2023-06-20 02:02:23 +02:00
Jan Böhmer
225da163bb
Fixed exception on user settings submission
2023-06-20 01:43:02 +02:00
Jan Böhmer
801ed0fbaf
Made tom select dark mode compatible
2023-06-20 01:30:08 +02:00
Jan Böhmer
ea44fe0f16
Fixed indention of structual element
2023-06-20 01:11:41 +02:00
Jan Böhmer
6081fe3295
Fixed darkmode for some elements
2023-06-20 01:01:40 +02:00
Jan Böhmer
6df65a0b9d
Implemented a new darkmode selector using bootstrap 5.3 color mode
2023-06-19 01:08:11 +02:00
Jan Böhmer
0aec9419ec
Configure fixtures load decorator only for test env, as the base command is not available in production environments (missing dev dependencies)
2023-06-18 23:49:45 +02:00
Jan Böhmer
bb510a9240
Fixed test failure, caused by validation on user element
2023-06-18 22:11:58 +02:00
Jan Böhmer
cce3e1cfb8
Specify order in which the data fixtures should be loaded
2023-06-18 22:06:42 +02:00
Jan Böhmer
4977f6c270
Reset autoincrements on SQLite with our ResetAutoIncrementPurger too and make it default for fixtures load
2023-06-18 22:06:06 +02:00
Jan Böhmer
fe1715259a
Updated dependencies
2023-06-18 21:38:02 +02:00
Jan Böhmer
f4c0d84380
Bumped version to 1.5.0-dev
2023-06-18 21:33:42 +02:00
Jan Böhmer
8a20584e27
Use enum for undo mode
2023-06-18 21:26:28 +02:00
Jan Böhmer
218b0adb8f
Only enable Choice and InstanceOfConstraints if a value is provided
2023-06-18 21:20:07 +02:00
Jan Böhmer
7d99607919
Use an enum for the part stock change type
2023-06-18 20:42:05 +02:00
Jan Böhmer
9adfcc7aec
Use an enum for target_type in log entries
2023-06-18 18:31:39 +02:00
Jan Böhmer
2da7463edf
Use a enum for level in LogEntries
2023-06-18 17:25:55 +02:00
Jan Böhmer
4a644d8712
Replaced filter classes getters with public readonly properties to improve DX
2023-06-18 16:41:00 +02:00
Jan Böhmer
afa17ca429
Explicitly convert the database size to an int to prevent type error
2023-06-18 16:12:39 +02:00
Jan Böhmer
50708c6942
Use level 5 of phpstan analysis for CI static analysis
2023-06-18 16:02:50 +02:00
Jan Böhmer
cbdf0a9392
Fixed some errors introduced by earlier typings
2023-06-18 16:01:28 +02:00
Jan Böhmer
b7c8ca2a48
Improved typing and phpdoc type annotations
2023-06-18 15:37:42 +02:00
Jan Böhmer
3817ba774d
Ignore the remaining issues
2023-06-18 00:28:21 +02:00
Jan Böhmer
e8771ea118
Fixed some more phpstan issues
2023-06-18 00:00:58 +02:00
Jan Böhmer
2f46fbfc7a
Added stricter phpstan checks
2023-06-14 23:14:49 +02:00
Jan Böhmer
78b0e1bf7e
Fixed errors when setting setParent on a proxied AbstractStructuralDBElement
2023-06-13 21:00:25 +02:00
Jan Böhmer
19530a9102
Fixed some PHPStan level 5 issues
2023-06-13 20:24:54 +02:00
Jan Böhmer
74051c5649
Exclude tests from phpstan analysis
2023-06-13 19:06:50 +02:00
Jan Böhmer
f3f391ab43
Updated phpstan config
2023-06-13 19:01:19 +02:00
Jan Böhmer
fc75621f1a
Fixed DataFixtures
2023-06-13 18:54:18 +02:00
Jan Böhmer
fc3290271c
Started to increase the phpstan level
2023-06-13 10:36:34 +02:00
Jan Böhmer
71cd4057a7
Use enums for LabelOptions
2023-06-12 23:39:30 +02:00
Jan Böhmer
485b35fbd4
Fixed static analysis issues
2023-06-11 23:16:07 +02:00
Jan Böhmer
172884ace8
Updated webprofiler bundle
2023-06-11 20:00:25 +02:00
Jan Böhmer
b788c3745c
Updated recipe of twig-bundle
2023-06-11 19:59:44 +02:00
Jan Böhmer
7658cfcdbd
Updated symfony/stimulus-bridge recipe
2023-06-11 19:58:31 +02:00
Jan Böhmer
52c8ea13af
Updated doctrine/annotations recipe
2023-06-11 19:54:50 +02:00
Jan Böhmer
8f424f3273
Removed sensio/framework-extra-bundle as it was abandoned and is not needed anymore
2023-06-11 19:52:43 +02:00
Jan Böhmer
3d7cf8f7f3
Removed remaining annotations
2023-06-11 19:42:02 +02:00
Jan Böhmer
930adaf439
Moved custom validators from annotations to attributes
2023-06-11 19:32:15 +02:00
Jan Böhmer
e5a14557a2
Fixed strict typing errors
2023-06-11 19:05:27 +02:00
Jan Böhmer
6a2ff9d153
Added declare strict types to all files
2023-06-11 18:59:07 +02:00
Jan Böhmer
bea90a7d94
Updated dependencies
2023-06-11 18:27:49 +02:00
Jan Böhmer
e57d6e508a
Fixed some serializer deprecations
2023-06-11 18:12:22 +02:00
Jan Böhmer
219b57a362
Fixed some deprecations
2023-06-11 17:38:08 +02:00
Jan Böhmer
df8f54f5a4
Fixed tests for stricter typing
2023-06-11 15:32:29 +02:00
Jan Böhmer
fcbb1849ec
Applied rectors phpunit 9 migrations to tests
2023-06-11 15:15:55 +02:00
Jan Böhmer
684334ba22
Improved code style of tests
2023-06-11 15:02:59 +02:00
Jan Böhmer
5629215ce4
Use imports instead of FQNs
2023-06-11 15:00:28 +02:00
Jan Böhmer
f63b6d7207
Fixed service wiring configuration
2023-06-11 14:50:47 +02:00
Jan Böhmer
98dc553938
Applied rector to test files
2023-06-11 14:18:53 +02:00
Jan Böhmer
7ee01d9a05
Applied rector with PHP8.1 migration rules
2023-06-11 14:17:19 +02:00
Jan Böhmer
dc6a67c2f0
Made the ALLOWED_ELEMENT_CLASS protected so we can apply rector
...
Its bad style to override a public const in a child class
2023-06-11 14:02:59 +02:00
Jan Böhmer
affed459df
Updated recipe of doctrine/doctrine-bundle
2023-06-11 13:49:21 +02:00
Jan Böhmer
8d4b8b02b8
Upgraded to symfony 6.3
2023-06-11 13:46:24 +02:00
Jan Böhmer
8c430a3af0
Fixed tests
2023-06-11 13:42:45 +02:00
Jan Böhmer
b7573a40d7
Fixed webauthn two factor authentication
2023-06-11 13:14:45 +02:00
Jan Böhmer
624696711d
Merge branch 'master' into php81-migration
2023-06-11 12:20:02 +02:00
Jan Böhmer
56828e9e00
Bumped version to 1.4.2
2023-06-11 00:41:19 +02:00
Jan Böhmer
d2358c9550
Updated dependencies
2023-06-11 00:41:00 +02:00
Jan Böhmer
ab11747fab
Fixed issue, that users table were delete while PartKeepr import on certain databases
...
This fixes issue #299
2023-06-11 00:31:05 +02:00
Jan Böhmer
44cb0fa434
Added a more verbose error message in the case of a pretty generic Database DriverException
2023-06-11 00:20:27 +02:00
Jan Böhmer
13814695ac
Add hint to docker logs to error page
2023-06-11 00:12:24 +02:00
Jan Böhmer
377e2eb613
Properly redirect the stdout of php-fpm to the docker logs
...
This fixes issue #298
2023-06-11 00:09:00 +02:00
Jan Böhmer
bf4725a768
New translations security.en.xlf (Chinese Traditional)
2023-06-09 11:46:55 +02:00
Jan Böhmer
ed65abf786
New translations validators.en.xlf (Chinese Traditional)
2023-06-09 11:46:54 +02:00
Jan Böhmer
8d29fe8679
New translations messages.en.xlf (Chinese Traditional)
2023-06-09 11:46:53 +02:00
Jan Böhmer
f4f77c62c8
New translations security.en.xlf (Chinese Simplified)
2023-06-09 11:46:52 +02:00
Jan Böhmer
2cc08cdea1
New translations validators.en.xlf (Chinese Simplified)
2023-06-09 11:46:52 +02:00
Jan Böhmer
03dc6d63ed
New translations messages.en.xlf (Chinese Simplified)
2023-06-09 11:46:51 +02:00
Jan Böhmer
bcb3ccec9a
Added translation for security key registration error message
2023-06-07 00:52:13 +02:00
Jan Böhmer
4bec8efea1
Make LogoutLoggerEventSubscriber an event listener
2023-06-07 00:46:03 +02:00
Jan Böhmer
58b2c2bd69
Merge branch 'master' into php81-migration
2023-06-06 23:46:37 +02:00
Jan Böhmer
636776c531
Bumped version to 1.4.1
2023-06-06 23:22:39 +02:00
Jan Böhmer
ca4a33d408
Merge remote-tracking branch 'origin/l10n_master'
2023-06-06 23:21:44 +02:00
Jan Böhmer
9db158f4d4
Updated dependencies
2023-06-06 23:20:51 +02:00
Jan Böhmer
ea8b179df1
Added timetravel URL for PartAttachment elements
2023-06-06 23:16:51 +02:00
Jan Böhmer
efc152e3c8
Do not throw an exception during rendering of log detail page, if element has no time travel URL
2023-06-06 23:15:14 +02:00
Jan Böhmer
e68827bf3b
Show a validation error message, when try to submit a form where a input is still set to a disabled value.
...
Normally this would just send a null to the server, which often cause excptions. We now catch that earlier, and say the user that he have to select another option, when he tries to submit
2023-06-06 23:05:44 +02:00
Jan Böhmer
58bf69882f
Updated dependencies.
2023-06-05 22:15:07 +02:00
Jan Böhmer
915f313efd
New translations security.en.xlf (English)
2023-05-28 18:05:45 +02:00
Jan Böhmer
52d29099a2
New translations messages.en.xlf (English)
2023-05-28 18:05:44 +02:00
japm48
c06fc926a1
Update translation ( #295 )
...
* Update security.en.xlf
* Update messages.en.xlf
2023-05-28 18:02:02 +02:00
Jan Böhmer
79ab1a2277
Fixed various issues inside the tests
2023-05-28 02:16:40 +02:00
Jan Böhmer
7c03630e24
Added DB migration to fix compatibility with latest webauthn bundle
2023-05-28 02:06:48 +02:00
Jan Böhmer
34a65419c7
Use attributes as route provider (instead of annotations)
2023-05-28 01:57:49 +02:00
Jan Böhmer
7191ece7a5
Configure doctrine to use attributes instead of annotations
2023-05-28 01:55:30 +02:00
Jan Böhmer
0837f84a43
Migrated doctrine annotations to attributes
2023-05-28 01:51:13 +02:00
Jan Böhmer
0bc4699cdc
Started to move doctrine annotations to attributes (rector automated)
2023-05-28 01:33:45 +02:00
Jan Böhmer
bb1285c35c
Remove defaultDescription from commands, as this is now part of the annotation
2023-05-28 01:32:04 +02:00
Jan Böhmer
21fc554589
Fixed error with LogoutLoggerEventSubscriber
2023-05-28 01:25:00 +02:00
Jan Böhmer
a43af180a7
Applied rector rules up to symfony 6.2
2023-05-28 01:21:05 +02:00
Jan Böhmer
88ea920dfb
Add rector for automated refactoring
2023-05-28 01:16:12 +02:00
Jan Böhmer
132aac3951
Removed config/bootstrap.php which was left over from symfony 4.4 and which caused problems with phpunit
2023-05-28 01:01:19 +02:00
japm48
7640ed08bc
docker: add missing PassEnv directives ( #294 )
2023-05-27 23:59:21 +02:00
Jan Böhmer
1dbf36b86b
Use str_contains and similar instead of strpos
2023-05-27 23:58:28 +02:00
Jan Böhmer
508de10191
Modernized phpunit.xml.dist
2023-05-27 21:20:21 +02:00
Jan Böhmer
ccfe259c69
Updated recipe of symfony/webpack-encore
2023-05-27 21:05:03 +02:00
Jan Böhmer
0573f80525
Updated symfony/security recipe
2023-05-27 21:04:28 +02:00
Jan Böhmer
8fb4e6c4ee
Updated recipe of symfony/recipe
2023-05-27 21:02:59 +02:00
Jan Böhmer
05b2515b3b
Updated recipe of symfony/framework-bundle
2023-05-27 21:02:02 +02:00
Jan Böhmer
0ecb339fdf
Updated recipe of scheb/2fa bundle
2023-05-27 20:53:34 +02:00
Jan Böhmer
92ddebc289
Updated recipe of php-http/discovery
2023-05-27 20:52:04 +02:00
Jan Böhmer
1a3f0675bf
Updated doctrine bundle recipe
2023-05-27 20:51:05 +02:00
Jan Böhmer
c24019fd57
Fixed error preventing the service container from compiling
2023-05-27 20:46:02 +02:00
Jan Böhmer
55641a234c
Require PHP 8.1 in composer.json
2023-05-27 20:40:30 +02:00
Jan Böhmer
9f52d364c9
Use newer nbgrp/onelogin-saml-bundle bundle for handling SAML
2023-05-27 20:38:32 +02:00
Jan Böhmer
edce70bc12
Updated symfony to 6.2, updated scheb/2fa bundle and removed obsolete hslavich/oneloginsaml-bundle
2023-05-27 20:35:36 +02:00
Jan Böhmer
b8a7f81f55
Bumped dependencies (dont work yet)
2023-05-27 20:25:51 +02:00
Jan Böhmer
ef9b2aefe5
Set platform in composer.json to PHP 8.1.0 and updated dependencies
2023-05-27 20:10:18 +02:00
Jan Böhmer
cd1413a74e
CheckRequirementsCommand now recommends PHP 8.2
2023-05-27 20:07:03 +02:00
Jan Böhmer
4e9d93957e
Removed tests for PHP 7.4 and PHP 8.0
2023-05-27 20:06:44 +02:00
Jan Böhmer
9c4e9066f9
Bump to version 1.4.0
2023-05-27 19:29:47 +02:00
Jan Böhmer
b4d1af2bce
Merge remote-tracking branch 'origin/l10n_master'
2023-05-27 19:29:28 +02:00
Jan Böhmer
5ec676c40c
Fixed static analysis issue
2023-05-27 19:29:00 +02:00
Jan Böhmer
5096aea5bb
New translations security.en.xlf (English)
2023-05-27 19:26:51 +02:00
Jan Böhmer
feedd190dc
New translations validators.en.xlf (English)
2023-05-27 19:26:51 +02:00
Jan Böhmer
3423fffaca
New translations messages.en.xlf (English)
2023-05-27 19:26:50 +02:00
Jan Böhmer
1624fd2e28
New translations security.en.xlf (German)
2023-05-27 19:26:42 +02:00
Jan Böhmer
10b3094d5e
New translations validators.en.xlf (German)
2023-05-27 19:26:42 +02:00
Jan Böhmer
580e638f67
New translations messages.en.xlf (German)
2023-05-27 19:26:41 +02:00
Jan Böhmer
e44428f87c
Updated dependencies.
2023-05-27 19:24:14 +02:00
Jan Böhmer
379f7ef865
Implemented proper voters for attachments and parameters, so we can decide access for log details
2023-05-27 19:17:27 +02:00
Jan Böhmer
427f6e4d55
Merge remote-tracking branch 'origin/l10n_master'
2023-05-23 23:12:56 +02:00
Jan Böhmer
07a1e9fc3c
New translations messages.en.xlf (English)
2023-05-23 23:09:42 +02:00
Jan Böhmer
78d64e8f1b
New translations messages.en.xlf (German)
2023-05-23 23:09:32 +02:00
Jan Böhmer
559a9a9f3e
New translations messages.en.xlf (German)
2023-05-23 22:45:26 +02:00
Jan Böhmer
ac6dd23fd6
Respect different currencies for pricedetails when importing from PartKeepr
2023-05-22 23:34:58 +02:00
Jan Böhmer
1e515df0b5
Fixed previous commit: Use the same behavior to determine the extension of file attachments like PartKeepr does, to ensure that all attachments are shown as available
...
This fixes issue #291
2023-05-22 23:06:41 +02:00
Jan Böhmer
35490762a6
Use the same behavior to determine the extension of file attachments like PartKeepr does, to ensure that all attachments are shown as available
...
This fixes issue #291
2023-05-22 22:55:18 +02:00
Jan Böhmer
c25e23d3d9
New translations messages.en.xlf (English)
2023-05-18 23:36:43 +02:00
Jan Böhmer
8bb8257e62
Added a log entry detail page for collection element deleted log entries.
2023-05-18 23:05:40 +02:00
Jan Böhmer
5f096927bd
New translations messages.en.xlf (English)
2023-05-16 00:17:44 +02:00
Jan Böhmer
434826c125
Use default CodeQL workflow which is configured via repo settings and not via a action file
2023-05-16 00:16:50 +02:00
Jan Böhmer
89595cd5dc
We are in development of version 1.4.0 now
2023-05-16 00:08:57 +02:00
Jan Böhmer
d991e15a94
Merge branch 'log_detail_page'
2023-05-16 00:08:12 +02:00
Jan Böhmer
6a1aefa5a5
Allow access to log detail page (only) if a user has permission to show_history of an entity
2023-05-16 00:05:54 +02:00
Jan Böhmer
272684e7eb
Visualize generic object/JSON data of element history data as pretty tree structure on log detail page
2023-05-15 23:55:36 +02:00
Jan Böhmer
9be3eba694
Added button to delete a log entry via the log detail page.
2023-05-15 23:02:30 +02:00
Jan Böhmer
5a3fc0fb43
Show and link which log entry was undone/reverted on log detail page
2023-05-15 22:42:08 +02:00
Jan Böhmer
47ef8e9568
Updated dependencies
2023-05-15 00:36:36 +02:00
Jan Böhmer
e4285bbc78
delete_btn_controller: Keep the value and name of the original clicked button
...
This fixes an error message when undoing or reverting a log entry
2023-05-15 00:34:06 +02:00
Jan Böhmer
49b6a42791
Added buttons for revert and undo to the log detail page
2023-05-15 00:16:49 +02:00
Jan Böhmer
b62fd602f2
Show the diff of element edited log entries on detail pages
2023-05-14 23:08:14 +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
3c724a227a
Merge branch 'master' into log_detail_page
2023-05-14 16:43:52 +02:00
Jan Böhmer
90d26eb16a
New translations messages.en.xlf (English)
2023-05-09 01:18:42 +02:00
Jan Böhmer
b629744e1a
We are in development of v1.3.4 now
2023-05-09 00:27:18 +02:00
Jan Böhmer
b0ab43c39a
Show a proper error message table when encountering an invalid regex statement on SQLite
...
This is related to #289
2023-05-09 00:26:40 +02:00
Jan Böhmer
2c33b381c1
Allow to unselect name, category, description fields etc in search functionm
...
Before this commit it was ignored, if the checkboxes for these fields were unchecked.
2023-05-08 23:53:59 +02:00
Jan Böhmer
c50a80e8df
Show an error message in table instead of a 500 error when MySQL encounters an invalid Regex expression
...
This fixes issue #289
2023-05-08 23:42:25 +02:00
Jan Böhmer
bafbd63610
Bumped version to 1.3.3
2023-05-08 00:10:21 +02:00
Jan Böhmer
557347d42d
Fixed legacy database migration for newer MySQL version
2023-05-07 21:43:01 +02:00
Jan Böhmer
c828aa3bc0
Use correct table name for test_legacy_import workflow
2023-05-07 02:58:59 +02:00
Jan Böhmer
376d29e829
Use correct table name for test_legacy_import workflow
2023-05-07 02:52:31 +02:00
Jan Böhmer
97ee4f36e3
Fixed typo in legacy import test script
2023-05-07 02:44:07 +02:00
Jan Böhmer
d766f255ef
Let job fail, when an error occurs during the legacy test script
2023-05-07 02:38:54 +02:00
Jan Böhmer
19ae9e7456
Fixed issue preventing migration from legacy Part-DB version
...
This bug was introduced during the fix for issue #260 (commit 2717d7d ). With this commit issue #287 should be fixed
2023-05-07 02:29:32 +02:00
Jan Böhmer
61ea312403
Added continous testing for legacy Part-DB import
2023-05-07 02:27:16 +02:00
Jan Böhmer
13193c9368
Fixed issue that searching in part notes were not possible
...
This fixes issue #288
2023-05-07 01:05:12 +02:00
Jan Böhmer
31e0ce4c64
Updated various yarn dependencies.
...
We can not upgrade marked to 5.0.0 yet, as it requires node18. We will require this version when we upgrade to PHP 8.1
2023-05-07 00:48:47 +02:00
Jan Böhmer
43238aff0a
Updated CKEDITOR to 37.1.0
2023-05-07 00:11:13 +02:00
Jan Böhmer
d598bfc35b
Updated dependencies.
2023-05-06 22:25:56 +02:00
Jan Böhmer
1c836918ca
Fixed various Partkeepr import issues
...
On Linux mysql table names can contain uppercase characters, and we expect always lowercase character, so we now normalize the tablenames to lowercase.
Also fixed some type errors on part parameters and improved performace for orderdetails import.
This fixes issue #286
2023-05-02 00:40:00 +02:00
Jan Böhmer
4a6a3b9269
Moved doctrine/data-fixtures to prod requirement
...
We use it for database purging in partkeepr import command. This fixes issue #285
2023-05-01 23:09:59 +02:00
Jan Böhmer
1534f780aa
Show a table with the old data in log entry details page
2023-05-01 01:38:14 +02:00
Jan Böhmer
4c6ceab8e8
Merge branch 'master' into log_detail_page
2023-04-29 22:46:38 +02:00
Jan Böhmer
021e28aca8
Bumped to version 1.3.2
2023-04-29 22:43:03 +02:00
Jan Böhmer
334d81db08
Mark that amount is unknown in part tables and info page
...
Fixes issue #282
2023-04-29 22:33:46 +02:00
Jan Böhmer
6ffd45a82a
We are in development of 1.3.2 now
2023-04-29 22:07:14 +02:00
Jan Böhmer
2fe3902d8d
Updated dependencies.
2023-04-29 22:06:13 +02:00
Jan Böhmer
4dceda8251
Bumped version to 1.3.1
2023-04-24 12:01:12 +02:00
Jan Böhmer
09cf33f530
Use another method to submit forms after the delete confirm dialog
...
The old method caused some weird behavior on Firefox. This fixes issue #273
2023-04-24 01:39:42 +02:00
Jan Böhmer
3e851a65e9
Updated dependencies.
2023-04-24 00:00:31 +02:00
Jan Böhmer
e8ec536a5a
Allow to order by storelocation column
...
Related to discussion #269
2023-04-23 23:38:59 +02:00
Jan Böhmer
967be4451a
Reworked keybinding for special character input
...
Related to issue #275
2023-04-23 23:21:52 +02:00
Jan Böhmer
bc65a18f3c
Added greek characters to special characters plugin in CKEDITOR
...
Fixes #275
2023-04-23 21:20:53 +02:00
Jan Böhmer
1eb9c38aee
Fixed problem that MPN was not used as search field
...
Fixes issue #277 and #276
2023-04-22 23:26:48 +02:00
Jan Böhmer
ccaad1c305
Updated composer dependencies.
2023-04-22 22:34:14 +02:00
Jan Böhmer
963a22783f
Use proper implementation of recursion depth limit, that really use the number of recusive calls, not the number of child elements
...
This fixes issue #267
2023-04-17 23:59:59 +02:00
Jan Böhmer
303a3690e8
Normalize class_names for attachments migrated from legacy Part-DB database
...
This fixes issue #272
2023-04-17 23:52:08 +02:00
Jan Böhmer
29fa0818f6
We are in development of v1.3.1
2023-04-17 00:56:07 +02:00
Jan Böhmer
1a21a3ed42
Do not use igbinary for cache, as it is causing excpetions with the doctrine proxies
2023-04-17 00:55:41 +02:00
Jan Böhmer
7baad04e39
Updated dependencies
2023-04-16 23:58:03 +02:00
Jan Böhmer
273293479d
Hopefully fix phpunit issue on github actions
2023-04-16 01:46:44 +02:00
Jan Böhmer
37fb895d67
Only try to retrieve the targetLot from DB if the parameter is existing
...
This fixes an excpetion occuring during withdrawal of parts, when moving is disabled for the lot.
2023-04-16 01:22:58 +02:00
Jan Böhmer
0dcdd252f5
Fixed static analysis issues
2023-04-16 00:55:25 +02:00
Jan Böhmer
d04d743520
Fixed typos
2023-04-15 23:14:53 +02:00
Jan Böhmer
63df16a369
Removed unused imports
2023-04-15 22:27:19 +02:00
Jan Böhmer
13209c3236
Improved typing of properties
2023-04-15 22:25:03 +02:00
Jan Böhmer
29d1d49aca
Fixed some more inspection issues
2023-04-15 22:05:29 +02:00
Jan Böhmer
de96aae9a5
Fixed inspection issues
2023-04-15 21:49:19 +02:00
Jan Böhmer
5f29ee9052
Fixed some deprecation messages
2023-04-15 21:18:11 +02:00
Jan Böhmer
b3ecee749e
Removed deprecated SessionInterface service
2023-04-15 21:07:04 +02:00
Jan Böhmer
1cee1abe00
Fixed some return type deprecation messages
2023-04-15 19:33:39 +02:00
Jan Böhmer
558440168d
Fixed LiipImagine deprecation
2023-04-15 19:11:06 +02:00
Jan Böhmer
d0cb7ab486
Fixed deprecated use of FlashBag Service
2023-04-15 19:05:45 +02:00
Jan Böhmer
c317bc020a
Theme config migration should now work properly when migrating from legacy DB
2023-04-15 00:51:32 +02:00
Jan Böhmer
4065fb77da
Properly escape group table name in legacy DB migration for compatibility with MySQL 8
...
Fixes issue #271
2023-04-15 00:49:02 +02:00
Jan Böhmer
8351f38ee7
Keep query parameters when adding locale part in RedirectController
...
This fixes issue #268
2023-04-15 00:38:11 +02:00
Jan Böhmer
f3fc01b740
New translations security.en.xlf (English)
2023-04-11 13:48:44 +02:00
Jan Böhmer
a201be5a01
New translations validators.en.xlf (English)
2023-04-11 13:48:43 +02:00
Jan Böhmer
ebf2035351
New translations messages.en.xlf (English)
2023-04-11 13:48:42 +02:00
Jan Böhmer
6e6e203f8a
Update VERSION
2023-04-11 12:26:36 +02:00
Jan Böhmer
2192149b5a
Merge remote-tracking branch 'origin/l10n_master'
2023-04-11 12:14:10 +02:00
Pyromane
a4e19196a7
Update troubleshooting.md ( #264 )
...
* Update troubleshooting.md
Enhanced how to list users and reset a user's password.
* Update troubleshooting.md
---------
Co-authored-by: Jan Böhmer <mail@jan-boehmer.de >
2023-04-11 12:11:08 +02:00
Jan Böhmer
0c744c5444
New translations validators.en.xlf (German)
2023-04-11 12:05:25 +02:00
Jan Böhmer
69fc28d5d6
Added better formatted extra section for certain log types
2023-04-10 23:13:09 +02:00
Jan Böhmer
4107535b19
Added basic log entry info page
2023-04-10 00:30:23 +02:00
Jan Böhmer
e0e5fb3d5a
Do not double escape tag link. Tag links with space in it now work properly
2023-04-09 01:38:12 +02:00
Jan Böhmer
1125096e5a
Fixed RoundingNecessaryException in certain cases
2023-04-09 01:30:29 +02:00
Jan Böhmer
fc1d2269d0
Fixed error with default values on older MySQL version
...
We have removed the default values for the columns completly, as it were only needed on SQLite when adding the column to existing row.
As this was done in an earlier migration, we can now safely remove it.
The MySQL now correctly detects no more changes. SQLite however still generates some wrong migration changes.
2023-04-09 01:17:48 +02:00
Jan Böhmer
cc033d5be7
Properly escape users and groups table name for newer MySQL version
2023-04-09 00:08:08 +02:00
Jan Böhmer
7eee3de965
Added fixing migrations for sqlite
2023-04-09 00:07:23 +02:00
Jan Böhmer
0c6245fe8e
Removed unused migration
2023-04-09 00:04:56 +02:00
Jan Böhmer
342ed382e3
Properly mark the tinyint column with a comment, so that migrations can properly detect that no changes are needed
2023-04-09 00:04:13 +02:00
Jan Böhmer
aaf6c37871
Fixed some minor issues in database schema of MySQL
2023-04-08 23:49:47 +02:00
Jan Böhmer
65e1346a11
Improved output of some messages during migration
2023-04-08 23:39:45 +02:00
Jan Böhmer
7f9307feec
Perform an explicit type conversion in doesFKExists function
2023-04-08 23:32:38 +02:00
Jan Böhmer
036eaf3bae
Removed warnings about changed permissions, as the old changes are reset later, and we now do the permission migration in Part-DB directly
2023-04-08 23:29:23 +02:00
Jan Böhmer
2717d7d311
Only drop the foreign keys during migration from legacy Part-DB DBs if they really exist
...
This should fix issue #260
2023-04-08 23:27:10 +02:00
Jan Böhmer
577b841ee0
Fixed TypeError on certain old ElementCreatedLogEntries
...
Fixes issue #261
2023-04-08 22:57:07 +02:00
Jan Böhmer
857eb0517c
New translations messages.en.xlf (English)
2023-04-08 21:25:56 +02:00
Jan Böhmer
ec50197b40
Fixed PHPUnit tests
2023-04-08 21:21:53 +02:00
Jan Böhmer
4ace7dd370
Merge remote-tracking branch 'origin/master'
2023-04-08 21:02:51 +02:00
Jan Böhmer
0eea7f8d4d
Fixed static analyis issue
2023-04-08 21:00:41 +02:00
Jan Böhmer
80c7680d17
Do not use a horizontal layout in the comment dropdown for edit_part_info
2023-04-08 20:57:01 +02:00
Jan Böhmer
3edc0a7f53
Added documentation for ENFORCE_CHANGE_COMMENTS_FOR
...
Related to issue #220
2023-04-08 20:52:46 +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
5f2408b791
Reveal invalid fields in dropdowns while browser validation
...
Preparation work for issue #220
2023-04-08 20:06:08 +02:00
Jan Böhmer
5b5e8a4fd5
Allow users (and admins) to decide whether their email should be shown on their public profile
2023-04-08 19:53:05 +02:00
Jan Böhmer
71b0c2d83e
Properly quote users table for compatibility with newer MySQL databases
2023-04-08 19:51:29 +02:00
Jan Böhmer
363b7bc314
Do not show a unecessary label in front of the boolean constraint types checkboxes
2023-04-08 01:24:17 +02:00
Jan Böhmer
448032c5b7
New translations validators.en.xlf (English)
2023-04-08 01:16:15 +02:00
Jan Böhmer
2af1234cfd
New translations messages.en.xlf (English)
2023-04-08 01:16:14 +02:00
Jan Böhmer
d258235430
Improved naming and documentation of CLIUser functions on AbstractLogEntry
2023-04-08 01:13:13 +02:00
Jan Böhmer
c060d6ebb1
Updated dependencies
2023-04-08 01:09:45 +02:00
Jan Böhmer
72dab2bc4e
Added tests for CLI user functions on AbstractLogEntry
2023-04-08 01:07:59 +02:00
Jan Böhmer
b0d2a22f62
Make user info page public for all logged in user
2023-04-08 01:04:10 +02:00
Jan Böhmer
bcda71cb25
Ensure that the a lot / storage location owner is not the anonymous user
2023-04-08 00:50:42 +02:00
Jan Böhmer
d32e902d17
Allow to filter by the lot owner
2023-04-08 00:44:34 +02:00
Jan Böhmer
f91b719542
Added a filter constraint for parts where instock is "less than desired"
...
Fixes issue #257
2023-04-08 00:35:31 +02:00
Jan Böhmer
8bccab258a
Prevent appearance of a popup for a short time after deletion of an element on firefox
...
Related to issue #258
2023-04-07 23:12:08 +02:00
Jan Böhmer
6443d8e2bf
Log the name of the CLI user, when actions were done from the CLI.
2023-04-07 22:44:59 +02:00
Jan Böhmer
286759f232
New translations validators.en.xlf (German)
2023-04-05 17:36:10 +02:00
Jan Böhmer
0dba32fdf2
New translations messages.en.xlf (German)
2023-04-05 17:36:09 +02:00
Jan Böhmer
54c6757bc7
Added some documentation about the stock owner system.
2023-04-05 16:35:29 +02:00
Jan Böhmer
c91a6640ff
Fixed static analysis issues
2023-04-03 23:34:15 +02:00
Jan Böhmer
80ef617949
New translations messages.en.xlf (English)
2023-04-03 23:26:13 +02:00
Jan Böhmer
72dd3f92f9
Show expired amountSum in instock row on info page, similar to the part tables
2023-04-03 23:21:18 +02:00
Jan Böhmer
5330476dbe
Highlight amount sum in part tables and part info page, when amount is less than minAmount
2023-04-03 23:15:29 +02:00
Jan Böhmer
69fdc85c99
Use new user select type for log filter
2023-04-03 22:54:07 +02:00
Jan Böhmer
f7293508ff
Added example content for owner placeholders in labels
2023-04-03 22:48:52 +02:00
Jan Böhmer
4aedce9668
Allow to use storelocation owner field in labels
...
Related to issue #221
2023-04-03 22:41:18 +02:00
Jan Böhmer
9244fe5944
Fixed internal server error, when using owner placeholder on stored label profile
2023-04-03 22:23:53 +02:00
Jan Böhmer
35710b17d1
New translations validators.en.xlf (English)
2023-04-03 01:37:05 +02:00
Jan Böhmer
fb78ce5679
New translations messages.en.xlf (English)
2023-04-03 01:37:04 +02:00
Jan Böhmer
749e7dbdf9
Rempve default value definitions, which cause problems on MySQL 8
2023-04-03 01:03:16 +02:00
Jan Böhmer
ccae58cb2f
Merge branch 'part_owners'
2023-04-03 00:54:29 +02:00
Jan Böhmer
64199b91d5
Synchronized MySQL schema with entity definitions
2023-04-03 00:53:58 +02:00
Jan Böhmer
c8218f6891
Added an explicit type for an old migration, so that (new) sqlite databases do not have a phase where a field has no type
2023-04-03 00:49:24 +02:00
Jan Böhmer
8e2f297839
Added migrations for sqlite
2023-04-03 00:47:51 +02:00
Jan Böhmer
0feb9661df
Allow to use owner placeholders in labels
2023-04-03 00:03:56 +02:00
Jan Böhmer
1acceae81e
Enforece that part lot owner matches storage location owner, if option is selected
2023-04-02 23:58:15 +02:00
Jan Böhmer
a7ff690891
Restrict part lot withdraw/add/move operations to the owner of a part lot
2023-04-02 23:35:18 +02:00
Jan Böhmer
447b54fa4b
Allow to set and view the owner of a part lot
2023-04-02 23:17:24 +02:00
Jan Böhmer
5f5541ca12
Added UserSelectType and allow to set owner of a storage location
2023-04-02 21:50:22 +02:00
Jan Böhmer
f101e1b184
Only show SAML user badge in user admin, if the user is really a SAML user
2023-04-02 20:30:30 +02:00
Jan Böhmer
065417038c
Added possibility to edit and view the aboutMe information of users
2023-04-02 20:26:42 +02:00
Jan Böhmer
047c82791b
Added basic fields and migration for MySQL
2023-04-02 19:10:36 +02:00
Jan Böhmer
f1672c7076
New translations messages.en.xlf (German)
2023-04-02 17:16:02 +02:00
Jan Böhmer
e7e57fa412
Added test for StructuralElementDenormalizer
2023-04-02 17:09:38 +02:00
Jan Böhmer
5536fcce00
New translations messages.en.xlf (English)
2023-04-02 01:26:34 +02:00
Jan Böhmer
8a3ce36c65
Fixed static analysis issue
2023-04-02 01:17:19 +02:00
Jan Böhmer
325812fe95
Improved title of measurement unit admin admin form
2023-04-02 01:11:58 +02:00
Jan Böhmer
421a5d27dd
Show part name as manufacturer URL link, when no MPN was set.
2023-04-02 01:03:33 +02:00
Jan Böhmer
27b43041f9
Allow to import orderdetails and partLots of parts
2023-04-02 01:00:40 +02:00
Jan Böhmer
a7ea12d07d
Fixed import errors and reuse existing datastructrues from DB while importing complex data
...
Also now imports should not create duplicate instances of the same data elements. This fixes issue #101 .
2023-04-02 00:55:20 +02:00
Jan Böhmer
927f570283
Fixed error popup window, when a server error occurs
2023-04-01 19:43:59 +02:00
Jan Böhmer
66c1eff79f
Generate WebP thumbnails even for builtin footprints
2023-04-01 18:43:57 +02:00
Jan Böhmer
4cb1313a77
Use WebP for thumbnails, this reduces the thumbnail size drastically (~ 50%)
2023-04-01 00:16:38 +02:00
Jan Böhmer
52bdde40a1
Use network path instead of absolute URL for attachment thumbnails.
...
This should fix issue #237
2023-03-31 23:30:37 +02:00
Jan Böhmer
8295ed716b
Updated dependencies.
2023-03-31 22:49:31 +02:00
Jan Böhmer
d84ee57354
We are in development of v1.3.0
2023-03-26 13:04:49 +02:00
Jan Böhmer
0ae57b8b7b
Merge branch 'partkeepr_import'
2023-03-26 13:04:14 +02:00
Jan Böhmer
a4e68ea2d6
Added documentation about PartKeepr migration process
2023-03-26 00:32:03 +01:00
Jan Böhmer
a48b4ccaa8
Added an check that the user really knows that the command will delete all data.
2023-03-25 23:09:12 +01:00
Jan Böhmer
bcaf8e9912
Allow to import PartKeepr attachments
2023-03-25 22:59:31 +01:00
Jan Böhmer
ae438f1650
Ensure that the PartKeepr Version is correct.
2023-03-25 21:24:58 +01:00
Jan Böhmer
563d6bccd3
Added possibility to import users and projects
2023-03-25 21:09:02 +01:00
Jan Böhmer
7220d752ac
Added possibilities to import part distributor infos
2023-03-25 16:26:39 +01:00
Jan Böhmer
46beb21ba7
Improved structure of the PartKeepr import
2023-03-25 00:25:18 +01:00
Jan Böhmer
c972f0ac59
Added possibility to import Part manufacturer and parameter information
2023-03-25 00:12:36 +01:00
Jan Böhmer
21c74fbcc8
Added basic import for parts
2023-03-24 23:43:05 +01:00
Jan Böhmer
1ca839ab26
Added import for storelocations
2023-03-24 22:51:41 +01:00
Jan Böhmer
34aefd32e8
Added possibility to import categories and footprints
2023-03-24 22:41:33 +01:00
Jan Böhmer
fce32e70b9
Started to work on an import possibility for Partkeepr databases
2023-03-23 01:16:12 +01:00
suuppl
0550c045c7
add missing '-' to code block ( #254 )
2023-03-20 16:28:29 +01:00
Jan Böhmer
69b1c062f5
New translations security.en.xlf (English)
2023-03-18 22:47:02 +01:00
Jan Böhmer
4713b2f079
New translations validators.en.xlf (English)
2023-03-18 22:47:01 +01:00
Jan Böhmer
6fe907a13d
New translations messages.en.xlf (English)
2023-03-18 22:47:00 +01:00
Jan Böhmer
45ce4ac1ba
New translations validators.en.xlf (German)
2023-03-18 22:46:53 +01:00
Jan Böhmer
9313f870bc
Bumped version to 1.2.0
2023-03-18 22:29:59 +01:00
dependabot[bot]
9e72e88930
Bump symfonycorp/security-checker-action from 4 to 5 ( #246 )
...
Bumps [symfonycorp/security-checker-action](https://github.com/symfonycorp/security-checker-action ) from 4 to 5.
- [Release notes](https://github.com/symfonycorp/security-checker-action/releases )
- [Commits](https://github.com/symfonycorp/security-checker-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: symfonycorp/security-checker-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 22:27:01 +01:00
Jan Böhmer
dcb64bf0a6
Merge remote-tracking branch 'origin/master'
2023-03-18 22:26:40 +01:00
Jan Böhmer
5d07070558
Do not build docker images for pull requests
2023-03-18 22:26:36 +01:00
dependabot[bot]
8c6ba9175b
Bump actions/checkout from 2 to 3 ( #247 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 22:25:31 +01:00
dependabot[bot]
ccaa2c48e2
Bump github/codeql-action from 1 to 2 ( #248 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 1 to 2.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-18 22:25:07 +01:00
Jan Böhmer
5d38bf2e66
Use Github dependabot to check for outdated github actions
2023-03-18 22:20:04 +01:00
Jan Böhmer
15331da389
Removed actions updater workflow, as it is not compatiblee with our auto generated jekyll page build action
2023-03-18 22:17:28 +01:00
Jan Böhmer
477171abac
Fixed actions updater workflow
2023-03-18 22:11:50 +01:00
Jan Böhmer
dc85e4f4a4
Run actions updater on every push
2023-03-18 22:05:30 +01:00
Jan Böhmer
ac402a6697
Updated some github actions workflows and added an workflow to automatically update actions
2023-03-18 22:03:34 +01:00
Jan Böhmer
f86d35f8d1
Dont disable the table multi action submit button, when user can not change parts as we use it for exporting and label generation too
2023-03-18 21:52:29 +01:00
Jan Böhmer
7d6c04e3cf
Improved documentation
2023-03-18 21:41:00 +01:00
Jan Böhmer
5c059ce9fe
Merge remote-tracking branch 'origin/l10n_master'
2023-03-18 20:36:09 +01:00
Jan Böhmer
575bffe0bf
New translations messages.en.xlf (German)
2023-03-18 20:27:32 +01:00
Jan Böhmer
d0b70253fa
New translations messages.en.xlf (German)
2023-03-18 20:06:47 +01:00
Jan Böhmer
5f04b2649f
Updated dependencies.
2023-03-18 19:54:27 +01:00
Jan Böhmer
f0099859bb
New translations messages.en.xlf (English)
2023-03-17 00:46:48 +01:00
Jan Böhmer
906b654afa
Bumped version to 1.2.0-dev
2023-03-17 00:11:53 +01:00
Jan Böhmer
14740fad58
Merge branch 'part_import'
2023-03-17 00:11:16 +01:00
Jan Böhmer
e97a149474
Fixed static analysis issues
2023-03-17 00:11:01 +01:00
Jan Böhmer
c1d1270d59
Added documentation for BOM import
2023-03-17 00:08:49 +01:00
Jan Böhmer
e550918d7c
Added links to bom import to project edit and info page
2023-03-16 23:56:46 +01:00
Jan Böhmer
f3449babc1
Added bom import to ApplicationAvailabilityFunctionalTest
2023-03-16 23:39:28 +01:00
Jan Böhmer
e444388517
Added tests for PCBnew BOM type
2023-03-16 23:32:12 +01:00
Jan Böhmer
bd2559c37b
Added the basic possibility to import KiCAD BOMs into projects
2023-03-16 00:05:46 +01:00
Jan Böhmer
7abf44e893
Merge branch 'master' into part_import
2023-03-15 23:01:04 +01:00
Jan Böhmer
0b94a31d15
New translations messages.en.xlf (English)
2023-03-15 22:38:00 +01:00
Jan Böhmer
989e09b610
New translations messages.en.xlf (Russian)
2023-03-15 22:37:57 +01:00
Jan Böhmer
7e69e80290
New translations messages.en.xlf (Japanese)
2023-03-15 22:37:54 +01:00
Jan Böhmer
a3177dcfaf
New translations messages.en.xlf (German)
2023-03-15 22:37:50 +01:00
Jan Böhmer
10e54d7a2d
New translations messages.en.xlf (French)
2023-03-15 22:37:47 +01:00
Jan Böhmer
ed514a01bb
Fixed exception when attachment file is not openable
2023-03-15 22:15:30 +01:00
Jan Böhmer
47fce4e914
Updated composer dependencies
2023-03-15 21:59:33 +01:00
Jan Böhmer
54276e19e9
Merge branch 'part_import'
2023-03-15 21:52:08 +01:00
Jan Böhmer
193650efd4
Added option to mark all imported parts as "needs review"
2023-03-15 21:46:14 +01:00
Jan Böhmer
b7aae7d87b
Improved documentation and added example CSV file
2023-03-15 21:33:18 +01:00
Jan Böhmer
2c799d894b
Fixed static analysis issues
2023-03-15 21:05:30 +01:00
Jan Böhmer
5745fc1046
Make import/export documentation a child of usage section
2023-03-14 00:20:44 +01:00
Jan Böhmer
80085abe16
Show better error messages for entity import at admin pages
2023-03-14 00:19:10 +01:00
Jan Böhmer
fe5dd065ed
Added tests for EntityImporter service
2023-03-14 00:17:13 +01:00
Jan Böhmer
945fd988b3
Added tests for serializer normalizers
2023-03-14 00:02:40 +01:00
Jan Böhmer
3bbff0aecf
Fixed errors that prevented import of users
2023-03-13 22:43:26 +01:00
Jan Böhmer
9188331c1e
Fixed error popup behavior, when turbo could not find a matching turbo-fram in the response.
2023-03-13 22:39:07 +01:00
Jan Böhmer
be5663c468
Allow import/export of users
2023-03-13 22:16:02 +01:00
Jan Böhmer
9ac8098f15
Deny access to part import tool without permission and added to tools menu
2023-03-13 22:02:55 +01:00
Jan Böhmer
bd5ee837f4
Added permissions for importing data
2023-03-13 21:51:56 +01:00
Jan Böhmer
4be6cb2459
Added documentation on import/export function
2023-03-13 17:42:48 +01:00
Jan Böhmer
c466cb68b9
Allow to import supplier, supplier part number and price via CSV
2023-03-13 01:04:49 +01:00
Jan Böhmer
820be46ed3
Make more fiields importable
2023-03-13 00:52:22 +01:00
Jan Böhmer
4437f206af
Allow alternative names for import for parts
2023-03-13 00:44:05 +01:00
Jan Böhmer
a1f4b35749
Explicitly mark our normalizers as cachabel or not
2023-03-13 00:35:31 +01:00
Jan Böhmer
b38f49a90e
Added possibility to import storelocation and instock amount
2023-03-13 00:22:46 +01:00
Jan Böhmer
5d318b2693
Removed left over dump tag
2023-03-12 22:10:55 +01:00
Jan Böhmer
c7b9f9e50a
Fixed PHPunit tests
2023-03-12 22:07:48 +01:00
Jan Böhmer
256d628543
Allow to control the path delimiter and create unknown datastructures
...
Also the labeling of form fields was improved
2023-03-12 22:03:02 +01:00
Jan Böhmer
508641d1e8
Added possibility to autoselect the import format
2023-03-12 21:43:40 +01:00
Jan Böhmer
61e2dde400
Allow to import category, footprint and manufacturer by giving a string in the CSV file
2023-03-12 21:10:48 +01:00
Jan Böhmer
85ae862381
Allow to set basic data via import
2023-03-12 20:01:29 +01:00
Jan Böhmer
7a9b7c87a4
Added a very basic import dialog for Parts
2023-03-12 19:53:55 +01:00
Jan Böhmer
8f033910ce
Refactored EntityImporter service
2023-03-12 19:16:49 +01:00
Jan Böhmer
38b5e95842
Improved serialization result for parts
2023-03-12 01:41:44 +01:00
Jan Böhmer
2c67586873
Improved serialized fields
2023-03-12 01:12:35 +01:00
Jan Böhmer
b99e6c9a21
Updated serializer discriminator map
2023-03-12 00:35:48 +01:00
Jan Böhmer
49944cda87
Added possibility to export Parts from part tables
2023-03-12 00:27:04 +01:00
Jan Böhmer
3b36b2a4dc
Improved exporter service
2023-03-11 22:40:53 +01:00
Jan Böhmer
1dfcffe70d
We are in development of 1.1.2 now
2023-03-11 19:50:05 +01:00
Jan Böhmer
a9b3dcd2c2
Do the color inversion for the IC logos when darkmode is enabled, the logos are then shown as white on black background.
...
This fixes issue #242
2023-03-11 19:48:42 +01:00
Jan Böhmer
31f9145d3f
Fixed jump to letter buttons on IC logos page
2023-03-11 19:43:43 +01:00
Jan Böhmer
ba04b94964
Bumped to version 1.1.0
2023-03-10 11:01:52 +01:00
Jan Böhmer
4ecf99c17e
Don't fail when datatables state was not saved before
...
This should fix issue #241
2023-03-10 01:40:54 +01:00
Jan Böhmer
80389ff236
Bumped to version 1.1.0
2023-03-07 15:44:30 +01:00
Jan Böhmer
9e80b23726
New translations security.en.xlf (English)
2023-03-06 01:31:11 +01:00
Jan Böhmer
494a1c49f9
New translations security.en.xlf (German)
2023-03-06 01:31:08 +01:00
Jan Böhmer
4a77064826
New translations validators.en.xlf (English)
2023-03-06 01:31:07 +01:00
Jan Böhmer
ce90f10243
New translations validators.en.xlf (German)
2023-03-06 01:31:04 +01:00
Jan Böhmer
426aa4e41d
New translations messages.en.xlf (English)
2023-03-06 01:31:02 +01:00
Jan Böhmer
bdc953cab0
New translations messages.en.xlf (German)
2023-03-06 01:30:58 +01:00
Jan Böhmer
15725a9f38
New Crowdin updates ( #235 )
...
* New translations messages.en.xlf (German)
* New translations messages.en.xlf (English)
* New translations validators.en.xlf (German)
* New translations validators.en.xlf (English)
* New translations security.en.xlf (English)
* New translations messages.en.xlf (German)
* New translations validators.en.xlf (German)
* New translations security.en.xlf (German)
2023-03-06 00:27:00 +01:00
Jan Böhmer
cc7d290feb
Updated dependencies.
2023-03-06 00:14:53 +01:00
Jan Böhmer
40a2a46a5e
Fixed phpunit tests
2023-03-06 00:12:46 +01:00
Jan Böhmer
2e160b0b0b
Fixed static analysis issue
2023-03-06 00:05:51 +01:00
Jan Böhmer
5aaba102a7
Improved rendering of attachment icons
2023-03-06 00:01:54 +01:00
Jan Böhmer
52e459ec60
Use the name of an uploaded file for an attachment when no explicit name was set.
2023-03-05 23:47:45 +01:00
Jan Böhmer
4a30819ea5
Show error messages for attachments file field
2023-03-05 23:26:06 +01:00
Jan Böhmer
27969a1f65
Replaced leftover bootstrap_4 form theme usages with BS5
2023-03-05 23:12:44 +01:00
Jan Böhmer
c68b13b075
Removed accidentially added import
2023-03-05 23:06:25 +01:00
Jan Böhmer
1446aab451
Correctly map the errors of newly created elements in CollectionTypes
...
Before there were just shown on the parent, now they get mapped to the right field
2023-03-05 23:05:58 +01:00
Jan Böhmer
86f77fde1a
Improved sorting possibilities for Project info BOM view
2023-03-05 01:20:32 +01:00
Jan Böhmer
02134dc959
Do not persist the selected datatable page number, as we always want to start at the first page after a page reload.
2023-03-05 01:11:57 +01:00
Jan Böhmer
c27b02512f
Fixed problem with part tables that the wrong number of parts (and therefore pages) were displayed.
...
This hopefully does not break anything else.
2023-03-05 00:57:01 +01:00
Jan Böhmer
222e76ce47
Added option to search in internal part number (enabled by default)
...
This should fix issue #232
2023-03-04 23:37:38 +01:00
Jan Böhmer
0efb32c891
Updated composer dependencies.
2023-03-04 22:33:45 +01:00
Jan Böhmer
e808964913
Default docker container uses php-fpm and preloading now
...
This gives us a approx. 12% performance boost
2023-03-04 20:25:48 +01:00
Jan Böhmer
9ed1e896cb
Pass environment variables used to configure SAML to dockers PHP
2023-03-04 17:30:27 +01:00
Jan Böhmer
49e521404a
Show if SAML is enabled in the server info tool
2023-03-04 17:27:09 +01:00
Jan Böhmer
2ae34b856a
Added hint about advanced saml config options to documentation
2023-03-04 17:21:22 +01:00
Jan Böhmer
6230ad971b
Merge branch 'keycloak'
2023-03-04 17:15:50 +01:00
Jan Böhmer
20caad24ed
Improved documentation
2023-03-04 17:15:17 +01:00
Jan Böhmer
eabdd3b11f
Improved documentation for SAML SSO
2023-03-04 16:56:41 +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
f9fd015ecb
Show configured and effective maximum file size in server info page.
2023-03-03 23:42:02 +01:00
Jan Böhmer
27de5ae387
Fixed static analysis issue
2023-03-02 23:57:32 +01:00
Jan Böhmer
4f43f10672
Bumped version to 1.0.3
2023-03-02 23:53:38 +01:00
Jan Böhmer
fb45ef432e
Added documentation for MAX_ATTACHMENT_FILE_SIZE env
2023-03-02 23:53:16 +01:00
Jan Böhmer
d0a8e33bf2
Updated dependencies
2023-03-02 23:48:52 +01:00
Jan Böhmer
5a19024bec
Use 10 based prefixes for byte sizes instead of 2-based
...
This way we are consistent with the way symfony interprets the prefixes
2023-03-02 23:39:12 +01:00
Jan Böhmer
e0635f7ead
Show maximum allowed file size below the upload field for attachments
2023-03-02 23:38:23 +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
7394a23a83
Fixed infinite loop when an element gets assigned itself as parent
...
This fixes issue #230
2023-03-02 22:55:22 +01:00
Jan Böhmer
bbe4de996a
Added documentation about the SAML_UPDATE_GROUP_ON_LOGIN env
2023-03-01 15:24:47 +01:00
Jan Böhmer
7030e752fc
Added documentation about permission mapping.
2023-03-01 14:56:05 +01:00
Jan Böhmer
d845f8b7e3
Added documentation about the convert-to-saml-user command
2023-03-01 14:36:46 +01:00
Jan Böhmer
8a18951562
Fixed static analysis issue.
2023-02-28 17:03:57 +01:00
Jan Böhmer
cb9433902c
Added SAML configuration options to docs
2023-02-28 16:34:51 +01:00
Jan Böhmer
472e1ce0a3
Added documentation on how to setup SAML.
2023-02-28 00:28:31 +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
6a06a24296
Improved translations
2023-02-27 22:29:19 +01:00
Jan Böhmer
99f04d71af
Revert "Moved all user info updating logic into SAMLUserFactory"
...
This reverts commit 960ee342e4 .
2023-02-27 22:28:23 +01:00
Jan Böhmer
d1b8a36b93
Update SECURITY.md
2023-02-26 19:23:58 +01:00
Jan Böhmer
f20da0f049
Bumped version to 1.0.2
2023-02-26 18:58:34 +01:00
Jan Böhmer
5d3ab01176
Updated dependencies.
2023-02-26 18:57:35 +01:00
Jan Böhmer
83cd91f1d1
Fixed potential XSS injection vectors in datatables columns
2023-02-26 01:23:36 +01:00
Jan Böhmer
5f39d8e594
Properly escape user provided data in trans with data to prevent possible XSS attack vectors.
2023-02-26 00:52:00 +01:00
Jan Böhmer
6ff60e556e
Properly escape user provided data in trans with data to prevent possible XSS attack vectors.
2023-02-26 00:41:08 +01:00
Jan Böhmer
5b7f44f4ea
Merge pull request #225 from sascha988/patch-2
...
vulnerability XSS fix
2023-02-25 23:47:48 +01:00
Sascha Lenk
dc906bfb0f
vulnerability XSS fix
...
The "trans with" command is not automatically escaping the string, so this is a XSS (Cross-Site Scripting) vulnerability.
Tested string: https://URL-TO-PART-DB-SERVER/de/parts/search?keyword=%22'%3E%3Cqss%20a%3D X147208852Y1_1Z%3E
QUALYS Enterprise WAS Scan Report classifies this as level 5 security risk
2023-02-25 22:42:03 +01:00
Jan Böhmer
b70c9d4f00
Merge pull request #223 from sascha988/patch-1
...
Translated parts_list.search.searching_for
2023-02-25 21:06:44 +01:00
Sascha
03e0584279
Translated parts_list.search.searching_for
...
Translated english text string parts_list.search.searching_for into german.
2023-02-25 21:05:00 +01:00
Jan Böhmer
960ee342e4
Moved all user info updating logic into SAMLUserFactory
2023-02-24 00:12:44 +01:00
Jan Böhmer
f5a5114999
Fixed PHPunit tests
2023-02-23 23:43:01 +01:00
Jan Böhmer
e6d9237bda
Allow to specify a user by username or email with set-password commannd
2023-02-23 23:39:29 +01:00
Jan Böhmer
c831d57614
Added an console command to convert local to SAML users and vice versa
2023-02-23 23:36:40 +01:00
Jan Böhmer
c5904303e3
Allow to configure SAML via env variables
2023-02-22 00:50:51 +01:00
Jan Böhmer
586a57c2c9
Allow X500 attributes for user info and added some tests
2023-02-21 23:41:02 +01:00
Jan Böhmer
91fb861fd3
Use login form page to show error messages on Part-DB side
2023-02-21 23:11:16 +01:00
Jan Böhmer
b13655e951
Prevent login of local users via SSO with the same username
2023-02-21 22:36:43 +01:00
Jan Böhmer
e064ee4263
Prevent change of password of SAML users via CLI
2023-02-21 21:58:27 +01:00
Jan Böhmer
60f926924b
Add a specific role to SAML user
2023-02-21 00:42:03 +01:00
Jan Böhmer
97c3b9002a
Mark SAML users as so in database and disable local password changing then.
2023-02-21 00:29:50 +01:00
Jan Böhmer
78ec0f1ea3
Create a new DB user when somebody logs in using SAML
2023-02-20 23:04:20 +01:00
Jan Böhmer
c0b74d83a5
Started to work on interfacing with keycloak
2023-02-20 22:10:24 +01:00
Jan Böhmer
9dd172df98
Bumped version to 1.0.1 release
2023-02-20 12:26:23 +01:00
Jan Böhmer
d3659858eb
Updated dependencies
2023-02-20 00:57:00 +01:00
Jan Böhmer
b637f5c3dd
Exempt label dialog PDF preview from darkmode blending
...
It should show real colors, instead of the darkmode
2023-02-20 00:26:56 +01:00
Jan Böhmer
05ab3c3b7b
Fixed image display style for odd shaped (very small) images.
2023-02-20 00:24:12 +01:00
Jan Böhmer
f9d5a9a3b5
Fixed problem with failing foreign key constraints on preview pic (2/2)
2023-02-20 00:09:23 +01:00
Jan Böhmer
82aec6f1ee
Fixed problem with failing foreign key constraints on preview pic (1/2)
2023-02-20 00:06:00 +01:00
Jan Böhmer
c39a9a4da7
Added checkbox in parts table header to quickly select/unselect all parts
2023-02-19 23:04:51 +01:00
Jan Böhmer
9d1cd0477a
Fixed problems with non-unique prototype names when using nested collection type, which prevented to create nested entries with mulitple new sub entries.
...
We now use a unique prototype name for every collection field. This fixes issue #219
2023-02-19 22:39:26 +01:00
Jan Böhmer
1e998fccbb
Put delete option on multiaction select in its own optgroups so it does not look like it belongs to the project optgroup
2023-02-19 21:58:55 +01:00
Jan Böhmer
2fcd48d4f2
Fixed error when cloning an label profile
...
An attachment type with the same ID was retrieved from the DB, which was not cloneable for the form...
2023-02-19 21:56:10 +01:00
Jan Böhmer
4e79bb120a
Bumped version to 1.0.1-dev
2023-02-19 21:46:27 +01:00
Jan Böhmer
2d85734703
Use having clause for part amountSum filter constraint
...
This fixes issue #218
2023-02-19 21:45:38 +01:00
Jan Böhmer
ccb0ac63e1
Updated list of missing features in upgrade docs.
2023-02-16 01:22:40 +01:00
Jan Böhmer
e47b5090c7
Removed the double composer install command from assets artifact build action
2023-02-13 00:55:35 +01:00
Jan Böhmer
4f51b70540
Renamed assets artifact build action
2023-02-13 00:52:30 +01:00
Jan Böhmer
19af268efe
Bumped version to 1.0.0
2023-02-13 00:51:38 +01:00
Jan Böhmer
a32d5625f2
Merge remote-tracking branch 'origin/l10n_master'
2023-02-13 00:50:12 +01:00
Jan Böhmer
da97a10033
Added action to build artifacts
2023-02-13 00:49:58 +01:00
Jan Böhmer
43137043cf
New translations messages.en.xlf (English)
2023-02-13 00:39:07 +01:00
Jan Böhmer
67aa6dd7e4
Do not run actions on localization branches
...
This often fails and causes a lot of email traffic...
2023-02-13 00:34:13 +01:00
Jan Böhmer
c4757fcba7
Added link to demo and docker image to README header
2023-02-12 23:55:23 +01:00
Jan Böhmer
54292dacbd
Added screenshots to README.md
2023-02-12 23:52:38 +01:00
Jan Böhmer
5ba37d88f4
Croped one of the screenshot
2023-02-12 23:51:53 +01:00
Jan Böhmer
5905b51025
Added some screenshots for README.md
2023-02-12 23:48:05 +01:00
Jan Böhmer
db1ee28244
Updated yarn dependencies.
2023-02-12 23:40:36 +01:00
Jan Böhmer
ee2ea6cd01
Merge remote-tracking branch 'origin/l10n_master'
2023-02-12 23:37:13 +01:00
Jan Böhmer
b8171f99ba
Improved README and docs
2023-02-12 23:37:09 +01:00
Jan Böhmer
9b6fa2768f
New translations messages.en.xlf (English)
2023-02-12 23:24:03 +01:00
Jan Böhmer
fe69e1a863
New translations messages.en.xlf (German)
2023-02-12 23:24:00 +01:00
Jan Böhmer
421f2682d6
Improved documentation
2023-02-12 23:23:38 +01:00
Jan Böhmer
d219851143
Only tag releases as docker latest
2023-02-12 21:47:24 +01:00
Jan Böhmer
cabd632f4a
Merge remote-tracking branch 'origin/l10n_master'
2023-02-12 21:39:14 +01:00
Jan Böhmer
086147daa8
New translations messages.en.xlf (English)
2023-02-12 21:37:16 +01:00
Jan Böhmer
49a82f721d
New translations messages.en.xlf (German)
2023-02-12 21:37:11 +01:00
Jan Böhmer
f80b114f1b
New translations messages.en.xlf (German)
2023-02-12 21:04:04 +01:00
Jan Böhmer
ce3cecabaf
Save project attachment files under "project/" instead of "device/"
2023-02-12 20:54:53 +01:00
Jan Böhmer
455acccc7e
Use tagsinput for attachmenttype filetype filter to improve UX
2023-02-12 20:48:52 +01:00
Jan Böhmer
a165392a55
New translations messages.en.xlf (English)
2023-02-12 18:05:02 +01:00
Jan Böhmer
bfc3abd259
Fixed an javascript issue
2023-02-12 17:56:59 +01:00
Jan Böhmer
400cc44838
Properly destroy tomSelect on disconnect()
2023-02-12 17:53:10 +01:00
Jan Böhmer
f22d65cd24
Fixed behavior of datatables fixedHeader on subsequent ajax calls.
2023-02-12 17:46:09 +01:00
Jan Böhmer
c8bfe7f6d4
Localized more field names for edit log entry
2023-02-12 16:59:55 +01:00
Jan Böhmer
d7e7c9797f
Fixed PHPstan issue
2023-02-12 14:06:32 +01:00
Jan Böhmer
1b8cc174c8
New translations messages.en.xlf (English)
2023-02-11 23:49:23 +01:00
Jan Böhmer
8ec70e93b4
New translations messages.en.xlf (Russian)
2023-02-11 23:49:21 +01:00
Jan Böhmer
db2fa2c9e7
New translations messages.en.xlf (Japanese)
2023-02-11 23:49:20 +01:00
Jan Böhmer
5dad6fefa6
New translations messages.en.xlf (German)
2023-02-11 23:49:17 +01:00
Jan Böhmer
81e036c2f2
New translations messages.en.xlf (French)
2023-02-11 23:49:15 +01:00
Jan Böhmer
6b06ce9ac3
Started to make changed fields names in element edited log entry extra data translatable
2023-02-11 23:39:11 +01:00
Jan Böhmer
1faeddccb2
Fixed bug that default_currency and shipping costs fields of supplier were not editable
2023-02-11 23:18:21 +01:00
Jan Böhmer
7569bffa1d
Upgraded psalm
2023-02-11 22:37:27 +01:00
Jan Böhmer
c1d7603605
Upgraded symfony/webpack-encore recipe
2023-02-11 22:35:34 +01:00
Jan Böhmer
52704f4774
Upgraded symfony/phpunit-bridge recipe
2023-02-11 22:32:41 +01:00
Jan Böhmer
a121b48504
Upgraded symfony/mailer recipe
2023-02-11 22:29:59 +01:00
Jan Böhmer
ab7c02e6cc
Upgraded recipe of symfony/apache-pack
2023-02-11 22:29:32 +01:00
Jan Böhmer
c75cdecbe8
Upgraded doctrine-bundle recipe
2023-02-11 22:27:51 +01:00
Jan Böhmer
5cc726e045
Upgraded dependencies.
2023-02-11 22:19:56 +01:00
Jan Böhmer
266ffe3fec
Disable username and token field on password reset controller
2023-02-11 22:04:49 +01:00
Jan Böhmer
03e52bf598
Added login rate throttling
2023-02-11 21:55:24 +01:00
Jan Böhmer
d03586d9d5
Improved upgrade documentation from legacy Part-DB version
2023-02-10 15:10:47 +01:00
Jan Böhmer
3ad732cf1c
Started to move the upgrade from old part-db documentation to gh-pages
2023-02-09 18:03:13 +01:00
Jan Böhmer
48ceaff026
Improved documentation
2023-02-09 00:42:20 +01:00
Jan Böhmer
5f6671a5aa
Link to docs.part-db.de
2023-02-09 00:14:36 +01:00
Jan Böhmer
50e8529889
Improved docs for MySQL database
2023-02-09 00:01:47 +01:00
Jan Böhmer
cde5fbb94b
Docs are accessible under docs.part-db.de
2023-02-08 23:39:11 +01:00
Jan Böhmer
33c3be4cf9
Merge remote-tracking branch 'origin/master'
2023-02-08 23:29:02 +01:00
Jan Böhmer
2259c54ff7
Create CNAME
2023-02-08 23:24:04 +01:00
Jan Böhmer
9ab2fd5b40
Moved docker-compose directly into docu and added info how to setup docker with MySQL
2023-02-08 23:22:09 +01:00
Jan Böhmer
3a4aa6785d
Improved documentation
2023-02-08 00:52:45 +01:00
Jan Böhmer
1a86dd2487
Updated doctrine dependencies
2023-02-07 22:41:14 +01:00
Jan Böhmer
bc81726f9c
Merge remote-tracking branch 'origin/master'
2023-02-07 22:33:02 +01:00
Jan Böhmer
4ed25f6184
Added some documentation on which database type to use.
2023-02-07 16:48:05 +01:00
Jan Böhmer
3c79d967b4
Moved remaining docs from github wiki to pages
2023-02-07 13:05:55 +01:00
Jan Böhmer
3943994510
Use remote_theme for jekyll build
2023-02-07 12:51:27 +01:00
Jan Böhmer
a996fade24
Started to migrate the documentation to github pages
2023-02-07 12:45:49 +01:00
Jan Böhmer
7989d4e344
Set selectOnTab option for tomSelect inputs
2023-02-06 22:59:03 +01:00
Jan Böhmer
8f646e7e7b
Fixed toast position on large screens
2023-02-06 22:47:41 +01:00
Jan Böhmer
b8e0fc8e06
We are in development of 1.0.0-beta.2 now
2023-02-06 22:07:47 +01:00
Jan Böhmer
d44ba9e193
Bumped version to 1.0.0-beta.1
2023-02-06 22:05:26 +01:00
Jan Böhmer
90b583654b
Fixed inspection issues
2023-02-06 21:34:46 +01:00
Jan Böhmer
66d76d40dd
Fixed and improved docker build
2023-02-06 21:34:02 +01:00
Jan Böhmer
9e28866727
New translations security.en.xlf (English)
2023-02-06 21:21:46 +01:00
Jan Böhmer
569503170d
New translations validators.en.xlf (English)
2023-02-06 21:21:45 +01:00
Jan Böhmer
d77e40d57c
New translations messages.en.xlf (English)
2023-02-06 21:21:44 +01:00
Jan Böhmer
325d469ba2
Do not build docker image for crowdin branch
2023-02-06 21:13:30 +01:00
Jan Böhmer
d08bf1cd85
Updated dependencies.
2023-02-06 21:10:53 +01:00
Jan Böhmer
aeddf03d98
Fixed phpstan issues
2023-02-06 21:06:26 +01:00
Jan Böhmer
1835669fde
Merge remote-tracking branch 'origin/l10n_master'
2023-02-06 21:03:01 +01:00
Jan Böhmer
f6607965ff
New translations messages.en.xlf (English)
2023-02-06 16:49:28 +01:00
Jan Böhmer
f5895e6b34
New translations messages.en.xlf (Russian)
2023-02-06 16:49:26 +01:00
Jan Böhmer
35323c787f
New translations messages.en.xlf (Japanese)
2023-02-06 16:49:25 +01:00
Jan Böhmer
6f2474ba29
New translations messages.en.xlf (German)
2023-02-06 16:49:21 +01:00
Jan Böhmer
f972d3314d
New translations messages.en.xlf (French)
2023-02-06 16:49:19 +01:00
Jan Böhmer
8a05f6de05
New translations messages.en.xlf (English)
2023-02-06 15:11:12 +01:00
Jan Böhmer
980741a03e
New translations validators.en.xlf (German)
2023-02-06 15:11:08 +01:00
Jan Böhmer
07497dbbf7
New translations messages.en.xlf (German)
2023-02-06 15:11:07 +01:00
Jan Böhmer
113b16b20c
New translations messages.en.xlf (English)
2023-02-06 14:49:46 +01:00
Jan Böhmer
387fbdf3ba
New translations messages.en.xlf (Russian)
2023-02-06 14:49:44 +01:00
Jan Böhmer
e7034465ef
New translations messages.en.xlf (Japanese)
2023-02-06 14:49:43 +01:00
Jan Böhmer
b7a2ad8a15
New translations messages.en.xlf (German)
2023-02-06 14:49:41 +01:00
Jan Böhmer
f4562de3b0
New translations messages.en.xlf (French)
2023-02-06 14:49:39 +01:00
Jan Böhmer
98bed280dc
New translations messages.en.xlf (English)
2023-02-06 13:49:59 +01:00
Jan Böhmer
47584dd845
Automatically select the first option of part multi select.
2023-02-06 00:52:46 +01:00
Jan Böhmer
e067dc80d5
Fixed rendering of empty selection with the multi select action
2023-02-06 00:48:00 +01:00
Jan Böhmer
39765f05dd
Improved styling of part multiselect action
2023-02-06 00:33:57 +01:00
Jan Böhmer
7ff1584eb9
Fixed multi-part action selectors.
2023-02-06 00:08:32 +01:00
Jan Böhmer
4004222039
New translations messages.en.xlf (English)
2023-02-05 22:23:29 +01:00
Jan Böhmer
b8da4c62d0
Show first steps on homepage when no parts were created yet.
2023-02-05 21:37:48 +01:00
Jan Böhmer
8447b8b42a
Removed links to old author pages (which do not work anymore)
2023-02-05 21:12:44 +01:00
Jan Böhmer
c088742dda
Added possibility to save parts and create an empty one
2023-02-05 21:00:26 +01:00
Jan Böhmer
13de2afc28
Improved styling of the parts info page
2023-02-05 20:50:19 +01:00
Jan Böhmer
f351d65065
Do not cron build docker images
2023-02-05 20:25:04 +01:00
Jan Böhmer
5ea791eac7
Improved styling of image in structural entity select
2023-02-05 20:23:52 +01:00
Jan Böhmer
08b60cd149
Restrict small user avatar picture size to square
2023-02-05 20:06:53 +01:00
Jan Böhmer
a925597565
Show entity preview image on admin page
2023-02-05 20:00:11 +01:00
Jan Böhmer
d3023ea945
Increase network timeout for yarn in Dockerfile to prevent timeout errors on cross builds.
2023-02-05 19:31:21 +01:00
Jan Böhmer
8794c1d018
Fixed issue that prevented creation of new entities via StructuralEntityType
2023-02-05 19:29:39 +01:00
Jan Böhmer
66e566b99a
Use precompiled PHP extensions for docker container
...
This should hopefully reduce the build times for cross compiled images, as we dont have to build extensions from source there.
2023-02-05 18:58:57 +01:00
Jan Böhmer
ba5ae35809
Fixed some inspection issues
2023-02-05 03:01:25 +01:00
Jan Böhmer
a5cbe59a7c
Removed bootstrap-select CSS we dont need/use anymore
2023-02-05 02:29:28 +01:00
Jan Böhmer
e52ae8fda1
Updated dependencies.
2023-02-05 02:27:05 +01:00
Jan Böhmer
156f611611
Do not build extenstions that are already existing in the docker image
2023-02-05 02:16:30 +01:00
Jan Böhmer
3d54921ab9
Cache docker builds in github action cache
2023-02-05 02:03:18 +01:00
Jan Böhmer
9273d6b249
Improved efficiency of Dockerfile
2023-02-05 00:46:30 +01:00
Jan Böhmer
cba3f65c29
Only configure the QEMU VMs we need for docker build action
2023-02-05 00:42:19 +01:00
Jan Böhmer
b7cc258344
Removed bootstrap-treeview assets, as we use bs-treeview yarn package since some time
2023-02-05 00:31:45 +01:00
Jan Böhmer
066f4463fc
Try docker multi-platform-builds for ARM
2023-02-05 00:22:28 +01:00
Jan Böhmer
3546385ed2
Moved favicon.ico to web root folder, as this is the location where a browser expects it
...
This prevents that the browser calls the PHP router to search for the (non-existing) favicon.icon
2023-02-05 00:18:07 +01:00
Jan Böhmer
76e4002a5a
Fixed typo in template path
2023-02-05 00:14:57 +01:00
Jan Böhmer
3d5bc4e514
Define some common options in the example docker-compose.yaml file
2023-02-05 00:07:52 +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
209c493732
Added some dataprocessors to monolog to add more context to error logs
2023-02-04 23:51:02 +01:00
Jan Böhmer
49d7a527f5
Renamed demo environment to docker
2023-02-04 23:40:24 +01:00
Jan Böhmer
a128f40358
Renamed AdminPages/ templates folder to recommended snake_case style
2023-02-04 23:34:39 +01:00
Jan Böhmer
1559b669df
Renamed form/ templates folder to recommended snake_case style
2023-02-04 23:21:36 +01:00
Jan Böhmer
12d4c2f4d9
Renamed label_system templates folder to recommended snake_style style
2023-02-04 23:15:11 +01:00
Jan Böhmer
06f86176b6
Renamed log_system template folder to recommended snake_case style
2023-02-04 23:09:36 +01:00
Jan Böhmer
9097220026
Renamed parts/ templates folder to recommended snake_case style
2023-02-04 23:05:39 +01:00
Jan Böhmer
e8efe81f79
Renamed projects/ template folder to recommended camel_case style
2023-02-04 23:03:32 +01:00
Jan Böhmer
5696f32a04
Renamed security template folder to recommended snake_case style
2023-02-04 22:59:43 +01:00
Jan Böhmer
dd5691f199
Renamed tools templates to the recommended snake_case style
2023-02-04 22:55:16 +01:00
Jan Böhmer
29e46d5d05
Renamed users templates folder to recommended snake_case
2023-02-04 22:49:28 +01:00
Jan Böhmer
6f28029fb8
Added a custom docker entrypoint which chowns used volumes
...
This fixes issue #206 .
2023-02-04 22:44:33 +01:00
Jan Böhmer
f0947fd948
Hopefully fixed AbstractParameter exception on the LabelProfile controller
2023-02-03 23:43:44 +01:00
Jan Böhmer
d804184073
Fixed exception when mass creation of non structural entities failed.
2023-02-03 23:27:49 +01:00
Jan Böhmer
3a9a6bbe76
Fixed styling of mass import hint on admin pages
2023-02-03 23:20:48 +01:00
Jan Böhmer
5f5c06d6e9
Fixed problems with attachments on label profiles.
2023-02-03 23:18:14 +01:00
Jan Böhmer
cf06cf363b
Removed left over debugger statement.
2023-02-03 23:13:25 +01:00
Jan Böhmer
2e18065d5a
Replaced all occurances of bootstrap-select with tomSelect
...
All choice fields should now use tomselect by default to improve user UX
2023-02-02 00:36:42 +01:00
Jan Böhmer
3c3a03a179
Use new ValidTheme constraint on theme field.
...
The old choice constraint needed an const, which is not available anymore, as you can configure the themes via parameters
2023-02-01 23:50:54 +01:00
Jan Böhmer
f1c3a52c8a
Use strategy fixed for dropdown menus, so they dont get clipped by an overflow: hidden
...
This fixes issue #209
2023-02-01 23:33:46 +01:00
Jan Böhmer
4a8480edce
Correctly render the Google Auth QRCode in darkmode
2023-02-01 23:17:03 +01:00
Jan Böhmer
08c97282a3
Allow to configure which themes should be available via parameters.yaml
2023-02-01 23:15:02 +01:00
Jan Böhmer
489b3e2c21
Use webpack entrypoints for bootstrap and bootswatch themes
...
This allows us to utilize the webpack versioning mechanism, to avoid display issues, when upgrading bootstrap
2023-02-01 22:58:39 +01:00
Jan Böhmer
5c303225d7
Upgraded composer dependencies.
2023-02-01 22:17:45 +01:00
Jan Böhmer
7654ac4d23
Updated yarn dependencies.
2023-02-01 22:14:32 +01:00
Jan Böhmer
1b106052ce
New translations messages.en.xlf (English)
2023-01-31 11:24:58 +01:00
Jan Böhmer
13d3b77f16
New translations messages.en.xlf (Russian)
2023-01-31 11:24:56 +01:00
Jan Böhmer
832416bdfa
New translations messages.en.xlf (Japanese)
2023-01-31 11:24:55 +01:00
Jan Böhmer
c0e52d608a
New translations messages.en.xlf (French)
2023-01-31 11:24:50 +01:00
Jan Böhmer
30280af645
Merge branch 'l10n_master'
2023-01-31 10:38:53 +01:00
Jan Böhmer
b529e8e360
New translations security.en.xlf (Russian)
2023-01-31 10:20:12 +01:00
Jan Böhmer
7aaaf28e10
New translations security.en.xlf (Japanese)
2023-01-31 10:20:11 +01:00
Jan Böhmer
6b185743b3
New translations security.en.xlf (Greek)
2023-01-31 10:20:10 +01:00
Jan Böhmer
41cb72c2dd
New translations security.en.xlf (French)
2023-01-31 10:20:09 +01:00
Jan Böhmer
c4fc106586
New translations validators.en.xlf (Greek)
2023-01-31 10:20:08 +01:00
Jan Böhmer
c71646de3f
Use icon instead of "Add" in structural entity select.
2023-01-30 23:58:53 +01:00
Jan Böhmer
b668218154
Fixed tests.
2023-01-30 23:40:22 +01:00
Jan Böhmer
a38db98d82
New translations messages.en.xlf (English)
2023-01-30 23:19:14 +01:00
Jan Böhmer
dc012b56a8
Improved UX of entity adding from part edit page.
2023-01-30 23:08:22 +01:00
Jan Böhmer
25be76b311
Added some tests
2023-01-30 22:42:07 +01:00
Jan Böhmer
60446edd68
Fixed possibility to create nested structure from the part edit page
2023-01-30 22:29:20 +01:00
Jan Böhmer
ea09cde15a
New translations security.en.xlf (English)
2023-01-30 16:32:08 +01:00
Jan Böhmer
7e2397652b
New translations security.en.xlf (Russian)
2023-01-30 16:32:07 +01:00
Jan Böhmer
ea6c5937f2
New translations security.en.xlf (Japanese)
2023-01-30 16:32:06 +01:00
Jan Böhmer
cfa1dad66c
New translations security.en.xlf (Greek)
2023-01-30 16:32:06 +01:00
Jan Böhmer
403311cb8e
New translations security.en.xlf (German)
2023-01-30 16:32:05 +01:00
Jan Böhmer
cab8ea71ba
New translations security.en.xlf (French)
2023-01-30 16:32:03 +01:00
Jan Böhmer
d62565b75b
New translations validators.en.xlf (English)
2023-01-30 16:32:02 +01:00
Jan Böhmer
aa8daf655f
New translations validators.en.xlf (Russian)
2023-01-30 16:32:01 +01:00
Jan Böhmer
9423dc5b09
New translations validators.en.xlf (Japanese)
2023-01-30 16:32:00 +01:00
Jan Böhmer
1cd74201a7
New translations validators.en.xlf (Greek)
2023-01-30 16:31:59 +01:00
Jan Böhmer
c8e243e626
New translations validators.en.xlf (German)
2023-01-30 16:31:59 +01:00
Jan Böhmer
ff5f7702eb
New translations validators.en.xlf (French)
2023-01-30 16:31:58 +01:00
Jan Böhmer
d9e25d077d
Update Crowdin configuration file
2023-01-30 16:31:01 +01:00
Jan Böhmer
6432e1c044
Update Crowdin configuration file
2023-01-30 16:30:36 +01:00
Jan Böhmer
ed174ba22a
New translations messages.en.xlf (German)
2023-01-30 14:20:54 +01:00
Jan Böhmer
77ffc54b63
New translations messages.en.xlf (English)
2023-01-30 13:14:50 +01:00
Jan Böhmer
856f59cd56
New translations messages.en.xlf (Russian)
2023-01-30 13:14:48 +01:00
Jan Böhmer
1408a75155
New translations messages.en.xlf (Japanese)
2023-01-30 13:14:47 +01:00
Jan Böhmer
81abffc2ca
New translations messages.en.xlf (German)
2023-01-30 13:14:45 +01:00
Jan Böhmer
625d4e3190
Delete .php_cs.cache
2023-01-30 13:02:33 +01:00
Jan Böhmer
a27cf43ac0
Delete .phpcs-cache
2023-01-30 13:02:06 +01:00
Jan Böhmer
1472c3e2f2
Update .gitignore
2023-01-30 13:01:48 +01:00
Jan Böhmer
6e3c68bc3b
Delete .travis.yml as we dont use TravisCI anymore
2023-01-30 12:59:58 +01:00
Jan Böhmer
19db345935
Update docker-compose.yaml
2023-01-30 12:55:01 +01:00
Jan Böhmer
5ead9cbf61
Fixed some incompatibility on PHP 7.4
2023-01-30 00:43:03 +01:00
Jan Böhmer
e0c380d81a
Allow to create nested entitiy structures directly from the part edit page.
...
However there is still a bug, that the newly created entites are not shown as selected (even though they are). Fixes issue #203
2023-01-30 00:37:12 +01:00
Jan Böhmer
1654010ea3
Started to work on the possibilty to create new entities directly from the part edit page.
...
This fixes issue #203 .
2023-01-29 20:42:18 +01:00
Jan Böhmer
672d55624f
Fixed CurrencyEntityType
2023-01-29 19:27:51 +01:00
Jan Böhmer
8d5427a1c3
Use tomselect for StructuralEntityType
2023-01-29 18:52:24 +01:00
Jan Böhmer
f085402cba
Show server time in system info page
...
This is useful for debugging issues with 2FA or wrong timestamps.
2023-01-29 13:09:54 +01:00
Jan Böhmer
383fd797a3
Use current request instead of main request.
2023-01-29 13:06:21 +01:00
Jan Böhmer
beeadef853
Use the locale from the request if available, to generate cache keys
...
This hopefully fixes the problem with the wrong language of the tools tree in the demo.
2023-01-29 13:04:18 +01:00
Jan Böhmer
2c03a6e683
Added an command to backup the data of Part-DB easily
...
This fixes issue #86 .
2023-01-29 00:47:03 +01:00
Jan Böhmer
5bf68632c3
Use MPN instead of part name for auto product URLs if available
...
Implements issue #93
2023-01-28 23:31:06 +01:00
Jan Böhmer
07f95bc6ea
Added possibility to create nested structures of elements using Mass Import
2023-01-28 23:24:45 +01:00
Jan Böhmer
22950f2476
Validate that a parts name fullfills the regular expression set in a category
2023-01-28 21:36:19 +01:00
Jan Böhmer
f0069ebbe8
New translations messages.en.xlf (English)
2023-01-28 21:09:11 +01:00
Jan Böhmer
924d7734d2
New translations messages.en.xlf (Russian)
2023-01-28 21:09:10 +01:00
Jan Böhmer
548f420e26
New translations messages.en.xlf (Japanese)
2023-01-28 21:09:08 +01:00
Jan Böhmer
397fe497d1
New translations messages.en.xlf (German)
2023-01-28 21:09:06 +01:00
Jan Böhmer
cb9395e7cc
New translations messages.en.xlf (French)
2023-01-28 21:09:05 +01:00
Jan Böhmer
58105575d3
Show part name hint in edit page and default description and comment settings of a category now properly works
...
This fixes issue #196
2023-01-28 21:07:01 +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
4ad40a22de
Updated CKEDITOR to 36.0.0
2023-01-28 19:55:25 +01:00
Jan Böhmer
cbc2800413
Updated yarn dependencies
2023-01-28 19:43:26 +01:00
Jan Böhmer
a1bc93013a
Updated composer dependencies.
2023-01-28 19:40:02 +01:00
Jan Böhmer
5e2209eb57
Removed references to mikrocontroller.net forum on homepage, as we use github in english now.
2023-01-28 19:26:21 +01:00
Jan Böhmer
88c9a488a3
Fixed static analysis issues.
2023-01-25 00:20:35 +01:00
Jan Böhmer
04c6d582f2
Make small user pictures hoverable to show larger version of profile picture.
2023-01-25 00:16:10 +01:00
Jan Böhmer
0063d360ce
Allow a user to change and remove his profile picture from user settings.
2023-01-25 00:10:17 +01:00
Jan Böhmer
04b99cd247
Fixed bug that transaction failed, when an attachment, which were used as master attachment is deleted.
2023-01-24 23:47:25 +01:00
Jan Böhmer
6296cac962
Fixed some ugly issues with entities where certain changes where not written to database, after the event logger subscriber were called.
2023-01-24 22:55:03 +01:00
Jan Böhmer
d06701fa87
Started to work on avatar upload from user settings page.
2023-01-24 00:57:41 +01:00
Jan Böhmer
daba6edf5d
Allow to edit user avatar via user admin page.
2023-01-23 23:58:11 +01:00
Jan Böhmer
97b87dee5f
Show user avatar next to its name, in all possible locations
2023-01-23 23:01:57 +01:00
Jan Böhmer
29bce6f19f
Use permissions presets as initial settings for group permissions during migration
2023-01-23 21:46:24 +01:00
Jan Böhmer
eaef115d4b
Added tests for ProjectBuildRequest
2023-01-23 21:10:31 +01:00
Jan Böhmer
f9dfb37273
Update README.md
2023-01-23 13:37:52 +01:00
Jan Böhmer
c3f1825e63
Update README.md
2023-01-23 13:35:29 +01:00
Jan Böhmer
ff89b6aace
Update README.md
2023-01-23 13:31:32 +01:00
Jan Böhmer
b9ce1d6382
Check for availability of the project build controller to ApplicationAvailabilityTest
2023-01-22 23:51:59 +01:00
Jan Böhmer
69e83af13b
Fixed static analysis issue
2023-01-22 23:50:07 +01:00
Jan Böhmer
94d7f4bc37
Updated dependencies.
2023-01-22 23:49:14 +01:00
Jan Böhmer
bb4c05624d
Merge branch 'project_system'
2023-01-22 23:47:23 +01:00
Jan Böhmer
36323716c8
Improved builds tab on project info page
2023-01-22 23:47:14 +01:00
Jan Böhmer
78eacd3ec1
Forbid building of a part, when the user is not allowed to withdraw parts stock
2023-01-22 23:40:10 +01:00
Jan Böhmer
2f42eb7cff
Allow to directly add build as stock to the associated builds part.
2023-01-22 23:27:45 +01:00
Jan Böhmer
015c71cbd2
Fixed exceptions on build page, when BOM contained non-part entries.
2023-01-22 17:37:01 +01:00
Jan Böhmer
bc9ed770ad
Improved frontend of build page
2023-01-22 17:34:10 +01:00
Jan Böhmer
616533ea4a
Withdraw selected part lots, when building
2023-01-22 16:59:58 +01:00
Jan Böhmer
31a20d0692
Validate ProjectBuildRequest
2023-01-22 14:13:56 +01:00
Jan Böhmer
83d734747a
Added a basic form to perform builds.
...
Logic does not work yet.
2023-01-22 00:01:16 +01:00
Jan Böhmer
3dc9376f40
Started work on a build project tool.
2023-01-21 21:41:08 +01:00
Jan Böhmer
fcd8d205d3
Added an alert to the build tab, when a part has a status other than "in_production".
2023-01-18 23:15:31 +01:00
Jan Böhmer
76ec63e760
Added a tab "Build" to project info page, where you can see how often you can build this project.
2023-01-18 23:07:51 +01:00
Jan Böhmer
6423e52092
Merge branch 'master' into project_system
2023-01-18 21:37:29 +01:00
Jan Böhmer
3340d7e50d
Updated yarn dependencies.
2023-01-18 21:37:14 +01:00
Jan Böhmer
aebd07e555
Updated composer dependencies.
2023-01-18 21:22:22 +01:00
Jan Böhmer
23461a96c8
Fixed static analysis issue.
2023-01-17 12:23:12 +01:00
Jan Böhmer
256926be94
Show database name and database connection user in system infos
2023-01-16 00:15:15 +01:00
Jan Böhmer
6eb40c6a41
Show database size in system info tool
2023-01-16 00:06:14 +01:00
Jan Böhmer
706253ce74
Fixed static analyis issue
2023-01-15 23:43:49 +01:00
Jan Böhmer
cbe010ee67
Allow to mass generate labels via part table multiselect.
2023-01-15 23:36:22 +01:00
Jan Böhmer
82896ec0e5
Show the current year in copyright message on homepage
2023-01-15 22:59:05 +01:00
Jan Böhmer
769850cec6
Added the IC logos tools from the old Part-DB version
2023-01-12 00:14:31 +01:00
Jan Böhmer
d734df4bd3
Fixed static analysis issue and a syntax error on PHP 7.4
2023-01-10 15:15:13 +01:00
Jan Böhmer
7ecc460925
Hide sidebar collapse button on screens smaller than sm (sidebar is always collapsed then)
2023-01-10 00:10:59 +01:00
Jan Böhmer
ddb70c94ea
Fixed wrong page width on mobile view of part info page
2023-01-10 00:05:25 +01:00
Jan Böhmer
7bdec3d80f
New translations messages.en.xlf (English)
2023-01-09 23:48:41 +01:00
Jan Böhmer
faf346806b
Make tables in part info vertically scrollable on small displays
2023-01-09 23:48:36 +01:00
Jan Böhmer
143bf3cd80
New translations messages.en.xlf (German)
2023-01-09 23:48:36 +01:00
Jan Böhmer
4c9c9cf227
Merge branch 'internal_assets_rename'
2023-01-09 23:41:04 +01:00
Jan Böhmer
04b660d777
Finished builtin footprints viewer tool.
2023-01-09 23:40:54 +01:00
Jan Böhmer
f84d1f8a8f
Fixed some missing renames which were forgotten before.
2023-01-09 23:15:35 +01:00
Jan Böhmer
0b519c2b7f
Only do the german->english footprint conversion if the footprint contains german text
...
Otherwise this had broken the viewing of passive components.
2023-01-09 23:05:36 +01:00
Jan Böhmer
ddd8a66024
Started to implement a very basic builtin footprints gallery tool
2023-01-09 22:51:12 +01:00
Jan Böhmer
39d4f06c12
Renamed footprints file structure to english names
2023-01-09 21:59:11 +01:00
Jan Böhmer
4032e7ffe3
Added mapping for old german footprint names to new english ones.
2023-01-09 21:46:05 +01:00
Jan Böhmer
53721222e8
New translations messages.en.xlf (English)
2023-01-09 16:20:11 +01:00
Jan Böhmer
7482466f68
New translations messages.en.xlf (German)
2023-01-09 16:20:09 +01:00
Jan Böhmer
eddf956f63
Do not use RENAME INDEX as it is not supported in older MariaDB versions
2023-01-08 23:57:00 +01:00
Jan Böhmer
87ef942f3f
New translations messages.en.xlf (English)
2023-01-08 23:41:13 +01:00
Jan Böhmer
86a77d011b
New translations messages.en.xlf (Russian)
2023-01-08 23:41:12 +01:00
Jan Böhmer
66e282c8ee
New translations messages.en.xlf (Japanese)
2023-01-08 23:41:10 +01:00
Jan Böhmer
a8e9ae125b
New translations messages.en.xlf (Greek)
2023-01-08 23:41:09 +01:00
Jan Böhmer
c81f3cf8a9
New translations messages.en.xlf (German)
2023-01-08 23:41:08 +01:00
Jan Böhmer
af987201f6
New translations messages.en.xlf (French)
2023-01-08 23:41:07 +01:00
Jan Böhmer
0dd5cebd2b
Updated yarn dependencies.
2023-01-08 23:31:40 +01:00
Jan Böhmer
51f8b02d04
Updated composer dependencies.
2023-01-08 23:28:23 +01:00
Jan Böhmer
794f5177ab
Merge branch 'project_system'
2023-01-08 23:27:11 +01:00
Jan Böhmer
d34dbbbb38
Improved tests for project system
2023-01-08 23:22:53 +01:00
Jan Böhmer
de4c25ac0e
Added info link to project edit page
2023-01-08 23:14:25 +01:00
Jan Böhmer
937f1ab38b
Show master picture attachment in poject info page, when existing
2023-01-08 23:12:06 +01:00
Jan Böhmer
7b536fc4ad
Renamed device_* routes to project_* routes
2023-01-08 23:07:25 +01:00
Jan Böhmer
1a3253b31a
Fixed permission schema migration for PHP < 8.1
2023-01-08 22:53:32 +01:00
Jan Böhmer
cad1206175
Fixed phpunit tests
2023-01-08 22:44:32 +01:00
Jan Böhmer
011bda3600
Rename indices instead of dropping and creating them again
...
This should hopefully fix the failing migration on test action.
2023-01-08 22:05:06 +01:00
Jan Böhmer
751cdc603a
Added comment to the element change log entries on permission schema change.
2023-01-08 20:14:23 +01:00
Jan Böhmer
7b6a906d98
Renamed "devices" permission to "projects"
2023-01-08 20:10:58 +01:00
Jan Böhmer
f2dfe12087
Use new label for ProjectBOMEntry
2023-01-08 19:40:56 +01:00
Jan Böhmer
513e7f3851
Use name "project" instead of "device" everywhere in the frontend
2023-01-08 19:36:56 +01:00
Jan Böhmer
897ea72bd0
Removed DEFAULT value for description on projects table as thats not supported on older MySQL version
2023-01-08 19:19:40 +01:00
Jan Böhmer
f618616379
Show BOM entries in projects history
2023-01-08 19:14:24 +01:00
Jan Böhmer
e423ef1e09
Only drop the legacy foreign key if migrated from legacy DB.
2023-01-08 18:57:56 +01:00
Jan Böhmer
257c67b6c1
Fixed static analysis issues.
2023-01-08 18:30:41 +01:00
Jan Böhmer
e679317b4b
Added project system database schema for SQLite
2023-01-08 18:17:52 +01:00
Jan Böhmer
79db46b8e6
Renamed devices table to projects to have the same name as the entities.
2023-01-08 18:01:56 +01:00
Jan Böhmer
fb0c604edd
Allow to filter for part stock changed events in system log
2023-01-08 01:48:03 +01:00
Jan Böhmer
137c6430b1
Write the stock change comment also in the elementEdited log entry
2023-01-08 01:45:34 +01:00
Jan Böhmer
5d6b7a9470
Improved the rendering of a part instock change log entry
2023-01-08 01:41:04 +01:00
Jan Böhmer
4c94d9c150
Write a special log entry to DB when a user withdraws/add/move parts stock
2023-01-08 01:22:02 +01:00
Jan Böhmer
b2157c93e3
Fixed an exception when upgrading permissions schemas when the user has no group
2023-01-08 01:21:09 +01:00
Jan Böhmer
ec9dcb7975
Undone a change needed for testing.
2023-01-08 00:36:11 +01:00
Jan Böhmer
7aa88a8dbd
Automatically upgrade permission version schema in the background when needed on a request.
2023-01-08 00:35:43 +01:00
Jan Böhmer
0e56f11b6b
Added an mechanism to upgrade permissions schema (manually by calling a program)
2023-01-08 00:15:35 +01:00
Jan Böhmer
60d5776cb7
Added permission to control if a user is allowed to withdraw/add/move parts
2023-01-07 21:23:36 +01:00
Jan Böhmer
89a4846259
Improved the backdrop removal of the modal after modal submission
2023-01-07 20:58:13 +01:00
Jan Böhmer
436aff7533
Improved user experience with part withdraw modal
...
Related to issue #201
2023-01-07 20:49:36 +01:00
Jan Böhmer
ba4085d882
Added a very basic modal on part info page for changing part instock
...
Related to issue #201
2023-01-01 13:21:50 +01:00
Jan Böhmer
0e020dab74
Added an price field to allow defining the price of non-part BOM entries
2022-12-31 18:57:36 +01:00
Jan Böhmer
f62937096f
Moved doctrine custom type definitions to Doctrine\Types namespace
2022-12-31 18:42:56 +01:00
Jan Böhmer
e60f0f0571
Added attachments and parameters tab to Project info page
2022-12-31 14:45:16 +01:00
Jan Böhmer
2b1b86eb7e
Added a subprojects tab to project info
2022-12-31 14:34:30 +01:00
Jan Böhmer
742b2d3d48
Improved project info page
2022-12-31 14:17:46 +01:00
Jan Böhmer
ef6d30e04b
Ensure that a project BOM includes the build parts of its subprojects
2022-12-29 17:52:13 +01:00
Jan Böhmer
14e2e105e0
Fixed problem that it was not possible to changes a entities parent
2022-12-29 17:33:36 +01:00
Jan Böhmer
9aa6e714f2
Ensure that its own project builds part is not added to the project BOM
2022-12-29 17:33:28 +01:00
Jan Böhmer
3a60a9848f
Fixed problem that it was not possible to changes a entities parent
2022-12-29 17:32:47 +01:00
Jan Böhmer
064f514281
Removed left over dump statement in template
2022-12-29 17:18:10 +01:00
Jan Böhmer
05c4adb928
Mark the special project build status in part info page and parts tables
2022-12-29 16:56:24 +01:00
Jan Böhmer
fdcd1b9d9d
Added possibility to associate a part with a project that represents the builds of the project
2022-12-29 16:21:04 +01:00
Jan Böhmer
adc070d10c
Added possibility to set project status
2022-12-29 15:22:34 +01:00
Jan Böhmer
5521995f79
Delete ProjectBOMEntry when the associated part is deleted
2022-12-29 13:27:33 +01:00
Jan Böhmer
fb91d98d13
Added localized type name for BOMEntry to fix an exception
2022-12-29 13:18:19 +01:00
Jan Böhmer
3f82d0967a
Allow to add a part to a project from a parts info page
2022-12-29 13:15:26 +01:00
Jan Böhmer
bd20c40531
Do not use full urls when not needed, to prevent issues with SSL mixed content
2022-12-28 23:38:32 +01:00
Jan Böhmer
15677937a2
Do not use full urls when not needed, to prevent issues with SSL mixed content
2022-12-28 23:37:50 +01:00
Jan Böhmer
25494c9ddf
Added a page to quickly add many parts to a project from parts lists.
2022-12-28 23:32:46 +01:00
Jan Böhmer
345fb0a3c1
Allow to open and close bom entry collapse even when newly added.
2022-12-28 23:15:43 +01:00
Jan Böhmer
39ed00c7c0
Fixed issue with removing the bom entries caused by the multiple collapse rows
2022-12-28 23:06:52 +01:00
Jan Böhmer
a3ee51e76b
Improved styling of the BOM edit
2022-12-27 13:03:19 +01:00
Jan Böhmer
7e6765b6de
Merge pull request #200 from jsuelwald/patch-1
...
Update docker-install.md
2022-12-27 11:13:47 +01:00
jsuelwald
5c3e8dc867
Update docker-install.md
...
Missing the "php" - command in your step 4
2022-12-27 11:05:00 +01:00
Jan Böhmer
b83b55b8d4
Added some constraints and validations to the BOM entries.
2022-12-26 13:57:11 +01:00
Jan Böhmer
4e3cad577e
Fixed exception on project info page, when BOM contained non part entries
2022-12-24 16:28:57 +01:00
Jan Böhmer
64e7ce4ad6
Improved usability of part select element
2022-12-24 16:25:29 +01:00
Jan Böhmer
7558d57545
Part select element now works properly
2022-12-24 16:10:19 +01:00
Jan Böhmer
670dd76ef5
Implement a user friendly part select element.
2022-12-24 14:04:46 +01:00
Jan Böhmer
c78bc01d23
Added very basic controls to edit a projects BOM
2022-12-23 13:12:22 +01:00
Jan Böhmer
b1ed52bcc3
Show mount names as comma separated tags
2022-12-23 12:38:49 +01:00
Jan Böhmer
b074095038
Fixed inconsistent DB mapping definition
2022-12-23 12:27:41 +01:00
Jan Böhmer
7f38095e82
Added a part info tab to show in which projects the part is used.
2022-12-18 23:58:04 +01:00
Jan Böhmer
d5b1c6be0a
Added simple info page for projects
2022-12-18 21:58:21 +01:00
Jan Böhmer
855b3070bb
Fix exception when creating an attachment without an file.,
2022-12-18 20:55:50 +01:00
Jan Böhmer
07b399763a
Fix exception when creating an attachment without an file.,
2022-12-18 20:55:38 +01:00
Jan Böhmer
0c7ec9f0c7
Added some basic DB fields for the new project system
2022-12-18 20:34:25 +01:00
Jan Böhmer
8ae4e9fe05
Fixed some inspection issues
2022-12-18 19:45:04 +01:00
Jan Böhmer
c6f1758a18
Fixed static analysis
2022-12-18 18:14:48 +01:00
Jan Böhmer
14bbe3d6d6
Rename unsafe file extensions of attachments to prevent XSS and server side code injection.
2022-12-18 18:11:44 +01:00
Jan Böhmer
5ffd44466e
Show private attachment badge above the view link.
2022-12-18 17:35:29 +01:00
Jan Böhmer
a4eae19a1f
Improved organisation of Services
2022-12-18 17:28:42 +01:00
Jan Böhmer
c3308aaf24
Deselecting all rows previously selected rows after multi action is submitted.
2022-12-17 01:23:37 +01:00
Jan Böhmer
1135bfcbef
Color a part row if the part is favorite or needs review.
2022-12-17 01:19:52 +01:00
Jan Böhmer
6be863d356
Color attachments with missing files yellow in attachments datatable
2022-12-17 01:09:47 +01:00
Jan Böhmer
618a6e49dd
Coloring on log level in log tables now work again.
2022-12-17 01:03:22 +01:00
Jan Böhmer
f0395d51b0
Correctly log the database migration to the system log
2022-12-17 00:44:12 +01:00
Jan Böhmer
a0f934169c
Allow to delete users while keeping log entries.
2022-12-17 00:25:54 +01:00
Jan Böhmer
dae4e38256
Updated dependencies.
2022-12-16 23:18:21 +01:00
Jan Böhmer
801a8cc6cc
Moved components styles to their own subfolders to improve organization.
2022-12-11 23:13:40 +01:00
Jan Böhmer
7ca9cfafe0
Moved email CSS files to its own directory
2022-12-11 23:07:15 +01:00
Jan Böhmer
81328071f7
Cleaned up and reorganized projects CSS.
2022-12-11 23:05:22 +01:00
Jan Böhmer
90eb0fa623
New translations messages.en.xlf (English)
2022-12-11 21:03:56 +01:00
Jan Böhmer
853fc513f7
Merge remote-tracking branch 'origin/l10n_master'
2022-12-11 20:57:37 +01:00
Jan Böhmer
2c8ef7165e
Include stacktraces in heroku logging
2022-12-11 20:56:57 +01:00
Jan Böhmer
8c25446d47
New translations messages.en.xlf (English)
2022-12-11 16:48:25 +01:00
Jan Böhmer
76160b161b
New translations messages.en.xlf (German)
2022-12-11 16:48:24 +01:00
Jan Böhmer
6f80129bb6
Show long/verbose dateinformation in tooltip of datetime columns in tables.
2022-12-11 16:48:14 +01:00
Jan Böhmer
6298da0572
Show a small dot next to required fields to improve usability.
2022-12-11 16:43:30 +01:00
Jan Böhmer
330b72b456
New translations messages.en.xlf (French)
2022-12-11 15:48:39 +01:00
Jan Böhmer
fc829b7183
Round average price to prevent exceptions.
...
This fixes issue #113 .
2022-12-11 15:42:59 +01:00
Jan Böhmer
7235cb72b4
Really use euro as base currency when querying exchange rates, so we can use the configuration-free ECB provider
...
This should fixes issue #154 .
2022-12-11 15:33:50 +01:00
Jan Böhmer
2b2fc6f1e6
Dont throw an exception, if we can not retrieve an currency exchange rate, but show an meaningful flash message
2022-12-11 15:10:16 +01:00
Jan Böhmer
0c5180bda4
Run tests and static analysis on ubuntu-22.04
2022-12-11 14:51:07 +01:00
Jan Böhmer
b90b6d7853
Run tests on PHP 8.2
2022-12-11 14:46:39 +01:00
Jan Böhmer
1ef41d6f53
Updated yarn dependencies.
2022-12-11 14:43:47 +01:00
Jan Böhmer
64656ad76c
Updated composer dependencies.
2022-12-11 14:41:40 +01:00
Jan Böhmer
e00ca9b4a9
Added IPN migration for SQLite
...
This should fix issue #167
2022-12-05 22:33:58 +01:00
Jan Böhmer
6d966ce516
Allow to filter by IPN
2022-12-04 02:40:37 +01:00
Jan Böhmer
b1d359f538
Added internal part number field to parts
2022-12-04 02:28:47 +01:00
Jan Böhmer
81abf36867
Allow to undelete attachments and parameters
...
Before they were just mapped to the abstract base class, which is not instantiable. Now we properly map them to the correct sub class and no error occurs.
2022-11-30 23:49:27 +01:00
Jan Böhmer
4b76d991dd
Removed old GPLv2 copyright headers in tests
2022-11-29 22:37:33 +01:00
Jan Böhmer
68462185ba
Removed old GPLv2 copyright header
2022-11-29 22:28:53 +01:00
Jan Böhmer
498cc07583
Added copyright/license info to files
2022-11-29 21:21:26 +01:00
Jan Böhmer
1d5311f1ec
New translations messages.en.xlf (German)
2022-11-29 21:18:58 +01:00
Jan Böhmer
e464c8e92d
New translations messages.en.xlf (English)
2022-11-29 20:19:03 +01:00
Jan Böhmer
15d02a046e
New translations messages.en.xlf (German)
2022-11-29 20:19:01 +01:00
Jan Böhmer
c3f4e61e41
Removed the useless margin below the description text in Parts table
...
This fixes issue #192
2022-11-29 00:29:53 +01:00
Jan Böhmer
6ce6b97b1e
Allow to change needs review status using parts multiselect action
2022-11-29 00:18:11 +01:00
Jan Böhmer
dc81f8272e
Use the new improved error messages on forms provided by symfoyn
2022-11-29 00:12:06 +01:00
Jan Böhmer
56c6157013
Show icon before part name in Parts table to mark if a part has favorite or needs review status
2022-11-29 00:10:40 +01:00
Jan Böhmer
bd12185b44
Show expired lot sum in parts table in parenthesis
2022-11-28 23:59:01 +01:00
Jan Böhmer
1f6f39172f
Fetch all partLots when loading a parts table, to show correct part amount
...
This fixes issue #190
2022-11-28 23:43:30 +01:00
Jan Böhmer
984fc9be14
Escape users and groups table name in migration as these are reserved words in MySQL 8
...
Should fix issue #194 .
2022-11-28 13:54:50 +01:00
Jan Böhmer
75cf3dc46f
Fix the $permissions must be initialized before access exception preventing login on two factor auth
2022-11-28 00:03:42 +01:00
Jan Böhmer
fc27728c62
Updated yarn dependencies.
2022-11-27 23:33:02 +01:00
Jan Böhmer
c2de50c6fc
New translations messages.en.xlf (English)
2022-11-27 23:24:24 +01:00
Jan Böhmer
5c6233f225
New translations messages.en.xlf (German)
2022-11-27 23:24:20 +01:00
Jan Böhmer
74d345acfe
Updated doctrine/dbal to 3.5.1
...
The bug which prevented the use of 3.5.0 should now be fixed.
2022-11-27 23:18:44 +01:00
Jan Böhmer
fc507668ad
Upgraded yarn dependencies
2022-11-27 23:15:40 +01:00
Jan Böhmer
c529df89a0
Merge branch 'permission_rework'
2022-11-27 23:11:03 +01:00
Jan Böhmer
414c417b69
Added link to announcement where you can get more infos about upgrading permission system.
2022-11-27 23:10:15 +01:00
Jan Böhmer
8a2b26e693
Tried something to fix tests on Linux
2022-11-27 21:45:04 +01:00
Jan Böhmer
c153502b3f
Removed default value for MySQL permission column as it causes problems on older MySQL servers
2022-11-27 21:33:13 +01:00
Jan Böhmer
40c0a96936
Fixed PermissionManager test
2022-11-27 21:09:42 +01:00
Jan Böhmer
d69418bb9d
Add labelprofile and devices read permission to readonly preset
2022-11-27 20:37:05 +01:00
Jan Böhmer
5229f2fc28
Fixed UserCheckerTest
2022-11-27 19:43:49 +01:00
Jan Böhmer
df11f62a2f
Fixed PHPstan issues
2022-11-27 16:53:44 +01:00
Jan Böhmer
2554120e6e
Improved DatatablesAvailabilityTest
2022-11-27 16:39:45 +01:00
Jan Böhmer
cd9a303644
Improved ApplicationAvailabilityFunctionalTest
2022-11-27 16:35:44 +01:00
Jan Böhmer
51d3934e9f
Improved failure message of AvailabilityFunctionalityTest
2022-11-27 16:16:22 +01:00
Jan Böhmer
960dbdf6f6
Fixed permissions fixtures loading.
2022-11-27 16:11:20 +01:00
Jan Böhmer
adde39de9f
Updated yarn dependencies.
2022-11-26 22:58:34 +01:00
Jan Böhmer
e0d7fb7517
Updated composer dependencies.
2022-11-26 22:54:53 +01:00
Jan Böhmer
c6ad14d641
Show a more helpfull error message on login when a user is disabled.
...
Before a generic invalid credentials message was shown, now a hint about the disabled status is shown.
2022-11-15 00:25:56 +01:00
Jan Böhmer
59ec215b12
Added an console command to enable/disable many users at once.
2022-11-15 00:18:39 +01:00
Jan Böhmer
27709bed60
Show the disabled status of a user in the users:list command
2022-11-14 23:58:38 +01:00
Jan Böhmer
37fde77b8e
Show special icon in users menu when a user is locked
2022-11-14 23:52:10 +01:00
Jan Böhmer
a3aa8ec2ef
Fixed error with loading the permissions.yaml file caused by moving of PermissionManager
2022-11-14 23:32:28 +01:00
Jan Böhmer
1c12174cd9
Fixed new permission migration for SQLite
2022-11-14 23:21:49 +01:00
Jan Böhmer
aabe3876a7
Improved migrations for MySQL
2022-11-14 23:12:18 +01:00
Jan Böhmer
21af37b8e7
Allow users to change the group of a user, when he is allowed to change permissions
2022-11-14 22:42:12 +01:00
Jan Böhmer
fd96f47952
Updated composer dependencies.
2022-11-14 20:30:55 +01:00
Jan Böhmer
6b9e0b415c
Removed legacy PermissionEmbed class
...
It was used for the old permission saving system and is not needed anymore
2022-11-14 20:20:36 +01:00
Jan Böhmer
b0c027f805
Renamed PermissionResolver service to PermissionService
2022-11-14 20:15:06 +01:00
Jan Böhmer
131e9a2850
Fixed service parameters
2022-11-14 20:07:20 +01:00
Jan Böhmer
c5434ba842
Moved PasswordResetManager into Services\UserSystem namespace
2022-11-14 20:04:07 +01:00
Jan Böhmer
1e106a3da1
Moved TwoFactor services into Services\UserSystem namespace
2022-11-14 20:02:58 +01:00
Jan Böhmer
5a1d4251f4
Regrouped permissions
...
Datastructures and the part permission are now together in the "data" permission group.
2022-11-14 19:59:18 +01:00
Jan Böhmer
cd60a81576
Improved translations
2022-11-14 19:54:21 +01:00
Jan Böhmer
1de88e0494
Added various useful presets for permissions
2022-11-14 00:02:37 +01:00
Jan Böhmer
5829d42968
Fixed voters.
2022-11-13 21:01:40 +01:00
Jan Böhmer
ae4cb23b18
Removed timetravel permission
...
Now it is sufficient enough to have the show_history permission
2022-11-13 21:01:28 +01:00
Jan Böhmer
70120bdaa9
Make allow checkbox for permissions green
2022-11-13 18:44:51 +01:00
Jan Böhmer
e2875adc22
Fixed permission state explanation checkboxes rendering
2022-11-13 18:21:22 +01:00
Jan Böhmer
63a1855eb6
If a user can view parts, he is also allowed to view any subsequent datastructures.
...
Otherwise it is really difficult to implement permission correct part viewing.
2022-11-13 18:18:08 +01:00
Jan Böhmer
ffceb5abc5
Updated dependencies.
2022-11-09 23:40:42 +01:00
Jan Böhmer
41450b8bd3
Fixed access to typeahead controllers.
2022-11-09 23:33:50 +01:00
Jan Böhmer
5e06557cf0
Removed field permissions from Part edit page
2022-11-06 21:29:03 +01:00
Jan Böhmer
fc1af24ef9
Do not show Zend Extensions twice in server infos page
2022-11-06 14:45:24 +01:00
Jan Böhmer
c5df176cde
Added icons on server info page
2022-11-06 14:44:44 +01:00
Jan Böhmer
8a3d765157
Hide search field in navbar if user does not have the permission to view parts.
2022-11-06 01:11:08 +01:00
Jan Böhmer
06ae136bae
Hide "Show all entry" in tools sidebar if user does not have permissions to view parts.
2022-11-06 01:09:41 +01:00
Jan Böhmer
34fbcec00f
Added an page to view infos about the server (Part-DB, PHP and DB config
2022-11-06 01:07:10 +01:00
Jan Böhmer
78d1dff40f
Improved permission checking for certain controllers.
2022-11-05 23:49:53 +01:00
Jan Böhmer
a30b67e328
Allow to change all permissions at once via the console command.
2022-11-05 23:20:26 +01:00
Jan Böhmer
3fbc72600f
Allow to edit user permissions via console command
2022-11-05 23:07:28 +01:00
Jan Böhmer
563ad21125
Added console command to view permissions of a user
2022-11-05 22:30:46 +01:00
Jan Böhmer
2f9e9c5279
Made the access to an attachment depending on the access rights of the associated elemenst
2022-11-02 23:27:44 +01:00
Jan Böhmer
676235a2d3
Fixed some exception about non existing part_attachments permission
2022-11-02 23:20:30 +01:00
Jan Böhmer
3e85fc4d42
Improved access control for part lists.
2022-10-31 23:10:21 +01:00
Jan Böhmer
d0f7949bc9
Hide trees in sidebar, if user does not have permission to show them (and protect the JSON endpoints)
2022-10-31 22:47:45 +01:00
Jan Böhmer
10a035fcea
Reset the permissions of the admin user.
2022-10-31 21:54:46 +01:00
Jan Böhmer
f8aee65d9e
Simplified the available permissions
2022-10-31 21:13:27 +01:00
Jan Böhmer
59ddf91527
Make PermissionData an embeddable so doctrine can properly track changes to the data array
2022-10-31 21:12:01 +01:00
Jan Böhmer
687ee80255
Save permissions as JSON in user/group entities.
2022-10-30 21:51:24 +01:00
Jan Böhmer
33f8d2ba9e
Merge branch 'master' into permission_rework
2022-10-30 17:35:57 +01:00
Jan Böhmer
1013d2620d
Updated dependencies.
2022-10-30 17:34:17 +01:00
Jan Böhmer
634d635c57
Updated symfony/security bundle recipe.
2022-10-22 22:13:20 +02:00
Jan Böhmer
e718e3c043
Updated doctrine-migrations recipe
2022-10-22 22:11:25 +02:00
Jan Böhmer
3c657ca959
Updated doctrine-bundle recipe
2022-10-22 22:07:57 +02:00
Jan Böhmer
6f7111f572
Updated webpack-encore recipe
2022-10-22 22:06:27 +02:00
Jan Böhmer
330f6b53ce
Updated webpack encore
2022-10-22 22:03:27 +02:00
Jan Böhmer
8953f018b5
Update yarn depedencies.
...
This fixes the issue that search requests did not cause the url in navbar to update.
2022-10-22 21:57:30 +02:00
Jan Böhmer
86a51fc7b9
Do not use doctrine/dbal 3.5 (yet), as it has a bug with mariadb
...
It will always show the "sync-metadata-storage" issue.
2022-10-22 21:51:02 +02:00
Jan Böhmer
422b8d3f5d
Updated composer dependencies.
2022-10-22 21:38:24 +02:00
Jan Böhmer
12f7cd9a8c
Removed unnecessary git repo reference
2022-10-22 21:35:06 +02:00
Jan Böhmer
6051c86521
Fixed exception while login
2022-10-09 22:09:43 +02:00
Jan Böhmer
afaa918ce6
Check permissions to view parts on the parts list pagees
2022-10-09 22:01:44 +02:00
Jan Böhmer
0b83d0a0b0
Allow to unset the group of a user
...
Fetch EAGER seems to be buggy here, so fetch the group lazily
2022-10-09 21:50:56 +02:00
Jan Böhmer
e83f14f1ee
Fixed exception when accessing user admin pagee
2022-10-09 21:14:00 +02:00
Jan Böhmer
34573bb5e6
Fixed exception when accessing the group admin page
2022-10-09 21:07:51 +02:00
Jan Böhmer
34d0381e83
Updated composer dependencies
2022-10-09 20:54:48 +02:00
Jan Böhmer
04d89b38b2
Allow null value during decoding of datetimes when time traveling
...
This should fix some exceptions occuring when viewing historic states of a part.
2022-10-09 20:52:52 +02:00
Jan Böhmer
9adebc35c5
Moved attachment_icon logic to attachment.macro.html.twig
2022-10-09 20:49:24 +02:00
Jan Böhmer
a01ed3acf6
Moved quick link logic into an macro
2022-10-09 20:39:51 +02:00
Jan Böhmer
74a563a75a
Removed not needed template file
2022-10-09 20:32:34 +02:00
Jan Böhmer
38ff9bae4a
Use common settings for all element history tables
2022-10-09 20:27:31 +02:00
Jan Böhmer
f50959837f
Fixed issue that change of language via language selector did not changed the navbar and sidebar
2022-10-09 20:11:48 +02:00
Jan Böhmer
055752a24d
Update the navbar on logout
2022-10-09 19:47:03 +02:00
Jan Böhmer
ed87f81a69
Try to fix template loading issue on linux
2022-10-05 23:24:42 +02:00
Jan Böhmer
f2a621e066
Fixed error page styling
2022-10-05 23:01:19 +02:00
Jan Böhmer
ff84fb8219
Improved error pages
2022-10-05 22:55:05 +02:00
Jan Böhmer
4c97c7bec2
New translations messages.en.xlf (English)
2022-10-05 22:50:43 +02:00
Jan Böhmer
6031ac699f
New translations messages.en.xlf (Russian)
2022-10-05 22:50:42 +02:00
Jan Böhmer
f6e1d480fd
New translations messages.en.xlf (Japanese)
2022-10-05 22:50:40 +02:00
Jan Böhmer
68acc6d69e
New translations messages.en.xlf (French)
2022-10-05 22:50:37 +02:00
Jan Böhmer
7be34115d3
New translations messages.en.xlf (German)
2022-10-05 22:50:36 +02:00
Jan Böhmer
fefe36851e
Removed not needed u2f-api package and upgraded yarn packages
2022-10-05 22:45:11 +02:00
Jan Böhmer
acd3ed1fc6
Updated composer dependencies
2022-10-05 22:42:38 +02:00
Jan Böhmer
27bf7c3be9
Merge branch 'webauthn_tfa'
2022-10-05 22:41:39 +02:00
Jan Böhmer
8fe01cf240
Prefer webauthn tfa over google auth if enabled.
2022-10-05 22:32:01 +02:00
Jan Böhmer
485ca2c388
Fixed unit tests
2022-10-05 22:30:05 +02:00
Jan Böhmer
8d9e229737
Improved translations
2022-10-05 22:28:31 +02:00
Jan Böhmer
5773073e8d
Fixed unit tests
2022-10-05 22:21:34 +02:00
Jan Böhmer
720903c46a
Added webauthn key migrations for sqlite
2022-10-05 22:11:28 +02:00
Jan Böhmer
c1cb045960
Fixed static analyis issues
2022-10-05 21:59:42 +02:00
Jan Böhmer
9e837b6c80
Use jbtronics/2fa-webauthn package from packagegist
2022-10-04 00:35:05 +02:00
Jan Böhmer
9c688e22dc
Allow to delete Webauthn Keys
2022-10-04 00:16:10 +02:00
Jan Böhmer
ac978abe1d
Allow to register Webauthn Keys
2022-10-04 00:08:58 +02:00
Jan Böhmer
068daeda75
Use jbtronics/2fa-webauthn for u2f two factor authentication
2022-10-03 23:09:50 +02:00
Jan Böhmer
a8766a85b0
Fixed migration error on MySQL 8
...
Upwards from MySQL 8.0.2 groups is an reserved keyword and the table names need to be escaped.
2022-09-26 15:04:35 +02:00
Jan Böhmer
03aaff3c79
Fixed migration error, when we did not migrated from an legacy Part-DB version
2022-09-25 21:22:37 +02:00
Jan Böhmer
8dcfbe3c91
Added currency table to row_format migration which were missing before.
2022-09-25 19:48:24 +02:00
Jan Böhmer
cebf244e0a
Normalize table character sets as old Part-DB version produced different encoding
2022-09-25 19:35:33 +02:00
Jan Böhmer
79877c787e
Change row format of tables before creating indices
...
This is nee
2022-09-25 19:29:03 +02:00
Jan Böhmer
40f0d00e37
Add database indices to improve peformance (part 3)
2022-09-25 18:51:18 +02:00
Jan Böhmer
ccc99eba0c
Add database indices to improve performance (SQLITE)
2022-09-25 18:48:16 +02:00
Jan Böhmer
ed91ffc60a
Add database indices to improve performance
2022-09-25 18:33:13 +02:00
Jan Böhmer
9d069149d7
Suppress PHPstorm errors in app.css
2022-09-25 16:46:23 +02:00
Jan Böhmer
6d1d2cd731
Use Turbo.visit for tree clicks
...
This now seems to work properly and respecting frames
2022-09-25 16:44:41 +02:00
Jan Böhmer
cd1602fbc4
Updated dependencies.
2022-09-25 15:51:16 +02:00
Jan Böhmer
c5d7f0a5b1
Do not use distinct on table queries.
...
This should speed up table loading a lot.
2022-09-25 14:43:15 +02:00
Jan Böhmer
9179ea4559
Do not overlap label placeholders in preview.
2022-09-25 03:07:59 +02:00
Jan Böhmer
25475b5571
Labels now do not break page if the content gets too long.
...
This fixes issue #65 .
2022-09-25 02:57:32 +02:00
Jan Böhmer
86c580f835
Fixed static analysis issue
2022-09-25 02:14:28 +02:00
Jan Böhmer
4c25e85a48
Automatically update the sidebar trees for all users if the trees are changed somehow.
2022-09-25 02:08:54 +02:00
Jan Böhmer
2bd41eee60
Fixed an exception related during undeletion of elements.
2022-09-25 01:14:07 +02:00
Jan Böhmer
9996e2280a
Fixed of striped header in time travel
2022-09-25 01:01:34 +02:00
Jan Böhmer
6a6ff152ab
Fixed two factor authentication exception
2022-09-25 00:54:31 +02:00
Jan Böhmer
767bf763b8
Allow any HTML in Label generator (which makes it possible to fully customize the labels)
2022-09-25 00:47:53 +02:00
Jan Böhmer
d58159f181
Show raw CKEDITOR barcode placeholder as tooltip in chooser plugin
2022-09-25 00:37:44 +02:00
Jan Böhmer
3d61e04e5b
Added placeholders to insert Barcodes into labels without using the predefined templates.
2022-09-25 00:34:44 +02:00
Jan Böhmer
ab8be58c0d
Improved styling of the label dialog editor, so that the appearance is closer to the Label result
2022-09-21 21:49:09 +02:00
Jan Böhmer
9c87202509
Allow more font sizes for editor on Label generator page
2022-09-21 16:16:59 +02:00
Jan Böhmer
125ace00db
Improved styling of the datatables checkbox.
2022-09-21 15:36:33 +02:00
Jan Böhmer
f0956da0ea
Hide path badge on seletpicker items.
2022-09-21 15:33:07 +02:00
Jan Böhmer
18ab46b730
Merge remote-tracking branch 'origin/l10n_master'
2022-09-21 15:23:52 +02:00
Jan Böhmer
d54c765919
New translations messages.en.xlf (English)
2022-09-21 15:17:34 +02:00
Jan Böhmer
ab2d1202dc
New translations messages.en.xlf (German)
2022-09-21 15:17:30 +02:00
Jan Böhmer
4b32c467f7
New translations messages.en.xlf (English)
2022-09-21 14:09:43 +02:00
Jan Böhmer
041c01b092
New translations messages.en.xlf (German)
2022-09-21 14:09:38 +02:00
Jan Böhmer
5203cd1286
Fixed translation
2022-09-21 14:07:58 +02:00
Jan Böhmer
6274d10ead
Fixed Entity export function on AdminPages
2022-09-21 14:01:26 +02:00
Jan Böhmer
ac5350f9e3
Updated yarn dependencies.
2022-09-21 13:40:40 +02:00
Jan Böhmer
02ec840c9e
Fixed styling of export page on EntityAdmin
2022-09-21 13:32:03 +02:00
Jan Böhmer
32638777d9
Show the number of parts with this element and all its child elements in Admin pages
2022-09-21 13:20:57 +02:00
Jan Böhmer
a9642b27a6
Show error message if a sub element contains parts while recursive deletion of StructuralDBElement
2022-09-21 13:05:52 +02:00
Jan Böhmer
26cc4b4836
Fixed exception
2022-09-21 12:47:12 +02:00
Jan Böhmer
c2c768b151
Fixed some exceptions introduced earlier.
2022-09-21 12:31:32 +02:00
Jan Böhmer
d09fb3269d
Merge branch 'master' into permission_rework
2022-09-18 23:45:22 +02:00
Jan Böhmer
58ada496e4
Fixed static analysis issues.
2022-09-18 23:44:44 +02:00
Jan Böhmer
8bc2c994d2
Removed ElementPermissionListener and ColumnSecurity annotationn
2022-09-18 23:38:01 +02:00
Jan Böhmer
51e05a8669
Use typed properties
2022-09-18 22:59:31 +02:00
Jan Böhmer
548ec2ea50
Bumped dependencies
2022-09-18 18:27:36 +02:00
Jan Böhmer
751eff3ef5
Require PHP 7.4 as minimum version. Drop 7.3 support
2022-09-18 18:19:47 +02:00
Jan Böhmer
efa4325836
Fixed failing test
2022-09-18 18:11:18 +02:00
Jan Böhmer
afa2724261
Fixed failing test
2022-09-18 18:03:06 +02:00
Jan Böhmer
a9e527ce2a
Refactored TwigExtensions Part 2
2022-09-18 17:50:25 +02:00
Jan Böhmer
b078389381
Refactored TwigExtensions Part 1
2022-09-18 16:45:12 +02:00
Jan Böhmer
6d0233bf60
New translations messages.en.xlf (Russian)
2022-09-17 19:47:09 +02:00
Jan Böhmer
590b131822
New translations messages.en.xlf (Japanese)
2022-09-17 19:47:07 +02:00
Jan Böhmer
3f0386fb45
New translations messages.en.xlf (French)
2022-09-17 19:47:06 +02:00
Jan Böhmer
8f027b32a6
New translations messages.en.xlf (German)
2022-09-17 19:47:05 +02:00
Jan Böhmer
800c46b968
New translations messages.en.xlf (English)
2022-09-17 18:47:09 +02:00
Jan Böhmer
7f9b213933
New translations messages.en.xlf (Russian)
2022-09-17 18:47:08 +02:00
Jan Böhmer
92a5fda475
New translations messages.en.xlf (Japanese)
2022-09-17 18:47:07 +02:00
Jan Böhmer
bbf16581ad
New translations messages.en.xlf (French)
2022-09-17 18:47:05 +02:00
Jan Böhmer
fb244d6dd6
New translations messages.en.xlf (German)
2022-09-17 18:47:03 +02:00
Jan Böhmer
8e6300079a
Fixed some migration issues, when migrating from old Part-DB versions
...
Fixes issue #170 , #67
2022-09-17 18:43:08 +02:00
Jan Böhmer
fb187c1114
Use the correct %PARTNUMBER% placeholder in hints instead of %PARTNR%
...
Fixes issue #130 and #84
2022-09-17 18:06:16 +02:00
Jan Böhmer
8338c0f2d6
Fix exception with AmountFormatter if Si prefix were enabled and no unit symbol were set.
...
Also this case is now prevented by Validator (as it is not very useful). Fixes issue #171 .
2022-09-17 17:58:01 +02:00
Jan Böhmer
430c9fed67
Merge branch 'l10n_master'
2022-09-17 17:43:10 +02:00
Jan Böhmer
4343dbc5d1
Updated composer dependencies.
2022-09-17 17:30:15 +02:00
Jan Böhmer
b6954f1845
New translations messages.en.xlf (English)
2022-09-14 15:33:37 +02:00
Jan Böhmer
f536171068
New translations messages.en.xlf (German)
2022-09-14 15:33:36 +02:00
Jan Böhmer
d95672c1af
New translations messages.en.xlf (English)
2022-09-14 14:26:32 +02:00
Jan Böhmer
2f49431287
New translations messages.en.xlf (German)
2022-09-14 14:26:31 +02:00
Jan Böhmer
eebe4f65c6
Upgraded yarn dependencies.
2022-09-11 23:59:36 +02:00
Jan Böhmer
8d9145a002
Merge branch 'filter_system'
2022-09-11 23:53:29 +02:00
Jan Böhmer
467687fd0f
Make filters work on default MySQL servers to by removing the ONLY_FULL_GROUP_BY sql mode
2022-09-11 23:41:31 +02:00
Jan Böhmer
ffa804404c
Set compund filter accessible for reflection to fix errors on PHP < 8.1
2022-09-11 19:18:20 +02:00
Jan Böhmer
0d0a04c36f
Fixed static analysis issues.
2022-09-11 19:14:16 +02:00
Jan Böhmer
aa719ab79a
Allow filter option of LogDataTable to be null (which is the default)
...
This should fix the failing PHPunit action
2022-09-11 19:04:05 +02:00
Jan Böhmer
a541105e12
Updated security-checker-action. This should fix the failing static analyis
2022-09-11 19:02:19 +02:00
Jan Böhmer
d18ee704b8
Allow to filter logs by user who caused them
2022-09-11 18:57:48 +02:00
Jan Böhmer
c7f5c23374
Implement a filter for Log Table (part 1)
2022-09-11 18:45:31 +02:00
Jan Böhmer
017b0f717e
Added filter possibility to attachment list
2022-09-11 02:00:22 +02:00
Jan Böhmer
bee057bc4b
Forbid hiding of the columns with no label on datatables, as these are difficult to unhide again
2022-09-11 00:46:12 +02:00
Jan Böhmer
4b9a40664b
Added an accordion item with the header info to tags and "all parts" list
2022-09-11 00:44:13 +02:00
Jan Böhmer
f6b8e0e227
Use checkboxes for selections instead of the current full row selection.
2022-09-10 01:26:09 +02:00
Jan Böhmer
1915acf069
Improved formatting of the mass Part Lists column
2022-09-10 00:37:47 +02:00
Jan Böhmer
b3956c7c4d
Added an accordion item to search results list, which shows the used search results
2022-09-10 00:30:24 +02:00
Jan Böhmer
e96db21ceb
Added possibility to apply filters to search results.
2022-09-10 00:08:59 +02:00
Jan Böhmer
c3f144447f
Implement searching logic using the new filter system and improved searching logic
...
This should also fix issue #169 as ordernr is now really searched. Also support for searching in MPN was added.
2022-09-09 23:33:49 +02:00
Jan Böhmer
c854f8049d
Use PrettyBoolColumn for AttachmentDataTable
2022-09-09 00:46:12 +02:00
Jan Böhmer
74c5a8e8b1
Allow to set the state_save_tag for non-part datatables.
2022-09-09 00:43:45 +02:00
Jan Böhmer
82a6ab1d4a
Persist column visibility and ordering across requests and different parts tables.
2022-09-09 00:41:35 +02:00
Jan Böhmer
4020aab049
Improved bool columns for Part Tables
2022-09-09 00:10:29 +02:00
Jan Böhmer
0fc0136914
Use filter systems for most part lists.
2022-09-08 23:49:57 +02:00
Jan Böhmer
b52c61bfa3
Put the filter menu into the accordion on part list
2022-09-08 22:46:40 +02:00
Jan Böhmer
b464607793
Fixed image carousel on part info page and added indicators.
2022-09-08 22:11:00 +02:00
Jan Böhmer
3b48fc813f
Improved styling of image attached to an structural element.
2022-09-08 00:38:42 +02:00
Jan Böhmer
b0d29eaeaf
Dont change the original collection when calling getOrderdetails with $hide_obsolete = true
...
This caused the orderdetails tab to be hidden on part info, when the orderdetail was obsolete
2022-09-08 00:35:39 +02:00
Jan Böhmer
28c09eb51d
Added some more filter possibilities.
2022-09-08 00:31:18 +02:00
Jan Böhmer
96cd746f60
Improved filter translations
2022-09-08 00:09:25 +02:00
Jan Böhmer
dd400ae70c
Allow to filter parameters by their (numeric) value
2022-09-08 00:04:53 +02:00
Jan Böhmer
b56a970d5b
Updated frontend dependencies.
2022-09-07 21:59:05 +02:00
Jan Böhmer
05e2530924
Update latex preview during parameter autocomplete
2022-09-07 21:57:30 +02:00
Jan Böhmer
5adeddfb0d
Updated composer dependencies.
2022-09-07 21:52:13 +02:00
Jan Böhmer
176d347c82
Readd TagFinder service which was deleted accidentially.
2022-09-07 21:47:03 +02:00
Jan Böhmer
bc0365fe16
Allow to filter parameters based on their text value
2022-09-07 21:43:01 +02:00
Jan Böhmer
c70acb3f29
New translations messages.en.xlf (German)
2022-09-07 20:49:17 +02:00
Jan Böhmer
9ed953d1b2
Implemented the basics for a parametric search
2022-09-06 00:25:02 +02:00
Jan Böhmer
4d78f8d4e8
Use the correct autocomplete type for non-part entities.
2022-09-05 17:38:47 +02:00
Jan Böhmer
34053f6591
Added a preview for latex rendered unit and symbol to parameters
2022-09-05 17:20:36 +02:00
Jan Böhmer
9a7e47863b
Added autocomplete for part parameters
2022-09-05 17:02:57 +02:00
Jan Böhmer
44b288b807
Show type icon in the breadcrumb of part lists.
2022-09-04 23:02:31 +02:00
Jan Böhmer
87913ba3b5
Make URLs created by filter form a lot shorter
2022-09-04 16:09:56 +02:00
Jan Böhmer
8f94a58c71
Allow to order and filter by the amount sum of parts.
2022-09-04 03:37:54 +02:00
Jan Böhmer
ec5e956e31
Added filter constraint for manufacturing status.
2022-09-04 00:45:10 +02:00
Jan Böhmer
7b3538a2c7
Added filters for attachment types and attachment names of parts.
2022-09-01 00:34:41 +02:00
Jan Böhmer
22eb6601e8
Added some more constraints for part lots.
2022-08-29 01:28:16 +02:00
Jan Böhmer
5402d3b031
Added constraints to filter for the number of orderdetails and attachments
2022-08-29 01:12:36 +02:00
Jan Böhmer
768618cede
Fixed reveal error on tab for new BS5 tab data-attribute.
2022-08-29 01:05:53 +02:00
Jan Böhmer
b8c77ca855
Allow to filter by the number of part lots.
2022-08-28 19:39:16 +02:00
Jan Böhmer
99b25fb293
Disable content security policy in development env, as symfony profiler uses a lot of inline js
2022-08-28 18:40:16 +02:00
Jan Böhmer
4ba58cc621
Added an filter constraint based on part tags.
2022-08-21 23:01:10 +02:00
Jan Böhmer
4d3ff7d7b5
Fixed badge styling in datatables
2022-08-21 20:39:18 +02:00
Jan Böhmer
37a5c52907
Use filter system for category parts list.
2022-08-21 03:14:22 +02:00
Jan Böhmer
7c14ebaa28
Fixed handling of empty values with TextConstraint
2022-08-21 02:41:04 +02:00
Jan Böhmer
ff5b59e25d
Added more filters
2022-08-21 02:26:05 +02:00
Jan Böhmer
c9151c65ba
Implemented a filter constraint for entities
2022-08-21 01:34:17 +02:00
Jan Böhmer
0bc9d8cba1
Implement Regex on SQLite platform using a callback to PHP.
2022-08-20 02:43:15 +02:00
Jan Böhmer
3dde40b91d
Show error box if an error occurs during loading of a datatable.
2022-08-20 01:46:49 +02:00
Jan Böhmer
271f070141
Removed leftover debugger statement
2022-08-20 01:30:52 +02:00
Jan Böhmer
b1e6a583b8
Group filter constraints in tabs
2022-08-20 01:26:21 +02:00
Jan Böhmer
fc1bf5d037
Improved translations for filter operators.
2022-08-20 01:04:53 +02:00
Jan Böhmer
b11ef1d60d
Hide the second value of constraints based on which operator is selected.
2022-08-20 00:39:09 +02:00
Jan Böhmer
d3a42cd989
Added filters for creationDate and lastModified state
2022-08-20 00:10:41 +02:00
Jan Böhmer
798eb4c1bc
Automatically apply all filters of a compound filter using reflection.
2022-08-18 00:17:07 +02:00
Jan Böhmer
f8562f9622
Added an basic TextConstraint for part filtering.
2022-08-18 00:00:54 +02:00
Jan Böhmer
f6239dfd50
Improved NumberConstraintType a bit.
2022-08-15 01:32:09 +02:00
Jan Böhmer
f9d945c4c7
Added the very basic foundations for a filter system
2022-08-15 01:01:27 +02:00
Jan Böhmer
ef389dcc15
Use own-written TriState checkbox library, which makes form submissions a lot easier.
2022-08-15 00:55:26 +02:00
Jan Böhmer
8e6bc25d2e
Fixed some inspection issues.
2022-08-14 19:39:07 +02:00
Jan Böhmer
639829f5c5
Fixed some inspection issues.
2022-08-14 19:32:53 +02:00
Jan Böhmer
eef26f7ae6
Use PUBLIC_ACCESS role instead of IS_AUTHENTICATED_ANONYMOUSLY role
2022-08-14 19:11:42 +02:00
Jan Böhmer
5fd608f42a
Fixed some deprecations.
2022-08-14 19:09:07 +02:00
Jan Böhmer
4fa8eef1bf
Buttons to disable two-factor authentication now work again (and show proper warning confirmation)
2022-08-14 17:28:36 +02:00
Jan Böhmer
93d817db81
Use the new authenticator system introduced in symfony 5.1
2022-08-14 17:09:57 +02:00
Jan Böhmer
1dfd66fe7b
Merge branch '2fa_migration'
2022-08-14 15:47:30 +02:00
Jan Böhmer
754926d4c8
Reenable r/u2f-two-factor-bundle
2022-08-14 00:36:00 +02:00
Jan Böhmer
600119276c
Use the newer scheb/2fa bundle instead of scheb/two_factor_bundle
...
Currently the U2F auth is broken, as there is no plugin supporting it in the new system
2022-08-13 23:33:05 +02:00
Jan Böhmer
8e58ad3441
Reenabled config.useBuiltIns = 'usage'; option for webpack
2022-08-13 23:12:14 +02:00
Jan Böhmer
e6408a4dff
Pass the full request URI (including GET params) to the datatables controller
...
Search options are passed as GET params and were therefore ignored before. This fixes issue #165 .
2022-08-13 23:07:05 +02:00
Jan Böhmer
0a4fdb6665
Do not treat commas as delimiter in attachment URLs
...
Fixes issue #166 .
2022-08-13 22:50:55 +02:00
Jan Böhmer
ca5823819d
Use html5-qrcode instead of @zxing/library directly for label scanner.
...
This improves the usability a bit
2022-08-13 22:41:54 +02:00
Jan Böhmer
f98487a03b
Show the scanner camera feed non-inverted when using darkmode.
2022-08-13 21:23:40 +02:00
Jan Böhmer
3eb6268a38
Updated composer dependencies.
2022-08-13 02:49:23 +02:00
Jan Böhmer
d9c7c9bb41
Updated ckeditor dependencies.
2022-08-13 02:43:05 +02:00
Jan Böhmer
730e18748c
Show icons in tools menu
2022-08-13 02:40:43 +02:00
Jan Böhmer
18f41e14e6
Show icons in the root node in sidebar treeviews.
2022-08-13 02:18:32 +02:00
Jan Böhmer
90da7d71b9
Use the entity names as root name text instead of the generic "root node"
2022-08-13 01:53:43 +02:00
Jan Böhmer
796dea33f2
Added an parameter to enable/disable the root node in the sidebar
...
Fixes issue #158
2022-08-13 01:46:53 +02:00
Jan Böhmer
e8e1da9c61
Remove not needed node_modules/ folder during docker build
...
This should make the docker image a bit smaller (approx. 70 MB)
2022-08-13 01:40:00 +02:00
Jan Böhmer
e5183ba1b2
Merge branch 'bootstrap-treeview-typescript'
2022-08-13 01:24:19 +02:00
Jan Böhmer
c5a6bbc749
Open treeview links in a new tab with a right click on a node.
2022-08-13 01:24:02 +02:00
Jan Böhmer
145aca485c
Treeview OnSelect link calling now respects turbo-frames again
2022-08-13 01:15:54 +02:00
Jan Böhmer
f21cd55b2e
Show badges with the number of child nodes in the admin page treeviews again.
2022-08-13 01:05:32 +02:00
Jan Böhmer
365b85ac4c
Removed patternfly-bootstrap-treeview reference from sidebar_tree_controller
2022-08-13 00:29:39 +02:00
Jan Böhmer
007df80b1c
Use @jbtronics/bs-treeview instead of patternfy-bootstrap-treeview
2022-08-13 00:28:03 +02:00
Jan Böhmer
461de131c6
Migrated tree logic to new @jbtronics/bs-treeview package-
2022-08-07 01:55:44 +02:00
Jan Böhmer
c5b6068911
Moved bs-tree to its own repo
2022-08-07 01:54:34 +02:00
Jan Böhmer
c13245fc2d
BSTreeView now rudimentaly works.
2022-08-06 04:04:06 +02:00
Jan Böhmer
a8ff18a340
Added an basic implementation of bootstrap-treeview in typescript
2022-08-06 03:40:24 +02:00
Jan Böhmer
e7fa1ebcb8
Added an parameter to decide, if the root tree node should be expanded or not
...
Related to issue #158 , but it does not work due to a very buggy treeview...
2022-08-05 00:24:28 +02:00
Jan Böhmer
cb16819340
Allow to configure which tree panels are shown in the sidebar
...
Adresses issue #158
2022-08-04 23:13:43 +02:00
Jan Böhmer
2486bc5d7b
Added an check-requirements console command
2022-08-04 22:44:14 +02:00
Jan Böhmer
21ca1ffead
Moved all console comands to the partdb: namespace
2022-08-04 21:49:16 +02:00
Jan Böhmer
92e477775a
Use relative path in templates instead of full pathes
...
This fixes problems with HTTP/HTTPS mixing
2022-08-04 21:00:42 +02:00
Jan Böhmer
4c4b610daa
Merge branch 'turbo'
2022-08-04 00:18:29 +02:00
Jan Böhmer
b51aa0951e
Fixed error, when creation of new elements is disabled in collectionTypes.
...
This for example happens if the user does not have the permission to create new elements.
2022-08-04 00:06:22 +02:00
Jan Böhmer
7dfbb4c536
Fixed mobile view for bootstrap5
2022-08-03 23:46:44 +02:00
Jan Böhmer
aa00558969
Removed unnecessary data-tags from ReelCalculator
2022-08-03 23:39:59 +02:00
Jan Böhmer
0c785d1a37
Implemented attachment autocomplete for internal ressources using tom-select
2022-08-03 23:36:45 +02:00
Jan Böhmer
b731b2529c
Removed bootstrap-fileinput, as we do not use it anymore
2022-08-03 22:56:02 +02:00
Jan Böhmer
750bdc45d1
Removed old frontend code
2022-08-03 22:54:46 +02:00
Jan Böhmer
efb38173e6
Updated composer dependencies.
2022-08-03 22:50:27 +02:00
Jan Böhmer
dd640e9aa8
Removed unnessecarry typeahead dependency.
2022-08-03 22:49:30 +02:00
Jan Böhmer
9adcf20222
Removed left over dump statement.
2022-08-03 22:47:09 +02:00
Jan Böhmer
f1601cac7f
Allow tags to contain any character and only show exact matching parts.
2022-08-03 22:45:02 +02:00
Jan Böhmer
78e3d36a5c
Use tom-select as tagsinput input
2022-08-03 22:44:38 +02:00
Jan Böhmer
591f51432d
Turbo shall not cache the pages. This fixes back/forward movements in history
2022-08-03 21:43:58 +02:00
Jan Böhmer
529cf1dff1
Implemented a Content-Security-Policy which disallows external and inline scripts
2022-08-03 21:40:42 +02:00
Jan Böhmer
89d64b7565
Fixed hoverpic element if no title element is present
2022-08-03 21:40:07 +02:00
Jan Böhmer
3ee8b26ddf
Removed the last inline scripts.
2022-08-03 21:31:35 +02:00
Jan Böhmer
1c7c3bf2c5
Migrated SMD reel calculator tool logic to stimulus.
2022-08-03 20:56:00 +02:00
Jan Böhmer
cfd9713e5d
Removed now not necessary datatables file, as we now do this in stimulus.
2022-08-03 20:29:59 +02:00
Jan Böhmer
8323f374a4
Implement attachment CollectionType using stimulus
2022-08-03 20:28:27 +02:00
Jan Böhmer
bf3dba0fb2
Removed unnecessary scripts for orderdetails
2022-08-03 19:26:16 +02:00
Jan Böhmer
219503e16f
Reveal symfony validation errors in tabs after form submit
2022-08-02 01:11:17 +02:00
Jan Böhmer
bda546bc0f
Removed left over dump tag
2022-08-02 01:02:53 +02:00
Jan Böhmer
cd249307a4
Fixed typo that prevent TabRememberHelper to work
2022-08-02 00:25:45 +02:00
Jan Böhmer
497def50cd
Jump to the tab where an browser validation error occurs
2022-08-02 00:23:55 +02:00
Jan Böhmer
4847fe2fa3
Use stimulus collection controller for parts orderdetails
2022-08-02 00:00:28 +02:00
Jan Böhmer
66b7b2e9bf
Use stimulus collection controller for partLots
2022-08-01 23:01:04 +02:00
Jan Böhmer
537b7fad7f
Use a stimulus controller to implement collectionType for specifications/parameters.
2022-08-01 22:28:09 +02:00
Jan Böhmer
f7ce94c168
Always show a gravatar even if a user does not have an email set.
2022-08-01 01:09:28 +02:00
Jan Böhmer
5238f2ccc2
Show attachment name in hoverpics again.
2022-08-01 01:03:55 +02:00
Jan Böhmer
b8500bcef6
Improve visibility of links by underlining them.
2022-08-01 00:54:41 +02:00
Jan Böhmer
5f8697626a
Improve visibility of links in selected datatables rows.
2022-08-01 00:51:50 +02:00
Jan Böhmer
4c574316c8
Show a confirmation message, if you delete parts via part table select.
2022-08-01 00:50:05 +02:00
Jan Böhmer
452f0a8362
Use stimulus for parts tables and select actions.
2022-08-01 00:31:49 +02:00
Jan Böhmer
565cb3a790
Implement sidebar collapse with stimulus.
2022-07-31 22:07:27 +02:00
Jan Böhmer
ab179a8b71
Fixed some issues when navigating back in history with Turbo.
2022-07-31 21:47:31 +02:00
Jan Böhmer
e26f6e5394
Mark sidebar and navbar as permanent between Turbo history navigations.
2022-07-31 21:29:00 +02:00
Jan Böhmer
5ec87f911b
Reorganized treeview code for AdminPage treeview.
2022-07-31 15:54:27 +02:00
Jan Böhmer
fc90259032
Use stimulus controller for sidebar treeviews.
2022-07-31 15:50:16 +02:00
Jan Böhmer
2d1aa829f6
Fixed an warning of CKEDITOR5.
2022-07-30 14:29:33 +02:00
Jan Böhmer
387fd77d2d
Target links inside admin content frame to outside content frame.
...
Otherwise we are unable to visit other pages.
2022-07-30 14:26:31 +02:00
Jan Böhmer
12e7ed9165
Use turbo-frames for treeview navigation in Admin Pages.
2022-07-30 14:23:27 +02:00
Jan Böhmer
8cf131a7d6
Implemented a treeview element using stimulus
2022-07-30 14:13:02 +02:00
Jan Böhmer
91af024081
Fixed collapse of manual 2FA setup in user settings.
2022-07-30 13:26:47 +02:00
Jan Böhmer
9139d49628
Fixed global reload mechanism.
2022-07-30 13:25:29 +02:00
Jan Böhmer
39ae5b9c2f
Use BS5 default values for font-size and line height.
2022-07-30 01:02:28 +02:00
Jan Böhmer
778300d9cb
Fix visual issues with checkboxes.
2022-07-30 01:00:18 +02:00
Jan Böhmer
1330bab199
Fixed visual bug for dropdown in shopping informations tab of parts.
2022-07-30 00:54:44 +02:00
Jan Böhmer
1f890efc97
Implemented scroll to top using stimulus.
2022-07-30 00:47:51 +02:00
Jan Böhmer
8ccf5652ab
Implement darkmode using stimulus.
2022-07-30 00:33:22 +02:00
Jan Böhmer
671e0944a2
Implement hoverpic using stimulus.
2022-07-29 23:54:49 +02:00
Jan Böhmer
9519150fb9
Do not use jQuery for TabRemember Helper.
2022-07-29 23:26:30 +02:00
Jan Böhmer
47130846a2
Readd tab remember function to improve UX.
2022-07-29 22:52:58 +02:00
Jan Böhmer
9cc5208223
Use Stimulus for delete button handling.
2022-07-29 22:42:55 +02:00
Jan Böhmer
45db4314f7
Removed unnecessary files from old CK4 plugin.
2022-07-29 21:24:11 +02:00
Jan Böhmer
62c2d98abd
Allow to select different font styles and font sizes via CKEDITOR.
2022-07-29 21:22:10 +02:00
Jan Böhmer
08d8d1b51a
Wrap CKEDITOR5 toolbar if too long for a single line.
2022-07-29 21:07:54 +02:00
Jan Böhmer
c102d17b2b
Label placeholder plugin should now work.
2022-07-29 21:02:53 +02:00
Jan Böhmer
5918c55855
Added german translations for label plugin
2022-07-29 20:52:26 +02:00
Jan Böhmer
eba89cee62
Started to rewrite CKEDITOR placeholder plugin for CKEDITOR5.
2022-07-29 01:03:17 +02:00
Jan Böhmer
a33e93826a
Removed non-existing ckeditor script from composer autorun.
2022-07-26 23:17:21 +02:00
Jan Böhmer
4c57c7fe46
Fixed wrong comparisons operators in error_handler
2022-07-26 23:14:27 +02:00
Jan Böhmer
8c450599cb
Improved StructuralEntityType rendering on frontend.
2022-07-26 23:07:04 +02:00
Jan Böhmer
41b1d8b59e
Add Emojis to Special Characters input of CKEDITOR
2022-07-26 21:41:30 +02:00
Jan Böhmer
fdcfb95ac7
Remove FOS CKEditor bundle as we dont use it anymore
...
We now use our self-written elements with CKEDITOR5
2022-07-26 21:26:30 +02:00
Jan Böhmer
898803e3ce
Use CKEDITOR 5 for all comment fields.
2022-07-26 21:23:31 +02:00
Jan Böhmer
dde7e7347c
Fix case sensitivity issue which caused problems on github actions build
2022-07-26 11:52:00 +02:00
Jan Böhmer
6ba2fe5847
Use watchdog to load CKEDITOR5.
2022-07-26 11:50:27 +02:00
Jan Böhmer
b18284cfd7
Set the language of the CKEDITOR5 elements based on the page locale.
2022-07-26 01:43:30 +02:00
Jan Böhmer
63b7e0458c
Use CKEditor 5 for description editing.
2022-07-26 01:20:58 +02:00
Jan Böhmer
a4f07e9b82
Dont use sudo in Dockerfile
2022-07-25 22:44:41 +02:00
Jan Böhmer
2da20535b0
Use newer nodejs version in docker builds
...
Our dependencies needs newer nodejs
2022-07-25 22:23:09 +02:00
Jan Böhmer
e041012fa1
Do a "yarn build" in phpunit tests instead of "yarn watch"
2022-07-25 22:19:44 +02:00
Jan Böhmer
587acb70a7
Do a "yarn build" in phpunit tests instead of "yarn watch"
...
Yarn watch starts an server which never ends the process.
2022-07-25 22:18:55 +02:00
Jan Böhmer
de1f5b29d6
Run static analysis action on all branches and pull requests.
2022-07-25 22:16:49 +02:00
Jan Böhmer
dbdfe5ea95
Started to use CKEditor 5 as richt text editor.
2022-07-25 01:09:31 +02:00
Jan Böhmer
156301b8a4
Use bs-info color from bootstrap css variable for search highlighting in treeview.
2022-07-24 23:47:12 +02:00
Jan Böhmer
49d9635a79
Use precompiled selectpicker css.
2022-07-24 23:44:11 +02:00
Jan Böhmer
892baf6345
Expand treeview nodes without link when you click on it.
2022-07-24 23:39:04 +02:00
Jan Böhmer
af8d623f79
Improved collapsible panel on parts lists.
2022-07-24 23:08:15 +02:00
Jan Böhmer
d16c01ebe0
Migrated some smaller utilities to BS5.
2022-07-24 22:59:19 +02:00
Jan Böhmer
a07c43ea8a
Fixed breadcrumb styling in BS5
2022-07-24 22:48:21 +02:00
Jan Böhmer
270d622265
Migrated badges to BS5.
2022-07-24 22:39:32 +02:00
Jan Böhmer
6885aefbe7
Do not show error box if an validation error occurs.
2022-07-24 21:28:18 +02:00
Jan Böhmer
103969a283
Removed input-group-prepend / -append classes, as they are not needed anymore.
2022-07-24 21:26:01 +02:00
Jan Böhmer
9ed487c629
Fixed tristate inputs (used for permissions input)
2022-07-24 21:12:11 +02:00
Jan Böhmer
f06ad01eb2
Remove (now) useless selectpicker class from inputs.
2022-07-24 20:27:40 +02:00
Jan Böhmer
489f4b939a
Fixed bootstrap-selectpickers on bootstrap 5
2022-07-24 20:23:12 +02:00
Jan Böhmer
5d6f244e71
Fixed dropdown in error box.
2022-07-24 18:58:35 +02:00
Jan Böhmer
43b4c78553
Use bootstrap 5 checkboxes.
2022-07-24 18:44:05 +02:00
Jan Böhmer
017170e2d6
Use symfonys included bootstrap 5 forms styling
2022-07-24 18:31:06 +02:00
Jan Böhmer
29fb59c76e
Fixed styling of toasts.
2022-07-24 18:19:57 +02:00
Jan Böhmer
582f8e4c5f
Fix tabs and pills for bootstrap 5
2022-07-24 18:14:33 +02:00
Jan Böhmer
365c7c60e4
Started to upgrade from bootstrap 4 to 5.
2022-07-24 18:08:21 +02:00
Jan Böhmer
a40fed29e0
Upgraded fontawesome 5 to 6
2022-07-24 17:24:55 +02:00
Jan Böhmer
50e3a59189
Updated various yarn dependencies.
2022-07-24 17:15:56 +02:00
Jan Böhmer
bf1bede626
Updated marked and katex packages.
2022-07-24 17:11:30 +02:00
Jan Böhmer
7990cf56d1
Update the locale changer links every time turbo loads a new frame.
2022-07-24 17:03:57 +02:00
Jan Böhmer
1a9dfee0ed
Disable turbo on login/logout forms, so page is fully reloaded.
2022-07-24 16:03:07 +02:00
Jan Böhmer
0b31a3b095
Fixed issue that page title were reformatted unintended.
2022-07-24 15:25:06 +02:00
Jan Böhmer
fa5f5bce28
Change the document title according to the title of the main frame.
2022-07-24 15:19:05 +02:00
Jan Böhmer
ea6357c259
Use stimulus for global reloading
2022-07-24 14:41:28 +02:00
Jan Böhmer
390deca544
Toasts now work with turbo
2022-07-24 14:20:20 +02:00
Jan Böhmer
3df6e18a83
Updated symfony/webpack-encore recipe
2022-07-24 01:39:46 +02:00
Jan Böhmer
d85a89b99d
Updated yarn dependencies.
2022-07-24 01:30:57 +02:00
Jan Böhmer
79a1715290
Merge branch 'master' into turbo
2022-07-24 01:26:22 +02:00
Jan Böhmer
a8bd8942f3
Explicitly mark in composer.json that PHP 8 is allowed
2022-07-24 00:30:32 +02:00
Jan Böhmer
dd38749081
Fixed test which heavily depended on timing of the assertation functions
...
This caused a lot of false positive test failures.
2022-07-23 23:07:51 +02:00
Jan Böhmer
3470a5fa5d
Don't show an error message in app:show-log when no logs are created yet.
2022-07-23 22:49:54 +02:00
Jan Böhmer
b0d372d223
Fixed github tests action issue with sqlite.
2022-07-23 22:44:36 +02:00
Jan Böhmer
6f189e3bbc
Fixed github tests action issue with sqlite.
2022-07-23 22:43:56 +02:00
Jan Böhmer
50f1555dc0
Merge remote-tracking branch 'origin/master'
2022-07-23 22:43:44 +02:00
Jan Böhmer
ef4154d1d7
Fixed github tests action issue with sqlite.
2022-07-23 22:43:36 +02:00
Jan Böhmer
b92a2c8b64
Fixed github tests action issue with sqlite.
2022-07-23 22:39:53 +02:00
Jan Böhmer
e62b6a1198
Do PHPunit tests for both mysql and sqlite
2022-07-23 22:36:13 +02:00
Jan Böhmer
d9d7e09866
Fixed some deprecation notices.
2022-07-23 22:21:29 +02:00
Jan Böhmer
2fc44c91e6
Use newer assert* function for the one deprecated in PHPunit 9
2022-07-23 22:14:35 +02: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
6705a5db66
Use PHPunit 9 for unit tests, which can generate coverage at PHP8.
2022-07-23 22:09:02 +02:00
Jan Böhmer
5e366bec32
Show datetime in flash notices in white, if background is dark.
...
This highly increases readability of the datetime for most flashes.
2022-07-23 21:47:30 +02:00
Jan Böhmer
2ac45fd869
Disallow orderdetails without supplier info.
...
Fixes issue #116
2022-07-23 21:41:54 +02:00
Jan Böhmer
c9da8cc257
New translations messages.en.xlf (English)
2022-07-22 01:05:50 +02:00
Jan Böhmer
082cd16486
Disallow attachments without attachment types.
...
This should partly fixes issue #131 . TODO: Change database structure so attachment_type is not nullable.
2022-07-22 00:48:51 +02:00
Jan Böhmer
fc3f2e52c8
Readd deleted translations.
2022-07-22 00:32:41 +02:00
Jan Böhmer
c8c15fe67f
Allow http_method_override again needed for deletion controllers
...
Fixes issue #149 and #146
2022-07-22 00:30:17 +02:00
Jan Böhmer
28257bd8a4
Merge remote-tracking branch 'origin/master'
2022-07-22 00:18:08 +02:00
Jan Böhmer
1117954cde
Show a crowdin badge in README.md
2022-07-22 00:18:04 +02:00
Jan Böhmer
d747dd23a8
Merge pull request #152 from Part-DB/l10n_master
...
New Crowdin updates
Fixes issue #109
2022-07-22 00:12:56 +02:00
Jan Böhmer
05ecbf3dfd
Fixed syntax error in Dockerfile
2022-07-21 23:53:40 +02:00
Jan Böhmer
ca41df79ed
Just enable the locales we really need in symfony framework.
...
This should improve performance a little bit.
2022-07-21 23:47:00 +02:00
Jan Böhmer
95fcc15634
Use PHP opcache with optimized configuration in docker image.
2022-07-21 23:34:38 +02:00
Jan Böhmer
8d85d2e737
Do not override customized GD with default one in Dockerfile
2022-07-21 23:12:47 +02:00
Jan Böhmer
d3d92d6013
Configure dockers GD with support with multiple file formats.
...
Should fix issue #122 and #115
2022-07-21 22:53:59 +02:00
Jan Böhmer
8f2b145b21
Tag each docker image build with its latest branch name.
2022-07-21 01:32:43 +02:00
Jan Böhmer
49b0ef02d4
Use PHP8.1 as docker base image.
2022-07-21 00:59:34 +02:00
Jan Böhmer
b78a9dc982
Tag newest docker image built from master as "latest".
...
Fixes issue #122 .
2022-07-21 00:44:10 +02:00
Jan Böhmer
2ee42b7621
Fail gracefully when Imagine can not produce an thumbnail.
...
We now just fall back to the original image instead of throwing an exception. (partly) Fixes issue #89 . Maybe related to issue #136
2022-07-21 00:31:34 +02:00
Jan Böhmer
d57377a143
Only apply ClipboardJS to buttons with clipboard attribute.
...
This prevents the showing of a "Failed!" tooltip on all other buttons. Fixes issue #148 .
2022-07-21 00:12:04 +02:00
Jan Böhmer
8f288a9328
Fixed icon pathes in manifest files.
2022-07-20 23:46:40 +02:00
Jan Böhmer
13742a9809
Added an guide on how to install Part-DB on Debian systems directly.
...
Related to issue #95 .
2022-07-18 23:51:54 +02:00
Jan Böhmer
bb7c35b0b5
Updated copyright year on homepage.
2022-07-18 00:18:53 +02:00
Jan Böhmer
4bec593e46
Revert unwanted change to showdown.min.js done by last commit.
2022-07-18 00:15:50 +02:00
Jan Böhmer
7bf730dda2
Rename /icons folder in public as it is aliased by apache.
...
Before icons were not loaded in most cases when using apache2 with default configuration.
Fixes issue #120
2022-07-18 00:11:12 +02:00
Jan Böhmer
0cc9436cc0
Added information about database file mapping to docker installation and use this in example docker-compose.yaml
...
This fixes issue #134 and #127
2022-07-17 23:58:54 +02:00
Jan Böhmer
f309336387
Updated yarn dependencies.
2022-07-17 23:51:22 +02:00
Jan Böhmer
c079cc914e
Use platforms to decide which migrations to use, instead of drivers
...
Dev environment uses an delegated dev driver, which is not possible to compare. Should fix current phpunit test error.
2022-07-17 23:45:17 +02:00
Jan Böhmer
2de99bca30
Added some documentation on how to use reverse proxies.
...
Relates to issue #145 , #96 and others.
2022-07-17 22:59:38 +02:00
Jan Böhmer
9cc4226726
Allow users to set trusted proxies for header override.
...
This should fix issue #145 .
2022-07-17 22:47:30 +02:00
Jan Böhmer
7a14fb60d3
Updated EasyCodingStandard
2022-07-17 22:29:42 +02:00
Jan Böhmer
497a5576be
Updated dama/doctrine-test-bundle
2022-07-17 22:28:48 +02:00
Jan Böhmer
3781f24851
Updated composer dependencies.
2022-07-17 22:26:35 +02:00
Jan Böhmer
d1fd2bde68
Show better error message when SQLite database is not existing.
2022-07-17 21:59:45 +02:00
Jan Böhmer
0ab533252e
Merge pull request #144 from Part-DB/dependabot/npm_and_yarn/async-2.6.4
...
Bump async from 2.6.3 to 2.6.4
2022-07-17 21:39:59 +02:00
Jan Böhmer
a5bec00e6a
Merge pull request #143 from Part-DB/dependabot/npm_and_yarn/minimist-1.2.6
...
Bump minimist from 1.2.5 to 1.2.6
2022-07-17 21:32:53 +02:00
Jan Böhmer
11db774d8d
Merge pull request #151 from Part-DB/dependabot/composer/dompdf/dompdf-2.0.0
...
Bump dompdf/dompdf from 1.2.0 to 2.0.0
2022-07-17 21:31:28 +02:00
Jan Böhmer
a21f2e86de
Merge pull request #140 from Part-DB/dependabot/npm_and_yarn/node-forge-1.3.0
...
Bump node-forge from 1.2.1 to 1.3.0
2022-07-17 21:30:53 +02:00
dependabot[bot]
1eb66158c9
Bump dompdf/dompdf from 1.2.0 to 2.0.0
...
Bumps [dompdf/dompdf](https://github.com/dompdf/dompdf ) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/dompdf/dompdf/releases )
- [Commits](https://github.com/dompdf/dompdf/compare/v1.2.0...v2.0.0 )
---
updated-dependencies:
- dependency-name: dompdf/dompdf
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-07-06 00:23:24 +00:00
dependabot[bot]
e95d85b40a
Bump async from 2.6.3 to 2.6.4
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-28 19:07:25 +00:00
dependabot[bot]
5536db5c3a
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-04-10 02:42:52 +00:00
dependabot[bot]
049938c6ae
Bump node-forge from 1.2.1 to 1.3.0
...
Bumps [node-forge](https://github.com/digitalbazaar/forge ) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases )
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalbazaar/forge/compare/v1.2.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: node-forge
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-03-22 20:08:55 +00:00
Jan Böhmer
cb683f611c
Use stimulus controller to implement barcode scanner.
2022-03-07 01:28:32 +01:00
Jan Böhmer
1460894946
Fixed some exceptions.
2022-03-07 00:47:41 +01:00
Jan Böhmer
7fa4f09885
Show the user an error alert, if a ajax page is not loading via Turbo,
2022-03-07 00:40:36 +01:00
Jan Böhmer
f21c339046
Added a stimulus controller for tagsinput.
2022-03-06 23:45:45 +01:00
Jan Böhmer
f276c436ae
Initialize selectpicker via stimulus controller.
2022-03-06 23:27:20 +01:00
Jan Böhmer
f1ea25cad2
Lazy load the katex library if latex content is really present
2022-03-06 16:09:24 +01:00
Jan Böhmer
cef74ff35a
Render latex using stimulus controller.
2022-03-06 15:49:09 +01:00
Jan Böhmer
c54336fb47
Fixed markdown controller
2022-03-06 14:57:01 +01:00
Jan Böhmer
f3680ea7de
Parse markdown using stimulus controller.
2022-03-06 14:54:08 +01:00
Jan Böhmer
b9a86c6a59
Moved some javascript into events_base.js
2022-03-06 14:45:01 +01:00
Jan Böhmer
fed1621a58
Added datatables with turbo frames.
2022-03-05 23:28:29 +01:00
Jan Böhmer
41e0b251a9
Enabled treeview with turbo frames.
2022-03-05 23:09:55 +01:00
Jan Böhmer
7b244d3034
Enable js asset versioning in dev mode so we can use hotload.
2022-03-05 21:58:43 +01:00
Jan Böhmer
ae24fb5eb1
Use renderForm for proper return codes for turbo
2022-03-04 21:20:18 +01:00
Jan Böhmer
3a21c18ba9
Removed loading modal, as this is now done by turbo.
2022-03-04 21:12:16 +01:00
Jan Böhmer
f60ef33736
Load stimulus controllers properly
2022-03-04 20:59:08 +01:00
Jan Böhmer
5cc5c53853
Automatic reload assets on when they change.
2022-03-04 20:19:43 +01:00
Jan Böhmer
27b8fbd5b2
Added symfony ux-turbo packages
2022-03-04 20:13:25 +01:00
Jan Böhmer
3e0745f859
Updated symfony stimulus bridge.
2022-03-04 20:06:32 +01:00
Jan Böhmer
65011ccf1a
Updated yarn dependencies.
2022-03-04 20:01:24 +01:00
Jan Böhmer
aa9fdf5a5a
Updated yarn dependencies.
2022-03-04 19:46:31 +01:00
Jan Böhmer
98e3a374ed
Updated symfony/webpack-encore-bundle recipe
2022-03-04 19:32:04 +01:00
Jan Böhmer
89e1492132
Updated symfony/web-profiler-bundle recipe
2022-03-04 19:27:33 +01:00
Jan Böhmer
d22dfd7dd7
Updated symfony/validator recipe
2022-03-04 19:24:47 +01:00
Jan Böhmer
ed64dbf684
Updated symfony/twig-bundle recipe
2022-03-04 19:23:59 +01:00
Jan Böhmer
420c00a57e
Updated symfony/routing recipe
2022-03-04 19:21:45 +01:00
Jan Böhmer
441acca5ac
Updated symfony/monolog-bundle recipe
2022-03-04 19:21:17 +01:00
Jan Böhmer
136b3a2b79
Updated symfony/framework-bundle
2022-03-04 19:11:09 +01:00
Jan Böhmer
143b0c298c
Updated symfony/debug recipe
2022-03-04 19:07:10 +01:00
Jan Böhmer
d5cd7f9b2a
Updated php-translation/symfony-bundle recipe
2022-03-04 19:06:32 +01:00
Jan Böhmer
a7a3a7dabf
Update liip/imagine-bundle
2022-03-04 19:05:35 +01:00
Jan Böhmer
c849d38bc6
Update doctrine/doctrine-fixtures-bundle recipe
2022-03-04 19:05:04 +01:00
Jan Böhmer
a356a9ad81
Updated doctrine/doctrine-bundle recipe
2022-03-04 19:04:24 +01:00
Jan Böhmer
9888d4538d
Use non deprecated method to get database driver type.
2022-03-04 18:59:19 +01:00
Jan Böhmer
d3b1108d45
Use non deprecated method to get database driver type.
2022-03-04 18:51:58 +01:00
Jan Böhmer
61bd0bd15c
Fixed more PHPstan warnings.
2022-03-04 18:37:42 +01:00
Jan Böhmer
775a223ab2
Fixed ResetAutoIncrementORMPurger with DBAL3
2022-03-04 13:32:53 +01:00
Jan Böhmer
15a31433e1
Fixed PHPstan warnings.
2022-03-04 13:22:40 +01:00
Jan Böhmer
4a90f2ac35
Fix migrations with DBAL 3
2022-03-04 13:03:12 +01:00
Jan Böhmer
f163b8d223
Updated dependencies. We now require at least PHP 7.3 now
2022-03-04 12:22:51 +01:00
Jan Böhmer
6c3ddd494b
Updated composer dependencies.
2022-03-04 12:16:13 +01:00
Jan Böhhmer
e942ab1bf6
Updated yarn dependencies.
2022-01-19 19:48:12 +01:00
Jan Böhhmer
c5dcb9a632
Updated composer dependencies.
2022-01-19 19:35:45 +01:00
Jan Böhmer
37c6d829cb
New translations messages.en.xlf (English)
2021-06-12 20:57:24 +02:00
Jan Böhmer
8c429d8ba8
New translations messages.en.xlf (English)
2021-05-25 02:09:20 +02:00
Jan Böhmer
9b31f39077
Update source file messages.en.xlf
2021-05-25 02:09:13 +02:00
Jan Böhmer
94ceb16317
New translations messages.en.xlf (English)
2020-10-03 14:08:46 +02:00