Commit graph

25 commits

Author SHA1 Message Date
880f444ff7 Merge pull request 'feat: allow configuring settings' (#6) from lukegb/stateless-uptime-kuma:settings into master
Reviewed-on: #6
Reviewed-by: thubrecht <tom.hubrecht@dgnum.eu>
Reviewed-by: mdebray <mdebray@dgnum.eu>
2024-10-06 21:31:09 +02:00
Luke Granger-Brown
269c7df40a feat: allow configuring settings
This allows setting a settings attrset in the module, which will then
change that setting to the specified value. This is particularly useful
for e.g. the `entryPage` setting, which you can then make set to a
particular value.

There's an escape hatch for string-valued secrets which live in the
settings, like the Steam API key: string-valued settings can be
specified by using the __FILE suffix on the setting name (e.g.
steamAPIKey__FILE) and then specifying the path to a file instead.
The content of that file will be used as the setting instead.
2024-10-06 20:15:12 +01:00
sinavir
390363e6a9 fix: Add a periodic update of dynamic probes
We add in our HTTP probes some keywords. Recompute them on a regular
basis to take account of service updates.

Closes #5
2024-09-29 17:13:17 +02:00
sinavir
c6baf60295 fix: tag synchronisation again 2024-04-21 20:50:30 +02:00
sinavir
8e32135aaa feat: Add auto deployment service 2024-04-21 20:43:01 +02:00
sinavir
b5f06dc7ef fix: tag value 2024-04-21 18:14:02 +02:00
sinavir
6bd649a7f7 fix: ping probes name 2024-04-21 18:14:02 +02:00
sinavir
8769cf0622 fix: change password env var 2024-04-21 17:35:57 +02:00
sinavir
0ee4239e62 feat: add helper functions to filter probes in lib 2024-04-21 13:58:31 +02:00
sinavir
1c73542d29 feat: add status page declarative setup 2024-04-21 13:58:31 +02:00
sinavir
456f923905 feat: add host, password and username handling 2024-04-21 13:58:31 +02:00
sinavir
ae50084fcb fix: add optional client dependencies for socketio 2024-04-21 13:58:31 +02:00
sinavir
c1863033bc feat: improve cli and scrapping (breaking change in json format) 2024-04-20 13:37:45 +02:00
sinavir
96f71648f5 feat: scrape probes 2024-04-20 13:37:03 +02:00
sinavir
a6904ba370 fix: dict.get default is already None 2024-04-19 17:19:50 +02:00
sinavir
ca878138a1 fix: refactor tags handling 2024-04-18 20:26:18 +02:00
sinavir
c4dfae1833 feat: add script to module 2024-04-18 19:36:28 +02:00
sinavir
9b4e87af6f feat: package python cli 2024-04-18 19:00:20 +02:00
sinavir
b60be21d5c feat: add readme 2024-04-18 19:00:06 +02:00
sinavir
57b8f18181 feat: add license 2024-04-18 18:36:25 +02:00
sinavir
4537c86d4d style: format 2024-04-18 18:23:11 +02:00
sinavir
0c6aa5730a feat: add very simple nixos module 2024-04-18 18:19:59 +02:00
sinavir
12b4168309 fix: tag sync 2024-04-18 17:35:46 +02:00
sinavir
77147e5d01 fix: Add some more debug logs 2024-04-18 17:35:28 +02:00
sinavir
927738ec71 init 2024-04-16 22:48:52 +02:00