Commit Graph

46 Commits

Author SHA1 Message Date
tamsin johnson
01bfefac13 lets-go:14.3 refactor test server setup 2024-02-14 14:46:27 -08:00
tamsin johnson
eeca8ca34c lets-go:14.3 end-to-end server testing 2024-02-14 13:27:02 -08:00
tamsin johnson
be85d936a9 lets-go:14.2 middleware tests 2024-02-14 10:27:32 -08:00
tamsin johnson
6744d12001 lets-go:14.2 ping handler/test 2024-02-13 12:54:07 -08:00
tamsin johnson
6da4184eb0 lets-go:14.1 assertion helper 2024-02-13 12:23:57 -08:00
tamsin johnson
52e1bbaa70 lets-go:14.1 passing tests 2024-02-13 11:59:59 -08:00
tamsin johnson
15d817c5d1 lets-go:14.1 failing unit tests 2024-02-13 11:59:59 -08:00
tamsin johnson
f5c642ba4e lets-go:13.2 embed templates 2024-02-08 12:54:00 -08:00
tamsin johnson
ba4f38b425 lets-go:13.1 embed static 2024-02-08 10:11:53 -08:00
tamsin johnson
ba6bf1a682 lets-go: fix errant/unwanted UI text 2024-02-08 09:32:19 -08:00
tamsin johnson
4f7fcf863c lets-go:12.2 request context for authz 2024-02-08 09:26:51 -08:00
tamsin johnson
1a59a9e720 lets-go:11.7 CSRF 2024-02-07 23:04:06 -08:00
tamsin johnson
7db05bca1d lets-go:11.6 authz again 2024-02-07 22:46:35 -08:00
tamsin johnson
8a854768a0 lets-go:11.5 logout 2024-02-07 16:29:09 -08:00
tamsin johnson
7aecca2131 lets-go:11.4 login 2024-02-07 16:27:03 -08:00
tamsin johnson
e50ffaaf9e lets-go:11.3 signup with bcrypt 2024-02-07 15:54:12 -08:00
tamsin johnson
79978c4385 lets-go:11.3 user signup 2024-02-07 15:15:54 -08:00
tamsin johnson
f116991de2 lets-go:11.1 nav and fake auth 2024-02-07 12:40:54 -08:00
tamsin johnson
165ee77a72 lets-go:11.0 very minimal first pass at logout
curious why `http.Redirect` does POST here? because i haven't handled any user input?
2024-02-07 12:35:22 -08:00
tamsin johnson
c1bb129b87 lets-go:11.0 user login without peeking
just the bones here, not authenticating at all yet. going ahead with the chapter
now because i'm curious about the preferred way to authenticate; are we going to
put this on `UserModel` or some other `internal` locale, or just in `helpers.go`?
2024-02-07 11:22:47 -08:00
tamsin johnson
4f2dc018da lets-go:11.0 user signup without peeking
deliberately skipping salting and encrypting passwords at this point. intending
to approach this in tandem with authenication.

also starting to want db migrations, but trying not to get distracted.
2024-02-07 11:07:29 -08:00
tamsin johnson
7479313ee8 lets-go:10.6 timeouts 2024-02-07 10:22:32 -08:00
tamsin johnson
5d582a5971 lets-go:10.5 tls config 2024-02-07 10:15:21 -08:00
tamsin johnson
f284b18ee4 lets-go:10.4 tls 2024-02-07 10:03:56 -08:00
tamsin johnson
9c353ced51 lets-go:10.2 structured server logging 2024-02-07 09:19:49 -08:00
tamsin johnson
bf9dcd1247 lets-go:9.3 sessions 2024-02-06 21:37:06 -08:00
tamsin johnson
5ad766f20c lets-go:9.2 session storage 2024-02-06 21:06:48 -08:00
tamsin johnson
4e40ef8ed9 lets-go:8.6 form parsing 2024-02-06 16:46:46 -08:00
tamsin johnson
1541305022 lets-go:8.5 validation helpers 2024-02-02 21:24:04 -08:00
tamsin johnson
fd514a4580 lets-go:8.4 form repopulation 2024-01-30 15:51:20 -08:00
tamsin johnson
5316e01cce lets-go:8.3 some validation 2024-01-25 22:57:49 -08:00
tamsin johnson
1931b047fc lets-go:8.2 create form 2024-01-25 22:50:21 -08:00
tamsin johnson
d1b9b2b269 lets-go:7.2 new route handler 2024-01-25 22:01:12 -08:00
tamsin johnson
d6d629884b lets-go:6.5 alice 2024-01-25 16:27:56 -08:00
tamsin johnson
2b57596bbc lets-go:6.4 panic recovery 2024-01-25 16:02:46 -08:00
tamsin johnson
bee34e7405 lets-go:6.3 more middleware 2024-01-25 15:52:18 -08:00
tamsin johnson
8678a04350 lets-go:6.2 middleware 2024-01-25 15:43:07 -08:00
tamsin johnson
3deb2022b8 lets-go:5.4 2024-01-25 15:06:28 -08:00
tamsin johnson
0db8a9f74d lets-go:5.2 home view 2024-01-25 14:08:58 -08:00
tamsin johnson
65c86f86d2 lets-go:5.1 templates 2024-01-25 13:41:06 -08:00
tamsin johnson
569f2fc0a9 lets-go:4-x 2024-01-25 12:41:08 -08:00
tamsin johnson
c20aa26084 lets-go:3.4 wrapping up chapter 3 with error and config refactors 2024-01-24 16:15:49 -08:00
tamsin johnson
ff3df0e57e lets-go:3.3: structured logging, configuration, app struct, error 2024-01-24 13:32:07 -08:00
tamsin johnson
cf5c574b57 lets-go:3.1 2024-01-23 14:08:59 -08:00
tamsin johnson
9baa1ac716 lets-go:2.7 nav 2024-01-23 11:19:53 -08:00
tamsin johnson
79c2b58f6a lets-go:2.6 refactor app to go "Developing Modules" pattern
https://go.dev/doc/modules/layout#server-project
2024-01-22 15:07:14 -08:00