85 Commits

Author SHA1 Message Date
seriousm4x
9fdfc8ad0b error check all database writes (debug for #135) 2023-07-21 20:02:11 +02:00
seriousm4x
bc1d8c8e6f nicer changelogs 2023-07-20 01:37:38 +02:00
seriousm4x
13e3dc529a update deps 2023-07-20 01:02:15 +02:00
dependabot[bot]
dbe38ed7e8 Bump github.com/pocketbase/pocketbase from 0.16.9 to 0.16.10 in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.16.9 to 0.16.10.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.16.9...v0.16.10)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 09:43:26 +00:00
dependabot[bot]
18b1996a92 Bump github.com/pocketbase/pocketbase from 0.16.8 to 0.16.9 in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.16.8 to 0.16.9.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.16.8...v0.16.9)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-14 09:44:04 +00:00
Maxi Quoß
06b7d3e8a6 lower minimum user password length to 5, #112 2023-07-10 16:11:34 +02:00
dependabot[bot]
6be4f29f08 Bump github.com/pocketbase/pocketbase from 0.16.7 to 0.16.8 in /backend
Bumps [github.com/pocketbase/pocketbase](https://github.com/pocketbase/pocketbase) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/pocketbase/pocketbase/releases)
- [Changelog](https://github.com/pocketbase/pocketbase/blob/master/CHANGELOG.md)
- [Commits](https://github.com/pocketbase/pocketbase/compare/v0.16.7...v0.16.8)

---
updated-dependencies:
- dependency-name: github.com/pocketbase/pocketbase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 09:16:48 +00:00
dependabot[bot]
a171a5b5cb Bump github.com/prometheus-community/pro-bing in /backend
Bumps [github.com/prometheus-community/pro-bing](https://github.com/prometheus-community/pro-bing) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/prometheus-community/pro-bing/releases)
- [Changelog](https://github.com/prometheus-community/pro-bing/blob/main/.goreleaser.yaml)
- [Commits](https://github.com/prometheus-community/pro-bing/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus-community/pro-bing
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-06 09:28:58 +00:00
seriousm4x
47c03527d0 update go dependencies 2023-07-03 20:03:12 +02:00
seriousm4x
debd82a288 add mac vendor to scan table 2023-07-01 19:27:29 +02:00
seriousm4x
319817983e only allow user registrations from oauth, not user/password #103 2023-07-01 17:48:33 +02:00
seriousm4x
a31f704274 add oidc user auth #103 2023-07-01 14:27:56 +02:00
seriousm4x
c3eb2d869c netowrk scan: use reverse dns lookup for unknown devices #105 2023-07-01 12:35:41 +02:00
seriousm4x
63bf2367c2 avoid device replication #97 2023-07-01 11:24:50 +02:00
seriousm4x
8628e13e45 add device groups #97 2023-06-29 17:16:10 +02:00
Maxi Quoß
343be4249b update dependencies 2023-06-28 11:36:53 +02:00
Maxi Quoß
326a7f359f update dependencies 2023-06-01 14:33:49 +02:00
seriousm4x
1faae16e18 update dependencies
- fix sveltekit csrf issue
- pocketbase 0.14.3
2023-04-07 21:57:41 +02:00
seriousm4x
9106d25b95 add armv6 support #64 2023-03-21 01:13:16 +01:00
Maxi Quoß
9e83416848 update dependencies 2023-03-19 19:58:13 +01: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ß
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