Commit Graph

25 Commits

Author SHA1 Message Date
9b306c71a9 Improve session tests 2018-10-02 22:24:18 +02:00
048c474cf6 Make index template const 2018-10-02 22:12:16 +02:00
d36b79e094 Add test for empty Moment slice 2018-10-02 22:07:55 +02:00
c9925a4320 Extract Reverse func 2018-10-02 22:06:17 +02:00
7a064d33df Add tests for db.go 2018-10-02 21:58:19 +02:00
8fe93ccf7d Cleanup whitespace in session_test.go 2018-10-02 21:41:59 +02:00
7e394967bc Move loadMoments and saveMemo to db.go 2018-10-02 21:41:27 +02:00
96103e4d7c fetch the right cookie 2018-10-01 22:50:20 +02:00
e06dda9a31 Add tests for getSessionCookie 2018-10-01 22:46:23 +02:00
f7b8018c62 Redirect from /auth to / when logged in 2018-10-01 22:29:29 +02:00
6c06f49279 Calculate nextURI and redirect 2018-10-01 22:29:14 +02:00
c84cea1d5c Introduce cleanupSession function 2018-10-01 22:20:29 +02:00
c77cc22955 Remove log.Printf 2018-09-29 22:43:57 +02:00
d9cfd97833 Simplify handlers 2018-09-29 22:27:31 +02:00
615c228c2d Move indexPageTemplate variable to index.go 2018-09-29 22:27:16 +02:00
7394cddc39 move indexhandler to index.go 2018-09-29 22:21:47 +02:00
b18ea7b7f4 Move momentsHandler to moments.go 2018-09-29 22:14:28 +02:00
c46f58256f Add .gitignore 2018-09-29 22:11:16 +02:00
8406cd6fd6 Move handler to own type and add logout 2018-09-29 22:08:14 +02:00
d253dea160 Add Indieauth 2018-09-29 19:07:04 +02:00
f9c3dbe6ae Add session and small improvements 2018-09-29 16:28:43 +02:00
00b73b8ac2 Add text 2018-09-29 15:41:12 +02:00
746f42b82a Cleanup timeout length 2018-09-29 14:45:24 +02:00
36fb7bbbae Create moments application 2018-09-29 12:42:17 +02:00
4319ba2c3f Initial commit 2018-09-29 08:16:39 +00:00