Commit graph

10 commits

Author SHA1 Message Date
Luc Didry
e2402ac190
💥 — Change default config file path to argos-config.yaml (fix #36)
Argos will first try the given config file (given either with `--config` or with
`ARGOS_YAML_FILE` env var), then `argos-config.yaml`, then `/etc/argos/config.yaml`.
2024-06-17 16:15:53 +02:00
Luc Didry
f52dd5dd8a
🎨 — Use pathlib.Path instead of os.path 2024-05-28 16:03:37 +02:00
Luc Didry
6f93eeee49
🎨 — Ruff formating 2024-03-25 13:19:07 +01:00
Luc Didry
e10f4e9c2d Use Pylint 2023-12-14 15:20:33 +01:00
6e408e1cf7 Allow defining db pool size and max overflow in the settings 2023-11-16 17:08:05 +01:00
a9f823fbfa 🌱 Let's start with the Gitlab CI 2023-10-18 23:17:23 +02:00
9885a5809a Add an 'argos server clean' command that needs to be run periodically to clean the db 2023-10-18 21:45:10 +02:00
bf24f87fd7 Add more information on database configuration, and allow using a .env file 2023-10-18 02:37:00 +02:00
75a8af37f0 Added a few more template files 2023-10-18 02:23:36 +02:00
43f8aabb2c Refactor server codebase for testing.
- Restructured server module to separate the application creation and configuration.
- Moved code dealing with SQLAlchemy database
  setup and teardown to the main application file.
- Moved functions related to configuration file loading to `argos.server.settings`.
- Fixed SQLAchemy expressions in `argos.server.queries`.
- Implemented a more granular system of setting checks' schedule on the server.
- Introduced frequency scheduling on per-website basis in the YAML config.
- Introduced Pytest fixtures for handling test database and authorized HTTP client in `tests/conftest.py`.
- Included a first test for the api
- Implemented changes to models to accommodate changes to task scheduling.
- Fixed errors concerning database concurrency arising from changes to the application setup.
2023-10-11 23:52:33 +02:00