Commit graph

372 commits

Author SHA1 Message Date
Luc Didry
6f93eeee49
🎨 — Ruff formating 2024-03-25 13:19:07 +01:00
Luc Didry
6f856afe4a 🔀 Merge branch 'fix-19' into 'main'
🐛 — Delete tasks which are not in config file anymore (fix #19)

Closes #19

See merge request framasoft/framaspace/argos!25
2024-03-25 10:41:19 +00:00
Luc Didry
6c90543392
🩹 — Fix Alembic version after pull rebase 2024-03-21 15:52:41 +01:00
Luc Didry
d19622060f
🎨 — Rename connect_db_at_startup function 2024-03-21 15:50:17 +01:00
Luc Didry
064e43dc01
🗃 — Add ON DELETE CASCADE to results’ task_id constraint 2024-03-21 15:50:16 +01:00
Luc Didry
cf609eae6b
🎨 — Improve code structure following review of MR !25 2024-03-21 15:49:40 +01:00
Luc Didry
8875c704ee
💄 — Use an argos server command to do alembic migrations 2024-03-21 15:49:40 +01:00
Luc Didry
f976905433
♻ — Move tasks config (re)loading into a command 2024-03-21 15:49:40 +01:00
Luc Didry
e3b1b714b3
🐛 — Delete tasks which are not in config file anymore (fix #19) 2024-03-21 15:49:39 +01:00
Luc Didry
017738ffd7 Merge branch 'simplify-schema' into 'main'
🗃💄🎨 — Lot of changes: DB, UI and some code improvements

Closes #27

See merge request framasoft/framaspace/argos!17
2024-03-21 14:49:02 +00:00
Luc Didry
8e9c892b57
🩹 — Fix to-process severity renaming leftover 2024-03-20 09:34:23 +01:00
Luc Didry
fadc3d7f17
📝 — Document gunicorn socket binding with an example 2024-03-18 16:17:55 +01:00
Luc Didry
5703fb3341
🎨 — Restructure alembic migration generated code 2024-03-18 09:13:24 +01:00
Luc Didry
49f64b0054
🩹 — Remove merge leftover 2024-03-14 16:49:03 +01:00
Luc Didry
be647a80b2
🩹 — Fix bad route name called in alerting.py 2024-03-14 16:49:03 +01:00
Luc Didry
9427f8e301
🩹 — Fix bad variable name 2024-03-14 16:49:03 +01:00
Luc Didry
9ff2814789
🗃 — Make simpler DB query in get_agents_view 2024-03-14 16:49:03 +01:00
Luc Didry
67d92499bb
📝 — Add response examples for swagger/redoc in routes/api 2024-03-14 16:49:03 +01:00
Luc Didry
098575f186
— Link to reschedule non-ok checks (fix #27) 2024-03-14 16:49:03 +01:00
Luc Didry
a8cd9a9581
📝 — Doc: add Alembic to the projects we use 2024-03-14 16:49:03 +01:00
Luc Didry
e5bdee6cb7
🗃 — Alembic migration for adding severity to Task 2024-03-14 16:49:03 +01:00
Luc Didry
76bd10108d
🚨 — Improve djlint test and fix its warnings/errors 2024-03-14 16:49:02 +01:00
Luc Didry
024fd4c911
🚨 — Fix pylint warnings 2024-03-14 16:49:02 +01:00
Luc Didry
d0a097cf80
🎨 — Rename Task submitted_at to last_severity_update 2024-03-14 16:49:02 +01:00
Luc Didry
f2cec6a8ae
🗃💄🎨 — Lot of changes: DB, UI and some code improvements
- 🗃 Store last status and submitted_at in Task. Reduce queries number
- 🗃 Add an Unknown status
- 💄 Add a logo
- 💄 Add a navbar
- 💄 Add a filter on domains page
- 🎨 Use url_for in every templates’ href
2024-03-14 16:49:02 +01:00
Luc Didry
cb81b80b54
🩹💄 — Fix auto-refresh form + limit delay input width 2024-03-14 16:47:30 +01:00
Luc Didry
8c6fe27968
📝 — Fix typo in doc 2024-03-14 15:19:44 +01:00
Luc Didry
a64022d724
✏ — Fix typo in variable name 2024-03-14 15:08:55 +01:00
Luc Didry
9693d22f0f
📝 — Add link to developer/migrations in doc side menu 2024-03-13 14:59:39 +01:00
Luc Didry
93b05e6d4f Merge branch 'almet/migration' into 'main'
Add support for migrations

See merge request framasoft/framaspace/argos!32
2024-02-01 13:54:20 +00:00
727786aa55 Merge branch 'fix-pg-instructions' into 'main'
📝 — Use sudo -u postgres in PostgreSQL doc

See merge request framasoft/framaspace/argos!30
2023-12-21 22:24:42 +00:00
Luc Didry
f88e3ba3b0
🐛 — Fix get_agents_view DB request (fix #26) 2023-12-21 08:03:42 +01:00
e7e06f7838 Merge branch 'fix-ci-almet-migration' into 'almet/migration'
Fix ci almet migration

See merge request framasoft/framaspace/argos!34
2023-12-18 07:55:36 +00:00
Luc Didry
9fb6d7b078
🩹 — Reintroduce validate_max_results and use it 2023-12-18 08:22:37 +01:00
Luc Didry
13cd20ad96
👷 — Fix CI (broken since changes in Makefile) 2023-12-18 08:19:44 +01:00
Luc Didry
bfdcbc82f7 Merge branch 'almet/docs/enhance-projects' into 'main'
📝 docs: enhance project list with descriptions

See merge request framasoft/framaspace/argos!31
2023-12-18 03:13:14 +00:00
1def0a0661 feat: Add alembic for db migrations 2023-12-16 23:35:56 +01:00
a8d86ea525 refactor: add a coroutine decorator for the click commands 2023-12-16 23:05:08 +01:00
08c3d8fc20 chore: reorder the pyproject.toml imports 2023-12-16 22:20:36 +01:00
ded10b3488 doc: update the default configuration file 2023-12-16 22:20:36 +01:00
03b805f223 build: add lint and develop targets 2023-12-16 22:20:36 +01:00
d6b53bed91 📝 docs: enhance project list with descriptions 2023-12-16 20:50:17 +01:00
Luc Didry
1a5a44fe6a
📝 — Use sudo -u postgres in PostgreSQL doc 2023-12-14 17:32:27 +01:00
Luc Didry
4cfc845fca Merge branch 'fix-24' into 'main'
📝 — Add links to API doc in footer. Fix #24

Closes #24

See merge request framasoft/framaspace/argos!29
2023-12-14 15:57:54 +00:00
Luc Didry
fff99f3b6c
📝 — Add links to API doc in footer. Fix #24 2023-12-14 16:56:22 +01:00
Luc Didry
c417ad3621 Merge branch 'improve-cleandb' into 'main'
🐛 — Remove selected_at on task once we got result + other things

See merge request framasoft/framaspace/argos!27
2023-12-14 15:49:04 +00:00
Luc Didry
56169b5430
🐛 — Remove selected_at on task once we got result + other things
- 🗃️ — lighten the stale lock removing query
- 💄 — introduce min value for --max-lock-seconds option
- 💄 — introduce min value for --max-results option
- 🐛 — fix display of `cleandb` command
2023-12-14 16:47:00 +01:00
Luc Didry
b8ffca069d Merge branch 'fix-domains-sorting' into 'main'
🐛 — Fix domains sorting on domains view

See merge request framasoft/framaspace/argos!26
2023-12-14 15:46:29 +00:00
Luc Didry
9df5af7cb4
🎨 — Better domains sorting on domain view 2023-12-14 16:43:45 +01:00
Luc Didry
9316aa9a79
🐛 — Fix domains sorting on domains view 2023-12-14 16:43:45 +01:00