Commit graph

80 commits

Author SHA1 Message Date
Andrew Godwin
5b82c76def Shorten mention names when linkified
Fixes #121
2022-12-05 20:26:21 -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
Paolo Melchiorre
a9bb4a7122
Add pyupgrade with --py310-plus in pre-commit (#103) 2022-12-05 10:38:37 -07:00
Andrew Godwin
9becbb24d4 Fix post tests, don't reply to self 2022-12-04 21:30:18 -07:00
Andrew Godwin
107c3d6cf8 Fetch post parents live too 2022-12-04 21:22:20 -07:00
Andrew Godwin
93ccb5dd32 Make search work with URLs 2022-12-04 21:13:33 -07:00
Andrew Godwin
28ac03c42f Fetch user in real-time for searches
Fixes #84
2022-12-04 20:31:49 -07:00
Andrew Godwin
6291fa0f5c Fix mentions in replies/capitalisation 2022-12-04 20:23:02 -07:00
Avi Flax
4493eefb76
Make max media upload size configurable 2022-12-04 18:20:50 -07:00
Andrew Godwin
c3d4d0f547 Image upload polishing and webp 2022-12-04 10:46:41 -07:00
Tyler Kennedy
6ce05296b0
Make follows a top-level activity. (#94) 2022-12-04 09:41:41 -07:00
Avi Flax
7a7907a6df
Tweaks to search UX (#92) 2022-12-03 19:47:09 -07:00
Andrew Godwin
9f3ad0be16 Don't allow file uploads bigger than 10MB 2022-12-02 04:02:38 -07:00
Andrew Godwin
6f2f28a3a7 Image attachment uploads 2022-12-01 18:47:04 -07:00
Andrew Godwin
8139ccffdb Fix hashtag extraction 2022-11-29 09:44:37 -07:00
Andrew Godwin
c72893372a Collapse notifications on the same post 2022-11-28 22:42:40 -07:00
Andrew Godwin
fb342cfb54 Fix hashtagging of HTML entities 2022-11-28 22:34:14 -07:00
Andrew Godwin
4420507f62 Show parent post on individual page 2022-11-28 22:34:03 -07:00
Andrew Godwin
0bced8fe17 A few hashtag fixups 2022-11-28 22:14:52 -07:00
Andrew Godwin
1ad9bfcb06 Add GIN index to Post.hashtags 2022-11-28 21:47:31 -07:00
Michael Manfre
fb8f2d1098
Hashtags 2022-11-28 21:41:36 -07:00
Andrew Godwin
0221ea261f Admin tweaks 2022-11-27 17:16:09 -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
03ba96ff26 Show reply threads in Home correctly 2022-11-27 12:21:16 -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
95bad674b5 Needed to await adding a mention 2022-11-25 18:35:43 -07:00
Andrew Godwin
1cf1f2e543 Implement user discoverability 2022-11-25 18:32:45 -07:00
Andrew Godwin
5fe5f04955 Exclude replies in most situations from timelines 2022-11-25 18:20:59 -07:00
Andrew Godwin
79002e1eaf Add initial delete UI 2022-11-24 22:31:57 -07:00
Kian-Meng Ang
df5493dd2a
Fix typos
Found via `codespell -S ./static -L keypair`
2022-11-24 21:30:21 -07:00
Andrew Godwin
786d6190f8 Delete mechanics and refactor of post fanout 2022-11-24 17:11:04 -07:00
Andrew Godwin
ec634f2ad3 Initial reply-to feature 2022-11-24 15:17:32 -07:00
Michael Manfre
96f863d5d8
Allow authenticated users to remote search/fetch by exact identity 2022-11-22 21:07:22 -07:00
Andrew Godwin
975c205d1d Show boosts and likes on other post list pages 2022-11-22 19:58:56 -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
9c424d9bb6 Add manual HTMX refresh of timelines
Refs #33
2022-11-22 19:21:01 -07:00
Andrew Godwin
48154fb20e Fix boosted notifications 2022-11-22 18:59:51 -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
b7c7c66013 Start adding pagniation to timelines 2022-11-22 09:57:42 -07:00
Andrew Godwin
63ab492439 Fix mentions at the start of posts 2022-11-21 22:17:22 -07:00