1
Fork 0
Commit Graph

72 Commits

Author SHA1 Message Date
Motiejus Jakštys 185669d69b rename remaining `e11sync` to `e11sync-backend` 2024-01-15 16:17:16 +02:00
Motiejus Jakštys 50c34aa922 replace gunicorn with uwsgi
has an easier-to-work-with prometheus.
2024-01-15 16:14:46 +02:00
Motiejus Jakštys b983a2f59a e11sync-caddy: weaker STS
I don't know what I will be putting to subdomains yet.
2024-01-15 13:38:14 +02:00
Motiejus Jakštys c3d052ad01 add e11sync-caddy 2024-01-15 13:27:27 +02:00
Motiejus Jakštys 9870e5c239 flake.nix: remove unnecessary `@ inputs` 2024-01-15 10:57:42 +02:00
Motiejus Jakštys 290838e6e7 geoip: compress the archive
less inputs, less downloading.
2024-01-15 10:52:46 +02:00
Motiejus Jakštys 85b75daba5 flake.nix: formatting 2024-01-15 10:43:12 +02:00
Motiejus Jakštys 78246dde2d run e11sync from nix store 2024-01-15 10:42:26 +02:00
Motiejus Jakštys 98b4044171 urls: remove comment 2024-01-15 10:28:09 +02:00
Motiejus Jakštys 95c67fc575 settings: $STATE_DIRECTORY is not useful
Packages on "real servers" will set it in package params.
2024-01-15 10:24:49 +02:00
Motiejus Jakštys 2301cb2191 79 chars 2024-01-15 10:10:11 +02:00
Motiejus Jakštys ad62170e87 make format 2024-01-15 10:03:07 +02:00
Motiejus Jakštys dae7ad1c6a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/c1be43e8e837b8dbee2b3665a007e761680f0c3d' (2024-01-05)
  → 'github:NixOS/nixpkgs/428544ae95eec077c7f823b422afae5f174dee4b' (2024-01-13)
2024-01-15 09:23:29 +02:00
Motiejus Jakštys 4464e89cbb comment autopep8 2024-01-15 09:22:16 +02:00
Motiejus Jakštys 7db77e5b24 add flake8 for python 2024-01-15 09:09:39 +02:00
Motiejus Jakštys 94626bb28b some linters 2024-01-15 08:46:30 +02:00
Motiejus Jakštys e17646b070 flakes: get rid of `self` 2024-01-15 07:50:38 +02:00
Motiejus Jakštys 2bcc5a8585 remove obsolete python3 usage 2024-01-14 23:41:35 +02:00
Motiejus Jakštys 30a374ee03 test: patch the interpreter instead of invoking python directly 2024-01-14 23:41:19 +02:00
Motiejus Jakštys 7007e9d5f6 indent 2024-01-14 23:31:23 +02:00
Motiejus Jakštys a950f87178 e11sync: add an optional 'database-path'
will be useful during deployment.
2024-01-14 23:23:39 +02:00
Motiejus Jakštys 0f16146e63 flake.nix: don't ignore extra args 2024-01-14 23:03:25 +02:00
Motiejus Jakštys 87cdffd212 e11sync-static: patch sources correctly 2024-01-14 23:02:43 +02:00
Motiejus Jakštys 75fb04d227 flake.nix: avoid `rec` 2024-01-14 22:45:54 +02:00
Motiejus Jakštys 446413083a read secret key from file 2024-01-14 20:18:52 +02:00
Motiejus Jakštys 9700a24db5 rename to unit test 2024-01-14 20:08:27 +02:00
Motiejus Jakštys fce0c341d2 nicer syntax 2024-01-14 20:06:50 +02:00
Motiejus Jakštys 464170b7f0 remove redundant dependency 2024-01-14 20:05:42 +02:00
Motiejus Jakštys 27e0979c86 geoip-archive: move to it's own package 2024-01-14 20:04:41 +02:00
Motiejus Jakštys dc72e8a2a4 move e11sync-static to it's own file 2024-01-14 20:00:17 +02:00
Motiejus Jakštys 6499795df1 e11sync: move to it's own package 2024-01-14 19:54:32 +02:00
Motiejus Jakštys 96181f5075 e11sync-gunicorn is a bit easier to use 2024-01-13 23:43:44 +02:00
Motiejus Jakštys 4555d5f1f9 fmt 2024-01-13 19:36:42 +02:00
Motiejus Jakštys fbae45a98e add E11SYNC_HTTP_PORT 2024-01-13 19:34:50 +02:00
Motiejus Jakštys a27d0cdc96 syntax 2024-01-13 19:30:41 +02:00
Motiejus Jakštys c2c980e31d add nix flake check 2024-01-13 18:58:43 +02:00
Motiejus Jakštys e8deac6ee6 Makefile: gunicorn -> run-gunicorn 2024-01-13 18:54:32 +02:00
Motiejus Jakštys 187997f2a0 fix e11sync-static 2024-01-13 18:50:37 +02:00
Motiejus Jakštys 0a5abf6652 test with `nix build <...>` 2024-01-13 18:39:22 +02:00
Motiejus Jakštys e81eb6c6d2 attempting to add a test 2024-01-13 18:07:24 +02:00
Motiejus Jakštys fd7cbc93a4 add app: e11sync-gunicorn 2024-01-13 17:45:15 +02:00
Motiejus Jakštys af7647dd95 move to gunicorn
I didn't manage to get the uwsgi python plugin to work. It complained
about unrecognized argument `--module`.
2024-01-13 17:40:12 +02:00
Motiejus Jakštys c291c5e0c9 add e11sync-uwsgi 2024-01-13 17:24:07 +02:00
Motiejus Jakštys 81988555d2 compress static assets 2024-01-13 15:12:05 +02:00
Motiejus Jakštys 59026d0fb6 e11sync-static 2024-01-13 10:09:38 +02:00
Motiejus Jakštys 1067e09050 add a forgotten migration 2024-01-13 09:57:22 +02:00
Motiejus Jakštys 310ecd5b96 flake.nix: simplify 2024-01-12 16:03:24 +02:00
Motiejus Jakštys 3949cf58e0 flake: geoip is not a package
we just need it in GEOIP_PATH
2024-01-12 13:35:38 +02:00
Motiejus Jakštys eff2c4a730 flake.nix: mkShellNoCC 2024-01-12 12:53:02 +02:00
Motiejus Jakštys d8223b3ad4 geoip: save to DB 2024-01-12 12:12:13 +02:00