Compare commits

...

2394 Commits

Author SHA1 Message Date
Jakob Ketterl
57f55bbdd5
Merge pull request #342 from bd5rv/develop
Add --no-http-keep-alive to wget's arguments
2023-03-10 21:11:31 +01:00
Michael Chen
e8ba61bb81
Add --no-http-keep-alive to wget's arguments
When downloading SDRPlay API from sdrplay.com'server, it reports 403 forbidden error when the environment variable https_proxy is set. Adding --no-http-keep-live argument to wget will make the download working.
2023-03-11 00:31:19 +08:00
Jakob Ketterl
cb5b2e64af change chunking to work with actual byte-sizes 2023-02-22 17:23:11 +01:00
Jakob Ketterl
685b9970d2 switch frequency field to 5 bytes to support QO-100 2023-02-22 16:19:18 +01:00
Jakob Ketterl
c385a8f6b1 update changelogs 2023-02-22 14:13:01 +01:00
Jakob Ketterl
aa60b9d4a7 add msk144decoder to docker build 2023-02-21 19:50:44 +01:00
Jakob Ketterl
bff09e3363 add msk144decoder to recommended packages 2023-02-21 17:42:33 +01:00
Jakob Ketterl
774f8bd91a remove debugging messages 2023-02-21 17:41:55 +01:00
Jakob Ketterl
b1684908a4 remove todo 2023-02-19 16:18:49 +01:00
Jakob Ketterl
ed76fd7606 add MSK144 service demodulator 2023-02-19 16:18:08 +01:00
Jakob Ketterl
7b3f212ccb improve error handling during service initialization 2023-02-19 16:14:08 +01:00
Jakob Ketterl
216a3db45d add MSK144 to list of pskreporter modes 2023-02-16 19:47:46 +01:00
Jakob Ketterl
c16de474c6 route msk144 data to the wsjt message panel 2023-02-14 18:45:51 +01:00
Jakob Ketterl
afcd8277d1 add MSK144 parsing 2023-02-14 18:36:17 +01:00
Jakob Ketterl
525b70d495 add msk144 frequencies 2023-02-14 15:40:20 +01:00
Jakob Ketterl
f58023f3e5 add msk144demodulator chain 2023-02-14 15:39:59 +01:00
Jakob Ketterl
252edb7a5a add feature detection 2023-02-14 15:38:33 +01:00
Jakob Ketterl
2993cc4279 update wsjt-x homepage url 2023-02-14 15:37:37 +01:00
Jakob Ketterl
cc4f3c6c1d correctly commit patch? 2023-01-28 19:23:46 +01:00
Jakob Ketterl
0de597481c update to wsjt-x 2.6.1 2023-01-28 19:13:10 +01:00
Jakob Ketterl
2342bb5d29 update WSJT-X download location 2023-01-28 17:36:45 +01:00
Jakob Ketterl
b1ac8caf9b replace with a more robust state engine implementation 2023-01-28 16:37:32 +01:00
Jakob Ketterl
d79a1396a6 change name for sdrplay device in default config 2022-12-11 23:54:35 +01:00
Jakob Ketterl
1e6e7528b5 add a pseudo-input to display the sdr device type 2022-12-11 23:48:56 +01:00
Jakob Ketterl
f6326f8631 use a more generic include instead of manually updating the list 2022-12-11 22:41:10 +01:00
Jakob Ketterl
c61986dbcc add log module to the list 2022-12-11 21:06:22 +01:00
Jakob Ketterl
bbc9d9e7a8 log names instead of ids for improved transparency 2022-12-11 20:41:35 +01:00
Jakob Ketterl
a309af40e9 update dependencies 2022-12-11 20:29:45 +01:00
Jakob Ketterl
f3a3b9243c update connectors 2022-12-11 00:58:58 +01:00
Jakob Ketterl
edc9009359 fix svg include path 2022-12-10 19:50:47 +01:00
Jakob Ketterl
13e323cdd2 show sdr device log messages in the web configuration 2022-12-10 19:50:26 +01:00
Jakob Ketterl
ab40a2934f remove old config (no longer used) 2022-12-10 19:44:35 +01:00
Jakob Ketterl
322b6a0d52 set loglevels sooner 2022-11-30 18:53:09 +01:00
Jakob Ketterl
bba900d8f8 fix config default 2022-11-30 18:51:01 +01:00
Jakob Ketterl
64f0510da0 use a dropdown for callsign database setting; add aprs.fi 2022-11-30 16:54:22 +01:00
Jakob Ketterl
4050bd7f96 update version in feature check 2022-11-30 01:16:12 +01:00
Jakob Ketterl
35abd711ca update dependencies 2022-11-30 01:15:28 +01:00
Jakob Ketterl
258e41669e structured callsign data 2022-11-30 01:07:16 +01:00
Jakob Ketterl
975f5ffdf0 make loglevel adjustable in config or on CLI 2022-11-29 20:23:39 +01:00
Jakob Ketterl
90ed47a115 move pocsag demodulator to digiham to fix import problems 2022-11-10 22:43:08 +01:00
Jakob Ketterl
271bd723bc
Merge pull request #318 from luarvique/map_distance
Adding distance display to the info windows.
2022-10-04 16:32:09 +02:00
Jakob Ketterl
8a7e91be38 update all docker dependencies 2022-09-30 18:51:47 +02:00
Jakob Ketterl
9416db5f42 Merge branch 'master' into develop 2022-09-30 18:49:45 +02:00
Marat Fayzullin
0127e32ea1 Removing dash from APRS callsigns and showing distance to them. 2022-09-26 15:24:59 -04:00
Jakob Ketterl
e20d94e241 update dependencies for docker 2022-09-20 18:51:09 +02:00
Jakob Ketterl
6c01d48493 update version 2022-09-20 18:06:03 +02:00
Jakob Ketterl
94269e211e fix changelog timestamp 2022-09-20 18:01:43 +02:00
Jakob Ketterl
811d95c7bc fifisdr fixes 2022-09-20 18:01:08 +02:00
Jakob Ketterl
c07e33d19d update csdr and pycsdr dependencies in docker 2022-09-19 19:07:23 +02:00
Jakob Ketterl
c150eca75c fifisdr fixes 2022-09-19 18:46:11 +02:00
Marat Fayzullin
7a61f991ad Removed parentheses, added a space before "km". 2022-09-16 00:02:17 -04:00
Marat Fayzullin
4423c7f13a Adding distance display to the info windows. 2022-09-15 19:34:39 -04:00
Jakob Ketterl
5cd0847362
Merge pull request #306 from luarvique/filter_width
Added filter boundaries display.
2022-07-31 22:44:07 +02:00
Jakob Ketterl
1635cbfa42
Merge pull request #307 from luarvique/callsign_lookup
Added an option to add callsign database URL for lookups on a map.
2022-07-31 22:35:19 +02:00
Marat Fayzullin
e92b6d657b Addressing comments from jketterl. 2022-07-31 16:10:33 -04:00
Jakob Ketterl
d5f7ce9508
Merge pull request #309 from luarvique/waterfall_colors
Now calculating waterfall colors based on what is on the screen (with…
2022-07-31 22:08:01 +02:00
Jakob Ketterl
bfd4d5657c
Merge pull request #308 from luarvique/zoom_reset
Now resetting zoom when changing to a different profile.
2022-07-31 21:59:15 +02:00
Marat Fayzullin
bb625a5f9f Added filter boundaries display. 2022-07-31 15:27:41 -04:00
Marat Fayzullin
2ccdc90cc5 Added an option to add callsign database URL for lookups on a map. 2022-07-31 15:25:52 -04:00
Marat Fayzullin
ff43555411 Now resetting zoom when changing to a different profile. 2022-07-31 15:16:52 -04:00
Marat Fayzullin
339864a572 Now calculating waterfall colors based on what is on the screen (with zoom). 2022-07-31 15:15:38 -04:00
Jakob Ketterl
6192978f2f Merge branch 'master' into develop 2022-07-10 03:18:54 +02:00
Jakob Ketterl
66d4d88156 update hpsdrconnector to 0.6.1 2022-07-09 18:34:28 +02:00
Jakob Ketterl
c87daaabbe fix scroll events on the frequency bar 2022-06-19 22:40:47 +02:00
Jakob Ketterl
6f0a209a38 fix deprecation warning 2022-06-18 20:42:11 +02:00
Jakob Ketterl
26440d4e24 make waterfall zoom continuous 2022-06-18 15:57:06 +02:00
Jakob Ketterl
08188527ce high-res scroll events for the waterfall zoom 2022-06-17 19:42:40 +02:00
Jakob Ketterl
8532d9048e process high-resolution scroll events for the frequency display 2022-06-17 19:42:05 +02:00
Jakob Ketterl
1771fd55e1 move develop to the next minor version 2022-06-16 23:53:56 +02:00
Jakob Ketterl
0145cf5668 update release versions for docker 2022-06-16 22:48:57 +02:00
Jakob Ketterl
921fb23c8d prepare release of version 1.2.0 2022-06-15 18:28:50 +02:00
Jakob Ketterl
eb3ec5dc36 update m17-cxx-demod to version 2.3 2022-06-15 18:25:26 +02:00
Jakob Ketterl
35ad4712bb disable PPM input for devices that don't support it 2022-06-09 20:25:29 +02:00
Jakob Ketterl
fe7f2317de add a quick note about HTML being supported 2022-06-09 19:22:45 +02:00
Jakob Ketterl
b5bbdae317 fix failed logins for path-routed environemnts 2022-06-09 18:43:54 +02:00
Jakob Ketterl
cec4e326c8 prevent "None" showing up in text inputs 2022-06-09 17:24:53 +02:00
Jakob Ketterl
eccbdc1655 update libraries in docker 2022-06-01 18:04:54 +02:00
Jakob Ketterl
08485f255a add return codes 2022-06-01 17:58:06 +02:00
Jakob Ketterl
be8e35cbcf output more descriptive output when dependencies fail 2022-06-01 17:11:45 +02:00
Jakob Ketterl
843dde1a68 check for csdr & digiham python bindings 2022-06-01 16:43:18 +02:00
Jakob Ketterl
f018ef1d81 turn off debug logging for now 2022-06-01 16:19:24 +02:00
Jakob Ketterl
6b43ddf920 add udev dependencies for codecserver 2022-01-24 11:38:06 +01:00
Jakob Ketterl
242ec5dfd0 update docker dependencies 2022-01-24 11:03:15 +01:00
Jakob Ketterl
b354f38bfb add js8call as a recommended package (available in bullseye now) 2022-01-18 16:55:19 +01:00
Jakob Ketterl
983aa8cebc add bladerf docker image build 2022-01-12 18:01:25 +01:00
Jakob Ketterl
619f1254fd update wsjt-x to version 2.5.4 2022-01-12 17:59:45 +01:00
Jakob Ketterl
b5b52770ee update changelogs 2022-01-12 16:00:16 +01:00
Jakob Ketterl
7fd98c8c5c add support for blade rf devices 2022-01-12 15:48:06 +01:00
Jakob Ketterl
39bfba673b catch error resulting from monitor race condition 2022-01-11 21:56:16 +01:00
Jakob Ketterl
5adb53d990 distinguish between error condition and normal socket close 2022-01-11 19:57:52 +01:00
Jakob Ketterl
f3dcf5c320 check closed condition after aquiring the lock to avoid deadlocks 2022-01-05 17:55:46 +01:00
Jakob Ketterl
2ce7d943fa fix a client counting bug by deferring client instantiation 2022-01-03 15:19:12 +01:00
Jakob Ketterl
60f57bf206 add codecserver to recommended packages 2021-12-29 14:26:30 +01:00
Jakob Ketterl
221e0f232b try to avoid "can only be started once" error 2021-12-27 16:37:10 +01:00
Jakob Ketterl
46c78f6463 avoid demodulator concurrency
* this frees up resources used by the current demodulator before
  starting a new one
* this addresses an issue where users of single-channel AMBE sticks
  could not seamlessly switch between digital modes
2021-12-23 16:32:51 +01:00
Jakob Ketterl
40c68933e1 add preliminary parsing and display of M17 metadata 2021-12-21 21:18:17 +01:00
Jakob Ketterl
81b8f183c2 update connector with bias_tee fixes 2021-12-20 16:11:51 +01:00
Jakob Ketterl
03f0faf378 update digiham / pydigiham dependencies 2021-12-18 17:54:27 +01:00
Jakob Ketterl
f316b2c8ca allow latitude and longitude to be 0 in location-picker 2021-12-14 12:46:25 +01:00
Jakob Ketterl
6c3ef7a6ed
Merge pull request #281 from chrismrutledge/patch-1
Update bands.json
2021-12-13 14:21:47 +01:00
Jakob Ketterl
4ce3816f48 show codecserver errors in the client 2021-12-13 13:26:47 +01:00
Jakob Ketterl
397155983d improve handling of failed devices 2021-12-06 15:50:03 +01:00
Jakob Ketterl
9c28143dfb add debugging to the feature detection system 2021-12-01 19:22:48 +01:00
chrismrutledge
ed354cfa6f
Update bands.json
80M WSPR frequency change and additional 60M frequency according to wsprnet.org.
2021-11-28 07:02:16 -06:00
Jakob Ketterl
dcdfe7969a fix sample rate updates for secondary demods 2021-11-08 17:52:37 +01:00
Jakob Ketterl
6d414698e8 update to wsjt-x 2.5.2 2021-11-05 02:20:49 +01:00
Jakob Ketterl
70cf4557f7 update to wsjt-x 2.5.1 2021-11-02 17:31:58 +01:00
Jakob Ketterl
b0e18286df update connector 2021-11-02 16:11:19 +01:00
Jakob Ketterl
85c7a05978 use ImportError for python 3.5 compatibility 2021-10-27 18:33:23 +02:00
Jakob Ketterl
33c8e34456 use the resume call before pumping data from a reader 2021-10-26 16:40:38 +02:00
Jakob Ketterl
4bc6608e87 update csdr in docker 2021-10-25 14:15:32 +02:00
Jakob Ketterl
f967a8d87a catch exceptions while parsing ax25 frames 2021-10-22 15:07:42 +02:00
Jakob Ketterl
d757b817b1 make digimodes work in start_mod again 2021-10-15 16:41:07 +02:00
Jakob Ketterl
9f89a21cfb remove psk31 character animation since it's killing the client 2021-10-15 15:57:27 +02:00
Jakob Ketterl
aaf696e8d7
Merge pull request #273 from doccodyblue/feature/266-normalize-prometheus-metric-names
Feature/266 normalize prometheus metric names
2021-10-04 16:00:34 +02:00
Andre Schinkel
efa305eeec normalize metric label to match prometheus data-model guide 2021-10-03 08:48:40 +02:00
Andre Schinkel
eb43e39a81 normalize metric label to match prometheus data-model guide 2021-10-03 08:39:57 +02:00
Jakob Ketterl
c4687816c1 update docker to debian bullseye 2021-10-01 16:23:47 +02:00
Jakob Ketterl
8cce5bd889 add metrics for pocsag 2021-10-01 00:52:32 +02:00
Jakob Ketterl
66dd4b4581 update list of supported modes for pskreporter 2021-10-01 00:09:20 +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
1e57fb4609 expect a broken pipe 2021-09-30 23:04:59 +02:00
Jakob Ketterl
0b64b4ac97 handle errors when gps coordinates are out of range 2021-09-30 23:03:21 +02:00
Jakob Ketterl
460bada88f update owrx libraries 2021-09-30 01:37:10 +02:00
Jakob Ketterl
330598ddf2 use check implemented in python 2021-09-29 17:23:23 +02:00
Jakob Ketterl
8f36355817 update changelog 2021-09-29 15:43:48 +02:00
Jakob Ketterl
ccf741da00 add nmux back to recommended packages 2021-09-29 15:42:49 +02:00
Jakob Ketterl
c3917c61d3 fix audio compression switching 2021-09-28 17:46:18 +02:00
Jakob Ketterl
d869c5ee2d restore live switching capability for fft compression 2021-09-28 16:55:17 +02:00
Jakob Ketterl
c89394822a Merge branch 'develop' into pycsdr 2021-09-28 16:44:50 +02:00
Jakob Ketterl
1836344fab update to wsjt-x 2.5.0 2021-09-28 16:42:52 +02:00
Jakob Ketterl
25e2a8013e parser typing 2021-09-28 00:27:01 +02:00
Jakob Ketterl
757ec01ea4 clientReader is not used any more 2021-09-28 00:14:53 +02:00
Jakob Ketterl
a07480fd9a remove old csdr code 2021-09-27 18:53:49 +02:00
Jakob Ketterl
e77b0f4a67 fix the secondary fft display 2021-09-27 18:18:31 +02:00
Jakob Ketterl
909a969e04 restore wfm deemphasis tau functionality 2021-09-27 17:46:19 +02:00
Jakob Ketterl
edace3d451 work on some todos 2021-09-27 17:29:51 +02:00
Jakob Ketterl
5b1000df87 Merge branch 'develop' into pycsdr 2021-09-24 23:08:37 +02:00
Jakob Ketterl
fae281a507 update codecserver in docker 2021-09-24 22:34:53 +02:00
Jakob Ketterl
cbcba5807f restore PSK decoding 2021-09-23 18:43:41 +02:00
Jakob Ketterl
3fa3aac766 introduce defaults layer to fix codecserver when empty 2021-09-23 15:17:46 +02:00
Jakob Ketterl
981948b708 update components in docker build 2021-09-22 18:15:47 +02:00
Jakob Ketterl
c41b303130 update dependencies 2021-09-22 17:22:00 +02:00
Jakob Ketterl
6589c9dbe1 add a feature check for js8py since it's optional now 2021-09-22 13:11:27 +02:00
Jakob Ketterl
acc70b6449 re-implement format conversion with pycsdr 2021-09-20 18:36:24 +02:00
Jakob Ketterl
81925986a6 update dependencies 2021-09-20 18:04:24 +02:00
Jakob Ketterl
83d01553e3 use "Optional" in typing 2021-09-20 17:24:10 +02:00
Jakob Ketterl
f2a97415b9 more localized imports 2021-09-20 16:55:17 +02:00
Jakob Ketterl
95b4510c3a more localized imports 2021-09-20 16:53:00 +02:00
Jakob Ketterl
81ed1a9ebb abstract chain features; use local imports to avoid hard dependencies 2021-09-20 16:14:23 +02:00
Jakob Ketterl
b2e15c559e refactor 2021-09-20 15:32:26 +02:00
Jakob Ketterl
c10fdd2a53 move 2021-09-20 15:16:06 +02:00
Jakob Ketterl
9efe41a2b1 move the pump mechanism, allowing the old output code to be removed 2021-09-20 15:09:26 +02:00
Jakob Ketterl
4b36aca6fc update wording to direct users to the feature report 2021-09-20 14:45:00 +02:00
Jakob Ketterl
cb29fc251c update dependencies 2021-09-17 18:58:48 +02:00
Jakob Ketterl
78dcdd5715 add support for DMR locations 2021-09-17 18:24:33 +02:00
Jakob Ketterl
6fbe6b4983 restore automatic config application for direwolf 2021-09-15 15:37:09 +02:00
Jakob Ketterl
284059a920 clean up direwolf config file after use 2021-09-15 15:04:12 +02:00
Jakob Ketterl
0403ebff5c improve handling of source processes 2021-09-15 15:03:11 +02:00
Jakob Ketterl
6129b92277 avoid duplicate method 2021-09-15 15:01:36 +02:00
Jakob Ketterl
1ff3c174c2 limit freedv to 4kHz since it's audio input is only 8kHz 2021-09-13 16:58:45 +02:00
Jakob Ketterl
e5b120311d get freedv back by modeling a corresponding module and chain 2021-09-13 16:58:02 +02:00
Jakob Ketterl
1c937e147e use a generic unpickler 2021-09-13 00:14:38 +02:00
Jakob Ketterl
1d2ee127e0 Merge branch 'develop' into pycsdr 2021-09-12 23:31:44 +02:00
Jakob Ketterl
ee9b602e4f catch http errors 2021-09-12 23:31:33 +02:00
Jakob Ketterl
72f925e537 receive pocsag messages in pickled form 2021-09-10 15:38:36 +02:00
Jakob Ketterl
bf37dee78b receive metadata in pickled form 2021-09-09 22:25:45 +02:00
Jakob Ketterl
72920135e9 fix initial setup of dial frequency 2021-09-09 22:24:41 +02:00
Jakob Ketterl
66cf940523 refactor the metaparser into a modules and use accordingly 2021-09-09 15:11:33 +02:00
Jakob Ketterl
ca0f7af1d0 use stereo downmix; disable squelch for DRM 2021-09-08 13:48:11 +02:00
Jakob Ketterl
d9db74e565 fix reading from process 2021-09-08 13:47:46 +02:00
Jakob Ketterl
3218e0b8aa update hpsdrconnector to 0.6.0 2021-09-08 12:54:34 +02:00
Jakob Ketterl
c8ebbb505a restore dmr filter 2021-09-07 17:37:32 +02:00
Jakob Ketterl
9ca5e0ebd6 restore DRM functionality 2021-09-07 17:31:32 +02:00
Jakob Ketterl
f3b05c6318 re-add m17 2021-09-07 14:45:52 +02:00
Jakob Ketterl
f9f0bdde12 restore js8 functionality 2021-09-06 22:50:57 +02:00
Jakob Ketterl
6014ce8921 restore pocsag functionality 2021-09-06 20:00:14 +02:00
Jakob Ketterl
b9f43654cd restore aprs functionality 2021-09-06 15:05:33 +02:00
Jakob Ketterl
7c43c78c4b refactor aprs stuff 2021-09-02 11:00:57 +02:00
Jakob Ketterl
efa7faaa2a correctly shutdown resampler 2021-09-02 10:53:05 +02:00
Jakob Ketterl
f9df35ffd4 rebuilt the resampler using pycsdr 2021-09-01 15:58:39 +02:00
Jakob Ketterl
01260d66c8 create a base class for python-implemented modules 2021-09-01 15:08:28 +02:00
Jakob Ketterl
51453662e2 fix dial frequencies 2021-08-31 22:46:11 +02:00
Jakob Ketterl
120328ce12 restore background services 2021-08-31 21:53:15 +02:00
Jakob Ketterl
869f971ced add the remaining modes 2021-08-31 17:01:52 +02:00
Jakob Ketterl
73d326037c restore audio chopper decoding 2021-08-31 16:54:37 +02:00
Jakob Ketterl
4a4901fa38 restore secondary fft 2021-08-28 00:10:46 +02:00
Jakob Ketterl
47e78579d4 handle unparseable utf meta data 2021-08-27 18:31:10 +02:00
Jakob Ketterl
54a1cae352 fix hd audio 2021-08-27 18:30:46 +02:00
Jakob Ketterl
4c1777dc19 refactor 2021-08-27 17:34:48 +02:00
Jakob Ketterl
42b315ef86 handle empty converter chain 2021-08-27 16:11:03 +02:00
Jakob Ketterl
3bb4f48faf fix errors on shutdown (duplicate calls) 2021-08-26 17:22:10 +02:00
Jakob Ketterl
ee3d934529 fix thread leak 2021-08-26 17:21:52 +02:00
Jakob Ketterl
aecb79a4d4 restore demodulation of digital voice modes 2021-08-26 15:58:02 +02:00
Jakob Ketterl
5032f4b66d first steps at rewiring the dsp stuff 2021-08-23 14:25:28 +02:00
Jakob Ketterl
0f1feb9d47 return to the simpler API 2021-08-16 16:41:18 +02:00
Jakob Ketterl
be6f533437 re-structure client audio conversion 2021-08-12 18:01:03 +02:00
Jakob Ketterl
c3d393252b parse metadata as UTF-8 2021-08-12 16:51:21 +02:00
Jakob Ketterl
bb56eb8db2 don't highlight for data 2021-08-11 14:10:52 +02:00
Jakob Ketterl
1e8527da68 add YSF chain; re-introduce RRC filters 2021-08-10 14:03:49 +02:00
Jakob Ketterl
2b3123c7cb dmr tdma slot filter control 2021-08-07 00:09:40 +02:00
Jakob Ketterl
8e945d4149 update metadata asynchronously when download finishes 2021-08-06 21:23:44 +02:00
Jakob Ketterl
3ccb4a11d2 add new DMR chain 2021-08-06 20:02:59 +02:00
Jakob Ketterl
dd7255a9d2 display talker alias (if no radioid data is available) 2021-08-06 20:02:30 +02:00
Jakob Ketterl
307e944911 split metadata into lines (if more than one was received) 2021-08-06 20:01:35 +02:00
Jakob Ketterl
175e140f86 Merge branch 'develop' into pycsdr 2021-08-04 00:01:11 +02:00
Jakob Ketterl
ad59b1b3b7 add codecserver help text 2021-08-03 19:52:49 +02:00
Jakob Ketterl
5256409ddf update m17-cxx-demod to 2.2 in docker 2021-08-03 19:51:03 +02:00
Jakob Ketterl
65950565b6 bump develop to next version (1.2.0) 2021-08-03 15:57:36 +02:00
Jakob Ketterl
66492ff40a make sure we send all the data 2021-08-03 15:03:20 +02:00
Jakob Ketterl
52df289230 update tools to release tags 2021-08-02 21:54:11 +02:00
Jakob Ketterl
1845fa3f39 prepare release 1.1.0 2021-08-02 18:26:16 +02:00
Jakob Ketterl
fa49e59200 increase required connector version to 0.5 (0.4 would work but cannot be
parsed)
2021-08-02 18:11:45 +02:00
Jakob Ketterl
d0d3e67174 add missing digiham components 2021-08-02 17:39:18 +02:00
Jakob Ketterl
c5a314810e read metadata from pipeline decoders 2021-08-01 00:49:20 +02:00
Jakob Ketterl
f8f2740c77 implement nxdn chain using new digiham components 2021-07-31 00:10:10 +02:00
Jakob Ketterl
1c91c6dcc1 start building digiham chains 2021-07-30 00:06:21 +02:00
Jakob Ketterl
11a3606070 use the new cutoff parameter to compensate the fractional decimator 2021-07-25 23:38:24 +02:00
Jakob Ketterl
75aac5969a implement WFM with the new chain elements 2021-07-25 22:44:53 +02:00
Jakob Ketterl
459a99cbf8 backport the sync implementation from the csdr++ branch 2021-07-25 20:06:14 +02:00
Jakob Ketterl
c07d9ecf92 use the right rates 2021-07-25 19:36:03 +02:00
Jakob Ketterl
99c7093a1a pack the client audio processing into its own chain 2021-07-25 19:31:56 +02:00
Jakob Ketterl
223c2d1709 BufferReader won't return bytes 2021-07-25 17:36:32 +02:00
Jakob Ketterl
6db80ec51a clarify s-meter interval calculations 2021-07-25 00:17:27 +02:00
Jakob Ketterl
207ada70fd restore s-meter display 2021-07-25 00:05:48 +02:00
Jakob Ketterl
c50da15bfd apply all decimation in comples to simplify the chain 2021-07-24 22:25:41 +02:00
Jakob Ketterl
ab99b8e476 don't wrap the module, it's not necessary 2021-07-24 22:11:41 +02:00
Jakob Ketterl
7d7cec1ec3 update to match pycsdr chaanges 2021-07-24 18:50:30 +02:00
Jakob Ketterl
de14fa4b93 don't compile the tests (they're optional by now) 2021-07-23 11:44:14 +02:00
Jakob Ketterl
355b47760c update m17 in docker to v2.0 2021-07-23 10:52:21 +02:00
Jakob Ketterl
aeca8265c3 fine-tune agc 2021-07-20 17:58:32 +02:00
Jakob Ketterl
b242f09d5d Merge branch 'develop' into pycsdr 2021-07-20 13:33:52 +02:00
Jakob Ketterl
ad396fa970 remove "unvoiced quality" setting 2021-07-20 13:33:26 +02:00
Jakob Ketterl
2bcb62e706 add ssb chain 2021-07-20 00:57:43 +02:00
Jakob Ketterl
be093b8b05 implement a method to replace chain members 2021-07-20 00:44:41 +02:00
Jakob Ketterl
eb76ec4a9f add am demodulator chain 2021-07-19 23:32:03 +02:00
Jakob Ketterl
f03a6c127e fix initial demodulator parameters 2021-07-19 19:48:18 +02:00
Jakob Ketterl
5bb14a8997 first working nfm chain using pycsdr 2021-07-19 19:04:14 +02:00
Jakob Ketterl
bb77d2ce0a fix subscription 2021-07-18 14:57:50 +02:00
Jakob Ketterl
8531d5e4ab properly shutdown and unblock the final buffer 2021-07-18 14:56:48 +02:00
Jakob Ketterl
320521a74a adopt to updated api 2021-07-16 16:12:16 +02:00
Jakob Ketterl
5e7a0a38aa Merge branch 'develop' into pycsdr 2021-07-15 18:09:39 +02:00
Jakob Ketterl
e6dd1e0fde disable squelch for DRM, too 2021-07-15 12:54:21 +02:00
Jakob Ketterl
0277ae8722 fix plutosdr soapy module url 2021-07-15 12:53:48 +02:00
Jakob Ketterl
12c032112b handle errors caused by values that don't fit into json 2021-07-09 13:52:59 +02:00
Jakob Ketterl
4e61ed3645 handle errors while parsing dprs data 2021-07-09 13:52:33 +02:00
Jakob Ketterl
6a59369c62 update remote device input field behaviour 2021-07-05 12:58:16 +02:00
Jakob Ketterl
0039d5fdcb update codecserver in docker 2021-07-04 16:13:45 +02:00
Jakob Ketterl
40075c1adb check if id contained in radioid data matches request 2021-06-28 13:04:47 +02:00
Jakob Ketterl
7a4ed3b383 update path accordingly 2021-06-19 20:23:26 +02:00
Jakob Ketterl
2479c2207a update soapysdrplay3 2021-06-19 20:16:21 +02:00
Jakob Ketterl
48eb754170 collapse empty meta lines 2021-06-18 09:31:02 +02:00
Jakob Ketterl
ddcdd550fd update dependencies 2021-06-17 15:01:10 +02:00
Jakob Ketterl
a48a5e366b improve variable usage 2021-06-17 14:58:16 +02:00
Jakob Ketterl
8b34e6c689 remove dsd 2021-06-17 14:57:59 +02:00
Jakob Ketterl
e71cd01522 always update to ensure removal of old state 2021-06-17 14:57:24 +02:00
Jakob Ketterl
2ecefcecd5 update dependency handling for nxdn 2021-06-17 14:13:17 +02:00
Jakob Ketterl
5d8fd9ae95 update codecserver and digiham in docker 2021-06-15 23:09:32 +02:00
Jakob Ketterl
f5c2525f22 switch NXDN to use digiham decoder; add meta panel 2021-06-15 22:50:30 +02:00
Jakob Ketterl
34065e455f parse NMEA coordinates from metadata 2021-06-14 23:39:18 +02:00
Jakob Ketterl
b142233d4e report as DPRS on the map 2021-06-11 16:43:28 +02:00
Jakob Ketterl
e9b2007863 fix DPRS parsing and display 2021-06-11 14:36:11 +02:00
Jakob Ketterl
455b2ce1f1 adapt D-Star terminology in the labels 2021-06-09 23:28:07 +02:00
Jakob Ketterl
d0ee6f7d3e update changelogs 2021-06-08 23:08:06 +02:00
Jakob Ketterl
5b0aa274eb increase required digiham version to 0.5 2021-06-08 23:06:25 +02:00
Jakob Ketterl
234cbf0fa8 update dependency system to use digiham for d-star 2021-06-08 23:01:49 +02:00
Jakob Ketterl
4fd5a62980 fix flexbox display of metadata panels 2021-06-08 23:01:03 +02:00
Jakob Ketterl
ba97f76737 add parsing of DPMR data 2021-06-08 18:38:53 +02:00
Jakob Ketterl
f3d1084b60 make the location icon less jumpy 2021-06-08 17:55:56 +02:00
Jakob Ketterl
6c2ba7bc1d only work with header field if sync is available 2021-06-08 14:05:17 +02:00
Jakob Ketterl
2be58503c6 adapt protocol / mode string 2021-06-08 14:04:54 +02:00
Jakob Ketterl
17a78ffa79 fix typo 2021-06-08 14:04:28 +02:00
Jakob Ketterl
322582d29b add dstar metadata panel 2021-06-08 13:37:13 +02:00
Jakob Ketterl
5fd303f4a2 replace dsd with dstar_decoder from the digiham package 2021-06-08 13:36:08 +02:00
Jakob Ketterl
46d7fa7347 improve error message 2021-06-03 15:23:28 +02:00
Jakob Ketterl
845f937fa3 make property deletions evaluate to false for convenience 2021-06-01 11:37:51 +02:00
Jakob Ketterl
85a58eefa9 update codecserver and digiham 2021-05-31 21:06:13 +02:00
Jakob Ketterl
8923b90b3e check if AMBE is available at codecserver 2021-05-31 20:41:37 +02:00
Jakob Ketterl
a9d9206d2e update WSJT-X to 2.4.0 2021-05-31 19:54:11 +02:00
Jakob Ketterl
a374e93ee8 replace mbelib with codecserver in docker 2021-05-31 18:40:45 +02:00
Jakob Ketterl
bcf05e00f7 actually, digiham should recommend the codecserver 2021-05-31 00:44:52 +02:00
Jakob Ketterl
b35d1908c7 fix user in postinst script 2021-05-31 00:44:28 +02:00
Jakob Ketterl
d824cc375e add codecserver as a recommended dependency 2021-05-30 23:38:58 +02:00
Jakob Ketterl
d04ab43977 add ability to configure codecserver 2021-05-29 18:50:17 +02:00
Jakob Ketterl
9cd730dc9a allow digiham binaries to return their own name 2021-05-28 00:02:20 +02:00
Jakob Ketterl
a16ad952c4 change digiham / ambe integration 2021-05-27 21:35:55 +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
bdf1ed4709 update changelogs 2021-05-19 15:41:04 +02:00
Jakob Ketterl
ebc935c1a9 improve message 2021-05-18 20:46:33 +02:00
Jakob Ketterl
5b92c317c1 improve connection timeout handling 2021-05-18 20:44:05 +02:00
Jakob Ketterl
48dc75c728 improve handshake handling 2021-05-18 16:00:15 +02:00
Jakob Ketterl
3e7eb09f3e introduce a websocket handler interface 2021-05-18 15:42:30 +02:00
Jakob Ketterl
9baebf444d update connectors in docker 2021-05-18 00:34:06 +02:00
Jakob Ketterl
83feb2c0e0 parse individual connector versions 2021-05-17 23:57:37 +02:00
Jakob Ketterl
33a942707c allow slots to be off in the daylight scheduler 2021-05-17 23:23:25 +02:00
Jakob Ketterl
e206b83e74 move the error overlay so it doesn't block the title menu buttons 2021-05-17 21:14:00 +02:00
Jakob Ketterl
970be58e9c invent a new icon for continuous auto waterfall mode 2021-05-17 20:25:25 +02:00
Jakob Ketterl
2e326573d0 sync favicons 2021-05-17 17:19:12 +02:00
Jakob Ketterl
49a069f0ee add more icon options for other weird browsers 2021-05-17 17:14:14 +02:00
Jakob Ketterl
a580989639 update favicon 2021-05-17 16:47:00 +02:00
Jakob Ketterl
c46b3275a9 allow negative frequencies in exponential display, closes #247 2021-05-17 15:08:44 +02:00
Jakob Ketterl
0258a75650 replace meta panel images with svg (inlining does not work due to
filters)
2021-05-16 22:47:35 +02:00
Jakob Ketterl
979f11f40a move play button to svg-defs 2021-05-16 17:47:02 +02:00
Jakob Ketterl
a04f198ade inline the google maps pin svg 2021-05-16 17:30:34 +02:00
Jakob Ketterl
8a54ef4cd0 clean up
* remove sprites and corresponding styles
* remove base pngs
* remove other unused images
2021-05-16 16:10:00 +02:00
Jakob Ketterl
7ec592ce3d replace up and down arrows with svgs 2021-05-16 15:59:21 +02:00
Jakob Ketterl
6e0e271294 replace bookmark button with svg 2021-05-16 01:06:57 +02:00
Jakob Ketterl
7427a65f18 replace edit icon with svg 2021-05-16 00:56:50 +02:00
Jakob Ketterl
39d49ca991 replace trashcan icon with svg 2021-05-16 00:39:53 +02:00
Jakob Ketterl
31a30532a7 replace waterfall default button with svg 2021-05-16 00:22:11 +02:00
Jakob Ketterl
2190fd7c5a modified inkscape, too 2021-05-16 00:08:21 +02:00
Jakob Ketterl
981053a7c7 correct opacity 2021-05-16 00:07:30 +02:00
Jakob Ketterl
2d8ae33542 replace squelch button with svg 2021-05-15 23:57:24 +02:00
Jakob Ketterl
ced6153aa7 replace waterfall auto button with svg 2021-05-15 23:40:53 +02:00
Jakob Ketterl
4a1676bb81 replace speaker icons with svg 2021-05-15 23:02:06 +02:00
Jakob Ketterl
6af115f4f0 replace top logo with svg 2021-05-15 21:42:04 +02:00
Jakob Ketterl
8550f10d88 allow svg to be gzipped 2021-05-14 23:10:17 +02:00
Jakob Ketterl
3b8961c8c6 replace zoom in / out total with svg 2021-05-14 23:01:27 +02:00
Jakob Ketterl
eb55167add remove the prefix 2021-05-14 22:31:23 +02:00
Jakob Ketterl
ae8061ee77 replace zoom in and out icons with svg 2021-05-14 20:00:07 +02:00
Jakob Ketterl
4f0d4983ca introduce http timeout; single router instance 2021-05-14 18:36:30 +02:00
Jakob Ketterl
d34ac58e73 use placeholder for device and profile in tabs as well 2021-05-14 16:00:29 +02:00
Jakob Ketterl
ee8688345e display a placeholder if device name is empty 2021-05-14 15:52:18 +02:00
Jakob Ketterl
4aba612760 replace settings icon with svg 2021-05-14 01:30:59 +02:00
Jakob Ketterl
e709ca0e77 replace map icon with svg 2021-05-13 18:38:02 +02:00
Jakob Ketterl
6bd3fdf6f4 replace receiver icon with svg 2021-05-13 15:46:55 +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
Jakob Ketterl
002827cbf4 move openwebrx-panel-status to svg 2021-05-12 00:43:01 +02:00
Jakob Ketterl
a676e203c7 first svg for openwebrx-panel-log 2021-05-11 23:36:30 +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
Jim Ancona
e37bc0573d Set proper config options for HPSDR connector 2021-05-10 20:35:49 -04:00
Jakob Ketterl
301b3b59a5 fix linter issues 2021-05-10 23:02:43 +02:00
Jakob Ketterl
40c78940ef don't close twice 2021-05-10 21:27:40 +02:00
Jakob Ketterl
a006d8c125 bumb develop to the next minor version 2021-05-09 16:06:03 +02:00
Jakob Ketterl
0c9d37e381 Merge branch 'develop' into release-1.0 2021-05-08 21:10:58 +02:00
Jakob Ketterl
dc848a7006 fix bandwidth calculation for single-service groups 2021-05-08 00:59:57 +02:00
Jakob Ketterl
093ad6cd0d improve oversampling for resampling 2021-05-08 00:38:00 +02:00
Jakob Ketterl
fd26acca68 don't resample when there's only one service 2021-05-08 00:37:30 +02:00
Jakob Ketterl
3daf005c81 Merge branch 'develop' into release-1.0 2021-05-07 17:53:51 +02:00
Jakob Ketterl
1b31c5fc90 keep the spinner visible while the image loads 2021-05-07 17:44:24 +02:00
Jakob Ketterl
0206a6f94c introduce spinner during file uploads 2021-05-07 17:33:10 +02:00
Jakob Ketterl
484b829b90 fix problem when switching image file types 2021-05-07 17:19:11 +02:00
Jakob Ketterl
ad8877f83c add webp support for uploadable images 2021-05-07 16:57:54 +02:00
Jakob Ketterl
e205953bfc short description should be a question (lintian) 2021-05-06 19:39:58 +02:00
Jakob Ketterl
8a7182f9d5 update docker build versions 2021-05-06 19:30:07 +02:00
Jakob Ketterl
f86487f459 prepare release 1.0.0 2021-05-06 19:27:43 +02:00
Jakob Ketterl
7fc7fe5e82 fix audio chopper mode timestamp problem 2021-05-05 22:55:20 +02:00
Jakob Ketterl
3057c3ffd7 make the circle a little bit smaller to improve rendering 2021-05-05 20:00:27 +02:00
Jakob Ketterl
282ba4d095 move play button overlay to javascript to avoid downloading the image 2021-05-05 19:56:14 +02:00
Jakob Ketterl
1b4b87b14e replace play button with an svg 2021-05-05 19:27:03 +02:00
Jakob Ketterl
55254b1c44 compress png images for performance 2021-05-05 18:43:24 +02:00
Jakob Ketterl
cd935c0dcb check for empty return 2021-05-04 16:05:44 +02:00
Jakob Ketterl
a17690dc91 clear session cookie if invalid 2021-05-03 23:22:28 +02:00
Jakob Ketterl
fe1a1207e6 implement session timeout 2021-05-03 23:07:27 +02:00
Jakob Ketterl
041e8930bf don't send native deletions 2021-05-03 19:28:03 +02:00
Jakob Ketterl
d9fe604171 improve error handling on file switches 2021-05-02 00:07:24 +02:00
Jakob Ketterl
290f67735d improve decoding file switchover 2021-05-02 00:06:50 +02:00
Jakob Ketterl
0fa8774493 increase bandwidth for digital modes to 12.5 2021-05-01 18:27:15 +02:00
Jakob Ketterl
53c5c0f045 add a latencyHint to improve audio playback 2021-05-01 16:55:08 +02:00
Jakob Ketterl
11568256ed remove unused imports 2021-05-01 16:51:02 +02:00
Jakob Ketterl
2152184bf9 fix compatibility issues with python 3.5 2021-05-01 16:49:53 +02:00
Jakob Ketterl
f8971ac704 protect against low-level errors during switching 2021-04-30 01:20:33 +02:00
Jakob Ketterl
540198b12a 96kHz is reported as working, too - refs #201 2021-04-29 20:15:51 +02:00
Jakob Ketterl
48d498941e fix url for image replacement, too 2021-04-29 19:53:43 +02:00
Jakob Ketterl
318cb728e1 fix imageupload path 2021-04-29 19:41:06 +02:00
Jakob Ketterl
f481c3f8e3 implement image upload error handling 2021-04-29 19:07:10 +02:00
Jakob Ketterl
af553c422d implement file size upload limit 2021-04-29 18:18:18 +02:00
Jakob Ketterl
7115d5c951 prefer native sample rate, if good - closes #201 2021-04-29 16:23:51 +02:00
Jakob Ketterl
7642341b2e fix checkbox labels when removing their optional fields 2021-04-29 15:34:46 +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
bc193c834c use a number display to avoid wrong input and support locales 2021-04-28 23:03:03 +02:00
Jakob Ketterl
3bc39a9ca3 fix "NaN" display problem 2021-04-28 22:44:33 +02:00
Jakob Ketterl
4a77d2cc38 fill error variable with an empty string for the device list 2021-04-27 23:19:48 +02:00
Jakob Ketterl
a7e2aae292 reset initial demodulator params on reconnects 2021-04-27 23:13:44 +02:00
Jakob Ketterl
c6e01eed1a implement top-level error handling 2021-04-27 18:23:59 +02:00
Jakob Ketterl
118335b2b6 lock on dsp to avoid race conditions 2021-04-27 16:58:23 +02:00
Jakob Ketterl
0c7b0d2eaa improve dsp control handling 2021-04-27 01:58:20 +02:00
Jakob Ketterl
cb8ec3c760 improve sdr device state handling 2021-04-27 01:44:30 +02:00
Jakob Ketterl
e408c66702 switch condition sequencing to get better error messages 2021-04-27 01:15:56 +02:00
Jakob Ketterl
d97d66c787 move logging config to the top again 2021-04-27 00:53:45 +02:00
Jakob Ketterl
96ada02e38 initialize logging first 2021-04-27 00:47:33 +02:00
Jakob Ketterl
ae729990ca let's see if we can override the loglevel this way 2021-04-27 00:45:14 +02:00
Jakob Ketterl
afc4fc2d00 improve logging configuration 2021-04-27 00:33:52 +02:00
Jakob Ketterl
25d04f4cbc exclude keys that have been moved to openwebrx.conf 2021-04-26 21:27:15 +02:00
Jakob Ketterl
5a60869f8e check for contents of bookmark files to improve migration 2021-04-26 21:05:33 +02:00
Jakob Ketterl
7962da9454 initialize settings 2021-04-26 20:10:44 +02:00
Jakob Ketterl
4691987cc4 fix config command 2021-04-26 19:34:50 +02:00
Jakob Ketterl
05985ff46a add command for explicit migration 2021-04-26 19:27:12 +02:00
Jakob Ketterl
159c231884 types don't play that much of a role any more 2021-04-25 21:46:00 +02:00
Jakob Ketterl
86e64225bd credit @jancona in the changelog 2021-04-25 21:45:29 +02:00
Jakob Ketterl
1156916631 setup S6 to accept openwebrx arguments on docker run 2021-04-25 19:25:54 +02:00
Jakob Ketterl
a6ed578a0f handle sdr device and profile name changes 2021-04-25 00:48:45 +02:00
Jakob Ketterl
8c5546ad90 remove debugging again 2021-04-24 20:17:55 +02:00
Jakob Ketterl
f3ed4a719a fix command 2021-04-24 20:14:25 +02:00
Jakob Ketterl
2da2a57e13 change password if user already exists 2021-04-24 20:12:39 +02:00
Jakob Ketterl
6de91c0c4e let's try this way 2021-04-24 20:07:08 +02:00
Jakob Ketterl
cc3e43c6cd enable reconfigure 2021-04-24 20:04:07 +02:00
Jakob Ketterl
d04cf5f5a1 add the necessary template 2021-04-24 19:52:20 +02:00
Jakob Ketterl
b7e38960c0 handle config key not set 2021-04-24 19:48:42 +02:00
Jakob Ketterl
1e684f9bf1 debug config script, too 2021-04-24 19:46:19 +02:00
Jakob Ketterl
259d036083 enable debugging to see what's wrong 2021-04-24 19:42:42 +02:00
Jakob Ketterl
71b0fa968b merge openwebrx-admin into openwebrx 2021-04-24 19:39:48 +02:00
Jakob Ketterl
6ad3a80fc6 update digiham dependency to 0.4 (improved dc blocker) 2021-04-23 18:51:39 +02:00
Jakob Ketterl
b1cfe79ddd both ubuntu and debian have js8call packages, so add it to recommended 2021-04-23 18:35:52 +02:00
Jakob Ketterl
5e6508cd47 update with JS8 frequency on 11m 2021-04-23 17:20:37 +02:00
Jakob Ketterl
5f5881cdfa update owrx_connector in docker 2021-04-21 23:21:47 +02:00
Jakob Ketterl
f6b0e37664 add the ability to set admin user and pass via env variables for docker 2021-04-21 14:29:36 +02:00
Jakob Ketterl
1bc5633b27 update digiham 2021-04-20 17:49:41 +02:00
Jakob Ketterl
1c23fdf3ff update m17-cxx-demod 2021-04-20 01:17:18 +02:00
Jakob Ketterl
bd29f9c572 dc_block is part of the digiham package 2021-04-20 01:07:06 +02:00
Jakob Ketterl
89cd17042a re-introduce (improved) dc blocker to allow slightly off-frequency
signals
2021-04-20 01:06:01 +02:00
Jakob Ketterl
8b5cf9983e display a hint if no bookmarks are in the system 2021-04-18 21:15:02 +02:00
Jakob Ketterl
04a5e6705f remove bookmarks from distribution 2021-04-18 19:30:49 +02:00
Jakob Ketterl
77de488521 mark last breadcrumb active 2021-04-18 19:25:29 +02:00
Jakob Ketterl
52b535c608 remove id input from new profile page 2021-04-18 19:17:27 +02:00
Jakob Ketterl
05ea11f5d1 introduce generated device ids 2021-04-18 19:04:43 +02:00
Jakob Ketterl
e8cf014903 introduce breadcrumbs in the web config 2021-04-18 17:49:13 +02:00
Jakob Ketterl
1968e15237 fix for submit for path routed environments 2021-04-18 16:30:02 +02:00
Jakob Ketterl
da698e7a3c fix login for path routed environment 2021-04-18 15:59:05 +02:00
Jakob Ketterl
b9db64d4f9 fix device links for path-route environments 2021-04-18 15:40:46 +02:00
Jakob Ketterl
51af299aa2 merge in updates from receiverbook 2021-04-18 01:41:13 +02:00
Jakob Ketterl
440b3a3822 remove config_webrx.py from docker images, too 2021-04-18 01:01:48 +02:00
Jakob Ketterl
5ec0005f81 remove digimodes_enable setting since it no longer works 2021-04-18 00:50:13 +02:00
Jakob Ketterl
11b0d2d90a add deprecation notice 2021-04-18 00:49:38 +02:00
Jakob Ketterl
322a52e854 remove config_webrx.py from debian package 2021-04-18 00:08:34 +02:00
Jakob Ketterl
1b8153c461 rename default profiles 2021-04-18 00:03:18 +02:00
Jakob Ketterl
dae32f2e95 return an empty layer if no config is available 2021-04-17 23:56:32 +02:00
Jakob Ketterl
b4c2923dd2 add some info text 2021-04-17 18:00:13 +02:00
Jakob Ketterl
68739724d4 make the sdr type dropdown show beautiful names 2021-04-17 17:42:08 +02:00
Jakob Ketterl
4993a56235 use a single connection to avoid the managing overhead 2021-04-11 21:04:13 +02:00
Jakob Ketterl
cb3cb50cbd fix chopper startup 2021-04-11 20:10:49 +02:00
Jakob Ketterl
7e4671afe4 Improve profile handling
* introduce profile sources
* subscriptions can handle config change events
* web config changes to profile changes will now take effect immediately
2021-04-11 18:46:21 +02:00
Jakob Ketterl
19c8432371 always perform shutdown tasks 2021-04-11 18:42:35 +02:00
Jakob Ketterl
9351e4793c merge AudioHandler and AudioChopper; split audio module 2021-04-11 14:40:28 +02:00
Jakob Ketterl
1f91908e06 maybe this will suit the unittest loader better 2021-04-10 02:12:18 +02:00
Jakob Ketterl
907359df82 fix js8 parser 2021-04-09 22:40:30 +02:00
Jakob Ketterl
e210c3a667 group audio writers by interval 2021-04-09 20:15:03 +02:00
Jakob Ketterl
9c4d7377d0 more type hints that don't work... circular imports... broken :( 2021-04-09 18:37:00 +02:00
Jakob Ketterl
8ce1192811 type hinting is invalid. this shouldn't work, but obviously type hinting
is broken. remove :(
2021-04-09 18:29:36 +02:00
Jakob Ketterl
d18a4c83ac don't send bookmarks if the parameters are not available 2021-04-09 18:29:08 +02:00
Jakob Ketterl
bbad34cec3 move wsjt/js8 decisions out of csdr 2021-04-09 18:16:25 +02:00
Jakob Ketterl
22ec80c8ea make decoding queue settings work from the web config 2021-04-07 18:57:42 +02:00
Jakob Ketterl
5487861da1 make wsprnet and pskreporter settings work from the web config 2021-04-07 17:54:14 +02:00
Jakob Ketterl
ebd4d93908 add note about background decoding 2021-04-07 16:23:13 +02:00
Jakob Ketterl
fcbaa4f22a implement aprs config changes 2021-04-07 16:20:10 +02:00
Jakob Ketterl
c0ca216e4d make "digimodes_fft_size" work from web config 2021-04-05 17:18:30 +02:00
Jakob Ketterl
a9990f1f41 remove redpitaya source (working with hpsdr_connector) 2021-04-05 15:48:03 +02:00
Jakob Ketterl
b877d8439a fix "remote" mappings for rtl_tcp and soapy_remote 2021-04-02 21:46:21 +02:00
Jakob Ketterl
6cca37a9df fix runds "remote" input mapping 2021-04-02 21:44:51 +02:00
Jakob Ketterl
7a2f62a307 fix name 2021-04-02 21:43:46 +02:00
Jakob Ketterl
1932890dd0 extended "blur" behavior (using body click events) 2021-03-31 02:01:13 +02:00
Jakob Ketterl
02e699c597 add pointer to frequency display to indicate clickability 2021-03-31 01:40:35 +02:00
Jakob Ketterl
46d742a12c add cursor to indicate scrollability 2021-03-31 01:38:53 +02:00
Jakob Ketterl
b3e99e0a3d prefix -> suffix; no tabstop 2021-03-31 01:36:02 +02:00
Jakob Ketterl
96cce831ef don't tab into the exponent selector input 2021-03-31 01:28:38 +02:00
Jakob Ketterl
3e00a4f390 remove map file declaration (not working) 2021-03-31 01:23:18 +02:00
Jakob Ketterl
0abd121fda inline location-picker 2021-03-31 01:22:39 +02:00
Jakob Ketterl
b605927207 update changelogs 2021-03-31 00:34:55 +02:00
Jakob Ketterl
3696272ef7 inline nmux_memory since i've never seen the need to change it 2021-03-31 00:23:36 +02:00
Jakob Ketterl
5a7c12dfac expose waterfall auto adjustment settings in web config 2021-03-31 00:18:06 +02:00
Jakob Ketterl
170b720e48 restructure config 2021-03-31 00:00:38 +02:00
Jakob Ketterl
c6962b4f42 change headline wording 2021-03-30 23:41:26 +02:00
Jakob Ketterl
8e7b758ef8 send personal bookmarks to the server 2021-03-30 18:50:30 +02:00
Jakob Ketterl
1b9e77982d make "new bookmark" api work with arrays 2021-03-30 18:30:08 +02:00
Jakob Ketterl
2d142e45ed implement dialog to import personal bookmarks 2021-03-30 18:19:23 +02:00
Jakob Ketterl
620ba11565 update wsjt-x patchset 2021-03-30 16:15:05 +02:00
Jakob Ketterl
e297cffbfe update to wsjt-x 2.3.1 2021-03-30 15:14:35 +02:00
Jakob Ketterl
af211739fb confirmation modal before deleting bookmarks 2021-03-28 16:51:34 +02:00
Jakob Ketterl
a86a2f31cd styling 2021-03-27 23:50:39 +01:00
Jakob Ketterl
6796699e35 don't redirect XHR calls to the login page, 403 instead 2021-03-27 23:45:21 +01:00
Jakob Ketterl
df72147b93 handle only successful results 2021-03-27 23:40:30 +01:00
Jakob Ketterl
65443eb0ba improve event handling 2021-03-27 23:40:10 +01:00
Jakob Ketterl
29c0f7148a re-work the bookmarks table to incorporate the improved frequency input 2021-03-27 23:08:43 +01:00
Jakob Ketterl
e1dd9d32f4 prevent javascript errors if frequency is NaN 2021-03-25 16:08:02 +01:00
Jakob Ketterl
287a04be94 send updated bookmarks to clients on the fly 2021-03-25 15:25:15 +01: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
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
62e67afc9c update config to version 6 2021-03-21 15:23:26 +01:00
Jakob Ketterl
c9d303c43e remove "configurable_keys" hack 2021-03-21 15:19:40 +01:00
Jakob Ketterl
5fc8672dd6 fix profile detection 2021-03-21 00:18:35 +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
6af0ad0262 fix frequency unit dropdown for firefox 2021-03-05 20:31:23 +01:00
Jakob Ketterl
b4460f4f70 fix receiver appearance in firefox 2021-03-05 20:20:22 +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
92cce78320 fix panel switching 2021-02-28 18:23:35 +01:00
Jakob Ketterl
1871fc359a apply some styling 2021-02-28 18:07:25 +01:00
Jakob Ketterl
a92ead3261 implement exponential frequency input on the receiver, too 2021-02-28 17:28:22 +01:00
Jakob Ketterl
094f470ebb automatically switch SI prefixes based on frequency 2021-02-28 15:51:07 +01:00
Jakob Ketterl
06b6054071 improve floating point handling 2021-02-27 23:21:14 +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
e787336fc4 fix empty input 2021-02-27 22:43:18 +01:00
Jakob Ketterl
71acad3b4f add keyboard shortcuts for quicker input 2021-02-27 22:30: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
6a9bbf7bc9 wording change 2021-02-27 20:17:58 +01:00
Jakob Ketterl
ccba3e8597 fix positioning (still absolute, but not moving any more) 2021-02-27 17:23:03 +01:00
Jakob Ketterl
beb3d696c9 use transform / will-change properties for waterfall
* prevents expensive layout events in the browser
* allows the browser to optimize rendering
2021-02-27 17:06:53 +01:00
Jakob Ketterl
54142f4f15 allow squelch_auto_margin = 0 2021-02-27 01:23:59 +01:00
Jakob Ketterl
b6ed06dff4 use the new bottom bar for the bookmarks, too 2021-02-27 01:18:08 +01:00
Jakob Ketterl
36c4a16fb5 move to settings module 2021-02-27 01:16:03 +01:00
Jakob Ketterl
1b44c31a89 more space at the bottom 2021-02-27 01:13:57 +01:00
Jakob Ketterl
45d4d868d7 clear waterfall on fft_size change so that a setting change becomes visible immediately 2021-02-27 01:09:51 +01:00
Jakob Ketterl
e9cb5d54be send changed keys over websocket connection for the map 2021-02-27 01:00:38 +01:00
Jakob Ketterl
7dcafab2c1 restart on fft_compression changes, too 2021-02-27 00:29:04 +01:00
Jakob Ketterl
baef88bd94 restart demodulator on compression changes 2021-02-27 00:17:37 +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
6822475674 exclude template inputs when moving to the visible section 2021-02-26 01:12:48 +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
ed3d84b974 use the container instead of a (potentially missing) canvas 2021-02-24 00:59:31 +01:00
Jakob Ketterl
710a18aae3 initialize canvas on demand to avoid overlap when changing parameters 2021-02-24 00:58:50 +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
f8beae5f46 fix javascript errors 2021-02-22 23:47:19 +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
0d77aaff26 restrict access to openwebrx users file 2021-02-18 20:57:41 +01:00
Jakob Ketterl
b06a629ffb fix variable substitution 2021-02-18 18:41:39 +01:00
Jakob Ketterl
a29d72d67f more details in the password dialog 2021-02-18 18:38:37 +01:00
Jakob Ketterl
1a6f738c97 fix permission problems on initial install 2021-02-18 18:28:12 +01:00
Jakob Ketterl
50e19085b0 don't use full path (lintian) 2021-02-18 17:28:00 +01:00
Jakob Ketterl
e70ff075ca fix pasword prompt (lintian) 2021-02-18 17:25:33 +01:00
Jakob Ketterl
34b369b200 restore unconditional confmodule 2021-02-18 17:09:08 +01:00
Jakob Ketterl
fc5d560345 don't need to check for command, if it's not there the result will be
the same
2021-02-18 17:04:45 +01:00
Jakob Ketterl
e8ad4588ce add debhelper token to postrm script (lintian) 2021-02-18 17:02:14 +01:00
Jakob Ketterl
74aea63b9b always remove password, no matter what the value 2021-02-18 16:14:45 +01:00
Jakob Ketterl
a750726459 new mechanism doesn't require any dummy values in the db 2021-02-18 16:14:15 +01:00
Jakob Ketterl
eb8b8c4a5a include confmodule only when needed, avoiding potential warnings 2021-02-18 16:08:22 +01:00
Jakob Ketterl
1956907d6d suppress errors during check 2021-02-18 16:04:56 +01:00
Jakob Ketterl
8f49337b81 don't use expansion to test 2021-02-18 16:01:13 +01:00
Jakob Ketterl
5e37b75cfb test for existence of admin user before asking questions 2021-02-18 15:55:55 +01:00
Jakob Ketterl
c09f17579c implement a command to test for a user's existence 2021-02-18 15:42:12 +01:00
Jakob Ketterl
06d4b24b09 handle config key not set 2021-02-18 15:27:05 +01:00
Jakob Ketterl
9492bbebbb un-silence 2021-02-18 01:42:06 +01:00
Jakob Ketterl
ad5166cf9e allow reconfigure in postinst 2021-02-18 01:36:04 +01:00
Jakob Ketterl
0714ce5703 parse password from env if available 2021-02-18 01:32:27 +01:00
Jakob Ketterl
2eec29db05 change debconf priority to high 2021-02-18 01:28:40 +01:00
Jakob Ketterl
3122077603 fix debconf password questions 2021-02-18 01:12:26 +01:00
Jakob Ketterl
518588885c make postrm executable 2021-02-18 01:00:47 +01:00
Jakob Ketterl
8271eddefb rename templates file 2021-02-18 00:26:52 +01:00
Jakob Ketterl
404f995e39 confmodule doesn't work with our bash parameters 2021-02-18 00:22:37 +01:00
Jakob Ketterl
8fcfa689ae add postinst/postrm integration 2021-02-18 00:13:58 +01:00
Jakob Ketterl
f488a01c78 linitian also finds spelling errors?!? 2021-02-17 23:45:22 +01:00
Jakob Ketterl
06361754b3 add config script 2021-02-17 23:39:16 +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
d3ba866800 comment config since it is now supported in the web config 2021-02-15 22:58:02 +01:00
Jakob Ketterl
8267aa8d9d implement removal 2021-02-15 22:57:21 +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
819790cbc8 prevent an endless loop when client has problematic audio 2021-02-15 18:03:16 +01:00
Jakob Ketterl
b2d4046d8a apply z-index layering to status bars to make them render correctly 2021-02-15 18:00:46 +01:00
Jakob Ketterl
28b1abfa40 fix missing unit 2021-02-15 17:33:47 +01:00
Jakob Ketterl
a72a11d3c7 fix old unsubscription todo 2021-02-15 17:25:46 +01:00
Jakob Ketterl
2d37f63f2c title should be a header for SEO 2021-02-15 17:16:55 +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
830d7ae656 fix ios 14.2 bug 2021-02-15 00:04:43 +01:00
Jakob Ketterl
48c594fdae implement bookmark deletion 2021-02-14 16:51:16 +01:00
Jakob Ketterl
29a161b7b7 add the "add bookmarks" function 2021-02-14 16:21:09 +01:00
Jakob Ketterl
9b1659d3dd remove index (unused) 2021-02-14 14:48:32 +01:00
Jakob Ketterl
dbf23baa45 wait for successful ajax call 2021-02-14 00:44:36 +01:00
Jakob Ketterl
3d97d362b5 implement bookmark storage 2021-02-14 00:41:03 +01:00
Jakob Ketterl
8ea4d11e9c make the bookmarks table editable 2021-02-13 23:53:16 +01:00
Jakob Ketterl
48f26d00d6 add action column 2021-02-13 18:41:42 +01:00
Jakob Ketterl
3b60e0b737 display existing bookmarks in table 2021-02-13 18:35:15 +01:00
Jakob Ketterl
3e4ba42aab style settings page; add bookmark editor page 2021-02-13 17:08:56 +01:00
Jakob Ketterl
cda43b5c5c re-route settings urls 2021-02-13 16:44:14 +01:00
Jakob Ketterl
ae76470612 auto-reload bookmarks from file 2021-02-13 01:29:21 +01:00
Jakob Ketterl
5e51beac46 implement auto-reloading for bookmarks 2021-02-13 01:10:36 +01:00
Jakob Ketterl
8acfb8c1cf add configuration for max_client limit 2021-02-13 00:52:08 +01:00
Jakob Ketterl
ad0ca114f5 switch to subparsers 2021-02-12 18:34:28 +01:00
Jakob Ketterl
3f3f5eacfe no need to be verbose here 2021-02-12 17:45:10 +01:00
Jakob Ketterl
dd2fda54d1 add logging setup for owrxadmin 2021-02-12 17:00:51 +01:00
Jakob Ketterl
7d88d83c36 handle empty file 2021-02-12 17:00:35 +01:00
Jakob Ketterl
5068bcd347 run black 2021-02-11 23:08:19 +01:00
Jakob Ketterl
024a6684ce fix undefined variable 2021-02-11 23:07:45 +01:00
Jakob Ketterl
aad757df36 remove experimental csdr settings 2021-02-11 22:51:50 +01:00
Jakob Ketterl
690eed5d58 update changelog 2021-02-11 22:44:55 +01:00
Jakob Ketterl
c3d459558a prevent accidental text selection 2021-02-11 21:59:30 +01:00
Jakob Ketterl
fb457ce9f1 comment all config keys that are now in the web config 2021-02-11 19:42:23 +01:00
Jakob Ketterl
a8c93fd8d1 enable web config 2021-02-11 19:37:45 +01:00
Jakob Ketterl
f23fa59ac3 implement config layering 2021-02-11 19:31:44 +01:00
Jakob Ketterl
e926611307 break config module apart 2021-02-11 13:55:06 +01:00
Jakob Ketterl
1cc4b13ba6 add newline (lintian) 2021-02-11 00:29:31 +01:00
Jakob Ketterl
fdfaed005b add data directory volume definition (for whatever it's worth) 2021-02-11 00:25:31 +01:00
Jakob Ketterl
0cf67d5e2c don't use recursive (lintian) 2021-02-11 00:24:02 +01:00
Jakob Ketterl
0fd172edc3 check file contents; work with file extensions 2021-02-11 00:20:17 +01:00
Jakob Ketterl
64f827d235 loopify 2021-02-10 22:25:43 +01:00
Jakob Ketterl
1e72485425 implement temporary file cleanup 2021-02-10 22:24:43 +01:00
Jakob Ketterl
7097dc1cd8 ability to restore original image 2021-02-10 21:29:46 +01:00
Jakob Ketterl
8cf9b509c1 apply authorization to image upload 2021-02-10 20:32:07 +01:00
Jakob Ketterl
17c20d12e0 refactor authentication / authorization into a mixin 2021-02-10 20:21:45 +01:00
Jakob Ketterl
8422a33081 add information note about caching 2021-02-09 18:06:32 +01:00
Jakob Ketterl
75418baf06 apply cachebuster for form 2021-02-09 18:00:56 +01:00
Jakob Ketterl
9f17c941d1 generalize image upload form element 2021-02-09 17:54:02 +01:00
Jakob Ketterl
779aa33a4a add and resolve todos 2021-02-09 00:47:09 +01:00
Jakob Ketterl
7aa0f8b35d improve image handling 2021-02-09 00:38:59 +01:00
Jakob Ketterl
3b670016be implement uploading of top panorama, too 2021-02-09 00:12:53 +01:00
Jakob Ketterl
ad5daaae95 add exception for uploaded images 2021-02-08 23:44:10 +01:00
Jakob Ketterl
16d0e1a0d7 implement handling of uploaded files on save 2021-02-08 23:36:46 +01:00
Jakob Ketterl
4df5f19bd6 add todos 2021-02-08 23:30:44 +01:00
Jakob Ketterl
a1c024bfe2 implement dynamic file upload 2021-02-08 23:29:24 +01:00
Jakob Ketterl
2d72055070 organize 2021-02-08 20:30:12 +01:00
Jakob Ketterl
331e9627d6 implement forced password change for generated passwords 2021-02-08 18:30:54 +01:00
Jakob Ketterl
ed6594401c monitor user file modifications & reload if necessary 2021-02-08 17:24:59 +01:00
Jakob Ketterl
d9578cc5f4 thoroughly validate user 2021-02-08 17:09:22 +01:00
Jakob Ketterl
2c6b0e3d30 implement user list, enable, disable 2021-02-08 17:04:55 +01:00
Jakob Ketterl
b0c7abe362 implement form result parsing for q65 matrix 2021-02-08 16:32:00 +01:00
Jakob Ketterl
346f2af2fb update matrix generation with new abilities 2021-02-08 16:22:23 +01:00
Jakob Ketterl
902fc666c2 stricter q65 mode parsing and availability check 2021-02-08 15:58:37 +01:00
Jakob Ketterl
3a1e5ee73c avoid using tuples, they don't work in json (future config system) 2021-02-08 15:34:55 +01:00
Jakob Ketterl
a083042002 implement display of Q65 mode matrix 2021-02-08 15:16:04 +01:00
Jakob Ketterl
ce48892173 make dropdowns work with enums directly 2021-02-08 01:16:02 +01:00
Jakob Ketterl
5cfacac6c0 add aprs_igate_dir option 2021-02-08 01:00:00 +01:00
Jakob Ketterl
4758672c94 add aprs_igate_symbol 2021-02-08 00:43:39 +01:00
Jakob Ketterl
23fceb2998 add optional aprs fields and todos 2021-02-07 23:15:57 +01:00
Jakob Ketterl
e5bd78fd0c add fst4 and fst4w interval settings 2021-02-07 22:49:11 +01:00
Jakob Ketterl
8c4b9dd08a add settings for frequency_display_resolution and squelch_auto_margin 2021-02-07 22:40:03 +01:00
Jakob Ketterl
0517a59308 fix login page layout 2021-02-07 22:36:03 +01:00
Jakob Ketterl
ba3a68c3fa a bit of styling for the settings 2021-02-07 22:09:06 +01:00
Jakob Ketterl
d920540021 fix receiver_keys textarea 2021-02-07 21:45:02 +01:00
Jakob Ketterl
47ecc26f28 add a wfm tau dropdown to the web settings 2021-02-07 21:36:08 +01:00
Jakob Ketterl
689cd49694 drop "experimental pipe settings" (will become unavailable in the
future)
2021-02-07 18:23:17 +01:00
Jakob Ketterl
b60a8a1af0 add the ability to put append a unit to inputs 2021-02-07 18:21:57 +01:00
Jakob Ketterl
8de70cd523 add receiver_keys to the settings page 2021-02-07 18:04:46 +01:00
Jakob Ketterl
25db7c716d change heading 2021-02-07 17:36:44 +01:00
Jakob Ketterl
88020b894e move aprs_symbols_path to new config 2021-02-07 00:21:57 +01:00
Jakob Ketterl
ee687d4e27 fix copy&paste fail 2021-02-06 23:17:43 +01:00
Jakob Ketterl
b318b5e88a remove temporary directory from old config 2021-02-06 22:53:12 +01:00
Jakob Ketterl
8a25718d29 create config overrides directory 2021-02-06 22:31:02 +01:00
Jakob Ketterl
617bed91c4 fix config verification 2021-02-06 22:08:27 +01:00
Jakob Ketterl
9357d57a28 move temporary_directyr to core config; implement override logic 2021-02-06 21:55:47 +01:00
Jakob Ketterl
5d291b5b36 add pskreporter settings mappings 2021-02-06 21:01:59 +01:00
Jakob Ketterl
01c58327aa implement password reset command 2021-02-06 19:12:44 +01:00
Jakob Ketterl
635bf55465 format 2021-02-06 19:03:28 +01:00
Jakob Ketterl
732985c529 add help 2021-02-06 19:02:50 +01:00
Jakob Ketterl
9c5858e1e5 change wording 2021-02-06 19:01:14 +01:00
Jakob Ketterl
1fed499b7f create initial user in postinst script 2021-02-06 18:59:01 +01:00
Jakob Ketterl
d99669b3aa add "silent" flag to openwebrx-admin 2021-02-06 18:57:51 +01:00
Jakob Ketterl
e548d6a5de random salt for passwords 2021-02-06 18:43:37 +01:00
Jakob Ketterl
8806dc538e implement hashed passwords 2021-02-06 18:38:49 +01:00
Jakob Ketterl
f6f01ebee5 default password implementation 2021-02-06 18:22:13 +01:00
Jakob Ketterl
1d9ab1494f remove web_port from config 2021-02-06 18:17:37 +01:00
Jakob Ketterl
7054ec5d59 remove old users file from distribution 2021-02-06 18:15:55 +01:00
Jakob Ketterl
d72027e630 implement user deletion 2021-02-06 18:15:02 +01:00
Jakob Ketterl
99fe232a21 include command to create a user 2021-02-06 18:04:32 +01:00
Jakob Ketterl
dd2f0629d3 rename 2021-02-06 16:44:40 +01:00
Jakob Ketterl
ffcf5c0c27 create owrxadmin 2021-02-06 16:43:54 +01:00
Jakob Ketterl
3226c01f60 introduce core config file (settings that cannot be edited from the web) 2021-02-06 16:38:03 +01:00
Jakob Ketterl
54fb58755d add openwebrx data directory for persistent files 2021-02-06 15:50:50 +01:00
Jakob Ketterl
d9b662106c rename class 2021-02-05 17:58:27 +01:00
Jakob Ketterl
53faca64c0 clean up header styles 2021-02-05 17:56:02 +01:00
Jakob Ketterl
c23acc1513 automatically align 2021-02-05 17:22:43 +01:00
Jakob Ketterl
8e4716f241 drop empty Q65 decodes 2021-02-05 01:07:09 +01:00
Jakob Ketterl
e8fca853df unsubscribe on close; self-referencing prevents unsubscription 2021-02-04 18:00:03 +01:00
Jakob Ketterl
d6d6d97a13 add Q65 mode integration 2021-02-03 20:11:07 +01:00
Jakob Ketterl
e66be7c12d add feature definition for wsjt-x 2.4 2021-02-03 19:33:02 +01:00
Jakob Ketterl
56a42498a5 add frequencies for Q65 on available bands 2021-02-03 19:26:41 +01:00
Jakob Ketterl
bda718cbee update runds_connector 2021-02-03 17:09:51 +01:00
Jakob Ketterl
13eaee5ee9 replace eb200 with runds 2021-02-03 03:21:09 +01:00
Jakob Ketterl
44270af88f remove unused files to save space 2021-02-01 23:56:47 +01:00
Jakob Ketterl
bb680293a1 update m17 2021-02-01 23:56:35 +01:00
Jakob Ketterl
1ee75295e5 update to wsjtx 2.3.0 2021-02-01 23:56:09 +01:00
Jakob Ketterl
5e1c4391c6 include prometheus metrics, refs #200 2021-02-01 18:43:14 +01:00
Jakob Ketterl
998092f377 reroute /metrics to /metrics.json 2021-02-01 18:26:26 +01:00
Jakob Ketterl
dea07cd49b update connectors again 2021-02-01 13:37:01 +01:00
Jakob Ketterl
e3f99d6985 update eb200_connector, too 2021-01-31 23:35:05 +01:00
Jakob Ketterl
081b63def3 update connector with 32bit fixes 2021-01-31 23:05:36 +01:00
Jakob Ketterl
3c91f3cc2f add a timeout to wspr uploads 2021-01-31 20:31:54 +01:00
Jakob Ketterl
61a5250792 fix typos 2021-01-30 16:18:30 +01:00
Jakob Ketterl
881637811f switch when profile OR sdr has changed 2021-01-30 16:17:05 +01:00
Jakob Ketterl
142ca578ec truncate waterfall only when profile has changed 2021-01-30 16:04:29 +01:00
Jakob Ketterl
ad8ff1c2f7 send "sdr_id" to be able to detect changes 2021-01-30 16:04:13 +01:00
Jakob Ketterl
8372f198db add the ability to make a layer readonly 2021-01-30 16:03:35 +01:00
Jakob Ketterl
2a5448f5c1 update dsd feature detection to avoid start-up hangs 2021-01-30 15:03:52 +01:00
Jakob Ketterl
c8695a8e62 Merge branch 'master' into develop 2021-01-26 17:34:41 +01:00
Jakob Ketterl
477b457be9 update the version 2021-01-26 16:53:22 +01:00
Jakob Ketterl
58b35ec0f9 update changelogs for 0.20.3 2021-01-26 16:28:56 +01:00
Jakob Ketterl
9b2947827a Merge branch 'release-0.20' into develop 2021-01-25 19:40:28 +01:00
Jakob Ketterl
ae0748952f remove unused import, too 2021-01-25 19:40:06 +01:00
Jakob Ketterl
bee0f67efd Merge branch 'release-0.20' into develop 2021-01-25 19:37:57 +01:00
Jakob Ketterl
f81cf3570a don't check the type since older python doesn't have re.Pattern 2021-01-25 19:36:55 +01:00
Jakob Ketterl
612345f0b2 Merge branch 'master' into develop 2021-01-25 14:34:03 +01:00
Jakob Ketterl
b2e8fc5ad5 release version 0.20.2 2021-01-24 23:52:20 +01:00
Jakob Ketterl
b997e83095 update changelog 2021-01-24 23:51:01 +01:00
Jakob Ketterl
4a86af69d1 Fix merging error 2021-01-24 23:20:17 +01:00
Jakob Ketterl
bf31a27dca Merge branch 'fix_arbitrary_code_execution' into develop 2021-01-24 22:55:11 +01:00
Jakob Ketterl
366f7247f2 code style 2021-01-24 22:54:58 +01:00
Jakob Ketterl
a5bdf6c3ac Merge branch 'fix_arbitrary_code_execution' into develop 2021-01-24 22:47:08 +01:00
Jakob Ketterl
7e60efeae2 validate all parameters sent to dsp, refs #215 2021-01-24 22:29:23 +01:00
Jakob Ketterl
15940d0a2e extend StringValidator instead 2021-01-24 22:28:48 +01:00
Jakob Ketterl
d126c3acef allow regexes only on strings 2021-01-24 22:28:00 +01:00
Jakob Ketterl
a880b1f6f9 add regex validator 2021-01-24 22:03:53 +01:00
Jakob Ketterl
49577953c6 fix events 2021-01-24 21:58:15 +01:00
Jakob Ketterl
4b03ced1f7 add more validators 2021-01-24 21:58:02 +01:00
Jakob Ketterl
66dc4e5772 get validator by string 2021-01-24 21:25:26 +01:00
Jakob Ketterl
ad0a5c27db introduce PropertyValidator (wrapper) 2021-01-24 21:19:45 +01:00
Jakob Ketterl
40e531c0da start implementing a validation layer, refs #215 2021-01-24 20:53:51 +01:00
Jakob Ketterl
8b52988dcd add a test that makes sure that writing to a filtered property fails 2021-01-24 20:15:02 +01:00
Jakob Ketterl
862a251295 allow only limited parameters to be set on the dsp 2021-01-24 20:10:37 +01:00
Jakob Ketterl
faad38f72d Merge branch 'develop' into pycsdr 2021-01-24 00:37:58 +01:00
Jakob Ketterl
9258e76468 fix typo 2021-01-24 00:37:49 +01:00
Jakob Ketterl
e11bbbf494 remove fft stuff from csdr 2021-01-23 19:40:05 +01:00
Jakob Ketterl
4b94126dc3 use the fft chain directly without csdr dsp classes 2021-01-23 19:27:01 +01:00
Jakob Ketterl
4e429d047d Merge branch 'develop' into pycsdr 2021-01-23 17:17:44 +01:00
Jakob Ketterl
1d9b2729ef add server version to log information 2021-01-23 16:43:51 +01:00
Jakob Ketterl
999d32fd8a
Merge pull request #210 from legacycode/add-documentation
Added documentation to APRS section
2021-01-23 15:11:37 +01:00
legacycode
642552cc08
Added documentation to APRS 2021-01-23 08:47:39 +01:00
Jakob Ketterl
a0d219d120 protect against parser errors to prevent queue backlogging 2021-01-22 19:48:31 +01:00
Jakob Ketterl
68a1abd37e keep intermediate sample rate down to a minimum 2021-01-22 18:47:34 +01:00
Jakob Ketterl
bcab2b2288 update copyright notices 2021-01-22 18:10:51 +01:00
Jakob Ketterl
b8868cb55a move overlays to separate z-index to fix locator grid colors 2021-01-22 18:07:02 +01:00
Jakob Ketterl
f29f7b20e3 change shutdown handling to be able to join() 2021-01-22 17:34:35 +01:00
Jakob Ketterl
ae1287b8a2 remove faulty dependency 2021-01-22 17:34:09 +01:00
Jakob Ketterl
185fdb67cb handle SIGTERM 2021-01-22 17:33:53 +01:00
Jakob Ketterl
0ed69ef2f7 add viewport declaration 2021-01-20 23:09:56 +01:00
Jakob Ketterl
655b6849b7 prevent labels from being selected 2021-01-20 22:26:19 +01:00
Jakob Ketterl
39757b00b2 update changelog 2021-01-20 22:24:16 +01:00
Jakob Ketterl
64b7b485b3 run the code formatter over all 2021-01-20 17:01:46 +01:00
Jakob Ketterl
f0dc2f8ebe format code 2021-01-20 16:46:55 +01:00
Jakob Ketterl
55e1aa5857 use the property stack the way it's intended for better consistency 2021-01-20 16:46:29 +01:00
Jakob Ketterl
fe45d139ad fix an unset property error 2021-01-20 16:41:53 +01:00
Jakob Ketterl
181855e7a4 add filtering capability to the map 2021-01-20 00:39:34 +01:00
Jakob Ketterl
5d3d6423ed fix ysf images; remove obsolete code 2021-01-19 22:04:33 +01:00
Jakob Ketterl
6e60247026 apply CSS magic to DMR, too 2021-01-19 20:54:35 +01:00
Jakob Ketterl
6e416d0839 set prefixes using CSS 2021-01-19 00:36:55 +01:00
Jakob Ketterl
ee8d896d60 implement output buffer shutdown 2021-01-17 21:01:54 +01:00
Jakob Ketterl
db83256bcf Merge branch 'develop' into pycsdr 2021-01-17 20:58:02 +01:00
Jakob Ketterl
23bf1df72a update list of features with recent development 2021-01-17 19:51:04 +01:00
Jakob Ketterl
413c02f272 add discord to readme 2021-01-17 19:45:39 +01:00
Jakob Ketterl
502d324cd4 fix dmr mute overlay 2021-01-17 19:41:17 +01:00
Jakob Ketterl
3246e5ab3a move ysf metadata parsing to server; improve map pin behavior 2021-01-17 19:21:13 +01:00
Jakob Ketterl
c59c5b76d8 fix callsign highlight on map for mobile / portable calls 2021-01-17 18:50:55 +01:00
Jakob Ketterl
297d6b540d Merge branch 'develop' into pycsdr 2021-01-17 18:16:32 +01:00
Jakob Ketterl
e917b920c8 remove failing stop() implementation on destructor 2021-01-17 18:11:10 +01:00
Jakob Ketterl
a0eeea8fe3 improve queue shutdown to avoid stale files 2021-01-17 17:49:03 +01:00
Jakob Ketterl
0f81964598 reserve one line of space to stop the icons from jumping 2021-01-17 01:49:10 +01:00
Jakob Ketterl
9c52219ca3 use gap instead of margins 2021-01-16 22:32:48 +01:00
Jakob Ketterl
8a73f2c9df rewrite DMR panel, too 2021-01-16 22:07:55 +01:00
Jakob Ketterl
98da3a6d99 delegate, don't duplicate. better this way 2021-01-16 21:20:21 +01:00
Jakob Ketterl
667fe596dc ysf does not need autoclear any more 2021-01-16 21:19:00 +01:00
Jakob Ketterl
f3444a4edb setup autoclear 2021-01-16 21:17:12 +01:00
Jakob Ketterl
946866319c improve location handling & clearing 2021-01-16 21:16:49 +01:00
Jakob Ketterl
8be0092f61 rewrite ysf panel update to make it less jumpy 2021-01-16 21:07:58 +01:00
Jakob Ketterl
3f94832d00 use flex layout 2021-01-16 19:46:39 +01:00
Jakob Ketterl
41f9407024 re-package code for meta panels into classes 2021-01-16 19:40:22 +01:00
Jakob Ketterl
13215960c4 show header buttons conditionally 2021-01-16 18:06:37 +01:00
Jakob Ketterl
9f702f5d14 let's try to make the header somewhat responsive 2021-01-16 17:34:17 +01:00
Jakob Ketterl
992a5c33a2 check for keys' existence 2021-01-16 15:45:33 +01:00
Jakob Ketterl
ae217f9ded specify flex-direction explicitly 2021-01-15 19:55:37 +01:00
Jakob Ketterl
00631d7349 hide map overlay until map is loaded 2021-01-15 19:43:16 +01:00
Jakob Ketterl
163ebcd327 actually position text in the center 2021-01-15 19:33:55 +01:00
Jakob Ketterl
a31b246924 restructure header 2021-01-15 19:06:00 +01:00
Jakob Ketterl
a8ef3a0e6a get rid of the e() function 2021-01-15 18:09:18 +01:00
Jakob Ketterl
b9f0c91ced update changelog 2021-01-15 16:28:38 +01:00
Jakob Ketterl
966a404700 don't spot FST4W on pskreporter (same as WSPR?) 2021-01-15 16:27:15 +01:00
Jakob Ketterl
885e361bab implement reporting of FST4W spots (in theory) 2021-01-15 16:19:45 +01:00
Jakob Ketterl
a65f15869b add wsprnet metrics 2021-01-15 00:11:20 +01:00
Jakob Ketterl
1b36baad88 extend default WFM bandwidth to 150kHz, allowing up to 200kHz 2021-01-14 23:47:12 +01:00
Jakob Ketterl
3273716706 add some info to the config 2021-01-14 23:02:34 +01:00
Jakob Ketterl
2c3586a92a add changelog 2021-01-14 22:58:40 +01:00
Jakob Ketterl
74a4f5b272 add wsprnet config variables 2021-01-14 22:56:52 +01:00
Jakob Ketterl
747a5ce7ef fix reporting system shutdown 2021-01-14 22:55:35 +01:00
Jakob Ketterl
e3aa3fa4c6 implement wsprnet reporting, refs #62 2021-01-14 22:54:59 +01:00
Jakob Ketterl
132bd2b445 create reporting engine to distribute spots 2021-01-14 20:52:56 +01:00
Jakob Ketterl
2334ad1d5b try a list of sample rates; prefer 48kHz 2021-01-14 17:07:43 +01:00
dl9rdz
57efdff43e try enforcing 44100 samples/s for audio to avoid problems with odd defautl sampling rates 2021-01-14 16:51:00 +01:00
Jakob Ketterl
c5323f8d54 validate start_freq, use center_freq if invalid 2021-01-14 00:12:53 +01:00
Jakob Ketterl
7f3071336b check if new value is undefined 2021-01-13 23:50:36 +01:00
Jakob Ketterl
db98590985 implement profile validation 2021-01-13 23:44:00 +01:00
Jakob Ketterl
a90ef4efec add m17-demod as recommended package 2021-01-10 02:15:23 +01:00
Jakob Ketterl
b27c03c1c4 restore autostart to avoid unused thread 2021-01-09 20:08:40 +01:00
Jakob Ketterl
502546f9d3 improve cpu usage thread instance protection 2021-01-09 20:01:39 +01:00
Jakob Ketterl
113c06fae4 introduce separate wsjt-x version check based on wsjtx_app_version 2021-01-09 19:19:53 +01:00
Jakob Ketterl
73b75edc14 remove duplicate import 2021-01-09 19:10:08 +01:00
Jakob Ketterl
5337c20744 remove duplicate 2021-01-09 19:01:39 +01:00
Jakob Ketterl
f4629804ff explicitly unset chain since automatic garbage collection is broken 2021-01-04 00:24:06 +01:00
Jakob Ketterl
2783091cea unset buffer since it can't be reused 2021-01-04 00:23:29 +01:00
Jakob Ketterl
91be89e44e Merge branch 'develop' into pycsdr 2021-01-03 15:59:27 +01:00
Jakob Ketterl
57e5923a4d apply performance optimizations to s-meter, too 2021-01-02 18:16:25 +01:00
Jakob Ketterl
9d89cbceed use transform for better performance 2021-01-02 17:53:54 +01:00
Jakob Ketterl
a2d731503f update api 2021-01-02 03:12:21 +01:00
Jakob Ketterl
3e69c71ed5 Merge branch 'develop' into pycsdr 2021-01-02 03:11:41 +01:00
Jakob Ketterl
44f4532452 add debug logging 2021-01-02 02:25:07 +01:00
Jakob Ketterl
c1245308bd make this more robust 2021-01-01 23:37:10 +01:00
Jakob Ketterl
a1cbc45b88 prevent multiple creation of cpu usage thread 2020-12-31 23:18:01 +01:00
Jakob Ketterl
90f319ebda split config into global and device config
* less config properties sent to the client
2020-12-31 23:03:36 +01:00
Jakob Ketterl
9674af10ce
Merge pull request #202 from ewsandor/develop
User Customization of APRS IGate Beacon Details
2020-12-30 21:44:40 +01:00
Jakob Ketterl
5a77b6a8e5 show bandplan bookmarks only when mode is available 2020-12-30 21:37:25 +01:00
Jakob Ketterl
53553fcce2 fix subscription handling 2020-12-30 21:33:02 +01:00
Ed Sandor
1730ef27da Remove POWER from pbeacon string 2020-12-30 12:21:07 -07:00
Ed Sandor
57a6db5df2 Removing inapplicable fields 2020-12-30 12:16:12 -07:00
Ed Sandor
32fe01f128 Round instead of floor height conversion 2020-12-30 11:03:59 -07:00
Jakob Ketterl
b85d801121 create separate subscription for bookmarks 2020-12-30 18:45:13 +01:00
Ed Sandor
daa499ab93 PR comments edits 2020-12-30 10:33:21 -07:00
Jakob Ketterl
68fcb8522e fix typo 2020-12-30 18:05:10 +01:00
Jakob Ketterl
341b94b9ff prevent KeyError by checking for key existence 2020-12-30 17:46:13 +01:00
Jakob Ketterl
f4b9decd23 more animation performance optimizations 2020-12-30 17:45:32 +01:00
Jakob Ketterl
cf0c6e7f9d adapt to config event api changes 2020-12-30 17:18:46 +01:00
Jakob Ketterl
29703d10b2 server side: send only changed config keys 2020-12-30 17:17:14 +01:00
Jakob Ketterl
abb0813948 send only necessary config changes 2020-12-30 17:15:48 +01:00
Jakob Ketterl
2c3146314b send property changes in bulk to global subscribers 2020-12-30 17:14:06 +01:00
Jakob Ketterl
eb34c45145 apply transform trick to get GPU optimized animations 2020-12-28 21:16:54 +01:00
Jakob Ketterl
993aa87776 use css animations for the progressbar (better performance?) 2020-12-28 20:55:02 +01:00
Jakob Ketterl
ca183c7c5a Merge branch 'develop' into pycsdr 2020-12-27 20:22:42 +01:00
Jakob Ketterl
71043d4305 update m17-cxx-demod in docker 2020-12-27 20:10:41 +01:00
Jakob Ketterl
eb981c04e9 Merge branch 'm17' into develop 2020-12-27 19:51:32 +01:00
Jakob Ketterl
ecf934864a move dc_block to individual chains since it interferes with m17 demod 2020-12-27 19:49:59 +01:00
Jakob Ketterl
686eeb706b add external reference control 2020-12-27 13:52:49 +01:00
Jakob Ketterl
fa3b5cd7e6 implement new buffer input / output api 2020-12-25 20:27:30 +01:00
Jakob Ketterl
94575d2212 update m17-cxx-demod 2020-12-22 12:51:36 +01:00
Jakob Ketterl
ca9e9601ab update m17-cxx-demod and dependencies 2020-12-21 19:42:15 +01:00
Jakob Ketterl
06f3499b6d Merge branch 'develop' into m17 2020-12-21 17:04:09 +01:00
Jakob Ketterl
2df527ed20 wrap averager (prepare to make it switchable) 2020-12-21 00:33:48 +01:00
Jakob Ketterl
2c7c41cded move fft calculations into fft chain 2020-12-20 22:55:10 +01:00
Jakob Ketterl
1083d51e18 update fft parameters without restarting 2020-12-19 17:13:36 +01:00
Jakob Ketterl
40c07ebb57 move fft calculations to dsp class 2020-12-19 16:41:48 +01:00
Jakob Ketterl
efe80a75f5 put the socketclient on the source so it can be shared 2020-12-19 16:28:18 +01:00
Jakob Ketterl
1bd6aa73f3 encapsulate fft chain in its own class 2020-12-16 18:52:00 +01:00
Jakob Ketterl
4b61192b36 add a feature flag 2020-12-16 10:18:47 +01:00
Jakob Ketterl
664c6e049f pycsdr based ffd (baby steps) 2020-12-15 23:02:12 +01:00
Jakob Ketterl
db3d662dae fix typo 2020-12-13 16:31:19 +01:00
Ed Sandor
dee050f338 Fix comment 2020-12-12 11:38:50 -07:00
Ed Sandor
ae00a14a35 Fix comment formatting 2020-12-12 11:38:15 -07:00
Ed Sandor
86fdbe45e9 Add examples and comments to default config 2020-12-12 11:23:35 -07:00
Ed Sandor
b04dcc18d0 This is Python not C 2020-12-12 11:10:15 -07:00
Ed Sandor
1cc88ff362 if check fix 2020-12-12 11:09:12 -07:00
Ed Sandor
3435052e27 sanitize empty comment 2020-12-12 11:08:47 -07:00
Ed Sandor
4c3d037e58 Cleanup debug logging 2020-12-12 11:07:50 -07:00
Ed Sandor
f83790a5be debug comment length 2020-12-12 10:15:26 -07:00
Ed Sandor
11bb04419b fix parenthesis 2020-12-12 10:13:46 -07:00
Ed Sandor
519b02da79 improve quotes check 2020-12-12 10:12:43 -07:00
Ed Sandor
fdbbbcb64c Sanitize comment closing quote 2020-12-12 10:04:42 -07:00
Ed Sandor
0fb4ae4fc0 sanitize comment for opening quote 2020-12-12 09:59:34 -07:00
Jakob Ketterl
181511bc8e remove maps link from header 2020-12-11 17:53:31 +01:00
Jakob Ketterl
e062412e60 show receiver location pin on the map 2020-12-11 17:47:17 +01:00
Jakob Ketterl
bdb6d75f83 better sorting for the legend 2020-12-10 22:22:08 +01:00
Jakob Ketterl
433111124f reset default to 4 2020-12-10 20:59:40 +01:00
Jakob Ketterl
23080dbe22 allow frequency display precision to be set via configuration 2020-12-10 20:58:07 +01:00
Jakob Ketterl
05096c2a16 fully initialize sdr devices
* makes always-on work as expected
* prevents race conditions when multiple clients connect at the same
  time
2020-12-10 18:28:10 +01:00
Ed Sandor
5559cded85 Add quotes around default pbeacon comment 2020-12-09 23:17:42 -07:00
Ed Sandor
9f45e8880a formating pbeacon string 2020-12-09 23:09:37 -07:00
Ed Sandor
dc128662da log pbeacon string 2020-12-09 23:05:04 -07:00
Ed Sandor
dc3fd24903 Correcting key check 2020-12-09 22:59:16 -07:00
Ed Sandor
b2efa81b0d Formatting additional PBEACON details 2020-12-09 22:54:06 -07:00
Jakob Ketterl
2c04d40c53 allow antenna information to be sent to pskreporter 2020-12-10 01:36:09 +01:00
Jakob Ketterl
fcff9d16ff filter out problematic spots instead of breaking completely 2020-12-09 23:38:27 +01:00
Jakob Ketterl
eef61f9d1e break the pskreporter loop if there's nothing to upload 2020-12-09 22:59:45 +01:00
Jakob Ketterl
8f9f9e8397
Merge pull request #197 from acfnews/develop
correct typo, and prevent warning during postinstall
2020-12-09 21:53:13 +01:00
acfnews
d0e7747c7f correct typo, and prevent warning during postinstall 2020-12-09 21:38:59 +01:00
Jakob Ketterl
9e45cfd02a implement clear function for js8, too - refs #187 2020-12-09 21:19:22 +01:00
Jakob Ketterl
aa66e69c15 implement clear button for packet, pocsag, wsjt-x, refs #187 2020-12-09 20:08:50 +01:00
Jakob Ketterl
9bf4b149aa move pocsag message panel 2020-12-09 19:53:37 +01:00
Jakob Ketterl
5474973752 move aprs message panel 2020-12-09 19:42:46 +01:00
Jakob Ketterl
3e30ab57a6 move wsjt message panel logic to own class 2020-12-09 19:26:34 +01:00
Jakob Ketterl
9d6099b6d8 FST4[W] frontend work 2020-12-09 17:38:37 +01:00
Jakob Ketterl
a7f667779a allow roaming / portable / mobile calls in wsjt-x message 2020-12-09 12:47:08 +01:00
Jakob Ketterl
f71240c9a6 handle exception when output is missing 2020-12-09 12:31:01 +01:00
Jakob Ketterl
f8fc61e9bd streamline datetime parsing 2020-12-09 12:02:40 +01:00
Jakob Ketterl
a8011e3a1a use profiles instead of parsing to detect mode 2020-12-09 11:38:46 +01:00
Jakob Ketterl
e8fcf05775 add m17-demod to docker builds (preliminary) 2020-12-08 19:43:50 +01:00
Jakob Ketterl
cfb6fb5b30 add changelog message 2020-12-08 17:01:04 +01:00
Jakob Ketterl
fb68ca3c66 add documentation 2020-12-08 16:59:49 +01:00
Jakob Ketterl
6af19f44e8 Merge branch 'develop' into m17 2020-12-08 16:57:00 +01:00
Jakob Ketterl
3291dbe8d2 fix fst4w profile 2020-12-08 01:06:21 +01:00
Jakob Ketterl
efac5b0449 change job decoder error handling so errors reflect in metrics 2020-12-08 00:28:34 +01:00
Jakob Ketterl
519155a12f fix "R" callsign problem 2020-12-08 00:01:00 +01:00
Jakob Ketterl
603c3df1b6 fix fst4(w) filenames 2020-12-08 00:00:21 +01:00
Jakob Ketterl
05ca541a8e fix jt9 parameters 2020-12-07 20:29:22 +01:00
Jakob Ketterl
917884b5f5 add changelog message 2020-12-07 11:59:43 +01:00
Jakob Ketterl
22a2bd1de1 default config for FST4/FST4W intervals 2020-12-07 11:57:34 +01:00
Jakob Ketterl
af4923c741 enable reporting of FST4/FST4W to pskreporter 2020-12-07 11:56:21 +01:00
Jakob Ketterl
ac4401175f add FST4 and FST4W modes 2020-12-07 11:56:01 +01:00
Jakob Ketterl
71c649b016 add and definitions for VLF bands including frequencies for FST4/FST4W 2020-12-07 11:52:46 +01:00
Jakob Ketterl
cbdb143966 allow 25kHz packet when manually adjusting 2020-12-06 23:24:57 +01:00
Jakob Ketterl
8c105b0c40 fix direwolf build (uses cmake now) 2020-12-06 01:44:14 +01:00
Jakob Ketterl
8e760a0fcc use new direwolf 1.6 2020-12-06 00:43:45 +01:00
Jakob Ketterl
6f46e4d376 remove debugging 2020-12-06 00:42:48 +01:00
Jakob Ketterl
bee6ddc843 use information from the mode registry to set up services 2020-12-06 00:36:20 +01:00
Jakob Ketterl
a3fd931931 demodulate digimodes starting at 0 Hz 2020-12-06 00:21:46 +01:00
Jakob Ketterl
e2fa293c74 fix paths 2020-12-04 00:39:05 +01:00
Jakob Ketterl
c4ed481ce2 update aprs-symbols location for docker 2020-12-04 00:12:51 +01:00
Jakob Ketterl
e6ea3832fc add aprs-symbols debian package 2020-12-04 00:11:47 +01:00
Jakob Ketterl
9a8c0ce442 update list of device types in config 2020-12-02 23:36:30 +01:00
Jakob Ketterl
49ec66e27c add hpsdr change log notice 2020-12-02 23:35:37 +01:00
Jakob Ketterl
2b6456168e add libc6-dev for header files 2020-12-02 17:59:24 +01:00
Jakob Ketterl
e6cbe6ffc8 add hpsdr build 2020-12-02 16:51:52 +01:00
Jakob Ketterl
00d496086e add gcc as it seems to be required on arm (?) 2020-12-02 16:50:14 +01:00
Jakob Ketterl
1894ed50d1 add hpsdrconnector docker build 2020-12-01 23:33:05 +01:00
Jakob Ketterl
7ad5ca03b0 add eb200 to full build 2020-12-01 21:42:20 +01:00
Jakob Ketterl
b380187453 add docker build for eb200 devices 2020-12-01 21:39:22 +01:00
Jakob Ketterl
2022c53fad make soapysdr-tools a hard dependency; recommend eb200_connector 2020-12-01 17:41:17 +01:00
Jakob Ketterl
46b7660e2d add long flag mapping for eb200 2020-12-01 14:14:52 +01:00
Jakob Ketterl
e90b10abfd Merge branch 'master' into develop 2020-11-30 20:30:30 +01:00
Jakob Ketterl
8710a2a1d3 update version and changelog 2020-11-30 18:30:33 +01:00
Jakob Ketterl
b3fbf89f57 remove OSM fallback since it's broken 2020-11-30 18:10:34 +01:00
Jakob Ketterl
a8bd13f7e6 increase bandwidth for packet to 12.5kHz 2020-11-30 17:13:03 +01:00
Jakob Ketterl
daf2848c4d increase package dependency version 2020-11-30 13:24:25 +01:00
Jakob Ketterl
0614637342 add eb200 support 2020-11-30 00:34:44 +01:00
Jakob Ketterl
865ffb28af Merge branch 'rf103' into develop 2020-11-29 16:01:56 +01:00
Jakob Ketterl
8b89d1e062 update changelog 2020-11-29 16:01:35 +01:00
Jakob Ketterl
e4cf95856e update connectors 2020-11-28 22:11:12 +01:00
Jakob Ketterl
74be25f656 rename all occurences to SDDC 2020-11-27 18:49:33 +01:00
Jakob Ketterl
b5d56eaec2 update to use new sddc_connector 2020-11-27 18:39:10 +01:00
Jakob Ketterl
8bb6e91597 Merge branch 'develop' into rf103 2020-11-23 18:42:17 +01:00
Jakob Ketterl
d72f2d9e5c update changelog 2020-11-23 15:34:44 +01:00
Jakob Ketterl
781b4383d6 remove port flag and turn rtltcp_compat into an option 2020-11-23 15:26:01 +01:00
Jakob Ketterl
017bbc3748 attempt to include m17-demod (untested due to lack of signals) 2020-11-23 01:00:25 +01:00
Jakob Ketterl
69a5e0bc5d Merge branch 'develop' into rf103 2020-11-12 23:45:39 +01:00
Jakob Ketterl
2579b9be26 remove specific instructions, complete list 2020-11-12 23:44:02 +01:00
Jakob Ketterl
9bfef01438
Merge pull request #188 from jancona/hpsdr_connector
Support for HPSDR radios (specifically, the Hermes-Lite 2)
2020-11-12 23:39:28 +01:00
Jim Ancona
c0d4b2f6a5 Remove debug option, mention in config_webrx.py 2020-11-12 17:36:36 -05:00
Jakob Ketterl
529e9c3c60 Merge branch 'develop' into rf103 2020-11-12 18:01:59 +01:00
Jakob Ketterl
504c256b3e make auto squelch level margin configurable 2020-11-12 18:00:24 +01:00
Jim Ancona
91572c56e2 Make hpsdrconnector into a true connector. 2020-11-09 19:24:13 -05:00
Jakob Ketterl
3b229b95b6 Merge branch 'develop' into rf103 2020-11-04 22:45:46 +01:00
Jakob Ketterl
0f4b8dc794 fill-in undeclared variable, refs #192 2020-11-04 22:38:24 +01:00
Jakob Ketterl
e700f0a9e4 replace nanoscroller with compressed version, drop map reference.
closes #191
2020-11-04 22:32:13 +01:00
Jim Ancona
c85400063c Initial HPSDR radio support 2020-11-02 07:11:54 -05:00
Jakob Ketterl
dc03639cad add source for rf103 (experimental) 2020-10-25 16:53:18 +01:00
Jakob Ketterl
e6a04aa5e9 use agc on wsjtx/js8 since the levels are too low on some sdrs 2020-10-25 14:41:53 +01:00
Jakob Ketterl
1bc3830e5e guard against the case where receiver_keys are missing in the
configuration
2020-10-16 22:53:57 +02:00
Jakob Ketterl
93f7195429
Merge pull request #173 from jwt27/jwt27/highlight-freq-digits
Highlight frequency digits on mouse hover
2020-10-16 20:29:52 +02:00
Jakob Ketterl
d04e0d2a2a link feature report to the wiki for DRM and FreeDV 2020-10-16 19:52:51 +02:00
Jakob Ketterl
259eef2e68 move develop to the next version 0.21 2020-10-11 23:16:59 +02:00
Jakob Ketterl
ad5e610cec update changelog for 0.20.0 2020-10-11 23:13:14 +02:00
Jakob Ketterl
a37aec3bdf reduce sample rate on 2m 2020-10-11 18:55:03 +02:00
Jakob Ketterl
1cec386c18 release version 0.20.0 2020-10-11 15:03:39 +02:00
Jakob Ketterl
ce39de14e8 display squelch on mouseover, too 2020-10-11 00:46:41 +02:00
Jakob Ketterl
3975073efd defer demodulator startup until center_freq is set 2020-10-11 00:25:13 +02:00
Jakob Ketterl
f31685e4e7 fix some exceptions due to None values 2020-10-11 00:15:09 +02:00
Jakob Ketterl
a856c27fe4 cache requirements, not features, for even better results 2020-10-10 23:00:05 +02:00
Jakob Ketterl
0435225a29 add feature detection cache to improve client load times 2020-10-10 22:08:35 +02:00
Jakob Ketterl
be757c7968 change default rtlsdr gain to 29 to avoid e4000 problems 2020-10-10 13:38:26 +02:00
Jakob Ketterl
9b977ac878 combine docker operations into docker.sh 2020-10-05 17:03:34 +02:00
Jakob Ketterl
37344c0cb8 don't pull result 2020-10-05 16:25:09 +02:00
Jakob Ketterl
ff25fa25dd fix missing pkg-config for plutosdr 2020-10-04 23:48:42 +02:00
Jakob Ketterl
ac0e44857c rtltcp docker image 2020-10-04 22:57:03 +02:00
Jakob Ketterl
9f17f1bc17 make wfm deemphasis tau configurable 2020-10-04 21:56:35 +02:00
Jakob Ketterl
1faa61ad50 allow wfm deemphasis tau to be set from the outside 2020-10-04 21:46:58 +02:00
Jakob Ketterl
815831b1ed update dependencies in docker 2020-10-04 21:02:46 +02:00
Jakob Ketterl
6c70e19c63 separate metric for direct aprs messages 2020-10-02 17:45:48 +02:00
Jakob Ketterl
4a8e9472ab create metric dynamically 2020-10-02 17:16:16 +02:00
Jakob Ketterl
5d4f3b8d90 update owrx_connector in docker 2020-09-26 01:46:25 +02:00
Jakob Ketterl
f37c7baefb update connectors 2020-09-21 18:31:49 +02:00
Jakob Ketterl
efca3520ab update connectors 2020-09-21 14:54:59 +02:00
Jakob Ketterl
cc385f851f remove unused import 2020-09-20 19:55:08 +02:00
Jakob Ketterl
349604ac50 fix some javascript errors 2020-09-20 19:53:13 +02:00
Jakob Ketterl
eaaa214dc9 add more details about dream; prevent X11 windows during feature
detection
2020-09-20 12:41:11 +02:00
Jakob Ketterl
e3e94ad14e update changelog with the respective type 2020-09-20 12:26:57 +02:00
Jakob Ketterl
c1347de1f0 optimize waterfall color generation 2020-09-19 21:53:29 +02:00
Jakob Ketterl
71a2352d2b let the client initiate the dsp again 2020-09-19 21:35:14 +02:00
Jakob Ketterl
34414de4e5 only re-start dsp if dsp has been started before 2020-09-19 21:17:00 +02:00
Jakob Ketterl
ff34e793a0 handle failure of sdr devices asynchronously 2020-09-19 20:45:23 +02:00
Jakob Ketterl
31295efbff restore linear interpolation to improve performance 2020-09-19 15:51:54 +02:00
Jakob Ketterl
a3285d5943 make the secondary fft run faster again 2020-09-17 22:57:40 +02:00
Jakob Ketterl
b9e19421c1 activate fft averaging on the secondary fft 2020-09-17 22:43:39 +02:00
Jakob Ketterl
6a6d4a3c9b secondary fft is now complex, better display for digimodes based on FM 2020-09-17 22:21:49 +02:00
Jakob Ketterl
82825fee41 fix sequence according to dependencies 2020-09-17 21:33:11 +02:00
Jakob Ketterl
2018dd444f start off with black & white to avoid javascript errors 2020-09-17 21:13:42 +02:00
Jakob Ketterl
35243fb62e anticipate problems with old color schemes; counter with new config
version
2020-09-17 20:59:16 +02:00
Jakob Ketterl
fa08f1e2cf use chroma.js to calculate waterfall colors 2020-09-17 20:10:01 +02:00
Jakob Ketterl
e10a52b39e handle full queue better by draining 2020-09-15 22:04:53 +02:00
Jakob Ketterl
c947204356 adopt the frontend regex (matches better), closes #170 2020-09-13 22:30:57 +02:00
Jakob Ketterl
994bf7439b update changelog 2020-09-13 20:22:26 +02:00
Jakob Ketterl
97f3642262 fix mouse wheel tuning for frequencies < 1MHz 2020-09-13 15:35:32 +02:00
Jakob Ketterl
0e8aece991 display current waterfall values on mouse over 2020-09-13 13:57:12 +02:00
Jakob Ketterl
39a473c8c2 disable waterfall sliders in auto mode 2020-09-13 13:38:44 +02:00
Jakob Ketterl
b9e6ffe03d first attempt at an automatically calibrating waterfall 2020-09-12 22:06:12 +02:00
Jakob Ketterl
9f9a5ceaa3 implement minimum waterfall range 2020-09-12 20:36:10 +02:00
Jakob Ketterl
36cf6097b3 fine-tune colors 2020-09-12 19:54:25 +02:00
Jakob Ketterl
45c0d05fec include turbo color map (by google ai) 2020-09-12 19:49:22 +02:00
Jakob Ketterl
3cd6af9ef9 add fonts in newer, better compressed formats 2020-09-12 19:01:51 +02:00
Jakob Ketterl
d12af6d203 strip non-essential parts from direwolf in docker 2020-09-12 00:21:46 +02:00
Jakob Ketterl
5f5cafe5ca optimizes uhd build further 2020-09-11 23:34:52 +02:00
Jakob Ketterl
d45cc207ad use sprites scaled to specific resolution (better performance, less
scaling headaches)
2020-09-11 22:12:01 +02:00
Jakob Ketterl
6e3a13e0d2 slim down uhd build; enable usb devices 2020-09-11 01:31:00 +02:00
Jakob Ketterl
0d6e9a5b9f missed file during sprite commits 2020-09-11 00:19:46 +02:00
Jakob Ketterl
7d509eeb48 explicitly fill buffer with 0s to avoid noise on newer chrome versions 2020-09-11 00:19:04 +02:00
Jakob Ketterl
87ba4ea524 fix audioworklet callbacks 2020-09-11 00:09:07 +02:00
Jakob Ketterl
42f975a926 use sprites for bookmark button, too 2020-09-11 00:02:45 +02:00
Jakob Ketterl
63c31eba22 use sprites to reduce the number of requests 2020-09-10 22:29:01 +02:00
Jakob Ketterl
626fa7681b improvise compiler flags for arm cpus 2020-09-10 21:07:49 +02:00
Jakob Ketterl
d412d482b2 add build instructions for new images 2020-09-10 20:55:12 +02:00
Jakob Ketterl
cf2f7377ab remove obsolete image 2020-09-10 20:54:16 +02:00
Jakob Ketterl
6c8cadace6 add docker builds for uhd and red pitaya 2020-09-10 18:25:18 +02:00
Jakob Ketterl
320f64a611 fix copy target 2020-09-06 23:35:00 +02:00
Jakob Ketterl
bfc3684d75 actually uncouple base and owrx layer 2020-09-06 23:33:45 +02:00
Jakob Ketterl
19a4a37144 update csdr with bugfix 2020-09-06 21:07:55 +02:00
Jakob Ketterl
f2d284989b add exceptional bandwidth for drm 2020-09-05 22:10:23 +02:00
Jakob Ketterl
3f01fc6d67 update changelog 2020-09-05 19:50:14 +02:00
Jakob Ketterl
d4396cc61a Merge branch 'develop' into drm 2020-09-05 01:10:50 +02:00
Jakob Ketterl
298da694ca compress background image with webp 2020-09-05 01:10:08 +02:00
Jakob Ketterl
a5bc7850a0 update csdr 2020-09-05 00:41:06 +02:00
Jakob Ketterl
f6e0cf2b71 patch dream to avoid hamlib and link with faad2 correctly 2020-09-05 00:40:36 +02:00
Jakob Ketterl
9a5286ca24 use complex fractional decimator 2020-09-04 22:02:23 +02:00
Jakob Ketterl
e10143b6db add dream to docker builds 2020-09-04 21:20:27 +02:00
Jakob Ketterl
6fe41f8e02 add compilation instructions 2020-09-04 20:27:12 +02:00
Jakob Ketterl
e8068a8795 fix dream audio output 2020-09-04 19:14:16 +02:00
Jakob Ketterl
e8ee94d13b fix detection 2020-09-04 18:11:36 +02:00
Jakob Ketterl
2411929455 implement DRM mode with dream 2020-09-04 18:09:02 +02:00
Jakob Ketterl
bec02795b8 implement gzip compression for assets 2020-09-04 15:44:25 +02:00
Jakob Ketterl
b5bc63e76b fix cache-control header 2020-09-04 14:46:27 +02:00
Jakob Ketterl
1aa487ff1a update owrx_connector in docker 2020-09-01 23:33:14 +02:00
Jakob Ketterl
f47ebb2adb docker optimization
* move openwebrx project tools to a separate layer for lower download
  volume and faster builds
* use COPY instead of ADD
* COPY multiple files at once to reduce number of layers
2020-09-01 23:30:48 +02:00
Jakob Ketterl
f90670f477 erase waterfall calibration memory 2020-08-31 21:48:02 +02:00
Jakob Ketterl
95ac5aeb7d detect device failure 2020-08-30 23:48:05 +02:00
Jakob Ketterl
9be0664e14 explicit typing of the source event interface 2020-08-30 23:47:04 +02:00
Jakob Ketterl
805039ec02 Merge branch 'develop' of github.com:jketterl/openwebrx into develop 2020-08-30 23:26:45 +02:00
Jakob Ketterl
322ebb1baa
Merge pull request #171 from jwt27/jwt27/bpsk
s/psk/bpsk/g in bands.json
2020-08-30 23:20:51 +02:00
J.W. Jagersma
325eab35a9
highlight frequency digits on mouse hover 2020-08-30 23:13:26 +02:00
Jakob Ketterl
32105538c5 lock on the spectrum thread to avoid double start 2020-08-30 17:35:53 +02:00
Jakob Ketterl
820ca16cd9 update codec2 in docker 2020-08-30 14:43:05 +02:00
J.W. Jagersma
45e3c910da
s/psk/bpsk/g in bands.json 2020-08-30 04:56:48 +02:00
Jakob Ketterl
d609acc6aa freedv agc fine-tuning 2020-08-29 21:32:21 +02:00
Jakob Ketterl
02b4822be8 update csdr in docker 2020-08-28 22:35:23 +02:00
Jakob Ketterl
c16a1b4726 fine-tune dsd agc; remove limiter (included in agc now) 2020-08-28 22:05:00 +02:00
Jakob Ketterl
d1cea95eb4 use 16bit agc for freedv and dsd modes, refs #126 2020-08-27 22:35:49 +02:00
Jakob Ketterl
53eefa7c80 fix last_decimation 2020-08-27 22:35:12 +02:00
Jakob Ketterl
b06732dbf5 fine-tuning of dsd audio agc 2020-08-27 19:41:46 +02:00
Jakob Ketterl
22feb8dd1c moderate agc for NFM 2020-08-27 19:28:20 +02:00
Jakob Ketterl
56f976e495 let's try without the minor version 2020-08-27 00:12:18 +02:00
Jakob Ketterl
f830c7efa6 update csdr dependency to 0.17.0 2020-08-27 00:08:50 +02:00
Jakob Ketterl
04d6515337 let's try this way 2020-08-26 23:17:40 +02:00
Jakob Ketterl
f78a68d53f update dependency versions 2020-08-26 23:13:50 +02:00
Jakob Ketterl
c8687f2f8d update wording on github 2020-08-26 21:08:50 +02:00
Jakob Ketterl
1884b89a6e update changelog 2020-08-26 21:07:50 +02:00
Jakob Ketterl
008787a938 update csdr in docker 2020-08-26 21:05:29 +02:00
Jakob Ketterl
f41814c6ca add csdr version requirement 2020-08-26 20:07:58 +02:00
Jakob Ketterl
055269504b use the new agc parameters 2020-08-26 19:45:21 +02:00
Jakob Ketterl
dea5b15656 new gain parameters for digital modes 2020-08-26 00:43:49 +02:00
Jakob Ketterl
6650438d2f slow agc parameters for AM 2020-08-25 21:28:18 +02:00
Jakob Ketterl
4204e4d9e2 Merge branch 'develop' into agc_work 2020-08-24 00:03:55 +02:00
Jakob Ketterl
9e41d49d46 refactor audio startup so it will autostart on firefox, if allowed 2020-08-23 17:56:13 +02:00
Jakob Ketterl
6aa25760c5 update the issues page wordings 2020-08-22 18:07:54 +02:00
Jakob Ketterl
1bff6d1289 update connectors to latest version 2020-08-20 11:50:56 +02:00
Jakob Ketterl
23c69fb5a3 add "remote" mapping 2020-08-16 23:22:46 +02:00
Jakob Ketterl
b158e0d17d add the ability to add literal command-line arguments 2020-08-16 23:19:37 +02:00
Jakob Ketterl
c9dd33ba57 add a new source for rtl_tcp and rtl_tcp_connector 2020-08-16 21:49:52 +02:00
Jakob Ketterl
bc000451cc update make call 2020-08-15 17:39:13 +02:00
Jakob Ketterl
47da9a9d70 use unix dir separators 2020-08-15 17:01:32 +02:00
Jakob Ketterl
66703cb5e1 include radioberry in full build 2020-08-15 16:53:10 +02:00
Jakob Ketterl
0066b4dbfd make script executable 2020-08-15 16:52:55 +02:00
Jakob Ketterl
18d8b81f70 add git revision 2020-08-15 16:46:16 +02:00
Jakob Ketterl
8d52bde6b0
Merge pull request #165 from pa3gsb/develop
radioberry added to docker setup
2020-08-15 16:43:28 +02:00
Jakob Ketterl
dd3bf121c1 fix start_freq not working on neighboring profiles 2020-08-15 16:05:50 +02:00
pa3gsb
cfc3f926fe clone added 2020-08-15 14:24:48 +02:00
pa3gsb
6f8c8a3b66 radioberry added to docker setup 2020-08-15 14:02:20 +02:00
Jakob Ketterl
1c2125f969 prevent direwolf from using hamlib, refs #164 2020-08-14 21:08:35 +02:00
Jakob Ketterl
0030c6d656 thread names to aid debugging 2020-08-14 20:22:25 +02:00
Jakob Ketterl
7e5ea6e065 improve read pipe opening 2020-08-14 20:20:07 +02:00
Jakob Ketterl
49383e757f extract pipes to separate file 2020-08-14 19:54:07 +02:00
Jakob Ketterl
0cd0a1085a uncouple reading pipes, too, and select makes the threads time out 2020-08-14 00:17:09 +02:00
Jakob Ketterl
5bc69b6fa4 use id of pipe to avoid file system collisions 2020-08-13 23:51:11 +02:00
Jakob Ketterl
ddb5fe51b3 open pipes in non-blocking loops, preventing thread leaks 2020-08-13 23:35:49 +02:00
Jakob Ketterl
56debcd08a provide a fallback for browsers not supporting css gaps 2020-08-13 19:39:56 +02:00
Jakob Ketterl
de34856d57 let's stick with flexbox, but use native wrapping 2020-08-12 22:14:02 +02:00
Jakob Ketterl
80c25f459c use the space, modes! 2020-08-12 21:41:06 +02:00
Jakob Ketterl
ccb322016e re-arrange demodulator buttons in a dynamic grid 2020-08-12 19:44:33 +02:00
Jakob Ketterl
08ba0c7b02 shut down multiprocessing queue explicitly using a poison pill 2020-08-11 22:14:36 +02:00
Jakob Ketterl
7f57e4f45c compensate oversampling with the prefilter of csdr 2020-08-08 22:51:03 +02:00
Jakob Ketterl
f0b3a50c23 increase maximum audio speed indication (uncompressed hd is about
700kbps)
2020-08-08 22:23:34 +02:00
Jakob Ketterl
e51dbac2c5 update changelog 2020-08-08 22:06:33 +02:00
Jakob Ketterl
f4c43ffab6 fine-tune 2020-08-08 22:04:28 +02:00
Jakob Ketterl
69a12650d2 permit increased bandwidth for WFM 2020-08-08 22:04:10 +02:00
Jakob Ketterl
8c5a7a087f compensate WFM frequency deviation, at least preliminary 2020-08-08 21:56:35 +02:00
Jakob Ketterl
5a938b8c0b simplify 2020-08-08 21:35:15 +02:00
Jakob Ketterl
448e266097 implement wfm demodulator chain 2020-08-08 21:29:25 +02:00
Jakob Ketterl
da3f59fb9b determine hd audio rate and send it to the server 2020-08-08 20:45:03 +02:00
Jakob Ketterl
ef2ec1e1c5 catch exception on closed inputs 2020-08-08 20:43:29 +02:00
Jakob Ketterl
031c937c0c actually build fcdpp image 2020-08-08 00:11:44 +02:00
Jakob Ketterl
c6ec21747b add log to issue template 2020-08-08 00:11:11 +02:00
Jakob Ketterl
b54be3384d add docker build for funcube 2020-08-07 23:28:36 +02:00
Jakob Ketterl
62ee2ca445 add documentation about freedv_rx 2020-08-07 22:58:24 +02:00
Jakob Ketterl
03b2f83981 add groups.io link 2020-08-07 19:43:04 +02:00
Jakob Ketterl
20f0a5cd6c Update issue templates 2020-08-07 19:23:35 +02:00
Jakob Ketterl
640f438c4c
Merge pull request #161 from jketterl/openwebrx-bug-template
Update issue templates
2020-08-07 19:15:21 +02:00
Jakob Ketterl
b068fb5756 Update issue templates 2020-08-07 17:07:09 +02:00
Jakob Ketterl
645ace75c3 protect against erroneous reads 2020-08-06 20:06:04 +02:00
Jakob Ketterl
0518ff9358 provide information to the queue which entries are done 2020-08-05 20:04:41 +02:00
Jakob Ketterl
a65fd7916e drain connections, close wave files refs #146 2020-08-05 20:03:38 +02:00
Jakob Ketterl
a77108dd0c drain subprocess pipes to free up file descriptors, refs #146 2020-08-05 20:01:57 +02:00
Jakob Ketterl
7234ff4309 use normal queue since we're not even multiprocessing 2020-08-05 19:07:55 +02:00
Jakob Ketterl
7ea8c8f7c6 use better locking for the service startup/shutdown 2020-07-30 21:35:31 +02:00
Jakob Ketterl
c8e5b4f822 let's try this again with a more recent version... 2020-07-30 18:05:56 +02:00
Jakob Ketterl
780d51286a update changelog 2020-07-29 21:45:24 +02:00
Jakob Ketterl
2252547fc1 add freedv to docker container 2020-07-29 21:44:10 +02:00
Jakob Ketterl
7e5409160e initial work on freedv / codec2 support, refs #126 2020-07-28 00:28:20 +02:00
Jakob Ketterl
9b187140ff catch exception and replace with a debug message, refs #22 2020-07-27 21:18:24 +02:00
Jakob Ketterl
77ae13723d remove link to outdated instructions, closes #157 2020-07-27 20:27:25 +02:00
Jakob Ketterl
9efc839128 update to js8call 2.2.0 2020-07-22 18:45:13 +02:00
Jakob Ketterl
660301a43b update to wsjt-x 2.2.2 2020-07-21 22:51:12 +02:00
Jakob Ketterl
11fd918d62 handle more errors the right way, refs #144 2020-07-21 20:33:48 +02:00
Jakob Ketterl
de67d36cd6 update changelog 2020-07-21 20:03:33 +02:00
Jakob Ketterl
1f8b2f7909 always send busy state event, even when always-on, closes #147 2020-07-21 19:57:23 +02:00
Jakob Ketterl
d9bc03d1fc clear the multiprocessing queue to get rid of more file descriptors,
refs #146
2020-07-20 23:09:38 +02:00
Jakob Ketterl
369a61ec59 shut down pipes correctly, refs #146 2020-07-19 19:42:18 +02:00
Jakob Ketterl
c54f19282a improved error handling, refs #146 #22 2020-07-19 19:00:26 +02:00
Jakob Ketterl
174e9afa7b correctly close iqtee / iqtee2 pipes 2020-07-18 20:00:49 +02:00
Jakob Ketterl
e53f1f60eb multi-key signing implementation 2020-07-09 21:32:57 +02:00
Jakob Ketterl
7eb0a8cf7e add fcdpp support 2020-07-09 15:39:33 +02:00
Jakob Ketterl
0e6518915d * refactor receiverid into a separate controller base
* allow multiple headers to prepare for checking multiple claims
2020-07-04 21:47:56 +02:00
Jakob Ketterl
e0129fd0f7 move timezone to initialization instead of implicit localization 2020-07-01 19:10:46 +02:00
Jakob Ketterl
929cf5e230 makefiles use tabs... weird 2020-06-23 19:48:00 +02:00
Jakob Ketterl
d6512e0a86 prevent debian packaging from modifying png files 2020-06-23 19:39:26 +02:00
Jakob Ketterl
480b728c06 move metrics initialization to have initial metrics 2020-06-23 00:08:59 +02:00
Jakob Ketterl
9e323a08ff remove duplicate css declaration 2020-06-22 00:07:16 +02:00
Jakob Ketterl
75f4f0bfe0 fix timezones in all places 2020-06-21 22:35:40 +02:00
Jakob Ketterl
2eece08d27 correct timezone for last-modified header 2020-06-21 21:42:32 +02:00
Jakob Ketterl
b930bb432d add -dev flag to clearly distinguish development versions 2020-06-14 21:58:35 +02:00
Jakob Ketterl
83ff417f4d post-release cleanup 2020-06-13 19:25:15 +02:00
Jakob Ketterl
bead51db69 fix the date 2020-06-13 18:51:01 +02:00
Jakob Ketterl
bf171bbfda add release targets 2020-06-13 18:48:18 +02:00
Jakob Ketterl
8ca068c98f update changelogs to reflect release 2020-06-13 18:47:17 +02:00
Jakob Ketterl
a696cc4ed8 next release version 2020-06-13 18:31:49 +02:00
Jakob Ketterl
0a2a28cb34 remove debugging 2020-06-13 18:26:27 +02:00
Jakob Ketterl
0f20f1fcdc update changelog 2020-06-13 18:21:22 +02:00
Jakob Ketterl
9a61f90fec parse hex string for hmac 2020-06-11 20:55:05 +02:00
Jakob Ketterl
5a88856825 fix array syntax 2020-06-11 00:01:47 +02:00
Jakob Ketterl
0e4f772c69 perform actual hmac signature 2020-06-11 00:00:16 +02:00
Jakob Ketterl
8278ece803 add receiver keys to configuration 2020-06-10 23:34:09 +02:00
Jakob Ketterl
eebe33f896 implement signature algorithm 2020-06-10 22:50:16 +02:00
Jakob Ketterl
61d03b38b9 receiver receiverid challenge and find corresponding key 2020-06-10 20:09:40 +02:00
Jakob Ketterl
c0f447ca20 fix rockprog integration 2020-06-07 22:53:31 +02:00
Jakob Ketterl
81465d69cc introduce next version to develop branch 2020-06-02 21:18:05 +02:00
Jakob Ketterl
1e84ced9a9 resture "under construction" notice 2020-06-02 21:12:25 +02:00
Jakob Ketterl
3479148b86 more tuning of the default configuration 2020-06-01 22:52:35 +02:00
Jakob Ketterl
017ad818ef fix up default configuration 2020-06-01 22:43:58 +02:00
Jakob Ketterl
09caae2fcc update changelog 2020-06-01 21:44:02 +02:00
Jakob Ketterl
ae295d72ae remove "under construction" notice 2020-06-01 19:41:38 +02:00
Jakob Ketterl
16c59c3245 release versions 2020-06-01 19:05:09 +02:00
Jakob Ketterl
ea65ef0100 update changelog 2020-06-01 18:34:54 +02:00
Jakob Ketterl
379e39aa3e Merge branch 'develop' into radioberry 2020-06-01 18:27:44 +02:00
Jakob Ketterl
835501a5f4 update changelog 2020-06-01 18:15:03 +02:00
Jakob Ketterl
c87cfed525 remove old status urls 2020-06-01 16:03:22 +02:00
Jakob Ketterl
ebd1e04414 remove sdr.hu parts 2020-06-01 15:58:15 +02:00
Jakob Ketterl
1019ed5793 fill gain input with values 2020-05-31 21:24:07 +02:00
Jakob Ketterl
adcac7b54a hackrf gain settings 2020-05-31 20:52:45 +02:00
Jakob Ketterl
d3a3078504 soapy gain input box for airspyhf 2020-05-31 20:43:12 +02:00
Jakob Ketterl
ac18a76c14 split stuff into separate files 2020-05-31 20:25:41 +02:00
Jakob Ketterl
66b5f17d38 implement soapy gain input 2020-05-31 19:57:20 +02:00
Jakob Ketterl
9763f302f3 switch to csdr and owrx_connector development versions 2020-05-31 15:04:09 +02:00
Jakob Ketterl
1359da5b14 limit SIMD flags to x86 only 2020-05-31 01:04:57 +02:00
Jakob Ketterl
063d22f88c build with lime SIMD limited to SSE3 for better portability, refs #38 2020-05-31 00:55:21 +02:00
Jakob Ketterl
7681830256 add soapy module for hackrf 2020-05-30 23:41:30 +02:00
Jakob Ketterl
3371697e18 add bias_tee mapping 2020-05-30 23:03:43 +02:00
Jakob Ketterl
bfe6c00f90 add debian changelog entry, too 2020-05-30 22:59:45 +02:00
Jakob Ketterl
e90973bcd4 switch hackrf to soapy 2020-05-30 22:58:31 +02:00
Jakob Ketterl
e0648d63ad reduce image size by excluding wsjt-x and js8call frontend binaries 2020-05-28 00:45:27 +02:00
Jakob Ketterl
564c1e26b6 let's try auto-apt-proxy to cut down build times 2020-05-25 20:38:42 +02:00
Jakob Ketterl
27d6802dfc include wsjt-x patches 2020-05-25 20:31:42 +02:00
Jakob Ketterl
d2a4f2bc46 patch wsjt-x to use packaged hamlib, too 2020-05-25 20:30:53 +02:00
Jakob Ketterl
d24abd436e install s6 overlay during normal dependency setup 2020-05-25 20:10:03 +02:00
Jakob Ketterl
305adc94fa install s6 overlay for the right platform 2020-05-24 21:45:08 +02:00
Jakob Ketterl
d9db693aec add changelog 2020-05-24 18:02:45 +02:00
Jakob Ketterl
d64f08490a use the old syntax 2020-05-24 18:00:14 +02:00
Jakob Ketterl
a982c86794 update sdrplay patches; fix sdrplay service 2020-05-24 17:28:48 +02:00
Jakob Ketterl
6c307d885f integrate s6 service layer for sdrplay 2020-05-24 16:00:36 +02:00
Jakob Ketterl
048210d7da update to latest versions from the homepage 2020-05-24 14:59:11 +02:00
Jakob Ketterl
d2be712de8 include sdrplay lib from sdrplay repo 2020-05-24 14:46:17 +02:00
Jakob Ketterl
3a8256e3bc update to the sdrplay repository version 2020-05-24 14:43:25 +02:00
Jakob Ketterl
385c241858 Merge branch 'develop' into sdrplay_v3 2020-05-24 14:05:36 +02:00
Jakob Ketterl
a1da591218 rtl_connector optimization 2020-05-24 13:50:28 +02:00
Jakob Ketterl
f1d9a4a28c switch to shift_addfast_cc for better performance 2020-05-24 03:04:20 +02:00
Jakob Ketterl
29b3f530d2 update again, latest fixes for aarch64 2020-05-24 02:44:55 +02:00
Jakob Ketterl
e1f83727b7 update csdr to latest 2020-05-24 00:42:47 +02:00
Jakob Ketterl
17f4f671a6 add a changelog entry about docker debian rebuild 2020-05-24 00:41:18 +02:00
Jakob Ketterl
4b8ef29775 add the fmv-optimized owrx_connector in docker, too, refs #38 2020-05-23 22:55:00 +02:00
Jakob Ketterl
5377087848 don't install unnecessary dependencies 2020-05-23 22:53:12 +02:00
Jakob Ketterl
1fedd0e50f limesdr requires libatomic 2020-05-23 22:52:22 +02:00
Jakob Ketterl
6cac3b4d39 restore startup 2020-05-23 22:51:46 +02:00
Jakob Ketterl
d9292587ec part 2: all the image builds 2020-05-23 19:59:31 +02:00
Jakob Ketterl
cf4f1dce32 rebuild docker containers with debian, stage 1: base 2020-05-23 18:06:46 +02:00
Jakob Ketterl
1299f5e9cc update csdr in docker to the latest version 2020-05-22 21:25:22 +02:00
Jakob Ketterl
48b177defa provision for a custom gain control 2020-05-17 21:21:37 +02:00
Jakob Ketterl
63475dda78 implement field sorting 2020-05-17 20:25:49 +02:00
Jakob Ketterl
9dd7a7e653 remove the remnants of the templating configuration 2020-05-17 18:51:36 +02:00
Jakob Ketterl
b624bef345 add broadcast bands 2020-05-17 18:45:01 +02:00
Jakob Ketterl
a03176223a add a bit more dynamic content 2020-05-17 18:44:26 +02:00
Jakob Ketterl
98cb1a8389 use the new version without FMV 2020-05-17 11:19:22 +02:00
Jakob Ketterl
ddbc844954 update csdr 2020-05-17 01:38:08 +02:00
Jakob Ketterl
d22ab23771 set package build flag to disable optimizations 2020-05-16 21:29:16 +02:00
Jakob Ketterl
0a60b505b8 update dependencies, refs #38 2020-05-16 19:03:48 +02:00
Jakob Ketterl
2b4799591f initialize logging early since there may be messages happening in
imports
2020-05-14 22:57:09 +02:00
Jakob Ketterl
048aab682f include changed wsjt keys in config migration 2020-05-14 22:56:49 +02:00
Jakob Ketterl
e557d46c0d apply darkly theme 2020-05-14 22:31:54 +02:00
Jakob Ketterl
10d6309608 add rockprog as a dependency 2020-05-14 21:40:28 +02:00
Jakob Ketterl
7d41fc8b06 pass temporary directory to services, too 2020-05-11 23:45:44 +02:00
Jakob Ketterl
2483398b0f clean up .wav files on exception, refs #107 2020-05-11 23:20:03 +02:00
Jakob Ketterl
a94209a2bc apply some alt tags to images 2020-05-11 20:31:21 +02:00
Jakob Ketterl
db7b4f195e fix for offset_freq when demodulator is exactly on center_freq 2020-05-11 15:04:24 +02:00
Jakob Ketterl
b0f7fd5d00 ability to add more config keys 2020-05-10 22:42:09 +02:00
Jakob Ketterl
96b1de1856 register different input types 2020-05-10 20:34:34 +02:00
Jakob Ketterl
9366d67218 dynamic sdr device settings 2020-05-10 20:18:42 +02:00
Jakob Ketterl
8df885b727 download receiver details via rest api 2020-05-10 17:27:46 +02:00
Jakob Ketterl
11cf2a96e2 create a receiver details route for use in the header 2020-05-10 17:12:42 +02:00
Jakob Ketterl
f62bd8be36 Merge branch 'develop' into radioberry 2020-05-10 17:03:58 +02:00
Jakob Ketterl
813474b5d6 make the header work on all pages 2020-05-10 17:03:30 +02:00
Jakob Ketterl
508ea2cf96 create a javascript profile for the map, too 2020-05-10 17:03:30 +02:00
Jakob Ketterl
a37e5ac93f header is now collapsed by default; simpler javascript 2020-05-10 17:03:30 +02:00
Jakob Ketterl
2c1ec7df74 make the header work on all pages 2020-05-10 16:23:05 +02:00
Jakob Ketterl
4971bee67c create a javascript profile for the map, too 2020-05-10 16:12:37 +02:00
Jakob Ketterl
eaa41c3256 header is now collapsed by default; simpler javascript 2020-05-10 16:07:14 +02:00
Jakob Ketterl
5606646064 implement basic support for radioberry 2020-05-10 00:03:14 +02:00
Jakob Ketterl
59a7842c6d fix map info window popping up after close 2020-05-09 01:18:51 +02:00
Jakob Ketterl
149ad8dcc6 move rx_photo code to header 2020-05-09 01:03:43 +02:00
Jakob Ketterl
3a5e227ab5 integrate feature report 2020-05-09 00:27:42 +02:00
Jakob Ketterl
3202f48f8e header details on map, too 2020-05-09 00:20:38 +02:00
Jakob Ketterl
3a455a0452 start collecting header routines 2020-05-09 00:11:20 +02:00
Jakob Ketterl
f2288ceb49 let's work with frame targets 2020-05-08 23:53:50 +02:00
Jakob Ketterl
dba4f91c77 include homepage 2020-05-08 23:49:02 +02:00
Jakob Ketterl
1f565355ec change available mode highlighting, refs #95 2020-05-08 23:34:34 +02:00
Jakob Ketterl
af1cfee754 allow switching underlying modulation (if available) refs #95 2020-05-08 22:56:02 +02:00
Jakob Ketterl
9563adacf7 more jquery magic for progressbars 2020-05-08 21:35:45 +02:00
Jakob Ketterl
fc7188145b use jquery to store progressbar objects 2020-05-08 21:18:03 +02:00
Jakob Ketterl
ceafcbf850 fix secondary demod being false 2020-05-06 23:00:57 +02:00
Jakob Ketterl
7fbd024ed5 fix sql=0 parameter 2020-05-06 22:52:48 +02:00
Jakob Ketterl
66a4f29911 let's try pre-loading the pipes to improve dsp initialization 2020-05-06 19:54:55 +02:00
Jakob Ketterl
eab3bf780e fix problems with sdr device failover detection 2020-05-04 20:36:17 +02:00
Jakob Ketterl
efa9771ad7 let's move some logic to the dialog 2020-05-04 00:20:01 +02:00
Jakob Ketterl
e2cacc1fa0 only available ones 2020-05-03 23:58:12 +02:00
Jakob Ketterl
93b8f75cc3 automatically load modes into bookmark dialog 2020-05-03 23:56:22 +02:00
Jakob Ketterl
a6a29b7032 actually, it's better to catch the exception inside 2020-05-03 21:50:40 +02:00
Jakob Ketterl
981d3b6673 ignore keyerrors in this case 2020-05-03 21:28:37 +02:00
Jakob Ketterl
8e313517d1 initialize frequeny correctly 2020-05-03 21:26:11 +02:00
Jakob Ketterl
beed0c1a70 improve squelch handling
squelch is now included in the URL hash
some modes now have the squelch visually disabled, refs #65
2020-05-03 19:55:48 +02:00
Jakob Ketterl
d98abe42bc fix configurable_keys exception 2020-05-03 17:50:37 +02:00
Jakob Ketterl
52367e53f5 remove the debugging 2020-05-03 17:46:32 +02:00
Jakob Ketterl
acb392e56c reset & stabilize modes 2020-05-03 13:10:54 +02:00
Jakob Ketterl
ac136313cb keep back changes until start command is given 2020-05-03 13:10:25 +02:00
Jakob Ketterl
e92a91663d restart demodulator based on modes 2020-05-03 12:48:25 +02:00
Jakob Ketterl
26ba8ca999 update bandpass for secondary modes 2020-05-03 12:23:23 +02:00
Jakob Ketterl
e409c37158 add remark about js8 binary location 2020-05-03 12:09:36 +02:00
Jakob Ketterl
2f2d52df85 re-wire digital voice meta panels 2020-05-03 12:09:18 +02:00
Jakob Ketterl
0868e643c9 return after sending 404 2020-05-02 16:59:27 +02:00
Jakob Ketterl
1bfe768601 hash handling fits better into here now 2020-05-02 15:17:09 +02:00
Jakob Ketterl
3405bc485b fix profile switching 2020-05-02 15:07:47 +02:00
Jakob Ketterl
6ff1b7d20a fix reconnection behavior 2020-05-02 14:51:00 +02:00
Jakob Ketterl
3504c8b54e update changelog 2020-05-02 14:40:01 +02:00
Jakob Ketterl
e01a12a945 just a comma 2020-05-02 13:57:19 +02:00
Jakob Ketterl
8c8445eb3b improve receiver load times by concating javascript 2020-05-02 13:35:42 +02:00
Jakob Ketterl
7a3043559f initialize mouseover display 2020-05-02 02:35:55 +02:00
Jakob Ketterl
54812f0de1 fix band changes 2020-05-02 02:32:49 +02:00
Jakob Ketterl
28c1425a8f fix digimode init from hash 2020-05-02 02:13:16 +02:00
Jakob Ketterl
a96690c8bd fft_fps isn't even used in the frontend 2020-05-02 01:36:12 +02:00
Jakob Ketterl
e5196c6af9 prevent starting demodulator if already started 2020-05-02 01:35:38 +02:00
Jakob Ketterl
19518da2e2 fix filter setup 2020-05-02 01:25:23 +02:00
Jakob Ketterl
b956a0dcd6 resolve todos 2020-05-02 01:16:36 +02:00
Jakob Ketterl
20023e3989 update bookmarks 2020-05-02 01:10:41 +02:00
Jakob Ketterl
d9a818525d refactor demodulator classes, part 2 2020-05-02 01:07:44 +02:00
Jakob Ketterl
b8f7686a6d refactor demodulator classes, part 1 2020-05-02 00:05:20 +02:00
Jakob Ketterl
5013af2117 combine methods 2020-04-30 23:31:52 +02:00
Jakob Ketterl
02a6326605 fix method names in comments 2020-04-30 23:20:56 +02:00
Jakob Ketterl
1441b9610c refactor into the classes, too 2020-04-30 23:16:49 +02:00
Jakob Ketterl
56f3f089a1 fix debugging; synchronize startup 2020-04-30 22:54:44 +02:00
Jakob Ketterl
1764abe65f update secondary parameters 2020-04-30 22:31:18 +02:00
Jakob Ketterl
33762574c3 improve demodulator initalization, part 2: refactor js classes 2020-04-30 22:07:19 +02:00
Jakob Ketterl
f1dc9af651 use synchronized setup; start dsp later 2020-04-27 22:49:24 +02:00
Jakob Ketterl
25a7bbd86a reset secondary demodulator, too 2020-04-26 23:14:34 +02:00
Jakob Ketterl
6a8168025d improve demodulator initialization 2020-04-26 22:46:30 +02:00
Jakob Ketterl
26321ab68b keep more parameters on the server side 2020-04-26 18:45:41 +02:00
Jakob Ketterl
449b3b3986 features no longer used on this level 2020-04-26 17:19:05 +02:00
Jakob Ketterl
39f9d4c273 streamline button generation 2020-04-26 17:18:48 +02:00
Jakob Ketterl
bb1b561c47 fully-automatic mode panel generation 2020-04-26 16:58:31 +02:00
Jakob Ketterl
907787cfdc implement first stages of active mode communication 2020-04-26 15:17:03 +02:00
Jakob Ketterl
e61d3a22a3 add if_mode mapping for sdrplay, refs #105 2020-04-26 13:49:03 +02:00
Jakob Ketterl
fb90a4e54b display sdr devices 2020-04-26 02:15:19 +02:00
Jakob Ketterl
5282b5f8df implement redirect on login 2020-04-26 01:54:48 +02:00
Jakob Ketterl
9942b3baf2 separate page for sdr settings 2020-04-25 21:55:52 +02:00
Jakob Ketterl
b874583931 setup for multiple settings sections 2020-04-25 21:42:00 +02:00
Jakob Ketterl
2f011ea249 add remark about web admin 2020-04-25 20:57:12 +02:00
Jakob Ketterl
a4ebf87263 check for key 2020-04-25 20:55:33 +02:00
Jakob Ketterl
dd492fa63c hide "settings" link if features is disabled 2020-04-25 20:52:41 +02:00
Jakob Ketterl
4dc10fb6a3 lose the logo 2020-04-25 20:36:08 +02:00
Jakob Ketterl
4a2b81c793 use autogain on airspyhf 2020-04-25 20:32:11 +02:00
Jakob Ketterl
e064352621 finally, remove debugging 2020-04-25 19:18:30 +02:00
Jakob Ketterl
b58357741a separate modes in here, too 2020-04-25 19:05:24 +02:00
Jakob Ketterl
2198c00d00 add js8 settings to web configuration 2020-04-25 17:33:30 +02:00
Jakob Ketterl
978eea400d clean up wsjt remainders in absctract code 2020-04-25 16:22:40 +02:00
Jakob Ketterl
a828f61c72 use right message delay for mode 2020-04-24 23:47:05 +02:00
Jakob Ketterl
4e67be8a3c dynamic profiles 2020-04-23 23:30:56 +02:00
Jakob Ketterl
623f21f769 fast and turbo modes 2020-04-23 22:27:03 +02:00
Jakob Ketterl
34838abfa9 profiles 2020-04-23 22:21:26 +02:00
Jakob Ketterl
280e39d9c4 js8 slow mode 2020-04-23 22:19:07 +02:00
Jakob Ketterl
2df56ad8b9 js8 slow mode (attempt?) 2020-04-23 00:34:49 +02:00
Jakob Ketterl
5ab2f02f63 multi-profile decoding 2020-04-23 00:21:59 +02:00
Jakob Ketterl
0120b33a25 refactor chopper out of wsjt 2020-04-22 23:53:19 +02:00
Jakob Ketterl
9622cd6a2a Merge branch 'develop' into js8call 2020-04-22 18:34:10 +02:00
Jakob Ketterl
78ccaa7d65 access regex groups in python 3.5 compatible way, closes #109 2020-04-22 18:28:45 +02:00
Jakob Ketterl
4f07c62cc9 use the latest available thread 2020-04-21 21:00:16 +02:00
Jakob Ketterl
520ddbb034 Merge branch 'develop' into js8call 2020-04-21 19:27:13 +02:00
Jakob Ketterl
0a16500133 get avatar path from pkg_resources, refs #108 2020-04-21 19:24:57 +02:00
Jakob Ketterl
681a583711 always begin a new message if the flag says so 2020-04-21 18:11:07 +02:00
Jakob Ketterl
aa4362fe9f add js8 to the changelog 2020-04-20 22:12:33 +02:00
Jakob Ketterl
0c12d07a26 finalize visual message representation 2020-04-20 22:07:21 +02:00
Jakob Ketterl
f474ab94d2 close threads when ending message has been received 2020-04-20 18:31:45 +02:00
Jakob Ketterl
5ba77012a7 update js8py library 2020-04-19 23:42:36 +02:00
Jakob Ketterl
a573fa0b93 Merge branch 'develop' into js8call 2020-04-19 23:38:51 +02:00
Jakob Ketterl
9a86bc23be make hackrf sleep for 1 second on restarts (device is not released
immediately)
2020-04-19 23:36:35 +02:00
Jakob Ketterl
c90b415c8b add scroll-to-bottom and cleanup intervals 2020-04-19 23:35:06 +02:00
Jakob Ketterl
4287387a5e threading frontend implementation 2020-04-19 22:10:32 +02:00
Jakob Ketterl
32bd1bb4aa install js8py 2020-04-18 00:41:16 +02:00
Jakob Ketterl
1023087c8a get locator from compound frame, too 2020-04-17 23:50:23 +02:00
Jakob Ketterl
5843aec342 fix js8call in the docker build 2020-04-16 22:01:51 +02:00
Jakob Ketterl
f52bf560ec add hamlib and js8 to docker (not working yet) 2020-04-15 23:20:17 +02:00
Jakob Ketterl
05a4139f94 add js8call dependency 2020-04-15 22:26:45 +02:00
Jakob Ketterl
116e20335e Merge branch 'develop' into js8call 2020-04-15 22:25:14 +02:00
Jakob Ketterl
5e6b45eaec Merge branch 'develop' of github.com:jketterl/openwebrx into develop 2020-04-15 21:40:38 +02:00
Jakob Ketterl
aa38340415
Merge pull request #104 from moepman/fix-hackrf-ppm
hackrf: properly use ppm setting as parameter
2020-04-15 21:40:29 +02:00
Markus Hauschild
4d157d275a hackrf: properly use ppm setting as parameter 2020-04-15 21:22:06 +02:00
Jakob Ketterl
70818836de switch to recommended dependencies 2020-04-15 20:40:03 +02:00
Jakob Ketterl
1f70b93310 seems like we're in upper case 2020-04-14 23:16:45 +02:00
Jakob Ketterl
4c604bf400 Merge branch 'develop' into js8call 2020-04-14 22:37:22 +02:00
Jakob Ketterl
7fe694ba0a add urls to debian packaging 2020-04-14 22:36:59 +02:00
Jakob Ketterl
eb9059a711 switch to homepage url 2020-04-14 22:36:59 +02:00
Jakob Ketterl
da4917998d js8 metrics 2020-04-14 22:31:30 +02:00
Jakob Ketterl
99b4a25de7 js8 service 2020-04-14 21:27:50 +02:00
Jakob Ketterl
899445d586 display messages on the web 2020-04-14 21:12:25 +02:00
Jakob Ketterl
2de0cbc6c0 send messages to frontend, spots to pskreporter 2020-04-14 21:10:35 +02:00
Jakob Ketterl
7948d1f27a move dmr_filter property to the right list 2020-04-14 13:43:26 +02:00
Jakob Ketterl
bcb8a2315c use new library for js8 decoding 2020-04-13 16:35:31 +02:00
Jakob Ketterl
ddfd85c586 add js8 decoding if available 2020-04-12 13:10:23 +02:00
Jakob Ketterl
0e8715b5a1 the space has been introduced at some point, make it optional 2020-04-12 00:53:58 +02:00
Jakob Ketterl
1b2e237816 increment connector dependency 2020-04-12 00:32:01 +02:00
Jakob Ketterl
6d43126fa5 remove unused import 2020-04-10 20:05:06 +02:00
Jakob Ketterl
3c0146b1c4 add patches for armv7l and aarch64 2020-04-10 18:37:09 +02:00
Jakob Ketterl
893a56aa83 update install script patch 2020-04-10 18:03:19 +02:00
Jakob Ketterl
f7c9fbcc22 factory name has been changed in v3 2020-04-10 17:25:32 +02:00
Jakob Ketterl
aa29836039 remove debugging output 2020-04-10 17:21:53 +02:00
Jakob Ketterl
c30740c4e3 add uhd and redpitaya device modules; switch driver detection to
factories
2020-04-10 16:33:04 +02:00
Jakob Ketterl
d07cbb2b10 more abc 2020-04-05 21:48:05 +02:00
Jakob Ketterl
8fdf263e4b explicitly cast frequency 2020-04-05 21:47:40 +02:00
Jakob Ketterl
4d67b684e4 refactor 2020-04-05 19:08:58 +02:00
Jakob Ketterl
d06e9151b9 pass the frequency along with the job, refs #22 #61 2020-04-05 16:35:46 +02:00
Jakob Ketterl
366def0235 use abc 2020-04-05 15:22:23 +02:00
Jakob Ketterl
2301141b44 add missing keys() method 2020-04-02 18:21:45 +02:00
Jakob Ketterl
112eda2021 use the command mapper to generate event keys 2020-04-02 00:10:28 +02:00
Jakob Ketterl
d9e15357f3 update connector for docker 2020-04-01 23:50:00 +02:00
Jakob Ketterl
70ba0cd618 add direct_sampling mapping for rtl_sdr 2020-04-01 23:37:40 +02:00
Jakob Ketterl
78704885d7 drop another todo 2020-04-01 22:39:32 +02:00
Jakob Ketterl
513b477fac add user.json provisioning 2020-04-01 22:31:14 +02:00
Jakob Ketterl
6c3bb0b520 add first user storage implementation 2020-04-01 22:29:42 +02:00
Jakob Ketterl
c2e85ce9a6 web admin is disabled by default for now 2020-04-01 21:40:33 +02:00
Jakob Ketterl
3f742c7b1a webadmin feature flag 2020-04-01 21:39:53 +02:00
Jakob Ketterl
b7831b824a update dependencies 2020-03-29 22:48:10 +02:00
Jakob Ketterl
f0ef5bb371 add location picker so set receiver location 2020-03-29 21:40:29 +02:00
Jakob Ketterl
29566430a6 add location input fields 2020-03-29 20:49:37 +02:00
Jakob Ketterl
a3126b060d add forms to setup 2020-03-29 20:15:13 +02:00
Jakob Ketterl
2ef80eee1d refactor and format 2020-03-29 20:14:34 +02:00
Jakob Ketterl
65a0320cea refactor 2020-03-29 19:52:56 +02:00
Jakob Ketterl
199dfe106a add a new multi-checkbox to select background detection services 2020-03-29 19:50:37 +02:00
Jakob Ketterl
056a8a3289 migrate waterfall settings away from tuples 2020-03-29 18:49:13 +02:00
Jakob Ketterl
1d5f450f74 config file brush-up 2020-03-29 18:35:48 +02:00
Jakob Ketterl
7914202df3 move over to fork 2020-03-29 18:33:14 +02:00
Jakob Ketterl
a6b5984dce migrate to version 2 2020-03-29 18:28:18 +02:00
Jakob Ketterl
fd9e913a49 config migration for receiver_gps 2020-03-29 18:08:26 +02:00
Jakob Ketterl
2b7d6738f1 switch to json to avoid external dependency 2020-03-29 17:14:37 +02:00
Jakob Ketterl
f81e53e455 fix typo 2020-03-28 00:40:36 +01:00
Jakob Ketterl
3011e62fad add first steps towards a storage implementation 2020-03-27 23:44:03 +01:00
Jakob Ketterl
54dc412c4a add number types 2020-03-27 22:00:10 +01:00
Jakob Ketterl
0e9bb45d89 add more fields 2020-03-27 21:11:33 +01:00
Jakob Ketterl
6493fb86c1 add sdr.hu settings 2020-03-27 01:14:38 +01:00
Jakob Ketterl
df21a1eed6 send initial settings 2020-03-27 00:35:05 +01:00
Jakob Ketterl
c5a5d25320 update config settings directly in the frontend 2020-03-26 23:34:25 +01:00
Jakob Ketterl
7efe254a66 apply new values to config 2020-03-26 23:04:02 +01:00
Jakob Ketterl
d71dc35239 fill the form with data 2020-03-26 22:08:24 +01:00
Jakob Ketterl
ab9df41a21 render inputs in code, not in html 2020-03-26 21:52:34 +01:00
Jakob Ketterl
16639c0b5b add autofocus 2020-03-26 20:19:05 +01:00
Jakob Ketterl
2d86483907 no more debugging for the map 2020-03-26 20:13:36 +01:00
Jakob Ketterl
24a4d03eff note about agc in changelog 2020-03-26 17:28:37 +01:00
Jakob Ketterl
0d93186066 drop the passed modulation if the frequency is invalid 2020-03-26 15:36:49 +01:00
Jakob Ketterl
69b43b40b5 update changelog 2020-03-26 13:38:14 +01:00
Jakob Ketterl
16d5db00af send bias tee configs for rtl_sdr 2020-03-26 13:33:32 +01:00
Jakob Ketterl
b87f7017d1 remove unused detector 2020-03-26 13:14:25 +01:00
Jakob Ketterl
8a053f47d4 update changelog 2020-03-26 12:53:58 +01:00
Jakob Ketterl
895d8019e3 switch to raw mode to avoid arecord file size limit 2020-03-26 09:45:41 +01:00
Jakob Ketterl
25755d09dd improve waterfall auto-adjust for SDRs with oversampling 2020-03-25 21:50:22 +01:00
Jakob Ketterl
a7345bb16f propagate measurement reset to reporters, closes #88 2020-03-25 20:49:34 +01:00
Jakob Ketterl
0bffc2b3dd this doesn't do anything useful any more 2020-03-25 20:35:42 +01:00
Jakob Ketterl
14382e012f don't send event when value doesn't change 2020-03-25 17:59:00 +01:00
Jakob Ketterl
0e19a40968 fix import 2020-03-25 15:48:27 +01:00
Jakob Ketterl
4aac5c9584 use the interface 2020-03-25 15:47:15 +01:00
Jakob Ketterl
8a2356580a rename 2020-03-24 22:52:17 +01:00
Jakob Ketterl
4e4266f1c4 fix wording 2020-03-24 22:50:43 +01:00
Jakob Ketterl
cfea251d60 clean up 2020-03-24 22:50:18 +01:00
Jakob Ketterl
d1ef1810bf update changelog 2020-03-24 22:35:44 +01:00
Jakob Ketterl
25b287344f rename collect -> filter 2020-03-24 22:16:11 +01:00
Jakob Ketterl
f30cf3fecd fix up properties in the application 2020-03-24 22:13:42 +01:00
Jakob Ketterl
236f3d2058 more layer replacement 2020-03-24 22:11:54 +01:00
Jakob Ketterl
14634af83c add layer add / remove events + tests 2020-03-24 20:36:26 +01:00
Jakob Ketterl
4b7ac0e299 remove unused specials 2020-03-24 00:29:59 +01:00
Jakob Ketterl
cc5c130f49 fix secondary demod; add same-value handling 2020-03-24 00:18:10 +01:00
Jakob Ketterl
d5c2f8414e add stack event handling 2020-03-24 00:08:48 +01:00
Jakob Ketterl
c83d8580ba rewrite property engine
Property class is gone; logic is now done with Layers, Stack and Filter
2020-03-23 23:56:05 +01:00
Jakob Ketterl
7562dc8ecb use dictionary api 2020-03-23 22:09:41 +01:00
Jakob Ketterl
37e74f9027 use dictionary api 2020-03-23 22:09:26 +01:00
Jakob Ketterl
7cae383127 include defaults 2020-03-23 22:09:05 +01:00
Jakob Ketterl
b25e61ae9a rename 2020-03-22 21:59:22 +01:00
Jakob Ketterl
885d02ceca start implementing property layering 2020-03-22 21:51:49 +01:00
Jakob Ketterl
b3a5a36d9c more tests 2020-03-22 19:42:59 +01:00
Jakob Ketterl
5076f79aaa add owrx.property to the setup 2020-03-22 15:39:59 +01:00
Jakob Ketterl
9768fa7c50 add docker build for perseus 2020-03-22 15:32:39 +01:00
Jakob Ketterl
92cd65b66f remove installation leftovers 2020-03-22 11:56:43 +01:00
Jakob Ketterl
541c38151f split config and property code, first test 2020-03-21 22:40:39 +01:00
Jakob Ketterl
7948b7bfa1 move openwebrx installation to the end to profit from docker build cache 2020-03-21 21:44:09 +01:00
Jakob Ketterl
05485ba8e3 add perseus basic build (not enabled for now) 2020-03-21 18:58:03 +01:00
Jakob Ketterl
2505e95d1c reduce layers 2020-03-21 15:54:17 +01:00
Jakob Ketterl
135e9ae7b9 compile the connector into soapy for faster builds 2020-03-21 15:49:22 +01:00
Jakob Ketterl
8ed6dbe5d1 update changelog 2020-03-21 15:45:50 +01:00
Jakob Ketterl
752cd42ad7
Merge pull request #86 from amontefusco/iw0hdv
Perseus HF Receiver integration
2020-03-21 15:40:54 +01:00
Jakob Ketterl
fbf74a1286 add bitpack flag for airspy 2020-03-21 15:18:45 +01:00
Jakob Ketterl
55e1a97d43 update changelogs 2020-03-21 15:13:11 +01:00
Jakob Ketterl
8a03951713 re-align main buttons 2020-03-16 22:48:42 +01:00
Jakob Ketterl
1a1ad670ee fix background 2020-03-16 22:32:07 +01:00
Jakob Ketterl
5273131b25 apply new image background 2020-03-16 22:16:56 +01:00
Andrea Montefusco
d74b79f585 references to Perseus HF receiver removed from main config file 2020-03-16 18:05:49 +01:00
Andrea Montefusco
e1af089658 Merge branch 'develop' into iw0hdv 2020-03-16 17:39:53 +01:00
Andrea Montefusco
34ee5d8e3b More info on Perseus integration. 2020-03-16 00:21:49 +01:00
Andrea Montefusco
68e8a77b1d more refinements as per Jakob Ketterl suggestions 2020-03-16 00:13:51 +01:00
Jakob Ketterl
edded220b5 add the mailing list links 2020-03-15 23:39:38 +01:00
Jakob Ketterl
1581c659af add version to startup messages 2020-03-15 23:34:44 +01:00
Jakob Ketterl
ca5889f925 introduce config checking infrastructure 2020-03-15 23:32:19 +01:00
Jakob Ketterl
6e6861479d fix bugs with negative lat / long; update formatting
ref: #81
2020-03-15 18:46:37 +01:00
Andrea Montefusco
8e87aa0342 Merge branch 'develop' into iw0hdv 2020-03-15 17:25:56 +01:00
Andrea Montefusco
97cb51d990 Perseus SDR HF receiver first support 2020-03-15 17:24:36 +01:00
Jakob Ketterl
d2ce27eeab convert boolean values into something that soapy understands 2020-03-14 23:07:23 +01:00
Jakob Ketterl
00a7b7877c update parameter to match latest dev code 2020-03-14 23:06:52 +01:00
Jakob Ketterl
c387fe0fe9 add fictional bias_tee mapping for rtl_sdr_soapy
needs to be implemented in SoapyRTLSDR first
2020-03-14 01:56:17 +01:00
Jakob Ketterl
fea2cd1cc5 add new settings mappings for rf_notch and dab_notch 2020-03-14 01:21:43 +01:00
Jakob Ketterl
7742d7a048 don't include None values 2020-03-14 01:21:30 +01:00
Jakob Ketterl
e37e2f4540 add biastee setting for sdrplay, too 2020-03-14 01:15:25 +01:00
Jakob Ketterl
4deb4c781e use new mechanism for airspy bias-tee, too 2020-03-14 01:13:23 +01:00
Jakob Ketterl
5da2047935 introduce a generic mapping from sdr properties to soapy settings 2020-03-14 01:04:52 +01:00
Jakob Ketterl
fb82daf936 add to changelog 2020-03-13 23:55:45 +01:00
Jakob Ketterl
ede40e4a68 always add OSM source, switch when no google maps key is present. 2020-03-13 23:53:14 +01:00
Jakob Ketterl
3852f28fd4
Merge pull request #72 from jquagga/develop
Add fallback to use OpenStreetMap/Wikipedia Maps
2020-03-13 23:52:47 +01:00
Justin Settle
c385fd635b
Add fallback to use OpenStreetMap/Wikipedia Maps 2020-03-11 10:27:46 -04:00
Jakob Ketterl
b9ac887eed add the first form elements 2020-03-08 23:23:36 +01:00
Jakob Ketterl
a2dc2b3085 align the icons 2020-03-08 22:33:41 +01:00
Jakob Ketterl
6ab77f958c add settings button, start with the admin template 2020-03-08 21:28:15 +01:00
Jakob Ketterl
4928f80929 let's try to close that bracket 2020-03-07 21:23:08 +01:00
Jakob Ketterl
687e504af4 replace links 2020-03-07 20:53:17 +01:00
Jakob Ketterl
14b293e0cb add note about groups.io 2020-03-05 22:03:19 +01:00
Jakob Ketterl
beb59da6a6 remove incomplete setup instructions and link to the wiki 2020-03-05 20:53:47 +01:00
Jakob Ketterl
c2702e02a9 use the recommended way to generate google maps urls 2020-03-05 17:52:40 +01:00
Jakob Ketterl
6b4509fca5 update owrx_connector 2020-03-02 21:55:21 +01:00
Jakob Ketterl
8abfe059b7 now the sequence doesn't matter any more 2020-02-28 16:55:50 +01:00
Jakob Ketterl
10523dbbd7 use threading to uncouble the queues 2020-02-28 16:13:53 +01:00
Jakob Ketterl
b8c71109b8 initialize dmr filter, too 2020-02-28 00:30:41 +01:00
Jakob Ketterl
9cc850e578 introduce new pipe classes to improve sequencing 2020-02-28 00:20:37 +01:00
Jakob Ketterl
0e47f2d92a update changelog 2020-02-27 23:23:22 +01:00
Jakob Ketterl
fbcfb550a2 pass direct sampling mode changes to owrx_connector 2020-02-27 23:21:00 +01:00
Jakob Ketterl
a388acdf03 update changelog 2020-02-27 22:54:42 +01:00
Jakob Ketterl
d36be799d0 improve lock handling 2020-02-27 19:48:22 +01:00
Jakob Ketterl
c325368be8 improve variable handling 2020-02-27 18:50:53 +01:00
Jakob Ketterl
388218f9df implement a reconnection loop for direwolf, ref #60 2020-02-27 18:43:58 +01:00
Jakob Ketterl
6b2656efae fix constructor 2020-02-27 18:43:44 +01:00
Jakob Ketterl
278fab268f use dicts for the pipes 2020-02-25 20:55:42 +01:00
Jakob Ketterl
bd8b8ca410 session cookie handling 2020-02-23 21:52:13 +01:00
Jakob Ketterl
fb7422e5a8 generate session cookie 2020-02-23 21:39:12 +01:00
Jakob Ketterl
a70c51193b parse login data 2020-02-23 20:52:32 +01:00
Jakob Ketterl
fa75cac7f5 post login data 2020-02-23 20:25:36 +01:00
Jakob Ketterl
de3694248a restore audioworklets 2020-02-23 20:14:07 +01:00
Jakob Ketterl
9f06149ae3 add shadow 2020-02-23 20:13:36 +01:00
Jakob Ketterl
437e28c3a9 add templating 2020-02-23 20:13:11 +01:00
Jakob Ketterl
cad6175db0 login form 2020-02-23 20:04:19 +01:00
Jakob Ketterl
af053b9ac4 no more abstract methods 2020-02-23 19:29:17 +01:00
Jakob Ketterl
0a20cb5e41 prepare route protection 2020-02-23 19:23:18 +01:00
Jakob Ketterl
aa9737498a add controller options to allow multiple routes per controller 2020-02-23 18:32:37 +01:00
Jakob Ketterl
42191f4e77 rewrite routing logic 2020-02-23 17:53:02 +01:00
Jakob Ketterl
451eb99f8a split the controllers into separate files 2020-02-23 17:22:13 +01:00
Jakob Ketterl
b110705f45 fix this in develop, at least 2020-02-21 22:37:10 +01:00
Jakob Ketterl
36e94d4e3c fix typo 2020-02-20 22:30:56 +01:00
Jakob Ketterl
4e98bbc1c9 continue development as version 0.19 2020-02-20 22:01:21 +01:00
Jakob Ketterl
c3b13b224c add back under construction panel 2020-02-20 21:58:08 +01:00
Jakob Ketterl
5f388fd38d add dependency to soapysdr-tool to make SoapySDRUtil available 2020-02-19 20:06:27 +01:00
Jakob Ketterl
9bc161c140 split the manifest step into a separate skript 2020-02-18 22:47:51 +01:00
Jakob Ketterl
dbb7c0cde3 remove the "under construction" banner 2020-02-18 22:26:44 +01:00
Jakob Ketterl
52e517dfc3 make tags overridable from the outside 2020-02-18 21:52:52 +01:00
Jakob Ketterl
37ffb2a02c break lines at 80 chars 2020-02-18 21:19:00 +01:00
Jakob Ketterl
91b3713dad fix date 2020-02-18 21:09:22 +01:00
Jakob Ketterl
c53ac1aa4f pin the dependency release commits 2020-02-18 20:58:01 +01:00
Jakob Ketterl
c4166997be release version 0.18 2020-02-18 20:55:24 +01:00
Jakob Ketterl
f0f9455c6e add the changelog to the debian package 2020-02-18 20:53:53 +01:00
Jakob Ketterl
7bc78425cd add user to plugdev group, fix some lintian issues 2020-02-17 17:05:31 +01:00
Jakob Ketterl
d1dc14d9e5 don't put debian files in docker builds 2020-02-17 15:03:39 +01:00
Jakob Ketterl
521755b9f2 create and use custom user on debian install 2020-02-17 15:03:20 +01:00
Jakob Ketterl
ad565c5a2b re-wire the audio output to "null" - thanks to @dl9rdz 2020-02-17 12:06:13 +01:00
Jakob Ketterl
ebba6e1ada use more cpu cores 2020-02-16 12:19:49 +01:00
Jakob Ketterl
0b7b5d985f update copyright date 2020-02-16 11:49:20 +01:00
Jakob Ketterl
b948e06a4f use urllib to update sdr.hu, no wget dependency
ref: #52
2020-02-15 00:16:04 +01:00
Jakob Ketterl
eaa98b0d64 new status controller as json 2020-02-09 21:46:03 +01:00
Jakob Ketterl
16b3c11678 add soapy remote to docker build, too 2020-02-09 15:23:17 +01:00
Jakob Ketterl
c92929a32d add soapyremote source 2020-02-09 13:59:37 +01:00
Jakob Ketterl
46c3e5077d fix typo 2020-02-08 21:43:47 +01:00
Jakob Ketterl
dc12c54ae6 fix libiio installation 2020-02-08 21:05:12 +01:00
Jakob Ketterl
bdc43455a5 add dependencies 2020-02-08 19:53:23 +01:00
Jakob Ketterl
42eeb00a0f add limesdr build 2020-02-08 19:47:16 +01:00
Jakob Ketterl
5951d2a874 add docker build for pluto 2020-02-08 19:01:50 +01:00
Jakob Ketterl
9a5aba7313 disable config interface unless explicitly enables in the config 2020-02-08 18:29:48 +01:00
Jakob Ketterl
d94914629f update changelog to reflect new image 2020-02-08 17:55:59 +01:00
Jakob Ketterl
216ede189c style the input 2020-02-01 22:25:16 +01:00
Jakob Ketterl
0191ed7ad6 abort frequency input on ESC key 2020-02-01 21:48:46 +01:00
Jakob Ketterl
8036758857 improve error handling on band and bookmark loading 2020-02-01 21:37:43 +01:00
Jakob Ketterl
41bc168a38
Merge pull request #51 from ofadam/patch-1
Fixed typo
2020-01-29 21:44:31 +01:00
Adam
14ea326f43
Fixed typo
2019 reference should have been 2020.
2020-01-29 14:35:52 -06:00
Jakob Ketterl
fcc907d488 add to changelog 2020-01-29 20:14:03 +01:00
Jakob Ketterl
2869fc3642 Merge branch 'develop' into daylight-scheduler 2020-01-29 20:12:35 +01:00
Jakob Ketterl
dc1fb3b607 more readme updates 2020-01-29 20:11:26 +01:00
Jakob Ketterl
1258180805 update the readme 2020-01-29 20:05:06 +01:00
Jakob Ketterl
b35958c6eb update changelog, closes #47 2020-01-29 19:58:36 +01:00
Jakob Ketterl
152737e8f6 split out the changelog into a separate file 2020-01-29 19:19:57 +01:00
Jakob Ketterl
840f624b21 Merge branch 'develop' into daylight-scheduler 2020-01-25 23:53:10 +01:00
Jakob Ketterl
cd1f8a7cb1 update dependencies in docker 2020-01-25 23:52:20 +01:00
Jakob Ketterl
49c333b88a include digital demods in hash 2020-01-25 23:47:32 +01:00
Jakob Ketterl
8fc981c8a0 use static elements 2020-01-25 22:47:47 +01:00
Jakob Ketterl
4b60b7e046 frequency editor on click 2020-01-25 22:35:44 +01:00
Jakob Ketterl
92254c8c4d update hash when demodulator params change 2020-01-25 21:15:05 +01:00
Jakob Ketterl
34312dd402 fix url hash parsing 2020-01-25 20:53:55 +01:00
Jakob Ketterl
b63a991008 redo the scheduling so it works close to the dateline, too 2020-01-24 23:29:25 +01:00
Jakob Ketterl
4f36df6324 some work on the agc (doesn't work for all stations) 2020-01-24 11:42:20 +01:00
Jakob Ketterl
05af69f7b2 Merge branch 'develop' into daylight-scheduler 2020-01-23 11:15:18 +01:00
Jakob Ketterl
641907893c
Merge pull request #48 from dh5ym/develop
Fix PlutoSDR support
2020-01-22 22:23:12 +01:00
Mario
7e2c2ad323 Fix PlutoSDR support 2020-01-22 21:55:22 +01:00
dh5ym
4e3d6527dd
Merge pull request #2 from jketterl/develop
update
2020-01-22 21:51:19 +01:00
Jakob Ketterl
5b9344dee9 fix evening greyline 2020-01-20 17:29:32 +01:00
Jakob Ketterl
6157aba1ec Merge branch 'develop' into daylight-scheduler 2020-01-19 19:08:59 +01:00
Jakob Ketterl
f06f1265d8 just calculate today's schedule, makes things much easiear 2020-01-19 18:54:53 +01:00
Jakob Ketterl
1f68ecd9f4 add greyline calculation 2020-01-19 18:34:37 +01:00
Jakob Ketterl
877f0e4c28 allow schedule entries with datetime 2020-01-19 17:04:14 +01:00
Jakob Ketterl
af7437ab04 switch to monospaced font for better mousewheel tuning 2020-01-19 16:09:56 +01:00
Jakob Ketterl
f1e5e9a765 Merge branch 'develop' into daylight-scheduler 2020-01-19 10:52:43 +01:00
Jakob Ketterl
136b668f8f fix bookmark tuning 2020-01-19 10:50:40 +01:00
Jakob Ketterl
24032f4f5a Merge branch 'develop' into daylight-scheduler 2020-01-19 01:01:26 +01:00
Jakob Ketterl
18a63a6e7b mousewheel tuning 2020-01-19 00:00:51 +01:00
Jakob Ketterl
ae98e6bc56 refactor frequency display 2020-01-18 21:33:10 +01:00
Jakob Ketterl
b142180f94 optimize 2020-01-18 17:35:33 +01:00
Jakob Ketterl
f826002ea8 enable solar calculations 2020-01-18 00:43:37 +01:00
Jakob Ketterl
12be082523 refactor service / schedule code in preparation for alternate schedulers 2020-01-17 22:46:01 +01:00
Jakob Ketterl
470fc43646 avoid using preexec_fn in the other places, too 2020-01-17 21:18:02 +01:00
dh5ym
c12a4ecb80
Merge pull request #1 from jketterl/develop
merge changes to my fork
2020-01-17 15:06:30 +01:00
Jakob Ketterl
ea5b5dc8fb avoid preexec_fn (something's leaky there) 2020-01-17 12:17:15 +00:00
Jakob Ketterl
79ab37e6a0 add rtlsdr via soapy to the docker builds; clean up 2020-01-17 12:58:26 +01:00
Jakob Ketterl
0f1d219002
Merge pull request #44 from dh5ym/develop
Adding PlutoSDR support via SoapySDR, closes #27
2020-01-17 12:43:19 +01:00
Mario
7bf4c48733 Adding support for PlutoSDR (Adalm Pluto) via SoapySDR 2020-01-15 22:44:11 +01:00
Mario
d7aaf0d00e Adding support for PlutoSDR (Adalm Pluto) via SoapySDR 2020-01-15 22:42:08 +01:00
Jakob Ketterl
758b15e887 set parameters for psk63 mode 2020-01-13 20:10:14 +01:00
Jakob Ketterl
c3d89bd4bf fix device mixup 2020-01-10 23:31:51 +01:00
Jakob Ketterl
ad5683279e allow wider filter for pocsag; fix filter display; 2020-01-10 23:26:29 +01:00
Jakob Ketterl
14198aaa17 fix table alignment for long messages 2020-01-10 23:25:49 +01:00
Jakob Ketterl
976c15d29a parse address as a numeric field 2020-01-10 22:11:57 +01:00
Jakob Ketterl
ba9a9096bf use the nice error overlay, closes #28 2020-01-10 21:43:21 +01:00
Jakob Ketterl
cbd87abc3d add automatic backoff when server is at capacity 2020-01-10 21:38:46 +01:00
Jakob Ketterl
5a57648eec add direct sampling option, ref #37 2020-01-10 20:50:56 +01:00
Jakob Ketterl
b7538dcdd0 add alternate soapy driver for rtl-sdr sticks 2020-01-10 20:43:28 +01:00
Jakob Ketterl
aee1642ef6 add limesdr soapy driver module 2020-01-10 19:54:53 +01:00
Jakob Ketterl
ac92df2149 close pocsag message window on profile change 2020-01-09 23:48:48 +01:00
Jakob Ketterl
44c1edb2dd update legal information
remove andras from contacts since he discontinued openwebrx
2020-01-09 22:24:39 +01:00
Jakob Ketterl
2ea8812fda remove 3d view aka mathbox since it consumes more than 1MB data per
visit
2020-01-09 21:52:47 +01:00
Jakob Ketterl
922a5ed607 fix gain introduced by filtering 2020-01-09 21:44:36 +01:00
Jakob Ketterl
98e227c102 update digiham dependency 2020-01-09 19:33:17 +01:00
Jakob Ketterl
5a0398ceb5 require new digiham version 2020-01-09 19:26:41 +01:00
Jakob Ketterl
ebb7398446 update to latest digiham 2020-01-09 19:23:40 +01:00
Jakob Ketterl
e0501cff0f add owrx message passing and frontend 2020-01-09 15:12:51 +01:00
Jakob Ketterl
0e528c9267 refactor parsers; introduce new pocsag parser 2020-01-09 15:11:53 +01:00
Jakob Ketterl
0f8c86a26c 20 was too wide 2020-01-09 14:00:32 +01:00
Jakob Ketterl
f05ac31dc4 don't choke on invalid characters 2020-01-09 13:49:38 +01:00
Jakob Ketterl
2bb877a84b let's go for 20kHz for now 2020-01-09 13:49:15 +01:00
Jakob Ketterl
887cc3a88a sample pocsag data in 48kHz, too, allowing for wider filters 2020-01-09 13:47:47 +01:00
Jakob Ketterl
52199dd800 some preliminary styles 2020-01-08 22:40:44 +01:00
Jakob Ketterl
94b486cf2e wider filter for pocsag (as wide as possible) 2020-01-08 22:36:22 +01:00
Jakob Ketterl
db508fc4f7 inversion mode 2020-01-07 07:30:19 +01:00
Jakob Ketterl
12e5d2f6f3 add scaffolding for pocsag decoding 2020-01-06 22:08:17 +01:00
Jakob Ketterl
4859cb5db8 update to latest 2020-01-06 21:02:04 +01:00
Jakob Ketterl
83ad9d616f remove sdr.js 2020-01-06 19:52:31 +01:00
Jakob Ketterl
2a0ee83c12 implement lowpass 2020-01-06 19:48:54 +01:00
Jakob Ketterl
5379d8cc3d step one: implement upsampling 2020-01-06 16:29:23 +01:00
Jakob Ketterl
9187bb4371 use local codec for fft, too 2020-01-05 23:33:07 +01:00
Jakob Ketterl
c8c5ce8105 use local implementation of ima adpcm instead of sdr.js 2020-01-05 23:26:27 +01:00
Jakob Ketterl
15d351258f implement fallback for older setuptools 2020-01-05 21:08:17 +01:00
Jakob Ketterl
5fdc5489a1 losen dependency to python 3.5 2020-01-05 20:49:29 +01:00
Jakob Ketterl
a30841cdf6 add some debugging here 2020-01-05 18:41:46 +01:00
Jakob Ketterl
aad904f1a1 add owrs.source to the list of includes 2020-01-05 00:19:20 +01:00
Jakob Ketterl
8eb067b810 update csdr 2020-01-04 21:12:51 +01:00
Jakob Ketterl
108402a281 let's try this trick 2020-01-04 01:57:14 +01:00
Jakob Ketterl
de958ca091 seems like this fixes the starvation of workers 2020-01-02 19:35:58 +01:00
Jakob Ketterl
42828dbf65 add always-on feature 2019-12-31 19:14:05 +01:00
Jakob Ketterl
036442aa69 allow services to be disabled on individual sdrs 2019-12-31 18:44:47 +01:00
Jakob Ketterl
e60c332c24 arm 2019-12-31 16:24:45 +01:00
Jakob Ketterl
406d06fef2 add rockprog interface 2019-12-31 16:20:36 +01:00
Jakob Ketterl
9aa6f72152 fix the resampler 2019-12-31 15:27:33 +01:00
Jakob Ketterl
70347d1ef9 use automatic ports unless explicitly configured 2019-12-31 15:24:11 +01:00
Jakob Ketterl
42789ed561 clean up obsolete files 2019-12-31 09:43:04 +01:00
Jakob Ketterl
092a2e5ca0 handle soapy not being installed at all, references #42 2019-12-30 16:38:16 +01:00
Jakob Ketterl
9c82a80273 update csdr links 2019-12-30 16:23:22 +01:00
Jakob Ketterl
57dab75832 re-enable build cache 2019-12-30 00:12:03 +01:00
Jakob Ketterl
6297b8f277 use explicit revisions so i can use the docker build cache 2019-12-30 00:11:27 +01:00
Jakob Ketterl
6bcdd4007a fix dh_python3, hopefully 2019-12-29 21:46:26 +01:00
Jakob Ketterl
d0d0ba6ba7 initialize dict in code to avoid wrong references 2019-12-29 17:34:58 +01:00
Jakob Ketterl
550637ddef update raspi url 2019-12-29 10:06:10 +01:00
Jakob Ketterl
2bb2f65776 fix ppm parameter 2019-12-28 23:05:59 +01:00
Jakob Ketterl
420e21b078 add a pull to be up to date locally 2019-12-28 17:26:54 +01:00
Jakob Ketterl
71b8d72da3 push first, ask questions later 2019-12-28 17:17:10 +01:00
Jakob Ketterl
86ceb7a274 use lists for all command stuff 2019-12-28 16:44:45 +01:00
Jakob Ketterl
489d2390c8 fix name 2019-12-28 15:56:36 +01:00
Jakob Ketterl
1a3a5b43a0 reformat with black 2019-12-28 01:24:07 +01:00
Jakob Ketterl
e5724620a8 pass the tag the right way 2019-12-28 01:14:27 +01:00
Jakob Ketterl
2c4c88e30d move this over so a normal soapy sdr source 2019-12-28 00:38:36 +01:00
Jakob Ketterl
f92c49cee6 fix overlooked bias tee in airspy 2019-12-28 00:33:27 +01:00
Jakob Ketterl
8371d3b67a refactor sources to be more flexible 2019-12-28 00:26:45 +01:00
Jakob Ketterl
ca4d9771cc soapy driver detection; clean up docs 2019-12-27 11:37:12 +01:00
Jakob Ketterl
15a2e63866 combine arch and latest 2019-12-27 11:36:45 +01:00
Jakob Ketterl
eec35f07c3 add error message to log panel, too 2019-12-23 21:21:45 +01:00
Jakob Ketterl
11cfca5211 send a log message to the client when a device fails 2019-12-23 21:18:40 +01:00
Jakob Ketterl
46b5e9034f attempt to select new sdr on failure 2019-12-23 21:18:40 +01:00
Jakob Ketterl
7793609fa4 alpine is available for all archs now, but 3.11 produces segfaults :( 2019-12-23 19:11:47 +00:00
Jakob Ketterl
6f9ba6c290 improve sdr failure message display, closes #19 2019-12-21 23:46:05 +01:00
Jakob Ketterl
4d0d316fdd improve sdr failure detection 2019-12-21 23:29:56 +01:00
Jakob Ketterl
b5c5bcb9f1 fix readline problem 2019-12-21 21:17:19 +01:00
Jakob Ketterl
8fe9bf6292 attempt better wsjt decoder handling 2019-12-21 21:08:44 +01:00
Jakob Ketterl
9923f5b18e checkout the right branch 2019-12-21 21:00:43 +01:00
Jakob Ketterl
292fe80acf break apart the ever-growing owrx/source.py 2019-12-21 20:58:28 +01:00
Jakob Ketterl
5b08dae28d rx_sdr is not needed any more 2019-12-21 19:43:21 +01:00
Jakob Ketterl
33dd6937b4 change default config 2019-12-21 19:31:54 +01:00
Jakob Ketterl
a34cb3db8a reflect changes in the config, too 2019-12-21 19:30:46 +01:00
Jakob Ketterl
10de50d251 remove old sources, make the connector-based ones default 2019-12-21 19:24:14 +01:00
Jakob Ketterl
3bbcaa1329 use shallow cloning everywhere to speed up the build 2019-12-19 22:14:32 +01:00
Jakob Ketterl
e1d2ed8867 add fifisdr support (no frequency tuning) 2019-12-19 21:37:19 +01:00
Jakob Ketterl
8ee0d7c0e8 add sdrplay patch 2019-12-15 17:31:23 +00:00
Jakob Ketterl
721ac5e2a3 additional files for docker 2019-12-15 18:28:35 +01:00
Jakob Ketterl
88a410a9c0 the cache is evil, it has betrayed us 2019-12-15 18:28:10 +01:00
Jakob Ketterl
0e8116b743 handle errors in json files 2019-12-15 17:44:31 +01:00
Jakob Ketterl
ef1435cef7 rtltcp_compat is now a flag; expose through config 2019-12-15 16:33:07 +01:00
Jakob Ketterl
f7ff798238 add aarch64 build 2019-12-15 02:18:30 +00:00
Jakob Ketterl
f012c1180c update wsjt-x to 2.1.2 2019-12-14 21:04:23 +01:00
Jakob Ketterl
5a2e8d8f80 move config to /etc/openwebrx 2019-12-14 19:05:22 +01:00
Jakob Ketterl
364d3473a2 add airspyhf sample config 2019-12-10 23:02:22 +01:00
Jakob Ketterl
1a092a1e24 remove debug message 2019-12-08 22:13:57 +01:00
Jakob Ketterl
8248c60aa0 add direwolf and wsjtx packages 2019-12-08 21:56:50 +01:00
Jakob Ketterl
f4106ee427 strip path from glob 2019-12-08 21:46:08 +01:00
Jakob Ketterl
4e99a3ad07 explicitly glob over the htdocs 2019-12-08 21:37:14 +01:00
Jakob Ketterl
57a61f0c40 close connection when queue overflows 2019-12-08 21:11:36 +01:00
Jakob Ketterl
61988e3297 add sox dependency 2019-12-08 21:06:16 +01:00
Jakob Ketterl
5c8da76d9a move bands and bookmarks to the config, too 2019-12-08 21:00:01 +01:00
Jakob Ketterl
3b32dc37c8 git pull everytime 2019-12-08 20:45:30 +01:00
Jakob Ketterl
7a6d021e18 switch file loading to pkg_resources 2019-12-08 20:27:58 +01:00
Jakob Ketterl
21cb0e8feb docker-based debian package build 2019-12-08 19:00:34 +01:00
Jakob Ketterl
527eccd3c6 add systemd; add dependencies 2019-12-08 17:35:37 +01:00
Jakob Ketterl
57ec4e09ad move to package location 2019-12-08 17:16:28 +01:00
Jakob Ketterl
9164a3ed3a restructure project for packaging 2019-12-08 17:15:48 +01:00
Jakob Ketterl
37086bc6c7 debian build (first take) 2019-12-08 14:02:09 +01:00
Jakob Ketterl
1d1851dc76 add airspyhf support 2019-12-06 11:39:23 +01:00
Jakob Ketterl
ac841221b6 always pull before building 2019-12-06 11:38:15 +01:00
Jakob Ketterl
c8ddb121d0 simplify command execution 2019-12-05 21:07:56 +01:00
Jakob Ketterl
ba5613cf62 fix quoting 2019-12-05 20:57:03 +01:00
Jakob Ketterl
af4acd5623 parse device queries manually, since they are not x-www-urlencoded 2019-12-05 20:53:27 +01:00
Jakob Ketterl
19eb5c73e7 pre-filter soapy devices by driver 2019-12-05 19:51:55 +01:00
Jakob Ketterl
94ff6cc800 switch to my csdr master branch 2019-12-05 18:30:40 +01:00
Jakob Ketterl
adf4f5a738 explicit favicon link 2019-12-04 00:47:50 +01:00
Jakob Ketterl
1e6088ca1d relative map urls 2019-12-03 19:06:00 +01:00
Jakob Ketterl
9d01b2306c improve https detection 2019-12-03 18:57:32 +01:00
Jakob Ketterl
fc8d3d8f11 improve websocket url determination 2019-12-03 18:53:57 +01:00
Jakob Ketterl
15b860af36 add soapy connectivity for airspy 2019-12-03 14:32:10 +01:00
Jakob Ketterl
90d990bdfb add depencency for sox 2019-12-01 15:42:50 +01:00
Jakob Ketterl
2cfeb6b6d6 more safari fixes 2019-11-26 22:06:13 +01:00
Jakob Ketterl
42f9fb52ed safari compatibility 2019-11-26 21:35:22 +01:00
Jakob Ketterl
11c2c8afe3 limit multiprocessing queue to avoid memory leak on failing connections 2019-11-26 20:13:04 +01:00
Jakob Ketterl
fe39c2712d keep the output_rate on sdr change 2019-11-26 20:13:04 +01:00
root
b774e75f2c fix urls for when we aren't running on the root 2019-11-25 20:17:11 +01:00
Jakob Ketterl
147c108570 update with latest image link 2019-11-24 21:47:16 +01:00
Jakob Ketterl
53de54120e only specify device strings when configured 2019-11-24 20:34:51 +01:00
Jakob Ketterl
fa097bf57e update readme 2019-11-24 19:36:07 +01:00
Jakob Ketterl
917eb4fdf1 update readme 2019-11-24 18:23:45 +01:00
Jakob Ketterl
a8df774e50 dual authors 2019-11-24 18:08:54 +01:00
Jakob Ketterl
0b98ce1ef2 restructure docker image; add separate temp dir that can be placed in a
tmpfs
2019-11-24 15:30:53 +01:00
Jakob Ketterl
c6bbdffea0 update ignore files 2019-11-23 18:21:55 +01:00
Jakob Ketterl
481918ab5b better profile switching for the gui 2019-11-23 17:22:20 +01:00
Jakob Ketterl
b27caf2405 allow initial_squelch_level to be set per profile 2019-11-23 16:56:29 +01:00
Jakob Ketterl
d5b7338531 run black 2019-11-23 01:13:16 +01:00
Jakob Ketterl
9246500c95 run black 2019-11-23 01:12:21 +01:00
Jakob Ketterl
91669a7fda no agc necessary for wsjt-x decoding 2019-11-23 00:35:33 +01:00
Jakob Ketterl
c7eb67129a add information about connectors 2019-11-22 23:34:27 +01:00
Jakob Ketterl
98901ac668 add pskreporter dupe check and stats 2019-11-22 17:16:40 +01:00
Jakob Ketterl
7dde793f9e let's switch to the connectors per default for now 2019-11-22 15:18:29 +01:00
Jakob Ketterl
07de82ae82 secondary chain as array, too 2019-11-22 15:00:36 +01:00
Jakob Ketterl
9f710cb70e fix for lfo_offset = None 2019-11-21 17:19:51 +01:00
root
dab62a04df fix offset switching 2019-11-21 16:07:20 +01:00
Jakob Ketterl
de51e266f6 add airspy source; fix offset tuning 2019-11-21 15:31:37 +01:00
root
5375580104 add device handling for rtl 2019-11-20 11:37:06 +01:00
Jakob Ketterl
964d9e873d add iq swapping capability 2019-11-19 14:03:32 +01:00
Jakob Ketterl
7e8e644e6c purge manifests after use (won't work as expected otherwise) 2019-11-18 21:26:11 +00:00
Jakob Ketterl
6bde623698 add manifest stuff 2019-11-18 14:42:05 +01:00
Jakob Ketterl
5ba89035b4 add connectors to docker 2019-11-18 14:15:59 +01:00
Jakob Ketterl
a9b99fa0ff introduce connector source for sdrplay 2019-11-17 20:52:16 +01:00
Jakob Ketterl
6619a1b4a6 the ServiceHandler is fully passive 2019-11-16 15:40:12 +01:00
Jakob Ketterl
a36f106c72 add source "busy state" to improve background scheduling 2019-11-15 23:05:52 +01:00
Jakob Ketterl
097f8a2b82 refactor event system 2019-11-15 22:13:00 +01:00
Jakob Ketterl
bcbb911b24 restore airspy feature test 2019-11-15 19:36:07 +01:00
Jakob Ketterl
f18efb2344 use Popen for feature detection to be able to take control of the
working directory
2019-11-14 22:13:02 +01:00
Jakob Ketterl
497d98363f fix bookmark edit / delete flyout 2019-11-14 15:31:44 +01:00
Jakob Ketterl
367bf666fc listen for frequency changes in the scheduler, too 2019-11-13 19:50:00 +01:00
Jakob Ketterl
7489a3bb9d try to improve memory footprint by rebuilding map dictionary in
intervals
2019-11-13 18:01:01 +01:00
Jakob Ketterl
2a6c7863b1 improve control socket handling 2019-11-12 15:57:10 +01:00
Jakob Ketterl
bf27f51049 let's leave some footsteps 2019-11-12 13:43:39 +01:00
Jakob Ketterl
6ba74a0c30 add ppm 2019-11-11 20:35:50 +01:00
Jakob Ketterl
ada94f69c3 new modificitions for owrx_connector support 2019-11-11 18:07:14 +01:00
Jakob Ketterl
dc5ac081ce fix some javascript code style issues 2019-11-07 10:56:39 +01:00
Jakob Ketterl
8a46922e77 panels disappear behind the header 2019-11-01 22:22:46 +01:00
Jakob Ketterl
5fdffb5e0c fix scrolling for canvas background and bookmarks. i hope that's all
now.
2019-11-01 19:48:08 +01:00
Jakob Ketterl
9f6a4891ed fix styles (broken by debugging) 2019-11-01 18:53:16 +01:00
Jakob Ketterl
41d23c66a4 prevent events from being blocked by the panels 2019-11-01 18:47:33 +01:00
Jakob Ketterl
9163f3d30e improve autoplay interface 2019-11-01 16:58:36 +01:00
Jakob Ketterl
d49fff65e4 switch to different csdr branch 2019-11-01 15:18:39 +01:00
Jakob Ketterl
95253e40bd organize timers and threads to get proper shutdown 2019-10-31 22:24:31 +01:00
Jakob Ketterl
af1a99c130 prevent deadlocks by shutting down services in correct order 2019-10-31 19:13:33 +01:00
Jakob Ketterl
1638fde181 fix gradient (without gradient) 2019-10-28 20:54:31 +01:00
Jakob Ketterl
52ea2e88e9 update readme 2019-10-27 17:45:17 +01:00
Jakob Ketterl
d4d8699fc5 squelch bar for firefox, too 2019-10-27 16:06:06 +01:00
Jakob Ketterl
e8d60e2dc0 animate the squelch slider background 2019-10-27 16:04:00 +01:00
Jakob Ketterl
944e9df7cc fix slider mousewheel action 2019-10-27 15:09:34 +01:00
Jakob Ketterl
cd2da582c4 fix slider background for firefox 2019-10-27 14:58:46 +01:00
Jakob Ketterl
1e28fc5018 fix broken widths on digital meta panels 2019-10-27 13:18:00 +01:00
Jakob Ketterl
a24cb3e04a shutdown services properly 2019-10-27 12:16:17 +01:00
Jakob Ketterl
13f27a76ff use new way of measuring for network speed, too 2019-10-26 22:44:54 +02:00
Jakob Ketterl
39120d9413 implement new way of measuring stats that allows arbitrary timeranges 2019-10-26 22:32:25 +02:00
Jakob Ketterl
fe08228204 rework panel code to use less javascript and more css for positioning 2019-10-26 21:32:00 +02:00
Jakob Ketterl
c7eb5c430c perform binary decoding on the server side 2019-10-25 21:09:31 +02:00
Jakob Ketterl
70e2a99274 custom easing to restore the original fadeout 2019-10-25 21:09:31 +02:00
Jakob Ketterl
52b945cd64 optimize 2019-10-25 16:52:10 +02:00
Jakob Ketterl
07a8e6bf92 add a title to show what the bookmark button does on hover 2019-10-24 20:06:24 +02:00
Jakob Ketterl
afa322a83b mousewheel control for the sliders <3 2019-10-24 20:00:30 +02:00
Jakob Ketterl
d3ac44c526 replace custom animations with jquery 2019-10-24 19:35:55 +02:00
Jakob Ketterl
5bbee1e1d7 fix some more minor javascript issues 2019-10-23 11:27:05 +02:00
Jakob Ketterl
58da0e8a60 remove debugging code 2019-10-22 22:38:08 +02:00
Jakob Ketterl
713b6119d0 refactor progressbars into objects 2019-10-22 22:35:54 +02:00
Jakob Ketterl
ebf2804d63 rename 2019-10-22 21:30:48 +02:00
Jakob Ketterl
3b77753829 ignore IDE files 2019-10-21 22:09:18 +02:00
Jakob Ketterl
eb29d0ac99 protect websocket handling from any exceptions 2019-10-21 22:08:37 +02:00
Jakob Ketterl
6cdec05cde remove unused variables 2019-10-21 01:16:19 +02:00
Jakob Ketterl
7ef0ef0d7c don't split ringbuffer blocks in the output; this means up to 3ms stay
in the buffer.
2019-10-20 23:48:49 +02:00
Jakob Ketterl
dd7d262bd3 fixing some issues with the IDE 2019-10-20 23:38:58 +02:00
Jakob Ketterl
13d7686258 refactor all the audio stuff into classes and a separate file 2019-10-20 18:53:23 +02:00
Jakob Ketterl
91b8c55de9 optimize 2019-10-20 13:28:25 +02:00
Jakob Ketterl
00c5467a89 implement a ringbuffer in the audioworklet to optimize runtimes 2019-10-19 18:09:50 +02:00
Jakob Ketterl
cc32e28b36 use the raw object name 2019-10-19 13:09:41 +02:00
Jakob Ketterl
72329a8a2a use a GainNode for volume control instead of custom code, thus improving
the feedback
2019-10-19 12:58:09 +02:00
Jakob Ketterl
a102ee181a show wht method is being used in the log; fix console errors; 2019-10-19 12:39:42 +02:00
Jakob Ketterl
778591d460 an attempt to implement audioworklets was made. works mostly, but skips
samples
2019-10-19 01:19:19 +02:00
Jakob Ketterl
6bc928b5b6 fine-tune audio buffering 2019-10-18 21:34:00 +02:00
Jakob Ketterl
0b2c457030 kill client-side early rebuffering, improving the latency 2019-10-18 21:13:48 +02:00
Jakob Ketterl
93d4e629d1 more bookmarks 2019-10-17 19:28:05 +02:00
Jakob Ketterl
d53d3b7a51 clean up javascript as good as possible with the help of the IDE 2019-10-16 17:11:09 +02:00
Jakob Ketterl
72062c8570 let's apply some formatting 2019-10-16 13:17:47 +02:00
Jakob Ketterl
de90219406 dynamically calculate audio block size (improving latency) 2019-10-15 19:50:24 +02:00
Jakob Ketterl
de179d070d this is not theoretical any more 2019-10-13 18:28:58 +02:00
Jakob Ketterl
f45857f79b don't use the resampler if the optimization says so 2019-10-13 18:25:32 +02:00
Jakob Ketterl
eda556ef03 prevent start-up of services if requirements are not fulfilled.
closes #4
2019-10-13 17:51:00 +02:00
Jakob Ketterl
ea67340cab display message when sdr unavailable 2019-10-13 14:17:32 +02:00
Jakob Ketterl
5b61f8c7a3 show message in log 2019-10-12 20:48:36 +02:00
Jakob Ketterl
70d8fe82b3 send failure message to client 2019-10-12 20:46:32 +02:00
Jakob Ketterl
fce8c294d3 first work at detecting failed sdr devices 2019-10-12 20:19:34 +02:00
Jakob Ketterl
8541f79ebc remove dial button 2019-10-12 17:34:49 +02:00
Jakob Ketterl
ec4fd401cb update dropdown, too 2019-10-12 17:26:57 +02:00
Jakob Ketterl
98217b1745 dial frequencies as bookmarks 2019-10-12 17:14:28 +02:00
Jakob Ketterl
378c574eed even more bookmarks 2019-10-12 17:02:39 +02:00
Jakob Ketterl
e5193f3460 remove old code 2019-10-12 17:02:29 +02:00
Jakob Ketterl
60e90575ac refactor bookmarks into a self-contained javascript 2019-10-12 17:02:04 +02:00
Jakob Ketterl
78ffa6f184 remove ids 2019-10-11 12:15:01 +02:00
Jakob Ketterl
f9f50e734f improved websocket handling 2019-10-11 12:08:43 +02:00
Jakob Ketterl
2e75bac90c more bookmarks 2019-10-11 12:08:19 +02:00
Jakob Ketterl
8c2f081cb0 scale the background for large monitors 2019-10-06 14:22:49 +02:00
Jakob Ketterl
6adbc6c291
Merge pull request #16 from d9394/develop
explicitly specify encoding since the default is platform-dependent
2019-10-06 11:01:22 +02:00
d9394
db663fe134
Update controllers.py
fix a bug with reading template file
2019-10-06 16:05:30 +08:00
Jakob Ketterl
2e394dc2cb remove waterfall queueing 2019-10-05 20:38:58 +02:00
Jakob Ketterl
b80fd9c023 update profile dropdown box on changes 2019-10-04 22:01:07 +02:00
Jakob Ketterl
3e25f1ec42 fix dialog flexbox layout (especially for firefox) 2019-10-04 00:56:46 +02:00
Jakob Ketterl
351f63f0b8 improve receiver button alignment 2019-10-04 00:17:40 +02:00
Jakob Ketterl
9f90d01dc6 simplify icon display 2019-10-03 23:55:04 +02:00
Jakob Ketterl
71d815cf08 trim config 2019-10-03 23:35:36 +02:00
Jakob Ketterl
a168136102 remove from config, too 2019-10-03 18:11:25 +02:00
Jakob Ketterl
e9f9bbb9c0 replace receiver_qra setting with locator calculation 2019-10-03 18:10:46 +02:00
Jakob Ketterl
3e8e2182a8 fix many, many problems with the frontend frequency displays, scroll and
drag handling, closes #13
2019-10-03 17:24:28 +02:00
Jakob Ketterl
2025ccb366 catch more generic OSError 2019-10-03 00:58:27 +02:00
Jakob Ketterl
6ae934e461 initialize demodulator with configured start values, fixes #9 2019-10-03 00:36:26 +02:00
Jakob Ketterl
7431e4d7c0 restart dsp chain on output_rate change, fixes #8 2019-10-03 00:14:05 +02:00
Jakob Ketterl
eb0f54e79d reset status values properly on reconnect 2019-10-02 23:48:13 +02:00
Jakob Ketterl
08e9520019 reduce png size by using indexed colors 2019-10-02 18:13:33 +02:00
Jakob Ketterl
630a542ed6 better websocket header handling 2019-10-02 11:28:41 +02:00
Jakob Ketterl
774b71f8f0 update latest image 2019-09-29 20:42:31 +02:00
Jakob Ketterl
5903ae1603 prevent the meta panel from disappearing 2019-09-29 17:16:08 +02:00
Jakob Ketterl
1c72e9ac50 switch rf_gain to 0 for sdrplay (4 is not supported on RSP1) 2019-09-29 16:21:42 +02:00
Jakob Ketterl
b662c547f3 update readme 2019-09-29 16:02:37 +02:00
Jakob Ketterl
fac19e09cd scale background (it's stretching now, doesn't look too bad though) 2019-09-29 15:48:24 +02:00
Jakob Ketterl
5a3e2a2575 auto-focus; submit on enter; 2019-09-29 15:38:50 +02:00
Jakob Ketterl
eed520daac implement edit and delete 2019-09-29 15:29:53 +02:00
Jakob Ketterl
4a7b42202e add edit and delete button 2019-09-29 14:48:36 +02:00
Jakob Ketterl
f292ba55c1 use actual, not visible, frequency 2019-09-28 20:52:37 +02:00
Jakob Ketterl
fef6f3bbd1 fix bookmark frequencies 2019-09-28 20:42:17 +02:00
Jakob Ketterl
af9fcbc38d complete storage and display 2019-09-28 20:28:25 +02:00
Jakob Ketterl
bd9cdc1cba buttons and storage action 2019-09-28 20:15:47 +02:00
Jakob Ketterl
be21d4c9ac show dialog and load values into it 2019-09-28 19:20:21 +02:00
Jakob Ketterl
b29d3c575d even moar bookmarks 2019-09-28 19:19:55 +02:00
Jakob Ketterl
39a4366eab locator wrappers aren't even needed 2019-09-28 16:54:24 +02:00
Jakob Ketterl
4c2979d242 add z-index to prevent other content shining through 2019-09-28 16:51:34 +02:00
Jakob Ketterl
4407146962 add bookmark button 2019-09-28 16:50:21 +02:00
Jakob Ketterl
c3bcb17312 Merge branch 'develop' into bookmarks 2019-09-28 07:36:54 +02:00
Jakob Ketterl
1b95807ac6 beautiful 2x scale for retina displays 2019-09-28 07:36:28 +02:00
Jakob Ketterl
240074bdc5 Merge branch 'develop' into bookmarks 2019-09-28 03:08:29 +02:00
Jakob Ketterl
46162dadbe protect pskreporter upload loop 2019-09-28 03:08:10 +02:00
Jakob Ketterl
455001a759 protect pskreporter upload loop 2019-09-28 03:06:34 +02:00
Jakob Ketterl
31881ce472 standard font size 2019-09-28 03:03:41 +02:00
Jakob Ketterl
9669b4e365 moar bookmarks 2019-09-28 02:35:12 +02:00
Jakob Ketterl
d0c0ee2981 prevent line-wraps (not enough space) 2019-09-28 02:34:58 +02:00
Jakob Ketterl
12a341e607 click handling and tuning 2019-09-28 02:21:29 +02:00
Jakob Ketterl
020445743c add bookmarks display 2019-09-28 01:57:34 +02:00
Jakob Ketterl
cc98c94b2b send bookmarks to client 2019-09-28 00:53:58 +02:00
Jakob Ketterl
00febdf255 implement all methods for consistency 2019-09-28 00:27:42 +02:00
Jakob Ketterl
cbc7b73b1d hand over message handling after initial handshake instead of delegating 2019-09-28 00:25:36 +02:00
Jakob Ketterl
42c59a3aa0 fft needs the multiprocessing send, too 2019-09-27 23:29:22 +02:00
Jakob Ketterl
5f703a043b fix ping race condition 2019-09-27 23:28:43 +02:00
Jakob Ketterl
76fe11741a add ping / pong to keep the websockets running 2019-09-26 22:57:10 +02:00
Jakob Ketterl
2c4add6aad update with latest sd card image 2019-09-26 03:08:52 +02:00
Jakob Ketterl
6cb7e65231 differentiate between None and empty return 2019-09-26 00:24:55 +01:00
Jakob Ketterl
2d1bcf221c add aprs images to the docker build 2019-09-25 23:40:17 +02:00
Jakob Ketterl
a761559fd3 latest news for everybody to see 2019-09-25 23:25:49 +02:00
Jakob Ketterl
b27eb4a173 code formatting 2019-09-25 23:12:30 +02:00
Jakob Ketterl
01fabd0342 use the 60m frequency for europe for now (seems to be controversial) 2019-09-25 23:05:27 +02:00
Jakob Ketterl
6911ca407e code format 2019-09-25 00:47:34 +02:00
Jakob Ketterl
68fbc436f2 fix length problem 2019-09-25 00:36:40 +02:00
Jakob Ketterl
ecb754ab29 disable reporting if not set in config 2019-09-25 00:36:22 +02:00
Jakob Ketterl
41bd018191 determine locator from gps coordinates 2019-09-25 00:35:57 +02:00
Jakob Ketterl
bfcbd0265a update config 2019-09-24 21:44:14 +02:00
Jakob Ketterl
45479b9f65 Merge branch 'develop' into pskreporter 2019-09-24 21:43:00 +02:00
Jakob Ketterl
a68ba01320 handle socket timeouts 2019-09-24 21:42:41 +02:00
Jakob Ketterl
ba03243527 fix date 2019-09-24 21:42:00 +02:00
Jakob Ketterl
22f4504629 set random to be at least 5 minutes 2019-09-24 21:41:31 +02:00
Jakob Ketterl
bf59ed34cf no more conditional 2019-09-23 23:53:22 +02:00
Jakob Ketterl
d8bc2cab2e actual upload 2019-09-23 23:47:12 +02:00
Jakob Ketterl
f8dcff788b build valid packets (hopefully) 2019-09-23 22:45:55 +02:00
Jakob Ketterl
4be34e4dc1 integrate pskreporter scheduling (no upload yet) 2019-09-23 18:33:52 +02:00
Jakob Ketterl
b1742dafc2 incomplete implementation to extend a callsign location 2019-09-23 16:51:38 +02:00
Jakob Ketterl
e24de8334f silence direwolf 2019-09-23 16:51:24 +02:00
Jakob Ketterl
ae87185ad0 run the formatter once more 2019-09-23 03:15:24 +02:00
Jakob Ketterl
72f92a1c2b use events instead of simple sleep for clean shutdown 2019-09-23 03:06:51 +02:00
Jakob Ketterl
8b9121a5c1 tone down http logging 2019-09-22 20:51:33 +02:00
Jakob Ketterl
cfb4208db2 improved api 2019-09-22 13:16:24 +02:00
Jakob Ketterl
52afe3fb02 tone down wsjt logging 2019-09-22 12:57:59 +02:00
Jakob Ketterl
57975b6f96 move connection tracking to all websockets 2019-09-22 12:57:13 +02:00
Jakob Ketterl
b4ffc6e2f0 replace os pipe with multiprocessing (seems to work better) 2019-09-22 12:56:35 +02:00
Jakob Ketterl
1ed69de5b0 un-couple messaging between connections; use non-blocking io 2019-09-21 22:10:16 +02:00
Jakob Ketterl
6ec85aa349 don't start up unnecesserily 2019-09-21 15:24:06 +02:00
Jakob Ketterl
671509df3b fix variable name 2019-09-21 15:19:10 +02:00
Jakob Ketterl
2edeffb761 close websocket connections in an improved way 2019-09-21 13:49:37 +02:00
Jakob Ketterl
428a9ca509 await the right condition 2019-09-21 13:41:04 +02:00
Jakob Ketterl
cf273021ab re-draw on update and apply opacity 2019-09-19 16:24:04 +02:00
Jakob Ketterl
ecbae5af2d implement icon rotation 2019-09-19 02:25:32 +02:00
Jakob Ketterl
15c28b130d use custom marker class to solve overlay problem (and enable rotation at
a later point)
2019-09-19 01:35:58 +02:00
Jakob Ketterl
996422ff4b show aprs symbols in decoding list, too 2019-09-19 00:18:51 +02:00
Jakob Ketterl
e231c07c80 2x resolution for retina displays 2019-09-18 19:41:37 +02:00
Jakob Ketterl
3e8e0c9224 first work on custom aprs icons 2019-09-18 18:50:48 +02:00
Jakob Ketterl
c6c4012a36 add aprs symbols to http server 2019-09-18 17:22:35 +02:00
Jakob Ketterl
30512e347a fix more threading issues; add users metric 2019-09-18 15:40:23 +02:00
Jakob Ketterl
6f983ccb6b synchronize scheduler access 2019-09-18 01:46:31 +02:00
Jakob Ketterl
3814767e28 count errors 2019-09-18 01:46:09 +02:00
Jakob Ketterl
243e73064a add band information to ysf locations 2019-09-17 18:44:37 +02:00
Jakob Ketterl
8df4f9ce52 add the ability to schedule profiles to be used when sources are idle 2019-09-16 00:31:35 +02:00
Jakob Ketterl
b0b2df5422 no need for shared instances here 2019-09-15 21:10:30 +02:00
Jakob Ketterl
5b6edd110d wsjt decoding depth configuration 2019-09-15 16:37:12 +02:00
Jakob Ketterl
392c226cbe overflow metrics 2019-09-15 12:23:35 +02:00
Jakob Ketterl
7689d1a2e2 narrow bandpass specifically for wspr 2019-09-15 12:23:11 +02:00
Jakob Ketterl
711bd18d06 update readme with latest features 2019-09-13 23:14:44 +02:00
Jakob Ketterl
98f1545fca code format 2019-09-13 23:03:05 +02:00
Jakob Ketterl
8d47259f78 show decoded aprs messages in the frontend 2019-09-13 22:29:04 +02:00
Jakob Ketterl
311f22f6ba flag services (avoid connecting to aprs network twice) 2019-09-13 22:28:17 +02:00
Jakob Ketterl
5bcad1ef2f hide output text for packet 2019-09-13 21:04:00 +02:00
Jakob Ketterl
be05b54053 jt65 seems very prone to false decodes 2019-09-13 20:58:37 +02:00
Jakob Ketterl
6ff55e1279 queue in / out stats 2019-09-13 00:16:36 +02:00
Jakob Ketterl
338a19373c count aprs decodes, too 2019-09-12 23:23:50 +02:00
Jakob Ketterl
bc5b16b5e3 rewire the metrics; make queue length metric available 2019-09-12 22:50:29 +02:00
Jakob Ketterl
a11875145b make wsjt queue configurable 2019-09-12 15:32:54 +02:00
Jakob Ketterl
25a1d06dcb Merge branch 'develop' into packet 2019-09-11 01:03:12 +02:00
Jakob Ketterl
d87e5da75c attempt to reduce cpu usage by pre-selecting parts of the spectrum with
resamplers
2019-09-11 00:30:14 +02:00
Jakob Ketterl
6d44aa3f58 don't decimate at factor 1 2019-09-11 00:27:49 +02:00
Jakob Ketterl
08cf8977f7 fix ft4 frequency on 80m 2019-09-09 23:07:38 +02:00
Jakob Ketterl
942ee637b0 fix alternate spaces 2019-09-03 23:38:27 +02:00
Jakob Ketterl
aac618bfee fix for python 3.5 2019-09-02 16:20:49 +01:00
Jakob Ketterl
2dcdad3a49 fix message parsing range 2019-08-28 22:09:52 +02:00
Jakob Ketterl
db8d4cd3fe display items and objects on the map 2019-08-28 22:01:01 +02:00
Jakob Ketterl
de22169ea8 implement item and object parsing 2019-08-28 21:56:50 +02:00
Jakob Ketterl
b24e56803c avoid overriding weather dict keys 2019-08-27 23:52:51 +02:00
Jakob Ketterl
5530c96f8e fix message offsets 2019-08-27 23:32:21 +02:00
Jakob Ketterl
1d8fea891a additional types; parse messages 2019-08-27 23:13:26 +02:00
Jakob Ketterl
707fcdb1ab convert fahrenheit to celsius 2019-08-27 11:42:48 +02:00
Jakob Ketterl
1a2f6b4970 improve weather decoding 2019-08-27 11:32:50 +02:00
Jakob Ketterl
4409a369fa implement weather report parsing 2019-08-26 23:43:08 +02:00
Jakob Ketterl
272c305ec2 handle exceptions that may occur when parsing strings to numbers 2019-08-26 13:24:23 +02:00
Jakob Ketterl
a81c5f44a2 improve thirtparty header parsing 2019-08-26 11:41:22 +02:00
Jakob Ketterl
2a09462f6f first work on the thirdparty header 2019-08-26 00:10:43 +02:00
Jakob Ketterl
fdd74e2e09 remove patch (included in git now) 2019-08-25 16:30:01 +02:00
Jakob Ketterl
5cc67aba15 handle execptions during decode to avoid worker drain 2019-08-23 22:32:46 +02:00
Jakob Ketterl
62e9a39557 add direwolf to docker build 2019-08-23 22:21:30 +02:00
Jakob Ketterl
fadcb9b43f handle a full queue 2019-08-22 21:24:36 +02:00
Jakob Ketterl
24d134ad6c try to avoid stressing out the cpu by using a proper queue 2019-08-22 21:16:43 +02:00
Jakob Ketterl
faaef9d9f8 let's be nice 2019-08-22 20:51:36 +02:00
Jakob Ketterl
c5cc364918 filters don't seem to work 2019-08-22 20:51:09 +02:00
Jakob Ketterl
ed9057e780 Merge branch 'develop' into packet 2019-08-18 22:04:55 +00:00
Jakob Ketterl
9bdeda7814 Merge branch 'develop' of github.com:jketterl/openwebrx into develop 2019-08-18 22:04:23 +00:00
Jakob Ketterl
e4ef364aa8 looks like we have some additional dependencies now 2019-08-18 22:03:41 +00:00
Jakob Ketterl
379251d29d filter smallest possible to avoid traffic from the network 2019-08-18 21:41:26 +02:00
Jakob Ketterl
cf8b84925e Merge branch 'develop' into packet 2019-08-18 21:41:07 +02:00
Jakob Ketterl
f07bc9e6de update wsjt-x version in docker build 2019-08-18 21:40:46 +02:00
Jakob Ketterl
94533e277c improve config 2019-08-18 01:39:23 +02:00
Jakob Ketterl
73102053dc code formatting 2019-08-18 00:16:08 +02:00
Jakob Ketterl
5fab3e3d36 add igate functionality 2019-08-18 00:15:07 +02:00
Jakob Ketterl
54bcba195d delete configs after use 2019-08-17 22:38:09 +02:00
Jakob Ketterl
7e757c005c implement aprs data extensions 2019-08-17 22:04:45 +02:00
Jakob Ketterl
82eaff5da6 get altitude from comment 2019-08-17 20:35:32 +02:00
Jakob Ketterl
1eb28d6aee optimize 2019-08-17 20:20:28 +02:00
Jakob Ketterl
bdbe45e322 recognize third party data (don't think we can parse them) 2019-08-17 20:01:12 +02:00
Jakob Ketterl
34a8311647 remove annoying debugging line 2019-08-17 20:00:57 +02:00
Jakob Ketterl
cf45caa762 fix piping stuff for packet 2019-08-17 19:59:58 +02:00
Jakob Ketterl
5b72728aa2 timestamps, status updates, replace faulty characters 2019-08-17 13:39:02 +02:00
Jakob Ketterl
67f3dc7430 fix conversion errors 2019-08-16 16:43:16 +02:00
Jakob Ketterl
b40af9bbdc back to utf-8 2019-08-16 07:29:31 +02:00
Jakob Ketterl
cc66ffd6f3 use generated port numbers for direwolf, allowing multiple instances 2019-08-16 01:27:03 +02:00
Jakob Ketterl
5a7ef65c56 reduce debugging output 2019-08-15 23:33:02 +02:00
Jakob Ketterl
46ac0ecc77 convert speed to metric 2019-08-15 22:10:58 +02:00
Jakob Ketterl
cc6561bdda get course and speed and extended info from mic-e frames 2019-08-15 21:46:08 +02:00
Jakob Ketterl
3022406f63 get the extra information out of compressed messages 2019-08-15 21:00:01 +02:00
Jakob Ketterl
66382eb50f add symbol information 2019-08-15 20:28:24 +02:00
Jakob Ketterl
21591ad6b8 format 2019-08-15 19:56:59 +02:00
Jakob Ketterl
88bbb76752 make sure there is actually enough data to parse 2019-08-15 19:50:47 +02:00
Jakob Ketterl
765f075576 add some type information; fix string offsets 2019-08-15 18:21:35 +02:00
Jakob Ketterl
6b93973d9b decode mic-e device and altitude data 2019-08-15 18:08:20 +02:00
Jakob Ketterl
439da266a9 prevent empty frames 2019-08-15 15:53:55 +02:00
Jakob Ketterl
0207374592 restructure the code to have the parser sit where all the parsers sit 2019-08-15 15:45:15 +02:00
Jakob Ketterl
7beb773a37 Merge branch 'develop' into packet 2019-08-12 11:44:20 +02:00
Jakob Ketterl
4b3a68f4cd fix the dial button (not enough space on some browsers) 2019-08-12 11:05:32 +02:00
Jakob Ketterl
3dbc6ffb2b make aprs available as service 2019-08-12 00:02:39 +02:00
Jakob Ketterl
bf5e2bcc84 compressed locations; other TODOS 2019-08-11 22:58:04 +02:00
Jakob Ketterl
b80e85638a implement the horrifying mic-e protocol 2019-08-11 22:08:32 +02:00
Jakob Ketterl
12c92928fa pass through comments for display on the map 2019-08-11 18:42:41 +02:00
Jakob Ketterl
e5dffc3d9f better decoding 2019-08-11 18:13:12 +02:00
Jakob Ketterl
fe84a39097 add aprs frequency 2019-08-11 18:12:50 +02:00
Jakob Ketterl
55c8ce7cf0 send decodes to map 2019-08-11 17:39:41 +02:00
Jakob Ketterl
cbb65e8d79 decode basic aprs frames 2019-08-11 17:18:02 +02:00
Jakob Ketterl
2053e5f521 get raw packet data from KISS socket and start decoding 2019-08-11 16:37:30 +02:00
Jakob Ketterl
f53b51a208 fix sample rates 2019-08-11 16:36:53 +02:00
Jakob Ketterl
e63569e3e9 packet decoding as secondary demodulator, finally displayin something on
the webpage
2019-08-11 13:52:19 +02:00
Jakob Ketterl
2fed83659f these should not be in here 2019-08-11 13:09:34 +02:00
Jakob Ketterl
ef90e3e048 disable colors 2019-08-11 13:05:36 +02:00
Jakob Ketterl
5fbbd897b5 Merge branch 'develop' into packet 2019-08-11 11:53:29 +02:00
Jakob Ketterl
b0056a4677 disable services by default 2019-08-11 11:39:35 +02:00
Jakob Ketterl
d467d79bdf code format with black 2019-08-11 11:37:45 +02:00
Jakob Ketterl
92321a3b4e simple metrics api to interface with collectd and grafana 2019-08-04 18:36:03 +02:00
Jakob Ketterl
766300bdff use latest improvementes for fft, too 2019-08-04 17:31:50 +02:00
Jakob Ketterl
8214fdb24d looks configurable to me, at least for now 2019-08-04 15:17:03 +02:00
Jakob Ketterl
42aae4c03a save some cpu cycles by only running necessary stuff for services 2019-08-04 14:55:56 +02:00
Jakob Ketterl
441738e569 additional ft4 frequency on 80m 2019-08-04 00:21:53 +02:00
Jakob Ketterl
5337ddba8d add 2m frequencies from wsjt-x 2019-08-03 23:58:08 +02:00
Jakob Ketterl
d1eaab7711 delay startup of background services to increase user interface response 2019-08-03 23:44:56 +02:00
Jakob Ketterl
8f7f34c190 better colors (?) 2019-07-28 22:13:55 +02:00
Jakob Ketterl
e40b400f6f try to improve "moving" callsigns 2019-07-28 16:36:12 +02:00
Jakob Ketterl
3b5883dd55 improved legend with opacity 2019-07-28 16:33:19 +02:00
Jakob Ketterl
785d439605 play with the colors 2019-07-28 16:26:03 +02:00
Jakob Ketterl
ff98b172c4 add option to select coloring by mode, too 2019-07-28 16:17:23 +02:00
Jakob Ketterl
30d8b1327b give it some space 2019-07-28 15:59:54 +02:00
Jakob Ketterl
74dddcb8ad add simple legend with colors 2019-07-28 15:57:33 +02:00
Jakob Ketterl
6e7d99376d color by band 2019-07-28 15:28:39 +02:00
Jakob Ketterl
98c5e9e15b allow service configuration 2019-07-28 13:29:45 +02:00
Jakob Ketterl
fa08009c50 more logging improvements 2019-07-28 12:11:22 +02:00
Jakob Ketterl
ce662796e3 Merge branch 'develop' into services 2019-07-28 11:45:55 +02:00
Jakob Ketterl
accf2a34ff fix exception when outside of band 2019-07-28 11:45:28 +02:00
Jakob Ketterl
a15e625692 de-duplicate; better logging 2019-07-28 11:40:58 +02:00
Jakob Ketterl
7689e31640 increase timeout 2019-07-23 20:28:51 +01:00
Jakob Ketterl
8c2cefe304 pass the nmux port on (defaults are bad...) 2019-07-23 16:43:46 +01:00
Jakob Ketterl
eb9bc5f8dc add ft4 frequencies, if available 2019-07-22 23:24:46 +02:00
Jakob Ketterl
9c927d9001 first iteration of background services 2019-07-21 23:39:11 +02:00
Jakob Ketterl
2d6b0f1877 try to catch a failing sdr device 2019-07-21 22:13:20 +02:00
Jakob Ketterl
6c2488f052 fix shadowing warning 2019-07-21 22:12:41 +02:00
jketterl
479c49b02e
Merge pull request #1 from D0han/black_reformat
Use official python formatter for better code readability
2019-07-21 21:24:28 +02:00
jketterl
c0a0a642f9
Merge pull request #2 from D0han/file_permissions
Allow openwebrx.py to be run as normal executable
2019-07-21 21:06:53 +02:00
D0han
35f8daee29 Allow openwebrx.py to be run as normal executable 2019-07-21 20:19:33 +02:00
D0han
e15dc1ce11 Reformatted with black -l 120 -t py35 . 2019-07-21 19:40:28 +02:00
Jakob Ketterl
79062ff3d6 fix wording 2019-07-21 18:40:00 +02:00
Jakob Ketterl
fc5abd38cc add information about wsjt-x 2019-07-21 18:38:54 +02:00
Jakob Ketterl
6900810f5d modify so that it runs with python 3.5, too 2019-07-21 13:07:38 +01:00
Jakob Ketterl
2fae8ffa70 remove some pointless stuff 2019-07-20 20:45:13 +02:00
Jakob Ketterl
ea9feeefd2 complete dial frequency feature frontend 2019-07-20 19:53:42 +02:00
Jakob Ketterl
f09f730bff ft4 frequency for 20m (at least to my knowledge) 2019-07-20 19:52:46 +02:00
Jakob Ketterl
25b0e86f09 add FT4 because why not 2019-07-20 13:38:25 +02:00
Jakob Ketterl
18b65f769f better timestamping and overhaul 2019-07-20 12:47:10 +02:00
Jakob Ketterl
abd5cf0795 collect dial frequencies and send to client 2019-07-19 23:55:52 +02:00
Jakob Ketterl
6e08a428d6 import frequencies; fix band errors 2019-07-19 23:15:10 +02:00
Jakob Ketterl
a1856482ff add dial frequencies 2019-07-19 22:41:51 +02:00
Jakob Ketterl
a7a032dc8f this goes in there 2019-07-19 21:16:16 +02:00
Jakob Ketterl
4493f369dd enable 64-bit frames for large amounts of data 2019-07-19 17:01:50 +02:00
Jakob Ketterl
f1098801e2 let's try to avoid browser problems 2019-07-15 21:35:39 +02:00
Jakob Ketterl
a15341fdcf detect and pass band information to the map 2019-07-14 19:32:48 +02:00
Jakob Ketterl
c94331bf24 hide modes if not available 2019-07-14 18:22:02 +02:00
Jakob Ketterl
7dcfead843 let's try to implement jt65 and jt9 as well 2019-07-14 17:09:34 +02:00
Jakob Ketterl
0bb8b5349d Merge branch 'wspr' into develop 2019-07-14 16:48:35 +02:00
Jakob Ketterl
30b46c4cdd allocate more space to the freq column 2019-07-14 14:43:44 +02:00
Jakob Ketterl
69c3a63794 link the map in wpsr messages, too 2019-07-14 14:33:30 +02:00
Jakob Ketterl
dd1def149c Merge branch 'develop' of github.com:jketterl/openwebrx into develop 2019-07-13 21:51:49 +00:00
Jakob Ketterl
a6f294f361 lib64 hack only if lib64 exists 2019-07-13 21:51:30 +00:00
Jakob Ketterl
6d5c8491e4 implement wspr 2019-07-13 23:16:25 +02:00
Jakob Ketterl
420b0c60d7 exponential backoff, part 2 2019-07-13 21:44:48 +02:00
Jakob Ketterl
9f2b715d9f exponential backoff 2019-07-13 21:40:48 +02:00
Jakob Ketterl
f490fbc2c9 update dependencies
add wsjt-x to build for ft8 capabilities
2019-07-13 21:35:57 +02:00
Jakob Ketterl
95c117973f update readme with new image 2019-07-13 18:59:06 +02:00
Jakob Ketterl
9a25c68d9a wording change 2019-07-13 17:20:03 +02:00
Jakob Ketterl
935e79c9c2 use a temporary directory to avoid permission problems 2019-07-13 17:16:38 +02:00
Jakob Ketterl
efc5b936f8 clean up after use 2019-07-12 19:34:04 +02:00
Jakob Ketterl
c19337d65c fix ft8/usb switchover 2019-07-12 19:28:40 +02:00
Jakob Ketterl
2470c2bfa6 pass through the mode on the map 2019-07-11 23:40:09 +02:00
Jakob Ketterl
acbf2939c9 infowindow for ysf markers 2019-07-11 21:21:01 +02:00
Jakob Ketterl
8edc7c1374 sort by lastseen 2019-07-11 20:53:59 +02:00
Jakob Ketterl
d606c85443 separate decoder files 2019-07-11 20:48:02 +02:00
Jakob Ketterl
5ada234f64 remove javascript from the header 2019-07-11 19:37:00 +02:00
Jakob Ketterl
fdd2dd1b40 use flexbox since the header breaks the map height 2019-07-11 17:38:53 +02:00
Jakob Ketterl
d2f524bf90 fix scrolling on feature report 2019-07-11 16:49:06 +02:00
Jakob Ketterl
5887522dce header for feature report 2019-07-11 16:44:33 +02:00
Jakob Ketterl
688bd769dd move css 2019-07-11 13:44:41 +02:00
Jakob Ketterl
649450a24c move css 2019-07-11 13:44:04 +02:00
Jakob Ketterl
2bf2fcd685 implement header on map page (not fully functional yet) 2019-07-11 13:40:12 +02:00
Jakob Ketterl
d57f9de21e automatic map reconnection 2019-07-10 23:13:03 +02:00
Jakob Ketterl
596c868b9d improved map logo 2019-07-10 22:56:32 +02:00
Jakob Ketterl
8a8768ed1d fix ft8 audio sample rate issues with sox 2019-07-10 22:31:06 +02:00
Jakob Ketterl
32c76beaa2 improved fullscreen layout 2019-07-10 22:18:16 +02:00
Jakob Ketterl
cb0b950d34 protect the wave file switchover with a lock, since race conditions have
occured
2019-07-10 22:09:31 +02:00
Jakob Ketterl
2536d9f747 more javascript issues 2019-07-09 17:34:24 +02:00
Jakob Ketterl
438efa655f fix javascript issues 2019-07-09 17:32:49 +02:00
Jakob Ketterl
ad9855a791 pretty logo 2019-07-09 17:28:41 +02:00
Jakob Ketterl
58e819606a use moment.js to display a pretty time since last activity 2019-07-08 21:01:30 +02:00
Jakob Ketterl
bab8ec1eaa even prettier 2019-07-08 20:47:50 +02:00
Jakob Ketterl
c6aa5c3a3c make the interface pretty 2019-07-08 20:45:09 +02:00
Jakob Ketterl
c7503f87d7 show ft8 panel only when ft8 is active 2019-07-08 20:31:34 +02:00
Jakob Ketterl
561ff95436 make wsjt feature available (not used yet) 2019-07-08 20:16:29 +02:00
Jakob Ketterl
2201daaa20 click-through to selected locator on the map 2019-07-07 22:36:34 +02:00
Jakob Ketterl
94afa94428 add a link to the map 2019-07-07 21:44:42 +02:00
Jakob Ketterl
83273636f6 add a quick infowindow to show who's in a grid square 2019-07-07 21:24:56 +02:00
Jakob Ketterl
30b56c553e strip one more character; seen weird stuff at the end. 2019-07-07 20:46:31 +02:00
Jakob Ketterl
8b5dc8b3ad fade out markers on the map over time 2019-07-07 20:46:12 +02:00
Jakob Ketterl
d1f46c8f55 server-side removal of map positions 2019-07-07 15:52:24 +02:00
Jakob Ketterl
d0cecbdfd7 implement removal of old messages in the gui 2019-07-07 14:31:12 +02:00
Jakob Ketterl
1a257064f7 add missing parser integration 2019-07-07 14:10:03 +02:00
Jakob Ketterl
182a8af57f deliver better timestamps 2019-07-07 14:09:24 +02:00
Jakob Ketterl
af315e1671 let's zoom out a little, seems appropriate for now 2019-07-07 01:22:45 +02:00
Jakob Ketterl
ceea2475a1 get rid of the extra flags at the end 2019-07-07 00:52:28 +02:00
Jakob Ketterl
c22d10d0de add day/night overlay 2019-07-07 00:52:11 +02:00
Jakob Ketterl
849337c55d fix locator calculation 2019-07-06 23:15:33 +02:00
Jakob Ketterl
25bc788595 parse and show locators on the map 2019-07-06 22:43:36 +02:00
Jakob Ketterl
48baea3304 parse locators and send to map 2019-07-06 22:21:47 +02:00
Jakob Ketterl
a6d7209a45 explicit timezone information 2019-07-06 21:29:49 +02:00
Jakob Ketterl
eb1b1ba22f fix utc timestamps 2019-07-06 21:26:35 +02:00
Jakob Ketterl
d8a7dfbdbd ft8 messages panel 2019-07-06 21:04:18 +02:00
Jakob Ketterl
fa2d82ac13 ft8 message parsing 2019-07-06 20:03:17 +02:00
Jakob Ketterl
284646ee6c first stab at ft8 decoding: chop up audio, call jt9 binary to decode 2019-07-06 18:21:43 +02:00
Jakob Ketterl
3f05565b7b show selected callsign on the map 2019-07-06 15:04:39 +02:00
Jakob Ketterl
089964a5eb query parameter support for the http module 2019-07-06 13:03:49 +02:00
Jakob Ketterl
31b8dd4fd5 send ysf pins to the map 2019-07-06 12:53:11 +02:00
Jakob Ketterl
892c92eb1d add a link for the map in the top bar 2019-07-06 12:41:30 +02:00
Jakob Ketterl
d0d5dffe79 add some styling 2019-07-05 22:46:43 +02:00
Jakob Ketterl
823a4a35f0 implement feature and requirement details 2019-07-05 22:31:46 +02:00
Jakob Ketterl
e61c0dcc12 add some basic framework for the featurereport 2019-07-05 19:30:24 +02:00
Jakob Ketterl
f5f23e6fbc remove debugging 2019-07-01 21:21:26 +02:00
Jakob Ketterl
3b2b51f07c display locations parsed from ysf on map 2019-07-01 21:20:53 +02:00
Jakob Ketterl
272caa7100 rename title 2019-07-01 19:51:31 +02:00
Jakob Ketterl
2324a2c837 add google maps 2019-07-01 19:49:58 +02:00
Jakob Ketterl
893f69ad18 chain as list as a first step to better flexibility 2019-07-01 18:41:12 +02:00
Jakob Ketterl
a4a306374d add some map basics 2019-07-01 16:49:39 +02:00
Jakob Ketterl
f283a1ad68 prepare for different types of connections 2019-07-01 11:47:07 +02:00
Jakob Ketterl
0e205ec1d9 remove unused html files 2019-07-01 11:16:05 +02:00
Jakob Ketterl
c3411b8856 update readme with recent stuff 2019-06-30 15:57:32 +02:00
Jakob Ketterl
7e0591f0a6 disable squelch for packet, too 2019-06-22 18:31:23 +02:00
Jakob Ketterl
1f6f755d7f Merge branch 'develop' into packet 2019-06-22 18:20:01 +02:00
Jakob Ketterl
08edcd44ef add an airspy image 2019-06-20 15:37:21 +02:00
Jakob Ketterl
84ddcbb74d add a full build for multi-sdr support 2019-06-20 14:56:52 +02:00
Jakob Ketterl
f16a5f92e6 hackrf does not depend on soapy the way it's implemented now 2019-06-20 14:47:03 +02:00
Jakob Ketterl
a66b540254 remove rtl-sdr as default (new full package coming up) 2019-06-20 14:46:22 +02:00
Jakob Ketterl
a8b2e21a5a update to python 3 2019-06-20 14:46:04 +02:00
Jakob Ketterl
72bf698d95 Merge branch 'develop' into docker 2019-06-20 13:55:56 +02:00
Jakob Ketterl
7a54cf25d1 Merge branch 'master' into develop 2019-06-20 13:54:59 +02:00
Jakob Ketterl
96468f9258 add a basic clickable pin that opens google maps for now 2019-06-19 23:16:57 +02:00
Jakob Ketterl
231e4e72d9 add missing property binding 2019-06-15 21:47:28 +02:00
Jakob Ketterl
3b04465106 pointer on the overlay, too 2019-06-15 19:50:09 +02:00
Jakob Ketterl
4e9ef89276 use the old api for python < 3.6 2019-06-15 19:26:59 +02:00
Jakob Ketterl
8af8f93434 implement dmr timeslot muting 2019-06-15 19:10:33 +02:00
Jakob Ketterl
7362e48cf3 style more like openwebrx 2019-06-15 14:48:57 +02:00
Jakob Ketterl
efa0c060fe implement digiham version check 2019-06-15 13:29:59 +02:00
Jakob Ketterl
adf62bc2ca sync indicator 2019-06-15 12:30:04 +02:00
Jakob Ketterl
3a89f52028 better sync on the client side 2019-06-10 21:30:46 +02:00
Jakob Ketterl
c7d969c96e polishing up the imaging 2019-06-09 22:27:35 +02:00
Jakob Ketterl
2053a6b16b more clean-up stuff 2019-06-09 19:12:37 +02:00
Jakob Ketterl
e1d54bdf1d fix typo 2019-06-09 17:49:14 +02:00
Jakob Ketterl
761ca1132d nicer user display panel for YSF, too 2019-06-09 17:39:15 +02:00
Jakob Ketterl
2010a38411 add new nicer dmr status display 2019-06-09 15:15:27 +02:00
Jakob Ketterl
94516ef341 implement https detection (thanks Denys Vitali) 2019-06-08 23:36:16 +02:00
Jakob Ketterl
cde3ff703a gfsk decoder now supports floating point input, so we can stop
converting
2019-06-08 18:47:17 +02:00
Jakob Ketterl
b852fcc167 sox can accept float input, no need to convert 2019-06-08 18:17:04 +02:00
Jakob Ketterl
f9c14addcc apply audio filtering and agc to dsd too 2019-06-08 09:23:39 +02:00
Jakob Ketterl
a9d5fcf82a use fixed buf sizes to avoid cut-off audio 2019-06-07 20:23:58 +02:00
Jakob Ketterl
b6e59e9b11 allow avatar to be downloaded on its old url 2019-06-07 20:23:31 +02:00
Jakob Ketterl
e8a1a40dc0 try to handle overflowing connections 2019-06-07 20:10:03 +02:00
Jakob Ketterl
4b2100b593 Merge branch 'server_rework' into server_rework_dsd 2019-06-07 15:55:15 +02:00
Jakob Ketterl
a38872b2d0 Merge branch 'server_rework' of github.com:jketterl/openwebrx into server_rework 2019-06-07 15:49:43 +02:00
Jakob Ketterl
e422ca4d9b add airspy support (untested for now) 2019-06-07 15:44:11 +02:00
Jakob Ketterl
f49086a527 add first integration of direwolf for aprs 2019-06-07 15:11:04 +02:00
Jakob Ketterl
aa7212c642 handle OSErrors, too 2019-06-07 01:14:09 +02:00
Jakob Ketterl
0c59caa230 try to handle clipping problems with agc 2019-06-05 00:17:06 +02:00
Jakob Ketterl
4934e91e74 increase timeout (it's asynchronous, so we can wait) 2019-06-05 00:13:54 +02:00
Jakob Ketterl
546249e950 detect presence of nc 2019-06-05 00:08:56 +02:00
Jakob Ketterl
b7fc6a9c87 connection handling fix 2019-06-04 00:39:22 +02:00
Jakob Ketterl
2121739925 make the cache global 2019-05-30 18:54:45 +02:00
Jakob Ketterl
908e3036e0 digital pipeline tweaks (not sure if it's better that way) 2019-05-30 18:35:58 +02:00
Jakob Ketterl
f565b4dbcd download dmr ids asynchronously 2019-05-30 18:32:08 +02:00
Jakob Ketterl
7100d43d9e show callsigns for ham radio dmr ids 2019-05-30 17:19:46 +02:00
Jakob Ketterl
14f932eea8 parse metadata on the server side 2019-05-30 16:12:13 +02:00
Jakob Ketterl
05f6fff8f6 feed rrc filter with floats; add digitalvoice_filter 2019-05-25 01:46:16 +02:00
Jakob Ketterl
725615fbe5 display the mode from the metadata for ysf 2019-05-25 01:45:05 +02:00
Jakob Ketterl
1846605184 use dc blocker and limiter to improve signal decoding 2019-05-24 18:48:08 +02:00
Jakob Ketterl
224c895718 Merge branch 'server_rework' into server_rework_dsd 2019-05-19 22:25:37 +02:00
Jakob Ketterl
8a7aeca6b9 if_gain is optional, default is agc 2019-05-19 22:23:35 +02:00
Jakob Ketterl
7893216cce 30m fix 2019-05-19 22:12:17 +02:00
Jakob Ketterl
a36eb55680 Merge branch 'server_rework' into server_rework_dsd 2019-05-19 22:10:39 +02:00
Jakob Ketterl
8091831b1f make both gains available for sdrplay 2019-05-19 22:10:11 +02:00
Jakob Ketterl
3a669294d7 check for gfsk_demodulator, too 2019-05-19 17:56:41 +02:00
Jakob Ketterl
e79c830db5 Merge branch 'server_rework' into server_rework_dsd 2019-05-19 13:36:49 +02:00
Jakob Ketterl
92abef7172 pass antenna parameter only if set 2019-05-19 13:36:05 +02:00
Jakob Ketterl
eb758685a1 add antenna switching support for sdrplay 2019-05-19 13:17:36 +02:00
Jakob Ketterl
bb6b00a998 fix meta pipe crashes caused by unknown unicode characters (looks ugly now at times, but at least works continuously) 2019-05-18 22:27:19 +02:00
Jakob Ketterl
edadc383ff make unvoiced quality actually work 2019-05-18 22:26:52 +02:00
Jakob Ketterl
0629e6c777 make the ambe unvoiced quality configurable 2019-05-18 22:10:43 +02:00
Jakob Ketterl
e6150e4aca introduce subscription concept to simplify unsubscribing from events 2019-05-18 21:38:15 +02:00
Jakob Ketterl
ff8f03c983 slow down the smeter refresh rate a bit 2019-05-17 20:57:55 +02:00
Jakob Ketterl
0ab14f63cb add new logo 2019-05-16 23:45:24 +02:00
Jakob Ketterl
8e195a0de9 under construction on top looks nicer 2019-05-16 23:14:23 +02:00
Jakob Ketterl
7d4111fec8 hide metadata panel if no metadata is available 2019-05-16 23:09:57 +02:00
Jakob Ketterl
bd27d91529 resolve todo 2019-05-16 22:39:50 +02:00
Jakob Ketterl
9e0c2580d2 more chain magic; no squelch on digital modes; remove experimental buffer configs 2019-05-16 22:36:37 +02:00
Jakob Ketterl
35757168d4 add 30m 2019-05-16 21:44:05 +02:00
Jakob Ketterl
3f7ba343a2 remove stray character 2019-05-16 21:34:08 +02:00
Jakob Ketterl
a6c845de16 demodulator chain optimizations 2019-05-16 21:26:31 +02:00
Jakob Ketterl
b1596cbb60 clean up chains 2019-05-15 23:08:55 +02:00
Jakob Ketterl
4496fcc8b0 report client numbers on change only 2019-05-15 19:51:50 +02:00
Jakob Ketterl
cffb65e37d cpu usage fix 2019-05-15 19:43:52 +02:00
Jakob Ketterl
117d0483f7 streamline sdr and dsp integration 2019-05-15 11:44:03 +02:00
Jakob Ketterl
03049b79dd narrower bandwidth actually improves decoding 2019-05-15 11:33:23 +02:00
Jakob Ketterl
5e67f036b4 fix demodulator buttons 2019-05-14 23:36:37 +02:00
Jakob Ketterl
9812d38eee refactor dsp outputs
add digimode metadata
2019-05-14 23:30:03 +02:00
Jakob Ketterl
5733a5be9f separate dsd and digiham modes 2019-05-13 22:45:19 +02:00
Jakob Ketterl
2ddfa4d4f6 add sox feature dependency 2019-05-13 19:27:25 +02:00
Jakob Ketterl
2408d77f15 feature detection for digital voice; display modulator buttons only when
available
2019-05-13 19:19:15 +02:00
Jakob Ketterl
823995d4ba Merge branch 'server_rework' into server_rework_dsd 2019-05-13 17:46:02 +02:00
Jakob Ketterl
a85a6c694c improve shutdown handling 2019-05-12 18:10:24 +02:00
Jakob Ketterl
17a362fe7a no longer a template, no need for special file extension 2019-05-12 17:23:03 +02:00
Jakob Ketterl
85be2e97a1 this is now obsolete, as well 2019-05-12 17:20:44 +02:00
Jakob Ketterl
ddf9123e8b fix auto-sqelch 2019-05-12 16:02:49 +02:00
Jakob Ketterl
da37d03104 refactor into more reasonable namespaces 2019-05-12 15:56:18 +02:00
Jakob Ketterl
210fe5352f refactor the sdr.hu updater into the new server, too 2019-05-12 14:35:25 +02:00
Jakob Ketterl
697e177f00 remove obsolete global variables block 2019-05-12 13:21:08 +02:00
Jakob Ketterl
dd6c7bb2ea 3d waterfall color fix 2019-05-12 13:20:49 +02:00
Jakob Ketterl
3c5aa89469 fix the mathbox / 3d spectrum 2019-05-11 17:55:32 +02:00
Jakob Ketterl
fbe43a1715 fix logging 2019-05-11 14:33:13 +02:00
Jakob Ketterl
b34c1138b9 new version location + version increment 2019-05-11 14:18:43 +02:00
Jakob Ketterl
de84dc71e8 trim the config 2019-05-11 13:25:48 +02:00
Jakob Ketterl
d5f17d66d9 replace central entry 2019-05-11 12:58:09 +02:00
Jakob Ketterl
8617997e23 fix dsp unavailability problems 2019-05-11 00:38:46 +02:00
Jakob Ketterl
c7e4d6b976 fix root logger usage 2019-05-11 00:38:22 +02:00
Jakob Ketterl
b9d2654669 add 49m broadcast 2019-05-11 00:38:03 +02:00
Jakob Ketterl
dc44c9ed61 code style 2019-05-10 23:47:49 +02:00
Jakob Ketterl
1c4543b7bf re-implement the status page 2019-05-10 23:00:18 +02:00
Jakob Ketterl
dac35ae526 re-establish client reporting 2019-05-10 22:47:40 +02:00
Jakob Ketterl
0a22978660 let's see if the logging works this way 2019-05-10 22:47:07 +02:00
Jakob Ketterl
abb5b65217 let's get rid of deprecations straight away 2019-05-10 22:17:53 +02:00
Jakob Ketterl
b91d24f8d2 more protection 2019-05-10 22:08:18 +02:00
Jakob Ketterl
475631a06f log exceptions correctly 2019-05-10 22:08:00 +02:00
Jakob Ketterl
981ca755c6 use logging in the dsp module, too 2019-05-10 22:07:26 +02:00
Jakob Ketterl
e15359a106 use pythons logging infrastructure 2019-05-10 21:50:58 +02:00
Jakob Ketterl
6243a297c0 let's fix some of the code style issues 2019-05-10 21:29:05 +02:00
Jakob Ketterl
859e3931c6 link spectrum closer to the sdr source, since the other solution is unstable 2019-05-10 20:59:06 +02:00
Jakob Ketterl
52098cf9f9 introduce protected client writes, to avoid hanging connections 2019-05-10 20:08:22 +02:00
Jakob Ketterl
1108cd9a96 fix some issues in multi-user operation 2019-05-10 19:40:31 +02:00
Jakob Ketterl
dd3a970497 various changes to stabilize sdr switchovers 2019-05-10 18:30:53 +02:00
Jakob Ketterl
b17364e701 prevend weird asm.js error by reusing things 2019-05-10 18:29:54 +02:00
Jakob Ketterl
7427fa3608 sdr profile selection frontend 2019-05-10 16:14:16 +02:00
Jakob Ketterl
1cf4a879f7 might as well show this for now :D 2019-05-10 15:04:30 +02:00
Jakob Ketterl
08e0a0af19 start and shutdown dsps in a more controlled manner 2019-05-10 14:58:25 +02:00
Jakob Ketterl
b3d5f924c3 rewrite urls to work again 2019-05-10 14:28:29 +02:00
Jakob Ketterl
bbd6412e3d test sdrs and their availability early on
use polymorphism to load sdrs in
2019-05-10 14:23:54 +02:00
Jakob Ketterl
56ef86aab6 multi-sdr capabilities! 2019-05-09 22:44:29 +02:00
Jakob Ketterl
bd627d77b7 misc 2019-05-09 20:11:21 +02:00
Jakob Ketterl
6eb37b989f handle property changes on the fft thread 2019-05-09 16:52:42 +02:00
Jakob Ketterl
7550a6294e monitor rtl shutdown and allow a sdr-specific sleep parameter 2019-05-09 16:12:32 +02:00
Jakob Ketterl
80d387743a add some caching for static assets 2019-05-09 16:12:05 +02:00
Jakob Ketterl
56dcd00e82 fix audio on reconnect 2019-05-09 16:11:14 +02:00
Jakob Ketterl
425517d576 fix favicon 2019-05-09 16:10:58 +02:00
Jakob Ketterl
bd7cd01359 stabilize dsp operation with a lock 2019-05-08 16:31:52 +02:00
Jakob Ketterl
f5d9306c37 fix network usage 2019-05-07 20:20:12 +02:00
Jakob Ketterl
4cd23cf445 more work to allow seamless config switching 2019-05-07 20:06:06 +02:00
Jakob Ketterl
35930f79f1 send a new config message when config properties haven been changed 2019-05-07 18:47:03 +02:00
Jakob Ketterl
9fc77c2804 some quick nudges to allow reconfiguration of the rtl_sdr command on the fly 2019-05-07 18:19:53 +02:00
Jakob Ketterl
fa05249a9d first steps towards a reconfigurable sdr source 2019-05-07 17:30:30 +02:00
Jakob Ketterl
7eaada4726 make sdrs configurable by type; move format_conversion forward 2019-05-07 17:09:29 +02:00
Jakob Ketterl
cb187fd3c2 improved property system 2019-05-07 16:32:53 +02:00
Jakob Ketterl
df9646aaf9 extended feature detection 2019-05-07 15:50:20 +02:00
Jakob Ketterl
e937f2bca3 implement client reconnect; remove some old code 2019-05-07 15:21:16 +02:00
Jakob Ketterl
efb6e9c6cd how did that get there? 2019-05-05 22:15:27 +02:00
Jakob Ketterl
f44ff3715f secondary demod now at least displaying something (and other small fixes) 2019-05-05 22:09:48 +02:00
Jakob Ketterl
7732b3f685 create maps the python way 2019-05-05 21:09:49 +02:00
Jakob Ketterl
1c2810ccb8 remove debugging 2019-05-05 21:09:01 +02:00
Jakob Ketterl
a4313c3340 add secondary demod (not working with my csdr atm, unable to test.) 2019-05-05 20:36:50 +02:00
Jakob Ketterl
628731cba4 require handshake 2019-05-05 20:12:36 +02:00
Jakob Ketterl
30f8244abf add feature detection 2019-05-05 19:59:03 +02:00
Jakob Ketterl
142a4c87bd proper shutdown of dsp thread 2019-05-05 19:46:13 +02:00
Jakob Ketterl
cb0d59de61 make receiver details dynamic 2019-05-05 17:52:26 +02:00
Jakob Ketterl
0da62dad82 add cpu usage 2019-05-05 17:34:40 +02:00
Jakob Ketterl
854ac6d5f1 (hopefully) improve the header markup 2019-05-05 17:10:49 +02:00
Jakob Ketterl
0f86796e75 get the s-meter back 2019-05-05 16:17:55 +02:00
Jakob Ketterl
7481399908 use the web_port as configured 2019-05-05 15:53:35 +02:00
Jakob Ketterl
716542107f use some of those properties 2019-05-05 15:51:33 +02:00
Jakob Ketterl
6c82c36915 get the squelch, too 2019-05-04 23:14:31 +02:00
Jakob Ketterl
f05afc4b0a get the audio going as well 2019-05-04 23:11:13 +02:00
Jakob Ketterl
6ec21e6716 send missing parameters for audio client startup 2019-05-04 20:40:13 +02:00
Jakob Ketterl
1f909080db we got fft 2019-05-04 20:26:11 +02:00
Jakob Ketterl
89690d214d first work on the websocket connection 2019-05-04 16:56:23 +02:00
Jakob Ketterl
bd8e665198 add new webserver infrastructure 2019-05-03 22:59:24 +02:00
Jakob Ketterl
6294797466 add hackrf support 2019-01-24 17:24:15 +01:00
Jakob Ketterl
7bec9eaa87 don't build/push the latest tag, that's a manifest now 2019-01-24 17:07:12 +01:00
Jakob Ketterl
8c0a818549 split soapysdr from the sdrplay build 2019-01-24 16:46:16 +01:00
Jakob Ketterl
d5b5fc3798 fix the arch command 2019-01-22 18:27:25 +00:00
Jakob Ketterl
a2766bcc2e separate patch for raspberry 2019-01-22 17:44:58 +01:00
Jakob Ketterl
9953c7d1e1 fix the sdrplay driver installation 2019-01-22 17:25:46 +01:00
Jakob Ketterl
8d10fc573f move stuff to alpine to reduce image size (sdrplay not woking yet) 2019-01-22 14:52:53 +00:00
Jakob Ketterl
dea09d8eaa multi-platform build 2019-01-22 12:52:03 +01:00
Jakob Ketterl
74930ba253 some compatibility 2019-01-22 11:35:48 +01:00
Jakob Ketterl
28f84c5188 pushes need to be separate 2019-01-21 22:53:59 +00:00
Jakob Ketterl
b2b04dc65f fix typo 2019-01-21 17:47:05 +00:00
Jakob Ketterl
a712d5ca3e split into separate docker builds 2019-01-21 17:44:35 +00:00
Jakob Ketterl
a60521420b prepare separate images based on the used sdr device 2019-01-21 17:02:58 +00:00
Jakob Ketterl
896fd0c178 add docker build and push scripts 2019-01-21 16:40:36 +00:00
Jakob Ketterl
075fee46b7 use the dsd version with stdout support 2019-01-21 16:38:46 +00:00
Jakob Ketterl
4f6a9249e8 add sdrplay support 2019-01-13 21:04:29 +00:00
Jakob Ketterl
51b9d1289a reduce size 2019-01-13 15:54:36 +00:00
Jakob Ketterl
27571bd63a add docker packaging 2019-01-13 14:12:09 +00:00
Jakob Ketterl
3e2c20b204 make /status return a valid http response (acceptaple for varnish) 2018-12-06 06:08:41 +00:00
Jakob Ketterl
8ab42ce944 Merge branch 'master' into dsd_integration 2018-10-15 17:36:48 +02:00
Jakob Ketterl
d1ce737886 use new non-blocking strategy (affects all reads) 2018-09-25 21:15:23 +00:00
Jakob Ketterl
7e08c8f28e fix digital metadata 2018-09-25 19:03:12 +00:00
Jakob Ketterl
aa03def329 fix indents 2018-09-25 15:32:30 +02:00
Jakob Ketterl
7f90c0a67a more overlooked changes 2018-09-25 15:28:53 +02:00
Jakob Ketterl
bf4c70dfef merge recent openwebrx changes into our work 2018-09-25 14:56:47 +02:00
Jakob Ketterl
ac6e001fd6 metadata for ysf 2017-01-20 12:26:09 +00:00
Jakob Ketterl
89740b1a93 add ysf to the receiver 2016-11-27 01:29:17 +00:00
Jakob Ketterl
aa959cdc93 strip newlines from metadata 2016-11-15 19:20:18 +00:00
Jakob Ketterl
6d5a7ffefc fix javascript errors 2016-11-12 19:55:43 +00:00
Jakob Ketterl
95acf40eb6 more effort displaying meta information 2016-11-11 21:42:45 +00:00
Jakob Ketterl
7700214e5f add metadata pipe to allow digital protocol information to be displayed in the website 2016-11-11 20:56:17 +00:00
Jakob Ketterl
49e3bd3b80 remove old canvases from the dom to reduce memory footprint 2016-10-29 19:43:18 +00:00
Jakob Ketterl
fba07c521a refactor dsd parametrization 2016-10-22 21:52:22 +00:00
Jakob Ketterl
9569fbd72e narrower filter for dstar & nxdn 2016-10-22 21:51:51 +00:00
Jakob Ketterl
0a389256eb mute audio when buffer is empty 2016-10-16 19:40:03 +00:00
Jakob Ketterl
ddac30db63 add integrations for dmr, d-star and nxdn via dsd 2016-10-15 14:30:30 +00:00
369 changed files with 32998 additions and 19013 deletions

7
.dockerignore Normal file
View File

@ -0,0 +1,7 @@
.git
.gitignore
.idea
**/*.pyc
**/*.swp
black-env
debian

29
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior.
**Expected behavior**
A clear and concise description of what you expected to happen.
**Installation method**
How did you install OpenWebRX? (Raspberry Pi SD card image, Debian / Ubuntu packages, Docker image, manually?)
**Versions**
What version of OpenWebRX are you running? (Check on startup, or see `owrx/version.py`. If a `-dev` version is used, ideally state the commit the issue is appearing on)
**Log messages**
Are there any relevant messages relating to the bug in the output / log of OpenWebRX? (On most installations, the log should be available using the command `sudo journalctl -u openwebrx`)
**Additional context**
Add any other context about the problem here.

5
.github/ISSUE_TEMPLATE/config.yml vendored Normal file
View File

@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: General support request or other project-relasted question
url: https://groups.io/g/openwebrx
about: Request help on the community mailing list

View File

@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: feature
assignees: ''
---
Before posting a new feature request, please check if a similar idea has already been listed
* on the issue tracker
* on the [OpenWebRX github project](https://github.com/users/jketterl/projects/1).
In the latter case, please only proceed if you have additional information about the feature, and please let us know that there's already a card there.
**Feature description**
Please describe in plain words what functionality you'd like to see in OpenWebRX, and why you think it's useful.
**Target audience**
Please let us know if you think that this feature is of particular interest for a particular group of users (e.g. hams, SWLs, DXers, ...)

6
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.pyc
*.swp
**/*.pyc
**/*.swp
tags
.idea
packages

219
CHANGELOG.md Normal file
View File

@ -0,0 +1,219 @@
**unreleased**
- SDR device log messages are now available in the web configuration to simplify troubleshooting
- Added support for the MSK144 digimode
**1.2.1**
- FifiSDR support fixed (pipeline formats now line up correctly)
- Added "Device" input for FifiSDR devices for sound card selection
**1.2.0**
- Major rewrite of all demodulation components to make use of the new csdr/pycsdr and digiham/pydigiham demodulator
modules
- Preliminary display of M17 callsign information
- New devices supported:
- Blade RF
**1.1.0**
- Reworked most graphical elements as SVGs for faster loadtimes and crispier display on hi-dpi displays
- Updated pipelines to match changes in digiham
- Changed D-Star and NXDN integrations to use new decoders from digiham
- Added D-Star and NXDN metadata display
**1.0.0**
- Introduced `squelch_auto_margin` config option that allows configuring the auto squelch level
- Removed `port` configuration option; `rtltcp_compat` takes the port number with the new connectors
- Added support for new WSJT-X modes FST4, FST4W (only available with WSJT-X 2.3) and Q65 (only avilable with
WSJT-X 2.4)
- Added support for demodulating M17 digital voice signals using m17-cxx-demod
- New reporting infrastructure, allowing WSPR and FST4W spots to be sent to wsprnet.org
- Add some basic filtering capabilities to the map
- New arguments to the `openwebrx` command-line to facilitate the administration of users (try `openwebrx admin`)
- Default bandwidth changes:
- "WFM" changed to 150kHz
- "Packet" (APRS) changed to 12.5kHz
- Configuration rework:
- New: fully web-based configuration interface
- System configuration parameters have been moved to a new, separate `openwebrx.conf` file
- Remaining parameters are now editable in the web configuration
- Existing `config_webrx.py` files will still be read, but changes made in the web configuration will be written to
a new storage system
- Added upload of avatar and panorama image via web configuration
- New devices supported:
- HPSDR devices (Hermes Lite 2) thanks to @jancona
- BBRF103 / RX666 / RX888 devices supported by libsddc
- R&S devices using the EB200 or Ammos protocols
**0.20.3**
- Fix a compatibility issue with python versions <= 3.6
**0.20.2**
- Fix a security problem that allowed arbitrary commands to be executed on the receiver
([See github issue #215](https://github.com/jketterl/openwebrx/issues/215))
**0.20.1**
- Remove broken OSM map fallback
**0.20.0**
- Added the ability to sign multiple keys in a single request, thus enabling multiple users to claim a single receiver
on receiverbook.de
- Fixed file descriptor leaks to prevent "too many open files" errors
- Add new demodulator chain for FreeDV
- Added new HD audio streaming mode along with a new WFM demodulator
- Reworked AGC code for better results in AM, SSB and digital modes
- Added support for demodulation of "Digital Radio Mondiale" (DRM) broadcast using the "dream" decoder.
- New default waterfall color scheme
- Prototype of a continuous automatic waterfall calibration mode
- New devices supported:
- FunCube Dongle Pro+ (`"type": "fcdpp"`)
- Support for connections to rtl_tcp (`"type": "rtl_tcp"`)
**0.19.1**
- Added ability to authenticate receivers with listing sites using "receiver id" tokens
**0.19.0**
- Fix direwolf connection setup by implementing a retry loop
- Pass direct sampling mode changes for rtl_sdr_soapy to owrx_connector
- OSM maps instead of Google when google_maps_api_key is not set (thanks @jquagga)
- Improved logic to pass parameters to soapy devices.
- `rtl_sdr_soapy`: added support for `bias_tee`
- `sdrplay`: added support for `bias_tee`, `rf_notch` and `dab_notch`
- `airspy`: added support for `bitpack`
- Added support for Perseus-SDR devices, (thanks @amontefusco)
- Property System has been rewritten so that defaults on sdr behave as expected
- Waterfall range auto-adjustment now only takes the center 80% of the spectrum into account, which should work better
with SDRs that oversample or have rather flat filter curves towards the spectrum edges
- Bugfix for negative network usage
- FiFi SDR: prevent arecord from shutting down after 2GB of data has been sent
- Added support for bias tee control on rtl_sdr devices
- All connector driven SDRs now support `"rf_gain": "auto"` to enable AGC
- `rtl_sdr` type now also supports the `direct_sampling` option
- Added decoding implementation for for digimode "JS8Call"
(requires an installation of [js8call](http://js8call.com/) and
[the js8py library](https://github.com/jketterl/js8py))
- Reorganization of the frontend demodulator code
- Improve receiver load time by concatenating javascript assets
- Docker images migrated to Debian slim images; This was necessary to allow the use of function multiversioning in
csdr and owrx_connector to allow the images to run on a wider range of CPUs
- Docker containers have been updated to include the SDRplay driver version 3
- HackRF support is now based on SoapyHackRF
- Removed sdr.hu server listing support since the site has been shut down
- Added support for Radioberry 2 Rasbperry Pi SDR Cape
**0.18.0**
- Support for SoapyRemote
**2020-02-08**
- Compression, resampling and filtering in the frontend have been rewritten in javascript, sdr.js has been removed
- Decoding of Pocsag modulation is now possible
- Removed the 3D waterfall since it had no real application and required ~1MB of javascript code to be downloaded
- Improved the frontend handling of the "too many users" scenario
- PSK63 digimode is now available (same decoding pipeline as PSK31, but with adopted parameters)
- The frequency can now be manipulated with the mousewheel, which should allow the user to tune more precise. The tuning
step size is determined by the digit the mouse cursor is hovering over.
- Clicking on the frequency now opens an input for direct frequency selection
- URL hashes have been fixed and improved: They are now updated automatically, so a shared URL will include frequency
and demodulator, which allows for improved sharing and linking.
- New daylight scheduler for background decoding, allows profiles to be selected by local sunrise / sunset times
- New devices supported:
- LimeSDR (`"type": "lime_sdr"`)
- PlutoSDR (`"type": "pluto_sdr"`)
- RTL_SDR via Soapy (`"type": "rtl_sdr_soapy"`) on special request to allow use of the direct sampling mode
**2020-01-04**
- The [owrx_connector](https://github.com/jketterl/owrx_connector) is now the default way of communicating with sdr
devices. The old sdr types have been replaced, all `_connector` suffixes on the type must be removed!
- The sources have been refactored, making it a lot easier to add support for other devices
- SDR device failure handling has been improved, including user feedback
- New devices supported:
- FiFiSDR (`"type": "fifi_sdr"`)
**2019-12-15**
- wsjt-x updated to 2.1.2
- The rtl_tcp compatibility mode of the owrx_connector is now configurable using the `rtltcp_compat` flag
**2019-12-10**
- added support for airspyhf devices (Airspy HF+ / Discovery)
**2019-12-05**
- explicit device filter for soapy devices for multi-device setups
**2019-12-03**
- compatibility fixes for safari browsers (ios and mac)
**2019-11-24**
- There is now a new way to interface with SDR hardware, .
They talk directly to the hardware (no rtl_sdr / rx_sdr necessary) and offer I/Q data on a socket, just like nmux
did before. They additionally offer a control socket that allows openwebrx to control the SDR parameters directly,
without the need for repeated restarts. This allows for quicker profile changes, and also reduces the risk of your
SDR hardware from failing during the switchover. See `config_webrx.py` for further information and instructions.
- Offset tuning using the `lfo_offset` has been reworked in a way that `center_freq` has to be set to the frequency you
actually want to listen to. If you're using an `lfo_offset` already, you will probably need to change its sign.
- `initial_squelch_level` can now be set on each profile.
- As usual, plenty of fixes and improvements.
**2019-10-27**
- Part of the frontend code has been reworked
- Audio buffer minimums have been completely stripped. As a result, you should get better latency. Unfortunately,
this also means there will be some skipping when audio starts.
- Now also supports AudioWorklets (for those browser that have it). The Raspberry Pi image has been updated to include
https due to the SecureContext requirement.
- Mousewheel controls for the receiver sliders
- Error handling for failed SDR devices
**2019-09-29**
- One of the most-requested features is finally coming to OpenWebRX: Bookmarks (sometimes also referred to as labels).
There's two kinds of bookmarks available:
- Serverside bookmarks that are set up by the receiver administrator. Check the file `bookmarks.json` for examples!
- Clientside bookmarks which every user can store for themselves. They are stored in the browser's localStorage.
- Some more bugs in the websocket handling have been fixed.
**2019-09-25**
- Automatic reporting of spots to [pskreporter](https://pskreporter.info/) is now possible. Please have a look at the
configuration on how to set it up.
- Websocket communication has been overhauled in large parts. It should now be more reliable, and failing connections
should now have no impact on other users.
- Profile scheduling allows to set up band-hopping if you are running background services.
- APRS now has the ability to show symbols on the map, if a corresponding symbol set has been installed. Check the
config!
- Debug logging has been disabled in a handful of modules, expect vastly reduced output on the shell.
**2019-09-13**
- New set of APRS-related features
- Decode Packet transmissions using [direwolf](https://github.com/wb2osz/direwolf) (1k2 only for now)
- APRS packets are mostly decoded and shown both in a new panel and on the map
- APRS is also available as a background service
- direwolfs I-gate functionality can be enabled, which allows your receiver to work as a receive-only I-gate for the
APRS network in the background
- Demodulation for background services has been optimized to use less total bandwidth, saving CPU
- More metrics have been added; they can be used together with collectd and its curl_json plugin for now, with some
limitations.
**2019-07-21**
- Latest Features:
- More WSJT-X modes have been added, including the new FT4 mode
- I started adding a bandplan feature, the first thing visible is the "dial" indicator that brings you right to the
dial frequency for digital modes
- fixed some bugs in the websocket communication which broke the map
**2019-07-13**
- Latest Features:
- FT8 Integration (using wsjt-x demodulators)
- New Map Feature that shows both decoded grid squares from FT8 and Locations decoded from YSF digital voice
- New Feature report that will show what functionality is available
- There's a new Raspbian SD Card image available (see below)
**2019-06-30**
- I have done some major rework on the openwebrx core, and I am planning to continue adding more features in the near
future. Please check this place for updates.
- My work has not been accepted into the upstream repository, so you will need to chose between my fork and the official
version.
- I have enabled the issue tracker on this project, so feel free to file bugs or suggest enhancements there!
- This version sports the following new and amazing features:
- Support of multiple SDR devices simultaneously
- Support for multiple profiles per SDR that allow the user to listen to different frequencies
- Support for digital voice decoding
- Feature detection that will disable functionality when dependencies are not available (if you're missing the digital
buttons, this is probably why)
- Raspbian SD Card Images and Docker builds available (see below)
- I am currently working on the feature set for a stable release, but you are more than welcome to test development
versions!

View File

@ -1,15 +0,0 @@
First of all, thank you for taking the time to contribute to this project!
Before I can accept your contributions, I need a signed copy of the Individual Contributor License Agreement (ICLA) from you, which is available <a href="ICLA.txt">here</a>.
The ICLA is needed because it will allow me to dual license the OpenWebRX project under AGPL and a commercial license.
I will also apply dual licensing to csdr, but only those parts that are original work (e.g. without the parts enabled by `-DUSE_IMA_ADPCM`; code taken from other projects is clearly separable).
However, even if there is commercial interest in the projects, I promise to keep them as open as possible, keeping my original intention to provide an open-source web-based SDR receiver software to the amateur radio operators and SDR enthusiasts.
This contributor agreement is based on the one of Apache Software Foundation, with some modifications. (You can review differences <a href="https://gist.github.com/ha7ilm/9e981006d24659e336c7/revisions">here</a>).
When you contribute for the first time, I will send you the ICLA. Replying with only the information requested and the text "I Agree" is sufficient.
Thanks,
Andras, HA7ILM

View File

@ -1,5 +0,0 @@
This is a list of the great people who contributed code to the OpenWebRX repository. (Names are sorted alphabetically.)
Gnoxter <gnoxter@linuxlounge.net>
John Seamons, ZL/KF6VO <jks@jks.com>

128
ICLA.txt
View File

@ -1,128 +0,0 @@
Individual Contributor License Agreement ("Agreement")
In order to clarify the intellectual property license granted
with Contributions from any person or entity, Retzler András
(hereinafter referred to as "Project Owner") must have a
Contributor License Agreement ("CLA") on file that has
been signed by each Contributor, indicating agreement to the license
terms below. This license is for your protection as a Contributor as
well as the protection of the Project Owner; it does not change your
rights to use your own Contributions for any other purpose.
Please read this document carefully before signing and keep a copy
for your records.
Full name: ______________________________________________________
(optional) Public name: _________________________________________
Mailing Address: ________________________________________________
________________________________________________
Country: ______________________________________________________
(optional) Telephone: ___________________________________________
E-Mail: ______________________________________________________
You accept and agree to the following terms and conditions for Your
present and future Contributions submitted to the Project Owner.
Except for the license granted herein to the Project Owner and recipients
of software distributed by the Project Owner, You reserve all right, title,
and interest in and to Your Contributions.
1. Definitions.
"You" (or "Your") shall mean the copyright owner or legal entity
authorized by the copyright owner that is making this Agreement
with the Project Owner. For legal entities, the entity making a
Contribution and all other entities that control, are controlled
by, or are under common control with that entity are considered to
be a single Contributor. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"Contribution" shall mean any original work of authorship,
including any modifications or additions to an existing work, that
is intentionally submitted by You to the Project Owner for inclusion
in, or documentation of, any of the products owned or managed by
the Project Owner (the "Work"). For the purposes of this definition,
"submitted" means any form of electronic, verbal, or written
communication sent to the Project Owner or its representatives,
including but not limited to communication on electronic mailing
lists, source code control systems, and issue tracking systems that
are managed by, or on behalf of, the Project Owner for the purpose of
discussing and improving the Work, but excluding communication that
is conspicuously marked or otherwise designated in writing by You
as "Not a Contribution."
2. Grant of Copyright License. Subject to the terms and conditions of
this Agreement, You hereby grant to the Project Owner and to
recipients of software distributed by the Project Owner a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare derivative works of,
publicly display, publicly perform, sublicense, and distribute Your
Contributions and such derivative works.
3. Grant of Patent License. Subject to the terms and conditions of
this Agreement, You hereby grant to the Project Owner and to
recipients of software distributed by the Project Owner a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have
made, use, offer to sell, sell, import, and otherwise transfer the
Work, where such license applies only to those patent claims
licensable by You that are necessarily infringed by Your
Contribution(s) alone or by combination of Your Contribution(s)
with the Work to which such Contribution(s) was submitted. If any
entity institutes patent litigation against You or any other entity
(including a cross-claim or counterclaim in a lawsuit) alleging
that your Contribution, or the Work to which you have contributed,
constitutes direct or contributory patent infringement, then any
patent licenses granted to that entity under this Agreement for
that Contribution or Work shall terminate as of the date such
litigation is filed.
4. You represent that you are legally entitled to grant the above
license. If your employer(s) has rights to intellectual property
that you create that includes your Contributions, you represent
that you have received permission to make Contributions on behalf
of that employer, that your employer has waived such rights for
your Contributions to the Project Owner, or that your employer has
executed a separate Corporate CLA with the Project Owner.
5. You represent that each of Your Contributions is Your original
creation (see section 7 for submissions on behalf of others). You
represent that Your Contribution submissions include complete
details of any third-party license or other restriction (including,
but not limited to, related patents and trademarks) of which you
are personally aware and which are associated with any part of Your
Contributions.
6. You are not expected to provide support for Your Contributions,
except to the extent You desire to provide support. You may provide
support for free, for a fee, or not at all. Unless required by
applicable law or agreed to in writing, You provide Your
Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
OF ANY KIND, either express or implied, including, without
limitation, any warranties or conditions of TITLE, NON-
INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
7. Should You wish to submit work that is not Your original creation,
You may submit it to the Project Owner separately from any
Contribution, identifying the complete details of its source and of
any license or other restriction (including, but not limited to,
related patents, trademarks, and license agreements) of which you
are personally aware, and conspicuously marking the work as
"Submitted on behalf of a third-party: [named here]".
8. You agree to notify the Project Owner of any facts or circumstances of
which you become aware that would make these representations
inaccurate in any respect.
Please sign: __________________________________ Date: ________________
Text derived from the Apache Individual Contributor License Agreement
("Agreement") V2.0, available at http://apache.org/licenses/icla.txt

View File

@ -1,76 +1,47 @@
OpenWebRX
=========
[:floppy_disk: Setup guide for Ubuntu](http://blog.sdr.hu/2015/06/30/quick-setup-openwebrx.html) | [:blue_book: Knowledge base on the Wiki](https://github.com/simonyiszk/openwebrx/wiki/) | [:earth_americas: Receivers on SDR.hu](http://sdr.hu/)
OpenWebRX is a multi-user SDR receiver software with a web interface.
![OpenWebRX](http://blog.sdr.hu/images/openwebrx/screenshot.png)
![OpenWebRX](https://www.openwebrx.de/gfx/openwebrx-screenshot.png)
It has the following features:
- <a href="https://github.com/simonyiszk/csdr">csdr</a> based demodulators (AM/FM/SSB/CW/BPSK31),
- filter passband can be set from GUI,
- waterfall display can be shifted back in time,
- it extensively uses HTML5 features like WebSocket, Web Audio API, and &lt;canvas&gt;,
- it works in Google Chrome, Chromium (above version 37) and Mozilla Firefox (above version 28),
- currently supports RTL-SDR, HackRF, SDRplay, AirSpy and many other devices, see the <a href="https://github.com/simonyiszk/openwebrx/wiki/">OpenWebRX Wiki</a>,
- it has a 3D waterfall display:
![OpenWebRX 3D waterfall](http://blog.sdr.hu/images/openwebrx/screenshot-3d.gif)
**News (2015-08-18)**
- My BSc. thesis written on OpenWebRX is <a href="https://sdr.hu/static/bsc-thesis.pdf">available here.</a>
- Several bugs were fixed to improve reliability and stability.
- OpenWebRX now supports compression of audio and waterfall stream, so the required network uplink bandwidth has been decreased from 2 Mbit/s to about 200 kbit/s per client! (Measured with the default settings. It is also dependent on `fft_size`.)
- OpenWebRX now uses <a href="https://github.com/simonyiszk/csdr#sdrjs">sdr.js</a> (*libcsdr* compiled to JavaScript) for some client-side DSP tasks.
- Receivers can now be listed on <a href="http://sdr.hu/">SDR.hu</a>.
- License for OpenWebRX is now Affero GPL v3.
**News (2016-02-14)**
- The DDC in *csdr* has been manually optimized for ARM NEON, so it runs around 3 times faster on the Raspberry Pi 2 than before.
- Also we use *ncat* instead of *rtl_mus*, and it is 3 times faster in some cases.
- OpenWebRX now supports URLs like: `http://localhost:8073/#freq=145555000,mod=usb`
- UI improvements were made, thanks to John Seamons and Gnoxter.
**News (2017-04-04)**
- *ncat* has been replaced with a custom implementation called *nmux* due to a bug that caused regular crashes on some machines. The *nmux* tool is part of the *csdr* package.
- Most consumer SDR devices are supported via <a href="https://github.com/rxseger/rx_tools">rx_tools</a>, see the <a href="https://github.com/simonyiszk/openwebrx/wiki/Using-rx_tools-with-OpenWebRX">OpenWebRX Wiki</a> on that.
**News (2017-07-12)**
- OpenWebRX now has a BPSK31 demodulator and a 3D waterfall display.
> When upgrading OpenWebRX, please make sure that you also upgrade *csdr*!
## OpenWebRX servers on SDR.hu
[SDR.hu](http://sdr.hu) is a site which lists the active, public OpenWebRX servers. Your receiver [can also be part of it](http://sdr.hu/openwebrx), if you want.
![sdr.hu](http://blog.sdr.hu/images/openwebrx/screenshot-sdrhu.png)
- [csdr](https://github.com/jketterl/csdr) based demodulators (AM/FM/SSB/CW/BPSK31/BPSK63)
- filter passband can be set from GUI
- it extensively uses HTML5 features like WebSocket, Web Audio API, and Canvas
- it works in Google Chrome, Chromium and Mozilla Firefox
- supports a wide range of [SDR hardware](https://github.com/jketterl/openwebrx/wiki/Supported-Hardware#sdr-devices)
- Multiple SDR devices can be used simultaneously
- [digiham](https://github.com/jketterl/digiham) based demodularors (DMR, YSF, Pocsag, D-Star, NXDN)
- [wsjt-x](https://wsjt.sourceforge.io/) based demodulators (FT8, FT4, WSPR, JT65, JT9, FST4,
FST4W)
- [direwolf](https://github.com/wb2osz/direwolf) based demodulation of APRS packets
- [JS8Call](http://js8call.com/) support
- [DRM](https://github.com/jketterl/openwebrx/wiki/DRM-demodulator-notes) support
- [FreeDV](https://github.com/jketterl/openwebrx/wiki/FreeDV-demodulator-notes) support
- M17 support based on [m17-cxx-demod](https://github.com/mobilinkd/m17-cxx-demod)
## Setup
OpenWebRX currently requires Linux and python 2.7 to run.
The following methods of setting up a receiver are currently available:
First you will need to install the dependencies:
- Raspberry Pi SD card images
- Debian repository
- Docker images
- Manual installation
- <a href="https://github.com/simonyiszk/csdr">libcsdr</a>
- <a href="http://sdr.osmocom.org/trac/wiki/rtl-sdr">rtl-sdr</a>
Please checkout the [setup guide on the wiki](https://github.com/jketterl/openwebrx/wiki/Setup-Guide) for more details
on the respective methods.
After cloning this repository and connecting an RTL-SDR dongle to your computer, you can run the server:
## Community
python openwebrx.py
If you have trouble setting up or configuring your receiver, you have some great idea you want to see implemented, or
you just generally want to have some OpenWebRX-related chat, come visit us over on
[our groups.io group](https://groups.io/g/openwebrx).
You can now open the GUI at <a href="http://localhost:8073">http://localhost:8073</a>.
Please note that the server is also listening on the following ports (on localhost only):
- port 4951 for the multi-user I/Q server.
Now the next step is to customize the parameters of your server in `config_webrx.py`.
Actually, if you do something cool with OpenWebRX, please drop me a mail:
*Andras Retzler, HA7ILM &lt;randras@sdr.hu&gt;*
If you want to hang out, chat, or get in touch directly with the developers, receiver operators or users, feel free to
drop by in [our Discord server](https://discord.gg/gnE9hPz).
## Usage tips
@ -80,16 +51,10 @@ The filter envelope can be dragged at its ends and moved around to set the passb
However, if you hold down the shift key, you can drag the center line (BFO) or the whole passband (PBS).
## Setup tips
If you have any problems installing OpenWebRX, you should check out the <a href="https://github.com/simonyiszk/openwebrx/wiki">Wiki</a> about it, which has a page on the <a href="https://github.com/simonyiszk/openwebrx/wiki/Common-problems-and-their-solutions">common problems and their solutions</a>.
Sometimes the actual error message is not at the end of the terminal output, you may have to look at the whole output to find it.
If you want to run OpenWebRX on a remote server instead of *localhost*, do not forget to set *server_hostname* in `config_webrx.py`.
## Licensing
OpenWebRX is available under Affero GPL v3 license (<a href="https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0)">summary</a>).
OpenWebRX is available under Affero GPL v3 license
([summary](https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0))).
OpenWebRX is also available under a commercial license on request. Please contact me at the address *&lt;randras@sdr.hu&gt;* for licensing options.
OpenWebRX is also available under a commercial license on request. Please contact me at the address
*&lt;randras@sdr.hu&gt;* for licensing options.

371
bands.json Normal file
View File

@ -0,0 +1,371 @@
[
{
"name": "2190m",
"lower_bound": 135700,
"upper_bound": 137800,
"frequencies": {
"fst4": 136000,
"fst4w": 136000
},
"tags": ["hamradio"]
},
{
"name": "630m",
"lower_bound": 472000,
"upper_bound": 479000,
"frequencies": {
"fst4": 474200,
"fst4w": 474200
},
"tags": ["hamradio"]
},
{
"name": "160m",
"lower_bound": 1810000,
"upper_bound": 2000000,
"frequencies": {
"bpsk31": 1838000,
"ft8": 1840000,
"wspr": 1836600,
"jt65": 1838000,
"jt9": 1839000,
"js8": 1842000,
"fst4": 1839000,
"fst4w": 1836800
},
"tags": ["hamradio"]
},
{
"name": "80m",
"lower_bound": 3500000,
"upper_bound": 3800000,
"frequencies": {
"bpsk31": 3580000,
"ft8": 3573000,
"wspr": 3568600,
"jt65": 3570000,
"jt9": 3572000,
"ft4": [3568000, 3575000],
"js8": 3578000
},
"tags": ["hamradio"]
},
{
"name": "60m",
"lower_bound": 5351500,
"upper_bound": 5366500,
"frequencies": {
"ft8": 5357000,
"wspr": [5287200, 5364700]
},
"tags": ["hamradio"]
},
{
"name": "40m",
"lower_bound": 7000000,
"upper_bound": 7200000,
"frequencies": {
"bpsk31": 7040000,
"ft8": 7074000,
"wspr": 7038600,
"jt65": 7076000,
"jt9": 7078000,
"ft4": 7047500,
"js8": 7078000
},
"tags": ["hamradio"]
},
{
"name": "30m",
"lower_bound": 10100000,
"upper_bound": 10150000,
"frequencies": {
"bpsk31": 10141000,
"ft8": 10136000,
"wspr": 10138700,
"jt65": 10138000,
"jt9": 10140000,
"ft4": 10140000,
"js8": 10130000
},
"tags": ["hamradio"]
},
{
"name": "20m",
"lower_bound": 14000000,
"upper_bound": 14350000,
"frequencies": {
"bpsk31": 14070000,
"ft8": 14074000,
"wspr": 14095600,
"jt65": 14076000,
"jt9": 14078000,
"ft4": 14080000,
"js8": 14078000
},
"tags": ["hamradio"]
},
{
"name": "17m",
"lower_bound": 18068000,
"upper_bound": 18168000,
"frequencies": {
"bpsk31": 18098000,
"ft8": 18100000,
"wspr": 18104600,
"jt65": 18102000,
"jt9": 18104000,
"ft4": 18104000,
"js8": 18104000
},
"tags": ["hamradio"]
},
{
"name": "15m",
"lower_bound": 21000000,
"upper_bound": 21450000,
"frequencies": {
"bpsk31": 21070000,
"ft8": 21074000,
"wspr": 21094600,
"jt65": 21076000,
"jt9": 21078000,
"ft4": 21140000,
"js8": 21078000
},
"tags": ["hamradio"]
},
{
"name": "12m",
"lower_bound": 24890000,
"upper_bound": 24990000,
"frequencies": {
"bpsk31": 24920000,
"ft8": 24915000,
"wspr": 24924600,
"jt65": 24917000,
"jt9": 24919000,
"ft4": 24919000,
"js8": 24922000
},
"tags": ["hamradio"]
},
{
"name": "10m",
"lower_bound": 28000000,
"upper_bound": 29700000,
"frequencies": {
"bpsk31": [28070000, 28120000],
"ft8": 28074000,
"wspr": 28124600,
"jt65": 28076000,
"jt9": 28078000,
"ft4": 28180000,
"js8": 28078000
},
"tags": ["hamradio"]
},
{
"name": "6m",
"lower_bound": 50030000,
"upper_bound": 51000000,
"frequencies": {
"bpsk31": 50305000,
"ft8": 50313000,
"wspr": 50293000,
"jt65": 50310000,
"jt9": 50312000,
"ft4": 50318000,
"js8": 50318000,
"q65": [50211000, 50275000],
"msk144": 50260000
},
"tags": ["hamradio"]
},
{
"name": "4m",
"lower_bound": 70150000,
"upper_bound": 70200000,
"frequencies": {
"wspr": 70091000,
"msk144": 70230000
},
"tags": ["hamradio"]
},
{
"name": "2m",
"lower_bound": 144000000,
"upper_bound": 146000000,
"frequencies": {
"wspr": 144489000,
"ft8": 144174000,
"ft4": 144170000,
"jt65": 144120000,
"packet": 144800000,
"q65": 144116000,
"msk144": 144360000
},
"tags": ["hamradio"]
},
{
"name": "70cm",
"lower_bound": 430000000,
"upper_bound": 440000000,
"frequencies": {
"pocsag": 439987500,
"q65": 432065000,
"msk144": 432360000
},
"tags": ["hamradio"]
},
{
"name": "23cm",
"lower_bound": 1240000000,
"upper_bound": 1300000000,
"frequencies": {
"q65": 1296065000
},
"tags": ["hamradio"]
},
{
"name": "13cm",
"lower_bound": 2320000000,
"upper_bound": 2450000000,
"frequencies": {
"q65": [2301065000, 2304065000, 2320065000]
},
"tags": ["hamradio"]
},
{
"name": "9cm",
"lower_bound": 3400000000,
"upper_bound": 3475000000,
"frequencies": {
"q65": 3400065000
},
"tags": ["hamradio"]
},
{
"name": "6cm",
"lower_bound": 5650000000,
"upper_bound": 5850000000,
"frequencies": {
"q65": 5760200000
},
"tags": ["hamradio"]
},
{
"name": "3cm",
"lower_bound": 10000000000,
"upper_bound": 10500000000,
"frequencies": {
"q65": 10368200000
},
"tags": ["hamradio"]
},
{
"name": "120m Broadcast",
"lower_bound": 2300000,
"upper_bound": 2495000,
"tags": ["broadcast"]
},
{
"name": "90m Broadcast",
"lower_bound": 3200000,
"upper_bound": 3400000,
"tags": ["broadcast"]
},
{
"name": "75m Broadcast",
"lower_bound": 3900000,
"upper_bound": 4000000,
"tags": ["broadcast"]
},
{
"name": "60m Broadcast",
"lower_bound": 4750000,
"upper_bound": 4995000,
"tags": ["broadcast"]
},
{
"name": "49m Broadcast",
"lower_bound": 5900000,
"upper_bound": 6200000,
"tags": ["broadcast"]
},
{
"name": "41m Broadcast",
"lower_bound": 7200000,
"upper_bound": 7450000,
"tags": ["broadcast"]
},
{
"name": "31m Broadcast",
"lower_bound": 9400000,
"upper_bound": 9900000,
"tags": ["broadcast"]
},
{
"name": "25m Broadcast",
"lower_bound": 11600000,
"upper_bound": 12100000,
"tags": ["broadcast"]
},
{
"name": "22m Broadcast",
"lower_bound": 13570000,
"upper_bound": 13870000,
"tags": ["broadcast"]
},
{
"name": "19m Broadcast",
"lower_bound": 15100000,
"upper_bound": 15830000,
"tags": ["broadcast"]
},
{
"name": "16m Broadcast",
"lower_bound": 17480000,
"upper_bound": 17900000,
"tags": ["broadcast"]
},
{
"name": "15m Broadcast",
"lower_bound": 18900000,
"upper_bound": 19020000,
"tags": ["broadcast"]
},
{
"name": "13m Broadcast",
"lower_bound": 21450000,
"upper_bound": 21850000,
"tags": ["broadcast"]
},
{
"name": "11m Broadcast",
"lower_bound": 25670000,
"upper_bound": 26100000,
"tags": ["broadcast"]
},
{
"name": "FM Broadcast",
"lower_bound": 87500000,
"upper_bound": 108000000,
"tags": ["broadcast"]
},
{
"name": "11m CB",
"lower_bound": 26965000,
"upper_bound": 27405000,
"frequencies": {
"js8": 27245000
},
"tags": ["public"]
},
{
"name": "PMR446",
"lower_bound": 446000000,
"upper_bound": 446200000,
"tags": ["public"]
}
]

View File

@ -1,216 +0,0 @@
# -*- coding: utf-8 -*-
"""
config_webrx: configuration options for OpenWebRX
This file is part of OpenWebRX,
an open-source SDR receiver software with a web UI.
Copyright (c) 2013-2015 by Andras Retzler <randras@sdr.hu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
In addition, as a special exception, the copyright holders
state that config_rtl.py and config_webrx.py are not part of the
Corresponding Source defined in GNU AGPL version 3 section 1.
(It means that you do not have to redistribute config_rtl.py and
config_webrx.py if you make any changes to these two configuration files,
and use them for running your web service with OpenWebRX.)
"""
# NOTE: you can find additional information about configuring OpenWebRX in the Wiki:
# https://github.com/simonyiszk/openwebrx/wiki
# ==== Server settings ====
web_port=8073
server_hostname="localhost" # If this contains an incorrect value, the web UI may freeze on load (it can't open websocket)
max_clients=20
# ==== Web GUI configuration ====
receiver_name="[Callsign]"
receiver_location="Budapest, Hungary"
receiver_qra="JN97ML"
receiver_asl=200
receiver_ant="Longwire"
receiver_device="RTL-SDR"
receiver_admin="example@example.com"
receiver_gps=(47.000000,19.000000)
photo_height=350
photo_title="Panorama of Budapest from Schönherz Zoltán Dormitory"
photo_desc="""
You can add your own background photo and receiver information.<br />
Receiver is operated by: <a href="mailto:%[RX_ADMIN]">%[RX_ADMIN]</a><br/>
Device: %[RX_DEVICE]<br />
Antenna: %[RX_ANT]<br />
Website: <a href="http://localhost" target="_blank">http://localhost</a>
"""
# ==== sdr.hu listing ====
# If you want your ham receiver to be listed publicly on sdr.hu, then take the following steps:
# 1. Register at: http://sdr.hu/register
# 2. You will get an unique key by email. Copy it and paste here:
sdrhu_key = ""
# 3. Set this setting to True to enable listing:
sdrhu_public_listing = False
# ==== DSP/RX settings ====
fft_fps=9
fft_size=4096 #Should be power of 2
fft_voverlap_factor=0.3 #If fft_voverlap_factor is above 0, multiple FFTs will be used for creating a line on the diagram.
# samp_rate = 250000
samp_rate = 2400000
center_freq = 144250000
rf_gain = 5 #in dB. For an RTL-SDR, rf_gain=0 will set the tuner to auto gain mode, else it will be in manual gain mode.
ppm = 0
audio_compression="adpcm" #valid values: "adpcm", "none"
fft_compression="adpcm" #valid values: "adpcm", "none"
digimodes_enable=True #Decoding digimodes come with higher CPU usage.
digimodes_fft_size=1024
start_rtl_thread=True
"""
Note: if you experience audio underruns while CPU usage is 100%, you can:
- decrease `samp_rate`,
- set `fft_voverlap_factor` to 0,
- decrease `fft_fps` and `fft_size`,
- limit the number of users by decreasing `max_clients`.
"""
# ==== I/Q sources ====
# (Uncomment the appropriate by removing # characters at the beginning of the corresponding lines.)
#################################################################################################
# Is my SDR hardware supported? #
# Check here: https://github.com/simonyiszk/openwebrx/wiki#guides-for-receiver-hardware-support #
#################################################################################################
# You can use other SDR hardware as well, by giving your own command that outputs the I/Q samples... Some examples of configuration are available here (default is RTL-SDR):
# >> RTL-SDR via rtl_sdr
start_rtl_command="rtl_sdr -s {samp_rate} -f {center_freq} -p {ppm} -g {rf_gain} -".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)
format_conversion="csdr convert_u8_f"
#lna_gain=8
#rf_amp=1
#start_rtl_command="hackrf_transfer -s {samp_rate} -f {center_freq} -g {rf_gain} -l{lna_gain} -a{rf_amp} -r-".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm, rf_amp=rf_amp, lna_gain=lna_gain)
#format_conversion="csdr convert_s8_f"
"""
To use a HackRF, compile the HackRF host tools from its "stdout" branch:
git clone https://github.com/mossmann/hackrf/
cd hackrf
git fetch
git checkout origin/stdout
cd host
mkdir build
cd build
cmake .. -DINSTALL_UDEV_RULES=ON
make
sudo make install
"""
# >> Sound card SDR (needs ALSA)
# I did not have the chance to properly test it.
#samp_rate = 96000
#start_rtl_command="arecord -f S16_LE -r {samp_rate} -c2 -".format(samp_rate=samp_rate)
#format_conversion="csdr convert_s16_f | csdr gain_ff 30"
# >> /dev/urandom test signal source
# samp_rate = 2400000
# start_rtl_command="cat /dev/urandom | (pv -qL `python -c 'print int({samp_rate} * 2.2)'` 2>&1)".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate)
# format_conversion="csdr convert_u8_f"
# >> Pre-recorded raw I/Q file as signal source
# You will have to correctly specify: samp_rate, center_freq, format_conversion in order to correctly play an I/Q file.
#start_rtl_command="(while true; do cat my_iq_file.raw; done) | csdr flowcontrol {sr} 20 ".format(sr=samp_rate*2*1.05)
#format_conversion="csdr convert_u8_f"
#>> The rx_sdr command works with a variety of SDR harware: RTL-SDR, HackRF, SDRplay, UHD, Airspy, Red Pitaya, audio devices, etc.
# It will auto-detect your SDR hardware if the following tools are installed:
# * the vendor provided driver and library,
# * the vendor-specific SoapySDR wrapper library,
# * and SoapySDR itself.
# Check out this article on the OpenWebRX Wiki: https://github.com/simonyiszk/openwebrx/wiki/Using-rx_tools-with-OpenWebRX/
#start_rtl_command="rx_sdr -F CF32 -s {samp_rate} -f {center_freq} -p {ppm} -g {rf_gain} -".format(rf_gain=rf_gain, center_freq=center_freq, samp_rate=samp_rate, ppm=ppm)
#format_conversion=""
# >> gr-osmosdr signal source using GNU Radio (follow this guide: https://github.com/simonyiszk/openwebrx/wiki/Using-GrOsmoSDR-as-signal-source)
#start_rtl_command="cat /tmp/osmocom_fifo"
#format_conversion=""
# ==== Misc settings ====
shown_center_freq = center_freq #you can change this if you use an upconverter
client_audio_buffer_size = 5
#increasing client_audio_buffer_size will:
# - also increase the latency
# - decrease the chance of audio underruns
start_freq = center_freq
start_mod = "nfm" #nfm, am, lsb, usb, cw
iq_server_port = 4951 #TCP port for ncat to listen on. It will send I/Q data over its connections, for internal use in OpenWebRX. It is only accessible from the localhost by default.
#access_log = "~/openwebrx_access.log"
# ==== Color themes ====
#A guide is available to help you set these values: https://github.com/simonyiszk/openwebrx/wiki/Calibrating-waterfall-display-levels
### default theme by teejez:
waterfall_colors = "[0x000000ff,0x0000ffff,0x00ffffff,0x00ff00ff,0xffff00ff,0xff0000ff,0xff00ffff,0xffffffff]"
waterfall_min_level = -88 #in dB
waterfall_max_level = -20
waterfall_auto_level_margin = (5, 40)
### old theme by HA7ILM:
#waterfall_colors = "[0x000000ff,0x2e6893ff, 0x69a5d0ff, 0x214b69ff, 0x9dc4e0ff, 0xfff775ff, 0xff8a8aff, 0xb20000ff]"
#waterfall_min_level = -115 #in dB
#waterfall_max_level = 0
#waterfall_auto_level_margin = (20, 30)
##For the old colors, you might also want to set [fft_voverlap_factor] to 0.
#Note: When the auto waterfall level button is clicked, the following happens:
# [waterfall_min_level] = [current_min_power_level] - [waterfall_auto_level_margin[0]]
# [waterfall_max_level] = [current_max_power_level] + [waterfall_auto_level_margin[1]]
#
# ___|____________________________________|____________________________________|____________________________________|___> signal power
# \_waterfall_auto_level_margin[0]_/ |__ current_min_power_level | \_waterfall_auto_level_margin[1]_/
# current_max_power_level __|
# 3D view settings
mathbox_waterfall_frequency_resolution = 128 #bins
mathbox_waterfall_history_length = 10 #seconds
mathbox_waterfall_colors = "[0x000000ff,0x2e6893ff, 0x69a5d0ff, 0x214b69ff, 0x9dc4e0ff, 0xfff775ff, 0xff8a8aff, 0xb20000ff]"
# === Experimental settings ===
#Warning! The settings below are very experimental.
csdr_dynamic_bufsize = False # This allows you to change the buffering mode of csdr.
csdr_print_bufsizes = False # This prints the buffer sizes used for csdr processes.
csdr_through = False # Setting this True will print out how much data is going into the DSP chains.
nmux_memory = 50 #in megabytes. This sets the approximate size of the circular buffer used by nmux.
#Look up external IP address automatically from icanhazip.com, and use it as [server_hostname]
"""
print "[openwebrx-config] Detecting external IP address..."
import urllib2
server_hostname=urllib2.urlopen("http://icanhazip.com").read()[:-1]
print "[openwebrx-config] External IP address detected:", server_hostname
"""

424
csdr.py
View File

@ -1,424 +0,0 @@
"""
OpenWebRX csdr plugin: do the signal processing with csdr
This file is part of OpenWebRX,
an open-source SDR receiver software with a web UI.
Copyright (c) 2013-2015 by Andras Retzler <randras@sdr.hu>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
"""
import subprocess
import time
import os
import code
import signal
import fcntl
class dsp:
def __init__(self):
self.samp_rate = 250000
self.output_rate = 11025 #this is default, and cannot be set at the moment
self.fft_size = 1024
self.fft_fps = 5
self.offset_freq = 0
self.low_cut = -4000
self.high_cut = 4000
self.bpf_transition_bw = 320 #Hz, and this is a constant
self.ddc_transition_bw_rate = 0.15 # of the IF sample rate
self.running = False
self.secondary_processes_running = False
self.audio_compression = "none"
self.fft_compression = "none"
self.demodulator = "nfm"
self.name = "csdr"
self.format_conversion = "csdr convert_u8_f"
self.base_bufsize = 512
self.nc_port = 4951
self.csdr_dynamic_bufsize = False
self.csdr_print_bufsizes = False
self.csdr_through = False
self.squelch_level = 0
self.fft_averages = 50
self.iqtee = False
self.iqtee2 = False
self.secondary_demodulator = None
self.secondary_fft_size = 1024
self.secondary_process_fft = None
self.secondary_process_demod = None
self.pipe_names=["bpf_pipe", "shift_pipe", "squelch_pipe", "smeter_pipe", "iqtee_pipe", "iqtee2_pipe"]
self.secondary_pipe_names=["secondary_shift_pipe"]
self.secondary_offset_freq = 1000
def chain(self,which):
any_chain_base="nc -v 127.0.0.1 {nc_port} | "
if self.csdr_dynamic_bufsize: any_chain_base+="csdr setbuf {start_bufsize} | "
if self.csdr_through: any_chain_base+="csdr through | "
any_chain_base+=self.format_conversion+(" | " if self.format_conversion!="" else "") ##"csdr flowcontrol {flowcontrol} auto 1.5 10 | "
if which == "fft":
fft_chain_base = any_chain_base+"csdr fft_cc {fft_size} {fft_block_size} | " + \
("csdr logpower_cf -70 | " if self.fft_averages == 0 else "csdr logaveragepower_cf -70 {fft_size} {fft_averages} | ") + \
"csdr fft_exchange_sides_ff {fft_size}"
if self.fft_compression=="adpcm":
return fft_chain_base+" | csdr compress_fft_adpcm_f_u8 {fft_size}"
else:
return fft_chain_base
chain_begin=any_chain_base+"csdr shift_addition_cc --fifo {shift_pipe} | csdr fir_decimate_cc {decimation} {ddc_transition_bw} HAMMING | csdr bandpass_fir_fft_cc --fifo {bpf_pipe} {bpf_transition_bw} HAMMING | csdr squelch_and_smeter_cc --fifo {squelch_pipe} --outfifo {smeter_pipe} 5 1 | "
if self.secondary_demodulator:
chain_begin+="csdr tee {iqtee_pipe} | "
chain_begin+="csdr tee {iqtee2_pipe} | "
chain_end = ""
if self.audio_compression=="adpcm":
chain_end = " | csdr encode_ima_adpcm_i16_u8"
if which == "nfm": return chain_begin + "csdr fmdemod_quadri_cf | csdr limit_ff | csdr old_fractional_decimator_ff {last_decimation} | csdr deemphasis_nfm_ff 11025 | csdr fastagc_ff 1024 | csdr convert_f_s16"+chain_end
elif which == "am": return chain_begin + "csdr amdemod_cf | csdr fastdcblock_ff | csdr old_fractional_decimator_ff {last_decimation} | csdr agc_ff | csdr limit_ff | csdr convert_f_s16"+chain_end
elif which == "ssb": return chain_begin + "csdr realpart_cf | csdr old_fractional_decimator_ff {last_decimation} | csdr agc_ff | csdr limit_ff | csdr convert_f_s16"+chain_end
def secondary_chain(self, which):
secondary_chain_base="cat {input_pipe} | "
if which == "fft":
return secondary_chain_base+"csdr realpart_cf | csdr fft_fc {secondary_fft_input_size} {secondary_fft_block_size} | csdr logpower_cf -70 " + (" | csdr compress_fft_adpcm_f_u8 {secondary_fft_size}" if self.fft_compression=="adpcm" else "")
elif which == "bpsk31":
return secondary_chain_base + "csdr shift_addition_cc --fifo {secondary_shift_pipe} | " + \
"csdr bandpass_fir_fft_cc $(csdr '=-(31.25)/{if_samp_rate}') $(csdr '=(31.25)/{if_samp_rate}') $(csdr '=31.25/{if_samp_rate}') | " + \
"csdr simple_agc_cc 0.001 0.5 | " + \
"csdr timing_recovery_cc GARDNER {secondary_samples_per_bits} 0.5 2 --add_q | " + \
"CSDR_FIXED_BUFSIZE=1 csdr dbpsk_decoder_c_u8 | " + \
"CSDR_FIXED_BUFSIZE=1 csdr psk31_varicode_decoder_u8_u8"
def set_secondary_demodulator(self, what):
self.secondary_demodulator = what
def secondary_fft_block_size(self):
return (self.samp_rate/self.decimation)/(self.fft_fps*2) #*2 is there because we do FFT on real signal here
def secondary_decimation(self):
return 1 #currently unused
def secondary_bpf_cutoff(self):
if self.secondary_demodulator == "bpsk31":
return (31.25/2) / self.if_samp_rate()
return 0
def secondary_bpf_transition_bw(self):
if self.secondary_demodulator == "bpsk31":
return (31.25/2) / self.if_samp_rate()
return 0
def secondary_samples_per_bits(self):
if self.secondary_demodulator == "bpsk31":
return int(round(self.if_samp_rate()/31.25))&~3
return 0
def secondary_bw(self):
if self.secondary_demodulator == "bpsk31":
return 31.25
def start_secondary_demodulator(self):
if(not self.secondary_demodulator): return
print "[openwebrx] starting secondary demodulator from IF input sampled at %d"%self.if_samp_rate()
secondary_command_fft=self.secondary_chain("fft")
secondary_command_demod=self.secondary_chain(self.secondary_demodulator)
self.try_create_pipes(self.secondary_pipe_names, secondary_command_demod + secondary_command_fft)
secondary_command_fft=secondary_command_fft.format( \
input_pipe=self.iqtee_pipe, \
secondary_fft_input_size=self.secondary_fft_size, \
secondary_fft_size=self.secondary_fft_size, \
secondary_fft_block_size=self.secondary_fft_block_size(), \
)
secondary_command_demod=secondary_command_demod.format( \
input_pipe=self.iqtee2_pipe, \
secondary_shift_pipe=self.secondary_shift_pipe, \
secondary_decimation=self.secondary_decimation(), \
secondary_samples_per_bits=self.secondary_samples_per_bits(), \
secondary_bpf_cutoff=self.secondary_bpf_cutoff(), \
secondary_bpf_transition_bw=self.secondary_bpf_transition_bw(), \
if_samp_rate=self.if_samp_rate()
)
print "[openwebrx-dsp-plugin:csdr] secondary command (fft) =", secondary_command_fft
print "[openwebrx-dsp-plugin:csdr] secondary command (demod) =", secondary_command_demod
#code.interact(local=locals())
my_env=os.environ.copy()
#if self.csdr_dynamic_bufsize: my_env["CSDR_DYNAMIC_BUFSIZE_ON"]="1";
if self.csdr_print_bufsizes: my_env["CSDR_PRINT_BUFSIZES"]="1";
self.secondary_process_fft = subprocess.Popen(secondary_command_fft, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setpgrp, env=my_env)
print "[openwebrx-dsp-plugin:csdr] Popen on secondary command (fft)"
self.secondary_process_demod = subprocess.Popen(secondary_command_demod, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setpgrp, env=my_env) #TODO digimodes
print "[openwebrx-dsp-plugin:csdr] Popen on secondary command (demod)" #TODO digimodes
self.secondary_processes_running = True
#open control pipes for csdr and send initialization data
# print "==========> 1"
if self.secondary_shift_pipe != None: #TODO digimodes
# print "==========> 2", self.secondary_shift_pipe
self.secondary_shift_pipe_file=open(self.secondary_shift_pipe,"w") #TODO digimodes
# print "==========> 3"
self.set_secondary_offset_freq(self.secondary_offset_freq) #TODO digimodes
# print "==========> 4"
self.set_pipe_nonblocking(self.secondary_process_demod.stdout)
self.set_pipe_nonblocking(self.secondary_process_fft.stdout)
def set_secondary_offset_freq(self, value):
self.secondary_offset_freq=value
if self.secondary_processes_running:
self.secondary_shift_pipe_file.write("%g\n"%(-float(self.secondary_offset_freq)/self.if_samp_rate()))
self.secondary_shift_pipe_file.flush()
def stop_secondary_demodulator(self):
if self.secondary_processes_running == False: return
self.try_delete_pipes(self.secondary_pipe_names)
if self.secondary_process_fft: os.killpg(os.getpgid(self.secondary_process_fft.pid), signal.SIGTERM)
if self.secondary_process_demod: os.killpg(os.getpgid(self.secondary_process_demod.pid), signal.SIGTERM)
self.secondary_processes_running = False
def read_secondary_demod(self, size):
return self.secondary_process_demod.stdout.read(size)
def read_secondary_fft(self, size):
return self.secondary_process_fft.stdout.read(size)
def get_secondary_demodulator(self):
return self.secondary_demodulator
def set_secondary_fft_size(self,secondary_fft_size):
#to change this, restart is required
self.secondary_fft_size=secondary_fft_size
def set_audio_compression(self,what):
self.audio_compression = what
def set_fft_compression(self,what):
self.fft_compression = what
def get_fft_bytes_to_read(self):
if self.fft_compression=="none": return self.fft_size*4
if self.fft_compression=="adpcm": return (self.fft_size/2)+(10/2)
def get_secondary_fft_bytes_to_read(self):
if self.fft_compression=="none": return self.secondary_fft_size*4
if self.fft_compression=="adpcm": return (self.secondary_fft_size/2)+(10/2)
def set_samp_rate(self,samp_rate):
#to change this, restart is required
self.samp_rate=samp_rate
self.decimation=1
while self.samp_rate/(self.decimation+1)>self.output_rate:
self.decimation+=1
self.last_decimation=float(self.if_samp_rate())/self.output_rate
def if_samp_rate(self):
return self.samp_rate/self.decimation
def get_name(self):
return self.name
def get_output_rate(self):
return self.output_rate
def set_output_rate(self,output_rate):
self.output_rate=output_rate
self.set_samp_rate(self.samp_rate) #as it depends on output_rate
def set_demodulator(self,demodulator):
#to change this, restart is required
self.demodulator=demodulator
def get_demodulator(self):
return self.demodulator
def set_fft_size(self,fft_size):
#to change this, restart is required
self.fft_size=fft_size
def set_fft_fps(self,fft_fps):
#to change this, restart is required
self.fft_fps=fft_fps
def set_fft_averages(self,fft_averages):
#to change this, restart is required
self.fft_averages=fft_averages
def fft_block_size(self):
if self.fft_averages == 0: return self.samp_rate/self.fft_fps
else: return self.samp_rate/self.fft_fps/self.fft_averages
def set_format_conversion(self,format_conversion):
self.format_conversion=format_conversion
def set_offset_freq(self,offset_freq):
self.offset_freq=offset_freq
if self.running:
self.shift_pipe_file.write("%g\n"%(-float(self.offset_freq)/self.samp_rate))
self.shift_pipe_file.flush()
def set_bpf(self,low_cut,high_cut):
self.low_cut=low_cut
self.high_cut=high_cut
if self.running:
self.bpf_pipe_file.write( "%g %g\n"%(float(self.low_cut)/self.if_samp_rate(), float(self.high_cut)/self.if_samp_rate()) )
self.bpf_pipe_file.flush()
def get_bpf(self):
return [self.low_cut, self.high_cut]
def set_squelch_level(self, squelch_level):
self.squelch_level=squelch_level
if self.running:
self.squelch_pipe_file.write( "%g\n"%(float(self.squelch_level)) )
self.squelch_pipe_file.flush()
def get_smeter_level(self):
if self.running:
line=self.smeter_pipe_file.readline()
return float(line[:-1])
def mkfifo(self,path):
try:
os.unlink(path)
except:
pass
os.mkfifo(path)
def ddc_transition_bw(self):
return self.ddc_transition_bw_rate*(self.if_samp_rate()/float(self.samp_rate))
def try_create_pipes(self, pipe_names, command_base):
# print "try_create_pipes"
for pipe_name in pipe_names:
# print "\t"+pipe_name
if "{"+pipe_name+"}" in command_base:
setattr(self, pipe_name, self.pipe_base_path+pipe_name)
self.mkfifo(getattr(self, pipe_name))
else:
setattr(self, pipe_name, None)
def try_delete_pipes(self, pipe_names):
for pipe_name in pipe_names:
pipe_path = getattr(self,pipe_name,None)
if pipe_path:
try: os.unlink(pipe_path)
except Exception as e: print "[openwebrx-dsp-plugin:csdr] try_delete_pipes() ::", e
def set_pipe_nonblocking(self, pipe):
flags = fcntl.fcntl(pipe, fcntl.F_GETFL)
fcntl.fcntl(pipe, fcntl.F_SETFL, flags | os.O_NONBLOCK)
def start(self):
command_base=self.chain(self.demodulator)
#create control pipes for csdr
self.pipe_base_path="/tmp/openwebrx_pipe_{myid}_".format(myid=id(self))
# self.bpf_pipe = self.shift_pipe = self.squelch_pipe = self.smeter_pipe = None
self.try_create_pipes(self.pipe_names, command_base)
# if "{bpf_pipe}" in command_base:
# self.bpf_pipe=pipe_base_path+"bpf"
# self.mkfifo(self.bpf_pipe)
# if "{shift_pipe}" in command_base:
# self.shift_pipe=pipe_base_path+"shift"
# self.mkfifo(self.shift_pipe)
# if "{squelch_pipe}" in command_base:
# self.squelch_pipe=pipe_base_path+"squelch"
# self.mkfifo(self.squelch_pipe)
# if "{smeter_pipe}" in command_base:
# self.smeter_pipe=pipe_base_path+"smeter"
# self.mkfifo(self.smeter_pipe)
# if "{iqtee_pipe}" in command_base:
# self.iqtee_pipe=pipe_base_path+"iqtee"
# self.mkfifo(self.iqtee_pipe)
# if "{iqtee2_pipe}" in command_base:
# self.iqtee2_pipe=pipe_base_path+"iqtee2"
# self.mkfifo(self.iqtee2_pipe)
#run the command
command=command_base.format( bpf_pipe=self.bpf_pipe, shift_pipe=self.shift_pipe, decimation=self.decimation, \
last_decimation=self.last_decimation, fft_size=self.fft_size, fft_block_size=self.fft_block_size(), fft_averages=self.fft_averages, \
bpf_transition_bw=float(self.bpf_transition_bw)/self.if_samp_rate(), ddc_transition_bw=self.ddc_transition_bw(), \
flowcontrol=int(self.samp_rate*2), start_bufsize=self.base_bufsize*self.decimation, nc_port=self.nc_port, \
squelch_pipe=self.squelch_pipe, smeter_pipe=self.smeter_pipe, iqtee_pipe=self.iqtee_pipe, iqtee2_pipe=self.iqtee2_pipe )
print "[openwebrx-dsp-plugin:csdr] Command =",command
#code.interact(local=locals())
my_env=os.environ.copy()
if self.csdr_dynamic_bufsize: my_env["CSDR_DYNAMIC_BUFSIZE_ON"]="1";
if self.csdr_print_bufsizes: my_env["CSDR_PRINT_BUFSIZES"]="1";
self.process = subprocess.Popen(command, stdout=subprocess.PIPE, shell=True, preexec_fn=os.setpgrp, env=my_env)
self.running = True
#open control pipes for csdr and send initialization data
if self.bpf_pipe != None:
self.bpf_pipe_file=open(self.bpf_pipe,"w")
self.set_bpf(self.low_cut,self.high_cut)
if self.shift_pipe != None:
self.shift_pipe_file=open(self.shift_pipe,"w")
self.set_offset_freq(self.offset_freq)
if self.squelch_pipe != None:
self.squelch_pipe_file=open(self.squelch_pipe,"w")
self.set_squelch_level(self.squelch_level)
if self.smeter_pipe != None:
self.smeter_pipe_file=open(self.smeter_pipe,"r")
self.set_pipe_nonblocking(self.smeter_pipe_file)
self.start_secondary_demodulator()
def read(self,size):
return self.process.stdout.read(size)
def stop(self):
os.killpg(os.getpgid(self.process.pid), signal.SIGTERM)
self.stop_secondary_demodulator()
#if(self.process.poll()!=None):return # returns None while subprocess is running
#while(self.process.poll()==None):
# #self.process.kill()
# print "killproc",os.getpgid(self.process.pid),self.process.pid
# os.killpg(self.process.pid, signal.SIGTERM)
#
# time.sleep(0.1)
self.try_delete_pipes(self.pipe_names)
# if self.bpf_pipe:
# try: os.unlink(self.bpf_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.bpf_pipe
# if self.shift_pipe:
# try: os.unlink(self.shift_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.shift_pipe
# if self.squelch_pipe:
# try: os.unlink(self.squelch_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.squelch_pipe
# if self.smeter_pipe:
# try: os.unlink(self.smeter_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.smeter_pipe
# if self.iqtee_pipe:
# try: os.unlink(self.iqtee_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.iqtee_pipe
# if self.iqtee2_pipe:
# try: os.unlink(self.iqtee2_pipe)
# except: print "[openwebrx-dsp-plugin:csdr] stop() :: unlink failed: " + self.iqtee2_pipe
self.running = False
def restart(self):
self.stop()
self.start()
def __del__(self):
self.stop()
del(self.process)

0
csdr/__init__.py Normal file
View File

142
csdr/chain/__init__.py Normal file
View File

@ -0,0 +1,142 @@
from csdr.module import Module
from pycsdr.modules import Buffer
from pycsdr.types import Format
from typing import Union, Callable, Optional
class Chain(Module):
def __init__(self, workers):
super().__init__()
self.workers = workers
for i in range(1, len(self.workers)):
self._connect(self.workers[i - 1], self.workers[i])
def empty(self):
return not self.workers
def _connect(self, w1, w2, buffer: Optional[Buffer] = None) -> None:
if buffer is None:
buffer = Buffer(w1.getOutputFormat())
w1.setWriter(buffer)
w2.setReader(buffer.getReader())
def setReader(self, reader):
if self.reader is reader:
return
super().setReader(reader)
if self.workers:
self.workers[0].setReader(reader)
def setWriter(self, writer):
if self.writer is writer:
return
super().setWriter(writer)
if self.workers:
self.workers[-1].setWriter(writer)
def indexOf(self, search: Union[Callable, object]) -> int:
def searchFn(x):
if callable(search):
return search(x)
else:
return x is search
try:
return next(i for i, v in enumerate(self.workers) if searchFn(v))
except StopIteration:
return -1
def replace(self, index, newWorker):
if index >= len(self.workers):
raise IndexError("Index {} does not exist".format(index))
self.workers[index].stop()
self.workers[index] = newWorker
error = None
if index == 0:
if self.reader is not None:
newWorker.setReader(self.reader)
else:
try:
previousWorker = self.workers[index - 1]
self._connect(previousWorker, newWorker)
except ValueError as e:
# store error for later raising, but still attempt the second connection
error = e
if index == len(self.workers) - 1:
if self.writer is not None:
newWorker.setWriter(self.writer)
else:
try:
nextWorker = self.workers[index + 1]
self._connect(newWorker, nextWorker)
except ValueError as e:
error = e
if error is not None:
raise error
def append(self, newWorker):
previousWorker = None
if self.workers:
previousWorker = self.workers[-1]
self.workers.append(newWorker)
if previousWorker:
self._connect(previousWorker, newWorker)
elif self.reader is not None:
newWorker.setReader(self.reader)
if self.writer is not None:
newWorker.setWriter(self.writer)
def insert(self, newWorker):
nextWorker = None
if self.workers:
nextWorker = self.workers[0]
self.workers.insert(0, newWorker)
if nextWorker:
self._connect(newWorker, nextWorker)
elif self.writer is not None:
newWorker.setWriter(self.writer)
if self.reader is not None:
newWorker.setReader(self.reader)
def remove(self, index):
removedWorker = self.workers[index]
self.workers.remove(removedWorker)
removedWorker.stop()
if index == 0:
if self.reader is not None and len(self.workers):
self.workers[0].setReader(self.reader)
elif index == len(self.workers):
if self.writer is not None:
self.workers[-1].setWriter(self.writer)
else:
previousWorker = self.workers[index - 1]
nextWorker = self.workers[index]
self._connect(previousWorker, nextWorker)
def stop(self):
for w in self.workers:
w.stop()
def getInputFormat(self) -> Format:
if self.workers:
return self.workers[0].getInputFormat()
else:
raise BufferError("getInputFormat on empty chain")
def getOutputFormat(self) -> Format:
if self.workers:
return self.workers[-1].getOutputFormat()
else:
raise BufferError("getOutputFormat on empty chain")

76
csdr/chain/analog.py Normal file
View File

@ -0,0 +1,76 @@
from csdr.chain.demodulator import BaseDemodulatorChain, FixedIfSampleRateChain, HdAudio, DeemphasisTauChain
from pycsdr.modules import AmDemod, DcBlock, FmDemod, Limit, NfmDeemphasis, Agc, WfmDeemphasis, FractionalDecimator, RealPart
from pycsdr.types import Format, AgcProfile
class Am(BaseDemodulatorChain):
def __init__(self):
agc = Agc(Format.FLOAT)
agc.setProfile(AgcProfile.SLOW)
agc.setInitialGain(200)
workers = [
AmDemod(),
DcBlock(),
agc,
]
super().__init__(workers)
class NFm(BaseDemodulatorChain):
def __init__(self, sampleRate: int):
self.sampleRate = sampleRate
agc = Agc(Format.FLOAT)
agc.setProfile(AgcProfile.SLOW)
agc.setMaxGain(3)
workers = [
FmDemod(),
Limit(),
NfmDeemphasis(sampleRate),
agc,
]
super().__init__(workers)
def setSampleRate(self, sampleRate: int) -> None:
if sampleRate == self.sampleRate:
return
self.sampleRate = sampleRate
self.replace(2, NfmDeemphasis(sampleRate))
class WFm(BaseDemodulatorChain, FixedIfSampleRateChain, DeemphasisTauChain, HdAudio):
def __init__(self, sampleRate: int, tau: float):
self.sampleRate = sampleRate
self.tau = tau
workers = [
FmDemod(),
Limit(),
FractionalDecimator(Format.FLOAT, 200000.0 / self.sampleRate, prefilter=True),
WfmDeemphasis(self.sampleRate, self.tau),
]
super().__init__(workers)
def getFixedIfSampleRate(self):
return 200000
def setDeemphasisTau(self, tau: float) -> None:
if tau == self.tau:
return
self.tau = tau
self.replace(3, WfmDeemphasis(self.sampleRate, self.tau))
def setSampleRate(self, sampleRate: int) -> None:
if sampleRate == self.sampleRate:
return
self.sampleRate = sampleRate
self.replace(2, FractionalDecimator(Format.FLOAT, 200000.0 / self.sampleRate, prefilter=True))
self.replace(3, WfmDeemphasis(self.sampleRate, self.tau))
class Ssb(BaseDemodulatorChain):
def __init__(self):
workers = [
RealPart(),
Agc(Format.FLOAT),
]
super().__init__(workers)

72
csdr/chain/clientaudio.py Normal file
View File

@ -0,0 +1,72 @@
from csdr.chain import Chain
from pycsdr.modules import AudioResampler, Convert, AdpcmEncoder, Limit
from pycsdr.types import Format
class Converter(Chain):
def __init__(self, format: Format, inputRate: int, clientRate: int):
workers = []
if inputRate != clientRate:
# we only have an audio resampler for float ATM so if we need to resample, we need to convert
if format != Format.FLOAT:
workers += [Convert(format, Format.FLOAT)]
workers += [AudioResampler(inputRate, clientRate), Limit(), Convert(Format.FLOAT, Format.SHORT)]
elif format != Format.SHORT:
workers += [Convert(format, Format.SHORT)]
super().__init__(workers)
class ClientAudioChain(Chain):
def __init__(self, format: Format, inputRate: int, clientRate: int, compression: str):
self.format = format
self.inputRate = inputRate
self.clientRate = clientRate
workers = []
converter = self._buildConverter()
if not converter.empty():
workers += [converter]
if compression == "adpcm":
workers += [AdpcmEncoder(sync=True)]
super().__init__(workers)
def _buildConverter(self):
return Converter(self.format, self.inputRate, self.clientRate)
def _updateConverter(self):
converter = self._buildConverter()
index = self.indexOf(lambda x: isinstance(x, Converter))
if converter.empty():
if index >= 0:
self.remove(index)
else:
if index >= 0:
self.replace(index, converter)
else:
self.insert(converter)
def setFormat(self, format: Format) -> None:
if format == self.format:
return
self.format = format
self._updateConverter()
def setInputRate(self, inputRate: int) -> None:
if inputRate == self.inputRate:
return
self.inputRate = inputRate
self._updateConverter()
def setClientRate(self, clientRate: int) -> None:
if clientRate == self.clientRate:
return
self.clientRate = clientRate
self._updateConverter()
def setAudioCompression(self, compression: str) -> None:
index = self.indexOf(lambda x: isinstance(x, AdpcmEncoder))
if compression == "adpcm":
if index < 0:
self.append(AdpcmEncoder(sync=True))
else:
if index >= 0:
self.remove(index)

73
csdr/chain/demodulator.py Normal file
View File

@ -0,0 +1,73 @@
from csdr.chain import Chain
from abc import ABC, ABCMeta, abstractmethod
from pycsdr.modules import Writer
class FixedAudioRateChain(ABC):
@abstractmethod
def getFixedAudioRate(self) -> int:
pass
class FixedIfSampleRateChain(ABC):
@abstractmethod
def getFixedIfSampleRate(self) -> int:
pass
class DialFrequencyReceiver(ABC):
@abstractmethod
def setDialFrequency(self, frequency: int) -> None:
pass
# marker interface
class HdAudio:
pass
class MetaProvider(ABC):
@abstractmethod
def setMetaWriter(self, writer: Writer) -> None:
pass
class SlotFilterChain(ABC):
@abstractmethod
def setSlotFilter(self, filter: int) -> None:
pass
class SecondarySelectorChain(ABC):
def getBandwidth(self) -> float:
pass
class DeemphasisTauChain(ABC):
@abstractmethod
def setDeemphasisTau(self, tau: float) -> None:
pass
class BaseDemodulatorChain(Chain):
def supportsSquelch(self) -> bool:
return True
def setSampleRate(self, sampleRate: int) -> None:
pass
class SecondaryDemodulator(Chain):
def supportsSquelch(self) -> bool:
return True
def setSampleRate(self, sampleRate: int) -> None:
pass
class ServiceDemodulator(SecondaryDemodulator, FixedAudioRateChain, metaclass=ABCMeta):
pass
class DemodulatorError(Exception):
pass

133
csdr/chain/digiham.py Normal file
View File

@ -0,0 +1,133 @@
from csdr.chain.demodulator import BaseDemodulatorChain, FixedAudioRateChain, FixedIfSampleRateChain, DialFrequencyReceiver, MetaProvider, SlotFilterChain, DemodulatorError, ServiceDemodulator
from pycsdr.modules import FmDemod, Agc, Writer, Buffer
from pycsdr.types import Format
from digiham.modules import DstarDecoder, DcBlock, FskDemodulator, GfskDemodulator, DigitalVoiceFilter, MbeSynthesizer, NarrowRrcFilter, NxdnDecoder, DmrDecoder, WideRrcFilter, YsfDecoder, PocsagDecoder
from digiham.ambe import Modes, ServerError
from owrx.meta import MetaParser
from owrx.pocsag import PocsagParser
class DigihamChain(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain, DialFrequencyReceiver, MetaProvider):
def __init__(self, fskDemodulator, decoder, mbeMode, filter=None, codecserver: str = ""):
self.decoder = decoder
if codecserver is None:
codecserver = ""
agc = Agc(Format.SHORT)
agc.setMaxGain(30)
agc.setInitialGain(3)
workers = [FmDemod(), DcBlock()]
if filter is not None:
workers += [filter]
try:
mbeSynthesizer = MbeSynthesizer(mbeMode, codecserver)
except ConnectionError as ce:
raise DemodulatorError("Connection to codecserver failed: {}".format(ce))
except ServerError as se:
raise DemodulatorError("Codecserver error: {}".format(se))
workers += [
fskDemodulator,
decoder,
mbeSynthesizer,
DigitalVoiceFilter(),
agc
]
self.metaParser = None
self.dialFrequency = None
super().__init__(workers)
def getFixedIfSampleRate(self):
return 48000
def getFixedAudioRate(self):
return 8000
def setMetaWriter(self, writer: Writer) -> None:
if self.metaParser is None:
self.metaParser = MetaParser()
buffer = Buffer(Format.CHAR)
self.decoder.setMetaWriter(buffer)
self.metaParser.setReader(buffer.getReader())
if self.dialFrequency is not None:
self.metaParser.setDialFrequency(self.dialFrequency)
self.metaParser.setWriter(writer)
def supportsSquelch(self):
return False
def setDialFrequency(self, frequency: int) -> None:
self.dialFrequency = frequency
if self.metaParser is None:
return
self.metaParser.setDialFrequency(frequency)
def stop(self):
if self.metaParser is not None:
self.metaParser.stop()
super().stop()
class Dstar(DigihamChain):
def __init__(self, codecserver: str = ""):
super().__init__(
fskDemodulator=FskDemodulator(samplesPerSymbol=10),
decoder=DstarDecoder(),
mbeMode=Modes.DStarMode,
codecserver=codecserver
)
class Nxdn(DigihamChain):
def __init__(self, codecserver: str = ""):
super().__init__(
fskDemodulator=GfskDemodulator(samplesPerSymbol=20),
decoder=NxdnDecoder(),
mbeMode=Modes.NxdnMode,
filter=NarrowRrcFilter(),
codecserver=codecserver
)
class Dmr(DigihamChain, SlotFilterChain):
def __init__(self, codecserver: str = ""):
super().__init__(
fskDemodulator=GfskDemodulator(samplesPerSymbol=10),
decoder=DmrDecoder(),
mbeMode=Modes.DmrMode,
filter=WideRrcFilter(),
codecserver=codecserver,
)
def setSlotFilter(self, slotFilter: int) -> None:
self.decoder.setSlotFilter(slotFilter)
class Ysf(DigihamChain):
def __init__(self, codecserver: str = ""):
super().__init__(
fskDemodulator=GfskDemodulator(samplesPerSymbol=10),
decoder=YsfDecoder(),
mbeMode=Modes.YsfMode,
filter=WideRrcFilter(),
codecserver=codecserver
)
class PocsagDemodulator(ServiceDemodulator, DialFrequencyReceiver):
def __init__(self):
self.parser = PocsagParser()
workers = [
FmDemod(),
FskDemodulator(samplesPerSymbol=40, invert=True),
PocsagDecoder(),
self.parser,
]
super().__init__(workers)
def supportsSquelch(self) -> bool:
return False
def getFixedAudioRate(self) -> int:
return 48000
def setDialFrequency(self, frequency: int) -> None:
self.parser.setDialFrequency(frequency)

86
csdr/chain/digimodes.py Normal file
View File

@ -0,0 +1,86 @@
from csdr.chain.demodulator import ServiceDemodulator, SecondaryDemodulator, DialFrequencyReceiver, SecondarySelectorChain
from csdr.module.msk144 import Msk144Module, ParserAdapter
from owrx.audio.chopper import AudioChopper, AudioChopperParser
from owrx.aprs.kiss import KissDeframer
from owrx.aprs import Ax25Parser, AprsParser
from pycsdr.modules import Convert, FmDemod, Agc, TimingRecovery, DBPskDecoder, VaricodeDecoder
from pycsdr.types import Format
from owrx.aprs.module import DirewolfModule
class AudioChopperDemodulator(ServiceDemodulator, DialFrequencyReceiver):
def __init__(self, mode: str, parser: AudioChopperParser):
self.chopper = AudioChopper(mode, parser)
workers = [Convert(Format.FLOAT, Format.SHORT), self.chopper]
super().__init__(workers)
def getFixedAudioRate(self):
return 12000
def setDialFrequency(self, frequency: int) -> None:
self.chopper.setDialFrequency(frequency)
class Msk144Demodulator(ServiceDemodulator, DialFrequencyReceiver):
def __init__(self):
self.parser = ParserAdapter()
workers = [
Convert(Format.FLOAT, Format.SHORT),
Msk144Module(),
self.parser,
]
super().__init__(workers)
def getFixedAudioRate(self) -> int:
return 12000
def setDialFrequency(self, frequency: int) -> None:
self.parser.setDialFrequency(frequency)
class PacketDemodulator(ServiceDemodulator, DialFrequencyReceiver):
def __init__(self, service: bool = False):
self.parser = AprsParser()
workers = [
FmDemod(),
Convert(Format.FLOAT, Format.SHORT),
DirewolfModule(service=service),
KissDeframer(),
Ax25Parser(),
self.parser,
]
super().__init__(workers)
def supportsSquelch(self) -> bool:
return False
def getFixedAudioRate(self) -> int:
return 48000
def setDialFrequency(self, frequency: int) -> None:
self.parser.setDialFrequency(frequency)
class PskDemodulator(SecondaryDemodulator, SecondarySelectorChain):
def __init__(self, baudRate: float):
self.baudRate = baudRate
# this is an assumption, we will adjust in setSampleRate
self.sampleRate = 12000
secondary_samples_per_bits = int(round(self.sampleRate / self.baudRate)) & ~3
workers = [
Agc(Format.COMPLEX_FLOAT),
TimingRecovery(secondary_samples_per_bits, 0.5, 2, useQ=True),
DBPskDecoder(),
VaricodeDecoder(),
]
super().__init__(workers)
def getBandwidth(self):
return self.baudRate
def setSampleRate(self, sampleRate: int) -> None:
if sampleRate == self.sampleRate:
return
self.sampleRate = sampleRate
secondary_samples_per_bits = int(round(self.sampleRate / self.baudRate)) & ~3
self.replace(1, TimingRecovery(secondary_samples_per_bits, 0.5, 2, useQ=True))

19
csdr/chain/drm.py Normal file
View File

@ -0,0 +1,19 @@
from csdr.chain.demodulator import BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain
from pycsdr.modules import Convert, Downmix
from pycsdr.types import Format
from csdr.module.drm import DrmModule
class Drm(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain):
def __init__(self):
workers = [Convert(Format.COMPLEX_FLOAT, Format.COMPLEX_SHORT), DrmModule(), Downmix()]
super().__init__(workers)
def supportsSquelch(self) -> bool:
return False
def getFixedIfSampleRate(self) -> int:
return 48000
def getFixedAudioRate(self) -> int:
return 48000

14
csdr/chain/dummy.py Normal file
View File

@ -0,0 +1,14 @@
from pycsdr.types import Format
from csdr.chain import Module
class DummyDemodulator(Module):
def __init__(self, outputFormat: Format):
self.outputFormat = outputFormat
super().__init__()
def getInputFormat(self) -> Format:
return Format.COMPLEX_FLOAT
def getOutputFormat(self) -> Format:
return self.outputFormat

96
csdr/chain/fft.py Normal file
View File

@ -0,0 +1,96 @@
from csdr.chain import Chain
from pycsdr.modules import Fft, LogPower, LogAveragePower, FftSwap, FftAdpcm
class FftAverager(Chain):
def __init__(self, fft_size, fft_averages):
self.fftSize = fft_size
self.fftAverages = fft_averages
workers = [self._getWorker()]
super().__init__(workers)
def setFftAverages(self, fft_averages):
if self.fftAverages == fft_averages:
return
self.fftAverages = fft_averages
self.replace(0, self._getWorker())
def _getWorker(self):
if self.fftAverages == 0:
return LogPower(add_db=-70)
else:
return LogAveragePower(add_db=-70, fft_size=self.fftSize, avg_number=self.fftAverages)
class FftChain(Chain):
def __init__(self, samp_rate, fft_size, fft_v_overlap_factor, fft_fps, fft_compression):
self.sampleRate = samp_rate
self.vOverlapFactor = fft_v_overlap_factor
self.fps = fft_fps
self.size = fft_size
self.blockSize = 0
self.fft = Fft(size=self.size, every_n_samples=self.blockSize)
self.averager = FftAverager(fft_size=self.size, fft_averages=10)
self.fftExchangeSides = FftSwap(fft_size=self.size)
workers = [
self.fft,
self.averager,
self.fftExchangeSides,
]
self.compressFftAdpcm = None
if fft_compression == "adpcm":
self.compressFftAdpcm = FftAdpcm(fft_size=self.size)
workers += [self.compressFftAdpcm]
self._updateParameters()
super().__init__(workers)
def _setBlockSize(self, fft_block_size):
if self.blockSize == int(fft_block_size):
return
self.blockSize = int(fft_block_size)
self.fft.setEveryNSamples(self.blockSize)
def setVOverlapFactor(self, fft_v_overlap_factor):
if self.vOverlapFactor == fft_v_overlap_factor:
return
self.vOverlapFactor = fft_v_overlap_factor
self._updateParameters()
def setFps(self, fft_fps):
if self.fps == fft_fps:
return
self.fps = fft_fps
self._updateParameters()
def setSampleRate(self, samp_rate):
if self.sampleRate == samp_rate:
return
self.sampleRate = samp_rate
self._updateParameters()
def _updateParameters(self):
fftAverages = 0
if self.vOverlapFactor > 0:
fftAverages = int(round(1.0 * self.sampleRate / self.size / self.fps / (1.0 - self.vOverlapFactor)))
self.averager.setFftAverages(fftAverages)
if fftAverages == 0:
self._setBlockSize(self.sampleRate / self.fps)
else:
self._setBlockSize(self.sampleRate / self.fps / fftAverages)
def setCompression(self, compression: str) -> None:
if compression == "adpcm" and not self.compressFftAdpcm:
self.compressFftAdpcm = FftAdpcm(self.size)
# should always be at the end
self.append(self.compressFftAdpcm)
elif compression == "none" and self.compressFftAdpcm:
self.compressFftAdpcm.stop()
self.compressFftAdpcm = None
# should always be at that position (right?)
self.remove(3)

28
csdr/chain/freedv.py Normal file
View File

@ -0,0 +1,28 @@
from csdr.chain.demodulator import BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain
from csdr.module.freedv import FreeDVModule
from pycsdr.modules import RealPart, Agc, Convert
from pycsdr.types import Format
class FreeDV(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain):
def __init__(self):
agc = Agc(Format.SHORT)
agc.setMaxGain(30)
agc.setInitialGain(3)
workers = [
RealPart(),
Agc(Format.FLOAT),
Convert(Format.FLOAT, Format.SHORT),
FreeDVModule(),
agc,
]
super().__init__(workers)
def getFixedIfSampleRate(self) -> int:
return 8000
def getFixedAudioRate(self) -> int:
return 8000
def supportsSquelch(self) -> bool:
return False

30
csdr/chain/m17.py Normal file
View File

@ -0,0 +1,30 @@
from csdr.chain.demodulator import BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain, MetaProvider
from csdr.module.m17 import M17Module
from pycsdr.modules import FmDemod, Limit, Convert, Writer
from pycsdr.types import Format
from digiham.modules import DcBlock
class M17(BaseDemodulatorChain, FixedIfSampleRateChain, FixedAudioRateChain, MetaProvider):
def __init__(self):
self.module = M17Module()
workers = [
FmDemod(),
DcBlock(),
Limit(),
Convert(Format.FLOAT, Format.SHORT),
self.module,
]
super().__init__(workers)
def getFixedIfSampleRate(self) -> int:
return 48000
def getFixedAudioRate(self) -> int:
return 8000
def supportsSquelch(self) -> bool:
return False
def setMetaWriter(self, writer: Writer) -> None:
self.module.setMetaWriter(writer)

160
csdr/chain/selector.py Normal file
View File

@ -0,0 +1,160 @@
from csdr.chain import Chain
from pycsdr.modules import Shift, FirDecimate, Bandpass, Squelch, FractionalDecimator, Writer
from pycsdr.types import Format
import math
class Decimator(Chain):
def __init__(self, inputRate: int, outputRate: int):
if outputRate > inputRate:
raise ValueError("impossible decimation: cannot upsample {} to {}".format(inputRate, outputRate))
self.inputRate = inputRate
self.outputRate = outputRate
decimation, fraction = self._getDecimation(outputRate)
transition = 0.15 * (outputRate / float(self.inputRate))
# set the cutoff on the fist decimation stage lower so that the resulting output
# is already prepared for the second (fractional) decimation stage.
# this spares us a second filter.
cutoff = 0.5 * decimation / (self.inputRate / outputRate)
workers = [
FirDecimate(decimation, transition, cutoff),
]
if fraction != 1.0:
workers += [FractionalDecimator(Format.COMPLEX_FLOAT, fraction)]
super().__init__(workers)
def _getDecimation(self, outputRate: int) -> (int, float):
d = self.inputRate / outputRate
dInt = int(d)
dFloat = float(self.inputRate / dInt) / outputRate
return dInt, dFloat
def _reconfigure(self):
decimation, fraction = self._getDecimation(self.outputRate)
transition = 0.15 * (self.outputRate / float(self.inputRate))
cutoff = 0.5 * decimation / (self.inputRate / self.outputRate)
self.replace(0, FirDecimate(decimation, transition, cutoff))
index = self.indexOf(lambda x: isinstance(x, FractionalDecimator))
if fraction != 1.0:
decimator = FractionalDecimator(Format.COMPLEX_FLOAT, fraction)
if index >= 0:
self.replace(index, decimator)
else:
self.append(decimator)
elif index >= 0:
self.remove(index)
def setOutputRate(self, outputRate: int) -> None:
if outputRate == self.outputRate:
return
self.outputRate = outputRate
self._reconfigure()
def setInputRate(self, inputRate: int) -> None:
if inputRate == self.inputRate:
return
self.inputRate = inputRate
self._reconfigure()
class Selector(Chain):
def __init__(self, inputRate: int, outputRate: int, withSquelch: bool = True):
self.inputRate = inputRate
self.outputRate = outputRate
self.frequencyOffset = 0
self.shift = Shift(0.0)
self.decimation = Decimator(inputRate, outputRate)
self.bandpass = self._buildBandpass()
self.bandpassCutoffs = None
self.setBandpass(-4000, 4000)
workers = [self.shift, self.decimation, self.bandpass]
if withSquelch:
self.readings_per_second = 4
# s-meter readings are available every 1024 samples
# the reporting interval is measured in those 1024-sample blocks
self.squelch = Squelch(5, int(outputRate / (self.readings_per_second * 1024)))
workers += [self.squelch]
super().__init__(workers)
def _buildBandpass(self) -> Bandpass:
bp_transition = 320.0 / self.outputRate
return Bandpass(transition=bp_transition, use_fft=True)
def setFrequencyOffset(self, offset: int) -> None:
if offset == self.frequencyOffset:
return
self.frequencyOffset = offset
self._updateShift()
def _updateShift(self):
shift = -self.frequencyOffset / self.inputRate
self.shift.setRate(shift)
def _convertToLinear(self, db: float) -> float:
return float(math.pow(10, db / 10))
def setSquelchLevel(self, level: float) -> None:
self.squelch.setSquelchLevel(self._convertToLinear(level))
def setBandpass(self, lowCut: float, highCut: float) -> None:
self.bandpassCutoffs = [lowCut, highCut]
scaled = [x / self.outputRate for x in self.bandpassCutoffs]
self.bandpass.setBandpass(*scaled)
def setLowCut(self, lowCut: float) -> None:
self.bandpassCutoffs[0] = lowCut
self.setBandpass(*self.bandpassCutoffs)
def setHighCut(self, highCut: float) -> None:
self.bandpassCutoffs[1] = highCut
self.setBandpass(*self.bandpassCutoffs)
def setPowerWriter(self, writer: Writer) -> None:
self.squelch.setPowerWriter(writer)
def setOutputRate(self, outputRate: int) -> None:
if outputRate == self.outputRate:
return
self.outputRate = outputRate
self.decimation.setOutputRate(outputRate)
self.squelch.setReportInterval(int(outputRate / (self.readings_per_second * 1024)))
self.bandpass = self._buildBandpass()
self.setBandpass(*self.bandpassCutoffs)
self.replace(2, self.bandpass)
def setInputRate(self, inputRate: int) -> None:
if inputRate == self.inputRate:
return
self.inputRate = inputRate
self.decimation.setInputRate(inputRate)
self._updateShift()
class SecondarySelector(Chain):
def __init__(self, sampleRate: int, bandwidth: float):
self.sampleRate = sampleRate
self.frequencyOffset = 0
self.shift = Shift(0.0)
cutoffRate = bandwidth / sampleRate
self.bandpass = Bandpass(-cutoffRate, cutoffRate, cutoffRate, use_fft=True)
workers = [self.shift, self.bandpass]
super().__init__(workers)
def setFrequencyOffset(self, offset: int) -> None:
if offset == self.frequencyOffset:
return
self.frequencyOffset = offset
if self.frequencyOffset is None:
return
self.shift.setRate(-offset / self.sampleRate)

136
csdr/module/__init__.py Normal file
View File

@ -0,0 +1,136 @@
from pycsdr.modules import Module as BaseModule
from pycsdr.modules import Reader, Writer
from pycsdr.types import Format
from abc import ABCMeta, abstractmethod
from threading import Thread
from io import BytesIO
from subprocess import Popen, PIPE
from functools import partial
import pickle
class Module(BaseModule, metaclass=ABCMeta):
def __init__(self):
self.reader = None
self.writer = None
super().__init__()
def setReader(self, reader: Reader) -> None:
self.reader = reader
def setWriter(self, writer: Writer) -> None:
self.writer = writer
@abstractmethod
def getInputFormat(self) -> Format:
pass
@abstractmethod
def getOutputFormat(self) -> Format:
pass
def pump(self, read, write):
def copy():
while True:
data = None
try:
data = read()
except ValueError:
pass
except BrokenPipeError:
break
if data is None or isinstance(data, bytes) and len(data) == 0:
break
write(data)
return copy
class AutoStartModule(Module, metaclass=ABCMeta):
def _checkStart(self) -> None:
if self.reader is not None and self.writer is not None:
self.start()
def setReader(self, reader: Reader) -> None:
super().setReader(reader)
self._checkStart()
def setWriter(self, writer: Writer) -> None:
super().setWriter(writer)
self._checkStart()
@abstractmethod
def start(self):
pass
class ThreadModule(AutoStartModule, Thread, metaclass=ABCMeta):
def __init__(self):
self.doRun = True
super().__init__()
Thread.__init__(self)
@abstractmethod
def run(self):
pass
def stop(self):
self.doRun = False
self.reader.stop()
def start(self):
Thread.start(self)
class PickleModule(ThreadModule):
def getInputFormat(self) -> Format:
return Format.CHAR
def getOutputFormat(self) -> Format:
return Format.CHAR
def run(self):
while self.doRun:
data = self.reader.read()
if data is None:
self.doRun = False
break
io = BytesIO(data.tobytes())
try:
while True:
output = self.process(pickle.load(io))
if output is not None:
self.writer.write(pickle.dumps(output))
except EOFError:
pass
@abstractmethod
def process(self, input):
pass
class PopenModule(AutoStartModule, metaclass=ABCMeta):
def __init__(self):
self.process = None
super().__init__()
@abstractmethod
def getCommand(self):
pass
def _getProcess(self):
return Popen(self.getCommand(), stdin=PIPE, stdout=PIPE)
def start(self):
self.process = self._getProcess()
# resume in case the reader has been stop()ed before
self.reader.resume()
Thread(target=self.pump(self.reader.read, self.process.stdin.write)).start()
Thread(target=self.pump(partial(self.process.stdout.read1, 1024), self.writer.write)).start()
def stop(self):
if self.process is not None:
self.process.terminate()
self.process.wait()
self.process = None
self.reader.stop()

14
csdr/module/drm.py Normal file
View File

@ -0,0 +1,14 @@
from csdr.module import PopenModule
from pycsdr.types import Format
class DrmModule(PopenModule):
def getInputFormat(self) -> Format:
return Format.COMPLEX_FLOAT
def getOutputFormat(self) -> Format:
return Format.SHORT
def getCommand(self):
# dream -c 6 --sigsrate 48000 --audsrate 48000 -I - -O -
return ["dream", "-c", "6", "--sigsrate", "48000", "--audsrate", "48000", "-I", "-", "-O", "-"]

13
csdr/module/freedv.py Normal file
View File

@ -0,0 +1,13 @@
from pycsdr.types import Format
from csdr.module import PopenModule
class FreeDVModule(PopenModule):
def getInputFormat(self) -> Format:
return Format.SHORT
def getOutputFormat(self) -> Format:
return Format.SHORT
def getCommand(self):
return ["freedv_rx", "1600", "-", "-"]

58
csdr/module/m17.py Normal file
View File

@ -0,0 +1,58 @@
from csdr.module import PopenModule
from pycsdr.types import Format
from pycsdr.modules import Writer
from subprocess import Popen, PIPE
from threading import Thread
import re
import pickle
class M17Module(PopenModule):
lsfRegex = re.compile("SRC: ([a-zA-Z0-9]+), DEST: ([a-zA-Z0-9]+)")
def __init__(self):
super().__init__()
self.metawriter = None
def getInputFormat(self) -> Format:
return Format.SHORT
def getOutputFormat(self) -> Format:
return Format.SHORT
def getCommand(self):
return ["m17-demod", "-l"]
def _getProcess(self):
return Popen(self.getCommand(), stdin=PIPE, stdout=PIPE, stderr=PIPE)
def start(self):
super().start()
Thread(target=self._readOutput).start()
def _readOutput(self):
while True:
line = self.process.stderr.readline()
if not line:
break
self.parseOutput(line.decode())
def parseOutput(self, line):
if self.metawriter is None:
return
matches = self.lsfRegex.match(line)
msg = {"protocol": "M17"}
if matches:
# fake sync
msg["sync"] = "voice"
msg["source"] = matches.group(1)
msg["destination"] = matches.group(2)
elif line.startswith("EOS"):
pass
else:
return
self.metawriter.write(pickle.dumps(msg))
def setMetaWriter(self, writer: Writer) -> None:
self.metawriter = writer

57
csdr/module/msk144.py Normal file
View File

@ -0,0 +1,57 @@
from pycsdr.types import Format
from csdr.module import PopenModule, ThreadModule
from owrx.wsjt import WsjtParser, Msk144Profile
import pickle
import logging
logger = logging.getLogger(__name__)
class Msk144Module(PopenModule):
def getCommand(self):
return ["msk144decoder"]
def getInputFormat(self) -> Format:
return Format.SHORT
def getOutputFormat(self) -> Format:
return Format.CHAR
class ParserAdapter(ThreadModule):
def __init__(self):
self.retained = bytes()
self.parser = WsjtParser()
self.dialFrequency = 0
super().__init__()
def run(self):
profile = Msk144Profile()
while self.doRun:
data = self.reader.read()
if data is None:
self.doRun = False
else:
self.retained += data
lines = self.retained.split(b"\n")
# keep the last line
# this should either be empty if the last char was \n
# or an incomplete line if the read returned early
self.retained = lines[-1]
# parse all completed lines
for line in lines[0:-1]:
# actual messages from msk144decoder should start with "*** "
if line[0:4] == b"*** ":
self.writer.write(pickle.dumps(self.parser.parse(profile, self.dialFrequency, line[4:])))
def getInputFormat(self) -> Format:
return Format.CHAR
def getOutputFormat(self) -> Format:
return Format.CHAR
def setDialFrequency(self, frequency: int) -> None:
self.dialFrequency = frequency

241
debian/changelog vendored Normal file
View File

@ -0,0 +1,241 @@
openwebrx (1.3.0) UNRELEASED; urgency=low
* SDR device log messages are now available in the web configuration to
simplify troubleshooting
* Added support for the MSK144 digimode
-- Jakob Ketterl <jakob.ketterl@gmx.de> Fri, 30 Sep 2022 16:47:00 +0000
openwebrx (1.2.1) bullseye jammy; urgency=low
* FifiSDR support fixed (pipeline formats now line up correctly)
* Added "Device" input for FifiSDR devices for sound card selection
-- Jakob Ketterl <jakob.ketterl@gmx.de> Tue, 20 Sep 2022 16:01:00 +0000
openwebrx (1.2.0) bullseye jammy; urgency=low
* Major rewrite of all demodulation components to make use of the new
csdr/pycsdr and digiham/pydigiham demodulator modules
* Preliminary display of M17 callsign information
* New devices supported:
- Blade RF
-- Jakob Ketterl <jakob.ketterl@gmx.de> Wed, 15 Jun 2022 16:20:00 +0000
openwebrx (1.1.0) buster hirsute; urgency=low
* Reworked most graphical elements as SVGs for faster loadtimes and crispier
display on hi-dpi displays
* Updated pipelines to match changes in digiham
* Changed D-Star and NXDN integrations to use new decoder from digiham
* Added D-Star and NXDN metadata display
-- Jakob Ketterl <jakob.ketterl@gmx.de> Mon, 02 Aug 2021 16:24:00 +0000
openwebrx (1.0.0) buster hirsute; urgency=low
* Introduced `squelch_auto_margin` config option that allows configuring the
auto squelch level
* Removed `port` configuration option; `rtltcp_compat` takes the port number
with the new connectors
* Added support for new WSJT-X modes FST4, FST4W (only available with WSJT-X
2.3) and Q65 (only available with WSJT-X 2.4)
* Added support for demodulating M17 digital voice signals using
m17-cxx-demod
* New reporting infrastructure, allowing WSPR and FST4W spots to be sent to
wsprnet.org
* Add some basic filtering capabilities to the map
* New arguments to the `openwebrx` command-line to facilitate the
administration of users (try `openwebrx admin`)
* New command-line tool `openwebrx-admin` that facilitates the
administration of users
* Default bandwidth changes:
- "WFM" changed to 150kHz
- "Packet" (APRS) changed to 12.5kHz
* Configuration rework:
- New: fully web-based configuration interface
- System configuration parameters have been moved to a new, separate
`openwebrx.conf` file
- Remaining parameters are now editable in the web configuration
- Existing `config_webrx.py` files will still be read, but changes made in
the web configuration will be written to a new storage system
- Added upload of avatar and panorama image via web configuration
* New devices supported:
- HPSDR devices (Hermes Lite 2) thanks to @jancona
- BBRF103 / RX666 / RX888 devices supported by libsddc
- R&S devices using the EB200 or Ammos protocols
-- Jakob Ketterl <jakob.ketterl@gmx.de> Thu, 06 May 2021 17:22:00 +0000
openwebrx (0.20.3) buster focal; urgency=low
* Fix a compatibility issue with python versions <= 3.6
-- Jakob Ketterl <jakob.ketterl@gmx.de> Tue, 26 Jan 2021 15:28:00 +0000
openwebrx (0.20.2) buster focal; urgency=high
* Fix a security problem that allowed arbitrary commands to be executed on
the receiver (See github issue #215:
https://github.com/jketterl/openwebrx/issues/215)
-- Jakob Ketterl <jakob.ketterl@gmx.de> Sun, 24 Jan 2021 22:50:00 +0000
openwebrx (0.20.1) buster focal; urgency=low
* Remove broken OSM map fallback
-- Jakob Ketterl <jakob.ketterl@gmx.de> Mon, 30 Nov 2020 17:29:00 +0000
openwebrx (0.20.0) buster focal; urgency=low
* Added the ability to sign multiple keys in a single request, thus enabling
multiple users to claim a single receiver on receiverbook.de
* Fixed file descriptor leaks to prevent "too many open files" errors
* Add new demodulator chain for FreeDV
* Added new HD audio streaming mode along with a new WFM demodulator
* Reworked AGC code for better results in AM, SSB and digital modes
* Added support for demodulation of "Digital Radio Mondiale" (DRM) broadcast
using the "dream" decoder.
* New default waterfall color scheme
* Prototype of a continuous automatic waterfall calibration mode
* New devices supported:
- FunCube Dongle Pro+ (`"type": "fcdpp"`)
- Support for connections to rtl_tcp (`"type": "rtl_tcp"`)
-- Jakob Ketterl <jakob.ketterl@gmx.de> Sun, 11 Oct 2020 13:02:00 +0000
openwebrx (0.19.1) buster focal; urgency=low
* Added ability to authenticate receivers with listing sites using
"receiver id" tokens
-- Jakob Ketterl <jakob.ketterl@gmx.de> Sat, 13 Jun 2020 16:46:00 +0000
openwebrx (0.19.0) buster focal; urgency=low
* Fix direwolf connection setup by implementing a retry loop
* Pass direct sampling mode changes for rtl_sdr_soapy to owrx_connector
* OSM maps instead of Google when google_maps_api_key is not set (thanks
@jquagga)
* Improved logic to pass parameters to soapy devices.
- `rtl_sdr_soapy`: added support for `bias_tee`
- `sdrplay`: added support for `bias_tee`, `rf_notch` and `dab_notch`
- `airspy`: added support for `bitpack`
* Added support for Perseus-SDR devices, (thanks @amontefusco)
* Property System has been rewritten so that defaults on sdr behave as
expected
* Waterfall range auto-adjustment now only takes the center 80% of the
spectrum into account, which should work better with SDRs that oversample
or have rather flat filter curves towards the spectrum edges
* Bugfix for negative network usage
* FiFi SDR: prevent arecord from shutting down after 2GB of data has been
sent
* Added support for bias tee control on rtl_sdr devices
* All connector driven SDRs now support `"rf_gain": "auto"` to enable AGC
* `rtl_sdr` type now also supports the `direct_sampling` option
* Added decoding implementation for for digimode "JS8Call" (requires an
installation of js8call and the js8py library)
* Reorganization of the frontend demodulator code
* Improve receiver load time by concatenating javascript assets
* HackRF support is now based on SoapyHackRF
* Removed sdr.hu server listing support since the site has been shut down
* Added support for Radioberry 2 Rasbperry Pi SDR Cape
-- Jakob Ketterl <jakob.ketterl@gmx.de> Mon, 01 Jun 2020 17:02:00 +0000
openwebrx (0.18.0) buster; urgency=low
* Compression, resampling and filtering in the frontend have been rewritten
in javascript, sdr.js has been removed
* Decoding of Pocsag modulation is now possible
* Removed the 3D waterfall since it had no real application and required ~1MB
of javascript code to be downloaded
* Improved the frontend handling of the "too many users" scenario
* PSK63 digimode is now available (same decoding pipeline as PSK31, but with
adopted parameters)
* The frequency can now be manipulated with the mousewheel, which should
allow the user to tune more precise. The tuning step size is determined by
the digit the mouse cursor is hovering over.
* Clicking on the frequency now opens an input for direct frequency selection
* URL hashes have been fixed and improved: They are now updated
automatically, so a shared URL will include frequency and demodulator,
which allows for improved sharing and linking.
* New daylight scheduler for background decoding, allows profiles to be
selected by local sunrise / sunset times
* The owrx_connector is now the default way of communicating with sdr
devices. The old sdr types have been replaced, all `_connector` suffixes on
the type must be removed!
* The sources have been refactored, making it a lot easier to add support for
other devices
* SDR device failure handling has been improved, including user feedback
* New devices supported:
* wsjt-x updated to 2.1.2
* The rtl_tcp compatibility mode of the owrx_connector is now configurable
using the `rtltcp_compat` flag
* explicit device filter for soapy devices for multi-device setups
* compatibility fixes for safari browsers (ios and mac)
* Offset tuning using the `lfo_offset` has been reworked in a way that
`center_freq` has to be set to the frequency you actually want to listen
to. If you're using an `lfo_offset` already, you will probably need to
change its sign.
* `initial_squelch_level` can now be set on each profile.
* Part of the frontend code has been reworked
- Audio buffer minimums have been completely stripped. As a result, you
should get better latency. Unfortunately, this also means there will be
some skipping when audio starts.
- Now also supports AudioWorklets (for those browser that have it).
- Mousewheel controls for the receiver sliders
* Error handling for failed SDR devices
* One of the most-requested features is finally coming to OpenWebRX:
Bookmarks (sometimes also referred to as labels).
There's two kinds of bookmarks available:
- Serverside bookmarks that are set up by the receiver administrator.
Check the file `bookmarks.json` for examples!
- Clientside bookmarks which every user can store for themselves. They are
stored in the browser's localStorage.
* Automatic reporting of spots to [pskreporter](https://pskreporter.info/) is
now possible. Please have a look at the configuration on how to set it up.
* Websocket communication has been overhauled in large parts. It should now
be more reliable, and failing connections should now have no impact on
other users.
* Profile scheduling allows to set up band-hopping if you are running
background services.
* APRS now has the ability to show symbols on the map, if a corresponding
symbol set has been installed. Check the config!
* Debug logging has been disabled in a handful of modules, expect vastly
reduced output on the shell.
* New set of APRS-related features
- Decode Packet transmissions using direwolf (1k2 only for now)
- APRS packets are mostly decoded and shown both in a new panel and on the
map
- APRS is also available as a background service
- direwolfs I-gate functionality can be enabled, which allows your receiver
to work as a receive-only I-gate for the APRS network in the background
* Demodulation for background services has been optimized to use less total
bandwidth, saving CPU
* More metrics have been added; they can be used together with collectd and
its curl_json plugin for now, with some limitations.
* New bandplan feature, the first thing visible is the "dial" indicator that
brings you right to the dial frequency for digital modes
* fixed some bugs in the websocket communication which broke the map
* WSJT-X integration (FT8, FT4, WSPR, JT65, JT9 using wsjt-x demodulators)
* New Map Feature that shows both decoded grid squares from FT8 and Locations
decoded from YSF digital voice
* New Feature report that will show what functionality is available
* major rework on the openwebrx core
* Support of multiple SDR devices simultaneously
* Support for multiple profiles per SDR that allow the user to listen to
different frequencies
* Support for digital voice decoding
* Feature detection that will disable functionality when dependencies are not
available (if you're missing the digital
buttons, this is probably why)
* Support added for the following SDR sources:
- LimeSDR (`"type": "lime_sdr"`)
- PlutoSDR (`"type": "pluto_sdr"`)
- RTL_SDR via Soapy (`"type": "rtl_sdr_soapy"`) on special request to allow
use of the direct sampling mode
- SoapyRemote (`"type": "soapy_remote"`)
- FiFiSDR (`"type": "fifi_sdr"`)
- airspyhf devices (Airspy HF+ / Discovery) (`"type": "airspyhf"`)
-- Jakob Ketterl <jakob.ketterl@gmx.de> Tue, 18 Feb 2020 20:09:00 +0000

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
10

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: openwebrx
Maintainer: Jakob Ketterl <jakob.ketterl@gmx.de>
Section: hamradio
Priority: optional
Standards-Version: 4.2.0
Build-Depends: debhelper (>= 11), dh-python, python3-all (>= 3.5), python3-setuptools
Homepage: https://www.openwebrx.de/
Vcs-Browser: https://github.com/jketterl/openwebrx
Vcs-Git: https://github.com/jketterl/openwebrx.git
Package: openwebrx
Architecture: all
Depends: adduser, python3 (>= 3.5), python3-pkg-resources, owrx-connector (>= 0.5), soapysdr-tools, python3-csdr (>= 0.18), ${python3:Depends}, ${misc:Depends}
Recommends: python3-digiham (>= 0.6), direwolf (>= 1.4), wsjtx, js8call, runds-connector (>= 0.2), hpsdrconnector, aprs-symbols, m17-demod, js8call, python3-js8py (>= 0.2), nmux (>= 0.18), codecserver (>= 0.1), msk144decoder
Description: multi-user web sdr
Open source, multi-user SDR receiver with a web interface

8
debian/openwebrx.config vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh -e
. /usr/share/debconf/confmodule
db_get openwebrx/admin_user_configured
if [ "${1:-}" = "reconfigure" ] || [ "${RET}" != true ]; then
db_input high openwebrx/admin_user_password || true
db_go
fi

1
debian/openwebrx.dirs vendored Normal file
View File

@ -0,0 +1 @@
/etc/openwebrx/openwebrx.conf.d

3
debian/openwebrx.install vendored Normal file
View File

@ -0,0 +1,3 @@
bands.json etc/openwebrx/
openwebrx.conf etc/openwebrx/
systemd/openwebrx.service lib/systemd/system/

59
debian/openwebrx.postinst vendored Executable file
View File

@ -0,0 +1,59 @@
#!/bin/bash
. /usr/share/debconf/confmodule
set -euo pipefail
OWRX_USER="openwebrx"
OWRX_DATADIR="/var/lib/openwebrx"
OWRX_USERS_FILE="${OWRX_DATADIR}/users.json"
OWRX_SETTINGS_FILE="${OWRX_DATADIR}/settings.json"
OWRX_BOOKMARKS_FILE="${OWRX_DATADIR}/bookmarks.json"
case "$1" in
configure|reconfigure)
adduser --system --group --no-create-home --home /nonexistent --quiet "${OWRX_USER}"
usermod -aG plugdev "${OWRX_USER}"
# create OpenWebRX data directory and set the correct permissions
if [ ! -d "${OWRX_DATADIR}" ] && [ ! -L "${OWRX_DATADIR}" ]; then mkdir "${OWRX_DATADIR}"; fi
chown "${OWRX_USER}". ${OWRX_DATADIR}
# create empty config files now to avoid permission problems later
if [ ! -e "${OWRX_USERS_FILE}" ]; then
echo "[]" > "${OWRX_USERS_FILE}"
chown "${OWRX_USER}". "${OWRX_USERS_FILE}"
chmod 0600 "${OWRX_USERS_FILE}"
fi
if [ ! -e "${OWRX_SETTINGS_FILE}" ]; then
echo "{}" > "${OWRX_SETTINGS_FILE}"
chown "${OWRX_USER}". "${OWRX_SETTINGS_FILE}"
fi
if [ ! -e "${OWRX_BOOKMARKS_FILE}" ]; then
touch "${OWRX_BOOKMARKS_FILE}"
chown "${OWRX_USER}". "${OWRX_BOOKMARKS_FILE}"
fi
db_get openwebrx/admin_user_password
if [ ! -z "${RET}" ]; then
if ! openwebrx admin --silent hasuser admin; then
# create initial openwebrx user
OWRX_PASSWORD="${RET}" openwebrx admin --noninteractive adduser admin
else
# change existing user's password
OWRX_PASSWORD="${RET}" openwebrx admin --noninteractive resetpassword admin
fi
fi
# remove password from debconf database
db_unregister openwebrx/admin_user_password
# set a marker that admin is configured to avoid future questions
db_set openwebrx/admin_user_configured true
;;
*)
echo "postinst called with unknown argument '$1'" 1>&2
exit 1
;;
esac
#DEBHELPER#

8
debian/openwebrx.postrm vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/sh -e
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
#DEBHELPER#

23
debian/openwebrx.templates vendored Normal file
View File

@ -0,0 +1,23 @@
Template: openwebrx/admin_user_password
Type: password
Description: OpenWebRX "admin" user password:
The system can create a user for the OpenWebRX web configuration interface for
you. Using this user, you will be able to log into the "settings" area of
OpenWebRX to configure your receiver conveniently through your browser.
.
The name of the created user will be "admin".
.
If you do not wish to create a web admin user right now, you can leave this
empty for now. You can return to this prompt at a later time by running the
command "sudo dpkg-reconfigure openwebrx".
.
You can also use the "openwebrx admin" command to create, delete or manage
existing users. More information is available in by running the command
"openwebrx admin --help".
Template: openwebrx/admin_user_configured
Type: boolean
Default: false
Description: OpenWebRX "admin" user previously configured?
Marker used internally by the config scripts to remember if an admin user has
been created.

8
debian/rules vendored Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/make -f
export PYBUILD_NAME=openwebrx
%:
dh $@ --with python3 --buildsystem=pybuild --with systemd
override_dh_strip_nondeterminism:
dh_strip_nondeterminism -X.png

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)

97
docker.sh Executable file
View File

@ -0,0 +1,97 @@
#!/usr/bin/env bash
set -euo pipefail
ARCH=$(uname -m)
IMAGES="openwebrx-rtlsdr openwebrx-sdrplay openwebrx-hackrf openwebrx-airspy openwebrx-rtlsdr-soapy openwebrx-plutosdr openwebrx-limesdr openwebrx-soapyremote openwebrx-perseus openwebrx-fcdpp openwebrx-radioberry openwebrx-uhd openwebrx-rtltcp openwebrx-runds openwebrx-hpsdr openwebrx-bladerf openwebrx-full openwebrx"
ALL_ARCHS="x86_64 armv7l aarch64"
TAG=${TAG:-"latest"}
ARCHTAG="${TAG}-${ARCH}"
usage () {
echo "Usage: ${0} [command]"
echo "Available commands:"
echo " help Show this usage information"
echo " build Build all docker images"
echo " push Push built docker images to the docker hub"
echo " manifest Compile the docker hub manifest (combines arm and x86 tags into one)"
echo " tag Tag a release"
}
build () {
# build the base images
docker build --pull -t openwebrx-base:${ARCHTAG} -f docker/Dockerfiles/Dockerfile-base .
docker build --build-arg ARCHTAG=${ARCHTAG} -t openwebrx-soapysdr-base:${ARCHTAG} -f docker/Dockerfiles/Dockerfile-soapysdr .
for image in ${IMAGES}; do
i=${image:10}
# "openwebrx" is a special image that gets tag-aliased later on
if [[ ! -z "${i}" ]] ; then
docker build --build-arg ARCHTAG=$ARCHTAG -t jketterl/${image}:${ARCHTAG} -f docker/Dockerfiles/Dockerfile-${i} .
fi
done
# tag openwebrx alias image
docker tag jketterl/openwebrx-full:${ARCHTAG} jketterl/openwebrx:${ARCHTAG}
}
push () {
for image in ${IMAGES}; do
docker push jketterl/${image}:${ARCHTAG}
done
}
manifest () {
for image in ${IMAGES}; do
# there's no docker manifest rm command, and the create --amend does not work, so we have to clean up manually
rm -rf "${HOME}/.docker/manifests/docker.io_jketterl_${image}-${TAG}"
IMAGE_LIST=""
for a in ${ALL_ARCHS}; do
IMAGE_LIST="${IMAGE_LIST} jketterl/${image}:${TAG}-${a}"
done
docker manifest create jketterl/${image}:${TAG} ${IMAGE_LIST}
docker manifest push --purge jketterl/${image}:${TAG}
done
}
tag () {
if [[ -x ${1:-} || -z ${2:-} ]] ; then
echo "Usage: ${0} tag [SRC_TAG] [TARGET_TAG]"
return
fi
local SRC_TAG=${1}
local TARGET_TAG=${2}
for image in ${IMAGES}; do
# there's no docker manifest rm command, and the create --amend does not work, so we have to clean up manually
rm -rf "${HOME}/.docker/manifests/docker.io_jketterl_${image}-${TARGET_TAG}"
IMAGE_LIST=""
for a in ${ALL_ARCHS}; do
docker pull jketterl/${image}:${SRC_TAG}-${a}
docker tag jketterl/${image}:${SRC_TAG}-${a} jketterl/${image}:${TARGET_TAG}-${a}
docker push jketterl/${image}:${TARGET_TAG}-${a}
IMAGE_LIST="${IMAGE_LIST} jketterl/${image}:${TARGET_TAG}-${a}"
done
docker manifest create jketterl/${image}:${TARGET_TAG} ${IMAGE_LIST}
docker manifest push --purge jketterl/${image}:${TARGET_TAG}
docker pull jketterl/${image}:${TARGET_TAG}
done
}
case ${1:-} in
build)
build
;;
push)
push
;;
manifest)
manifest
;;
tag)
tag ${@:2}
;;
*)
usage
;;
esac

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-airspy.sh /
RUN /install-dependencies-airspy.sh &&\
rm /install-dependencies-airspy.sh
ADD . /opt/openwebrx

View File

@ -0,0 +1,28 @@
FROM debian:bullseye-slim
COPY docker/files/js8call/js8call-hamlib.patch \
docker/files/wsjtx/wsjtx.patch \
docker/files/wsjtx/wsjtx-hamlib.patch \
docker/files/dream/dream.patch \
docker/files/direwolf/direwolf-hamlib.patch \
docker/scripts/install-dependencies.sh /
RUN /install-dependencies.sh && \
rm /install-dependencies.sh && \
rm /*.patch
COPY docker/scripts/install-owrx-tools.sh /
RUN /install-owrx-tools.sh && \
rm /install-owrx-tools.sh
COPY docker/files/services/codecserver /etc/services.d/codecserver
ENTRYPOINT ["/init"]
WORKDIR /opt/openwebrx
VOLUME /etc/openwebrx
VOLUME /var/lib/openwebrx
ENV S6_CMD_ARG0="/opt/openwebrx/docker/scripts/run.sh"
CMD []
EXPOSE 8073

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-bladerf.sh /
RUN /install-dependencies-bladerf.sh &&\
rm /install-dependencies-bladerf.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-fcdpp.sh /
RUN /install-dependencies-fcdpp.sh &&\
rm /install-dependencies-fcdpp.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,31 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-*.sh \
docker/files/sdrplay/install-lib.*.patch \
docker/scripts/install-connectors.sh /
RUN /install-dependencies-rtlsdr.sh &&\
/install-dependencies-soapysdr.sh &&\
/install-dependencies-hackrf.sh &&\
/install-dependencies-sdrplay.sh &&\
/install-dependencies-airspy.sh &&\
/install-dependencies-rtlsdr-soapy.sh &&\
/install-dependencies-plutosdr.sh &&\
/install-dependencies-limesdr.sh &&\
/install-dependencies-soapyremote.sh &&\
/install-dependencies-perseus.sh &&\
/install-dependencies-fcdpp.sh &&\
/install-dependencies-radioberry.sh &&\
/install-dependencies-uhd.sh &&\
/install-dependencies-hpsdr.sh &&\
/install-dependencies-bladerf.sh &&\
/install-connectors.sh &&\
/install-dependencies-runds.sh &&\
rm /install-dependencies-*.sh &&\
rm /install-lib.*.patch && \
rm /install-connectors.sh
COPY docker/files/services/sdrplay /etc/services.d/sdrplay
ADD . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-hackrf.sh /
RUN /install-dependencies-hackrf.sh &&\
rm /install-dependencies-hackrf.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,9 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-hpsdr.sh /
RUN /install-dependencies-hpsdr.sh &&\
rm /install-dependencies-hpsdr.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-limesdr.sh /
RUN /install-dependencies-limesdr.sh &&\
rm /install-dependencies-limesdr.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-perseus.sh /
RUN /install-dependencies-perseus.sh &&\
rm /install-dependencies-perseus.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-plutosdr.sh /
RUN /install-dependencies-plutosdr.sh &&\
rm /install-dependencies-plutosdr.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-radioberry.sh /
RUN /install-dependencies-radioberry.sh &&\
rm /install-dependencies-radioberry.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,12 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-rtlsdr.sh \
docker/scripts/install-connectors.sh /
RUN /install-dependencies-rtlsdr.sh &&\
rm /install-dependencies-rtlsdr.sh &&\
/install-connectors.sh &&\
rm /install-connectors.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-rtlsdr-soapy.sh /
RUN /install-dependencies-rtlsdr-soapy.sh &&\
rm /install-dependencies-rtlsdr-soapy.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,9 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-connectors.sh /
RUN /install-connectors.sh &&\
rm /install-connectors.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,12 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-connectors.sh \
docker/scripts/install-dependencies-runds.sh /
RUN /install-connectors.sh &&\
rm /install-connectors.sh && \
/install-dependencies-runds.sh && \
rm /install-dependencies-runds.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,12 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-sdrplay.sh \
docker/files/sdrplay/install-lib.*.patch /
RUN /install-dependencies-sdrplay.sh &&\
rm /install-dependencies-sdrplay.sh &&\
rm /install-lib.*.patch
COPY docker/files/services/sdrplay /etc/services.d/sdrplay
COPY . /opt/openwebrx

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-soapyremote.sh /
RUN /install-dependencies-soapyremote.sh &&\
rm /install-dependencies-soapyremote.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,9 @@
ARG ARCHTAG
FROM openwebrx-base:$ARCHTAG
COPY docker/scripts/install-dependencies-soapysdr.sh \
docker/scripts/install-connectors.sh /
RUN /install-dependencies-soapysdr.sh &&\
rm /install-dependencies-soapysdr.sh &&\
/install-connectors.sh &&\
rm /install-connectors.sh

View File

@ -0,0 +1,8 @@
ARG ARCHTAG
FROM openwebrx-soapysdr-base:$ARCHTAG
COPY docker/scripts/install-dependencies-uhd.sh /
RUN /install-dependencies-uhd.sh &&\
rm /install-dependencies-uhd.sh
COPY . /opt/openwebrx

View File

@ -0,0 +1,20 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9e710f5..da90b43 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -257,13 +257,8 @@ else()
set(GPSD_LIBRARIES "")
endif()
-find_package(hamlib)
-if(HAMLIB_FOUND)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_HAMLIB")
-else()
- set(HAMLIB_INCLUDE_DIRS "")
- set(HAMLIB_LIBRARIES "")
-endif()
+set(HAMLIB_INCLUDE_DIRS "")
+set(HAMLIB_LIBRARIES "")
if(LINUX)
find_package(ALSA REQUIRED)

View File

@ -0,0 +1,96 @@
--- dream.pro.org 2020-09-04 22:51:51.579926191 +0200
+++ dream.pro 2020-09-04 22:52:57.609434707 +0200
@@ -70,9 +70,6 @@
exists(/opt/local/include/speex/speex_preprocess.h) {
CONFIG += speexdsp
}
- exists(/opt/local/include/hamlib/rig.h) {
- CONFIG += hamlib
- }
contains(QT_VERSION, ^4\\.7.*) {
QT += phonon opengl svg
DEFINES -= QWT_NO_SVG
@@ -138,12 +135,6 @@
packagesExist(sndfile) {
CONFIG += sndfile
}
- packagesExist(hamlib) {
- CONFIG += hamlib
- }
- packagesExist(gpsd) {
- CONFIG += gps
- }
packagesExist(pcap) {
CONFIG += pcap
}
@@ -159,14 +150,6 @@
exists(/usr/local/include/sndfile.h) {
CONFIG += sndfile
}
- exists(/usr/include/hamlib/rig.h) | \
- exists(/usr/local/include/hamlib/rig.h) {
- CONFIG += hamlib
- }
- exists(/usr/include/gps.h) | \
- exists(/usr/local/include/gps.h) {
- CONFIG += gps
- }
exists(/usr/include/pcap.h) | \
exists(/usr/local/include/pcap.h) {
CONFIG += pcap
@@ -194,9 +177,6 @@
exists($$OUT_PWD/include/speex/speex_preprocess.h) {
CONFIG += speexdsp
}
- exists($$OUT_PWD/include/hamlib/rig.h) {
- CONFIG += hamlib
- }
exists($$OUT_PWD/include/pcap.h) {
CONFIG += pcap
}
@@ -225,7 +205,7 @@
LIBS += -lz
}
}
-exists($$OUT_PWD/include/neaacdec.h) {
+exists(/usr/include/neaacdec.h) {
DEFINES += HAVE_LIBFAAD \
USE_FAAD2_LIBRARY
LIBS += -lfaad_drm
@@ -257,11 +237,6 @@
win32:LIBS += libspeexdsp.lib
message("with libspeexdsp")
}
-gps {
- DEFINES += HAVE_LIBGPS
- unix:LIBS += -lgps
- message("with gps")
-}
pcap {
DEFINES += HAVE_LIBPCAP
unix:LIBS += -lpcap
@@ -269,24 +244,6 @@
win32-g++:LIBS += -lwpcap -lpacket
message("with pcap")
}
-hamlib {
- DEFINES += HAVE_LIBHAMLIB
- macx:LIBS += -framework IOKit
- unix:LIBS += -lhamlib
- win32:LIBS += libhamlib-2.lib
- HEADERS += src/util/Hamlib.h
- SOURCES += src/util/Hamlib.cpp
- qt {
- HEADERS += src/util-QT/Rig.h
- SOURCES += src/util-QT/Rig.cpp
- }
- gui {
- HEADERS += src/GUI-QT/RigDlg.h
- SOURCES += src/GUI-QT/RigDlg.cpp
- FORMS += RigDlg.ui
- }
- message("with hamlib")
-}
qwt {
DEFINES += QWT_NO_SVG
macx {

View File

@ -0,0 +1,151 @@
diff -ur js8call-orig/CMake/Modules/Findhamlib.cmake js8call/CMake/Modules/Findhamlib.cmake
--- js8call-orig/CMake/Modules/Findhamlib.cmake 2020-07-22 18:14:18.014499840 +0200
+++ js8call/CMake/Modules/Findhamlib.cmake 2020-07-22 18:16:07.200375473 +0200
@@ -78,4 +78,4 @@
# Handle the QUIETLY and REQUIRED arguments and set HAMLIB_FOUND to
# TRUE if all listed variables are TRUE
include (FindPackageHandleStandardArgs)
-find_package_handle_standard_args (hamlib DEFAULT_MSG hamlib_INCLUDE_DIRS hamlib_LIBRARIES hamlib_LIBRARY_DIRS)
+find_package_handle_standard_args (hamlib DEFAULT_MSG hamlib_INCLUDE_DIRS hamlib_LIBRARIES)
diff -ur js8call-orig/CMakeLists.txt js8call/CMakeLists.txt
--- js8call-orig/CMakeLists.txt 2020-07-22 18:14:18.014499840 +0200
+++ js8call/CMakeLists.txt 2020-07-22 18:17:55.629633825 +0200
@@ -558,7 +558,7 @@
#
# libhamlib setup
#
-set (hamlib_STATIC 1)
+set (hamlib_STATIC 0)
find_package (hamlib 3 REQUIRED)
find_program (RIGCTL_EXE rigctl)
find_program (RIGCTLD_EXE rigctld)
@@ -911,56 +911,6 @@
target_link_libraries (js8 wsjt_fort wsjt_cxx Qt5::Core)
endif (${OPENMP_FOUND} OR APPLE)
-# build the main application
-add_executable (js8call MACOSX_BUNDLE
- ${sqlite3_CSRCS}
- ${wsjtx_CXXSRCS}
- ${wsjtx_GENUISRCS}
- wsjtx.rc
- ${WSJTX_ICON_FILE}
- ${wsjtx_RESOURCES_RCC}
- images.qrc
- )
-
-if (WSJT_CREATE_WINMAIN)
- set_target_properties (js8call PROPERTIES WIN32_EXECUTABLE ON)
-endif (WSJT_CREATE_WINMAIN)
-
-set_target_properties (js8call PROPERTIES
- MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Darwin/Info.plist.in"
- MACOSX_BUNDLE_INFO_STRING "${WSJTX_DESCRIPTION_SUMMARY}"
- MACOSX_BUNDLE_ICON_FILE "${WSJTX_ICON_FILE}"
- MACOSX_BUNDLE_BUNDLE_VERSION ${wsjtx_VERSION}
- MACOSX_BUNDLE_SHORT_VERSION_STRING "v${wsjtx_VERSION}"
- MACOSX_BUNDLE_LONG_VERSION_STRING "Version ${wsjtx_VERSION}"
- MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_NAME}"
- MACOSX_BUNDLE_BUNDLE_EXECUTABLE_NAME "${PROJECT_NAME}"
- MACOSX_BUNDLE_COPYRIGHT "${PROJECT_COPYRIGHT}"
- MACOSX_BUNDLE_GUI_IDENTIFIER "org.kn4crd.js8call"
- )
-
-target_include_directories (js8call PRIVATE ${FFTW3_INCLUDE_DIRS})
-if (APPLE)
- target_link_libraries (js8call wsjt_fort wsjt_cxx wsjt_qt wsjt_qtmm ${hamlib_LIBRARIES} ${FFTW3_LIBRARIES})
-else ()
- target_link_libraries (js8call wsjt_fort_omp wsjt_cxx wsjt_qt wsjt_qtmm ${hamlib_LIBRARIES} ${FFTW3_LIBRARIES})
- if (OpenMP_C_FLAGS)
- set_target_properties (js8call PROPERTIES
- COMPILE_FLAGS "${OpenMP_C_FLAGS}"
- LINK_FLAGS "${OpenMP_C_FLAGS}"
- )
- endif ()
- set_target_properties (js8call PROPERTIES
- Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
- )
- if (WIN32)
- set_target_properties (js8call PROPERTIES
- LINK_FLAGS -Wl,--stack,16777216
- )
- endif ()
-endif ()
-qt5_use_modules (js8call SerialPort) # not sure why the interface link library syntax above doesn't work
-
# if (UNIX)
# if (NOT WSJT_SKIP_MANPAGES)
# add_subdirectory (manpages)
@@ -976,38 +926,10 @@
#
# installation
#
-install (TARGETS js8call
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- BUNDLE DESTINATION . COMPONENT runtime
- )
-
install (TARGETS js8 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
)
-install (PROGRAMS
- ${RIGCTL_EXE}
- DESTINATION ${CMAKE_INSTALL_BINDIR}
- #COMPONENT runtime
- RENAME rigctl-local${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-install (PROGRAMS
- ${RIGCTLD_EXE}
- DESTINATION ${CMAKE_INSTALL_BINDIR}
- #COMPONENT runtime
- RENAME rigctld-local${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-install (FILES
- README
- COPYING
- INSTALL
- INSTALL-WSJTX
- DESTINATION ${CMAKE_INSTALL_DOCDIR}
- #COMPONENT runtime
- )
-
install (FILES
contrib/Ephemeris/JPLEPH
DESTINATION ${CMAKE_INSTALL_DATADIR}/${CMAKE_PROJECT_NAME}
@@ -1061,32 +983,6 @@
"${CMAKE_CURRENT_BINARY_DIR}/wsjtx_config.h"
)
-
-if (NOT WIN32 AND NOT APPLE)
- # install a desktop file so js8call appears in the application start
- # menu with an icon
- install (
- FILES js8call.desktop
- DESTINATION /usr/share/applications
- #COMPONENT runtime
- )
- install (
- FILES icons/Unix/js8call_icon.png
- DESTINATION /usr/share/pixmaps
- #COMPONENT runtime
- )
-
- IF("${CMAKE_INSTALL_PREFIX}" STREQUAL "/opt/js8call")
- execute_process(COMMAND ln -s /opt/js8call/bin/js8call ljs8call)
-
- install(FILES
- ${CMAKE_BINARY_DIR}/ljs8call DESTINATION /usr/bin/ RENAME js8call
- #COMPONENT runtime
- )
- endif()
-endif (NOT WIN32 AND NOT APPLE)
-
-
#
# bundle fixup only done in Release or MinSizeRel configurations
#
Only in js8call/: .idea

View File

@ -0,0 +1,23 @@
diff -ur sdrplay-orig/install_lib.sh sdrplay/install_lib.sh
--- sdrplay-orig/install_lib.sh 2020-05-24 14:30:06.022483867 +0000
+++ sdrplay/install_lib.sh 2020-05-24 14:30:49.093435726 +0000
@@ -4,19 +4,6 @@
export MAJVERS="3"
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-
-more sdrplay_license.txt
-
-while true; do
- echo "Press y and RETURN to accept the license agreement and continue with"
- read -p "the installation, or press n and RETURN to exit the installer [y/n] " yn
- case $yn in
- [Yy]* ) break;;
- [Nn]* ) exit;;
- * ) echo "Please answer y or n";;
- esac
-done
export ARCH=`uname -m`

View File

@ -0,0 +1,40 @@
diff -ur sdrplay-orig/install_lib.sh sdrplay/install_lib.sh
--- sdrplay-orig/install_lib.sh 2020-05-24 14:13:04.561271707 +0000
+++ sdrplay/install_lib.sh 2020-05-24 14:16:20.068329040 +0000
@@ -4,19 +4,6 @@
MAJVERS="3"
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-
-more sdrplay_license.txt
-
-while true; do
- echo "Press y and RETURN to accept the license agreement and continue with"
- read -p "the installation, or press n and RETURN to exit the installer [y/n] " yn
- case $yn in
- [Yy]* ) break;;
- [Nn]* ) exit;;
- * ) echo "Please answer y or n";;
- esac
-done
ARCH=`uname -m`
@@ -141,16 +128,6 @@
echo "SDRplay API ${VERS} Installation Finished"
echo " "
-while true; do
- echo "Would you like to add SDRplay USB IDs to the local database for easier
-"
- read -p "identification in applications such as lsusb? [y/n] " yn
- case $yn in
- [Yy]* ) break;;
- [Nn]* ) exit;;
- * ) echo "Please answer y or n";;
- esac
-done
sudo cp scripts/sdrplay_usbids.sh ${INSTALLBINDIR}/.
sudo chmod 755 ${INSTALLBINDIR}/sdrplay_usbids.sh
sudo cp scripts/sdrplay_ids.txt ${INSTALLBINDIR}/.

View File

@ -0,0 +1,39 @@
diff -ur sdrplay-orig/install_lib.sh sdrplay/install_lib.sh
--- sdrplay-orig/install_lib.sh 2020-05-24 13:56:56.622000041 +0000
+++ sdrplay/install_lib.sh 2020-05-24 13:58:51.837801559 +0000
@@ -4,19 +4,6 @@
MAJVERS="3"
echo "Installing SDRplay RSP API library ${VERS}..."
-read -p "Press RETURN to view the license agreement" ret
-
-more sdrplay_license.txt
-
-while true; do
- echo "Press y and RETURN to accept the license agreement and continue with"
- read -p "the installation, or press n and RETURN to exit the installer [y/n] " yn
- case $yn in
- [Yy]* ) break;;
- [Nn]* ) exit;;
- * ) echo "Please answer y or n";;
- esac
-done
ARCH=`uname -m`
OSDIST="Unknown"
@@ -157,15 +144,6 @@
echo " "
echo "SDRplay API ${VERS} Installation Finished"
echo " "
-while true; do
- echo "Would you like to add SDRplay USB IDs to the local database for easier"
- read -p "identification in applications such as lsusb? [y/n] " yn
- case $yn in
- [Yy]* ) break;;
- [Nn]* ) exit;;
- * ) echo "Please answer y or n";;
- esac
-done
sudo cp scripts/sdrplay_usbids.sh ${INSTALLBINDIR}/.
sudo chmod 755 ${INSTALLBINDIR}/sdrplay_usbids.sh
sudo cp scripts/sdrplay_ids.txt ${INSTALLBINDIR}/.

View File

@ -0,0 +1,2 @@
#!/usr/bin/execlineb -P
/usr/local/bin/codecserver

View File

@ -0,0 +1,2 @@
#!/usr/bin/execlineb -P
/usr/local/bin/sdrplay_apiService

View File

@ -0,0 +1,50 @@
--- CMakeLists.txt.orig 2021-09-28 14:33:14.329598412 +0200
+++ CMakeLists.txt 2021-09-28 14:34:23.052345270 +0200
@@ -106,24 +106,6 @@
#
-# build and install hamlib locally so it can be referenced by the
-# WSJT-X build
-#
-ExternalProject_Add (hamlib
- GIT_REPOSITORY ${hamlib_repo}
- GIT_TAG ${hamlib_TAG}
- GIT_SHALLOW False
- URL ${CMAKE_CURRENT_SOURCE_DIR}/src/${__hamlib_upstream}.tar.gz
- URL_HASH MD5=${hamlib_md5sum}
- #UPDATE_COMMAND ${CMAKE_COMMAND} -E env "[ -f ./bootstrap ] && ./bootstrap"
- PATCH_COMMAND ${PATCH_EXECUTABLE} -p1 -N < ${CMAKE_CURRENT_SOURCE_DIR}/hamlib.patch
- CONFIGURE_COMMAND <SOURCE_DIR>/configure --prefix=<INSTALL_DIR> --disable-shared --enable-static --without-cxx-binding ${EXTRA_FLAGS} # LIBUSB_LIBS=${USB_LIBRARY}
- BUILD_COMMAND $(MAKE) all V=1 # $(MAKE) is ExternalProject_Add() magic to do recursive make
- INSTALL_COMMAND $(MAKE) install-strip V=1 DESTDIR=""
- STEP_TARGETS update install
- )
-
-#
# custom target to make a hamlib source tarball
#
add_custom_target (hamlib_sources
@@ -161,7 +143,6 @@
# build and optionally install WSJT-X using the hamlib package built
# above
#
-ExternalProject_Get_Property (hamlib INSTALL_DIR)
ExternalProject_Add (wsjtx
GIT_REPOSITORY ${wsjtx_repo}
GIT_TAG ${WSJTX_TAG}
@@ -186,14 +167,8 @@
DEPENDEES build
)
-set_target_properties (hamlib PROPERTIES EXCLUDE_FROM_ALL 1)
set_target_properties (wsjtx PROPERTIES EXCLUDE_FROM_ALL 1)
-add_dependencies (wsjtx-configure hamlib-install)
-add_dependencies (wsjtx-build hamlib-install)
-add_dependencies (wsjtx-install hamlib-install)
-add_dependencies (wsjtx-package hamlib-install)
-
# export traditional targets
add_custom_target (build ALL DEPENDS wsjtx-build)
add_custom_target (install DEPENDS wsjtx-install)

View File

@ -0,0 +1,341 @@
diff -ur wsjtx-orig/CMakeLists.txt wsjtx/CMakeLists.txt
--- wsjtx-orig/CMakeLists.txt 2023-01-28 17:43:05.586124507 +0100
+++ wsjtx/CMakeLists.txt 2023-01-28 17:56:07.108634912 +0100
@@ -122,7 +122,7 @@
option (WSJT_QDEBUG_TO_FILE "Redirect Qt debuging messages to a trace file.")
option (WSJT_SOFT_KEYING "Apply a ramp to CW keying envelope to reduce transients." ON)
option (WSJT_SKIP_MANPAGES "Skip *nix manpage generation.")
-option (WSJT_GENERATE_DOCS "Generate documentation files." ON)
+option (WSJT_GENERATE_DOCS "Generate documentation files.")
option (WSJT_RIG_NONE_CAN_SPLIT "Allow split operation with \"None\" as rig.")
option (WSJT_TRACE_UDP "Debugging option that turns on UDP message protocol diagnostics.")
option (WSJT_BUILD_UTILS "Build simulators and code demonstrators." ON)
@@ -170,77 +170,7 @@
)
set (wsjt_qt_CXXSRCS
- helper_functions.cpp
- qt_helpers.cpp
- widgets/MessageBox.cpp
- MetaDataRegistry.cpp
- Network/NetworkServerLookup.cpp
revision_utils.cpp
- L10nLoader.cpp
- WFPalette.cpp
- Radio.cpp
- RadioMetaType.cpp
- NonInheritingProcess.cpp
- models/IARURegions.cpp
- models/Bands.cpp
- models/Modes.cpp
- models/FrequencyList.cpp
- models/StationList.cpp
- widgets/FrequencyLineEdit.cpp
- widgets/FrequencyDeltaLineEdit.cpp
- item_delegates/CandidateKeyFilter.cpp
- item_delegates/ForeignKeyDelegate.cpp
- item_delegates/MessageItemDelegate.cpp
- validators/LiveFrequencyValidator.cpp
- GetUserId.cpp
- Audio/AudioDevice.cpp
- Transceiver/Transceiver.cpp
- Transceiver/TransceiverBase.cpp
- Transceiver/EmulateSplitTransceiver.cpp
- Transceiver/TransceiverFactory.cpp
- Transceiver/PollingTransceiver.cpp
- Transceiver/HamlibTransceiver.cpp
- Transceiver/HRDTransceiver.cpp
- Transceiver/DXLabSuiteCommanderTransceiver.cpp
- Network/NetworkMessage.cpp
- Network/MessageClient.cpp
- widgets/LettersSpinBox.cpp
- widgets/HintedSpinBox.cpp
- widgets/RestrictedSpinBox.cpp
- widgets/HelpTextWindow.cpp
- SampleDownloader.cpp
- SampleDownloader/DirectoryDelegate.cpp
- SampleDownloader/Directory.cpp
- SampleDownloader/FileNode.cpp
- SampleDownloader/RemoteFile.cpp
- DisplayManual.cpp
- MultiSettings.cpp
- validators/MaidenheadLocatorValidator.cpp
- validators/CallsignValidator.cpp
- widgets/SplashScreen.cpp
- EqualizationToolsDialog.cpp
- widgets/DoubleClickablePushButton.cpp
- widgets/DoubleClickableRadioButton.cpp
- Network/LotWUsers.cpp
- models/DecodeHighlightingModel.cpp
- widgets/DecodeHighlightingListView.cpp
- models/FoxLog.cpp
- widgets/AbstractLogWindow.cpp
- widgets/FoxLogWindow.cpp
- widgets/CabrilloLogWindow.cpp
- item_delegates/CallsignDelegate.cpp
- item_delegates/MaidenheadLocatorDelegate.cpp
- item_delegates/FrequencyDelegate.cpp
- item_delegates/FrequencyDeltaDelegate.cpp
- item_delegates/SQLiteDateTimeDelegate.cpp
- models/CabrilloLog.cpp
- logbook/AD1CCty.cpp
- logbook/WorkedBefore.cpp
- logbook/Multiplier.cpp
- Network/NetworkAccessManager.cpp
- widgets/LazyFillComboBox.cpp
- widgets/CheckableItemComboBox.cpp
- widgets/BandComboBox.cpp
)
set (wsjt_qtmm_CXXSRCS
@@ -1089,9 +1019,6 @@
if (WSJT_GENERATE_DOCS)
add_subdirectory (doc)
endif (WSJT_GENERATE_DOCS)
-if (EXISTS ${CMAKE_SOURCE_DIR}/tests AND IS_DIRECTORY ${CMAKE_SOURCE_DIR}/tests)
- add_subdirectory (tests)
-endif ()
# build a library of package functionality (without and optionally with OpenMP support)
add_library (wsjt_cxx STATIC ${wsjt_CSRCS} ${wsjt_CXXSRCS})
@@ -1357,10 +1284,7 @@
add_library (wsjt_qt STATIC ${wsjt_qt_CXXSRCS} ${wsjt_qt_GENUISRCS} ${GENAXSRCS})
# set wsjtx_udp exports to static variants
target_compile_definitions (wsjt_qt PUBLIC UDP_STATIC_DEFINE)
-target_link_libraries (wsjt_qt Hamlib::Hamlib Boost::log qcp Qt5::Widgets Qt5::Network Qt5::Sql)
-if (WIN32)
- target_link_libraries (wsjt_qt Qt5::AxContainer Qt5::AxBase)
-endif (WIN32)
+target_link_libraries (wsjt_qt Qt5::Core)
# build a library of package Qt functionality used in Fortran utilities
add_library (fort_qt STATIC ${fort_qt_CXXSRCS})
@@ -1425,90 +1349,6 @@
add_subdirectory (map65)
endif ()
-# build the main application
-generate_version_info (wsjtx_VERSION_RESOURCES
- NAME wsjtx
- BUNDLE ${PROJECT_BUNDLE_NAME}
- ICON ${WSJTX_ICON_FILE}
- )
-
-add_executable (wsjtx MACOSX_BUNDLE
- ${wsjtx_CXXSRCS}
- ${wsjtx_GENUISRCS}
- ${WSJTX_ICON_FILE}
- ${wsjtx_RESOURCES_RCC}
- ${wsjtx_VERSION_RESOURCES}
- )
-
-if (WSJT_CREATE_WINMAIN)
- set_target_properties (wsjtx PROPERTIES WIN32_EXECUTABLE ON)
-endif (WSJT_CREATE_WINMAIN)
-
-set_target_properties (wsjtx PROPERTIES
- MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Darwin/Info.plist.in"
- MACOSX_BUNDLE_INFO_STRING "${PROJECT_DESCRIPTION}"
- MACOSX_BUNDLE_ICON_FILE "${WSJTX_ICON_FILE}"
- MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}
- MACOSX_BUNDLE_SHORT_VERSION_STRING "v${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}"
- MACOSX_BUNDLE_LONG_VERSION_STRING "Version ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}${SCS_VERSION_STR}"
- MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_BUNDLE_NAME}"
- MACOSX_BUNDLE_BUNDLE_EXECUTABLE_NAME "${PROJECT_NAME}"
- MACOSX_BUNDLE_COPYRIGHT "${PROJECT_COPYRIGHT}"
- MACOSX_BUNDLE_GUI_IDENTIFIER "org.k1jt.wsjtx"
- )
-
-target_include_directories (wsjtx PRIVATE ${FFTW3_INCLUDE_DIRS})
-if ((NOT ${OPENMP_FOUND}) OR APPLE)
- target_link_libraries (wsjtx wsjt_fort)
-else ()
- target_link_libraries (wsjtx wsjt_fort_omp)
- if (OpenMP_C_FLAGS)
- set_target_properties (wsjtx PROPERTIES
- COMPILE_FLAGS "${OpenMP_C_FLAGS}"
- LINK_FLAGS "${OpenMP_C_FLAGS}"
- )
- endif ()
- set_target_properties (wsjtx PROPERTIES
- Fortran_MODULE_DIRECTORY ${CMAKE_BINARY_DIR}/fortran_modules_omp
- )
- if (WIN32)
- set_target_properties (wsjtx PROPERTIES
- LINK_FLAGS -Wl,--stack,0x1000000,--heap,0x20000000
- )
- endif ()
-endif ()
-target_link_libraries (wsjtx Qt5::SerialPort wsjt_cxx wsjt_qt wsjt_qtmm ${FFTW3_LIBRARIES} ${LIBM_LIBRARIES})
-
-# make a library for WSJT-X UDP servers
-# add_library (wsjtx_udp SHARED ${UDP_library_CXXSRCS})
-add_library (wsjtx_udp-static STATIC ${UDP_library_CXXSRCS})
-#target_include_directories (wsjtx_udp
-# INTERFACE
-# $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/wsjtx>
-# )
-target_include_directories (wsjtx_udp-static
- INTERFACE
- $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/wsjtx>
- )
-#set_target_properties (wsjtx_udp PROPERTIES
-# PUBLIC_HEADER "${UDP_library_HEADERS}"
-# )
-set_target_properties (wsjtx_udp-static PROPERTIES
- OUTPUT_NAME wsjtx_udp
- )
-target_compile_definitions (wsjtx_udp-static PUBLIC UDP_STATIC_DEFINE)
-target_link_libraries (wsjtx_udp-static Qt5::Network Qt5::Gui)
-generate_export_header (wsjtx_udp-static BASE_NAME udp)
-
-generate_version_info (udp_daemon_VERSION_RESOURCES
- NAME udp_daemon
- BUNDLE ${PROJECT_BUNDLE_NAME}
- ICON ${WSJTX_ICON_FILE}
- FILE_DESCRIPTION "Example WSJT-X UDP Message Protocol daemon"
- )
-add_executable (udp_daemon UDPExamples/UDPDaemon.cpp ${udp_daemon_VERSION_RESOURCES})
-target_link_libraries (udp_daemon wsjtx_udp-static)
-
generate_version_info (wsjtx_app_version_VERSION_RESOURCES
NAME wsjtx_app_version
BUNDLE ${PROJECT_BUNDLE_NAME}
@@ -1518,47 +1358,9 @@
add_executable (wsjtx_app_version AppVersion/AppVersion.cpp ${wsjtx_app_version_VERSION_RESOURCES})
target_link_libraries (wsjtx_app_version wsjt_qt)
-generate_version_info (message_aggregator_VERSION_RESOURCES
- NAME message_aggregator
- BUNDLE ${PROJECT_BUNDLE_NAME}
- ICON ${WSJTX_ICON_FILE}
- FILE_DESCRIPTION "Example WSJT-X UDP Message Protocol application"
- )
-add_resources (message_aggregator_RESOURCES /qss ${message_aggregator_STYLESHEETS})
-configure_file (UDPExamples/message_aggregator.qrc.in message_aggregator.qrc @ONLY)
-qt5_add_resources (message_aggregator_RESOURCES_RCC
- ${CMAKE_CURRENT_BINARY_DIR}/message_aggregator.qrc
- contrib/QDarkStyleSheet/qdarkstyle/style.qrc
- )
-add_executable (message_aggregator
- ${message_aggregator_CXXSRCS}
- ${message_aggregator_RESOURCES_RCC}
- ${message_aggregator_VERSION_RESOURCES}
- )
-target_link_libraries (message_aggregator wsjt_qt Qt5::Widgets wsjtx_udp-static)
-
-if (WSJT_CREATE_WINMAIN)
- set_target_properties (message_aggregator PROPERTIES WIN32_EXECUTABLE ON)
-endif (WSJT_CREATE_WINMAIN)
-
-if (UNIX)
- if (NOT WSJT_SKIP_MANPAGES)
- add_subdirectory (manpages)
- add_dependencies (wsjtx manpages)
- endif (NOT WSJT_SKIP_MANPAGES)
- if (NOT APPLE)
- add_subdirectory (debian)
- add_dependencies (wsjtx debian)
- endif (NOT APPLE)
-endif (UNIX)
-
#
# installation
#
-install (TARGETS wsjtx
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- BUNDLE DESTINATION . COMPONENT runtime
- )
# install (TARGETS wsjtx_udp EXPORT udp
# RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
@@ -1577,12 +1379,7 @@
# DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/wsjtx
# )
-install (TARGETS udp_daemon message_aggregator wsjtx_app_version
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
- )
-
-install (TARGETS jt9 wsprd fmtave fcal fmeasure
+install (TARGETS wsjtx_app_version jt9 wsprd
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
BUNDLE DESTINATION ${CMAKE_INSTALL_BINDIR} COMPONENT runtime
)
@@ -1595,38 +1392,6 @@
)
endif(WSJT_BUILD_UTILS)
-install (PROGRAMS
- ${RIGCTL_EXE}
- DESTINATION ${CMAKE_INSTALL_BINDIR}
- #COMPONENT runtime
- RENAME rigctl-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-install (PROGRAMS
- ${RIGCTLD_EXE}
- DESTINATION ${CMAKE_INSTALL_BINDIR}
- #COMPONENT runtime
- RENAME rigctld-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-install (PROGRAMS
- ${RIGCTLCOM_EXE}
- DESTINATION ${CMAKE_INSTALL_BINDIR}
- #COMPONENT runtime
- RENAME rigctlcom-wsjtx${CMAKE_EXECUTABLE_SUFFIX}
- )
-
-install (FILES
- README
- COPYING
- AUTHORS
- THANKS
- NEWS
- BUGS
- DESTINATION ${CMAKE_INSTALL_DOCDIR}
- #COMPONENT runtime
- )
-
install (FILES
cty.dat
cty.dat_copyright.txt
@@ -1635,13 +1400,6 @@
#COMPONENT runtime
)
-install (DIRECTORY
- example_log_configurations
- DESTINATION ${CMAKE_INSTALL_DOCDIR}
- FILES_MATCHING REGEX "^.*[^~]$"
- #COMPONENT runtime
- )
-
#
# Mac installer files
#
@@ -1693,22 +1451,6 @@
"${CMAKE_CURRENT_BINARY_DIR}/wsjtx_config.h"
)
-
-if (NOT WIN32 AND NOT APPLE)
- # install a desktop file so wsjtx appears in the application start
- # menu with an icon
- install (
- FILES wsjtx.desktop message_aggregator.desktop
- DESTINATION share/applications
- #COMPONENT runtime
- )
- install (
- FILES icons/Unix/wsjtx_icon.png
- DESTINATION share/pixmaps
- #COMPONENT runtime
- )
-endif (NOT WIN32 AND NOT APPLE)
-
if (APPLE)
set (CMAKE_POSTFLIGHT_SCRIPT
"${wsjtx_BINARY_DIR}/postflight.sh")

View File

@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
BUILD_PACKAGES="git cmake make gcc g++ libsamplerate-dev libfftw3-dev"
apt-get update
apt-get -y install --no-install-recommends $BUILD_PACKAGES
git clone https://github.com/jketterl/owrx_connector.git
# latest develop as of 2022-12-11 (std::endl implicit flushing)
cmakebuild owrx_connector bca362707131289f91441c8080fd368fdc067b6d
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,44 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0"
BUILD_PACKAGES="git libusb-1.0-0-dev cmake make gcc g++ pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/airspy/airspyone_host.git
# latest from master as of 2020-09-04
cmakebuild airspyone_host 652fd7f1a8f85687641e0bd91f739694d7258ecc
git clone https://github.com/pothosware/SoapyAirspy.git
cmakebuild SoapyAirspy 10d697b209e7f1acc8b2c8d24851d46170ef77e3
git clone https://github.com/airspy/airspyhf.git
# latest from master as of 2020-09-04
cmakebuild airspyhf 8891387edddcd185e2949e9814e9ef35f46f0722
git clone https://github.com/pothosware/SoapyAirspyHF.git
# latest from master as of 2020-09-04
cmakebuild SoapyAirspyHF 5488dac5b44f1432ce67b40b915f7e61d3bd4853
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,36 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0"
BUILD_PACKAGES="git cmake make gcc g++ libusb-1.0-0-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/Nuand/bladeRF.git
cmakebuild bladeRF 2021.10
git clone https://github.com/pothosware/SoapyBladeRF.git
# latest from master as of 2022-01-12
cmakebuild SoapyBladeRF 70505a5cdf8c9deabc4af3eb3384aa82a7b6f021
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,32 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libhidapi-hidraw0 libhidapi-libusb0 libasound2"
BUILD_PACKAGES="git cmake make gcc g++ libhidapi-dev libasound2-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/pothosware/SoapyFCDPP.git
cmakebuild SoapyFCDPP soapy-fcdpp-0.1.1
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,41 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0 libfftw3-3 udev"
BUILD_PACKAGES="git cmake make patch wget sudo gcc g++ libusb-1.0-0-dev libfftw3-dev pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/mossmann/hackrf.git
cd hackrf
# latest from master as of 2020-09-04
git checkout 6e5cbda2945c3bab0e6e1510eae418eda60c358e
cmakebuild host
cd ..
rm -rf hackrf
git clone https://github.com/pothosware/SoapyHackRF.git
# latest from master as of 2020-09-04
cmakebuild SoapyHackRF 7d530872f96c1cbe0ed62617c32c48ce7e103e1d
SUDO_FORCE_REMOVE=yes apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,46 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
BUILD_PACKAGES="git wget gcc libc6-dev"
apt-get update
apt-get -y install --no-install-recommends $BUILD_PACKAGES
pushd /tmp
ARCH=$(uname -m)
GOVERSION=1.15.5
case ${ARCH} in
x86_64)
PACKAGE=go${GOVERSION}.linux-amd64.tar.gz
;;
armv*)
PACKAGE=go${GOVERSION}.linux-armv6l.tar.gz
;;
aarch64)
PACKAGE=go${GOVERSION}.linux-arm64.tar.gz
;;
esac
wget https://golang.org/dl/${PACKAGE}
tar xfz $PACKAGE
git clone https://github.com/jancona/hpsdrconnector.git
pushd hpsdrconnector
git checkout v0.6.1
/tmp/go/bin/go build
install -m 0755 hpsdrconnector /usr/local/bin
popd
rm -rf hpsdrconnector
rm -rf go
rm $PACKAGE
popd
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -euo pipefail
export MAKEFLAGS="-j4"
cd /tmp
STATIC_PACKAGES="libusb-1.0-0 libatomic1"
BUILD_PACKAGES="git libusb-1.0-0-dev cmake make gcc g++"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
SIMD_FLAGS=""
if [[ 'x86_64' == `uname -m` ]] ; then
SIMD_FLAGS="-DDEFAULT_SIMD_FLAGS=SSE3"
fi
git clone https://github.com/myriadrf/LimeSuite.git
cd LimeSuite
# latest from master as of 2020-09-04
git checkout 9526621f8b4c9e2a7f638b5ef50c45560dcad22a
mkdir builddir
cd builddir
cmake .. -DENABLE_EXAMPLES=OFF -DENABLE_DESKTOP=OFF -DENABLE_LIME_UTIL=OFF -DENABLE_QUICKTEST=OFF -DENABLE_OCTAVE=OFF -DENABLE_GUI=OFF -DCMAKE_CXX_STANDARD_LIBRARIES="-latomic" ${SIMD_FLAGS}
make
make install
cd ../..
rm -rf LimeSuite
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,27 @@
#!/usr/bin/env bash
set -euxo pipefail
export MAKEFLAGS="-j4"
cd /tmp
STATIC_PACKAGES="libusb-1.0-0 libudev1"
BUILD_PACKAGES="git make gcc autoconf automake libtool libusb-1.0-0-dev xxd"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/Microtelecom/libperseus-sdr.git
cd libperseus-sdr
# latest from master as of 2020-09-04
git checkout c2c95daeaa08bf0daed0e8ada970ab17cc264e1b
./bootstrap.sh
./configure
make
make install
ldconfig /etc/ld.so.conf.d
cd ..
rm -rf libperseus-sdr
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,39 @@
#!/usr/bin/env bash
set -euo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake .. ${3:-}
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0 libxml2"
BUILD_PACKAGES="git libusb-1.0-0-dev cmake make gcc g++ libxml2-dev flex bison pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/analogdevicesinc/libiio.git
cmakebuild libiio v0.21 -DCMAKE_INSTALL_PREFIX=/usr/local
git clone https://github.com/analogdevicesinc/libad9361-iio.git
cmakebuild libad9361-iio v0.2
git clone https://github.com/pothosware/SoapyPlutoSDR.git
# latest from master as of 2020-09-04
cmakebuild SoapyPlutoSDR 93717b32ef052e0dfa717aa2c1a4eb27af16111f
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,37 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0 libfftw3-3 udev"
BUILD_PACKAGES="git cmake make patch wget sudo gcc g++ libusb-1.0-0-dev libfftw3-dev pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/pa3gsb/Radioberry-2.x
cd Radioberry-2.x/SBC/rpi-4
# latest from master as of 2020-09-04
cmakebuild SoapyRadioberrySDR 8d17de6b4dc076e628900a82f05c7cf0b16cbe24
cd ../../..
rm -rf Radioberry-2.x
SUDO_FORCE_REMOVE=yes apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,36 @@
#!/usr/bin/env bash
set -euo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0-0"
BUILD_PACKAGES="git libusb-1.0-0-dev cmake make gcc g++ pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/osmocom/rtl-sdr.git
# latest from master as of 2020-09-04
cmakebuild rtl-sdr ed0317e6a58c098874ac58b769cf2e609c18d9a5
git clone https://github.com/pothosware/SoapyRTLSDR.git
cmakebuild SoapyRTLSDR soapy-rtl-sdr-0.3.1
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,33 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0.0"
BUILD_PACKAGES="git libusb-1.0.0-dev cmake make gcc g++ pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/osmocom/rtl-sdr.git
# latest from master as of 2020-09-04
cmakebuild rtl-sdr ed0317e6a58c098874ac58b769cf2e609c18d9a5
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,33 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES=""
BUILD_PACKAGES="git cmake make gcc g++ pkg-config"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/jketterl/runds_connector.git
# latest develop as of 2022-12-11 (std::endl implicit flushing)
cmakebuild runds_connector 06ca993a3c81ddb0a2581b1474895da07752a9e1
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,57 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0.0 udev"
BUILD_PACKAGES="git cmake make patch wget sudo gcc g++ libusb-1.0-0-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
ARCH=$(uname -m)
case $ARCH in
x86_64)
BINARY=SDRplay_RSP_API-Linux-3.07.1.run
;;
armv*)
BINARY=SDRplay_RSP_API-ARM32-3.07.2.run
;;
aarch64)
BINARY=SDRplay_RSP_API-ARM64-3.07.1.run
;;
esac
wget --no-http-keep-alive https://www.sdrplay.com/software/$BINARY
sh $BINARY --noexec --target sdrplay
patch --verbose -Np0 < /install-lib.$ARCH.patch
cd sdrplay
./install_lib.sh
cd ..
rm -rf sdrplay
rm $BINARY
git clone https://github.com/pothosware/SoapySDRPlay3.git
# latest from master as of 2021-06-19 (reliability fixes)
cmakebuild SoapySDRPlay3 a869f25364a1f0d5b16169ff908aa21a2ace475d
SUDO_FORCE_REMOVE=yes apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,32 @@
#!/usr/bin/env bash
set -euo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="avahi-daemon libavahi-client3"
BUILD_PACKAGES="git cmake make gcc g++ libavahi-client-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/pothosware/SoapyRemote.git
cmakebuild SoapyRemote soapy-remote-0.5.2
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,33 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libudev1"
BUILD_PACKAGES="git cmake make patch wget sudo gcc g++"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/pothosware/SoapySDR
# latest from master as of 2020-09-04
cmakebuild SoapySDR 580b94f3dad46899f34ec0a060dbb4534e844e57
SUDO_FORCE_REMOVE=yes apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,59 @@
#!/bin/bash
set -euo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libusb-1.0.0 libboost-chrono1.74.0 libboost-date-time1.74.0 libboost-filesystem1.74.0 libboost-program-options1.74.0 libboost-regex1.74.0 libboost-test1.74.0 libboost-serialization1.74.0 libboost-thread1.74.0 libboost-system1.74.0 python3-numpy python3-mako"
BUILD_PACKAGES="git cmake make gcc g++ libusb-1.0-0-dev libboost-dev libboost-chrono-dev libboost-date-time-dev libboost-filesystem-dev libboost-program-options-dev libboost-regex-dev libboost-test-dev libboost-serialization-dev libboost-thread-dev libboost-system-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/EttusResearch/uhd.git
mkdir -p uhd/host/build
cd uhd/host/build
git checkout v4.1.0.4
# see https://github.com/EttusResearch/uhd/issues/350
case `uname -m` in
arm*)
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_UTILS=OFF -DENABLE_PYTHON_API=OFF -DENABLE_EXAMPLES=OFF -DENABLE_TESTS=OFF -DENABLE_OCTOCLOCK=OFF -DENABLE_MAN_PAGES=OFF -DSTRIP_BINARIES=ON \
-DCMAKE_CXX_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -Wno-psabi" \
-DCMAKE_ASM_FLAGS:STRING="-march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 -g" ..
;;
aarch64*)
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_UTILS=OFF -DENABLE_PYTHON_API=OFF -DENABLE_EXAMPLES=OFF -DENABLE_TESTS=OFF -DENABLE_OCTOCLOCK=OFF -DENABLE_MAN_PAGES=OFF -DSTRIP_BINARIES=ON \
-DCMAKE_CXX_FLAGS:STRING="-march=armv8-a -mtune=cortex-a72 -Wno-psabi" \
-DCMAKE_C_FLAGS:STRING="-march=armv8-a -mtune=cortex-a72 -Wno-psabi" \
-DCMAKE_ASM_FLAGS:STRING="-march=armv8-a -mtune=cortex-a72 -g" ..
;;
x86_64)
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_UTILS=OFF -DENABLE_PYTHON_API=OFF -DENABLE_EXAMPLES=OFF -DENABLE_TESTS=OFF -DENABLE_OCTOCLOCK=OFF -DENABLE_MAN_PAGES=OFF -DSTRIP_BINARIES=ON ..
;;
esac
make
make install
cd ../../..
rm -rf uhd
git clone https://github.com/pothosware/SoapyUHD.git
cmakebuild SoapyUHD soapy-uhd-0.4.1
SUDO_FORCE_REMOVE=yes apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,123 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
if [[ -f ".gitmodules" ]]; then
git submodule update --init
fi
mkdir build
cd build
cmake ${CMAKE_ARGS:-} ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libfftw3-bin python3 python3-setuptools netcat-openbsd libsndfile1 liblapack3 libusb-1.0-0 libqt5core5a libreadline8 libgfortran5 libgomp1 libasound2 libudev1 ca-certificates libpulse0 libfaad2 libopus0 libboost-program-options1.74.0 libboost-log1.74.0 libcurl4"
BUILD_PACKAGES="wget git libsndfile1-dev libfftw3-dev cmake make gcc g++ liblapack-dev texinfo gfortran libusb-1.0-0-dev qtbase5-dev qtmultimedia5-dev qttools5-dev libqt5serialport5-dev qttools5-dev-tools asciidoctor asciidoc libasound2-dev libudev-dev libhamlib-dev patch xsltproc qt5-qmake libfaad-dev libopus-dev libboost-dev libboost-program-options-dev libboost-log-dev libboost-regex-dev libpulse-dev libcurl4-openssl-dev"
apt-get update
apt-get -y install auto-apt-proxy
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
case `uname -m` in
arm*)
PLATFORM=armhf
;;
aarch64*)
PLATFORM=aarch64
;;
x86_64*)
PLATFORM=amd64
;;
esac
wget https://github.com/just-containers/s6-overlay/releases/download/v1.21.8.0/s6-overlay-${PLATFORM}.tar.gz
tar xzf s6-overlay-${PLATFORM}.tar.gz -C /
rm s6-overlay-${PLATFORM}.tar.gz
JS8CALL_VERSION=2.2.0
JS8CALL_DIR=js8call
JS8CALL_TGZ=js8call-${JS8CALL_VERSION}.tgz
wget http://files.js8call.com/${JS8CALL_VERSION}/${JS8CALL_TGZ}
tar xfz ${JS8CALL_TGZ}
# patch allows us to build against the packaged hamlib
patch -Np1 -d ${JS8CALL_DIR} < /js8call-hamlib.patch
rm /js8call-hamlib.patch
cmakebuild ${JS8CALL_DIR}
rm ${JS8CALL_TGZ}
WSJT_DIR=wsjtx-2.6.1
WSJT_TGZ=${WSJT_DIR}.tgz
wget https://downloads.sourceforge.net/project/wsjt/${WSJT_DIR}/${WSJT_TGZ}
tar xfz ${WSJT_TGZ}
patch -Np0 -d ${WSJT_DIR} < /wsjtx-hamlib.patch
mv /wsjtx.patch ${WSJT_DIR}
cmakebuild ${WSJT_DIR}
rm ${WSJT_TGZ}
git clone https://github.com/alexander-sholohov/msk144decoder.git
# latest from main as of 2023-02-21
MAKEFLAGS="" cmakebuild msk144decoder fe2991681e455636e258e83c29fd4b2a72d16095
git clone --depth 1 -b 1.6 https://github.com/wb2osz/direwolf.git
cd direwolf
# hamlib is present (necessary for the wsjt-x and js8call builds) and would be used, but there's no real need.
# this patch prevents direwolf from linking to it, and it can be stripped at the end of the script.
patch -Np1 < /direwolf-hamlib.patch
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf direwolf
# strip lots of generic documentation that will never be read inside a docker container
rm /usr/local/share/doc/direwolf/*.pdf
# examples are pointless, too
rm -rf /usr/local/share/doc/direwolf/examples/
git clone https://github.com/drowe67/codec2.git
cd codec2
# latest commit from master as of 2020-10-04
git checkout 55d7bb8d1bddf881bdbfcb971a718b83e6344598
mkdir build
cd build
cmake ..
make
make install
install -m 0755 src/freedv_rx /usr/local/bin
cd ../..
rm -rf codec2
wget https://downloads.sourceforge.net/project/drm/dream/2.1.1/dream-2.1.1-svn808.tar.gz
tar xvfz dream-2.1.1-svn808.tar.gz
pushd dream
patch -Np0 < /dream.patch
qmake CONFIG+=console
make
make install
popd
rm -rf dream
rm dream-2.1.1-svn808.tar.gz
git clone https://github.com/mobilinkd/m17-cxx-demod.git
cmakebuild m17-cxx-demod v2.3
git clone https://github.com/hessu/aprs-symbols /usr/share/aprs-symbols
pushd /usr/share/aprs-symbols
git checkout 5c2abe2658ee4d2563f3c73b90c6f59124839802
# remove unused files (including git meta information)
rm -rf .git aprs-symbols.ai aprs-sym-export.js
popd
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

View File

@ -0,0 +1,61 @@
#!/bin/bash
set -euxo pipefail
export MAKEFLAGS="-j4"
function cmakebuild() {
cd $1
if [[ ! -z "${2:-}" ]]; then
git checkout $2
fi
mkdir build
cd build
cmake ${CMAKE_ARGS:-} ..
make
make install
cd ../..
rm -rf $1
}
cd /tmp
STATIC_PACKAGES="libfftw3-bin libprotobuf23 libsamplerate0 libicu67 libudev1"
BUILD_PACKAGES="git autoconf automake libtool libfftw3-dev pkg-config cmake make gcc g++ libprotobuf-dev protobuf-compiler libsamplerate-dev libicu-dev libpython3-dev libudev-dev"
apt-get update
apt-get -y install --no-install-recommends $STATIC_PACKAGES $BUILD_PACKAGES
git clone https://github.com/jketterl/js8py.git
pushd js8py
# latest develop as of 2022-11-30 (structured callsign data)
git checkout f7e394b7892d26cbdcce5d43c0b4081a2a6a48f6
python3 setup.py install
popd
rm -rf js8py
git clone https://github.com/jketterl/csdr.git
cmakebuild csdr 0.18.1
git clone https://github.com/jketterl/pycsdr.git
cd pycsdr
git checkout 0.18.1
./setup.py install install_headers
cd ..
rm -rf pycsdr
git clone https://github.com/jketterl/codecserver.git
mkdir -p /usr/local/etc/codecserver
cp codecserver/conf/codecserver.conf /usr/local/etc/codecserver
cmakebuild codecserver 0.2.0
git clone https://github.com/jketterl/digiham.git
cmakebuild digiham 0.6.1
git clone https://github.com/jketterl/pydigiham.git
cd pydigiham
git checkout 0.6.1
./setup.py install
cd ..
rm -rf pydigiham
apt-get -y purge --autoremove $BUILD_PACKAGES
apt-get clean
rm -rf /var/lib/apt/lists/*

37
docker/scripts/run.sh Executable file
View File

@ -0,0 +1,37 @@
#!/bin/bash
set -euo pipefail
mkdir -p /etc/openwebrx/openwebrx.conf.d
mkdir -p /var/lib/openwebrx
mkdir -p /tmp/openwebrx/
if [[ ! -f /etc/openwebrx/openwebrx.conf.d/20-temporary-directory.conf ]] ; then
cat << EOF > /etc/openwebrx/openwebrx.conf.d/20-temporary-directory.conf
[core]
temporary_directory = /tmp/openwebrx
EOF
fi
if [[ ! -f /etc/openwebrx/bands.json ]] ; then
cp bands.json /etc/openwebrx/
fi
if [[ ! -f /etc/openwebrx/openwebrx.conf ]] ; then
cp openwebrx.conf /etc/openwebrx/
fi
if [[ ! -z "${OPENWEBRX_ADMIN_USER:-}" ]] && [[ ! -z "${OPENWEBRX_ADMIN_PASSWORD:-}" ]] ; then
if ! python3 openwebrx.py admin --silent hasuser "${OPENWEBRX_ADMIN_USER}" ; then
OWRX_PASSWORD="${OPENWEBRX_ADMIN_PASSWORD}" python3 openwebrx.py admin --noninteractive adduser "${OPENWEBRX_ADMIN_USER}"
fi
fi
_term() {
echo "Caught signal!"
kill -TERM "$child" 2>/dev/null
}
trap _term SIGTERM SIGINT
python3 openwebrx.py $@ &
child=$!
wait "$child"

0
htdocs/__init__.py Normal file
View File

BIN
htdocs/apple-touch-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

166
htdocs/css/admin.css Normal file
View File

@ -0,0 +1,166 @@
@import url("openwebrx-header.css");
@import url("openwebrx-globals.css");
html, body {
height: unset;
}
body {
margin-bottom: 5rem;
}
hr {
background: #444;
}
.buttons {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background-color: #222;
z-index: 2;
padding: 10px;
text-align: right;
border-top: 1px solid #444;
}
.row .map-input {
margin: 15px 15px 0;
}
.settings-section h3 {
margin-top: 1em;
margin-bottom: 1em;
}
h1 {
margin: 1em 0;
text-align: center;
}
.matrix {
display: grid;
}
.q65-matrix {
grid-template-columns: repeat(5, auto);
}
.imageupload .image-container {
max-width: 100%;
padding: 7px;
}
.imageupload img.webrx-top-photo {
max-height: 350px;
max-width: 100%;
}
.settings-grid > div {
padding: 20px;
}
.settings-grid .btn {
width: 100%;
height: 100px;
padding: 20px;
font-size: 1.2rem;
}
.tab-body {
overflow: auto;
border: 1px solid #444;
border-top: none;
border-bottom-left-radius: 0.25rem;
border-bottom-right-radius: 0.25rem;
}
.tab-body .form-group {
padding-right: 15px;
}
.bookmarks table .frequency, .bookmark-list table .frequency {
text-align: right;
}
.bookmarks table input, .bookmarks table select {
width: initial;
text-align: inherit;
display: initial;
}
.bookmark-list table .form-check-input {
margin-left: 0;
}
.actions {
margin: 1rem 0;
}
.actions .btn {
width: 100%;
}
.wsjt-decoding-depths-table {
width: auto;
margin: 0;
}
.wsjt-decoding-depths-table td:first-child {
padding-left: 0;
}
.sdr-device-list .list-group-item,
.sdr-profile-list .list-group-item {
background: initial;
}
.sdr-device-list .sdr-profile-list {
max-height: 20rem;
overflow-y: auto;
}
.removable-group.removable, .add-group {
display: flex;
flex-direction: row;
}
.removable-group.removable .removable-item, .add-group .add-group-select {
flex: 1 0 auto;
margin-right: .25rem;
}
.removable-group.removable .option-remove-button, .add-group .option-add-button {
flex: 0 0 70px;
}
.option-add-button, .option-remove-button {
width: 70px;
}
.scheduler-static-time-inputs {
display: flex;
flex-direction: row;
}
.scheduler-static-time-inputs > * {
flex: 0 0 auto;
width: unset;
}
.scheduler-static-time-inputs > select {
flex: 1 0 auto;
}
.breadcrumb {
margin-top: .5rem;
}
.imageupload.is-invalid ~ .invalid-feedback {
display: block;
}
.device-log-messages {
max-height: 500px;
}

12
htdocs/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

34
htdocs/css/login.css Normal file
View File

@ -0,0 +1,34 @@
@import url("openwebrx-header.css");
@import url("openwebrx-globals.css");
body {
display: flex;
flex-direction: column;
}
.login-container {
flex: 1;
position: relative;
}
.login {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
width: 500px;
padding: 20px;
border-radius: 10px;
border: 1px solid #575757;
box-shadow: 0 0 20px #000;
}
.login .btn {
width: 100%;
}
.btn-login {
height: 50px;
}

65
htdocs/css/map.css Normal file
View File

@ -0,0 +1,65 @@
@import url("openwebrx-header.css");
@import url("openwebrx-globals.css");
body {
display: flex;
flex-direction: column;
}
.openwebrx-map {
flex: 1 1 auto;
}
h3 {
margin: 10px 0;
text-align: center;
}
ul {
margin-block-start: 5px;
margin-block-end: 5px;
padding-inline-start: 25px;
}
/* don't show the filter in it's initial position */
.openwebrx-map-legend {
display: none;
background-color: #fff;
padding: 10px;
margin: 10px;
user-select: none;
}
/* show it as soon as google maps has moved it to its container */
.openwebrx-map .openwebrx-map-legend {
display: block;
}
.openwebrx-map-legend ul {
list-style-type: none;
padding: 0;
}
.openwebrx-map-legend ul li {
cursor: pointer;
}
.openwebrx-map-legend ul li.disabled {
opacity: .3;
filter: grayscale(70%);
}
.openwebrx-map-legend li.square .illustration {
display: inline-block;
width: 30px;
height: 20px;
margin-right: 10px;
border-width: 2px;
border-style: solid;
}
.openwebrx-map-legend select {
background-color: #FFF;
border-color: #DDD;
padding: 5px;
}

View File

@ -0,0 +1,7 @@
html, body
{
margin: 0;
padding: 0;
height: 100%;
font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
}

View File

@ -0,0 +1,227 @@
.webrx-top-container {
position: relative;
z-index:1000;
background-color: #575757;
background-image: url(../gfx/openwebrx-top-photo.jpg);
background-position-x: center;
background-position-y: top;
background-repeat: no-repeat;
background-size: cover;
overflow: hidden;
}
.openwebrx-description-container {
transition-property: height, opacity;
transition-duration: 1s;
transition-timing-function: ease-out;
opacity: 0;
height: 0;
/* originally, top-bar + description was 350px */
max-height: 283px;
overflow: hidden;
}
.openwebrx-description-container.expanded {
opacity: 1;
height: 283px;
}
.webrx-top-bar {
height:67px;
background: rgba(128, 128, 128, 0.15);
margin:0;
padding:0;
user-select: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
overflow: hidden;
display: flex;
flex-direction: row;
}
.webrx-top-bar > * {
flex: 0;
}
.webrx-top-container, .webrx-top-container * {
line-height: initial;
box-sizing: initial;
}
.webrx-top-logo {
width: 261px;
padding: 12px;
filter: drop-shadow(0 0 2.5px rgba(0, 0, 0, .9));
/* overwritten by media queries */
display: none;
}
.webrx-rx-avatar {
background-color: rgba(154, 154, 154, .5);
margin: 7px;
width: 46px;
height: 46px;
padding: 4px;
border-radius: 8px;
box-sizing: content-box;
}
.webrx-rx-texts {
/* minimum layout width */
width: 0;
/* will be getting wider with flex */
flex: 1;
overflow: hidden;
margin: auto 0;
}
.webrx-rx-texts div, .webrx-rx-texts h1 {
margin: 0 10px;
padding: 3px;
white-space:nowrap;
overflow: hidden;
color: #909090;
text-align: left;
}
.webrx-rx-title {
font-family: "DejaVu Sans", Verdana, Geneva, sans-serif;
font-size: 11pt;
font-weight: bold;
}
.webrx-rx-desc {
font-size: 10pt;
}
.openwebrx-main-buttons .button {
display: block;
width: 55px;
cursor:pointer;
}
.openwebrx-main-buttons .button[data-toggle-panel] {
/* will be enabled by javascript if the panel is present in the DOM */
display: none;
}
.openwebrx-main-buttons .button img,
.openwebrx-main-buttons .button svg {
height: 38px;
filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.5));
}
.openwebrx-main-buttons a {
color: inherit;
text-decoration: inherit;
}
.openwebrx-main-buttons .button:hover {
background-color: rgba(255, 255, 255, 0.3);
}
.openwebrx-main-buttons .button:active {
background-color: rgba(255, 255, 255, 0.55);
}
.openwebrx-main-buttons {
padding: 5px 15px;
display: flex;
list-style: none;
margin:0;
color: white;
text-shadow: 0px 0px 4px #000000;
text-align: center;
font-size: 9pt;
font-weight: bold;
}
.webrx-rx-photo-title {
margin: 10px 15px;
color: white;
font-size: 16pt;
text-shadow: 1px 1px 4px #444;
opacity: 1;
}
.webrx-rx-photo-desc {
margin: 10px 15px;
color: white;
font-size: 10pt;
font-weight: bold;
text-shadow: 0px 0px 6px #444;
opacity: 1;
line-height: 1.5em;
}
.webrx-rx-photo-desc a {
color: #5ca8ff;
text-shadow: none;
}
.openwebrx-photo-trigger {
cursor: pointer;
}
/*
* Responsive stuff
*/
@media (min-width: 576px) {
.webrx-rx-texts {
display: initial;
}
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {
.webrx-top-logo {
display: initial;
}
}
@media (min-width: 1200px) {
}
/*
* RX details arrow up/down switching
*/
.openwebrx-rx-details-arrow {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 0);
margin: 0;
padding: 0;
line-height: 0;
display: block;
}
.openwebrx-rx-details-arrow svg {
height: 12px;
}
.openwebrx-rx-details-arrow .up {
display: none;
}
.openwebrx-rx-details-arrow--up .down {
display: none;
}
.openwebrx-rx-details-arrow--up .up {
display: initial;
}

Some files were not shown because too many files have changed in this diff Show More