Commit Graph

77 Commits

Author SHA1 Message Date
Jakob Ketterl
cec4e326c8 prevent "None" showing up in text inputs 2022-06-09 17:24:53 +02:00
Jakob Ketterl
9689ce5202 catch invalid config values for enum dropdowns and reset to default 2021-09-30 23:32:46 +02:00
Jakob Ketterl
818b9d87b8 add a validator that prevents invalid locations 2021-09-30 23:26:26 +02:00
Jakob Ketterl
0f2aca62f3 code style 2021-09-30 23:09:22 +02:00
Jakob Ketterl
6a59369c62 update remote device input field behaviour 2021-07-05 12:58:16 +02:00
Jakob Ketterl
3f7a93acfc drop the scheduler from the config if it's empty 2021-05-19 16:02:44 +02:00
Jakob Ketterl
33a942707c allow slots to be off in the daylight scheduler 2021-05-17 23:23:25 +02:00
Jakob Ketterl
4b969fa3b2
Merge pull request #235 from jancona/hpsdr_config
Set proper config options for HPSDR connector
2021-05-12 21:13:37 +02:00
Jakob Ketterl
1020c9bac9 improve form validation
* don't ingore errors in optional fields
* don't attempt parsing if key is not present in upload
* force display of fields with errors
2021-05-12 16:22:45 +02:00
Jim Ancona
87b9a52fcb Don't filter inputs, add a validator for RF Gain 2021-05-11 11:21:52 -04:00
Jakob Ketterl
2d2f9bed40 add empty __init__.py (PEP420 doesn't always work...) 2021-05-11 14:28:35 +02:00
Jakob Ketterl
af553c422d implement file size upload limit 2021-04-29 18:18:18 +02:00
Jakob Ketterl
29bce9e07a refactor: move form stuff out of source code 2021-04-29 15:28:18 +02:00
Jakob Ketterl
35dcff90ea refactor owrx.form -> owrx.form.input 2021-04-29 15:17:21 +02:00
Jakob Ketterl
96cce831ef don't tab into the exponent selector input 2021-03-31 01:28:38 +02:00
Jakob Ketterl
5a7c12dfac expose waterfall auto adjustment settings in web config 2021-03-31 00:18:06 +02:00
Jakob Ketterl
20cd3f6efe more inputs that can display errors 2021-03-25 15:02:59 +01:00
Jakob Ketterl
69237c0bb4 make more inputs display errors 2021-03-25 14:48:09 +01:00
Jakob Ketterl
6ddced4689 implement basic error handling and validation for forms 2021-03-24 22:46:51 +01:00
Jakob Ketterl
4e14b29537 apply type="button" on all buttons to make submit on enter work 2021-03-03 23:25:00 +01:00
Jakob Ketterl
0537e23e38 make a more generic ExponentialInput and use that for the sample_rate input 2021-02-27 23:14:41 +01:00
Jakob Ketterl
7a0c934af5 use frequency input for the other inputs, too 2021-02-27 22:44:48 +01:00
Jakob Ketterl
c389d3b619 implement a frequency input with switchable exponent 2021-02-27 22:15:19 +01:00
Jakob Ketterl
d8b3974728 use floats; explicit conversion 2021-02-25 20:50:40 +01:00
Jakob Ketterl
5cd9d386a6 combine waterfall_[min|max]_level into a single config 2021-02-25 15:13:39 +01:00
Jakob Ketterl
f6f0a87002 this todo is resolved 2021-02-25 00:38:23 +01:00
Jakob Ketterl
2785f43c6a implement adding and removing scheduler slots 2021-02-24 21:09:19 +01:00
Jakob Ketterl
45a70a1079 parse values from form 2021-02-24 20:17:43 +01:00
Jakob Ketterl
2d823b2945 render scheduler profile inputs 2021-02-24 19:56:07 +01:00
Jakob Ketterl
65758a0098 start implementing scheduler input (daylight works) 2021-02-24 17:12:23 +01:00
Jakob Ketterl
ea96038201 remove unused imports 2021-02-24 12:31:53 +01:00
Jakob Ketterl
dfaecdb357 use hierarchical property layers to make config changes effective
immediately
2021-02-23 23:23:37 +01:00
Jakob Ketterl
631232fe7c make AGC optional 2021-02-23 20:02:38 +01:00
Jakob Ketterl
c5df6a1527 implement profile editing page 2021-02-23 18:32:23 +01:00
Jakob Ketterl
d15d9d8c76 remove implicit optional handling for optional fields 2021-02-23 00:27:29 +01:00
Jakob Ketterl
679f99d701 change checkbox handling to detect presence 2021-02-23 00:11:51 +01:00
Jakob Ketterl
1eff7a3b69 fix typo 2021-02-22 23:52:57 +01:00
Jakob Ketterl
54a34b2084 implement optional device fields 2021-02-22 23:49:28 +01:00
Jakob Ketterl
9beb3b9168 remove the label attribute from the checkboxes 2021-02-22 00:57:02 +01:00
Jakob Ketterl
361ed55b93 add more device-specific options 2021-02-20 19:20:31 +01:00
Jakob Ketterl
18e8ca5e43 add bias_tee and direct_sampling options 2021-02-20 18:48:12 +01:00
Jakob Ketterl
058463a9b3 fix display and parsing issues 2021-02-20 00:36:18 +01:00
Jakob Ketterl
bd7e5b7166 implement individual gain stages option 2021-02-20 00:16:32 +01:00
Jakob Ketterl
d0d946e09f implement gain dialog with AGC option 2021-02-19 21:07:13 +01:00
Jakob Ketterl
86278ff44d wire data parsing and storage 2021-02-19 18:45:29 +01:00
Jakob Ketterl
039b57d28b add more inputs, bind to actual data 2021-02-19 18:18:25 +01:00
Jakob Ketterl
06d4b24b09 handle config key not set 2021-02-18 15:27:05 +01:00
Jakob Ketterl
691d88f841 waterfall config fine-adjustments
* hide the waterfall colors input when pre-defined color scheme is
  selected
* skip unparseable lines on custom color input
* fallback to black and white if custom color config is unusable
* always use the waterfall classes when sending changes to the client
2021-02-16 18:35:18 +01:00
Jakob Ketterl
8d2763930b implement input for custom waterfall colors 2021-02-16 18:07:13 +01:00
Jakob Ketterl
c8496a2547 remove unused import 2021-02-16 15:59:31 +01:00