Matthias Mair
1f662bfb97
use relative files for reporting
2024-04-05 00:24:53 +02:00
Matthias Mair
0f31ee9e87
reset isort settings
2024-04-05 00:24:37 +02:00
Matthias Mair
703d7673b1
fix coverage runner setting
2024-04-04 23:10:41 +02:00
Matthias Mair
3fe4f917c9
Merge branch 'inventree:master' into cov-use-xml
2024-04-04 15:35:41 +01:00
Oliver
6730cdbccf
[Docker] Fix broken production image ( #6953 )
...
* Check for presense of manage.py
* Fix directory copying
2024-04-04 23:55:55 +11:00
Oliver
d08a6ad18e
Fix links in docs ( #6954 )
...
* Fix links
* Fix another link
2024-04-04 23:54:44 +11:00
Matthias Mair
78d0877b88
reset paths
2024-04-04 09:34:28 +02:00
Matthias Mair
defd0cda5c
Update pyproject.toml
2024-04-04 08:46:50 +02:00
Matthias Mair
90bcaf8baa
add plain InvenTree too
2024-04-04 08:08:46 +02:00
Oliver
2ea82e13a5
Enable backup value option for plugin settings check ( #6950 )
2024-04-04 04:35:40 +00:00
Oliver
b68a1cc1b8
Fetch server state when refetching all global states ( #6949 )
...
- Required for plugin permissions, for example
2024-04-04 03:14:55 +00:00
Oliver
7ca420ebdc
Add support for django-query-count ( #6948 )
...
* Add support for django-query-count
* Display duplicate queries
* Add comment in settings.py
2024-04-04 13:33:32 +11:00
Matthias Mair
bd6e141ab1
remove unused html export
2024-04-04 02:21:58 +02:00
Matthias Mair
8f7750d837
reverst isort change
2024-04-04 02:21:16 +02:00
Matthias Mair
e5df44d6e2
add more paths
2024-04-04 02:20:42 +02:00
Matthias Mair
3282c7c1b3
Merge branch 'master' of https://github.com/inventree/InvenTree into cov-use-xml
2024-04-04 01:49:38 +02:00
Matthias Mair
4c2d699b01
change path to ensure basepath is submitted
2024-04-04 01:49:29 +02:00
Matthias Mair
fddcb629b6
[PUI] Add licenses texts to PUI ( #6855 )
...
* compile a license texts bundle
* add backend license extraction on install
* change path for licenses
* add to gitignore
* Add api to expose license paths
* add texts
* add frontend rendering of licensing files
* Handle errors when fetching license information
* Format backend packages.txt in json
* Improved API rendering:
- Handle file errors
- Render as JSON object
* Improve frontend modal rendering
- Separate frontend / backend into tabs
- Split packages into accordion
* Generate JSON file for fronten deps
* Fix rendering for frontend deps
* Update src/frontend/src/components/modals/LicenseModal.tsx
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* Update src/frontend/src/components/modals/LicenseModal.tsx
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* make reading of licenses objects dynamic
* remove unsued import
* style fixes
* style fixes
* default to first value
* use new syntax to call docker compose
* merge fix
* fix path
* Roll back #6942
* Update qc_checks.yaml
Run migration checks when requirements file changes
---------
Co-authored-by: Oliver Walters <oliver.henry.walters@gmail.com>
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
2024-04-04 10:31:20 +11:00
Matthias Mair
cdbfda94c7
always export
2024-04-04 01:17:44 +02:00
Matthias Mair
7d70e49156
dummy change
2024-04-04 00:45:18 +02:00
Matthias Mair
96a7b27d1d
remove dummy fix
2024-04-04 00:44:51 +02:00
Matthias Mair
e3cb4ca909
dummy fix
2024-04-04 00:44:34 +02:00
Matthias Mair
af53add1ba
use xml for coverage info
2024-04-04 00:24:14 +02:00
Matthias Mair
7cbf99bea7
Fix locate plugin testing ( #6946 )
...
* cover locate again
* add activation sequence
2024-04-04 09:08:56 +11:00
dependabot[bot]
9839f64717
Bump @fortawesome/free-solid-svg-icons in /src/frontend ( #6928 )
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
---
updated-dependencies:
- dependency-name: "@fortawesome/free-solid-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 23:05:34 +11:00
dependabot[bot]
78602470e5
Bump @fortawesome/fontawesome-svg-core in /src/frontend ( #6925 )
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 23:05:23 +11:00
dependabot[bot]
5484450072
Bump rapidfuzz from 3.6.2 to 3.7.0 in /src/backend ( #6938 )
...
* Bump rapidfuzz from 3.6.2 to 3.7.0 in /src/backend
Bumps [rapidfuzz](https://github.com/rapidfuzz/RapidFuzz ) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/rapidfuzz/RapidFuzz/releases )
- [Changelog](https://github.com/rapidfuzz/RapidFuzz/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/rapidfuzz/RapidFuzz/compare/v3.6.2...v3.7.0 )
---
updated-dependencies:
- dependency-name: rapidfuzz
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* merge fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-04-03 23:05:00 +11:00
dependabot[bot]
5548254c48
Bump django-money from 3.2.0 to 3.4.1 in /src/backend ( #6942 )
...
* Bump django-money from 3.2.0 to 3.4.1 in /src/backend
Bumps [django-money](https://github.com/django-money/django-money ) from 3.2.0 to 3.4.1.
- [Release notes](https://github.com/django-money/django-money/releases )
- [Changelog](https://github.com/django-money/django-money/blob/main/docs/changes.rst )
- [Commits](https://github.com/django-money/django-money/compare/3.2...3.4.1 )
---
updated-dependencies:
- dependency-name: django-money
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* merge fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-04-03 21:56:22 +11:00
dependabot[bot]
e46ddb8cd4
Bump dj-rest-auth from 5.0.2 to 5.1.0 in /src/backend ( #6940 )
...
* Bump dj-rest-auth from 5.0.2 to 5.1.0 in /src/backend
Bumps [dj-rest-auth](https://github.com/iMerica/dj-rest-auth ) from 5.0.2 to 5.1.0.
- [Release notes](https://github.com/iMerica/dj-rest-auth/releases )
- [Commits](https://github.com/iMerica/dj-rest-auth/compare/5.0.2...5.1.0 )
---
updated-dependencies:
- dependency-name: dj-rest-auth
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* merge fix
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-04-03 21:56:07 +11:00
dependabot[bot]
fd5c9f81d7
Bump @types/node from 20.12.2 to 20.12.3 in /src/frontend ( #6936 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.12.2 to 20.12.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 21:22:07 +11:00
Matthias Mair
7b77fd31a7
Cleanups for refactor ( #6933 )
...
* adjust depandabot targets and interval
* add git blame ignore to make git diff more useable
* adjust test path
* fix ci path
2024-04-03 19:59:02 +11:00
Oliver
d0fccaf14e
Fix docker push action ( #6934 )
2024-04-03 08:58:17 +00:00
Matthias Mair
f58eacf64e
[PUI] Add coverage testing ( #6881 )
...
* add coverage to PUI
* fix testing command
* always do all steps
* fix test assumptions
* add test for serving and logging into pui from django / cui tech stack
* fix up coverage
* fix intentation
* remove paralell flags
* remove coverage finish step
* remove flag
* change names
* add full clickdown test
* more tests
* more tests
* sprinkle in some timeouts
* try using admin
* disable page 1 tests for now
* remove additional tests for now
* only build sourcemaps if coverage is enabled
* fix sourcemap assumption
* Update .github/workflows/qc_checks.yaml
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
* fix package.json
* add finish step
---------
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com>
2024-04-03 19:26:38 +11:00
Matthias Mair
85e672831b
Some small style fixes ( #6916 )
...
* fix dockerfile syntax
* remove unused import
* Merge unnecessary if statements
* fix PUI package name
* remove unused vars
* Remove unneeded pass
* merge if to reduce likelyhood of future errors
* add ignroe script to secure against shell scripts
* fix possible collisions
* export strings
* fix types
2024-04-03 19:26:03 +11:00
Oliver
6be2ede5e8
Fix unit tests ( #6932 )
...
* Fix unit test
* Fix script pathing
* Fix pathing in version_check.py
* Fix mkdocs.yml
2024-04-03 06:50:13 +00:00
dependabot[bot]
5bec4ebb0e
Bump @fortawesome/free-regular-svg-icons in /src/frontend ( #6924 )
...
Bumps [@fortawesome/free-regular-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 6.5.1 to 6.5.2.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits )
---
updated-dependencies:
- dependency-name: "@fortawesome/free-regular-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 12:35:54 +11:00
dependabot[bot]
7606c514f9
Bump @types/react from 18.2.73 to 18.2.74 in /src/frontend ( #6926 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 18.2.73 to 18.2.74.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 12:22:30 +11:00
dependabot[bot]
b5613624a5
Bump @tanstack/react-query from 5.28.9 to 5.28.14 in /src/frontend ( #6927 )
...
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query ) from 5.28.9 to 5.28.14.
- [Release notes](https://github.com/TanStack/query/releases )
- [Commits](https://github.com/TanStack/query/commits/v5.28.14/packages/react-query )
---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-03 12:22:22 +11:00
Matthias Mair
0bace3f3af
Code structure refactor ( #5582 )
...
* moved docker files to /contrib/container
* changed code owners to make more precise
* updated CI to use new subdirs
* added manual trigger for testing
* moved ci files
* moved assets into subdir
* moved deploy template file to contrib
* moved django files to src/backend
* updated paths in scripts etc
* updated reqs path
* fixed version file path
* fixed flake8 path
* fixed path to node ressources
* fixed task paths
* added dep path for node
* removed unused yarn lockfile
* removed unused ci script
* updated internal backend paths for tasks
* updated translation stats path
* fixed source path for coverage
* fixed main commit repo path
* fit in changes from testing
* gather packager improvements (#149 )
* Matmair/issue5578 (#143 )
* moved docker files to /contrib/container
* changed code owners to make more precise
* updated CI to use new subdirs
* added manual trigger for testing
* moved ci files
* moved assets into subdir
* moved deploy template file to contrib
* moved django files to src/backend
* updated paths in scripts etc
* updated reqs path
* fixed version file path
* fixed flake8 path
* fixed path to node ressources
* fixed task paths
* added dep path for node
* removed unused yarn lockfile
* removed unused ci script
* updated internal backend paths for tasks
* updated translation stats path
* fixed source path for coverage
* fixed main commit repo path
* fix docker path
* use project dir
* move project dir command
* fixed docker paths
* another fix?
* seperate tasks out
* remove tasks
* some debugging
* ci: add .deepsource.toml
* Update .deepsource.toml
* also ignore migrations
* more debugging
* fix path issues
* remove debug script
* fix style
* change locale path
* Fixed paths for requirements
* Added dummy requirements to fool packager
* fixed exec path
* remove deepsource
---------
Co-authored-by: deepsource-io[bot] <42547082+deepsource-io[bot]@users.noreply.github.com>
* Added docs for file structure
* Fixed style errors
* updated deepsource paths
* fix deepsource paths
* fixed reqs
* merge fixes
* move newly added dirs too
* fix reqs files
* another dep fix
* merge upstream/master
* revert removal of tags
* merge upstream
* enabled detection of old config files
* adapt coverage src
* also detect and support old location for plugins.txt
* style fix
* fix ~/init.sh location
* fix requirements path
* fix config to current master
* move new folders
* fix import order
* fix paths for qc_check
* fix docs build
* fix fix path
* set docker project dir
* just use a cd
* set image path?
* set file correct
* fix copy path
* fix tasks dir
* fix init path
* fix copy path
* set prject dir
* fix paths
* remove old prod files
* fix dev env path
* set docker file
* Fix devcontainer docker compose file
* fix login attempt values
* fix init.sh path
* Fix pathing for Docker
* Docker build fix
- Set INVENTREE_BACKEND_DIR separately
* Update init.sh
* Fix path
* Update requirements.txt
* merge
* fix rq merge
* fix docker compose usage
---------
Co-authored-by: deepsource-io[bot] <42547082+deepsource-io[bot]@users.noreply.github.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-04-03 12:16:59 +11:00
dependabot[bot]
dd889e8eeb
Bump pre-commit from 3.6.2 to 3.7.0 ( #6841 )
...
* Bump pre-commit from 3.6.2 to 3.7.0
Bumps [pre-commit](https://github.com/pre-commit/pre-commit ) from 3.6.2 to 3.7.0.
- [Release notes](https://github.com/pre-commit/pre-commit/releases )
- [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pre-commit/pre-commit/compare/v3.6.2...v3.7.0 )
---
updated-dependencies:
- dependency-name: pre-commit
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix req
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-04-02 22:34:41 +11:00
Oliver
c6ea5228cb
Update Caddyfile ( #6919 )
...
Force file download for /media/ files for improved security
2024-04-02 21:12:25 +11:00
Matthias Mair
50a4f74d7e
Delete .sonarcloud.properties ( #6918 )
...
Moved settings to cloud
2024-04-02 19:42:01 +11:00
Matthias Mair
2591df3b11
Set write permission on specific job ( #6915 )
...
* set wirte permission on specific job
* only allow read
2024-04-02 17:35:32 +11:00
Matthias Mair
4db61df8cd
Security improvements ( #6890 )
...
* Set write permissions at job level
* publish scorecard results
* Update scorecard.yml
* Update scorecard.yml
* Create .sonarcloud.properties
* Delete .deepsource.toml
* replace badge
* pin requests, pyyaml, jc
* pin yarn version
* pin uv
* reduce settings
* set test path
2024-04-02 17:35:01 +11:00
Oliver
364a9d4fc1
New Crowdin updates ( #6908 )
...
* updated translation base
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations django.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Fix: New translations messages.po from Crowdin
* Set INVENTREE_SITE_URL
* Fix incorrect zh trans
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-02 16:13:15 +11:00
Oliver
abad2914c6
Remove translation macro ( #6914 )
...
- Incorrect in this location to translate inner text
2024-04-02 16:03:11 +11:00
Oliver
3518377e2c
allow write access for backport action ( #6912 )
2024-04-02 15:12:12 +11:00
Oliver
b93d0c587e
Add serializer context to CategoryDetail ( #6910 )
2024-04-02 14:59:51 +11:00
Oliver
2570aff123
Remove incorrect field from BomItemResource ( #6907 )
...
* Remove incorrect field from BomItemResource
- Fixes https://github.com/inventree/InvenTree/issues/6903
* Further fixes
- Better fix for BomItemResource class
2024-04-02 14:48:06 +11:00
Oliver
d96b36f0b3
[PUI] Hide blank contact field ( #6909 )
2024-04-02 14:35:30 +11:00