1
mirror of https://github.com/jlelse/GoBlog synced 2024-05-29 08:34:27 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
0437f61ba9 Rework login and captcha forms 2022-02-22 21:33:12 +01:00
b453e6b400 Activate more linters and fix linted problems 2022-02-22 10:14:48 +01:00
89ecd7c656 Use some constants 2022-02-01 15:58:12 +01:00
1c7195a135 Breaking! Render everything using go functions, remove custom pages support and now unused template rendering 2022-01-30 16:40:53 +01:00
aa319b70fb Render all non-login using new method to use less allocations and memory 2022-01-20 18:22:10 +01:00
5997ec0f83 Add noindex header to login page 2021-11-15 12:49:18 +01:00
91e2b268c7 Some cache fixes 2021-07-25 10:53:12 +02:00
c2dada5d50 Refactor and test authentication middleware 2021-07-24 13:35:26 +02:00
804ff1c221 Add optional database logging and add index for queue 2021-06-29 17:07:08 +02:00
2437ed70d7 Vanity import path and listing of media files 2021-06-28 22:17:18 +02:00
67f2b1fbdb Bug fixes, refactoring and other improvements 2021-06-18 14:32:03 +02:00
9714d65679 Big refactoring: Avoid global vars almost everywhere 2021-06-06 14:39:42 +02:00
1b2eed9897 Use sessions instead of jwt 2021-05-14 18:24:02 +02:00
a47a1719eb Allow requesting webmentions with status using query param 2021-03-06 19:29:15 +01:00
71777613af TOTP 2021-02-28 08:57:15 +01:00
029d4555b2 Fix 2021-02-27 09:06:30 +01:00
6de2ae6ff3 Login form with 200 and no cache header 2021-02-27 09:05:39 +01:00
b81f890120 Login, Logout and show update and delete below posts 2021-02-24 16:01:10 +01:00
243d695bf4 Small things 2021-02-24 13:16:33 +01:00
e74afac829 Show admin links when logged in 2021-02-20 23:35:16 +01:00
bb73d4831c Fix cookies for auth and captcha 2021-02-20 22:45:38 +01:00
91788efe67 Go 1.16 2021-02-17 08:23:03 +01:00
424d1e9944 Fix lint errors 2021-02-08 18:51:07 +01:00
0c52f90268 Make authentication and captcha more secure 2021-02-06 22:53:56 +01:00
72f676dda2 Add comment functionality 2021-01-23 17:24:47 +01:00
6a0eda2184 Update + get rid of a few dependencies 2021-01-21 17:59:47 +01:00
9e4a03549f Improve error rendering 2020-12-24 10:09:34 +01:00
68650a883e Don't send a cookie with every request 2020-12-15 17:56:08 +01:00
74d02b00bd Login form with JWT 2020-12-15 17:40:14 +01:00