Alexander Tomokhov
|
7883063dca
|
nixos: config.system.build.nixos-rebuild instead of pkgs.nixos-rebuild
|
2023-12-27 13:36:36 +04:00 |
|
Alexander Tomokhov
|
6735784bb7
|
nixos: nix flake lock /etc/nixos --update-input sp-modules
|
2023-12-27 13:21:46 +04:00 |
|
Alexander Tomokhov
|
400be88738
|
nixos: service Type is simple
Because API is not designed to wait for long-running start command.
|
2023-12-22 23:50:18 +04:00 |
|
Inex Code
|
1800c8ecd7
|
debug: add prints to rebuild_system
|
2023-12-22 14:46:52 +03:00 |
|
Alexander Tomokhov
|
97984d2644
|
nixos: systemd service Type = "oneshot"
Otherwise, "After" directive is meaningless for us.
|
2023-12-20 18:04:21 +04:00 |
|
Alexander Tomokhov
|
82b0915231
|
nixos: avoid simultaneous runs of nixos-rebuild services
By declaring ordering dependencies between nixos-rebuild services.
|
2023-12-18 23:48:17 +04:00 |
|
Alexander Tomokhov
|
8c9bf95c6d
|
nixos: sp-nixos-upgrade: update sp-modules/ own flake.lock
|
2023-12-18 22:24:57 +04:00 |
|
Alexander Tomokhov
|
ac340cbaf2
|
upgrade nixpkgs to 23.11
|
2023-12-18 21:43:12 +04:00 |
|
Alexander Tomokhov
|
789a1c579c
|
get rid of reading /var/domain
|
2023-12-18 07:38:13 +04:00 |
|
Alexander Tomokhov
|
08e04ee601
|
nixos: remove enableSwagger and b2Bucket options
|
2023-12-16 09:36:31 +04:00 |
|
Alexander Tomokhov
|
2bdb73d348
|
sp-nixos-rebuild: relock sp-modules each time
|
2023-12-12 15:42:03 +04:00 |
|
Alexander Tomokhov
|
0701984053
|
rename jitsi to jitsi-meet
|
2023-12-12 13:30:28 +04:00 |
|
Inex Code
|
91ff6eb989
|
refactor: move more services to sp-modules
|
2023-12-04 18:22:24 +03:00 |
|
Alexander Tomokhov
|
75f4e8d40e
|
module: fix sp-nixos-rebuild systemd script
|
2023-11-23 21:31:50 +04:00 |
|
Inex Code
|
8791462f87
|
fix: Migration from secrets to token
|
2023-11-23 16:15:53 +03:00 |
|
Alexander Tomokhov
|
8ccec53740
|
module: more realistic commands in systemd services
|
2023-11-23 11:36:02 +04:00 |
|
Alexander Tomokhov
|
9c18ab285c
|
module: set proper PYTHONPATH for huey with selfprivacy_api
|
2023-11-23 02:47:02 +04:00 |
|
Alexander Tomokhov
|
d020820d26
|
package: buildPythonApplication => buildPythonPackage
|
2023-11-23 02:42:38 +04:00 |
|
Alexander Tomokhov
|
2bbc2be6b5
|
module: delete NIX_PATH and PYTHONPATH usage
|
2023-11-22 22:51:55 +04:00 |
|
Inex Code
|
aa4e5a9251
|
fix: Remove unused migration entirely
|
2023-11-22 14:45:36 +03:00 |
|
Alexander Tomokhov
|
fa766b7027
|
use git revision as Nix derivation version
|
2023-11-22 09:45:53 +04:00 |
|
Alexander Tomokhov
|
b3a6e6393c
|
devShell: add python environment explicitly (for VS Code)
|
2023-11-22 09:45:07 +04:00 |
|
Inex Code
|
22f9d2e9df
|
refactor: Changes to reflect the new NixOS config structure
|
2023-11-21 23:14:42 +03:00 |
|
Alexander Tomokhov
|
d3873119b0
|
fix nixos-rebuild commands for systemd services
|
2023-11-21 07:10:41 +04:00 |
|
Alexander Tomokhov
|
e1847e1ce8
|
fix location of userdata.json file
|
2023-11-21 03:43:48 +04:00 |
|
Alexander Tomokhov
|
e28aa8d60d
|
minimal updates to systemd services
|
2023-11-18 06:37:14 +04:00 |
|
Alexander Tomokhov
|
e6e9d0677e
|
add selfprivacy-api NixOS module
Just a copy from selfprivacy-nixos-config.
|
2023-11-16 06:27:24 +04:00 |
|
Alexander Tomokhov
|
6f7613dedb
|
Merge remote-tracking branch 'origin/master' into flake
|
2023-11-16 04:39:33 +04:00 |
|
Inex Code
|
113bcf4c29
|
Merge pull request 'fix(backups): do not infinitely retry automatic backup if it errors out' (#69) from autobackup-errors into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/69
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
|
2023-11-15 13:20:43 +02:00 |
|
Inex Code
|
c3cec36ad4
|
style: formatting
|
2023-11-13 19:36:12 +03:00 |
|
Houkime
|
e414f3b8fd
|
fix(auth): fix timezone issues with recovery tokens
|
2023-11-13 09:15:12 -07:00 |
|
Houkime
|
1bbb804919
|
test(auth): token tests clearer about timezone assumptions
|
2023-11-10 17:40:52 +00:00 |
|
Houkime
|
dd6f37a17d
|
feature(auth): tz_aware recovery
|
2023-11-10 17:10:01 +00:00 |
|
Houkime
|
8badb9aaaf
|
refactor(auth): tz_aware expiration comparison
|
2023-11-10 13:31:12 +00:00 |
|
Houkime
|
8453f62c74
|
refactor(time): more time functions
|
2023-11-10 13:05:38 +00:00 |
|
Houkime
|
e78bcca9f2
|
test(auth): forced utc in recovery tests
|
2023-11-10 12:49:30 +00:00 |
|
Houkime
|
4d893d56b2
|
test(common): add forced utc times for tests
|
2023-11-10 12:38:12 +00:00 |
|
Houkime
|
73a847f288
|
feature(time): timestamp parsers
|
2023-11-10 12:19:32 +00:00 |
|
Houkime
|
b545a400c3
|
doc(jobs): document that we are tz-naive when storing jobs
|
2023-11-10 11:47:48 +00:00 |
|
Houkime
|
8caf7e1b24
|
fix(backups): do not infinitely retry automatic backup if it errors out
|
2023-11-10 10:20:27 +00:00 |
|
Inex Code
|
bc98e41be8
|
Merge pull request 'feat: Use redis as a data storage for auth data' (#68) from redis/connection-pool-merged into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/68
|
2023-11-10 10:57:59 +02:00 |
|
Alexander Tomokhov
|
b6e84f2596
|
git rid of NixOS configuration dependency
|
2023-11-06 12:39:26 +04:00 |
|
Alexander Tomokhov
|
b9b3451a54
|
Merge remote-tracking branch 'origin/master' into flake
|
2023-11-06 11:50:38 +04:00 |
|
Houkime
|
a66ee2d3e5
|
test(auth): fix future expiring too fast
|
2023-11-01 16:46:36 +00:00 |
|
Houkime
|
3deaeb28c5
|
test(auth): fix assert_ok's wrt nested structure
|
2023-11-01 15:30:29 +00:00 |
|
Houkime
|
b7cd703eaa
|
fix(tokens): missing timezone import
|
2023-10-25 14:53:18 +00:00 |
|
Inex Code
|
829aca14be
|
Merge branch 'master' into redis/connection-pool
|
2023-10-24 19:25:36 +03:00 |
|
Inex Code
|
badd619dd0
|
Merge pull request 'autobackup-job-ttl' (#62) from autobackup-job-ttl into master
Reviewed-on: https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api/pulls/62
Reviewed-by: Inex Code <inex.code@selfprivacy.org>
|
2023-10-10 20:25:30 +03:00 |
|
Houkime
|
ece3258c78
|
test(jobs): test out setting ttl
|
2023-10-10 20:25:14 +03:00 |
|
Houkime
|
26c0a8fafe
|
feature(jobs): set 1 hour ttl for successful autobackup jobs
|
2023-10-10 20:25:14 +03:00 |
|