61 Commits

Author SHA1 Message Date
Maxi Quoß
c2bf398a69 small fixes 2026-03-19 14:30:54 +01:00
invario
9dac3e982e Add ability for device/network scan when rootless (#1700)
* Add ability for device/network scan when rootless

Signed-off-by: invario <67800603+invario@users.noreply.github.com>

* adjust err msg

---------

Signed-off-by: invario <67800603+invario@users.noreply.github.com>
Co-authored-by: Maxi Quoß <maxi@quoss.org>
2026-03-19 12:26:26 +01:00
invario
48a8c736b2 fix: loop in shutdown code rewritten to work properly (#1695)
* FIX: loop in shutdown code rewritten to work properly

Signed-off-by: invario <67800603+invario@users.noreply.github.com>

* remove unneeded wait()

we already wait in shutdown.go#L52

* cleanup

---------

Signed-off-by: invario <67800603+invario@users.noreply.github.com>
Co-authored-by: Maxi Quoß <maxi@quoss.org>
2026-03-19 12:10:45 +01:00
Joshua Higgins
5440ab3b25 fix: allow users with create permissions to scan for devices (#1611)
* fix: allow users with create permissions to scan for devices

* fix: show scan tab in frontend
2026-02-13 00:00:54 +01:00
Maxi Quoß
61da5f5bf6 feat: UPSNAP_HTTP_LISTEN: check for custom addr in go 2026-01-07 15:30:03 +01:00
rioradio
c432008deb feat: support X-Forwarded-Proto for manifest URL (#1395) 2025-09-28 11:28:36 +02:00
Maxi Quoß
bd6038720b fix: generate manifest in go backend 2025-09-15 22:21:00 +02:00
Maxi Quoß
f8a26547bc feat: add auto binary update 2025-08-04 02:52:06 +02:00
Maxi Quoß
c05ea6266f feat: add "wake group" button 2025-05-21 23:34:45 +02:00
Kevin Cui
2ae595ad13 feat(api): support async call (#1166)
* feat(api): support async call

Signed-off-by: Kevin Cui <bh@bugs.cc>

* feat: parse bool to allow various values

---------

Signed-off-by: Kevin Cui <bh@bugs.cc>
Co-authored-by: Maxi Quoß <maxi@quoss.org>
2025-05-21 22:08:23 +02:00
Maxi Quoß
20e274d432 feat: handlers return status of device action 2025-04-19 09:37:23 +02:00
Maxi Quoß
59926b8c28 feat: validate cron with backend, show next cron date 2025-03-08 11:27:24 +01:00
Maxi Quoß
de4a46995c fix: formatting 2025-02-09 23:49:42 +01:00
Maxi Quoß
cee1669a0e feat: improve cron syntax validation and force 6 digits with seconds 2025-02-07 14:05:34 +01:00
Maxi Quoß
c6a9af4086 fix: importSettings argument 2024-12-31 12:15:16 +01:00
Maxi Quoß
61980c62d7 fix: remove global app variable 2024-12-31 12:11:34 +01:00
Maxi Quoß
47b81553be fix: use named parameters 2024-12-29 12:11:09 +01:00
Maxi Quoß
9ebe092b9d fix: create custom superuser setup to change new pocketbase superuser behavior 2024-12-29 12:00:12 +01:00
Maxi Quoß
27e6bf01d3 fix: apply migrations 2024-12-28 11:48:25 +01:00
Maxi Quoß
2f1acee092 go-dep: pocketbase > 0.23 2024-12-28 11:03:19 +01:00
Maxi Quoß
ce9e27d70b fix: possible solution for #506 2024-04-11 22:51:46 +02:00
seriousm4x
30c074930c feat: add custom scan timeout env UPSNAP_SCAN_TIMEOUT #193 2023-12-22 09:14:39 +01:00
seriousm4x
16ec0b42ea fix: memory leak for cronjobs #356 2023-12-18 21:02:23 +01:00
seriousm4x
888cd82d00 use full nmap path in exec 2023-10-14 20:20:38 +02:00
seriousm4x
406f3cc28d feat: change location of DefaultDataDir 2023-10-02 01:20:46 +02:00
seriousm4x
d7b18c8513 fix: only stop cron if cron is running 2023-08-16 10:55:53 +02:00
seriousm4x
d57520c66d feat: add reboot button, #108 2023-08-16 09:49:36 +02:00
seriousm4x
733d6d519f feat: gracefully stop cron on terminate 2023-08-16 01:57:27 +02:00
seriousm4x
05686bf271 fix: ping port cause device stuck on pending 2023-08-16 01:28:13 +02:00
seriousm4x
f8186ba015 feat: add sleep-on-lan support, #24 #78 #108 #162 2023-08-15 17:44:59 +02:00
Maxi Quoß
58d497eab1 try avoid loop variable capture 2023-08-15 14:30:33 +02:00
seriousm4x
24aec5e1de define possible device.status values 2023-08-13 19:19:12 +02:00
seriousm4x
6fc02ce46d add user permissions to backend #75 2023-08-12 21:05:14 +02:00
seriousm4x
5b112d81ad go-dep: update all 2023-08-12 21:05:05 +02:00
seriousm4x
9fdfc8ad0b error check all database writes (debug for #135) 2023-07-21 20:02:11 +02:00
seriousm4x
debd82a288 add mac vendor to scan table 2023-07-01 19:27:29 +02:00
seriousm4x
c3eb2d869c netowrk scan: use reverse dns lookup for unknown devices #105 2023-07-01 12:35:41 +02:00
Maxi Quoß
87bf05528c own func for setup completed, refreshDeviceList() now returns error 2023-03-10 11:05:41 +01:00
Maxi Quoß
93a72207cc show register form if setup not completed 2023-03-10 10:52:38 +01:00
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ß
482a9884a4 add some error logging 2023-02-01 17:51:34 +01:00
Maxi Quoß
62cec056b9 rename package, auto add version to binary 2023-01-30 00:41:49 +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ß
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