Commit Graph

394 Commits

Author SHA1 Message Date
Brian Picciano
ba2d581975 Fix gemini gateway proxying to work with gateways like tildeverse's 2023-09-21 10:51:30 +02:00
Brian Picciano
78bbfa42fa Remove mailinglist and proof-of-work functionality 2023-08-25 21:12:57 +02:00
Brian Picciano
c4ec906406 Remove leftover static assets specific to individual blog posts 2023-08-13 22:06:32 +02:00
Brian Picciano
0bc9cd83b4 Confirm before deleting a post 2023-08-13 21:42:27 +02:00
Brian Picciano
e8a1f51fb6 Fix vendor sha which somehow became wrong 2023-08-10 17:00:14 +02:00
Brian Picciano
d7507d2def Clean up homepage, add ghost to gmi, make separator smaller 2023-08-10 16:56:51 +02:00
Brian Picciano
5559e01343 Implement asset.Loader
This moved a bunch of logic out of http and into the asset package,
making it available for gmit too.
2023-04-17 04:17:45 +02:00
Brian Picciano
7872296b83 Move asset store into its own package 2023-04-15 21:07:16 +02:00
Brian Picciano
68f3215df6 Add support for http loading files from an asset archive 2023-04-15 20:57:39 +02:00
Brian Picciano
b5e1103caf Update go to 1.19 (by updating nixpkgs) 2023-04-15 20:19:08 +02:00
Brian Picciano
861070f74d Prefix html title tag for posts with their title 2023-04-14 01:15:25 +02:00
Brian Picciano
7d48d2abba Fix mediaType for feed.xml over gemini 2023-02-13 17:52:17 +01:00
Brian Picciano
8108d55c29 Fix some line wraps in gemini copy 2023-02-13 17:24:09 +01:00
Brian Picciano
300a78ef48 Include link to source 2023-02-13 17:15:48 +01:00
Brian Picciano
80c1631bdd Touch up RSS feed links and post page 2023-01-24 13:35:26 +01:00
Brian Picciano
3f97311514 Add notice atop md->gmi translated pages 2023-01-24 13:19:23 +01:00
Brian Picciano
b766eefe7c Add gemini CTA to HTTP pages 2023-01-24 13:13:07 +01:00
Brian Picciano
6b3933282e Refactor URL construction a bit
BlogHTTPURL and BlogGeminiURL are now used specifically to construct
absolute URLs to their respective endpoints.
2023-01-24 12:45:10 +01:00
Brian Picciano
63cc6cb217 Fix squished manage post edit button 2023-01-24 12:19:21 +01:00
Brian Picciano
c1c1bb2c4c Implement cache and logger middlewares for gemini 2023-01-23 22:31:19 +01:00
Brian Picciano
024f514886 Add BlogHTTPURL preprocess function 2023-01-23 21:44:10 +01:00
Brian Picciano
26dbc6691d Fix page navigation in posts/drafts manage pages 2023-01-23 21:33:45 +01:00
Brian Picciano
57719f29b9 Small fixes to index pages 2023-01-23 18:55:10 +01:00
Brian Picciano
c4520f2c84 Automatically bridge gemini links to a gateway on http site 2023-01-23 16:02:35 +01:00
Brian Picciano
aba69d4329 Small formatting fixes on gmi site 2023-01-23 15:41:41 +01:00
Brian Picciano
acec797048 Final fleshing out of gemini content 2023-01-22 14:12:54 +01:00
Brian Picciano
5b5a043868 Implement gemini atom feed 2023-01-22 12:45:03 +01:00
Brian Picciano
1cfdac5e8c Allow url construction to work if blog is under a sub-path 2023-01-22 12:09:50 +01:00
Brian Picciano
f536b16e17 Add wtfpl.txt to gemini 2023-01-21 19:41:40 +01:00
Brian Picciano
0d420f70d8 Fix StaticURL in gemini 2023-01-21 19:38:59 +01:00
Brian Picciano
2ca44b60d4 Add assets handler to gemini 2023-01-21 19:11:41 +01:00
Brian Picciano
bde3751fab Convert markdow to gemtext in gmi server 2023-01-21 18:36:28 +01:00
Brian Picciano
ffdd9520b9 Implement preprocessing of post bodies for gemini 2023-01-21 17:37:22 +01:00
Brian Picciano
293655452c Continue to polish up posts pages 2023-01-21 16:46:11 +01:00
Brian Picciano
7878db5c95 Initial implementation of post rendering over gmi 2023-01-21 16:01:52 +01:00
Brian Picciano
84c1322c44 Got a basic gemini server running 2023-01-20 14:50:36 +01:00
Brian Picciano
0bd8bd6f23 Slight cleanup in http package 2023-01-19 18:03:20 +01:00
Brian Picciano
c23030733f Add support for gemtext posts 2023-01-19 16:02:27 +01:00
Brian Picciano
e7b5b55f67 Add format column to post tables 2023-01-18 20:15:12 +01:00
Brian Picciano
4878495914 Don't check CSRF for manage and edit methods 2022-11-29 22:20:34 +01:00
Brian Picciano
16579fdf7f Fix dumb wording on homepage 2022-11-29 21:56:21 +01:00
Brian Picciano
bf5d57ef52 Remove mention of the word 'blog' 2022-11-29 21:48:07 +01:00
Brian Picciano
f6ab6db9c2 Update copy on follow page to be less wordy 2022-11-29 21:45:48 +01:00
Brian Picciano
ceab45fefa Increase posts per page 2022-11-29 21:39:18 +01:00
Brian Picciano
b4d6133626 Small changes to header 2022-11-29 21:39:01 +01:00
Brian Picciano
7943865cc6 Move mediocregopher.com content to index of this site 2022-11-29 21:34:55 +01:00
Brian Picciano
1f3ae665ed Introduce EDIT and MANAGE methods
All admin "index" pages are moved under MANAGE, so that we can have (for
example) and normal "GET /posts" page later which would replace the
current index page, and potentially corresponding pages for the other
categories.

The EDIT method replaces the old `?edit` pattern, which normalizes how
we differentiate page functionality generally.
2022-11-29 20:59:31 +01:00
Brian Picciano
31f8f37c5a Modify base header some more 2022-11-29 12:45:30 +01:00
Brian Picciano
f8cc9f6aa7 Update header, remove 'Updated at' times on posts 2022-11-27 23:03:11 +01:00
Brian Picciano
7f79413102 Add the ghost to every page 2022-11-27 22:46:07 +01:00