Abhigyan Khaund
bb99015fd2
config-util: Use package reload instead of custom reload.
...
This is a WIP commit to fix the errors while saving settings that occur from
reloadDB function.
2018-09-03 15:25:07 +05:30
Abhigyan Khaund
7299cd51e6
sentry: Initialize sentry for main and renderer process using logger-util.
...
captureExceptions are used to report expected exceptions from domain-util.js and
config-util.js.
All files that include logger-util automatically includes sentry for those files
and report unexpected exceptions to sentry.
2018-07-13 12:57:48 +05:30
Abhigyan Khaund
df35ffc3b0
config-files: Move all the configuration files into config folder. ( #508 )
...
This commit moves all the configuration(.json) files into a config folder
if the config folder doesn't already exist. It also updates the places
where these files are being accessed with the new address.
This will help us zip the folder easily in the future.
2018-07-04 14:46:13 +05:30
Abhigyan Khaund
22d6c6a2f3
config-util: Change return to a single return statement in isConfigItemExists.
...
Also add comments to describe the isConfigItemExists function.
2018-06-14 21:47:44 +05:30
Abhigyan Khaund
339a415d60
config-util: Add isConfigItemExists to check if a key exists.
2018-06-09 01:04:20 +05:30
Akash Nimare
1eabf5c5a2
Update settings error message.
2018-06-03 03:15:28 +05:30
Akash Nimare
4d020c639b
Document error message properly.
2018-06-03 03:08:05 +05:30
cPhost
1abf62555c
logger-util: code refactoring and better logs design.
...
This imporves logging and refactors most of the code.
This also renames console-util to logger-util.
2017-12-26 22:03:05 -05:00
akashnimare
72cb8459ff
code refactoring.
2017-12-26 01:02:42 +05:30
cPhost
c4a7264f34
console: Fix errors where Logs dir can't be created.
2017-12-25 09:50:52 -05:00
cPhost
3b014e0715
settings util: delete settings.json file in case it is corrupted.
2017-12-17 15:17:08 -05:00
Zhongyi Tong
647303c001
Implement proxy.
2017-08-20 23:00:50 -04:00
Zhongyi Tong
cd387aaf9c
Reload db after update.
2017-07-05 20:41:01 +08:00
Zhongyi Tong
d3a5eceaf9
Change config filename to avoid conflict.
2017-07-05 19:25:34 +08:00
Zhongyi Tong
b1365f9669
Fix defaultValue not set on the first time.
2017-07-05 18:58:25 +08:00
Zhongyi Tong
46cf5c9a5c
Make ConfigUtil runnable in both processes.
2017-07-05 18:05:50 +08:00
Zhongyi Tong
2fcc5d9649
Fix linting errors.
2017-07-03 02:02:43 +08:00
Zhongyi Tong
81d3aa8a1b
Add ConfigUtil to manage config items.
2017-07-03 02:02:43 +08:00