Danielle McLean
9f647cdf16
Add sslOnlyMiddleware to the Foundation
2017-10-19 12:21:39 +11:00
Danielle McLean
5a83121431
Move the schema.org/BreadcrumbList stuff out of Foundation
2017-10-16 20:57:36 +11:00
Danielle McLean
1364a2e36b
Store categories directly in entry_category
2017-10-16 13:47:49 +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
fa992bc861
Make entry names optional, since notes shouldn't have names and articles should
2017-10-11 23:34:36 +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
035cc1de3b
Make generated CSS files group-readable so that nginx can actually serve them without me manually chmodding
2017-10-10 00:19:23 +11:00
Danielle McLean
3b58b57cc5
Pretty up the login page to match everywhere else
2017-10-09 20:30:50 +11:00
Danielle McLean
41375abdd4
Add the main entry kinds to the navbar
2017-10-09 14:03:42 +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
764935adbd
Add schema.org/BreadcrumbList support (grossss)
2017-10-09 12:14:14 +11:00
Danielle McLean
c554715df7
Enable breadcrumbs for EntriesR and EntryR
2017-10-09 10:03:03 +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
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
92373fcfa5
Simplify navbar implementation - this will also allow seamlessly adding a third, centred nav if desired
2017-10-06 14:43:00 +11:00
Danielle McLean
1c4212f5d0
Bring back menu items for logging in and out
2017-10-06 14:23:42 +11:00
Danielle McLean
ea47fb8b50
Change the login form to a Bootstrapped one - still needs some colours tweaked though
2017-10-06 12:32:27 +11:00
Danielle McLean
f934632484
Enable simple username+password login - ugly but serviceable
2017-10-06 10:38:10 +11:00
Danielle McLean
4692e78503
Add a package.json, load generator info from it instead of from settings.yml
2017-10-05 16:19:15 +11:00
Danielle McLean
062dd10b99
Display lebd version info in the footer next to the license info
2017-10-05 09:58:32 +11:00
Danielle McLean
8c3a562c7d
Add support for generating an XML sitemap
2017-10-05 09:16:26 +11:00
Danielle McLean
1c5939d863
Remove approot-guessing support, since it should always be configured in the app settings
2017-10-05 09:01:35 +11:00
Danielle McLean
d32b698545
Remove unused CSRF-handling JS from the layout, we'll probably not be making AJAX requests here anyway
2017-10-05 07:49:58 +11:00
Danielle McLean
b89e3a67e2
Ugh. Add missing isAuthorized clause for the new keybase.txt route
2017-10-03 20:51:01 +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
208a46e346
Add a p-note to the h-card
2017-10-03 13:17:34 +11:00
Danielle McLean
64c4aab14b
Use Libravatar rather than tracking avatars internally
2017-10-03 11:48:44 +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
9b6305f8c9
Start designing a Bootstrap v4 based site layout, it's boring so far but the navbar is okay?
2017-10-02 22:33:32 +11:00
Danielle McLean
1794e63bb0
Restore the staticRoot option from older versions of Yesod's scaffolding, so I can host static files on a subdomain easily
2017-10-02 20:31:49 +11:00
Danielle McLean
ade7552587
Improve security: use stricter session cookies and add CSRF protection
2017-10-02 20:17:49 +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