Commit graph

72 commits

Author SHA1 Message Date
iLLiCiTiT
880116d9a6 added some docstrings and comments 2021-03-11 18:39:00 +01:00
iLLiCiTiT
3212fb2c13 added function to load site overrides from local settings 2021-03-11 18:33:46 +01:00
iLLiCiTiT
9dfb976e19 skip "roots" key when loading site overrides for anatomy 2021-03-11 18:33:31 +01:00
iLLiCiTiT
25fcec78b0 get_anatomy_settings and get_project_settings can not apply local settings 2021-03-11 16:29:38 +01:00
iLLiCiTiT
c370d5f340 it is possible to pass site_name to get_anatomy_settings 2021-03-11 11:51:52 +01:00
iLLiCiTiT
a469f2d01a modified order of local settings processing 2021-03-10 18:08:27 +01:00
iLLiCiTiT
5a2aea6677 added applications of project settings 2021-03-10 18:00:14 +01:00
iLLiCiTiT
1c727612f6 active site is also used from sync server when roots are filled 2021-02-25 15:01:09 +01:00
iLLiCiTiT
1cf3d92480 changed site roots modification on anatomy data load 2021-02-25 12:21:46 +01:00
iLLiCiTiT
7b6d0d20df default project is stored under constant key in local settings 2021-02-24 17:53:33 +01:00
iLLiCiTiT
ff1a694cad added temporary fix of application executables 2021-02-24 17:53:02 +01:00
iLLiCiTiT
818a7c457e added some docstrings 2021-02-23 19:06:55 +01:00
iLLiCiTiT
8112c6c948 fix class name typo 2021-02-23 18:57:27 +01:00
iLLiCiTiT
158119c2c3 added functions to apply local settings 2021-02-23 18:32:03 +01:00
iLLiCiTiT
f8d0f6a141 moved local settings functions in code 2021-02-23 17:39:14 +01:00
iLLiCiTiT
4d1b825328 implemented functions to load and save local settings 2021-02-23 17:22:27 +01:00
iLLiCiTiT
07d854746a fix anatomy overrides until override metadata are stored properly 2021-02-12 15:20:26 +01:00
iLLiCiTiT
a04014d1f4 removed M_POP_KEY variable 2021-02-09 10:44:25 +01:00
Milan Kolar
2919a94932
Merge pull request #811 from pypeclub/feature/settings_in_mongo
Settings store in mongo
2020-12-14 11:39:41 +01:00
iLLiCiTiT
51ad0b5b96 hanler is imported in create_settings_handler 2020-12-14 10:14:34 +01:00
iLLiCiTiT
2816f50473 few minor fixes 2020-12-11 17:34:38 +01:00
iLLiCiTiT
c6fbd47979 moved back settings lib functions and _SETTINGS_HANDLER is set with wrapper 2020-12-11 17:28:32 +01:00
iLLiCiTiT
9299eb55e9 removed ENVIRONEMNTS_KEY as not used 2020-12-11 16:34:31 +01:00
iLLiCiTiT
50434ecb60 use absolute path to defaults 2020-12-11 16:08:04 +01:00
iLLiCiTiT
de92f0a8d3 extracted current storing process to SettingsFileHandler 2020-12-11 16:07:47 +01:00
iLLiCiTiT
ab5fadccbb extracted constants to constants.py 2020-12-11 16:05:21 +01:00
iLLiCiTiT
6a3184e56f do not cache defaults 2020-12-11 13:15:49 +01:00
iLLiCiTiT
a96c2f4ea6 default metadata are not resolved on get_anatomy_settings 2020-12-04 17:21:54 +01:00
iLLiCiTiT
3deca82c81 do not remove metadata from system settings on loading of environments 2020-12-04 11:05:47 +01:00
iLLiCiTiT
372569c5b1 fix imports and usage of get_anatomy_settings 2020-12-03 22:02:14 +01:00
iLLiCiTiT
d6a75d8cbe Merge branch '2.x/develop' into feature/rename_get_anatomy_data 2020-12-03 21:59:44 +01:00
iLLiCiTiT
e7f0af72d8 renamed get_default_project_anatomy_data to get_default_anatomy_settings 2020-12-03 19:36:05 +01:00
iLLiCiTiT
fbb0f5ffca renamed get_anatomy_data to get_anatomy_settings 2020-12-03 19:35:41 +01:00
iLLiCiTiT
31a2c70b26 implemented clear_metadata_from_settings to remove metadata from loaded settings 2020-12-03 19:29:13 +01:00
iLLiCiTiT
41ce3ea190 last fix! 2020-12-03 15:57:43 +01:00
iLLiCiTiT
ca7663bbc9 renamed overrides getter function 2020-12-03 15:53:04 +01:00
iLLiCiTiT
025cf4e8cc added function to get current context project settings get_current_project_settings 2020-12-03 11:23:30 +01:00
iLLiCiTiT
a562e0c3bc fixed docstring 2020-12-03 11:22:46 +01:00
iLLiCiTiT
09a62d8050 added get_default_project_anatomy_data and get_default_project_settings 2020-12-03 11:19:50 +01:00
iLLiCiTiT
8e1f1fc7cc make cleaner get overrides function names 2020-12-03 11:19:13 +01:00
iLLiCiTiT
79b4cc9f11 added function get_anatomy_data to get anatomy data 2020-12-03 10:43:44 +01:00
iLLiCiTiT
7db9a0ca9d get_environments skip deprecated environemnts loading 2020-12-03 10:43:12 +01:00
iLLiCiTiT
0685c98c77 fixed json decode exception for python 2 2020-12-03 10:41:19 +01:00
iLLiCiTiT
a97cc086ed settings function names are with verbs now 2020-12-03 10:41:05 +01:00
iLLiCiTiT
0b18f1cce3 fixed few issues of loaded data 2020-11-27 19:01:25 +01:00
iLLiCiTiT
0ebd6466e9 updated lib with new modifications 2020-11-27 03:32:30 +01:00
Milan Kolar
cc95749819 Small fixes in docstrings 2020-11-27 03:04:19 +01:00
iLLiCiTiT
fd00cf196b modified first docstring by comments 2020-11-27 03:03:57 +01:00
iLLiCiTiT
170d2dc305 modified docstring in save functions to be more clear 2020-11-27 03:03:49 +01:00
iLLiCiTiT
4ae64993bc added few dostrings
# Conflicts:
#	pype/settings/lib.py
2020-11-27 03:03:43 +01:00