Commit graph

320 commits

Author SHA1 Message Date
Luc Didry
34dee83701
🐛 — Fix websites frequency parsing 2023-12-14 16:39:37 +01:00
Luc Didry
c4bbda52a5
🎨🔥 — Don’t use js for auto-refresh 2023-12-14 16:38:39 +01:00
Luc Didry
cd7adafe7d
— Add autorefresh feature on dashboard 2023-12-14 16:36:53 +01:00
Luc Didry
a4e6799fd0 Merge branch 'fix-15' into 'main'
 — Implement mail and gotify alerts. Fix #15 and #16

Closes #16 et #15

See merge request framasoft/framaspace/argos!13
2023-12-14 15:35:10 +00:00
Luc Didry
2f83adcc4f
📝 — Update TODO in README.md 2023-12-14 16:33:45 +01:00
Luc Didry
a4163b5e25
💄 — Add previous status in notifications 2023-12-14 16:31:51 +01:00
Luc Didry
9ed58220f4
🎨 — Make each handler build its own message 2023-12-14 16:31:51 +01:00
Luc Didry
2ab9afabc9
— Use alerts config in handle_alert 2023-12-14 16:31:51 +01:00
Luc Didry
39eace6152
💄 — Add link to task view in notifications 2023-12-14 16:31:51 +01:00
Luc Didry
04aaa3d8d7
Merge branch 'fix-16' into fix-15 2023-12-14 16:31:37 +01:00
Luc Didry
dc49f0bb3e
🚨 — Fix pylint warnings 2023-12-14 16:25:46 +01:00
Luc Didry
67bacc226a
🚨 — Fix pylint warnings 2023-12-14 16:25:46 +01:00
Luc Didry
d629b4bd0c
📝 — Add an example of mail conf in config-example.yaml 2023-12-14 16:25:46 +01:00
Luc Didry
7a3a2d3b2b
📝 — Add an example of gotify conf in config-example.yaml 2023-12-14 16:25:46 +01:00
Luc Didry
ec97d98231
🎨 — Split mail in subject + content 2023-12-14 16:25:46 +01:00
Luc Didry
abe4f418b7
— Implement gotify alerts. Fix #16 2023-12-14 16:25:46 +01:00
Luc Didry
2ffea278dd
🎨 — Improve mail alerting code 2023-12-14 16:25:46 +01:00
Luc Didry
de1f0cc22a
— Implement mail alerts. Fix #15 2023-12-14 16:25:46 +01:00
Luc Didry
bb39e53845 📝 — Update TODO in README.md 2023-12-14 15:20:46 +01:00
Luc Didry
2d6091ea41 🐛 — Fix alerts config in test scenario 2023-12-14 15:20:46 +01:00
Luc Didry
75df5c1110 🐛 — Fix alerts config in test config 2023-12-14 15:20:46 +01:00
Luc Didry
3600c2b4f7 🩹 — Update pydantic schema for alerts 2023-12-14 15:20:46 +01:00
Luc Didry
cbc75c710c 🩹 — Fix alerts in config-example.yaml 2023-12-14 15:20:46 +01:00
Luc Didry
fec8395039 🩹 — Raise checks timeout 2023-12-14 15:20:46 +01:00
Luc Didry
147d3c63c2 🔒 — Remove CDN in docs (fix #18) 2023-12-14 15:20:46 +01:00
Luc Didry
c909f7179b 📝 — Improve documentation 2023-12-14 15:20:46 +01:00
Luc Didry
4930286380 🐛 — Fix cog not working 2023-12-14 15:20:45 +01:00
Luc Didry
8ff6473335 📄 — Include AGPLv3 text in the repository 2023-12-14 15:20:45 +01:00
Luc Didry
e10f4e9c2d Use Pylint 2023-12-14 15:20:33 +01:00
Luc Didry
ca09506a11 💄 — Improve links in footer 2023-12-04 17:25:37 +01:00
Luc Didry
1291dffdf7 Merge branch 'fix-17' into 'main'
💄 — Add link to repository in footer (Fix #17)

Closes #17

See merge request framasoft/framaspace/argos!19
2023-12-04 09:43:16 +00:00
Luc Didry
d1462684fe 💄 — Add link to repository in footer (Fix #17) 2023-12-04 10:41:48 +01:00
Luc Didry
88b1ca4d9e 🐛 — Fix get_severity_counts returned result 2023-11-28 17:20:00 +01:00
e199b4932c Merge branch 'almet/document-systemd' into 'main'
Put systemd configuration files in the docs.

Closes #3

See merge request framasoft/framaspace/argos!14
2023-11-24 11:15:47 +00:00
Luc Didry
130892358e Merge branch 'almet/document-environ' into 'main'
Add docs for environment variables

See merge request framasoft/framaspace/argos!15
2023-11-24 07:19:50 +00:00
1554661e54 Add docs for environment variables 2023-11-23 17:58:12 +01:00
9815f00e78 Put systemd configuration files in the docs.
Fix #3
2023-11-23 17:30:16 +01:00
94049bc0ff Merge branch 'djlint' into 'main'
🚨👷 — Add djlint in CI + fix djlint warnings

See merge request framasoft/framaspace/argos!10
2023-11-22 15:36:12 +00:00
ec4cd2babb Merge branch 'update-agent-doc' into 'main'
📝 — Update agent doc (on using the env vars)

See merge request framasoft/framaspace/argos!11
2023-11-22 15:35:27 +00:00
Luc Didry
207c4c54fc 📝 — Update agent doc (on using the env vars) 2023-11-22 16:00:54 +01:00
Luc Didry
61c3dd3fa7 🚨👷 — Add djlint in CI + fix djlint warnings 2023-11-22 15:54:37 +01:00
Luc Didry
b21399792e Merge branch 'almet/fix-serverstart' into 'main'
Call uvicorn via python rather than subprocess

See merge request framasoft/framaspace/argos!8
2023-11-22 13:13:43 +00:00
eaff5e8989 Merge branch 'fix-13' into 'main'
 — Allow to use env vars for agent’s token and server URL. Fix #13

Closes #13

See merge request framasoft/framaspace/argos!9
2023-11-22 13:12:20 +00:00
c09527f561 Replace dict.set() by dict.setdefault() 2023-11-22 14:10:31 +01:00
Luc Didry
fd6fdfefa9 — Allow to use env vars for agent’s token and server URL. Fix #13
Avoid to leak the token in `htop` for ex.
2023-11-22 13:48:42 +01:00
e652659fb6 Merge branch 'quick-overview' into 'main'
💄 — Quick supervision overview on homepage

See merge request framasoft/framaspace/argos!7
2023-11-22 12:34:17 +00:00
27857c182a Make queries.get_severity_counts() return a dict 2023-11-22 13:25:33 +01:00
243c713cbf Merge branch 'fix-sqlalchemy-engine-pool-size' into 'main'
🔧 — Default SQLAlchemy pool size is too low for production

See merge request framasoft/framaspace/argos!5
2023-11-22 12:20:40 +00:00
fa9e79d72c Call uvicorn via python rather than subprocess 2023-11-22 13:15:32 +01:00
Luc Didry
1f33110e68 🚨 — HTML linting 2023-11-21 16:11:10 +01:00