Commit graph

92 commits

Author SHA1 Message Date
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
Luc Didry
d2a12aea30 💄 — Quick supervision overview on homepage 2023-11-21 16:11:03 +01:00
6e408e1cf7 Allow defining db pool size and max overflow in the settings 2023-11-16 17:08:05 +01:00
Luc Didry
43078da6a1 🔧 — Default SQLAlchemy pool size is too low for production
Defaults values:
- pool_size=5
- max_overflow=10

We should have a setting in the configuration file for that.
2023-11-16 17:08:05 +01:00
Luc Didry
463594b2fc Merge branch 'almet/pydantic-configdicts' into 'main'
Use new Pydantic ConfigDict. Fixes #10

Closes #10

See merge request framasoft/framaspace/argos!6
2023-11-16 15:42:20 +00:00
76528b0e24 Use new Pydantic ConfigDict. Fixes #10 2023-11-16 01:00:20 +01:00
2383326af8 Fix broken links and update docs 2023-11-12 17:23:13 +01:00
33becdd753 Accept all HTTP returned status for the SSL check.
Fixes #7
2023-10-30 15:53:23 +01:00
0e08bc8be6 Allow exceptions for advanced checks.
- See more information about this in #7
2023-10-30 15:02:13 +01:00
e20b1fcabe Merge branch 'improve-logs' into 'main'
🔊 — Improve alerting log

See merge request framasoft/framaspace/argos!4
2023-10-26 10:46:09 +00:00
Luc Didry
09047fe69a 🔊 — Improve alerting log 2023-10-25 16:49:59 +02:00
429351054d Merge branch 'fix-ssl-bug' into 'main'
🐛 — Fix SSL check cert

See merge request framasoft/framaspace/argos!3
2023-10-25 12:56:32 +00:00
Luc Didry
5ef8600034 🐛 — Fix SSL check cert
Some (stupid) services don’t answer the same way when getting requested with HEAD or GET.
Like GET -> 200, HEAD -> 405.
https://github.com/h2non/imaginary is an example of such a service.
2023-10-25 14:52:17 +02:00
aee1545814 Deduplicate checks from settings. Fixes #5
- Allow the database to have duplicates (previous calls were causing a server crash)
- Add tests scenarii for duplication
2023-10-25 00:00:25 +02:00
7997e9bbcd Remove debug code 2023-10-24 18:51:33 +02:00
2124f49e43 Merge branch 'fix-2' into 'main'
📝 — Remove real URLs from config-example.yaml

See merge request framasoft/framaspace/argos!2
2023-10-24 16:47:27 +00:00
4c3649e3dd Merge branch 'fix-doc-server-run' into 'main'
📝 — Fix server start documentation

See merge request framasoft/framaspace/argos!1
2023-10-24 16:46:58 +00:00
78493f09a0 Add documentation about the API. Fixes #4 2023-10-24 18:36:45 +02:00
01e8f0b161 Install with 'pip install -e .' until argos is released on PyPI. Fixes #1 2023-10-24 18:13:56 +02:00
b105004f3b Add the number of agents in the index template 2023-10-24 18:01:13 +02:00
Luc Didry
00dfc00aa8 📝 — Remove real URLs from config-example.yaml 2023-10-24 10:50:48 +02:00
Luc Didry
1153d8c2b2 📝 — Fix server start documentation 2023-10-24 10:40:21 +02:00
5bca4fa261 argos server cleandb now keep a number of results per task 2023-10-20 02:40:06 +02:00
9d4dfd2555 Remove most stuff from the README, it's in the docs now 2023-10-20 01:37:41 +02:00
158e7ac44c Create a new http client on agent retry 2023-10-20 01:35:30 +02:00
93fb9cebca Add an AGPLv3 license 2023-10-20 01:29:12 +02:00
0adb5e2766 Change mermaid class diagrams 2023-10-20 01:25:17 +02:00
336c4e783b Add some more documentation 2023-10-20 01:09:38 +02:00
77adbe46eb 📝 Start a documentation 2023-10-19 22:46:01 +02:00