Oliver
c823f1420a
Catch potential missing element ( #7059 )
2024-04-18 08:49:18 +10:00
Matthias Mair
05dd625208
fix up test
2024-04-17 19:52:48 +02:00
Matthias Mair
ebf1ce81fd
Merge branch 'master' of https://github.com/inventree/InvenTree into pui-maintine-v7
2024-04-17 14:06:39 +02:00
Oliver
0ba7f7ece5
[PUI] Session authentication ( #6970 )
...
* Adjust backend cookie settings
* Allow CORS requests to /accounts/
* Refactor frontend code
- Remove API token functions
- Simplify cookie approach
- Add isLoggedIn method
* Adjust REST_AUTH settings
* Cleanup auth functions in auth.tsx
* Adjust CSRF_COOKIE_SAMESITE value
* Fix login request
* Prevent session auth on login view
- Existing (invalid) session token causes 403
* Refactor ApiImage
- Point to the right host
- Simplify code
- Now we use session cookies, so it *Just Works*
* Fix download for attachment table
- Now works with remote host
* Cleanup settings.py
* Refactor login / logout notifications
* Update API version
* Update src/frontend/src/components/items/AttachmentLink.tsx
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com >
* fix assert url
* Remove comment
* Add explicit page to logout user
* Change tests to first logout
* Prune dead code
* Adjust tests
* Cleanup
* Direct to login view
* Trying something
* Update CUI test
* Fix basic tests
* Refactoring
* Fix basic checks
* Fix for PUI command tests
* More test updates
* Add speciifc test for quick login
* More cleanup of playwright tests
* Add some missing icons
* Fix typo
* Ignore coverage report for playwright test
* Remove coveralls upload task
---------
Co-authored-by: Lukas <76838159+wolflu05@users.noreply.github.com >
Co-authored-by: Matthias Mair <code@mjmair.com >
2024-04-17 21:35:20 +10:00
Emmanuel Ferdman
d24219fec3
Update broken links ( #7019 )
...
* Update broken links
* Update broken links
2024-04-17 19:42:59 +10:00
dependabot[bot]
df5fcf7d62
Bump gunicorn from 21.2.0 to 22.0.0 in /src/backend ( #7054 )
...
* Bump gunicorn from 21.2.0 to 22.0.0 in /src/backend
Bumps [gunicorn](https://github.com/benoitc/gunicorn ) from 21.2.0 to 22.0.0.
- [Release notes](https://github.com/benoitc/gunicorn/releases )
- [Commits](https://github.com/benoitc/gunicorn/compare/21.2.0...22.0.0 )
---
updated-dependencies:
- dependency-name: gunicorn
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* req fix
* bump versions everywhere
---------
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-17 16:39:18 +10:00
Matthias Mair
500f63d2c0
[PUI] Add quick login via url ( #7022 )
...
* add login with URL params
* use login function for faster tests
* reduce timeout possiblities in job
* remove unused imports
* remove debug
2024-04-17 16:21:19 +10:00
Matthias Mair
9435a4c3fd
[PUI] Pricing UX improvements ( #7053 )
...
* Only render categories in overview if there is data
Red #7025
* add option to disable accordions
* remove unneeded log
* make optional
* add disabled state to panels
* add missing panels to overview
* use enum for refs
* add quickjump anchors
* use navigation function instaed
* make links more distinguishable
* fix type
* format ticks using currency
* add tooltip formatter
2024-04-17 09:52:14 +10:00
Matthias Mair
8d8bb687ca
Merge branch 'master' of https://github.com/inventree/InvenTree into pui-maintine-v7
2024-04-16 20:08:24 +02:00
dependabot[bot]
5bf246c478
Bump sentry-sdk from 1.44.1 to 1.45.0 in /src/backend ( #7039 )
...
* Bump sentry-sdk from 1.44.1 to 1.45.0 in /src/backend
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.44.1 to 1.45.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.44.1...1.45.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* fix req
* fix reqs... again
---------
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-16 22:28:31 +10:00
dependabot[bot]
477765dbcb
Bump setuptools from 69.2.0 to 69.5.1 in /src/backend ( #7041 )
...
* Bump setuptools from 69.2.0 to 69.5.1 in /src/backend
Bumps [setuptools](https://github.com/pypa/setuptools ) from 69.2.0 to 69.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases )
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst )
- [Commits](https://github.com/pypa/setuptools/compare/v69.2.0...v69.5.1 )
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: direct:production
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-16 22:28:15 +10:00
Matthias Mair
533fd1e33e
dummy change
2024-04-16 13:16:15 +02:00
Matthias Mair
f70b9819f5
fix new code to v7 style
2024-04-16 07:59:59 +02:00
Matthias Mair
9ba8da013c
update packages
2024-04-16 07:59:42 +02:00
Matthias Mair
48da03b904
Merge branch 'master' of https://github.com/inventree/InvenTree into pui-maintine-v7
2024-04-16 07:38:18 +02:00
Matthias Mair
ec2ecbe8f6
fix missing key issue in badge section
2024-04-16 07:37:24 +02:00
Matthias Mair
7f72842d73
fix missing keys
2024-04-16 07:34:09 +02:00
Oliver
b3f6c8f531
Revert to sqren backport action ( #7051 )
...
* Revert to sqren backpor action
* Remove invalid option
2024-04-16 15:17:13 +10:00
Oliver
ed95ae4499
PUI BOM table updates ( #7049 )
...
- Allow new BOM item to be created
- Update modal forms
2024-04-16 15:04:40 +10:00
Oliver
22a25d4387
backport.yml : Fix copy_labels_pattern ( #7050 )
2024-04-16 15:01:30 +10:00
Oliver
66ed85e0c0
Fix regex ( #7048 )
...
* Fix regex
* Fix permission and step condition
2024-04-16 14:46:20 +10:00
dependabot[bot]
3f7d7fd156
Bump @lingui/macro from 4.8.0 to 4.10.0 in /src/frontend ( #7033 )
...
Bumps [@lingui/macro](https://github.com/lingui/js-lingui ) from 4.8.0 to 4.10.0.
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.8.0...v4.10.0 )
---
updated-dependencies:
- dependency-name: "@lingui/macro"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 13:33:04 +10:00
Oliver
251029c62e
Change backport action ( #7046 )
...
- Change to korthout/backport-action
- More actively maintained
2024-04-16 13:22:52 +10:00
dependabot[bot]
1c67a92958
Bump sigstore/cosign-installer from 3.4.0 to 3.5.0 ( #7035 )
...
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](e1523de757...59acb6260d
)
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:56:34 +10:00
dependabot[bot]
0575c167aa
Bump github/codeql-action from 3.24.10 to 3.25.0 ( #7036 )
...
Bumps [github/codeql-action](https://github.com/github/codeql-action ) from 3.24.10 to 3.25.0.
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](4355270be1...df5a14dc28
)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:56:27 +10:00
dependabot[bot]
5315886fb4
Bump stefanzweifel/git-auto-commit-action from 5.0.0 to 5.0.1 ( #7037 )
...
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases )
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md )
- [Commits](8756aa072e...8621497c8c
)
---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
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-16 09:56:05 +10:00
dependabot[bot]
5fb343ff05
Bump embla-carousel-react from 8.0.1 to 8.0.2 in /src/frontend ( #7029 )
...
Bumps [embla-carousel-react](https://github.com/davidjerleke/embla-carousel ) from 8.0.1 to 8.0.2.
- [Release notes](https://github.com/davidjerleke/embla-carousel/releases )
- [Commits](https://github.com/davidjerleke/embla-carousel/compare/v8.0.1...v8.0.2 )
---
updated-dependencies:
- dependency-name: embla-carousel-react
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-16 09:55:55 +10:00
dependabot[bot]
0460dffb28
Bump react-hook-form from 7.51.2 to 7.51.3 in /src/frontend ( #7030 )
...
Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form ) from 7.51.2 to 7.51.3.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases )
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md )
- [Commits](https://github.com/react-hook-form/react-hook-form/compare/v7.51.2...v7.51.3 )
---
updated-dependencies:
- dependency-name: react-hook-form
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-16 09:55:48 +10:00
dependabot[bot]
471490096b
Bump @playwright/test from 1.43.0 to 1.43.1 in /src/frontend ( #7031 )
...
Bumps [@playwright/test](https://github.com/microsoft/playwright ) from 1.43.0 to 1.43.1.
- [Release notes](https://github.com/microsoft/playwright/releases )
- [Commits](https://github.com/microsoft/playwright/compare/v1.43.0...v1.43.1 )
---
updated-dependencies:
- dependency-name: "@playwright/test"
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-16 09:55:41 +10:00
dependabot[bot]
af49f1557f
Bump @lingui/react from 4.8.0 to 4.10.0 in /src/frontend ( #7032 )
...
Bumps [@lingui/react](https://github.com/lingui/js-lingui ) from 4.8.0 to 4.10.0.
- [Release notes](https://github.com/lingui/js-lingui/releases )
- [Changelog](https://github.com/lingui/js-lingui/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lingui/js-lingui/compare/v4.8.0...v4.10.0 )
---
updated-dependencies:
- dependency-name: "@lingui/react"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 09:55:25 +10:00
Oliver
9d2297da7d
BOM pricing table fix ( #7044 )
...
* Allow click-through from BOM pricing table
* Allow sorting by price in BOM table
* Add "Total Price" column to BOM table
* Enable part table to be sorted by price range
* Enable click-through on VariantPricing table
* Update quantity columns for BOM tables
* Improve rendering for UsedInTable
2024-04-16 09:52:47 +10:00
Oliver
860ecc43e9
Fix typo in Procfile ( #7043 )
2024-04-16 08:53:03 +10:00
Matthias Mair
8d80bba120
fix import
2024-04-16 00:45:03 +02:00
Matthias Mair
f05b4876f2
add keys to badges
2024-04-16 00:33:03 +02:00
Matthias Mair
fce7a3e086
make sure license keys are unique
2024-04-16 00:24:59 +02:00
Matthias Mair
ad2d07cfe6
move language context around
2024-04-16 00:23:33 +02:00
Matthias Mair
fbe612cc56
organize imports
2024-04-16 00:10:11 +02:00
Matthias Mair
61342a8903
fix missing nesting
2024-04-15 23:57:41 +02:00
Matthias Mair
cf564becd9
add missing style for datatables
2024-04-15 23:57:20 +02:00
Matthias Mair
3f49c3ad97
update package refs
2024-04-15 23:49:51 +02:00
Matthias Mair
100459a66a
increase timeouts
2024-04-15 23:35:26 +02:00
Matthias Mair
6d50d09d16
fix color schema switcher
2024-04-15 22:41:23 +02:00
Matthias Mair
0cf5fcfe3d
fix missing theming
2024-04-15 22:11:54 +02:00
Matthias Mair
cdd9d30091
make test less flaky
2024-04-15 21:39:06 +02:00
Matthias Mair
531a5914cb
reorder contexts
2024-04-15 21:33:02 +02:00
Matthias Mair
d5eb0bf659
move context to loadable
2024-04-15 21:31:46 +02:00
Matthias Mair
fed2cecafb
add notification style
2024-04-15 21:27:27 +02:00
Matthias Mair
47b858431f
import cleanups
2024-04-15 21:23:48 +02:00
Matthias Mair
641310494e
add new type
2024-04-15 21:15:14 +02:00
Matthias Mair
5703eb535c
remove unneeded imports
2024-04-15 21:13:34 +02:00