Commit Graph

49 Commits

Author SHA1 Message Date
thiloho
dd59e995e8 Update module 2025-01-03 16:02:16 +01:00
thiloho
8bb4549fa4 Update dev vm and module 2025-01-03 15:58:12 +01:00
thiloho
7d79d60132 Refactor NixOS module 2025-01-03 11:29:48 +01:00
thiloho
a6c0cf5167 Set prod module nix configuration 2024-12-08 18:01:48 +01:00
thiloho
18210d501b Harden systemd services, restrict file permissions further, add username blocklist and prevent more vulnerabilities 2024-12-08 14:33:33 +01:00
thiloho
ada54c6f06 Add ability to export articles, track publications in json file on NGINX, fix vulnerabilities and refactor 2024-11-19 18:49:40 +01:00
thiloho
037165947b Ability to bulk import or export articles as gzip, handle domain prefix logic in API and other smaller improvements 2024-10-30 21:33:44 +01:00
thiloho
185aeea4e5 Remove NGINX website directories from API and fix some minor issues 2024-10-17 16:53:31 +02:00
thiloho
f2d114dac4 Add theme toggle for templates 2024-10-03 18:51:30 +02:00
thiloho
e87ea3cfb5 Set base CSP, security headers and set column permissions for tables 2024-09-24 16:06:24 +02:00
thiloho
c11d73c328 Enable rate limiting and compression for NGINX 2024-09-20 17:47:25 +02:00
thiloho
86ab737429 Add custom domain prefixes and option to disable user registration 2024-09-20 15:56:07 +02:00
Thilo Hohlt
4300988463 Update module.nix 2024-09-19 22:16:40 +02:00
thiloho
e297ebeaa6 Update cors 2024-09-19 18:26:36 +02:00
thiloho
b27f4e1c6a Prefix allowed cors origins with https 2024-09-19 18:19:58 +02:00
thiloho
f13dea3a3c Set CORS allowed origins for PostgREST 2024-09-19 18:08:13 +02:00
thiloho
6acfc69def Update module 2024-09-15 22:25:38 +02:00
thiloho
d509a65f1c Update module 2024-09-15 21:58:29 +02:00
thiloho
4c22ae3f61 Add missing semicolon 2024-09-15 21:48:28 +02:00
thiloho
e506764bbd Update navigation loading and NGINX try_file 2024-09-15 17:54:54 +02:00
thiloho
f322ea7dbf Update deploy action to not trigger on pull requests 2024-09-14 21:41:12 +02:00
thiloho
36ec24731d Automatically generate jwt secret 2024-09-14 20:28:27 +02:00
thiloho
9a8a333823 Serve routes without .html file extension 2024-09-07 18:22:58 +02:00
thiloho
63dd99bd3d Adjust body size limit for SvelteKit 2024-09-07 15:36:30 +02:00
thiloho
d3317a1621 Improve reliability of playwright GitHub action 2024-09-06 19:18:36 +02:00
thiloho
1c1aaf28e6 Generate nested table of contents 2024-08-25 14:35:57 +02:00
Thilo Hohlt
bf791f9bfc Update module.nix 2024-08-19 22:55:41 +02:00
thiloho
488877b2ed Make API origin variable available on client side 2024-08-19 20:13:49 +02:00
thiloho
9ac950e8a1 Use configuration options for remaining hardcoded values in module 2024-08-18 15:26:33 +02:00
thiloho
5accbb4283 Enable wildcard domains for published websites 2024-08-18 13:48:36 +02:00
thiloho
211b518b72 Remove wildcard NGINX subdomain 2024-08-17 23:06:17 +02:00
thiloho
347e921fc4 Remove old acme configurations 2024-08-17 22:48:03 +02:00
thiloho
64a62fc339 Adjust subdomain for nginx 2024-08-17 22:45:41 +02:00
thiloho
f948c38a26 Update nginx ocnfig 2024-08-17 22:38:41 +02:00
thiloho
b40334ce55 Set serverName and virtualHost name 2024-08-17 22:37:09 +02:00
thiloho
6142d83d2e Different RegEx for wildcard subdomain 2024-08-17 22:25:53 +02:00
thiloho
87d19b0e39 Update ACME config 2024-08-17 22:20:23 +02:00
thiloho
de7d8231b3 Add regex in virtualHost block 2024-08-17 22:18:14 +02:00
thiloho
9f18da1c99 Set subdomains for ACME 2024-08-17 22:13:27 +02:00
thiloho
affd23eb27 Add wildcard domain for user websites 2024-08-17 22:07:16 +02:00
thiloho
dc9a2eabe9 Include stylesheet in static file generation 2024-08-17 20:21:23 +02:00
thiloho
f3278fb1f6 Use SvelteKit render function for templating and add error page 2024-08-17 19:29:10 +02:00
thiloho
cf1600671b Proxy API and webapp through NGINX as well 2024-08-13 22:14:47 +02:00
thiloho
6785bd0dfa Add path option for module 2024-08-13 18:27:43 +02:00
thiloho
10ec731d7c Add demo server nixos configuration 2024-08-11 18:46:32 +02:00
thiloho
8c76fba2ad Add template directory to package derivation output 2024-08-10 22:58:05 +02:00
thiloho
162118bb56 Use environment variables for ports in web app 2024-08-10 22:20:57 +02:00
thiloho
77338f9cc2 Put nix package derivations in separate file and join symlinks 2024-08-09 23:18:07 +02:00
thiloho
cfee37ad90 Move nix code into separate files and directory and create basic module 2024-08-09 20:12:31 +02:00