Commit graph

3823 commits

Author SHA1 Message Date
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