Commit Graph

317 Commits

Author SHA1 Message Date
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
Matthias
0ebc45e834
replace i html tags 2021-09-02 00:18:47 +02:00
Matthias
6a420fd95c
replace bold tags 2021-09-02 00:17:12 +02:00
Oliver
f96051d863 Replace print statement with a logger warning 2021-08-23 21:39:54 +10:00
Matthias Mair
4c8fdab072
fixed descriptions 2021-08-23 09:44:52 +02:00
Matthias
8edfada22a
adding settings definitions for turning off features 2021-08-22 22:08:41 +02:00
Oliver
8861ffad81 PEP fixes 2021-08-15 12:06:31 +10:00
Oliver
faab1f2464 Provide global_settings and user_settings as context objects
- Adds a new context middleware
- Refactor the way that settings are provided to the javascript layer
2021-08-15 11:57:05 +10:00
Oliver Walters
ca9536f687 Implement option to display labels "inline" in the browser 2021-08-07 22:09:15 +10:00
Oliver Walters
d77b99c0ca Add user settings for report and labels 2021-08-07 21:57:41 +10:00
Oliver Walters
b04f22fc53 CreatePart form now uses the API
- Simplify the way category parameter templates are copied
2021-08-04 23:27:16 +10:00
Matthias
55762f2a96 do not use safe in template
that can cause wrong escaping and generally is considered unsafe
2021-08-01 01:41:46 +02:00
Matthias
369864574e only include setting in the settings that have a key 2021-07-30 23:25:45 +02:00
Oliver
c39e3aaa82 Bug fix 2021-07-29 17:52:24 +10:00
Oliver
4381a16b0e Template cleanup 2021-07-29 12:31:07 +10:00
Oliver
28bf5bfdbc Fix table_filters.js 2021-07-29 11:52:50 +10:00
Oliver
a222efda33 Fix rendering issues 2021-07-29 11:43:50 +10:00
Oliver
27ec65a002 Add 'settings.js' which provides all settings (global and user) as a dynamic javascript file
- Minimal database hits required
2021-07-29 11:28:04 +10:00
Oliver
78ed2776d1
Merge pull request #1863 from SchrodingersGat/settings-refactor
Refactoring existing settings views
2021-07-28 15:04:37 +10:00
eeintech
4e3635d1fe Exact query on ID made the PostGreSQL DB choke 2021-07-27 10:05:22 -04:00
Oliver
990b987692 Reload settings values "live" (without a page refresh) 2021-07-27 17:03:37 +10:00
Oliver
46d5a6f00b - Convert "PART_RECENT_COUNT" to user setting
- Convert "STOCK_RECENT_COUNT" to user setting
2021-07-27 14:53:32 +10:00
Oliver
33a0b73a05 Convert SEARCH_PREVIEW_RESULTS to a "user" setting 2021-07-27 14:44:51 +10:00
Matthias
31050f23aa adding all homepage settings 2021-07-24 00:08:46 +02:00
Matthias
e97ee95deb typo 2021-07-23 01:09:06 +02:00
Matthias
46b0db8263 more hompage settings 2021-07-23 01:07:28 +02:00
Matthias
e167f27258 get user settings in templates 2021-07-23 00:46:48 +02:00
Matthias
50356afd41 Merge branch 'master' of https://github.com/inventree/InvenTree into homepage-settings 2021-07-23 00:03:21 +02:00
Matthias
7abf70fdd7 style fix 2021-07-22 23:53:17 +02:00
Matthias
3b12b0231e fixing wired unique behaviour 2021-07-22 23:50:51 +02:00
Matthias
5f2bef7ee1 base implementation of user setting 2021-07-22 23:50:09 +02:00
Matthias
e287860e10 admin for user setting 2021-07-22 23:46:31 +02:00
Matthias
449fc329c9 usersetting edit url 2021-07-22 23:45:34 +02:00
Matthias
7ef87320a0 abstract edit 2021-07-22 23:44:25 +02:00
Matthias
6f5fc528b7 override functions 2021-07-22 23:43:51 +02:00
Matthias
8f374e255e abstract filters and refactor 2021-07-22 23:43:03 +02:00
Matthias
c0d6ef80fc unique model settings 2021-07-22 23:39:19 +02:00
Oliver
2ffae368f1 Add an option to configure number of parts displayed in search preview box 2021-07-21 15:05:14 +10:00
Matthias
ce3f7b698d InvenTreeUserSettings added 2021-07-20 01:35:58 +02:00
Matthias
ec53099872 abstracting Settings model 2021-07-20 01:34:35 +02:00
eeintech
53f2aa107a Umm watch out for the true fix! 2021-07-19 15:51:04 -04:00
eeintech
9acd57f8e0 CI was not completely fixed 2021-07-19 15:29:04 -04:00
eeintech
c1db4c7b3d Try to catch encoding error, fixed CI 2021-07-19 15:14:08 -04:00
eeintech
3ab058e84b Fixed default currency selection 2021-07-19 14:49:55 -04:00
Matthias
210a4bccde setting for #1796 2021-07-18 02:20:56 +02:00
Oliver
09d175f7cf Fix purchase order import form 2021-07-15 23:11:59 +10:00
Matthias
1bfa3cdd63 makes currency selection human-readable 2021-07-02 20:02:15 +02:00
Matthias
5aaced6e66 migration for file-based currency setting 2021-07-01 18:20:39 +02:00
Matthias
14c904c0c5 style fixes 2021-07-01 10:45:33 +02:00
Matthias
951e8910ba using functions for currency codes 2021-07-01 10:41:23 +02:00
Matthias
983255a05e naming refactor 2021-07-01 10:37:16 +02:00
Matthias
66c1e9c97d currency codes in own function 2021-07-01 10:32:07 +02:00
Matthias
fcdefc4f83 removing default_currency in fields 2021-07-01 00:40:26 +02:00
Matthias
e2278fc261 removing lambda 2021-07-01 00:33:24 +02:00
Matthias
3a57093b4e replace MoneyFields with inherited classes 2021-07-01 00:13:38 +02:00
Matthias
56b23389d3 missed the settings definition 2021-06-30 23:54:56 +02:00
Matthias
4fa57aee16 changing method call to avoid circle ref 2021-06-30 23:48:43 +02:00
Matthias
92645d790b use setting for currency_code_default 2021-06-30 23:36:46 +02:00
Matthias
88f57a211f setting for default currency 2021-06-30 23:35:57 +02:00
Matthias
d10169932d option to hide related parts #1733 2021-06-29 12:33:54 +02:00
Matthias Mair
e760aa172a
Merge branch 'master' into part-import 2021-06-26 23:58:41 +02:00
Matthias
7d5aa8189d Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-18 23:30:54 +02:00
Matthias
59e6cc1a10 Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-18 23:10:59 +02:00
Matthias Mair
8d317581dd
Merge branch 'master' into order-modal-show-price 2021-06-18 09:41:10 +02:00
Matthias
2cbdeae914 style-fix 2021-06-18 00:18:45 +02:00
Matthias
2d8b96a6b8 setting to control visibility of price 2021-06-17 23:15:42 +02:00
Matthias
74c4c559e4 clearer wording for internal price settings 2021-06-07 05:33:20 +02:00
Matthias
37c0025399 settings for internal prices added 2021-06-07 04:58:37 +02:00
Matthias
27282c8049 Merge branch 'master' of https://github.com/inventree/InvenTree into internal-price 2021-06-06 18:15:41 +02:00
Matthias
5a869d247f Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-06 17:46:33 +02:00
Matthias
4f7edac213 back button 2021-06-06 17:43:16 +02:00
Matthias
a2a2c61e31 refactor and fix rendering on error 2021-06-06 16:36:01 +02:00
Matthias
7439f72ab1 hide error messagre on error 2021-06-06 16:33:19 +02:00
Matthias
5e6919f14e hide error message 2021-06-06 16:32:46 +02:00
Matthias
35451248c2 reseting modal on open 2021-06-06 15:25:56 +02:00
Matthias
81f00753c6 style 2021-06-05 17:24:04 +02:00
Matthias
768080f9a0 Adding internal functions to use internal prices 2021-06-05 17:06:58 +02:00
Matthias
d87592aedb use the default currency in forms 2021-06-05 13:22:11 +02:00
Matthias
daf3d06cf0 added in optional matches 2021-06-05 01:19:12 +02:00
eeintech
74bd975a0b Revert back to form_list
Moved OrderMatchItemForm to forms.py
2021-06-04 13:41:07 -04:00
Matthias
625d868a3f fix for form_list 2021-06-03 00:29:24 +02:00
Matthias
fc9e1e6770 suggested changes @eeintech 2021-06-03 00:17:29 +02:00
Matthias
75cdec81ae style fix 2021-06-02 00:39:38 +02:00
Matthias
495babe712 Merge branch 'master' of https://github.com/inventree/InvenTree into part-import 2021-06-02 00:36:15 +02:00
Matthias
3c384947b2 spaces cleanup 2021-06-02 00:26:30 +02:00
Matthias
ee582a5490 fixes the problem reported by @eeintech ? 2021-06-02 00:21:01 +02:00
Oliver Walters
4520bb7447 PEP style fixes 2021-05-27 16:36:26 +10:00
Oliver Walters
af1904b6e4 Simplify exhange rate backend 2021-05-27 15:45:38 +10:00