Releases: seriousm4x/UpSnap
3.2.0
👋 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.
🔧 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
3.1.3
3.1.2
3.1.1
3.1.0
🔒 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
- 8d47966 add authentification #42 #55
- 5ed25bb add custom welcome message
- 5469a2b add shdow to theme dropdown menu
- 0d9a743 authentification -> authorisation
- 94fabed css and logic improvements
- a1de163 fix navbar active background for settings
- 5493df0 pnpm...
- 9a6b3a0 remove log
- 40f6bdd update dependencies
- 12689b1 update readme with auth #42 #55
- c519084 message is prerendered and cant be changed at runtime
- 9351889 minor changes
- 2764ed6 rel="external" fixes "not found" build error
- 327ac67 update screenshots
3.1.0-beta.1
Changelog
- 8d47966 add authentification #42 #55
- 5ed25bb add custom welcome message
- 5469a2b add shdow to theme dropdown menu
- 0d9a743 authentification -> authorisation
- 94fabed css and logic improvements
- a1de163 fix navbar active background for settings
- 5493df0 pnpm...
- 9a6b3a0 remove log
- 40f6bdd update dependencies
- 12689b1 update readme with auth #42 #55
3.0.6
3.0.5
3.0.4
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
indocker-compose.yml
- Docker: healthcheck is now done inside the
Dockerfile
. You can remove it from yourdocker-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