Commit Graph

10079 Commits

Author SHA1 Message Date
eeintech
a810708336 Updated Dark Reader color theme CSS after Bootstrap 5 port 2021-11-11 08:02:12 -05:00
Oliver
03aa9bc9b0 Tweaks for settings admin views 2021-11-11 22:39:31 +11:00
Oliver
d4db750d2f Clear the SERVER_RESTART_REQUIRED flag automatically when the server reloads 2021-11-11 22:26:46 +11:00
Oliver
cacc272424 Display a wanring message if server restart is required 2021-11-11 22:22:39 +11:00
Oliver
626637a06a Add "hidden" property to global settings
- Allows certain settings to be hidden from the javascript files
2021-11-11 22:16:46 +11:00
Oliver
2f3772f3bf define "requires_restart" function for global setting 2021-11-11 22:16:28 +11:00
Oliver
b17d6f932a
Merge pull request #2165 from nwns/feature/redisascache
Add support for using Redis as a cache and a broker
2021-11-11 17:08:41 +11:00
Oliver
9a017d950e
Merge pull request #2288 from matmair/matmair/issue2278
Add setting for enabeling reports
2021-11-11 11:23:32 +11:00
Oliver
95e63d1278
Merge pull request #2289 from matmair/ui-tewaks2
remove empty breadcrumb space in settings
2021-11-11 11:03:21 +11:00
Matthias
fcc94b3902
remove empty breadcrumb space in settings 2021-11-11 00:28:30 +01:00
Matthias
bae28e8207
Add setting for enabeling reports
Fixes #2278
2021-11-10 23:54:54 +01:00
Oliver
4d6189653e
Update README.md 2021-11-11 08:39:28 +11:00
Oliver
088e72c0b5
Merge pull request #2286 from SchrodingersGat/whoops-bug-fix
Fixes bug extracting list of bom items
2021-11-10 14:20:40 +11:00
Oliver
4a26f274af fixing silly bug I introduced 2021-11-10 14:00:30 +11:00
Oliver
5e8aab9137
Merge pull request #2285 from SchrodingersGat/bom-quantity
Normalize "available stock" quantity before exporting
2021-11-10 13:44:43 +11:00
Oliver
1bb51a7309 Normalize "available stock" quantity before exporting 2021-11-10 13:27:59 +11:00
Oliver
ae7cde7547
Merge pull request #2281 from SchrodingersGat/stock-sort
Adds "stock" column sorting for stock table
2021-11-10 12:20:07 +11:00
Oliver
f2c1791370
Merge pull request #2283 from SchrodingersGat/install-into-improvements
Improve options for installing a part into another part
2021-11-10 11:39:12 +11:00
Oliver
986a13864a Exclude 'serial_int' when exporting stock data 2021-11-10 11:37:30 +11:00
Oliver
919f182c25 Remove debug messages 2021-11-10 11:30:11 +11:00
Oliver
ba11a73f91 Fix for saving stock item objects 2021-11-10 11:22:58 +11:00
Oliver
bd81eba380 PEP style fixes 2021-11-10 11:13:30 +11:00
Oliver
6a534e0322 Improve options for installing a part into another part
- Allow "variant" parts when the BOM specifies that variants are allowed for a particular BOM item
2021-11-10 11:11:52 +11:00
Oliver
067f12d5eb PEP fixes 2021-11-10 11:01:12 +11:00
Oliver
25ce043337 Adjust ordering sequence for StockItem 2021-11-10 11:00:43 +11:00
Oliver
738ba4eddf Data migration to initially update serial number fields for all stock items
- Also automatically updates serial_int field when saving StockItem
2021-11-10 10:59:48 +11:00
Oliver
257be18d79 Add 'serial_int' field to stockitem model
- Allows for integer sorting of stock items
2021-11-10 10:47:17 +11:00
Oliver
85b906f49d Adds "stock" column sorting for stock table 2021-11-10 09:48:52 +11:00
Oliver
ab32ab0b3b
Merge pull request #2277 from SchrodingersGat/multi-report-fix
Fix for printing multiple reports at once
2021-11-10 09:26:55 +11:00
Oliver
558c2cc275
Merge pull request #2275 from SchrodingersGat/settings-via-api
Settings via api
2021-11-10 09:06:02 +11:00
Oliver
56bf0f0487 Fix for printing multiple reports at once
(bug introduced in 79434bb)
2021-11-10 09:03:15 +11:00
Oliver
3dae0c9c1c Remove old unit test code 2021-11-10 08:48:51 +11:00
Oliver
cfb873bb4f Bug fix for loading part table without enabling grid view 2021-11-09 22:47:19 +11:00
Oliver
db31bf91e6 Improve display of "no response from server" message 2021-11-09 22:41:54 +11:00
Oliver
e303b5a39b Catch for null value for settings choices 2021-11-09 22:37:50 +11:00
Oliver
8d7b73e2a8 Adds support for "multiple choice" field 2021-11-09 22:25:42 +11:00
Oliver
721d10a9ec Allow empty URLs 2021-11-09 22:14:26 +11:00
Oliver
1e80e33634 typo fix 2021-11-09 21:49:14 +11:00
Oliver
11dd187df2 javascript linting 2021-11-09 21:43:47 +11:00
Oliver
6347345c23 Ignore template files in common 2021-11-09 21:40:35 +11:00
Oliver
7dce9f3f3b PEP fixes 2021-11-09 21:37:54 +11:00
Oliver
476d2545ad Remove old server-side view 2021-11-09 21:33:32 +11:00
Oliver
eb5b810be0 Update displayed setting when API returns success 2021-11-09 21:29:31 +11:00
Oliver
5df4374607 javascript for editing settings via API 2021-11-09 21:16:37 +11:00
Oliver
324335a620 Convert to "native value" in the serializer 2021-11-09 17:43:36 +11:00
Oliver
4433befbdc Add list of 'choices' (read only) to serializer
- Check that the specified value is one of the valid options (if provided)
2021-11-09 17:21:59 +11:00
Oliver
07851f0b2c Include 'setting type' in API data 2021-11-09 17:07:41 +11:00
Oliver
0374c27d7c Adds "detail" view for user setting
- Users can only view / edit their own settings
2021-11-09 16:14:10 +11:00
Oliver
f3b4f7aa28 Add "detail" view for global settings objects
- Can view and edit (but not delete)
- User must have "staff" status to access
2021-11-09 16:07:25 +11:00
Oliver
cb583eb466 Add LIST endpoint for global settngs and user settings
- Read only, cannot create new settings
- User settings filters against the user making the request
2021-11-09 15:59:09 +11:00