Commit Graph

58 Commits

Author SHA1 Message Date
Ben Visness 9b9d467ce4 Add CLRI/TLRI handling 2021-07-23 14:00:37 -05:00
Asaf Gartner b41a556fcd Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-07-23 06:22:57 +03:00
Asaf Gartner e30cc95b08 Added request rejection page 2021-07-23 06:22:31 +03:00
Asaf Gartner a46fd988f5 Podcasts 2021-07-23 06:09:46 +03:00
Ben Visness 7f3c818a8f Add forum post deletion 2021-07-21 23:42:34 -05:00
Ben Visness e9ba9b3dde Add permission check on post editing 2021-07-21 21:16:10 -05:00
Ben Visness b27c673c15 Add forum post editing 2021-07-21 20:41:23 -05:00
Ben Visness 17f652191d Add forum replies 2021-07-19 21:35:22 -05:00
Ben Visness 17e9e0b735 Add MustWriteTemplate func for the common case of panicking 2021-07-17 10:19:17 -05:00
Asaf Gartner 6c53688e06 Project page 2021-07-08 10:40:30 +03:00
Ben Visness d11094481f Add CSRF verification 2021-07-04 15:32:07 -05:00
Ben Visness 00b0383030 Start forum editing experience, including bbcode parser 2021-07-04 15:31:37 -05:00
Asaf Gartner c848108127 Redirect from /t/123/p/456 to the actual thread+page url 2021-06-25 16:52:43 +03:00
Asaf Gartner 090e484e72 Snippet page 2021-06-23 23:13:22 +03:00
Asaf Gartner 8aa4554934 Showcase page 2021-06-22 20:08:05 +03:00
Asaf Gartner 77273cdb33 Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-06-22 17:01:46 +03:00
Asaf Gartner 5d5e84d7de Minor cleanup 2021-06-22 13:12:17 +03:00
Asaf Gartner a4671c5fb5 Profile page and timeline items 2021-06-22 12:50:40 +03:00
Ben Visness e2f85708db Make login and logout preserve what page you're on 2021-06-11 19:48:03 -05:00
Asaf Gartner b6c611004c Project index 2021-06-07 02:48:43 +03:00
Asaf Gartner 5d9b628144 Added atom feed and a few other modifications 2021-05-30 21:35:01 +03:00
Asaf Gartner e3257bb383 Redirect to homepage on bad slug 2021-05-25 16:26:12 +03:00
Asaf Gartner 9c19484333 Added theme to context and added empty-avatar support 2021-05-25 16:12:20 +03:00
Asaf Gartner 02938bbf2c URL rework! 2021-05-12 01:53:23 +03:00
Asaf Gartner e8d1859d0a Merge branch 'master' of gitssh.handmade.network:hmn/hmn 2021-05-05 23:37:18 +03:00
Asaf Gartner 06bbc2b9cc Part 1 of URL robustification 2021-05-05 23:34:32 +03:00
Ben Visness f2e69f68e5 Fix logging of context errors 2021-05-05 13:44:19 -05:00
Asaf Gartner dca101fd20 More static pages 2021-05-04 18:14:30 +03:00
Asaf Gartner 4723eec3b6 Added static pages 2021-05-04 17:40:40 +03:00
Asaf Gartner 0da3a1ffb9 Added a 404 path for assets that doesn't render the full template 2021-05-04 16:35:30 +03:00
Asaf Gartner 94bd05751e Added our 404 page 2021-05-04 16:23:02 +03:00
Asaf Gartner 2d07f57c1a Code review 2021-05-04 15:02:33 +03:00
Ben Visness 71a46ba5a1 Get forum threads mostly implemented
Still several TODOs in the handler and templates
2021-05-03 20:59:45 -05:00
Ben Visness b217cd5592 Render subcategories of forum categories 2021-05-03 18:59:43 -05:00
Ben Visness 15e716c097 Get the main content of forum category index working 2021-05-03 17:45:17 -05:00
Ben Visness 5f763d334c Start forum category index; fix reflection bugs 2021-05-03 09:51:07 -05:00
Ben Visness 285fd3eaf0 Start work on forum category indexes 2021-04-28 23:52:27 -05:00
Ben Visness 314ae26e18 Fix feed pagination
And tweak perf log output
2021-04-28 22:34:22 -05:00
Ben Visness ce582df610 Redo the request handling system again 2021-04-28 22:07:14 -05:00
Asaf Gartner 24c69b8157 Added performance monitoring 2021-04-26 09:56:49 +03:00
Ben Visness e7ff342842 Get the feed largely complete 2021-04-25 14:33:48 -05:00
Ben Visness d7c512f1c8 Make progress on the landing page 2021-04-22 18:02:50 -05:00
Ben Visness 6ed2bd0c02 Remove code references to members 2021-04-16 19:01:13 -05:00
Ben Visness cbe4b71869 Some kind of arbitrary checkpoint
I am in the middle of:
- porting the landing page
- making some db changes to help with that
- deleting the member and memberextended tables

Mainly the last one. Doing so requires us to update all the other tables
that currently point at member and memberextended so that the foreign
keys will point directly to users. The big thing that we still have yet
to do is links, and actually copying data from the member and
memberextended tables to users.
2021-04-14 20:17:05 -05:00
Ben Visness 7a01ddae66 Further clean up the request handling after talking with Asaf 2021-04-06 00:06:19 -05:00
Ben Visness 98da461d92 Rework request handling
It's a lot simpler now, control flow is easier to work with in handlers,
and HMNHandler now natively implements http.Handler, simplifying our 404
setup by completely removing the need for MakeStdHandler.
2021-04-05 22:30:11 -05:00
Ben Visness a6cdbac4c7 Get a 404 route working 2021-03-30 23:20:50 -05:00
Ben Visness 8929a5d749 Start porting landing page; rework db layer a bit 2021-03-30 22:55:19 -05:00
Ben Visness f7ac023c44 Re-hash user's passwords if necessary when they log in 2021-03-28 10:32:30 -05:00
Ben Visness 608d1af195 Add logout 2021-03-27 16:27:40 -05:00