2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-12 14:50:54 +00:00
Commit Graph

641 Commits

Author SHA1 Message Date
Oliver Walters
7b8a10173d Adds a new "Panel" mixin which can render custom panels on given pages
- Adds item to sidebar menu
- Adds panel content
- Runs custom javascript when the page is loaded
2022-05-06 22:49:51 +10:00
Oliver Walters
28e16616e5 Adds a PanelMixin plugin mixin class
Intended to allow rendering of custom panels on pages
2022-05-06 21:32:11 +10:00
Oliver
9e1d8e52f3 Merge pull request #2805 from matmair/matmair/issue2385
Plugins for notifications
2022-05-06 20:00:56 +10:00
Matthias
0d0b713f6e Fix tests 2022-05-06 02:26:58 +02:00
Matthias
baf7e4505e do not cover pacakge code - is not CI'd 2022-05-06 01:52:32 +02:00
Matthias
1a70829f5c do not cover dev error catcher 2022-05-06 01:12:11 +02:00
Matthias
50b17d6ae8 add mixin test 2022-05-06 01:03:11 +02:00
Matthias
17127e914d PEP fix 2022-05-04 17:44:27 +02:00
Matthias
05d1f9703e Add nice repr for NotificationUserSetting 2022-05-04 17:42:45 +02:00
Matthias
a27f8a427a Merge branch 'matmair/issue2385' of https://github.com/matmair/InvenTree into matmair/issue2385 2022-05-04 17:40:47 +02:00
Matthias
cf986e557c make unloading safer 2022-05-04 17:40:44 +02:00
Matthias
0ff407348d Add admin for NotificationUserSetting 2022-05-04 17:39:37 +02:00
Matthias
34855bbb37 add API endpoint for notifications 2022-05-04 17:38:50 +02:00
Matthias
c684e7d5e0 Add generic serializer 2022-05-04 16:57:39 +02:00
Matthias Mair
cf93ba7cf9 Merge branch 'inventree:master' into matmair/issue2385 2022-05-04 12:23:05 +02:00
Oliver
b65a969433 Merge pull request #2928 from matmair/coverage-adaption
Increase coverage
2022-05-04 09:39:24 +10:00
Matthias
8038cff874 ignore for coverage 2022-05-04 00:43:49 +02:00
Matthias
6504ef535a fix test - len needs to be recalculated 2022-05-03 23:23:36 +02:00
Matthias
e1b395c9be test is_active 2022-05-03 23:19:51 +02:00
Matthias
cf0cbff69a we are not covering packages right now 2022-05-03 23:19:01 +02:00
Matthias
5e277130fa do not cover not implemented Mixin 2022-05-03 23:07:16 +02:00
Matthias
c5acfaf541 do not coverage catch for load 2022-05-03 23:06:57 +02:00
Matthias
e95c3e0948 do not cover default returns 2022-05-03 23:06:38 +02:00
Matthias
1522d330fa add test for is_sample 2022-05-03 23:06:11 +02:00
Matthias
096c0c876c PEP fix 2022-05-03 22:58:24 +02:00
Matthias
d49f74746a test that MixinImplementationErrors raise 2022-05-03 22:56:28 +02:00
Matthias
204b4fd527 rename test 2022-05-03 22:55:39 +02:00
Matthias
626e3838ae also cover errors 2022-05-03 22:15:24 +02:00
Matthias
a357c4ef88 also cover unregistering 2022-05-03 22:13:29 +02:00
Matthias
08e278232b ignore db not ready in coverage 2022-05-03 22:12:34 +02:00
Matthias
b9cbc287f2 empty mixin schaffold - no tests 2022-05-03 22:10:26 +02:00
Matthias
0a012c3c58 only possible in test cases with plugin_tests off 2022-05-03 22:09:58 +02:00
Matthias
4663815cfa this is just an extra safety check - should not trigger 2022-05-03 22:09:20 +02:00
Matthias
4e5015e742 do not cover unready db 2022-05-03 22:08:57 +02:00
Matthias
58a5eac66a ignore outside sample code in coverage 2022-05-03 22:06:10 +02:00
Matthias
7c437a3cf2 adjust testing function to also check return 2022-05-03 21:59:17 +02:00
Matthias
70b108d813 add check for call function 2022-05-03 21:56:58 +02:00
Matthias
5ea6a325ee fix smaple code 2022-05-03 21:48:49 +02:00
Matthias
5fa7b45d1d Add tests for scheduling
Closes #2523
2022-05-03 21:39:45 +02:00
Matthias
05d2d3664c ignore defaults for coverage 2022-05-03 20:13:07 +02:00
Oliver Walters
f1d8bf71b7 Use the tablename when generating automatic model events 2022-05-03 10:18:11 +10:00
Matthias Mair
4125803e6d Merge branch 'inventree:master' into matmair/issue2385 2022-05-02 21:50:52 +02:00
Matthias
e7a0cf7342 fix old url() usage 2022-05-01 22:04:37 +02:00
Matthias
de6507e918 update translation commands 2022-05-01 22:03:49 +02:00
Matthias
67ab45bdee update depreciated paths 2022-05-01 22:00:18 +02:00
Matthias Mair
37e74074dd Merge branch 'inventree:master' into matmair/issue2385 2022-04-27 17:46:57 +02:00
Matthias
1603bf4e60 fix api call 2022-04-26 01:32:31 +02:00
Matthias Mair
2f0291864f Merge branch 'inventree:master' into matmair/issue2385 2022-04-23 21:29:37 +02:00
Matthias
4c1a0ea9ce mkae user setting access simpler 2022-04-06 23:58:11 +02:00
Matthias Mair
547c51b81b pep fix 2022-04-06 01:47:11 +02:00