Skip to content

Releases: seriousm4x/UpSnap

3.2.0

10 Mar 01:50
df9f549
Compare
Choose a tag to compare

👋 Say hello to the new Gopher!

This is now the new project icon and also used as the default website favicon. I've created it in Affinity Designer and added the project file to the repo, so feel free to improve him if you're good at illustrations!

👎 Don't like him?

Sad to hear, but I got you... It's also possible to set your own favicon in the settings.

image

🔧 Database migration

To make this possible the database settings collection is now split up into settings_private and settings_public. The reason is that unauthorized users need to be able to receive the website title and the favicon, which are now stored settings_public.
settings_private contains the ping interval and scan ip which are only readable by admins.

If you have set your website title in the past and run UpSnap without the UPSNAP_WEBSITE_TITLE env var then you have to set your title again. If you use the env var you are already set.

🩹 Fixes

  • The website title on the login page shows the correct tab title

Changelog

  • 1b299aa add new gopher as project image
  • 59bc936 change import path for fa icons
  • df9f549 fix save record settingsPrivate
  • 79a70b6 set custom icon
  • c43bcbd update callout and screenshots
  • f061c7d update screenshots

3.1.3

07 Mar 19:44
327b47c
Compare
Choose a tag to compare

Changelog

  • 327b47c apk add samba (not installed by samba-common-tools anymore), close #61

3.1.2

07 Mar 09:12
d7c4a92
Compare
Choose a tag to compare

Changelog

3.1.1

06 Mar 17:22
8c4c402
Compare
Choose a tag to compare

Changelog

  • 8c4c402 refresh auth tokens to avoid expiration

3.1.0

05 Mar 15:30
9351889
Compare
Choose a tag to compare

🔒 Authorisation

Since version 3.1 authorisation is enabled by default.

User management is done through the PocketBase webinterface at http://localhost:8090/_/. This is mainly for internal use, such as within a home or corporate network. For external use please see below.

  • To manage users, click the "Collections" icon on the left and select "users".
  • To manage admins, click the "Settings" icon on the left and select "Admin".

Api permissions listed by user role:

Api Unauthorized Users Admins
List/Search Rule
View Rule
Create Rule
Delete Rule
Manage Rule
Wake devices
Shutdown devices
Scan network

🌍 Exposing to the open web

Although UpSnap has user authorisation, it is not recommended to expose it to the open web and make it accessible by everyone!

Reason: The shutdown device command is basically a command piped to #sh (root if you run docker). If anyone gains unauthorized access and can abuse this api route in any way, the attacker has access to a (root) shell on your local network.

Recommended: If you need access from outside your network, please use a vpn. Wireguard or OpenVPN is your way to go.

Changelog

3.1.0-beta.1

05 Mar 06:23
0d9a743
Compare
Choose a tag to compare
3.1.0-beta.1 Pre-release
Pre-release

Changelog

3.0.6

26 Feb 10:39
a7f3edd
Compare
Choose a tag to compare

Changelog

  • 3aec978 docker-compose: make port change more clear #54
  • a7f3edd update dependencies
  • upgrade to PocketBase v0.13.0 which tries to solve #45

3.0.5

17 Feb 00:33
37f7df2
Compare
Choose a tag to compare

Changelog

  • Use Go 1.20
  • Update backend and frontend dependencies which fixed 2 npm vulnerabilities (dependabot #4 and #5)

Commits

3.0.4

11 Feb 22:02
3b9decd
Compare
Choose a tag to compare

Quick breakdown

  • Frontend: devices are now "natural sorted" by name. Before: 1,10,2, after: 1,2,10
  • Backend: Wrong broadcast ip was fixed when using netmask 0.0.0.0
  • Backend: If shutdown command fails, the log will show the stderr of that command instead of the exit code
  • Backend: if you need custom packages for you shutdown command, you can install them by using the custom entrypoint in docker-compose.yml
  • Docker: healthcheck is now done inside the Dockerfile. You can remove it from your docker-compose.yml
  • Added some funding options if you want to support me

Changelog

  • 3b9decd add container_name, fix health whitespace
  • 9a1a816 change error messages
  • 8d43554 check if To4() == nil
  • b88f567 move healthcheck to dockerfile
  • cb168f2 remove magicpacket log
  • 67870d8 add go version badge
  • 376220c natural sort devices by name
  • ef064e9 shutdown: print stderr to log
  • f3b740d Create FUNDING.yml
  • b9aa9fe Update issue templates
  • 59770cf Update issue templates
  • 8b65cd6 Update issue templates
  • 0f7026f Update issue templates
  • a721af0 add info about custom packages in container
  • 7bd4712 get correct broadcast for netmask 0.0.0.0, #46
  • 27b1a10 goreleaser: -rm-dist has been deprecated
  • 66b4117 rename workflow

3.0.4-beta.3

11 Feb 21:49
b88f567
Compare
Choose a tag to compare
3.0.4-beta.3 Pre-release
Pre-release

Changelog

  • b88f567 move healthcheck to dockerfile
  • cb168f2 remove magicpacket log