Matthias Mair
28886083e3
fix ref calc
2025-10-15 00:57:49 +02:00
Matthias Mair
4ef24cae4a
simplify more
2025-10-15 00:12:06 +02:00
Matthias Mair
6549ad63b1
adjust naming and docs, add typing to clean stuff up
2025-10-15 00:05:25 +02:00
Matthias Mair
88fcc27062
fix style
2025-10-14 23:08:03 +02:00
Matthias Mair
27ed511092
remove new duplication
2025-10-14 22:31:40 +02:00
Matthias Mair
4a1f805840
re-add missing schema generation exception
2025-10-14 22:21:58 +02:00
Matthias Mair
96d56b31ef
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-14 22:09:13 +02:00
Matthias Mair
83e1a44d5a
remove generalize addition
2025-10-14 22:08:55 +02:00
Matthias Mair
1ea7e36a6c
generalize addition
2025-10-14 21:12:54 +02:00
Matthias Mair
016ca1563f
add option to ignore special cases
2025-10-14 21:12:40 +02:00
Matthias Mair
f30f41ef5d
fix list serializer
2025-10-14 21:00:31 +02:00
Matthias Mair
ff307e70ee
make safer to use with various sanity checks
2025-10-14 12:57:50 +02:00
Matthias Mair
70df5cc89a
make application of PathScopedMixin more intentional -> more efficient
2025-10-14 06:41:34 +02:00
Matthias Mair
33ce7e39b7
disable additional tests
2025-10-14 00:43:07 +02:00
Matthias Mair
611867509b
var tests
2025-10-14 00:21:38 +02:00
Matthias Mair
d33cd8e4b0
fix another test
2025-10-14 00:19:34 +02:00
Matthias Mair
bbd1393acb
fix typo
2025-10-13 23:57:33 +02:00
Matthias Mair
acfe575822
simplify tests
2025-10-13 23:55:57 +02:00
Matthias Mair
3718b5e12c
cleanup
2025-10-13 23:48:32 +02:00
Matthias Mair
c2f33335ea
Merge branch 'make-fields-filterable' of https://github.com/matmair/InvenTree into make-fields-filterable
2025-10-13 23:48:16 +02:00
Matthias Mair and GitHub
b84f27eb86
Merge branch 'master' into make-fields-filterable
2025-10-13 23:33:40 +02:00
Matthias Mair and GitHub
ac1eb85334
refactor(backend): reduce duplication in tests ( #10579 )
...
* refactor(backend): reduce duplication for tests
* fix tests
* fix text
* adjust last test
2025-10-14 08:23:25 +11:00
Matthias Mair
5594e442ea
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-13 22:40:22 +02:00
Matthias Mair
7ea1b16ddf
move test around
2025-10-13 22:40:18 +02:00
Matthias Mair
994259a71d
ensure popped values are persisted
2025-10-13 22:21:09 +02:00
Matthias Mair
81f26c7073
fix serializer for schema
2025-10-13 22:19:46 +02:00
Matthias Mair
25dd16cf6b
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-13 20:52:49 +02:00
Matthias Mair
e3b9c7ee49
also process strings
2025-10-13 15:22:38 +02:00
Matthias Mair
bc298926c1
extend tests
2025-10-13 15:22:25 +02:00
Matthias Mair
bf12f76466
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-13 13:06:22 +02:00
Matthias Mair
d009feda39
further fixes
2025-10-13 13:06:07 +02:00
Matthias Mair
3eb71063f4
fix another serializer issue
2025-10-13 10:34:07 +02:00
Matthias Mair
01bfa8aa01
fix schema fields
2025-10-13 09:59:55 +02:00
Matthias Mair
bddc90b8b1
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-13 08:40:04 +02:00
Matthias Mair
0fde658a61
add test
2025-10-13 08:17:55 +02:00
Matthias Mair
f32bbc2c49
add missing def
2025-10-13 07:58:13 +02:00
Matthias Mair
0ed27f81ca
fix schema?
2025-10-13 07:57:43 +02:00
Matthias Mair
f20e46f83c
fix removal
2025-10-13 01:36:28 +02:00
Matthias Mair
c5b8344e1b
make can_filter suppport more complex scenarios:
...
- different filtername from fieldname
- multiple fields with one filtername
2025-10-13 01:28:23 +02:00
Matthias Mair and GitHub
6327707c0e
fix(installer): make VERSION information accessible in invoke calls ( #10558 )
...
* implement version loading in more contexts
closes #10554
* factor version file out
* ensure results do not contain new strings
2025-10-13 09:01:53 +11:00
Matthias Mair
00abac5b78
add missed field
2025-10-12 22:34:47 +02:00
Matthias Mair and GitHub
49f8f72a46
chore(backend)!: fix spelling ( #10557 )
...
* fix spelling
* add changelog entry
2025-10-13 07:06:14 +11:00
Matthias Mair
2ada231bd8
fix import
2025-10-12 21:49:24 +02:00
Matthias Mair
7f471a3155
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-12 21:45:30 +02:00
Matthias Mair
b0be84f3a6
adjust default filtering
2025-10-12 21:23:37 +02:00
Matthias Mair
96406d45aa
set many serializer
2025-10-11 01:08:52 +02:00
Matthias Mair
9c2329c6b4
optimize mro
2025-10-11 01:08:04 +02:00
Matthias Mair and GitHub
13845c69da
feat(backend): Improve error message on INVE-7 ( #10518 )
...
* feat(backend): Improve error message on INVE-7
* change wording
* fix test
* another fix
2025-10-07 11:25:13 +11:00
Matthias Mair and GitHub
e8686a922e
Merge branch 'master' into make-fields-filterable
2025-10-07 02:14:04 +02:00
Matthias Mair and GitHub
ac6028b871
fix: correct admin credential msg ( #10521 )
...
* fix installers final message
* adjust text
2025-10-07 11:09:22 +11:00
Matthias Mair and GitHub
c83a9b01ce
fix: package distribution ( #10515 )
...
* show warning text
* fix formatting
* try to gather site-url correctly
* protect envs that are set in the config
* raise issue if they appear
* prefer app setting over file config
* preserve setting if injected via envs
2025-10-07 08:56:08 +11:00
Matthias Mair and GitHub
a2ee45ea2d
chore(backend): fix missing ignore ( #10512 )
...
* fix ignore
* ignore sentry that is not used in prod
2025-10-07 08:28:40 +11:00
Matthias Mair and GitHub
96a5291766
fix(backend): ensure internal notifications are created in a valid format ( #10502 )
...
Closes #10435
2025-10-06 21:58:19 +11:00
Matthias Mair and GitHub
624dbd1e8a
Merge branch 'master' into make-fields-filterable
2025-10-06 08:55:02 +02:00
Matthias Mair and GitHub
946418e175
refactor(backend): fix remaining undocumented path based serializer mutations ( #10495 )
...
* fix remaining undocumented path based serializer mutations
closes #9481
* bump api_version
* fix indention
* add description for filter
* fix missing OutputOptions
* fix default description lookup
2025-10-06 11:21:36 +11:00
Matthias Mair
24f8c41bd7
Merge branch 'master' of https://github.com/inventree/InvenTree into make-fields-filterable
2025-10-06 00:20:32 +02:00
d7b4997da2
refactor(backend): move serializer context enrichment to mixin ( #10456 )
...
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add output options for PurchaseOrder, SalesOrder, and ReturnOrder endpoints
* add serializer context handling and update sales order fixture with additional line item
* bump API version to 398 and update output options tests for PurchaseOrder endpoint
* refactor(backend): move serializer context enrichtment to mixin
* cleanup other get_serializer instances
* add output options tests for SalesOrder and ReturnOrder detail endpoints
* fix typo
* fix api
---------
Co-authored-by: Silver <reza.sh.7798@gmail.com >
2025-10-06 09:04:06 +11:00
Matthias Mair
5676f7d5fc
fix many serializer behaviour
2025-10-05 23:46:40 +02:00
Matthias Mair
638684c724
more adoption
2025-10-05 22:33:23 +02:00
Matthias Mair
31d3cd5e57
rollback rollback
2025-10-05 22:15:22 +02:00
Matthias Mair
30dc02605e
temp fix
2025-10-05 21:43:19 +02:00
Matthias Mair
47892e409e
fix def
2025-10-05 21:34:30 +02:00
Matthias Mair
3ee3cea8d8
move filtering of serializer fields out of functions into mixin
2025-10-05 18:47:25 +02:00
16e8f27872
bump contianer / dev dependencies too ( #10472 )
...
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-10-04 22:00:14 +10:00
Matthias Mair and GitHub
c070f25d7c
chore(backend): improve error message in api tests ( #10464 )
...
* fix mysql apply order
* improve error message capabilites for InvenTreeAPITestCase
* Revert "fix mysql apply order"
This reverts commit ef6d9bd99d .
* fix message
2025-10-04 21:59:38 +10:00
Matthias Mair and GitHub
ed74c61e5c
fix: log ENV key as it needs to be set ( #10462 )
2025-10-04 08:34:44 +10:00
Matthias Mair and GitHub
a24b56b066
rollback mysql ( #10478 )
2025-10-04 07:36:58 +10:00
Matthias Mair and GitHub
acb84100ab
chore: pin images in workflows ( #10459 )
2025-10-02 21:38:01 +10:00
Matthias Mair and GitHub
230639bdad
chore: cleanup changelog for 1.0 ( #10457 )
2025-10-02 21:37:46 +10:00
7638092ab8
feat(backend): releax protocol check ( #10454 )
...
* feat(backend): releax protocol check
* add changelog entry
* fix variable name
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com >
2025-10-02 21:36:37 +10:00
Matthias Mair and GitHub
f01455411a
move tests to api mocking to remove jitter in ci ( #10447 )
...
closes #10446
2025-10-02 09:54:31 +10:00
Matthias Mair and GitHub
eb18c0b172
feat(forntend): Re-Add About link to main nav dropdown ( #10395 )
...
* Re-Add About link to main nav dropdown
Closes #10392
* disable text selection on most of version dialog - maybe that helps ppl. copying the right section
* highlight the correct copy button
2025-09-26 10:51:24 +10:00
Matthias Mair and GitHub
4794d69687
fix: correct user deletion ( #10385 )
...
* Ensure all user sessions are cleared
* remove double warning text on user delete
2025-09-24 10:22:36 +10:00
Matthias Mair and GitHub
c9e74c5910
Adress minor dep issues ( #10359 )
...
* fix django version
* bump @vanilla-extract/vite-plugin to adress https://github.com/inventree/InvenTree/security/dependabot/226
2025-09-20 09:13:02 +10:00
Matthias Mair and GitHub
7eea2775b9
feat: speed up docker publishing ( #9912 )
...
* feat: speed up docker publishing
by spliting tests tasks for docker publishing into paralell
also makes releasing safer as no tests are run in the then published image and the permissions are slimer
* add update
* add names
* prepare image
* add dev setup
* remove migration stage
* merge unit test
2025-09-20 08:04:42 +10:00
Matthias Mair and GitHub
4b0acad518
fix(backend): better siteurl testing in middleware ( #10335 )
...
* fix(backend): simplify siteurl testing
* add multi-site test
* pass off site_url check if more than one trusted origin is set
* split up testing
* add temporary debug info
* fix test enviorment
2025-09-19 18:18:03 +10:00
Matthias Mair and GitHub
21cb488eef
feat(backend): add typechecking with ty ( #9664 )
...
* Add ty for type checking
* fix various typing issues
* fix req
* more fixes
* and more types
* and more typing
* fix imports
* more fixes
* fix types and optional statements
* ensure patch only runs if it is installed
* add type check to qc
* more fixes
* install all reqs
* fix more types
* more fixes
* disable container stuff for now
* move typecheck to seperate job
* try to use putput for path
* use env instead
* fix typo
* add missing install
* remove unclear imports - not sure why this was done
* add kwarg names
* fix introduced issue in url call
* ignore import
* fix broken typing changes
* fix filter import
* reduce change set
* remove api-change
* fix dict
* ignore typing errors
* fix more type issues
* ignore errors
* style fix
* fix type
* bump ty
* fix more
* type fixes
* update ignores
* fix import
* fix defaults
* fix ignore
* fix some issues
* fix type
2025-09-17 21:30:02 +10:00
Matthias Mair and GitHub
9679e58212
feat(frontend): Add samples for dashboard ( #10306 )
...
* feat(forntend): Add sampels to dashboard
Closes #9990
* add sessions storage to disable sample dash once cleared/removed
2025-09-14 20:47:15 +10:00
Matthias Mair and GitHub
2c22686520
fix(backend): re-add active plugins to anon status ( #10282 )
...
* this was disabled due to wrong feedback by me, common debug tools do not work because of this
* patch tests
* make mfa test more robust
2025-09-09 07:39:25 +10:00
Matthias Mair and GitHub
ed04a37838
chore(backend): improve coverage ( #10226 )
...
* remove unneeded helper
* remove unnecessary coverage
* ignore catch-all pervisions in app setup
* remove unused function
* this was replaced by get_model_permission_string
2025-09-05 10:00:50 +10:00
Matthias Mair and GitHub
f0beb4a426
fix a few docker security holes ( #10260 )
...
* fix no-cache statements
* fix possible security escape
* fix possible globbing
* merge statements that belong together
* pin image
2025-09-04 09:02:17 +10:00
Matthias Mair and GitHub
6c05742a3b
chore(backend):mfa e2e testing ( #10206 )
...
* chore(backend):mfa e2e testing
* there are no tokens when only depoying browser-based clients for allauth
* cleanup
* style fixes
2025-08-25 16:01:43 +10:00
dee26bfa46
chore(frontend): upgrade react to 19 ( #10202 )
...
* Initial plan
* Upgrade React from 18.3.1 to 19.1.1 with TypeScript fixes
Co-authored-by: matmair <66015116+matmair@users.noreply.github.com >
* Update Vite React plugin to 5.0.1 for better React 19 support
Co-authored-by: matmair <66015116+matmair@users.noreply.github.com >
* Fix biome style issue in PluginUIFeature.tsx
Co-authored-by: matmair <66015116+matmair@users.noreply.github.com >
* remove biome
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2025-08-25 15:18:25 +10:00
Matthias Mair and GitHub
a9f10f191c
fix style ( #10216 )
2025-08-25 10:05:31 +10:00
Matthias Mair and GitHub
e3a1c5fa20
improve error messages ( #10207 )
...
* fix remove mfa task
* add test for command
* clean up after schema test
* add assert to esure authenticators are really present/removed
* simplify handler
* improve error message
* make more readable
2025-08-21 09:08:26 +10:00
Matthias Mair and GitHub
76dfd62f84
fix: remove mfa task ( #10200 )
...
* fix remove mfa task
* add test for command
* clean up after schema test
* add assert to esure authenticators are really present/removed
* simplify handler
2025-08-20 21:21:03 +10:00
Matthias Mair and GitHub
6cb9327a1c
chore(backend): bump deps ( #10154 )
...
* bump backend devs
* bump helper-deps
2025-08-17 07:04:44 +10:00
Matthias Mair and GitHub
b19ca03240
refactor(backend): raise allauth ( #10156 )
...
* bump allauth
* bump api version
2025-08-11 22:15:40 +10:00
Matthias Mair and GitHub
ed45a4e5bf
Email history enhancement ( #10114 )
...
* add warning that the log is useless by default
* Add setting to enhance email log again
* add missing test for #10109
* add test for delete protections
* add error code
* Update email.md
* Update email.md
2025-08-08 08:04:17 +10:00
Matthias Mair and GitHub
febe5809e7
chore(backend): increase coverage ( #10121 )
...
* chore(backend): increase coverage
* add a full api based install / uninstall test
* fix asserted code
* delete unreachable code
* clean up unused code
* add more notification tests
* fix test
* order currencies
2025-08-06 08:47:23 +10:00
Matthias Mair and GitHub
b8f6b04fb9
feat(backend): more error messages ( #10119 )
...
* Adds error code for transition handler issues #10088
* Adds error codes for mandatory plugins #10094
* add more links
* Add error code for global overrides
* disable coverage for a case that can not happen
2025-08-04 10:06:13 +10:00
Matthias Mair and GitHub
b89a7c45d6
feat(docs): Add (high level) Changelog ( #9841 )
...
* Embed release notes into documentation
Fixes #4959
* added first few lines for 1.0
* cleanup old changelog
2025-07-31 00:18:10 +10:00
Matthias Mair and GitHub
87cac2ea14
bump @tabler/icons-react to fix occaisonal reload issues ( #10050 )
...
Ref https://github.com/tabler/tabler-icons/issues/1233
2025-07-22 07:36:18 +10:00
Matthias Mair and GitHub
48ea6a1d26
fix(backend): remove coreapi ( #10051 )
...
* remove coreapi
Fixes coreapi warning #10021
* re-add jinja
2025-07-22 07:35:36 +10:00
Matthias Mair and GitHub
b351fb7483
feat(backend): improve comms around registration ( #9932 )
...
* use better email check
* add error code for missing email settings
* Add note when not registration is enabled
* fix wrong call
* fix tests - might be worth checking if the blank check for testing is a good idea
* capture issues and print to find out what the duck is going on
* exend log
* fix context check
2025-07-13 09:20:45 +10:00
Matthias Mair and GitHub
4d446198b6
fix(backend): missing scope ( #10001 )
...
* move permission and fix scope
* add a way to only use scopes for doc purposes
* add a check to stop this from happening again
* bump api version
2025-07-11 08:45:55 +10:00
Matthias Mair and GitHub
df6965088f
bump backend deps ( #10003 )
2025-07-11 08:44:33 +10:00
Matthias Mair and GitHub
f655250947
fix(frontend): Move mail settings to operations ( #9978 )
2025-07-08 17:24:15 +10:00
Matthias Mair and GitHub
e788989b19
fix(frontend): add URL overview to more models ( #9977 )
2025-07-08 17:23:59 +10:00
Matthias Mair and GitHub
dea8b4f0ad
fix(backend) : use correct settings patching ( #9910 )
...
* fix(backend): use correct settings patching
* and more fixes
* fix context in test
* add better test for cors
2025-07-02 10:35:27 +10:00