dettlaff
389ec2c81c
feat: add swap usage query
2024-10-02 15:35:05 +03:00
Houkime
408284a69f
chore(backup): make a comment into a docstring
2024-09-13 12:11:56 +00:00
Houkime
b67777835d
fix(backup): make last slice return a correct list
2024-09-13 12:11:56 +00:00
Houkime
bfb0442e94
feature(backup): query to see restored snapshots in advance
2024-09-13 12:11:56 +00:00
Houkime
d4998ded46
refactor(services): migrate service management to a special service
2024-09-13 12:11:56 +00:00
Houkime
2ef674a037
refactor(services): PARTIAL migrate get_all_services
2024-09-13 12:11:56 +00:00
dettlaff
4cd90d0c93
feat: add Prometheus monitoring ( #120 )
...
Co-authored-by: nhnn <nhnn@disroot.org>
Co-authored-by: Inex Code <inex.code@selfprivacy.org>
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/120
Co-authored-by: dettlaff <dettlaff@riseup.net>
Co-committed-by: dettlaff <dettlaff@riseup.net>
2024-07-30 16:55:57 +03:00
Inex Code
1259c081ef
style: Reformat with new Black version
2024-07-26 22:59:44 +03:00
Inex Code
659cfca8a3
chore: Migrate to NixOS 24.05
2024-07-26 22:59:32 +03:00
nhnn
3c024cb613
feat: add option to filter logs by unit or slice
2024-07-25 20:34:28 +03:00
Inex Code
d18d644cec
Merge remote-tracking branch 'origin/master' into roundcube
2024-07-15 17:30:59 +04:00
Inex Code
5c5e098bab
style: do not break line before logic operator
2024-07-15 17:02:34 +04:00
nhnn
94b0276f74
fix: extract business logic to utils/systemd_journal.py
2024-07-13 11:58:54 +03:00
Inex Code
5f3fc0d96e
chore: formatting
2024-07-10 19:18:22 +04:00
Inex Code
9f5f0507e3
Merge remote-tracking branch 'origin/master' into api-logs
2024-07-10 18:52:10 +04:00
Houkime
442538ee43
feature(jobs): UNSAFE endpoint to get job updates
2024-07-04 17:19:25 +03:00
Houkime
cbe5c56270
chore(jobs): shorter typehints and import sorting
2024-07-04 17:19:25 +03:00
Houkime
fff8a49992
refactoring(jobs): break out a function returning all jobs
2024-07-04 17:19:25 +03:00
dettlaff
1b91168d06
style: fix imports
2024-06-27 17:43:13 +03:00
nhnn
8b2e4666dd
fix: rename PageMeta to LogsPageMeta
2024-06-11 12:36:42 +03:00
nhnn
3d2c79ecb1
feat: streaming of journald entries via graphql subscription
2024-06-06 16:07:08 +03:00
nhnn
fc2ac0fe6d
feat: graphql endpoint to fetch system logs from journald
2024-06-06 16:03:16 +03:00
Houkime
6d2fdab071
feature(jobs): UNSAFE endpoint to get job updates
2024-05-27 21:30:51 +00:00
Houkime
967e59271f
chore(jobs): shorter typehints and import sorting
2024-05-27 21:30:51 +00:00
Houkime
8d099c9a22
refactoring(jobs): break out a function returning all jobs
2024-05-27 21:30:51 +00:00
Inex Code
a742e66cc3
feat: Add "OTHER" as a server provider
...
We should allow manual SelfPrivacy installations on unsupported server providers. The ServerProvider enum is one of the gatekeepers that prevent this and we can change it easily as not much server-side logic rely on this.
The next step would be manual DNS management, but it would be much more involved than just adding the enum value.
2024-05-25 14:12:51 +03:00
Houkime
8e8e76a954
fix(backups): fix orphaned snapshots erroring out
2024-05-24 12:30:27 +00:00
Inex Code
b6f436d8b3
refactor: Adapt API to the NixOS configuration changes
2024-01-10 15:05:10 +02:00
Inex Code
6d09c7aa9b
feat: Provide display names in DNS records
2023-11-24 13:57:52 +03:00
Houkime
dd6f37a17d
feature(auth): tz_aware recovery
2023-11-10 17:10:01 +00:00
Inex Code
8b840d4c2c
fix(backups): expose snapshot reason and set the default value
2023-09-09 09:52:20 +03:00
Inex Code
ad9384c850
fix(graphql): backup quotas field typing
2023-08-30 12:03:19 +03:00
Houkime
9fdc536f9f
BROKEN(backups): hooking up quotas to API fails. AutobackupQuotas needs to be an input type, but if input type, it fails because it needs to be an Output type, which is not documented
2023-08-28 18:24:29 +00:00
Inex Code
641ab26069
fix(storage): fix root device detection and ignore iso9660
2023-07-28 03:14:50 +03:00
Inex Code
0245d629fd
refactor(backups): linting
2023-07-20 18:24:26 +03:00
Inex Code
1664f857ea
fix(backups): Providers were not initialized corretly
2023-06-23 14:36:16 +03:00
Inex Code
d356fad534
fix(backups): Handle orphaned snapshots
2023-06-14 02:52:10 +03:00
Inex Code
f4df1f6a62
fix(backups): return type of encryption key
2023-06-14 01:40:53 +03:00
Inex Code
0ef6569d97
fix(backups): try to actually get backup configuration
2023-06-14 00:43:01 +03:00
Inex Code
d02302c7b2
fix: BackupConfiguration argument order
2023-06-13 23:54:02 +03:00
Houkime
d6609b29e8
feature(backups): get all snapshots if requested by api
2023-06-05 11:36:58 +00:00
Houkime
345e2c10c4
feature(backups): a graphql query to get provider info
2023-05-29 16:12:31 +00:00
Houkime
f1987edd99
feature(backups): register localfile backend
2023-05-17 20:27:40 +00:00
Houkime
a66a3f35fc
feat(backup): add in-memory backup
2023-05-17 20:27:40 +00:00
Houkime
6d73405118
feature(backups): add backup structures and queries
2023-05-17 20:27:40 +00:00
inexcode
670911a92a
feat(dns): Add deSec as a DNS provider
2023-05-09 11:58:30 +03:00
Inex Code
8ce13f0ad2
feat: Add Digital Ocean as a DNS provider
2023-02-06 11:50:43 +03:00
Houkime
b11e5a5f77
refactor(tokens-repo): delete recovery key quieries from auth utils
2022-12-26 14:51:37 +00:00
Houkime
69577c2854
refactor(tokens-repo): delete get_recovery_key_status from auth utils
2022-12-26 14:29:05 +00:00
Inex Code
57794c9535
style(graphql): Add missing comma
...
\
2022-11-28 15:49:48 +03:00