Skip to content

Commit

Permalink
Version 6.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
chuot committed Aug 10, 2022
1 parent 7e9679e commit f0ada59
Show file tree
Hide file tree
Showing 27 changed files with 2,709 additions and 1,977 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,14 @@ _v6.5.2_
- Show call date on main screen when call is older than one day (issue #229).
- Fixed dirwatch #DATE, #TIME and #ZTIME regexp to accomodate filenames like 20220711082833 (issue #235).

_v6.5.3_

- Return of the -admin_password option to reset the administrator password in case of forgetting.
- New `<iframe>` wrapper in `docs/examples/iframe` for those who want to give more information to their users.
- Fixed systems.write constraint failed (issue #241).
- Add filename to dirwatch error messages (issue #248).
- Dirwatch.type=default now defaults to the current date and time if none are provided by the metatags (discussion #250).

## Version 6.4

- New `-cmd` command line options to allow advanced administrative tasks.
Expand Down
16 changes: 8 additions & 8 deletions COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ Clone the official repository on your computer and start the build process.

When finished, you will find the precompiled versions for various platforms in the `dist` folder.

rdio-scanner-darwin-amd64-v6.5.2.zip
rdio-scanner-darwin-arm64-v6.5.2.zip
rdio-scanner-freebsd-amd64-v6.5.2.zip
rdio-scanner-linux-386-v6.5.2.zip
rdio-scanner-linux-amd64-v6.5.2.zip
rdio-scanner-linux-arm64-v6.5.2.zip
rdio-scanner-linux-arm-v6.5.2.zip
rdio-scanner-windows-amd64-v6.5.2.zip
rdio-scanner-darwin-amd64-v6.5.3.zip
rdio-scanner-darwin-arm64-v6.5.3.zip
rdio-scanner-freebsd-amd64-v6.5.3.zip
rdio-scanner-linux-386-v6.5.3.zip
rdio-scanner-linux-amd64-v6.5.3.zip
rdio-scanner-linux-arm64-v6.5.3.zip
rdio-scanner-linux-arm-v6.5.3.zip
rdio-scanner-windows-amd64-v6.5.3.zip

**Happy Rdio scanning !**
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
################################################################################

app := rdio-scanner
date := 2022/07/11
ver := 6.5.2
date := 2022/08/10
ver := 6.5.3

client := $(wildcard client/*.json client/*.ts)
server := $(wildcard server/*.go)
Expand Down
3,872 changes: 2,228 additions & 1,644 deletions client/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,5 @@
"build": "ng build --base-href ./ --configuration production",
"start": "ng serve"
},
"version": "6.5.2"
"version": "6.5.3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@
.branding {
color: rgb(64, 64, 64);
flex: 1;
font-size: 18px;
font-weight: 900;
letter-spacing: 0.25rem;
font-size: 16px;
font-weight: normal;
letter-spacing: 2px;
line-height: 1;
overflow: hidden;
text-overflow: ellipsis;
text-shadow: -1px -1px 1px rgb(0, 0, 0), 1px 1px 1px rgba(255, 255, 255, 0.5);
text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.7), 1px 1px 1px rgba(255, 255, 255, 0.3);
text-transform: uppercase;
white-space: nowrap;
}
Expand Down
9 changes: 9 additions & 0 deletions docs/examples/iframe/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# IFRAME example

It may be useful for some installations to have a section with information or instructions so that users can read and better understand what it is about.

Here is an example of a web page that embeds an Rdio Scanner instance in an `<iframe ...>` with responsive content.

You can use these files as a starter kit and update them as you wish.

> Remember to replace the `<iframe src="http://localhost:3000">` value with the address of your Rdio Scanner instance.
43 changes: 43 additions & 0 deletions docs/examples/iframe/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
html {
min-height: 100%;
}

body {
font-family: 'Roboto', sans-serif;
margin: 0;
}

body,
.outer-container {
min-height: inherit;
}

.outer-container {
background-color: #1e1e1e;
color: #fafafa;
}

.outer-container,
.inner-container {
align-items: center;
display: flex;
flex-direction: row;
height: inherit;
justify-content: center;
}

.inner-container {
flex-wrap: wrap;
}

.inner-container>div {
box-sizing: border-box;
max-width: 720px;
min-height: calc(608px + 1rem);
min-width: 410px;
padding: 1rem;
}

.inner-container iframe {
border: none;
}
53 changes: 53 additions & 0 deletions docs/examples/iframe/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<html>

<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Rdio Scanner</title>
<link rel="stylesheet" href="index.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">
</head>

<body>
<div class="outer-container">
<div class="inner-container">
<div>
<!-- CHANGE THE SRC ADDRESS BELOW TO YOUR RDIO SCANNER INSTANCE -->
<iframe src="http://localhost:3000" width="410" height="608"></iframe>
</div>
<div>
<h1>Instructions</h1>
<p>Phasellus finibus porta leo quis semper. Vivamus nec ornare lectus. Maecenas sit amet convallis
libero. Fusce finibus est nec iaculis facilisis. Praesent non urna neque. Donec aliquet suscipit
tellus id luctus. Fusce eget semper nisi. Duis vel ultrices risus. Nulla et ex nec nisi sodales
rutrum quis nec diam. Nullam sit amet faucibus arcu. Vestibulum aliquam facilisis auctor. Nunc id
massa sit amet risus malesuada maximus.</p>
<p>Donec euismod commodo massa in mattis. Curabitur sed gravida nulla, nec hendrerit lorem. In eget arcu
et nisi sagittis facilisis vitae ac purus. Aliquam porttitor blandit venenatis. Aliquam a nisl elit.
Aenean sed diam sagittis, sagittis massa sed, tempus est. Morbi dapibus diam ligula, ut posuere
justo luctus sit amet. Quisque consequat tincidunt vulputate. Fusce tristique bibendum risus, id
bibendum urna cursus sed. Donec commodo in tellus ac consequat.</p>
<p>Proin a massa quis ipsum dapibus scelerisque. Duis semper gravida nunc, vitae interdum risus molestie
molestie. Vivamus suscipit urna quis lectus pulvinar, non pulvinar sapien porttitor. Nunc purus
libero, tincidunt ut egestas et, porta nec sapien. Nunc eleifend porttitor finibus. Mauris tempor
massa id ex mattis, in vehicula nisi auctor. Morbi porttitor, arcu ac tincidunt lobortis, mauris
neque rutrum purus, non congue lorem dolor vitae mi. Quisque in turpis est. Mauris varius elit urna,
ut luctus eros dignissim in. Proin nec velit quis orci tempor rutrum. Vestibulum pharetra ipsum
turpis, at fermentum sem commodo ut.</p>
<p>Proin venenatis, nunc at hendrerit sagittis, velit nunc cursus nibh, quis interdum est augue in nibh.
Nullam ultricies lacus ac arcu mollis, eu porttitor velit malesuada. Sed ut aliquam ex. Praesent
faucibus lectus id porttitor sodales. Mauris ornare id dui ut ornare. Nunc volutpat euismod
pellentesque. Mauris nulla enim, facilisis non lorem quis, ultrices pretium est. In laoreet leo quis
viverra finibus. Curabitur quis lorem iaculis, imperdiet leo vitae, molestie turpis. Vestibulum
rutrum risus nec erat posuere rhoncus interdum a nulla. Mauris vitae commodo enim. Donec nec mi sed
ipsum maximus vehicula tristique non erat. Proin pulvinar, sem vitae semper volutpat, metus enim
pulvinar neque, eget suscipit arcu tortor scelerisque nisi. Etiam risus est, dictum eget pretium
vitae, consectetur id purus.</p>
</div>
</div>
</div>
</body>

</html>
44 changes: 23 additions & 21 deletions docs/platforms/darwin.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ ALWAYS DOWNLOAD THE LATEST VERSION OF [RDIO SCANNER](https://github.com/chuot/rd
rdio@macos ~ % mkdir rdio-scanner
rdio@macos ~ % cd rdio-scanner
rdio@macos rdio-scanner % unzip \
> ~/Downloads/rdio-scanner-darwin-arm64-v6.5.2.zip
Archive: /Users/rdio/Downloads/rdio-scanner-darwin-arm64-v6.5.2.zip
> ~/Downloads/rdio-scanner-darwin-arm64-v6.5.3.zip
Archive: /Users/rdio/Downloads/rdio-scanner-darwin-arm64-v6.5.3.zip
inflating: rdio-scanner
inflating: rdio-scanner.pdf

3. Run the executable.

rdio@macos rdio-scanner % ./rdio-scanner
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:38:06 server started
2022/07/11 08:38:06 main interface at http://macos.local:3000
2022/07/11 08:38:06 admin interface at http://macos.local:3000/admin
2022/08/10 08:38:06 server started
2022/08/10 08:38:06 main interface at http://macos.local:3000
2022/08/10 08:38:06 admin interface at http://macos.local:3000/admin

4. Access the administrative dashboard to finalize the configuration.

Expand All @@ -77,11 +77,11 @@ Here we want our [Rdio Scanner](https://guthub.com/chuot/rdio-scanner) instance

rdio@macos rdio-scanner % ./rdio-scanner --listen :80
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:48:03 server started
2022/07/11 08:48:03 main interface at http://macos.local
2022/07/11 08:48:03 admin interface at http://macos.local/admin
2022/08/10 08:48:03 server started
2022/08/10 08:48:03 main interface at http://macos.local
2022/08/10 08:48:03 admin interface at http://macos.local/admin

## Listening on a SSL port

Expand All @@ -95,12 +95,12 @@ You can use your own SSL certificates that match your domain name with `-ssl_cer
> -ssl_key_file mykey.key \
> -ssl_listen :443
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:50:58 server started
2022/07/11 08:50:58 main interface at http://macos.local
2022/07/11 08:50:58 main interface at https://macos.local
2022/07/11 08:50:58 admin interface at https://macos.local/admin
2022/08/10 08:50:58 server started
2022/08/10 08:50:58 main interface at http://macos.local
2022/08/10 08:50:58 main interface at https://macos.local
2022/08/10 08:50:58 admin interface at https://macos.local/admin

If you don't want to worry about SSL certificates, you can use the built-in Let's Encrypt auto-cert feature. This requires that you have both port 80 (HTTP) and port 443 (HTTPS) open to the world. Also, your domain name should point to your IP address where [Rdio Scanner](https://github.com/chuot/rdio-scanner/) is running. The advantage of this approach is that everything is done automatically, no certificate request, no certificate renewal.

Expand All @@ -118,7 +118,7 @@ You don't want to have to type everytime a long list of arguments. No problem, y
> -ssl_auto_cert mydomain.com \
> -ssl_listen :443 \
> -config_save
2022/07/11 08:52:24 rdio-scanner.ini file created
2022/08/10 08:52:24 rdio-scanner.ini file created

All of your parameters passed as arguments to [Rdio Scanner](https://github.com/chuot/rdio-scanner) have been saved to an INI file which has the same arguments/values list.

Expand All @@ -132,12 +132,12 @@ Then simply run [Rdio Scanner](https://github.com/chuot/rdio-scanner) without an

rdio@macos rdio-scanner % ./rdio-scanner
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:54:08 server started
2022/07/11 08:54:08 main interface at http://macos.local
2022/07/11 08:54:08 main interface at https://macos.local
2022/07/11 08:54:08 admin interface at https://macos.local/admin
2022/08/10 08:54:08 server started
2022/08/10 08:54:08 main interface at http://macos.local
2022/08/10 08:54:08 main interface at https://macos.local
2022/08/10 08:54:08 admin interface at https://macos.local/admin

## Install Rdio Scanner as a service

Expand All @@ -158,6 +158,8 @@ To get the whole list of arguments you can pass to [Rdio Scanner](https://github

rdio@macos rdio-scanner % ./rdio-scanner -h
Usage of ./rdio-scanner:
-admin_password string
change admin password
-base_dir string
base directory where all data will be written
-cmd string
Expand Down
44 changes: 23 additions & 21 deletions docs/platforms/freebsd.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,20 @@ ALWAYS DOWNLOAD THE LATEST VERSION OF [RDIO SCANNER](https://github.com/chuot/rd
rdio@pc-freebsd:~ $ mkdir rdio-scanner
rdio@pc-freebsd:~ $ cd rdio-scanner
rdio@pc-freebsd:~/rdio-scanner $ unzip \
> ~/rdio-scanner-freebsd-amd64-v6.5.2.zip
Archive: ../rdio-scanner-freebsd-amd64-v6.5.2.zip
> ~/rdio-scanner-freebsd-amd64-v6.5.3.zip
Archive: ../rdio-scanner-freebsd-amd64-v6.5.3.zip
extracting: rdio-scanner
extracting: rdio-scanner.pdf

3. Run the executable.

rdio@pc-freebsd:~/rdio-scanner $ ./rdio-scanner
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:16:36 server started
2022/07/11 08:16:36 main interface at http://pc-freebsd:3000
2022/07/11 08:16:36 admin interface at http://pc-freebsd:3000/admin
2022/08/10 08:16:36 server started
2022/08/10 08:16:36 main interface at http://pc-freebsd:3000
2022/08/10 08:16:36 admin interface at http://pc-freebsd:3000/admin

4. Access the administrative dashboard to finalize the configuration.

Expand All @@ -81,11 +81,11 @@ Here we want our [Rdio Scanner](https://guthub.com/chuot/rdio-scanner) instance
Password:
root@pc-freebsd:/home/rdio/rdio-scanner # ./rdio-scanner -listen :80
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 08:19:38 server started
2022/07/11 08:19:38 main interface at http://pc-freebsd
2022/07/11 08:19:38 admin interface at http://pc-freebsd/admin
2022/08/10 08:19:38 server started
2022/08/10 08:19:38 main interface at http://pc-freebsd
2022/08/10 08:19:38 admin interface at http://pc-freebsd/admin

## Listening on a SSL port

Expand All @@ -101,12 +101,12 @@ You can use your own SSL certificates that match your domain name with `-ssl_cer
> -ssl_key_file mykey.key \
> -ssl_listen :443
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 10:34:29 server started
2022/07/11 10:34:29 main interface at http://pc-freebsd
2022/07/11 10:34:29 main interface at https://pc-freebsd
2022/07/11 10:34:29 admin interface at https://pc-freebsd/admin
2022/08/10 10:34:29 server started
2022/08/10 10:34:29 main interface at http://pc-freebsd
2022/08/10 10:34:29 main interface at https://pc-freebsd
2022/08/10 10:34:29 admin interface at https://pc-freebsd/admin

If you don't want to worry about SSL certificates, you can use the built-in Let's Encrypt auto-cert feature. This requires that you have both port 80 (HTTP) and port 443 (HTTPS) open to the world. Also, your domain name should point to your IP address where [Rdio Scanner](https://github.com/chuot/rdio-scanner/) is running. The advantage of this approach is that everything is done automatically, no certificate request, no certificate renewal.

Expand All @@ -126,7 +126,7 @@ You don't want to have to type everytime a long list of arguments. No problem, y
> -ssl_auto_cert mydomain.com \
> -ssl_listen :443 \
> -config_save
2022/07/11 10:37:00 rdio-scanner.ini file created
2022/08/10 10:37:00 rdio-scanner.ini file created

All of your parameters passed as arguments to [Rdio Scanner](https://github.com/chuot/rdio-scanner) have been saved to an INI file which has the same arguments/values list.

Expand All @@ -142,12 +142,12 @@ Then simply run [Rdio Scanner](https://github.com/chuot/rdio-scanner) without an
Password:
root@pc-freebsd:/home/rdio/rdio-scanner # ./rdio-scanner
Rdio Scanner v6.5.2
Rdio Scanner v6.5.3
----------------------------------
2022/07/11 10:38:28 server started
2022/07/11 10:38:29 main interface at http://pc-freebsd
2022/07/11 10:38:29 main interface at https://pc-freebsd
2022/07/11 10:38:29 admin interface at https://pc-freebsd/admin
2022/08/10 10:38:28 server started
2022/08/10 10:38:29 main interface at http://pc-freebsd
2022/08/10 10:38:29 main interface at https://pc-freebsd
2022/08/10 10:38:29 admin interface at https://pc-freebsd/admin

## Install Rdio Scanner as a service

Expand All @@ -171,6 +171,8 @@ To get the whole list of arguments you can pass to [Rdio Scanner](https://github

rdio@pc-freebsd:~/rdio-scanner $ ./rdio-scanner -h
Usage of ./rdio-scanner:
-admin_password string
change admin password
-base_dir string
base directory where all data will be written
-cmd string
Expand Down
Loading

0 comments on commit f0ada59

Please sign in to comment.