Commit graph

71 commits

Author SHA1 Message Date
Daniel
7631b9d28a Expose SaveConfig for writing config to disk 2023-12-18 17:09:27 +01:00
Daniel
3afd5009bf Add value migrations to config options 2023-11-24 14:17:23 +01:00
Daniel
e3840f765e Add SettablePerAppAnnotation 2023-10-03 11:21:44 +02:00
Daniel
4451b6985c Improve config import and export utils 2023-10-03 11:21:44 +02:00
Patrick Pacher
65a9371fec Add new config annotation for settings that require a UI reload 2023-09-13 10:38:37 +02:00
Daniel
055c220a58 Expose config change event name 2023-08-22 16:37:32 +02:00
Daniel
3f5345e674 Add IsSetByUser to config.Option 2023-07-20 14:53:23 +02:00
Daniel Hovie
52ba3f0a15
Update option.go
Improve naming
2023-07-20 14:24:14 +02:00
Patrick Pacher
c992b8ea54
Add config annotation to mark a setting as "plan requires" 2023-07-19 10:59:31 +02:00
Daniel
0d3a0ebb95 Fix fs error handling 2022-10-11 12:27:30 +02:00
Daniel
412b4242c2 FIx linter errors 2022-09-29 10:55:01 +02:00
Daniel
e393dac9c3 Remove metrics instance name on export 2022-08-05 14:53:13 +02:00
Daniel
f08f16a5f3 Add file-picker display hint 2022-07-29 13:59:25 +02:00
Daniel
38d3c839ef Add config.GetActiveConfigValues to export active config values 2022-06-21 16:56:57 +02:00
Daniel
6ef0282dc4 Fix linter warnings 2022-03-21 15:42:41 +01:00
Daniel
a9b491cac2 Add debug info for config options 2022-03-19 22:00:57 +01:00
Daniel
deef6cdafc Mark config options as sensitive 2022-03-19 22:00:39 +01:00
Daniel
f739d08a40 Fix error handling when setting single config options 2022-03-01 15:49:16 +01:00
Daniel
bdd1bc2d86 Add proper validation errors to config module, enable soft-fail on start 2022-03-01 15:28:55 +01:00
Daniel
7d144dae89 Start config validity flag with invalid 2022-02-25 15:57:01 +01:00
Daniel
874214ea59 Improve validation error messages 2022-02-25 15:56:40 +01:00
Daniel
92c16b1c88 Add optional validation function to config options 2022-02-17 15:35:14 +01:00
Daniel
e6903c65dc Annotate config option if changed and restart is required 2022-02-03 15:36:18 +01:00
Daniel
6650fb3b19 Update linter settings and fix warnings 2022-02-02 14:58:27 +01:00
Daniel
f59ad0357a Fix tests and linter warnings 2022-02-01 13:12:46 +01:00
Daniel
462570f0c9 Delete copy of dsd formats in database.record package 2021-11-23 12:56:13 +01:00
Daniel
daed152e6d Update expertise level option names 2021-11-09 10:11:38 +01:00
Daniel
b50f922fb5 Update release level config 2021-10-15 16:39:47 +02:00
Daniel
f18c0c5564 Improve events and expose them via the runtime database 2021-05-05 00:13:50 +02:00
Daniel
480807a31c Improve flags 2021-05-05 00:11:10 +02:00
Daniel
90939d8464 Add log level config option 2021-03-31 10:30:01 +02:00
Daniel
7dd62276af Move devMode config option to config pkg 2021-01-28 16:49:25 +01:00
Daniel
40c2849bab Add config export via flag and API 2021-01-19 15:38:10 +01:00
Daniel
8806469181 Update config wording and metadata 2020-11-04 14:35:54 +01:00
Daniel
505fcc8913 Implement review suggestions 2020-10-30 13:27:11 +01:00
Daniel
dbbe556f3c Add Has fn to config perspective 2020-10-29 14:28:09 +01:00
Daniel
8a0c3a077c Fix linter errors and update deps 2020-10-29 14:28:09 +01:00
Daniel
3f3305d8c2 Improve config naming 2020-10-29 14:28:09 +01:00
Patrick Pacher
45d8d7eaf9 Add StackableAnnotation and update wording 2020-10-29 14:28:09 +01:00
Patrick Pacher
d24deb013b Add quick-settings and requires annotation 2020-10-27 14:18:09 +01:00
Patrick Pacher
ea02f59b14
Fix multiple race conditions in config package 2020-10-08 09:13:16 +02:00
Patrick Pacher
baf6301eb5
Merge branch 'develop' into feature/ui-revamp 2020-09-29 09:18:36 +02:00
Daniel
362539692e Improve interfaces and fix more linter errors 2020-09-24 09:50:38 +02:00
Patrick Pacher
62d2737849
Add category annotations to options 2020-09-22 15:40:56 +02:00
Patrick Pacher
330e6bd1f1
Add PossibleValues support and option annotations 2020-09-15 09:00:58 +02:00
Daniel
7eddf7b774 Implement review suggestions 2020-05-01 14:33:53 +02:00
Daniel
09e4c68f7b Improve and expose config format handling 2020-04-28 09:47:02 +02:00
Daniel
a554481247 Add Order field to config Option 2020-04-21 14:11:39 +02:00
Daniel
558486483b Improve database storage put method 2020-04-15 17:27:33 +02:00
Patrick Pacher
bfd592b5dd
Fix validation error for floats 2020-04-15 09:49:24 +02:00