Commit Graph

22 Commits

Author SHA1 Message Date
Matthias Portzel 8fe3852040 Save HTML for each thought to the DB for performance 2022-09-17 14:00:48 -04:00
Matthias Portzel 650a845611 Some small QoL changes 2022-09-17 07:25:29 -04:00
Matthias Portzel 06e49a7760 Bug fixes from previous commit 2022-09-10 21:54:46 -04:00
Matthias Portzel b19bbfe905 Paginate Gemini index page 2022-09-10 21:35:07 -04:00
Matthias Portzel b4b20eca12 Remove RSS support
"Adding features without removing them is"
2022-09-04 15:10:51 -04:00
Matthias Portzel 4ab86115fc Fix bug editing in firefox 2022-09-03 08:39:36 -04:00
Matthias Portzel f1217d779e Reformat pages names to put year first 2022-09-01 18:21:05 -04:00
Matthias Portzel 1d89272d99 Don't strip whitespace from the start or end of thoughts
* Refactor to specify fields directly; shouldn't effect any other behavior
2022-08-01 18:46:15 -04:00
Matthias Portzel 727bbf6fc5 Super Thoughts
I feel like this is one of those things that isn't going to be funny in 2 days, but I'm going to be stuck with it for like two years.
2022-07-11 22:28:02 -04:00
Matthias Portzel 7d294523a1 Add `spaceless` tag to remove whitespace from iterating thoughts
* Also, removes line of dead code (get_season never existed)
2022-06-14 09:24:55 -10:00
Matthias Portzel 30918a179f About page public domain wording change 2022-06-04 09:11:03 -04:00
Matthias Portzel c28a51bf13 Add basic opengraph support 2022-05-19 13:44:02 -07:00
Matthias Portzel 7ad6f21f66 Make history nav into a column, add link to search 2022-05-17 07:44:48 -07:00
Matthias Portzel 9306248902 Search CSS tweaks
* A couple of other minor things
2022-05-16 11:28:47 -07:00
Matthias Portzel 40fd0aaa5c Current page tweaks
* Add link rel canonical to all pages (/ points itself instead of /?page=current-season because Google crawls duplicate versions of pages less often. I want / to be crawled frequently, so it has to be the canonical version of the content it holds)
* Fix a bug where passing an invald page slug would mean that no page was highlighted as current in the footer
2022-05-12 08:16:44 -05:00
Matthias Portzel 7f7d21384e Add media alt button for video 2022-05-08 10:13:03 -04:00
Matthias Portzel 93d7966db5 Add audio/mpeg, which the server uses for mp3 audio 2022-05-07 17:03:51 -04:00
Matthias Portzel 58dc4d62b0 Move to mp3 as the default audio type
* Also adds aac as an allowed audio type, fixing a bug where I could edit those posts
* To convert old audio to mp3, the following commands were used:
    ls *.aac | xargs -I {} bash -c 'ffmpeg -y -i {} -acodec mp3 $(echo {} | sed s/aac/mp3/)'
    for t in Thought.objects.filter(media__endswith=".aac"):
        t.file.name = f"{t.uuid}.mp3"
        t.save()
And ditto with m4a.
2022-05-07 16:46:16 -04:00
Matthias Portzel 292a464f11 Switch to text-decoration from border-bottom for header underlines 2022-05-03 14:20:23 -04:00
Matthias Portzel d3345dc67f Move search templates 2022-05-03 13:31:01 -04:00
Matthias Portzel 98e2aa29ba Merge
Media control addition was a hot fix which skipped my normal development enviroment, where I was working on the app rename. This merges the two branches.
2022-04-30 13:37:10 -04:00
Matthias Portzel 1defa2b92c Rename 'main' to 'thoughts'
SQL to migrate the DB. Create migrations, migrate
`DELETE FROM django_content_type WHERE app_label='thoughts';`
`UPDATE django_content_type SET app_label='thoughts' WHERE app_label='main';`
`DROP TABLE thoughts_thought;`
`ALTER TABLE main_thought RENAME TO thoughts_thought;`
`DELETE FROM django_migrations WHERE app='main';`
Hopefully that's right, I'm not going to double check it or anything.
2022-04-30 13:34:39 -04:00