From 04fda4558e678e7b7909e5f83170c7154468a38f Mon Sep 17 00:00:00 2001 From: Chrystian Huot Date: Sun, 5 Dec 2021 10:40:11 -0500 Subject: [PATCH] Version 6.0.3 --- CHANGELOG.md | 11 +++-- Makefile | 2 +- client/package.json | 2 +- .../rdio-scanner/admin/admin.service.ts | 3 -- .../admin/config/config.component.html | 2 +- .../admin/config/config.component.ts | 4 -- .../config/dir-watch/dir-watch.component.html | 36 +++------------- .../config/dir-watch/dir-watch.component.ts | 3 -- .../import-export-config.component.ts | 4 -- client/src/app/shared/update/update.module.ts | 2 - .../src/app/shared/update/update.service.ts | 11 ++++- docs/platforms/darwin.md | 12 +++--- docs/platforms/freebsd.md | 12 +++--- docs/platforms/linux.md | 12 +++--- docs/platforms/windows.md | 10 ++--- server/.gitignore | 2 +- server/go.mod | 18 ++++---- server/go.sum | 42 ++++++++++--------- server/main.go | 34 +++++++-------- server/parsers.go | 12 +++--- server/version.go | 2 +- 21 files changed, 104 insertions(+), 132 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 54bf8e3..a69637c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,18 +20,23 @@ The backend server has been completely rewritten in GO language. Therefore, all - Due to the polling situation, the Docker version of Rdio Scanner is no longer offered. Since it is now so easy to install v6 on various platforms, that was a no-brainer. - Default database name changed from _database.sqlite_ to _rdio-scanner.db_. You will need to rename your database file with the new name if you want to convert it. Otherwise, a new database will be created. -_v.6.0.1_ +_v6.0.1_ - Fix button sound on select panel for TG (beep state inverted) - Auto populate system units (issue #66) -_v.6.0.2_ +_v6.0.2_ - Try to fix the SQL_BUSY error (issue #67). - Fix `-service stop` timing out before exiting. - Drop the ApiKey uniqueness of the downstreams database table. - Fix auto-populating the database with empty units tag. +_v6.0.3_ + +- Fix strconv.Atoi: invalid syntax for dirwatch type sdrtrunk. +- Fix the new version available dialog opening more than once. + ## Version 5.2 - Change to how the server reports version. @@ -39,7 +44,7 @@ _v.6.0.2_ - Fix issue with iframe. - Node modules updated for security fixes. -_v.5.2.1_ +_v5.2.1_ - Fix talkgroup header on the search panel (issue #47). - Update dirwatch meta tags #DATE, #TIME and #ZTIME for SDRSharp compatibility (issue #48). diff --git a/Makefile b/Makefile index ecb92c4..72e1887 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ ################################################################################ app := rdio-scanner -ver := 6.0.2 +ver := 6.0.3 client := $(wildcard client/*.json client/*.ts) server := $(wildcard server/*.go) diff --git a/client/package.json b/client/package.json index 2364c03..0ee40ed 100644 --- a/client/package.json +++ b/client/package.json @@ -39,5 +39,5 @@ "build": "ng build --base-href ./ --configuration production", "start": "ng serve" }, - "version": "6.0.2" + "version": "6.0.3" } diff --git a/client/src/app/components/rdio-scanner/admin/admin.service.ts b/client/src/app/components/rdio-scanner/admin/admin.service.ts index 155528a..962d551 100644 --- a/client/src/app/components/rdio-scanner/admin/admin.service.ts +++ b/client/src/app/components/rdio-scanner/admin/admin.service.ts @@ -160,7 +160,6 @@ export interface Config { access?: Access[]; apiKeys?: ApiKey[]; dirWatch?: DirWatch[]; - docker?: boolean; downstreams?: Downstream[]; groups?: Group[]; options?: Options; @@ -399,7 +398,6 @@ export class RdioScannerAdminService implements OnDestroy { newDirWatchForm(dirWatch?: DirWatch): FormGroup { return this.ngFormBuilder.group({ _id: [dirWatch?._id], - // delay: [dirWatch?.delay, Validators.min(0)], deleteAfter: [dirWatch?.deleteAfter], directory: [dirWatch?.directory, [Validators.required, this.validateDirectory()]], disabled: [dirWatch?.disabled], @@ -410,7 +408,6 @@ export class RdioScannerAdminService implements OnDestroy { systemId: [dirWatch?.systemId, this.validateDirwatchSystemId()], talkgroupId: [dirWatch?.talkgroupId, this.validateDirwatchTalkgroupId()], type: [dirWatch?.type], - // usePolling: [dirWatch?.usePolling], }); } diff --git a/client/src/app/components/rdio-scanner/admin/config/config.component.html b/client/src/app/components/rdio-scanner/admin/config/config.component.html index 42dd874..61d2dce 100644 --- a/client/src/app/components/rdio-scanner/admin/config/config.component.html +++ b/client/src/app/components/rdio-scanner/admin/config/config.component.html @@ -28,7 +28,7 @@ error - + diff --git a/client/src/app/components/rdio-scanner/admin/config/config.component.ts b/client/src/app/components/rdio-scanner/admin/config/config.component.ts index a5393c3..03fb10a 100644 --- a/client/src/app/components/rdio-scanner/admin/config/config.component.ts +++ b/client/src/app/components/rdio-scanner/admin/config/config.component.ts @@ -44,10 +44,6 @@ export class RdioScannerAdminConfigComponent implements OnDestroy, OnInit { return this.form?.get('dirWatch') as FormArray; } - get docker(): boolean { - return this.config?.docker || false; - } - get downstreams(): FormArray { return this.form?.get('downstreams') as FormArray; } diff --git a/client/src/app/components/rdio-scanner/admin/config/dir-watch/dir-watch.component.html b/client/src/app/components/rdio-scanner/admin/config/dir-watch/dir-watch.component.html index 9153e81..d6bb1a6 100644 --- a/client/src/app/components/rdio-scanner/admin/config/dir-watch/dir-watch.component.html +++ b/client/src/app/components/rdio-scanner/admin/config/dir-watch/dir-watch.component.html @@ -36,13 +36,7 @@

Directory
- - Absolute or relatives inside the Docker container, path of the directory to be - monitored. - - - Absolute or relatives to the server, path of the directory to be monitored. - + Absolute or relatives to the server, path of the directory to be monitored.

@@ -124,13 +118,15 @@ Some metadata can be extracted from the file name of the audio file using specific META tags. Possible META tags:
    -
  • #DATE - extract the date like 20201231 (YYYYMMMDD), 2020-12-31 (YYYY-MM-DD) or 2020_12_31 (YYYY_MM_DD). +
  • #DATE - extract the date like 20201231 (YYYYMMMDD), + 2020-12-31 (YYYY-MM-DD) or 2020_12_31 (YYYY_MM_DD).
  • #HZ - extract the frequency in hertz like 119100000.
  • #KHZ - extract the frequency in kilohertz like 119100.
  • #MHZ - extract the frequency in megahertz like 119.100.
  • #SYS - extract the system id like 11.
  • -
  • #TIME - extract the local time like 0853439 (HHMMSS), 08-34-39 (HH-MM-SS) or 08:34:39 (HH:MM:SS).
  • +
  • #TIME - extract the local time like 0853439 (HHMMSS), + 08-34-39 (HH-MM-SS) or 08:34:39 (HH:MM:SS).
  • #TG - extract the talkgroup id like 54241.
  • #UNIT - extract the unit id like 4424001.
  • #ZTIME - extract the zulu time like 0453439, 08-34-39 or 04:34:39.
  • @@ -157,28 +153,6 @@ - -