Commit graph

49 commits

Author SHA1 Message Date
nhnn 2d07505b4d feat: make query result typed (WIP, tests are broken) 2024-07-27 15:37:38 +03:00
Inex Code a1bbd31833 style: Reformat with new Black version 2024-07-26 23:02:22 +03:00
Inex Code f005e4100c feat: Service configuration (#127)
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/127
2024-07-26 18:39:12 +03:00
Inex Code e0380d149b chore: Review fixes 2024-07-25 16:48:34 +03:00
nhnn 7fd97fe0b2 fix: add location to monitoring migration 2024-07-24 15:02:56 +03:00
nhnn e9cecd6789 fix: remove subdomain property on monitoring 2024-07-24 06:18:11 +03:00
nhnn d0aec6cd06 fix: rename prometheus to monitoring 2024-07-24 06:12:18 +03:00
dettlaff 73f4915294 Merge remote-tracking branch 'origin/master' into add_monitoring_prometheus 2024-07-24 04:39:43 +04:00
dettlaff 4fc87e48b2 fix: import 2024-07-23 20:05:27 +04:00
dettlaff f3f1114bc6 fix: add migration to migration list 2024-07-18 20:40:18 +04:00
dettlaff 5bb49f2109 fix: rename prometheus file 2024-07-17 21:49:53 +04:00
dettlaff 80a46a58ac feat: add prometheus migration 2024-07-17 19:44:56 +04:00
Inex Code 6e0bf4f2a3 chore: PR cleanup 2024-06-27 17:43:13 +03:00
nhnn f1cc84b8c8 fix: add migrations to migration list in migrations/__init__.py 2024-06-27 17:43:13 +03:00
dettlaff 02bc74f4c4 fix: only roundcube migration, other services removed 2024-06-27 17:43:13 +03:00
dettlaff 416a0a8725 fix: from review 2024-06-27 17:43:13 +03:00
dettlaff 82a0b557e1 feat: add migration for userdata 2024-06-27 17:43:13 +03:00
dettlaff 78dec5c347 feat: move get_subdomain to parent class 2024-06-27 17:43:13 +03:00
dettlaff 4d898f4ee8 feat: add migration for services flake 2024-06-27 17:43:13 +03:00
Inex Code 2019da1e10 feat: Track the status of the nixos rebuild systemd unit 2024-02-12 18:17:18 +03:00
Inex Code b6f436d8b3 refactor: Adapt API to the NixOS configuration changes 2024-01-10 15:05:10 +02:00
Houkime 8e21e6d378 feature(services): introduce 'modules' field in userdata and group services settings there 2024-01-08 13:12:27 +00:00
Inex Code 829aca14be Merge branch 'master' into redis/connection-pool 2023-10-24 19:25:36 +03:00
Inex Code b3a37e8b1f fix: Migrate to SP channel from 22.11 installations 2023-06-14 19:27:11 +03:00
Houkime 3344ab7c5d feat(tokens-repo): add migration of tokens to redis 2023-06-14 14:03:14 +03:00
Inex Code 5ada12d2f3 feat: Add a migration that will prepare server for 22.11 upgrade 2023-03-17 16:37:47 +03:00
Houkime 7d58eb3d92 fix wrong cloudflare field key 2022-11-02 13:52:33 +00:00
Houkime decb98afe2 add providers.py to the list of migrations
Makes providers.py actually run.
2022-11-02 13:52:33 +00:00
Houkime b0c26b876a add providers migration 2022-11-02 13:52:33 +00:00
inexcode 8cdacb73dd refactor: Use singleton metaclass for all singleton classes 2022-10-27 18:31:52 +03:00
Inex Code 0a09a338b8 Register migration 2022-09-22 19:41:48 +03:00
Inex Code 7a1e8af8fe Catch error during binds migration and delete the job if it is stuck during restart 2022-09-22 19:38:59 +03:00
Inex Code 67c8486c9b Add more fields to GraphQL storage query 2022-07-30 17:48:33 +03:00
inexcode 1f64a76723 Fix typo 2022-07-26 15:52:28 +03:00
inexcode e3245cd26a Add mount volume migration 2022-07-26 15:33:44 +03:00
Inex Code 3044557963 Fix formatting 2022-05-02 10:59:04 +03:00
Inex Code f31b1173a2 add migration to init 2022-04-29 14:27:13 +03:00
Inex Code ac220c6968 some logging 2022-04-29 14:24:25 +03:00
Inex Code f2c73853bc Add migration to selfprivacy nix channel 2022-04-28 16:22:13 +03:00
inexcode c22fe9e8bd Linting 2022-02-16 16:03:38 +03:00
Inex Code ade7c77754 Fix bugs 2022-01-17 13:28:17 +02:00
Inex Code fe86382819 Fix migration to run 2022-01-14 09:24:33 +02:00
Inex Code ea696d0f0e Inital auth work, untested 2022-01-14 08:38:53 +03:00
Inex Code aa76f87828 Allow user to disable all migrations entirely 2022-01-11 08:57:14 +03:00
Inex Code 6c0af38e27 Move is_migration_needed call under try block too 2022-01-11 08:54:57 +03:00
Inex Code 355fc68232 Fix newline 2022-01-11 08:52:43 +03:00
Inex Code 07cf926e79 Fix migration crashes. 2022-01-11 08:52:15 +03:00
Inex Code 650032bdab Formatting 2022-01-11 08:41:25 +03:00
Inex Code 0c61c1abb5 Migrations mechanism and fix to the nixos-config branch 2022-01-11 08:36:11 +03:00