Commit Graph

1053 Commits

Author SHA1 Message Date
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
383c08ed48 implement tuning precision dropdown 2021-03-24 23:43:19 +01:00
Jakob Ketterl
19496d46a3 fix form evaluation for optional fields 2021-03-24 23:17:50 +01:00
Jakob Ketterl
6ddced4689 implement basic error handling and validation for forms 2021-03-24 22:46:51 +01:00
Jakob Ketterl
4cbce9c840 always remove device props on switch, fixes device failover 2021-03-24 20:47:04 +01:00
Jakob Ketterl
b01792c3d2 fix deletion of sdrs when there's no changes 2021-03-24 17:25:59 +01:00
Jakob Ketterl
5f7daba3b2 move the default sdrs to the new defaults file 2021-03-24 17:19:49 +01:00
Jakob Ketterl
a90f77e545 retain the redirect url on login failure 2021-03-24 16:53:01 +01:00
Jakob Ketterl
d50d08ad2c add a robots.txt to exclude certain routes for search engines 2021-03-24 16:08:13 +01:00
Jakob Ketterl
deeaccba12 profile as properties, live sync additions and removals with the client 2021-03-24 15:57:25 +01:00
Jakob Ketterl
c9d303c43e remove "configurable_keys" hack 2021-03-21 15:19:40 +01:00
Jakob Ketterl
acee318dae make the frontend resume when an sdr device becomes present 2021-03-21 00:14:18 +01:00
Jakob Ketterl
8fa1796037 re-start connection sdr if no sdr was available before 2021-03-20 23:30:09 +01:00
Jakob Ketterl
2a82f4e452 wire profile transmission into active sdr device hash 2021-03-20 23:14:29 +01:00
Jakob Ketterl
341e254640 fix shutdown iteration 2021-03-20 17:24:00 +01:00
Jakob Ketterl
d872152cc8 restore python 3.5 compatibility 2021-03-20 17:23:35 +01:00
Jakob Ketterl
3b9763eee5 fix device deletion 2021-03-20 02:16:08 +01:00
Jakob Ketterl
cfeab98620 hook up service handling to new device events 2021-03-20 01:56:07 +01:00
Jakob Ketterl
792f76f831 turn the dict of active sources into a living PropertyManager 2021-03-20 01:10:18 +01:00
Jakob Ketterl
c58ebfa657 readonly also prevents deletion 2021-03-20 00:54:45 +01:00
Jakob Ketterl
c50473fea5 implement device shutdown on deletion or lack of profiles 2021-03-18 22:59:46 +01:00
Jakob Ketterl
f1619b81fe use the right method 2021-03-18 22:24:53 +01:00
Jakob Ketterl
364c7eb505 show more information on the sdr settings page 2021-03-18 21:53:59 +01:00
Jakob Ketterl
9dcf342b13 fix scheduler behavior on enable / disable 2021-03-18 21:17:23 +01:00
Jakob Ketterl
d573561c67 activate enable / disable cycle 2021-03-18 19:59:10 +01:00
Jakob Ketterl
37e7331627 fix device failover (concurrent modification problem) 2021-03-18 19:47:11 +01:00
Jakob Ketterl
b25a673829 refactor state handling: uncouple failed and enabled flags 2021-03-18 19:34:53 +01:00
Jakob Ketterl
916f19ac60 mapping sdr device layer 2021-03-18 18:59:38 +01:00
Jakob Ketterl
620771eaf2 use a property layer right from the start 2021-03-18 18:58:29 +01:00
Jakob Ketterl
161408dbf4 handle deletions correctly 2021-03-06 23:48:31 +01:00
Jakob Ketterl
e0985c3802 fix status page 2021-03-06 23:34:27 +01:00
Jakob Ketterl
3d20e3ed80 simplify api by abstracting layer changes 2021-03-06 22:20:47 +01:00
Jakob Ketterl
ff9f771e1b handle the resampler 2021-03-05 19:44:45 +01:00
Jakob Ketterl
4c5ec23ba7 remove profile list from sdr device index 2021-03-05 19:44:25 +01:00
Jakob Ketterl
1b44229ec3 clean up profile handling 2021-03-05 19:28:54 +01:00
Jakob Ketterl
2e28694b49 implement profile removal behaviour 2021-03-05 19:09:51 +01:00
Jakob Ketterl
2ba2ec38e0 new profile carousel implementation reacts to new profiles 2021-03-05 18:57:09 +01:00
Jakob Ketterl
a3cfde02c4 re-wire profile add & delete 2021-03-05 18:32:16 +01:00
Jakob Ketterl
a14f247859 make the add button look more like the remove button 2021-03-05 18:07:19 +01:00
Jakob Ketterl
45e9bd12a5 hightlight "new profile" link 2021-03-05 17:51:19 +01:00
Jakob Ketterl
190c90ccdf tab styling 2021-03-05 17:43:15 +01:00
Jakob Ketterl
60df3afe26 add tab navigation to profile and device pages 2021-03-04 22:14:10 +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
3814200452 implement device and profile deletion 2021-03-03 23:07:41 +01:00
Jakob Ketterl
a9dbedee6d consistent wording 2021-03-03 22:35:57 +01:00
Jakob Ketterl
8671f98c14 implement "add profile" sequence 2021-03-03 22:33:37 +01:00
Jakob Ketterl
400ed3541d update "new sdr" routing too to avoid conflicts 2021-03-03 22:10:19 +01:00
Jakob Ketterl
03315d7960 switch url scheme to avoid conflicts 2021-03-03 21:55:49 +01:00
Jakob Ketterl
d123232f28 implement device and profile delete modals 2021-03-03 21:51:33 +01:00
Jakob Ketterl
eab1c6ce80 remove profile list from device page; make links work 2021-03-03 15:38:15 +01:00
Jakob Ketterl
fdbb76bca1 add working redirect after device add completes 2021-03-03 15:30:33 +01:00
Jakob Ketterl
c0b7cf5f8d resolve the ugly assets_prefix hack 2021-03-03 15:24:18 +01:00
Jakob Ketterl
37d89c074b implement "new device" page (redirects not working yet) 2021-03-03 00:16:28 +01:00
Jakob Ketterl
2b1dc76e48 add profile list to the device page 2021-03-02 20:28:49 +01:00
Jakob Ketterl
e0b289b6a5 remove debugging message 2021-03-02 20:19:48 +01:00
Jakob Ketterl
d81f0ae96c change display precision behavior to reference Hertz 2021-03-01 01:19:06 +01:00
Jakob Ketterl
6bd47cf914 implement property carousel for profile switching 2021-03-01 00:26:56 +01:00
Jakob Ketterl
c7db144f7b add name input for profiles 2021-02-28 21:26:55 +01:00
Jakob Ketterl
d0ddf72b10 fix typo 2021-02-28 21:04:43 +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
ccdb010e9d more information on the sdr list 2021-02-27 20:48:37 +01:00
Jakob Ketterl
36c4a16fb5 move to settings module 2021-02-27 01:16:03 +01:00
Jakob Ketterl
e9cb5d54be send changed keys over websocket connection for the map 2021-02-27 01:00:38 +01:00
Jakob Ketterl
ad3ed1e626 disconnect clients if the max_clients setting is lowered 2021-02-27 00:01:21 +01:00
Jakob Ketterl
0a76801a03 activate "service_decoder" setting 2021-02-26 23:50:58 +01:00
Jakob Ketterl
3164683e74 handle device shudown when schedule is off 2021-02-26 22:36:15 +01:00
Jakob Ketterl
4e7f02fc2c activate more scheduler and service settings 2021-02-26 21:27:42 +01:00
Jakob Ketterl
0231d98ab8 wire "services_enabled" setting 2021-02-26 17:53:32 +01:00
Jakob Ketterl
412e0a51c7 implement property deletion handling; activate scheduler deletion 2021-02-26 01:12:03 +01:00
Jakob Ketterl
91c4d6f568 make scheduler respond to config changes 2021-02-25 22:19:05 +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
8c767be53a add inputs for perseus 2021-02-24 23:54:46 +01:00
Jakob Ketterl
bccb87e660 handle deletions in the top layer 2021-02-24 23:04:57 +01:00
Jakob Ketterl
0c1dc70217 Make the apply button always visible 2021-02-24 23:04:23 +01:00
Jakob Ketterl
388d9d46fe prevent runtime properties in the config 2021-02-24 22:30:28 +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
f69d78926e create filtering that prevents overwriting the device name 2021-02-24 00:09:57 +01:00
Jakob Ketterl
4199a583f8 fix agc parameter 2021-02-23 23:24:30 +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
f9772faa6f add separator before the optional inputs dropdown 2021-02-23 19:23:54 +01:00
Jakob Ketterl
4e32d724c4 fix storing profiles 2021-02-23 18:41:49 +01:00
Jakob Ketterl
c5df6a1527 implement profile editing page 2021-02-23 18:32:23 +01:00
Jakob Ketterl
ed258cc9a0 fill in gain stages for hackrf 2021-02-23 17:40:06 +01:00
Jakob Ketterl
437943c26c fill in airspy gain stages 2021-02-23 17:36:16 +01:00
Jakob Ketterl
d15d9d8c76 remove implicit optional handling for optional fields 2021-02-23 00:27:29 +01:00
Jakob Ketterl
436010ffe3 implement explicit removal of non-present keys 2021-02-23 00:12:22 +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
770fd749cd introduce the basic concept of optional keys 2021-02-22 00:35:47 +01:00
Jakob Ketterl
683a711b49 fix bias_tee for hackrf 2021-02-21 18:11:28 +01:00
Jakob Ketterl
bd31fa5149 add the ability to disable devices 2021-02-21 18:11:08 +01:00
Jakob Ketterl
7f3d421b25 introduce profile list 2021-02-20 23:45:06 +01:00
Jakob Ketterl
44250f9719 add some device details on the list page 2021-02-20 22:57:17 +01:00
Jakob Ketterl
c2e8ac516c introduce enums for state management 2021-02-20 22:54:07 +01:00
Jakob Ketterl
dd5ab32b47 set always-on default to false 2021-02-20 19:43:04 +01:00
Jakob Ketterl
361ed55b93 add more device-specific options 2021-02-20 19:20:31 +01:00
Jakob Ketterl
8b24eff72e add sdrplay specific options 2021-02-20 19:00:28 +01:00
Jakob Ketterl
18e8ca5e43 add bias_tee and direct_sampling options 2021-02-20 18:48:12 +01:00
Jakob Ketterl
0ab6729fcc create device descriptions for all 2021-02-20 18:09:24 +01:00
Jakob Ketterl
0e64f15e65 add more device inputs 2021-02-20 17:54:19 +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
27c16c3720 add more inputs 2021-02-19 16:29:30 +01:00
Jakob Ketterl
3aa238727e start building device forms 2021-02-19 15:29:17 +01:00
Jakob Ketterl
4316832b95 input merging mechanism 2021-02-19 14:53:30 +01:00
Jakob Ketterl
bec61465c9 move device descriptions to owrx.source 2021-02-19 14:44:16 +01:00
Jakob Ketterl
012952f6f3 implement some basic infrastructure to present device forms 2021-02-19 00:46:52 +01:00
Jakob Ketterl
872c7a4bfd setup device list and routing for device pages 2021-02-19 00:03:25 +01:00
Jakob Ketterl
d65743f2ea rename template variable 2021-02-18 23:05:43 +01:00
Jakob Ketterl
c5585e290a undo javascript device configuration 2021-02-18 22:24:31 +01:00
Jakob Ketterl
54fde2c1c0 reuse existing template 2021-02-18 22:12:13 +01:00
Jakob Ketterl
d612792593 update permissions on write 2021-02-18 21:07:45 +01:00
Jakob Ketterl
06d4b24b09 handle config key not set 2021-02-18 15:27:05 +01:00
Jakob Ketterl
b7688c3c97 add infotext for custom html colors 2021-02-16 18:39:42 +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
9aebeb51f8 remove waterfall_colors unless scheme is custom 2021-02-16 18:12:10 +01:00
Jakob Ketterl
8d2763930b implement input for custom waterfall colors 2021-02-16 18:07:13 +01:00
Jakob Ketterl
409370aba2 implement custom waterfall option 2021-02-16 17:48:12 +01:00
Jakob Ketterl
9175629838 send waterfall colors to the client 2021-02-16 17:34:04 +01:00
Jakob Ketterl
3c0a26eaa8 prevent file corruption during json.dump 2021-02-16 17:17:09 +01:00
Jakob Ketterl
496e771e17 implement new waterfall color selection 2021-02-16 17:12:57 +01:00
Jakob Ketterl
c8496a2547 remove unused import 2021-02-16 15:59:31 +01:00
Jakob Ketterl
c2617fcfaf use a converter -> parsing done 2021-02-15 22:22:07 +01:00
Jakob Ketterl
1112334ea8 render inputs, mode dropdown 2021-02-15 22:14:56 +01:00
Jakob Ketterl
578f165bdc wording change 2021-02-15 20:20:53 +01:00
Jakob Ketterl
a664770881 change link targets to _blank 2021-02-15 20:20:32 +01:00
Jakob Ketterl
c0193e677c add an input for wsjt_decoding_depths 2021-02-15 20:19:43 +01:00
Jakob Ketterl
a72a11d3c7 fix old unsubscription todo 2021-02-15 17:25:46 +01:00
Jakob Ketterl
48a9c76c18 inline header variables 2021-02-15 17:12:17 +01:00
Jakob Ketterl
7f9c0539bb break out demodulation and decoding settings 2021-02-15 16:06:14 +01:00
Jakob Ketterl
e61dde7d0e separate background decoding 2021-02-15 15:56:17 +01:00
Jakob Ketterl
d998ab5c61 break out reporting into its own settings page 2021-02-15 15:49:44 +01:00
Jakob Ketterl
49640b5e33 generalize settings controller 2021-02-15 15:40:37 +01:00
Jakob Ketterl
391069653a split settings controller module (preparation to split general settings) 2021-02-15 15:29:02 +01:00
Jakob Ketterl
48c594fdae implement bookmark deletion 2021-02-14 16:51:16 +01:00