2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-15 03:25:42 +00:00
Commit Graph

16087 Commits

Author SHA1 Message Date
bf84c8155e Use hashlib.file_digest 2024-11-19 22:07:49 +00:00
ff7f8d8027 Update src/backend/InvenTree/plugin/installer.py
Co-authored-by: Matthias Mair <code@mjmair.com>
2024-11-20 09:06:12 +11:00
2fa832f1f3 No cache 2024-11-18 13:37:32 +00:00
691e0a8188 revert gh env 2024-11-18 12:03:07 +00:00
144565d937 Update unit tests 2024-11-18 11:37:31 +00:00
0e4a95ce63 Merge branch 'master' into plugins-install 2024-11-18 20:45:50 +11:00
a8488b2198 Fix docstring 2024-11-18 09:40:03 +00:00
cdce6815eb Better management of plugins file
- Use file hash to determine if it should be reloaded
2024-11-18 09:33:00 +00:00
76cd6e019b Revert check on startup 2024-11-18 09:18:38 +00:00
57de67e837 Improve check for plugins file 2024-11-18 09:15:02 +00:00
afaef07d5c Revert python path update 2024-11-18 08:46:49 +00:00
b59744cda0 Revert uninstall behaviour 2024-11-18 08:46:24 +00:00
6bf6733268 UI link fix (#8508)
* Add tags to test if CUI or PUI are enabled

* Fix PUI redirect
2024-11-18 11:32:33 +11:00
7e2619dee1 More logging 2024-11-17 12:23:37 +00:00
ade4a46c86 Improved exception handling for plugin loading 2024-11-17 11:03:09 +00:00
12538c9e83 Revert "Cleanup"
This reverts commit a40c85d47d.
2024-11-17 11:01:12 +00:00
a40c85d47d Cleanup 2024-11-17 06:24:40 +00:00
4c7d248bf6 Better error catching for broken packages 2024-11-17 06:21:54 +00:00
75e7a943f4 Remove PLUGIN_ON_STARTUP support 2024-11-17 06:18:06 +00:00
788ac48fa7 Revert "Remove plugins.txt support"
This reverts commit 0278350351.
2024-11-17 06:16:16 +00:00
f0195b3b0b Improve regex for plugin matching 2024-11-17 06:10:40 +00:00
0278350351 Remove plugins.txt support 2024-11-17 06:07:26 +00:00
98f8e45218 Specify plugin location for CI 2024-11-17 05:51:21 +00:00
b93cf4c9d1 Catch errors 2024-11-17 05:26:15 +00:00
734211f6f2 Cleanup 2024-11-17 05:15:45 +00:00
ec8c9a2bf8 Remove the dist-info dirs too 2024-11-17 05:02:42 +00:00
83b35eb7a1 Implement removal of plugin from plugins dir 2024-11-17 04:57:09 +00:00
f87b7644b7 Use plugins dir when installing from plugins.txt 2024-11-17 04:14:02 +00:00
f886ab5de6 Install plugin into "plugins" directory 2024-11-17 00:05:15 +00:00
3e1fd1b1f4 Error handling in plugin helpers 2024-11-17 00:04:59 +00:00
ae06fbb000 Append plugins dir to pythonpath 2024-11-16 23:53:48 +00:00
33a686ace8 Enable redis by default for docker setup (#8501)
* Enable redis by default for docker setup

* Bring cache up before server
2024-11-17 00:14:30 +11:00
88bb06e75a Env var docs (#8499)
- Add example for specifying a list value
- Closes https://github.com/inventree/InvenTree/issues/8410
2024-11-16 16:15:28 +11:00
3037243de2 Small tweak to plugin staticfile collection output (#8498) 2024-11-16 15:38:07 +11:00
8f4e76b10f Update UI plugin docs (#8497) 2024-11-16 15:04:13 +11:00
10e88cd3e4 Use ApiIcon for plugin panels (#8496)
- Richer set of icons available
- Allows plugin to define their own icon
2024-11-16 14:57:17 +11:00
f9d3f43b02 configurable ldap group classes (#8475)
* configurable ldap group classes

* remove accidental duplicate line

* fix style issues

---------

Co-authored-by: Matthias Mair <code@mjmair.com>
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-16 09:08:27 +11:00
6fcd691070 Bump @eslint/plugin-kit from 0.2.0 to 0.2.3 in /src/backend (#8492)
Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-16 08:38:50 +11:00
fbe222f6eb Fix for "installed in" display (#8480)
* Fix for "installed in" display

- Allow "details" field to be passed custom params

* Add extra debug to link checking

* API: fix for StockTrackingList entry

* Display links for stock items in tracking entry table

* Generate absolute links for item renderers

* Revert "Generate absolute links for item renderers"

This reverts commit 878fba91d0.

* Bump API version

* Add playwright tests
2024-11-15 23:28:47 +11:00
ac63b10197 Update faq.md (#8489) 2024-11-15 22:51:46 +11:00
b5599c91ea [Plugins] Pass queryClient through to plugin (#8486) 2024-11-15 17:31:47 +11:00
7a3bed5b40 New Crowdin translations by GitHub Action (#8455)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-15 12:10:55 +11:00
65e4b69c16 Add row context (right click) additionally to actions in tables (#8013)
* Add row context

* fix lockfile

* fix type

* fix styling

* formatting fixes
2024-11-15 10:50:08 +11:00
ee01ac592f fix various sonarlint warnings (#8479)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
2024-11-14 16:58:39 +11:00
9d8f874bf3 Remove "locked" badge (#8477)
- Has snuck back in due to merge conflicts
2024-11-14 16:11:12 +11:00
da112211e5 Format number (#8482)
* Add extra options for 'format_number' helper

* Update documentation

* Improved typing hints and docs cleanup

* Fix link
2024-11-14 16:11:01 +11:00
ae88124294 Additional output for invoke tasks (#8476) 2024-11-14 16:10:44 +11:00
b1a5b1a3bb Improve handling for raw github repo links (#8483)
* Improve handling for raw github repo links

* Fix strict mode
2024-11-14 13:55:46 +11:00
246f17113f Fix for locate item plugins (#8473)
* A hook for caching active plugins

* Add LocateItemButton

* Implement "locate" button for location detail page too

* Fix for StockApiMixin.get_serializer

- Recent refactoring removed 'path_detail' attribute

* Fix offloading of 'locate'

* Remove debug msg

* Add custom message

* Remove force_async call

* Add playwright tests
2024-11-13 06:49:48 +11:00
7b50f3b1d3 [PUI] Page titles (#8467)
* Add <PageTitle /> component

* Use useEffect to override hard-coded value

* Ensure page titles are tracked across the site

* Adjust unit tests

* Playwright test updates

* Tweak tests

* Update InvenTreeTable.tsx

Revert unused change
2024-11-13 06:49:28 +11:00