Maxi Quoß
df9f549d65
fix save record settingsPrivate
2023-03-10 02:38:17 +01:00
Maxi Quoß
79a70b6053
set custom icon
...
- split settings collection into settings_private and settings_public
- add icon input to frontend
2023-03-10 02:11:56 +01:00
Maxi Quoß
8d479669f4
add authentification #42 #55
...
* from now on, upsnap always requires authentification (user or admin)
* users can view the dashboard and use wake/shutdown (read only)
* admins can do everything (add, modify and delete)
* make navbar collapse on small screens
2023-03-05 02:44:47 +01:00
Maxi Quoß
40f6bddff6
update dependencies
2023-03-04 11:54:47 +01:00
Maxi Quoß
a7f3edd5f7
update dependencies
2023-02-26 11:30:26 +01:00
Maxi Quoß
4148ef0952
go mod tidy
2023-02-17 01:18:43 +01:00
Maxi Quoß
49cda92036
update backend dependencies
2023-02-17 01:11:28 +01:00
Maxi Quoß
9a1a816f25
change error messages
2023-02-11 22:49:23 +01:00
Maxi Quoß
8d43554e0e
check if To4() == nil
2023-02-11 22:48:16 +01:00
Maxi Quoß
cb168f2f47
remove magicpacket log
2023-02-11 22:24:23 +01:00
Maxi Quoß
ef064e9335
shutdown: print stderr to log
2023-02-11 21:53:57 +01:00
Maxi Quoß
7bd4712ddd
get correct broadcast for netmask 0.0.0.0, #46
2023-02-09 00:40:04 +01:00
Maxi Quoß
482a9884a4
add some error logging
2023-02-01 17:51:34 +01:00
Maxi Quoß
b6f76c55c9
replace go-ping/ping (deprecated)
2023-01-31 13:47:13 +01:00
Maxi Quoß
7bdb99c066
fix top level await and fix broken device delete
2023-01-30 14:06:51 +01:00
Maxi Quoß
e07755f3b9
delete port relations if device is deleted
2023-01-30 13:13:56 +01:00
Maxi Quoß
1039fc2a46
go mod update
2023-01-30 01:06:01 +01:00
Maxi Quoß
62cec056b9
rename package, auto add version to binary
2023-01-30 00:41:49 +01:00
Maxi Quoß
e78b66c920
include device name in error msg
2023-01-30 00:29:55 +01:00
Maxi Quoß
3018394888
change wake/shutdown log level
2023-01-30 00:26:04 +01:00
Maxi Quoß
3fc2031914
set device status in shutdown handler
2023-01-30 00:23:54 +01:00
Maxi Quoß
1de83d0e34
remove debug prints
2023-01-30 00:18:58 +01:00
Maxi Quoß
2cc9dde62a
fix cron running always for last device
2023-01-30 00:16:25 +01:00
Maxi Quoß
1f433dd40b
set device status on cron wake/shutdown
2023-01-29 21:26:48 +01:00
Maxi Quoß
969d1545b4
add debug output
2023-01-29 21:20:30 +01:00
Maxi Quoß
18ef9f81c8
remove root check
2023-01-29 20:55:46 +01:00
Maxi Quoß
a182f7b041
change way to check for root
2023-01-29 20:38:58 +01:00
Maxi Quoß
feff042a88
ping privileged
2023-01-29 20:14:18 +01:00
Maxi Quoß
f477088404
Squashed commit of the following:
...
commit a506e6fee1c90d2262f25eb680686adbfb3b2be0
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 17:08:40 2023 +0100
update docker
commit 445b735b11
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 16:31:46 2023 +0100
dont use v
commit fb30405396
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 16:30:51 2023 +0100
dont use v
commit 49cf2b2607
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 16:23:31 2023 +0100
try tag
commit 57bef8bb7e
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 16:10:28 2023 +0100
rawversion
commit 51e071bf22
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:58:48 2023 +0100
try again with v
commit 4ce90f1f5f
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:54:10 2023 +0100
try again with v
commit 6fd289e1a7
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:47:56 2023 +0100
workflow: tags
commit 8e7d4e814f
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:37:54 2023 +0100
workflow: env is broken
commit eb311bf289
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:30:44 2023 +0100
workflow: env
commit fea958c4fc
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:26:54 2023 +0100
workflow: env
commit 8f59fb448f
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:22:46 2023 +0100
workflow: env
commit e303e7af64
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:20:43 2023 +0100
workflow: docker meta image name
commit d47c21c3db
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:15:03 2023 +0100
docker: fix unzip
commit 4eb1c98729
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 15:05:48 2023 +0100
docker: unzip -q
commit fe042e0003
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 14:58:12 2023 +0100
workflow: remove v from version
commit dd4bc6c1e7
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 14:54:19 2023 +0100
workflow: fix url
commit 5ee9b43aff
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 14:49:08 2023 +0100
workflow: remove v
commit 9d598b4c09
Author: Maxi Quoß <maxi@quoss.org >
Date: Sun Jan 29 14:46:01 2023 +0100
event tag
2023-01-29 17:11:36 +01:00
Maxi Quoß
7e7caf3643
easier docker build
2023-01-29 14:11:52 +01:00
Maxi Quoß
7943177b33
go auto pre-release
2023-01-29 12:51:31 +01:00
Maxi Quoß
6f611114fb
fix deploys
2023-01-29 01:13:53 +01:00
Maxi Quoß
b1d4257013
add docker build
2023-01-28 23:10:31 +01:00
Maxi Quoß
6aedb5b5d1
reset migrations, add frontend link if no devices
2023-01-28 20:14:13 +01:00
Maxi Quoß
80b47012a8
settings: add network scan
2023-01-28 20:04:59 +01:00
Maxi Quoß
8f76628e15
settings: add option for website title
2023-01-28 16:29:32 +01:00
Maxi Quoß
0ef4b4ac02
fix shutdown cmd args
2023-01-28 15:22:25 +01:00
Maxi Quoß
3d0ad679ee
improve ShutdownDevice func
2023-01-28 13:57:46 +01:00
Maxi Quoß
465407fbc2
improve WakeDevice func
2023-01-28 13:55:42 +01:00
Maxi Quoß
81a581ff29
actually run cron
2023-01-28 13:55:15 +01:00
Maxi Quoß
abf8b8114f
remove debug print
2023-01-28 13:31:47 +01:00
Maxi Quoß
b43cd7fe99
add wake/shutdown cronjob
2023-01-28 12:52:20 +01:00
Maxi Quoß
988f182430
improve network scan route
2023-01-27 22:14:07 +01:00
Maxi Quoß
7dd4affa96
change log level
2023-01-27 01:18:21 +01:00
Maxi Quoß
306e4015cc
device settings page and other improvements
2023-01-27 01:07:45 +01:00
Maxi Quoß
e39d626119
use wol package and support wol passwords
2023-01-26 18:27:49 +01:00
Maxi Quoß
a3b1413fbb
add new device form
2023-01-26 15:30:45 +01:00
Maxi Quoß
4d21b0fc92
complete settings page
...
* restart cron schedule on change
* parse environment variables and save them in db on startup
2023-01-23 22:09:12 +01:00
Maxi Quoß
037f718a2e
add port scan
2023-01-23 00:24:08 +01:00
Maxi Quoß
f1a73e7bbe
add v2 file import
2023-01-16 20:01:08 +01:00