Commit Graph

202 Commits

Author SHA1 Message Date
Matthias dd44eb389f
add a notification message model
part of #2282
2021-11-27 16:02:23 +01:00
Matthias d884e62be1
[FR] Confirm to W293
Fixes #2335
2021-11-23 00:28:23 +01:00
Matthias 1798214cd2
add protected settings in model 2021-11-19 23:59:57 +01:00
Oliver 1deb0f2c1b
Merge pull request #2296 from SchrodingersGat/requires-restart
Requires restart
2021-11-12 16:02:31 +11:00
Matthias 3be21c59ec
remove default listing without a key 2021-11-11 23:07:46 +01:00
Oliver 03aa9bc9b0 Tweaks for settings admin views 2021-11-11 22:39:31 +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
Matthias bae28e8207
Add setting for enabeling reports
Fixes #2278
2021-11-10 23:54:54 +01:00
Oliver 721d10a9ec Allow empty URLs 2021-11-09 22:14:26 +11:00
Oliver 7dce9f3f3b PEP fixes 2021-11-09 21:37:54 +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 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
Oliver 71bb6fff50 Add option to hide inactive parts in search preview window 2021-11-04 22:25:35 +11:00
Oliver bebf368d06 Add functionality and unit testing for new model 2021-11-04 01:11:42 +11:00
Oliver e7b93a54d8 Add new model "NotificationEntry"
- Keep track of past notifications
2021-11-04 00:55:43 +11:00
Oliver 193d6b334c Add option to display "starred categories" on the index page 2021-11-03 23:29:36 +11:00
Oliver 4bfdf21107 Change "star" icon to "bullhorn" icon 2021-11-02 15:07:20 +11:00
Oliver a3889c709e More tweaks 2021-11-02 12:57:40 +11:00
Oliver abf2093ab9 Adds user option to enable "sticky header" 2021-10-27 16:26:41 +11:00
Oliver 5802a27fe7 Add a per-user setting to enable display of stock in search results 2021-10-18 16:23:42 +11:00
Oliver 744befcc96
Merge pull request #2161 from matmair/onboarding-group
Onboarding group
2021-10-15 12:55:55 +11:00
Oliver 8e4deaa8c8 Standardize spelling of email / e-mail
(Spoiler: I chose "email")
2021-10-15 11:52:13 +11:00
Matthias 0657b71fe8
clearer name and PEP foxes 2021-10-14 22:19:52 +02:00
Matthias e0887cf55f
move goup forming into own function 2021-10-14 22:16:07 +02:00
Matthias b26bf780c3
setting to register group on signup 2021-10-14 21:27:09 +02:00
rocheparadox 5a6bea3452 improve regex for part name format validation
proper import of validation
2021-10-14 09:35:26 +05:30
rocheparadox ee9e01fc22 removed unused import 2021-10-14 09:26:26 +05:30
rocheparadox 8cad687e43 Moved part name format validation to InvenTree.validators.py from common.models
validation to check if a field exists in part model
2021-10-14 09:23:21 +05:30
Matthias 147d2d4631
fix default setting to not change current behaviour 2021-10-13 17:40:50 +02:00
rocheparadox 294011a973 Merge remote-tracking branch 'upstream/master' 2021-10-13 10:10:59 +05:30
Oliver 4f985ae225 Revert 1fb76b9
Removes global functions to enable / disable entire sections of functionality
2021-10-13 09:40:17 +11:00
rocheparadox 2bf51b0ac3 Added PART_NAME_FORMAT to Inventree settings and exposed the same in settings window with a validator 2021-10-12 19:06:23 +05:30
Oliver 19a8c712d4
Merge pull request #2017 from matmair/fr-1421-sso
SSO!
2021-10-11 17:20:08 +11:00
Oliver a32b5fdd64 Adds setting to close forms using escape key
- Configurable per user
- Default = false (to preserve behavior)
2021-10-11 11:16:33 +11:00
Matthias Mair 848a72604e
Merge branch 'inventree:master' into fr-1421-sso 2021-10-08 22:38:16 +02:00
Oliver 69d932e193 Add a global setting to control price display in BOM tables 2021-10-08 12:47:27 +11:00
Matthias fe7ab40b48
Merge branch 'master' of https://github.com/inventree/InvenTree into fr-1421-sso 2021-10-07 18:12:25 +02:00
Oliver d9fddf64f1 Make this setting a per-user setting 2021-10-06 22:22:20 +11:00
Oliver 166af3592d Add optional display of part stock quantity in forms 2021-10-06 22:12:59 +11:00
Matthias 53de59f84b
setting for two password fields on signup 2021-09-07 07:37:28 +02:00
Matthias af286766ea
setting for two mail fields on signup 2021-09-07 07:17:00 +02:00
Matthias 1f03d43b92
settings for auto-fill on sso 2021-09-07 01:19:44 +02:00
Matthias a4209d38cc
setting to make mail required on signup 2021-09-06 22:07:50 +02:00
Matthias e255f2bf42
setting for sso login 2021-09-05 20:20:57 +02:00
Matthias 34a15ff51f
setting to enable signup 2021-09-05 20:17:49 +02:00
Matthias fa1ea2f701
setting for pwd forgot 2021-09-05 19:56:48 +02:00
Oliver f96051d863 Replace print statement with a logger warning 2021-08-23 21:39:54 +10:00