Commit Graph

10084 Commits

Author SHA1 Message Date
Oliver
3a7f8c9196 Fix comparison operator 2021-11-04 16:18:49 +11:00
Oliver
75d7530e30 Fix missing tag in template 2021-11-04 16:17:05 +11:00
Oliver
5ae6241083 Fixes for low-stock emails
- Include variant stock in test
- Improve email template
2021-11-04 16:15:11 +11:00
Oliver
3b052e6bce
Merge pull request #2247 from SchrodingersGat/tree-view-fixes
Fix for tree-view
2021-11-04 15:30:07 +11:00
Oliver
170d8d11d3
Merge pull request #2246 from SchrodingersGat/build-order-notification
Build order notification
2021-11-04 15:23:39 +11:00
Oliver
47f6a8266d Fix for tree-view
- Force "cascade" to be set
2021-11-04 15:08:22 +11:00
Oliver
42a794e8e4 Fix CI errors 2021-11-04 15:05:54 +11:00
Oliver
01191d84c5 Only run check stock function when updating an existing part 2021-11-04 14:32:42 +11:00
Oliver
99b324d1ef Add a post-save hook the "Build" model to check stock 2021-11-04 14:30:23 +11:00
Oliver
6db6a70fc2 Add task to check required stock for build order 2021-11-04 13:32:14 +11:00
Oliver
5cd2a14314
Merge pull request #2245 from SchrodingersGat/bom-export-fix
Refactored bom export
2021-11-04 12:28:01 +11:00
Oliver
9dba3c3f10 Refactored bom export 2021-11-04 12:10:36 +11:00
Oliver
be543ca3da Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-04 10:57:40 +11:00
Oliver
8025dab69b
Merge pull request #2244 from SchrodingersGat/notification-fox
Fix for missing template file
2021-11-04 10:56:48 +11:00
Oliver
3b56895f4d Merge branch 'master' into stock-item-forms 2021-11-04 10:34:49 +11:00
Oliver
b279317f89 Button style fixes 2021-11-04 10:24:47 +11:00
Oliver
4118f98d4d Display more errors 2021-11-04 10:17:38 +11:00
Oliver
b6d48cab2a Make further use of notification messages 2021-11-04 10:14:01 +11:00
Oliver
df30a85c03 More fixes:
- Add "back to site" button on logout screen
- Add favicon to account pages
- Refactor notifications / alerts / caching
2021-11-04 09:59:56 +11:00
Oliver
7aacd8b36c
Merge pull request #2242 from matmair/patch-1
Small fixes for bug report template
2021-11-04 09:57:27 +11:00
Oliver
4e7825df13 Fix javascript issues on login screens 2021-11-04 09:26:32 +11:00
Oliver
d4a8f5823c Fix for missing template file 2021-11-04 09:13:13 +11:00
Matthias Mair
717bfde73d
bug report simplification
Hide descriptions so the reports from inexperienced users get less cluttered
2021-11-03 23:07:25 +01:00
Oliver
0e2e6211b6
Merge pull request #2233 from SchrodingersGat/subscription-refactor
Refactor "star" functionality for part model
2021-11-04 09:05:03 +11:00
Matthias Mair
19afcc52e8
Update bug_report.md
fix spelling error
2021-11-03 23:00:52 +01:00
Oliver
52242e7a00 Catch error 2021-11-04 08:40:38 +11:00
Oliver
3a61d11f5a Adds a scheduled task to remove old notification entries from the database 2021-11-04 01:33:26 +11:00
Oliver
6c724556f1 PEP fixes 2021-11-04 01:21:08 +11:00
Oliver
a447e22108 Prevent low-stock notifications from overwhelming users
- Limit to once per day, per part
2021-11-04 01:18:00 +11:00
Oliver
bebf368d06 Add functionality and unit testing for new model 2021-11-04 01:11:42 +11:00
Oliver
1f7676ee65 Add admin entry for new model 2021-11-04 01:06:57 +11:00
Oliver
e7b93a54d8 Add new model "NotificationEntry"
- Keep track of past notifications
2021-11-04 00:55:43 +11:00
Oliver
ef2307aeaa Add new model to permissions table 2021-11-04 00:46:23 +11:00
Oliver
5542532223 Template tweaks 2021-11-04 00:44:16 +11:00
Oliver
ee7c3ae066 Update index page 2021-11-04 00:38:34 +11:00
Oliver
476a1342c1 Improve notification of 'low stock' parts:
- Traverse up the variant tree
- Enable subscription by "category"
2021-11-04 00:28:10 +11:00
Oliver
1c6eb41341 Ability to toggle part category "star" status via the API 2021-11-04 00:01:52 +11:00
Oliver
193d6b334c Add option to display "starred categories" on the index page 2021-11-03 23:29:36 +11:00
Oliver
7567b8dd63 MOAR FEATURES:
- Add admin view for PartCategoryStar
- Add starred status to partcategory API
- Can filter by "starred" status
- Rename internal functions back to using "starred" (front-end now uses the term "subscribe")
2021-11-03 23:22:31 +11:00
Oliver
f9a00b7a90 Adds extra subsctiption functionality for Part and PartCategory
- Allows variants and templates
- Allows categories and sub-categories
- Unit testing
2021-11-03 22:57:49 +11:00
Oliver
cf023e2cc1 Create new model for "PartCategory" 2021-11-03 18:10:34 +11:00
Oliver
4cf6b9bd31 Remove old function 2021-11-03 17:59:08 +11:00
Oliver
e7f6268640 Improvements for alert notifications
- Dismissable
- Delete after a certain amount of time
2021-11-03 17:55:30 +11:00
Oliver
85adf842f6 Change bullhorn icon to bell icon 2021-11-03 16:59:59 +11:00
Oliver
63ec5770f4 Merge remote-tracking branch 'inventree/master' into subscription-refactor 2021-11-03 16:55:54 +11:00
Oliver
e5435df2ba Merge remote-tracking branch 'inventree/master' into stock-item-forms 2021-11-03 15:46:30 +11:00
Oliver
74521b7628
Merge pull request #2239 from SchrodingersGat/more-part-details
Add more information to the "part details" tab
2021-11-03 14:18:43 +11:00
Oliver
31ea71d391 Display part category 2021-11-03 14:00:13 +11:00
Oliver
7d20003137
Merge pull request #2238 from SchrodingersGat/table-fix
Table fix
2021-11-03 13:57:54 +11:00
Oliver
d435689562 Add more information to the "part details" tab 2021-11-03 13:57:50 +11:00