Commit Graph

41 Commits

Author SHA1 Message Date
Joe Ardent b96f1c3014 silence clippy lint. 2024-04-14 12:05:39 -07:00
Joe Ardent e551c5e8f3 add annual link to the rendered signup page 2024-03-11 22:47:08 -07:00
Joe Ardent 884e51b84f add annual link 2024-03-11 18:28:25 -07:00
Joe Ardent fdb2e1587b Update env handling and docs. 2024-03-11 18:21:11 -07:00
Joe Ardent eb3fe1a8a7 remove our assets dir service, we just use the forgejo assets 2024-03-11 08:25:18 -07:00
Joe Ardent fe6b05313f Merge branch 'main' into pretty_form 2024-03-10 22:10:06 -07:00
Joe Ardent 754e1f21a1 whitespace clean, update clause to collective 2024-03-10 22:08:15 -07:00
Erika Rowland 08033c21b8 chore: remove unnecessary version tag 2024-03-10 19:36:30 -07:00
Erika Rowland ea91d4cf04 docs: Add basic readme 2024-03-10 19:34:41 -07:00
Erika Rowland a1b7df01d6 Add example .env file 2024-03-10 19:25:35 -07:00
Erika Rowland 15e2939a68 feat: Add CSS to sign up form 2024-03-10 19:23:51 -07:00
Joe Ardent e4ca052656 make .env a mandatory arg 2024-03-10 18:51:26 -07:00
Joe Ardent 861c6731c7 Add receipt to DB to prevent double-use. 2024-03-10 13:02:25 -07:00
Joe Ardent 7d78302427 add customer record insertion on successful creation 2024-03-09 17:54:13 -08:00
Joe Ardent 5aea86d8af add migrations 2024-03-09 17:23:52 -08:00
Joe Ardent f0d7219045 show signup links on front page, receive redirect from stripe 2024-03-09 17:13:16 -08:00
Joe Ardent 5fd158e18b remove sessions, keep the state on the server and in the requests 2024-03-09 16:27:32 -08:00
Joe Ardent 8e25651cfa Set `SameSite` for cookies to lax; log errors instead of panic.
Also use a password strength crate since Forgejo itself insists on some minimum complexity for it.
2024-03-04 17:13:15 -08:00
Joe Ardent bafc93f6af gets a 422 back from forgejo from user creation request 2024-03-02 16:28:03 -08:00
Joe Ardent 022f0e6325 Ready to test 2024-03-02 11:18:59 -08:00
Joe Ardent ba027bb1cd Add logging and prettier error pages. 2024-03-01 17:27:56 -08:00
Joe Ardent 0826f2f0e3 Add logging deps. 2024-03-01 17:27:56 -08:00
Joe Ardent 3ffde146b0 update deps, add http client crate 2024-03-01 14:44:27 -08:00
Joe Ardent 5e8d2d398f make session key unguessable 2024-02-26 17:07:40 -08:00
Joe Ardent d985211b66 add expiry to session 2024-02-26 15:06:19 -08:00
Joe Ardent cf0e1d3d8f add time to deps 2024-02-26 15:06:01 -08:00
Joe Ardent 380e81f8c9 adding more comments 2024-02-25 23:01:01 -08:00
Joe Ardent 17bec04f2c simplify entrypoint 2024-02-25 22:54:30 -08:00
Joe Ardent b924819211 be more explicit 2024-02-25 22:49:02 -08:00
Joe Ardent 1daec80430 make valid ranges into constants 2024-02-25 18:39:42 -08:00
Joe Ardent c7bad9350a add tower-http 2024-02-25 18:39:00 -08:00
Joe Ardent 478464ac05 Re-org into better-defined modules. 2024-02-25 18:25:04 -08:00
Joe Ardent 883dfd67ea prepare for when a username gets snatched between initial signup and having paid 2024-02-25 17:58:28 -08:00
Joe Ardent d9d7e7d9c7 validates form and checks that there's a valid session when you come back 2024-02-25 17:24:45 -08:00
Joe Ardent a31b41cb9e doesn't not work 2024-02-25 16:34:32 -08:00
Joe Ardent ff673840e3 goodbye elixir 2024-02-18 12:50:27 -08:00
Joe Ardent 31fb2000f0 doesn't work, switching to rust 2024-02-18 12:47:20 -08:00
Joe Ardent 248574eabc compiles and runs from iex, but how to run outside that 2024-02-17 14:28:47 -08:00
Joe Ardent 0a8740b4b8 update deps 2024-02-12 22:04:39 -08:00
Joe Ardent 392f73a19c deps declared 2024-02-12 17:39:18 -08:00
Joe Ardent 1562ee43fc readme 2024-02-11 13:23:05 -08:00