Commit Graph

3522 Commits

Author SHA1 Message Date
Adi Bier / DL1HRC b25642c19f Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-02-15 09:35:35 +01:00
Tobias Blomberg 9ef3793058 Add the genpw web utility
The genpw utility is used to safely exchange passwords between SvxLink
node sysops with the SvxReflector sysops.
2021-02-14 23:04:59 +01:00
Tobias Blomberg 3759f8d3b6 Require minimum CMake version 2.8.12
Compatibility with CMake versions < 2.8.12 will be dropped in a future
version so CMake warns if the minimum required version is set to
something lower than that. Previously SvxLink set the requirement to
2.8.
2021-02-01 23:38:32 +01:00
Tobias Blomberg 796318d5dc Correct Qt version for switching from deprecated functions
The Qt version previously given (5.11) for switching from deprecated
functions was wrong. It should be 5.14.
2021-02-01 23:27:11 +01:00
Adi Bier / DL1HRC 804ab06236 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-02-01 08:55:15 +01:00
Tobias Blomberg b22e9511b9 Fix warnings
- Improper buffer initialization in demo application
- Don't use deprecated functions for Qt >= 5.11
2021-01-31 20:23:29 +01:00
Tobias Blomberg d02cc013bc Replace deprecated functions in qtel
Mostly use "tr" instead of "trUtf8".
2021-01-31 19:42:53 +01:00
Tobias Blomberg de35979b14 Fix CodeQL complaints in devcal
- "Multiplication result converted to larger type"
2021-01-31 18:57:39 +01:00
Tobias Blomberg 3de0a4f56c Fix CodeQL complaints
- Multiplication result converted to larger type
- Convert a lot of size variables from int to size_t
2021-01-31 18:19:39 +01:00
Adi Bier / DL1HRC f5be2493e7 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-30 16:06:38 +01:00
Tobias Blomberg 1aae84a195 Replace potentially dangerous function calls
- localtime -> localtime_r
- gmtime -> gmtime_r
- asctime -> asctime_r
2021-01-30 01:24:36 +01:00
Tobias Blomberg 38a2443c8a Update Docker build for Ubuntu
- Now use Ubuntu 20.04
2021-01-30 00:46:49 +01:00
Tobias Blomberg 8138a2a05f
Update codeql-analysis.yml
Add dependency qttools5-dev
2021-01-29 23:43:00 +01:00
Tobias Blomberg 1ed763c46b
Update codeql-analysis.yml
Add dependency libcurl4-openssl-dev
2021-01-29 22:29:27 +01:00
Tobias Blomberg da1edf1b6a
Update codeql-analysis.yml
Add dependency libjsoncpp-dev
2021-01-29 22:25:05 +01:00
Tobias Blomberg dd281239d5
Update codeql-analysis.yml
Add Qt library packages
2021-01-29 22:21:46 +01:00
Tobias Blomberg bc34402374
Update codeql-analysis.yml
Replace autobuild with manual build
2021-01-29 22:18:43 +01:00
Tobias Blomberg 729a43d4d4
Create codeql-analysis.yml 2021-01-29 22:06:58 +01:00
Adi Bier / DL1HRC c44546fb1b Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-28 08:46:14 +01:00
Tobias Blomberg bc4914a651
Merge pull request #532 from dl1hrc/metarbug-26012021
Bugfix in ModuleMetarinfo: Gusts were not announced correctly in combination with mps
2021-01-27 21:33:54 +01:00
Tobias Blomberg 4be904fe25 Update ChangeLog and module metarinfo version 2021-01-27 21:29:29 +01:00
Adi Bier / DL1HRC af3973f43a Bugfix: Gusts were not announced correctly in combination with mps 2021-01-26 16:14:23 +01:00
Adi Bier / DL1HRC 57597b4424 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-17 16:43:04 +01:00
Tobias Blomberg 59872d2e01 Voter COMMAND_PTY MUTE command added
The voter COMMAND_PTY now accept a new command MUTE that will keep the
receiver active but block all content.
2021-01-17 13:28:32 +01:00
Tobias Blomberg 1d74bca0cb Bugfix: Do not emit tone detected events from muted receivers
If a receiver is muted it should block tone detected events in the same
manner that it blocks DTMF and selcall reception
2021-01-17 13:24:42 +01:00
Adi Bier / DL1HRC 18e53f450b Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-17 10:23:11 +01:00
Tobias Blomberg 1f48de9d52 Restricted talk group fixes
- Not allowed to monitor unallowed talk group
- Not receiving metadata (e.g. talker start/stop etc) from unallowed
  talk groups

Also now not allowed to request QSY from TG #0.
2021-01-16 23:31:38 +01:00
Tobias Blomberg 14a3f205f9 Update source code templates 2021-01-16 23:30:31 +01:00
Adi Bier / DL1HRC 3c64f771e4 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-16 22:38:24 +01:00
Tobias Blomberg 846baaba82 Use SvxReflector config to create restricted talk groups
The new configuration variable ALLOW can now be used in a TG#xyz
configuration section to choose which callsigns that are allowed to
select the talk group.
2021-01-16 18:29:52 +01:00
Tobias Blomberg f00459762b Improve version include file generation
- Software version include files are now generated in the CMake stage
  rather than in the build stage.
- A CMake rerun is forces when the versions file changes.
- Software rebuilds are more targeted so that only the softwares that
  depend on a specific version definition are rebuilt.
2021-01-16 18:22:54 +01:00
Tobias Blomberg 6130407e6c Remove siglev fractions in Voter close printout 2021-01-13 21:30:27 +01:00
Adi Bier / DL1HRC 95844de7e3 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-11 08:28:50 +01:00
Tobias Blomberg 1716a935bc Rename SIGLEV squelch releated configuration variables
Rename configuration variables to make it more clear that they are for
squelch configuration. An "SQL_" prefix have been added to the following
configuration variables: SIGLEV_RX_NAME, SIGLEV_OPEN_THRESH,
SIGLEV_CLOSE_THRESH.
2021-01-10 21:44:27 +01:00
Tobias Blomberg c99730e332 New voter configuration variable VERBOSE
A new voter configuration variable VERBOSE has been added which cause
the voter to print the squelch state events of the satellite receivers.
This can be used while fine tuning voter timing for example.
2021-01-10 19:30:17 +01:00
Tobias Blomberg 01374dbce7 Apply combiner SQL_XYZ config variables to the combiner
In the previous implementation of the squelch combiner the squelch
timing configuration variables, like SQL_DELAY, SQL_HANGTIME etc, was
applied to all subsquelches. This caused a strange behavior where the
top-level setting would "win" over the squelch specific settings. The
implementation have now been changed so that the squelch timing
configuration variables are applied on the combiner squelch itself.

Have a look at the SQL_COMBINER configuration variable description in
the svxlink.conf(5) manual page for more information.
2021-01-10 19:09:09 +01:00
Tobias Blomberg 5b526377f2 Rework squelch core code
The core squelch handling code was not fully correct causing problems in
some configurations.
2021-01-10 18:49:35 +01:00
Adi Bier / DL1HRC e95289a1fa Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-10 00:35:58 +01:00
Tobias Blomberg 6956b35966 Bugfix: SQL_START_DELAY was not honored in all cases 2021-01-09 22:57:42 +01:00
Tobias Blomberg 26af258dd0 Fix crash when no logic linking was used
Fixes #529.
2021-01-09 22:51:34 +01:00
Tobias Blomberg 7bce1b648f Bugfix in the receiver muting
Fix receiver muting bug introduced with the AUDIO_DEV_KEEP_OPEN feature.
Receivers were not completely muted which caused events, like tone
detection, to be emitted even though there should no events emitted from
a fully muted receiver.
2021-01-09 09:53:16 +01:00
Tobias Blomberg 043f137ae0 Bugfix in COMBINE squelch
After the previous commit, the COMBINE squelch could get in a state
where the squelch did not open until it had closed and opened one more
time.
2021-01-08 21:26:21 +01:00
Adi Bier/DL1HRC 623fbef688 Remnants of the previous merge command removed 2021-01-08 15:50:04 +01:00
Adi Bier / DL1HRC 26b92070a0 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-08 15:38:46 +01:00
Tobias Blomberg 3e3fb69959 More informative squelch open/close printouts
The information that is printed within the parenthesis after the squelch
open/close message is now specific for each squelch type so that
meaningful information can be printed for that squelch type. For example
the CTCSS tone frequency and SNR is printed for CTCSS squelch. The value
printed for SIGLEV squelch is now the actual value that is used by the
squelch. Previously there was no connection between the value used by
the squelch and the printed signal level.
2021-01-08 12:35:28 +01:00
Adi Bier / DL1HRC eb18b212ab Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-06 16:49:58 +01:00
Tobias Blomberg 2bfa870ddc Mute logic linking when a module is active
By default, when activating a module in a logic core, all logic linking
audio will be muted. This behavior can be changed by using the
MUTE_LOGIC_LINKING configuration variable in the module configuration.
2021-01-05 17:15:57 +01:00
Adi Bier / DL1HRC 25b8e191e2 Merge remote-tracking branch 'sm0svx/master' into pjSipLogic 2021-01-04 22:27:15 +01:00
Tobias Blomberg 39954192ed Always clear delayed selection event on selectTg
The delayed TG selection event is now always cleared on every call to
selectTG. That avoid double announcements in some cases when using the
QSY on squelch activity feature.
2021-01-04 19:26:58 +01:00
Tobias Blomberg c3c591a7c9 ReflectorLogic: QSY on squelch activity
Follow a remote initiated QSY on squelch open some short time after
missing out on a QSY due to no local activity. Use configuration
variable QSY_PENDING_TIMEOUT to set the time.

Also, go to TG #0 immediately on ignored or pending QSY
2021-01-04 17:19:10 +01:00