Commit Graph

43 Commits

Author SHA1 Message Date
Andrew Godwin 68e764a36e Turns out you should be able to see replies too 2023-01-02 17:42:38 -07:00
Andrew Godwin 110ae452b6 Hide individual posts if people can't see them 2023-01-02 17:15:38 -07:00
Andrew Godwin 0fc8ff4965 Move like/boost/reply counts onto Post model 2022-12-31 13:52:30 -07:00
Andrew Godwin f6e49e8059 Delete timeline events with posts
Fixes #284
2022-12-27 11:53:44 -07:00
Corry Haines 31187c99b2
Quality of life (#266)
Support gunicorn autoreload on DEBUG
Pass docker postgres port to host
Add some typing to posts.py
2022-12-26 10:42:02 -07:00
Corry Haines b53504fe64
Basic OpenGraph support (#267)
Creates an OpenGraph template include in base.html including the basic tags expected on all pages.

Then allows any page to add additional expected tags via `context`.

Currently, profiles and posts are enriched to show complete opengraph metadata, and render correctly in Discord.

Note: This does not show posts in Slack like Twitter/Mastodon do. I believe this is due to Slack preferring oembed when present, which is a mastodon API endpoint we may need to create at some point.
2022-12-26 10:39:33 -07:00
Andrew Godwin 087cb2a15f Rework post/event querysets to always fetch stuff 2022-12-24 10:50:01 -07:00
Andrew Godwin f82b82502c Install debug toolbar in debug mode 2022-12-20 15:26:39 +00:00
Andrew Godwin 4ad4f468a4 Refactor HTML rendering into one place
Also suppress using external <a> tags for now, until we can separate
them from hashtags properly.
2022-12-20 11:39:45 +00:00
Andrew Godwin 9067caf9a3 Add expanded post context
Fixes #120
2022-12-20 09:59:06 +00:00
Andrew Godwin cc3c3d9816 404 deleted posts 2022-12-16 21:32:08 -07:00
Andrew Godwin 12567f6891 Identity admin/moderation 2022-12-16 19:42:48 -07:00
Michael Manfre af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Andrew Godwin 20239b5cb7 Basic post mutation 2022-12-12 11:56:49 -07:00
Andrew Godwin 3595af7bd2 Media proxy, caching and tuning docs
Fixes #67
2022-12-10 12:16:08 -07:00
Michael Manfre b8460b0acd
Only cache unauthenticated page views (#117) 2022-12-05 22:23:07 -07:00
Andrew Godwin 9fe2e6676c Add a middleware to detect LD Accept headers 2022-12-05 20:02:35 -07:00
Michael Manfre da9a3d853e
Fix unset parent variable when viewing top post (#119) 2022-12-05 16:07:18 -07:00
Paolo Melchiorre 22e25ac454
Add django-upgrade to pre-commit (#114) 2022-12-05 14:44:50 -07:00
Michael Manfre d6eb16a398
Added caching and initial settings 2022-12-05 10:55:30 -07:00
Andrew Godwin 107c3d6cf8 Fetch post parents live too 2022-12-04 21:22:20 -07:00
Andrew Godwin 6f2f28a3a7 Image attachment uploads 2022-12-01 18:47:04 -07:00
Andrew Godwin 4420507f62 Show parent post on individual page 2022-11-28 22:34:03 -07:00
Andrew Godwin 348c03e7da Default replies to unlisted, new users to public 2022-11-27 15:40:17 -07:00
Tyler Kennedy 68d59b399e
Set content type when serving object
Fixes #37
2022-11-27 14:43:46 -07:00
Andrew Godwin 842b458395 Change how we link individual-post view 2022-11-27 14:25:09 -07:00
Andrew Godwin 3217569df5 Link to post pages and show replies there
Fixes #60, #59
2022-11-27 12:37:52 -07:00
Andrew Godwin 8e9e3ecf69 Some cleanup around editing 2022-11-27 12:09:08 -07:00
Michael Manfre 6c7ddedd34
Post editing 2022-11-27 11:09:46 -07:00
Andrew Godwin 0f77f0ba96 Only let you delete your own posts 2022-11-27 00:55:19 -07:00
Michael Manfre 849c221aee
Local-only posting 2022-11-26 10:09:31 -07:00
Michael Manfre d60ba9a051
Added default post visibility 2022-11-25 19:33:46 -07:00
Andrew Godwin 79002e1eaf Add initial delete UI 2022-11-24 22:31:57 -07:00
Andrew Godwin ec634f2ad3 Initial reply-to feature 2022-11-24 15:17:32 -07:00
Michael Manfre cdfff32f9a
Content warning name customisation
Allows the name of Content Warning to be customized (e.g. to "Content Summary").

Fixes #28.
2022-11-22 19:52:40 -07:00
Andrew Godwin e52c7df498 Add the self-view timeline event on post
Makes it show up for you immediately
2022-11-22 18:51:01 -07:00
Andrew Godwin 53d9452917 Outgoing mentions mostly work (exc. cc followers) 2022-11-21 21:18:13 -07:00
Andrew Godwin 0851fbd1ec Add search and better notifications 2022-11-17 15:10:09 -07:00
Andrew Godwin 716d8a766a Show post images 2022-11-16 23:00:10 -07:00
Andrew Godwin 5b34ea46c3 Call it admin rather than system settings 2022-11-16 21:42:25 -07:00
Andrew Godwin 1b52acdb56 Domains management pages 2022-11-16 21:12:28 -07:00
Andrew Godwin 495e955378 Tag and visibility handling 2022-11-16 13:53:40 -07:00
Andrew Godwin 20e63023bb Get outbound likes/boosts and their undos working 2022-11-15 15:30:32 -07:00