Commit graph

449 commits

Author SHA1 Message Date
c8faa30724
Switch to another relative-date-formatting library which supports tiny abbreviated formats 2018-06-28 12:57:09 +10:00
0d1d102f47
Lots of spacing adjustments so that the new entry layout doesn't suck on mobile 2018-06-28 12:25:22 +10:00
cf0264b5a6
Allow info fields to wrap if long, rather than squish the main content of the entry 2018-06-28 12:10:19 +10:00
6054accc54
Force individual cats and syndications not to wrap, so that they don't wrap between the icon and the text 2018-06-28 11:52:10 +10:00
778a9c870d
Move cats and syndications back into the card, shrinking them down to avoid taking up too much vertical space 2018-06-28 11:48:37 +10:00
dee64f130e
Switch to a less bright theme-color since base0A didn't work so well 2018-06-28 11:23:56 +10:00
bc8d7923b4
Restore the <base> and rel="canonical" URLs to the layout <head> 2018-06-28 11:19:32 +10:00
dec5ef153b
Set a theme-color in the template again, so mobile Chrome uses it properly 2018-06-28 11:10:56 +10:00
5cf566251a
Redesign the display of entry 'metadata', like author and category, to be way more space-efficient - should make tiny statuses less 'heavy' 2018-06-28 11:03:31 +10:00
7edc5d0165
Move the Django media URL from /media to just /m, so we get shorter overall URLs to that kinda stuff 2018-06-28 09:37:18 +10:00
35ced9a451
Whoops, only revoke the current user's Micropub tokens for a client, not every single token for that client 2018-06-28 08:38:55 +10:00
446029ce84
Add a page that lists all authorised Micropub clients and allows a client's access to be revoked easily 2018-06-25 22:31:42 +10:00
bb91d3c6b6
Resilently handle IndieAuth clients that don't have a logo in their h-x-app 2018-06-25 18:01:29 +10:00
b32412f4fd
Add a bunch of <link> tags I forgot about, oops 2018-06-25 13:53:11 +10:00
ce0bf28725
1.9.10 2018-06-25 10:45:45 +10:00
77816b6c5d
Complete migration to Jinja2 by porting the home page template 2018-06-25 10:43:45 +10:00
b145f4ada9
Render the Markdown content for entries in Jinja2 - the resulting HTML isn't pretty yet, I'll probably need to write an html5lib filter that prettifies it 2018-06-25 10:11:52 +10:00
e4aa5c6e6e
Loosen the checks on IndieAuth parameters so that generic OAuth 2.0 clients like Paw.app can be used 2018-06-23 13:43:15 +10:00
fa66fbbf1e
Bump Tippy.js to 2.5.3 and Font Awesome to 5.1.0 2018-06-22 12:40:30 +10:00
bc433f235f
Use a mypy-friendly approach to loading and caching the package.json file 2018-06-22 12:31:03 +10:00
2a38c8d21b
Bump versions with pipenv update 2018-06-22 12:14:28 +10:00
4bc7fde36b
Oops, I accidentally used a 'ref' attribute instead of 'rel' :3 2018-06-19 16:49:41 +10:00
5042f3bda7
Port the entries-by-kind feed over to Jinja2, wasn't too tricky c: 2018-06-19 16:46:54 +10:00
fca5b3259d
Run using a separate domain for static assets in dev as well, to closer match production 2018-06-19 15:58:08 +10:00
ee12c15d1c
Mostly port the individual entry template to Jinja2 - the actual entry content isn't being rendered, and there's no breadcrumbs yet, but otherwise it's spot-on 2018-06-19 15:47:10 +10:00
741c2eb234
Switch from stateless JOSE tokens to stateful tokens in the DB, since they can then be much smaller and we're using a DB anyway 2018-06-12 14:57:53 +10:00
9c843ee145
Fix the repo URL syntax on the Django template as well, since it's probably gonna be sticking around for a while 2018-06-12 12:32:55 +10:00
8f416cb5d7
1.9.9 2018-06-12 12:27:53 +10:00
5f9aca20c4
Throw out support for AMP, because AMP sucks anyway 2018-06-12 12:27:35 +10:00
59e40b551b
Fix bad indent and a few actual errors in README.md 2018-06-12 12:16:18 +10:00
9586f59592
Write a big ol' README.md 2018-06-12 12:10:13 +10:00
a585ab038b
Bump npm library versions using yarn upgrade 2018-06-12 11:18:15 +10:00
81baf59085
Bump library versions using pipenv lock 2018-06-12 11:15:33 +10:00
d7abc468b9
Fix URL syntax for linking to the current lemoncurry version in the repo, so it works with Gitea 2018-06-12 11:01:59 +10:00
67f8ec6fae
Throw away now-unused lemonauth templates, since they've all been ported across to Jinja2 2018-06-12 11:01:25 +10:00
24bc7816f1
Relocate official repository to git.00dani.me 2018-06-12 10:52:49 +10:00
f0678c3379
Add the missing navbars to the Jinja2 version of the layout 2018-06-12 10:47:53 +10:00
e94a856a08
Add caching and smarter resizing to the Libravatar endpoint 2018-06-08 14:47:34 +10:00
2c90114b9d
Add pickle support to the MSGPackModernSerializer - if a type can't be serialized to native MessagePack, then pickle it 2018-06-08 14:46:41 +10:00
0860f37ac0
Use the full URI of the current page as the OpenID delegate, rather than just the origin 2018-06-05 12:54:00 +10:00
8932317f08
Allow sizes up to 512 when requesting libravatars, since that's what the spec says actually and I just misread it I guess? 2018-06-05 10:14:24 +10:00
f551a5214a
Add pytest and mypy steps to the pre-commit hooks to avoid committing clearly broken code 2018-06-04 10:32:24 +10:00
d91676289b
Satisfy autopep8 by adding a newline between two methods 2018-06-04 10:16:09 +10:00
121789febe
pipenv update - it re-added msgpack-python again and I'm just gonna leave it there tbh 2018-06-04 10:07:09 +10:00
276ce34ae9
Upgrade pre-commit hooks, enable the executable shebang check as well 2018-06-04 10:06:36 +10:00
5ce0af0731 Simplify the GitLab cache config, should be more reliable this way? 2018-06-04 09:39:32 +10:00
4c0be4ce8b Load Postgres parameters from the environment so that it can work with GitLab CI 2018-06-04 09:32:47 +10:00
f7fbf49e1e Update the .gitlab-ci.yml to install dev packages and cache properly 2018-06-04 09:21:23 +10:00
c9f66eb91c
Install mypy and make the minimum changes necessary for it to pass, albeit using --ignore-missing-imports 2018-05-29 09:37:28 +10:00
142e3eff2b
Ugh. Fix the new MessagePack serialiser to interface reliably with the msgpack library (gotta pass some flags and stuff) - also, actually depend on msgpack to make sure we have it 2018-05-28 21:33:20 +10:00