Commit Graph

112 Commits

Author SHA1 Message Date
Andrew Godwin be377653fe Fix inbound/outbound links 2022-12-16 17:32:04 -07:00
Andrew Godwin 00795f119e Split Follows page into two types
This overcomes the query problem of pulling a combined list
2022-12-16 17:24:56 -07:00
Gabriel Rodríguez Alberich fb2eea956e
Several pagination improvements (#170)
Home/Notification gets pagination, Follows becomes ListView
2022-12-16 17:06:29 -07:00
Andrew Godwin 45c6978bc3 User admin and LD schema fixes 2022-12-16 16:38:52 -07:00
Andrew Godwin 1bcdff79e7 Fix hashtag linking and API mentions of empty 2022-12-15 19:26:06 -07:00
Andrew Godwin c0cd5a5553 Some hashtag json-ld fiddling 2022-12-15 18:58:11 -07:00
Andrew Godwin 31dc08ad0d Add hashtags to post objects 2022-12-15 17:00:00 -07:00
Andrew Godwin 9ad9bdd936 Implement post rate limits, move to signed cookies
Also improve the test harness a little
Fixes #112
2022-12-15 15:55:33 -07:00
Andrew Godwin 13fd3785f2 Handle updates for already deleted posts 2022-12-15 13:47:12 -07:00
Andrew Godwin 5e912ecac5 Fix outbound emoji federation 2022-12-15 12:26:44 -07:00
Michael Manfre af3142ac3a
Basic Emoji suppport (#157) 2022-12-15 00:50:54 -07:00
Gabriel Rodríguez Alberich 8db05bed95
Prevent n+1 queries when rendering timelines (#165)
The linkify_mentions function is traversing the post's mentions, so
better prefetch those.
2022-12-14 10:16:22 -07:00
Tyler Kennedy 0d8b7db272
Set the content type and disposition of webp files uploaded to S3 2022-12-13 23:26:19 -07:00
Andrew Godwin 8ffe4bc145 A better way of handling URIs between local/remote 2022-12-12 11:56:49 -07:00
Andrew Godwin 35a45f1c55 A few more fixes and a bad test 2022-12-12 11:56:49 -07:00
Andrew Godwin f892c0c4ce Fix mentions of missing identities 2022-12-12 11:56:49 -07:00
Andrew Godwin 20239b5cb7 Basic post mutation 2022-12-12 11:56:49 -07:00
Andrew Godwin fc8a21fc5c More API read coverage 2022-12-12 11:56:49 -07:00
Andrew Godwin 3e062aed36 Timelines working 2022-12-12 11:56:49 -07:00
Andrew Godwin 1017c71ba1 Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
Andrew Godwin f504e9c351 Fix form loading hyperscript config 2022-12-11 09:34:44 -07:00
TAKAHASHI Shuuji 6d473a83cc
Add the character counter next to the Post button (#152) 2022-12-11 09:25:48 -07:00
Avi Flax 9405698e3c
Two small tweaks to compose UI (#153) 2022-12-11 09:23:39 -07:00
Andrew Godwin 3595af7bd2 Media proxy, caching and tuning docs
Fixes #67
2022-12-10 12:16:08 -07:00
Andrew Godwin 9a978786d4 Skip over follows 2022-12-08 23:27:51 -07:00
Andrew Godwin 20f3919783 Add interaction states on notifications page
Fixes #129
2022-12-08 22:59:34 -07:00
Michael Manfre a576c5b5ed
Improve djadmin filtering and search (#149) 2022-12-08 10:29:51 -07:00
Michael Manfre 39a40e4dae
Set a Takahe User-Agent header for signed requests (#142) 2022-12-06 21:59:05 -07:00
Michael Manfre dcf2d801b9
'View in admin' link for post popup menu (#134) 2022-12-06 16:55:35 -07:00
Michael Manfre b8460b0acd
Only cache unauthenticated page views (#117) 2022-12-05 22:23:07 -07:00
Andrew Godwin b0929214d5 Allow selecting notification types to see 2022-12-05 22:15:05 -07:00
Michael Manfre 64cea557be
Collapse linkify mentions (#123) 2022-12-05 21:44:26 -07:00
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