Commit Graph

15370 Commits

Author SHA1 Message Date
Matthias Mair
9d20d2a86e
change url back 2024-04-18 23:24:07 +02:00
Matthias Mair
5df1cc06cd
reintroduce higher timeout 2024-04-18 12:18:37 +02:00
Matthias Mair
5c92c216c0
make less ambigious 2024-04-18 08:00:00 +02:00
Matthias Mair
5272355ee7
remove timeout
going back to default 30s
2024-04-18 07:52:13 +02:00
Matthias Mair
17f59f5ae8
remove submit 2024-04-18 01:08:20 +02:00
Matthias Mair
180691e9c0
make sure button is enabled 2024-04-18 01:07:57 +02:00
Matthias Mair
bb400c73ba
add test for Purchase History 2024-04-18 01:01:52 +02:00
Matthias Mair
9b6064b090
added variant pricing test 2024-04-18 00:54:17 +02:00
Matthias Mair
342ebfc250
add internal pricing test 2024-04-18 00:44:26 +02:00
Matthias Mair
2be83e14cc
add Supplier Pricing test 2024-04-18 00:38:49 +02:00
Matthias Mair
f08e0898e3
add test for Dashboard 2024-04-18 00:29:00 +02:00
Matthias Mair
cfbf6badbf
open up tab instaed of checking for it 2024-04-17 23:51:29 +02:00
Matthias Mair
0c16a83371
remove unnecessary step 2024-04-17 23:26:10 +02:00
Matthias Mair
25f42066b4
remove second test stage 2024-04-17 22:54:19 +02:00
Matthias Mair
d62631218f
fix test 2024-04-17 22:39:29 +02:00
Matthias Mair
be13a8d00b
adjust test assumptions to dataset 2024-04-17 22:37:10 +02:00
Matthias Mair
3f6f3b3aad
cleanup tests 2024-04-17 22:23:39 +02:00
Matthias Mair
0d22a8a559
disable flaky test 2024-04-17 22:17:29 +02:00
Matthias Mair
c3b49cd2c0
test linked rows works 2024-04-17 22:10:20 +02:00
Matthias Mair
d79d062a66
test hover state and bom pricing details 2024-04-17 22:07:31 +02:00
Matthias Mair
3f38cd30bf
add id for chart for easier testing 2024-04-17 21:57:19 +02:00
Matthias Mair
b061d8e43b
use plattform for logins 2024-04-17 21:23:12 +02:00
Matthias Mair
4f956e7002
add more playground tests 2024-04-17 20:09:58 +02:00
Matthias Mair
5fc418a77d
move test 2024-04-17 20:06:17 +02:00
Matthias Mair
cacf1e3045
Merge branch 'master' of https://github.com/inventree/InvenTree into pui-princing-tests 2024-04-17 19:56:38 +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
4b8e8d41c7
add pricing tests 2024-04-17 08:01:32 +02: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
5b2668c4d9
fix type 2024-04-17 01:51:57 +02:00
Matthias Mair
9f16d3f957
add tooltip formatter 2024-04-17 01:12:45 +02:00
Matthias Mair
f1bc66e353
format ticks using currency 2024-04-17 00:45:04 +02:00
Matthias Mair
91dbb135f8
fix type 2024-04-16 23:45:10 +02:00
Matthias Mair
9ca80d612b
make links more distinguishable 2024-04-16 23:41:18 +02:00
Matthias Mair
2f4d74a180
use navigation function instaed 2024-04-16 23:12:12 +02:00
Matthias Mair
f8cdf9c19d
add quickjump anchors 2024-04-16 22:45:07 +02:00
Matthias Mair
6cafba9778
use enum for refs 2024-04-16 22:14:28 +02:00
Matthias Mair
13a25644aa
add missing panels to overview 2024-04-16 22:01:37 +02:00
Matthias Mair
84c52847e9
add disabled state to panels 2024-04-16 22:01:19 +02:00
Matthias Mair
2b5e2867a8
make optional 2024-04-16 21:55:38 +02:00
Matthias Mair
27ba3627d4
remove unneeded log 2024-04-16 21:42:21 +02:00
Matthias Mair
a74c1bf06a
add option to disable accordions 2024-04-16 21:41:40 +02:00
Matthias Mair
590d70a8da
Only render categories in overview if there is data
Red #7025
2024-04-16 21:15:20 +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
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