Commit graph

40 commits

Author SHA1 Message Date
Danielle McLean db32b02811
Properly set p-name on h-feeds, rather than trying to infer it and getting awful names 2017-10-16 22:40:35 +11:00
Danielle McLean 2d1cbbf105
Remove a redundant import 2017-10-16 20:58:44 +11:00
Danielle McLean a880e66c31
Put category listings back into the sitemap.xml 2017-10-16 14:56:01 +11:00
Danielle McLean 1364a2e36b
Store categories directly in entry_category 2017-10-16 13:47:49 +11:00
Danielle McLean a0004946d6
Avoid rendering Markdown when pushing entry content into the og:description, and also, add the standard meta description and meta author 2017-10-15 22:34:05 +11:00
Danielle McLean 940b62b6fc
Remove unused category ID binding to avoid compiler warnings 2017-10-15 01:41:46 +11:00
Danielle McLean 2956550a6c
Mark up entry permalink pages with OpenGraph garbage too 2017-10-14 17:09:27 +11:00
Danielle McLean 47fe00a8b8
Support for Open Graph on the homepage - again it's gross but consuming sites understand it 2017-10-14 16:51:01 +11:00
Danielle McLean 9d0d6ba249
Add category pages to the sitemap 2017-10-14 15:12:50 +11:00
Danielle McLean c184136f8a
Remove unnecessary templates for Handler.Entries - this allows it not to use TH at all :) 2017-10-14 15:04:01 +11:00
Danielle McLean 474ed3cf28
Add basic support for h-entry categories, which are actually more like tags than categories really 2017-10-14 14:59:51 +11:00
Danielle McLean 660b17f279
Improve AvatarR performance by only fetching the avatar from the DB, not the whole User 2017-10-13 22:29:22 +11:00
Danielle McLean fa992bc861
Make entry names optional, since notes shouldn't have names and articles should 2017-10-11 23:34:36 +11:00
Danielle McLean e69202829a
Add an /avatars/#UserId route which redirects to the user's current avatar every time, so you don't need to update remote references to it 2017-10-11 21:38:53 +11:00
Danielle McLean f3b12ded69
Make the user who's displayed on the homepage a configurable setting, so it's easier to use lebd if your name isn't Dani 2017-10-11 12:55:24 +11:00
Danielle McLean 66cb093387
Rename module: Entry.Kind -> Model.Entry.Kind 2017-10-11 12:44:33 +11:00
Danielle McLean 02fd91cb77
Add per-request entity caching support
Different areas of the app need access to entities - for example both
the entry handler needs the entry itself to render it, but the
breadcrumbs also need the entry to decide what to label its breadcrumb.
Previously this was achieved by fetching entities from the database
twice. This sucks, so now it's implemented by fetching entities once and
caching them using Yesod's per-request cache.
2017-10-11 12:35:44 +11:00
Danielle McLean efdca09b1c
Make slugs optional - they don't really make sense for notes, only really for entries with names like articles 2017-10-11 10:33:29 +11:00
Danielle McLean 03cd1487fe
Add the entry-kind pages and the actual entries to the generated sitemap 2017-10-09 15:40:58 +11:00
Danielle McLean 1b8a07a5f6
Simplify site title handling, automatically suffix site title to all pages 2017-10-09 13:50:26 +11:00
Danielle McLean 4088735c69
Add support for Atom and RSS content feeds - this info is available through mf2 anyway so Atom and RSS are kinda redundant, but we'll include them anyway 2017-10-09 13:32:13 +11:00
Danielle McLean 2fd0ff850b
Set title for EntriesR 2017-10-09 10:08:23 +11:00
Danielle McLean 7cebf92356
Add permalinks to h-entries 2017-10-09 09:02:42 +11:00
Danielle McLean 9679234062
Add slugs to entries and use them to create individual entry routes 2017-10-09 08:51:42 +11:00
Danielle McLean 36dea2b5ad
Adjust home layout: push my h-card over to the side and display recent entries in the main content area 2017-10-08 17:19:22 +11:00
Danielle McLean 3ff560e07e
Rename the h-card implementation to match up with the naming of h-feed and h-entry 2017-10-08 16:55:21 +11:00
Danielle McLean 4b7a8a7198
Begin adding rudimentary support for posting new entries to the site - needs to be prettier and a lot smarter, but it exists now 2017-10-08 16:51:48 +11:00
Danielle McLean f934632484
Enable simple username+password login - ugly but serviceable 2017-10-06 10:38:10 +11:00
Danielle McLean e141fb4666
Actually set the 'author' meta correctly in the page head 2017-10-05 23:09:44 +11:00
Danielle McLean 8c3a562c7d
Add support for generating an XML sitemap 2017-10-05 09:16:26 +11:00
Danielle McLean 2b4822093a
Set page title on the homepage to the site-wide title 2017-10-03 21:53:29 +11:00
Danielle McLean 023b720be7
Add keybase.txt support 2017-10-03 20:41:26 +11:00
Danielle McLean a070ceef3c
Clean up user entity - remove unused fields, adjust order 2017-10-03 14:52:23 +11:00
Danielle McLean a2a0ec5127
Remove unused Profile controller, from the scaffolding 2017-10-03 13:37:24 +11:00
Danielle McLean 0a230e7644
Remove unused Comment functionality from the scaffolding 2017-10-03 13:31:53 +11:00
Danielle McLean e81a44d122
Add support for social profiles on the h-card, which become rel="me" links 2017-10-03 12:53:13 +11:00
Danielle McLean 006264e77f
Create an h-card widget and display my h-card on the homepage - needs more info but it's a good start 2017-10-03 00:52:14 +11:00
Danielle McLean b0d997dabc
Rename the widget files for the Home handler to also be called 'home' 2017-10-02 21:49:04 +11:00
Danielle McLean 85f3147e88
Begin ripping out unwanted sample content - this strips the homepage down to a single empty page you can't POST to 2017-10-02 21:47:58 +11:00
Danielle McLean 27b465180a
Initial commit: exactly what I got from stack new lebd yesod-mysql, with no changes 2017-10-02 18:07:09 +11:00