1
Commit Graph

65 Commits

Author SHA1 Message Date
78246dde2d run e11sync from nix store 2024-01-15 10:42:26 +02:00
98b4044171 urls: remove comment 2024-01-15 10:28:09 +02:00
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
2301cb2191 79 chars 2024-01-15 10:10:11 +02:00
ad62170e87 make format 2024-01-15 10:03:07 +02:00
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
4464e89cbb comment autopep8 2024-01-15 09:22:16 +02:00
7db77e5b24 add flake8 for python 2024-01-15 09:09:39 +02:00
94626bb28b some linters 2024-01-15 08:46:30 +02:00
e17646b070 flakes: get rid of self 2024-01-15 07:50:38 +02:00
2bcc5a8585 remove obsolete python3 usage 2024-01-14 23:41:35 +02:00
30a374ee03 test: patch the interpreter instead of invoking python directly 2024-01-14 23:41:19 +02:00
7007e9d5f6 indent 2024-01-14 23:31:23 +02:00
a950f87178 e11sync: add an optional 'database-path'
will be useful during deployment.
2024-01-14 23:23:39 +02:00
0f16146e63 flake.nix: don't ignore extra args 2024-01-14 23:03:25 +02:00
87cdffd212 e11sync-static: patch sources correctly 2024-01-14 23:02:43 +02:00
75fb04d227 flake.nix: avoid rec 2024-01-14 22:45:54 +02:00
446413083a read secret key from file 2024-01-14 20:18:52 +02:00
9700a24db5 rename to unit test 2024-01-14 20:08:27 +02:00
fce0c341d2 nicer syntax 2024-01-14 20:06:50 +02:00
464170b7f0 remove redundant dependency 2024-01-14 20:05:42 +02:00
27e0979c86 geoip-archive: move to it's own package 2024-01-14 20:04:41 +02:00
dc72e8a2a4 move e11sync-static to it's own file 2024-01-14 20:00:17 +02:00
6499795df1 e11sync: move to it's own package 2024-01-14 19:54:32 +02:00
96181f5075 e11sync-gunicorn is a bit easier to use 2024-01-13 23:43:44 +02:00
4555d5f1f9 fmt 2024-01-13 19:36:42 +02:00
fbae45a98e add E11SYNC_HTTP_PORT 2024-01-13 19:34:50 +02:00
a27d0cdc96 syntax 2024-01-13 19:30:41 +02:00
c2c980e31d add nix flake check 2024-01-13 18:58:43 +02:00
e8deac6ee6 Makefile: gunicorn -> run-gunicorn 2024-01-13 18:54:32 +02:00
187997f2a0 fix e11sync-static 2024-01-13 18:50:37 +02:00
0a5abf6652 test with nix build <...> 2024-01-13 18:39:22 +02:00
e81eb6c6d2 attempting to add a test 2024-01-13 18:07:24 +02:00
fd7cbc93a4 add app: e11sync-gunicorn 2024-01-13 17:45:15 +02:00
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
c291c5e0c9 add e11sync-uwsgi 2024-01-13 17:24:07 +02:00
81988555d2 compress static assets 2024-01-13 15:12:05 +02:00
59026d0fb6 e11sync-static 2024-01-13 10:09:38 +02:00
1067e09050 add a forgotten migration 2024-01-13 09:57:22 +02:00
310ecd5b96 flake.nix: simplify 2024-01-12 16:03:24 +02:00
3949cf58e0 flake: geoip is not a package
we just need it in GEOIP_PATH
2024-01-12 13:35:38 +02:00
eff2c4a730 flake.nix: mkShellNoCC 2024-01-12 12:53:02 +02:00
d8223b3ad4 geoip: save to DB 2024-01-12 12:12:13 +02:00
a7d1fd83ef add "city" 2024-01-12 07:43:25 +02:00
762de74ffa move geoip2 files a bit 2024-01-12 07:38:22 +02:00
959c3de520 fix geoip 2024-01-12 01:31:38 +02:00
56fa177dd4 more geoip attempts 2024-01-12 01:15:11 +02:00
1594a78ab1 wip: geoip 2024-01-12 00:58:20 +02:00
95e5e92c41 improve admin site 2024-01-12 00:30:58 +02:00
a99ac0d9db and fix tests 2024-01-12 00:16:33 +02:00