Commit Graph

257 Commits

Author SHA1 Message Date
Ben Visness e9ba9b3dde Add permission check on post editing 2021-07-21 21:16:10 -05:00
Ben Visness 27b8157a89 Cache the thread title as well as the contents 2021-07-21 20:48:52 -05:00
Ben Visness b27c673c15 Add forum post editing 2021-07-21 20:41:23 -05:00
Ben Visness 1ccf715c2d Add an explicit post reply feature 2021-07-19 22:07:15 -05:00
Ben Visness 17f652191d Add forum replies 2021-07-19 21:35:22 -05:00
Ben Visness 4ba175c5a5 Put the markdown preview on the side 2021-07-19 20:12:27 -05:00
Ben Visness 19297c9231 Store post contents in localStorage 2021-07-19 19:52:50 -05:00
Ben Visness 059f407ee4 Put previews in a web worker to help with slower parsing 2021-07-17 18:20:47 -05:00
Asaf Gartner 6c53688e06 Project page 2021-07-08 10:40:30 +03:00
Ben Visness 6b21291798 Add plain-text post previews
I opted to do this by making a new markdown renderer that only outputs
plain text, no HTML. This feels a lot more sane to me than trying to
strip HTML out of already-parsed stuff. The tradeoff right now is that
some content just doesn't show up at all, notably bbcode content. I
doubt anyone will care.
2021-07-05 13:34:51 -05:00
Ben Visness c1785d79a4 Get forum post creation working 2021-07-04 17:48:08 -05:00
Ben Visness de0b7a08fb Clean up lots of old post fields 2021-07-04 16:24:48 -05:00
Ben Visness d11094481f Add CSRF verification 2021-07-04 15:32:07 -05:00
Ben Visness 085bd46440 Add mathjax 2021-07-04 15:31:51 -05:00
Ben Visness 987d379223 Add spoilers (and broken jank starter bbcode) 2021-07-04 15:31:41 -05:00
Ben Visness 08f20f9fed Get markdown working in WASM 2021-07-04 15:31:40 -05:00
Ben Visness 00b0383030 Start forum editing experience, including bbcode parser 2021-07-04 15:31:37 -05:00
Asaf Gartner 090e484e72 Snippet page 2021-06-23 23:13:22 +03:00
Asaf Gartner 5162e7fba9 Showcase on landing page 2021-06-23 22:31:59 +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 2df9390993 Showcase xml feed 2021-06-22 15:02:47 +03:00
Asaf Gartner ae12ef0e8c Cleaned up breadcrumbs 2021-06-22 13:27:27 +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 bf96c0bebb Removed now-unused post_list_item template 2021-06-01 04:53:48 +03:00
Asaf Gartner 63f1bf40cc Added projects atom feed and media file urls 2021-06-01 02:23:04 +03:00
Asaf Gartner 5d9b628144 Added atom feed and a few other modifications 2021-05-30 21:35:01 +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
Ben Visness d6481ab421 Get forum threads mostly done
Still need to do breadcrumbs, but that applies to forum categories too
actually.
2021-05-06 00:57:14 -05:00
Ben Visness c8231750aa Make some project fields not null 2021-05-05 23:04:58 -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 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 5d697e5fff Implement post links in feed / landing page 2021-04-27 22:30:02 -05:00
Ben Visness 649f353b8c Improve post query performance 2021-04-26 20:49:46 -05:00
Ben Visness b13dd4bdb5 Get to a real stupid stopping point
inarray!!
2021-04-25 21:13:26 -05:00
Ben Visness e7ff342842 Get the feed largely complete 2021-04-25 14:33:48 -05:00
Ben Visness 292c400dfb Fix up landing page colors 2021-04-23 23:27:45 -05:00
Ben Visness a04b00c0a7 Get post content migrated and loading 2021-04-22 23:07:44 -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 8929a5d749 Start porting landing page; rework db layer a bit 2021-03-30 22:55:19 -05:00
Ben Visness 608d1af195 Add logout 2021-03-27 16:27:40 -05:00
Ben Visness 56cd737203 Add initial auth token / login stuff 2021-03-25 22:33:00 -05:00
Ben Visness cc521e0245 Add a lot of base template stuff 2021-03-17 20:25:06 -05:00
Ben Visness a4e2d625a3 Start migrating templates 2021-03-14 15:49:58 -05:00