Commit graph

168 commits

Author SHA1 Message Date
Andrew Godwin
025fd5cf07 Emoji refactor
Emojis are now prefetched from the post, and if not, looked up
individually by shortcode, to prevent loading hundreds.
2022-12-22 16:55:31 +00:00
Andrew Godwin
79fd800a78 Accept objects with contentMap only 2022-12-22 05:29:49 +00:00
Andrew Godwin
02f942f1ad Add boost/like count to more timelines 2022-12-22 04:27:02 +00:00
Tyler Kennedy
7e5b5dc4e4
Various UX tweaks and front end fixes. (#230) 2022-12-22 21:28:28 +00:00
Andrew Godwin
f9b5f372ac Responsive styling fix, shorter pages
Refs #102
2022-12-22 01:06:01 +00:00
Andrew Godwin
f5f74dc150 Further search fixing 2022-12-21 21:46:09 +00:00
Andrew Godwin
45de0e09b5 Switch to preserving username case
Except on comparisons, for now. Fixes #224
2022-12-21 21:39:56 +00:00
Andrew Godwin
13ebe14cf9 Don't show deleted follows, and sort publicly 2022-12-21 20:56:52 +00:00
Gabriel Rodríguez Alberich
1349144e37
Minor design tweaks to the Follows page (#222)
* Filter outbound and inbound follows by active state
* Change pill appearance to distinguish it from buttons
* Signal destructive action when hovering unfollow buttons
* Add hover style to the top "tabs"/"filters"
* Make filters icon have the same width so selecting them doesn't change the options total width, which is mildly unnerving
2022-12-21 19:57:14 +00:00
Andrew Godwin
e2371a3cd7 Move timelines to a service class 2022-12-21 19:47:48 +00:00
Michael Manfre
ed83726247
Identity fanout (#196) 2022-12-21 17:13:39 +00:00
Michael Manfre
a7082decc8
Optimize timeline queries (#219) 2022-12-21 11:09:18 +00:00
Andrew Godwin
6039cde49e It's amazing what a little select_related can do 2022-12-20 15:35:48 +00:00
Andrew Godwin
f82b82502c Install debug toolbar in debug mode 2022-12-20 15:26:39 +00:00
Andrew Godwin
12a838eb0e Don't crash trying to fetch parents we don't have 2022-12-20 15:02:20 +00:00
Andrew Godwin
3b3285964e Fix inbound/outbound targeting 2022-12-20 14:20:11 +00:00
Andrew Godwin
51d34eda9c Significantly better hashtag link parsing
Fixes #203
2022-12-20 13:55:14 +00:00
Andrew Godwin
4635874c12 Relax accept header for gup.pe 2022-12-20 13:21:50 +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
db3fc7c53c Fetch actors with posts when needed
Fixes #190, #205
2022-12-20 10:17:52 +00:00
Andrew Godwin
9067caf9a3 Add expanded post context
Fixes #120
2022-12-20 09:59:06 +00:00
Andrew Godwin
e28294c81a Hashtag admin simplification 2022-12-20 09:16:03 +00:00
Michael Manfre
84dbb51de7
Raw response in JSON debug (#211) 2022-12-20 08:19:00 +00:00
Andrew Godwin
f4f575d22f Type and fanout fixes 2022-12-20 07:01:30 +00:00
Andrew Godwin
6eaaa6eac4 Allow other Actor types 2022-12-20 06:52:33 +00:00
Andrew Godwin
985bb95aca Add error states, use for fanout 2022-12-20 06:23:50 +00:00
Andrew Godwin
3de188e406 Fix Accept header and supply actor outbox
Should help with Mitra among others. Refs #207.
2022-12-19 02:47:35 +00:00
Andrew Godwin
48174d84a4 Don't linkify mentions inside links 2022-12-19 00:27:05 +00:00
Andrew Godwin
3544aa0c8b Don't use domain on hashtags for local disp
Fixes #200
2022-12-19 00:05:58 +00:00
Andrew Godwin
9e2092c4b2 Fix new focalpoint parsing 2022-12-18 14:16:26 -07:00
Andrew Godwin
bfe015ebd8 Don't worry about interactions on dead posts 2022-12-18 14:14:49 -07:00
Andrew Godwin
6cdcbcfab9 Remove test URL 2022-12-18 11:14:19 -07:00
Andrew Godwin
58e11ae3b6 Debug JSON view, json fixes 2022-12-18 11:00:21 -07:00
Andrew Godwin
770aa1531a Do actual ISO date parsing
Fixes #187
2022-12-18 10:45:32 -07:00
Andrew Godwin
b8dca2b71f Do not allow posts from blocked domains in
Fixes #172
2022-12-18 09:58:43 -07:00
Andrew Godwin
5d6ff57b5f Don't include broken users in reply mentions
Fixes #192
2022-12-18 09:50:29 -07:00
Andrew Godwin
bcd48368b5 Don't notify if we mention ourselves
Fixes #191
2022-12-18 09:48:18 -07:00
Andrew Godwin
90c7b615fd Move timelines to published date all around 2022-12-18 09:44:56 -07:00
Andrew Godwin
35102fbdd4 Merge timelineevent, urls and post type migration 2022-12-18 09:22:15 -07:00
Michael Manfre
a408cbaa27
Post types (#182)
Initial support for Posts of type other than 'Note'. Render special Post types with templates.
2022-12-18 09:09:25 -07:00
Tyler Kennedy
fc79551656
Increase the allowed size of URIs
Increase the allowed size of Post.object_uri and Post.url from 500 characters to a more reasonable 2048. See https://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers.
2022-12-17 20:20:51 -07:00
Andrew Godwin
b6a8737d2e Some more JSON-LD namespace fixing 2022-12-17 17:48:33 -07:00
Andrew Godwin
17d75c4797 Allow for attachments with no width/height
Fixes #186
2022-12-17 15:45:54 -07:00
Andrew Godwin
d08324e159 Handle timeouts on image fetch 2022-12-17 15:00:50 -07:00
Andrew Godwin
e8d6dccbb2 Report function and admin 2022-12-17 14:45:31 -07:00
Andrew Godwin
24a4fbe1f8 Catch all possible request errors 2022-12-17 12:29:48 -07:00
Andrew Godwin
1f28361fd9 Return unreviewed emoji in API correctly 2022-12-17 12:20:00 -07:00
Andrew Godwin
5bbcc0f6c3 Add AP output to emoji admin 2022-12-17 12:07:13 -07:00
Andrew Godwin
d7ffb47fb2 Make emoji better on the wire 2022-12-16 22:20:58 -07:00
Andrew Godwin
606c628343 Fanout admin improvements 2022-12-16 21:51:16 -07:00