Commit graph

31 commits

Author SHA1 Message Date
azdle
b1bf7cb581 confirm accounts on signup 2025-07-24 14:20:45 -05:00
azdle
a365e3cd3e switch to postmark, add starttls conf option 2025-07-24 14:18:16 -05:00
azdle
3e15b7b0c9 persist sessions to db
Also switches from `chrono` to `time` because `tower-sessions-sqlx-store`
forces it.
2025-07-24 10:43:29 -05:00
azdle
233968fa97 use key from config 2025-07-24 10:43:29 -05:00
azdle
b6111fb8fa fix csrf tests w/ custom test client 2025-07-24 10:43:29 -05:00
azdle
8f18d71743 add CSRF protection to signup, login, and logout 2025-07-22 15:45:43 -05:00
azdle
30f8d9ecf1 add signup page 2025-07-22 13:28:22 -05:00
azdle
c75bd0cb31 yes clippy, okay clippy 2025-07-22 13:21:11 -05:00
azdle
458207cea3 use a fresh db for each test 2025-07-22 13:19:27 -05:00
azdle
741268ef1e reuse db container between tests
Container is now never stopped. Since there's only ever going to be one,
this is probably fine.
2025-07-22 12:13:26 -05:00
azdle
ee36efecad publish newsletters using background worker 2025-07-22 11:56:08 -05:00
azdle
cb77c609dd add public URL conf option 2025-07-22 11:56:08 -05:00
azdle
11ea834835 webify 2025-07-22 10:12:21 -05:00
azdle
abb48d471e signup & login 2025-07-17 09:44:46 -05:00
azdle
b5dec9c793 add publish skeleton 2025-07-16 10:08:41 -05:00
azdle
ca21a84725 confirmation emails (hacky) 2025-07-16 10:04:59 -05:00
azdle
486fe68d3b add status field 2025-07-15 11:15:31 -05:00
azdle
fdd80f3d8a basic emails 2025-07-15 10:44:11 -05:00
azdle
187f6003b8 docker-compose setup & related config 2025-07-14 11:46:44 -05:00
azdle
f9eec3be3a tracing improvements 2025-07-13 14:45:24 -05:00
azdle
6551b0ed90 sqlx prepare & macros opt level 2025-07-13 13:37:44 -05:00
azdle
610177efd1 add rough DB stuff 2025-05-22 11:57:37 -05:00
azdle
b5c443506e add rough subscribe endpoint (3.7) 2025-05-14 13:57:31 -05:00
azdle
49c418068e add graceful shutdown 2025-05-14 13:13:00 -05:00
azdle
fefb73397c major version dep updates 2025-05-14 13:02:56 -05:00
azdle
fd04970122 cargo update 2025-05-14 12:58:41 -05:00
azdle
880f361041 add configuration system 2023-12-20 14:26:20 -06:00
azdle
18f1eafd66 implement login/logout cookies 2023-12-20 13:08:04 -06:00
azdle
ff17a0c79c updates, axum/hyper removed graceful shutdowns 2023-12-19 16:25:53 -06:00
azdle
a8648702a3 stub out auth endpoints 2023-12-19 16:21:20 -06:00
azdle
6a9f4c87c0 initial commit; basic server skeleton w/ health endpoint
Through section 3.5.
2023-11-14 16:47:24 -06:00