Andrew Godwin
84703bbc45
Lay groundwork for moved identity state
2023-08-08 08:55:16 -06:00
Henri Dickson
4a9109271d
Fix like/boost remote post ( #629 )
2023-08-07 09:15:13 -06:00
Andrew Godwin
cc6355f60b
Refs #613 : Also block subdomains
2023-07-22 10:54:36 -06:00
Andrew Godwin
759d5ac052
Fixed #616 : Do followers-only properly
2023-07-22 10:38:22 -06:00
Andrew Godwin
188e5a2446
Remove all remaining async code for now
2023-07-17 00:37:47 -06:00
Andrew Godwin
0915b17c4b
Prune some unnecessary async usage
2023-07-17 00:18:00 -06:00
Osma Ahvenlampi
2d140f2e97
remove duplicate attachment url check ( #608 )
2023-07-14 13:52:04 -06:00
Osma Ahvenlampi
5549d21528
Fix inbox processing errors from pinned posts and non-Mastodon servers ( #596 )
...
If a post (interaction) comes in from AP inbox but no local author profile exists,
fetch_actor will pull in both the identity AND its pinned posts, which the incoming
post might have been. This would case a database integrity violation. We check
for post existing again after syncing the actor.
Post processing also barfed on posts where content didn't follow Mastodon specs.
For example, Kbin sets tag names in 'tag' attribute, instead of 'name' attribute.
2023-07-12 09:49:30 -06:00
Humberto Rocha
5f49f9b2bb
Add support to dismiss notifications ( #605 )
2023-07-11 16:37:03 -06:00
Andrew Godwin
3f8213f54a
Syncify another handler
2023-07-09 00:43:16 -06:00
Andrew Godwin
c93a27e418
Capture and don't thrash on badly formatted AP messages
2023-07-07 16:29:12 -06:00
Andrew Godwin
7f483af8d3
Rework Stator to use a next field and no async
2023-07-07 15:14:06 -06:00
Karthik Balakrishnan
68dc2dc9ed
Use post id to generate summary class ( #583 )
...
Removes the "expand linked CWs" feature for now.
2023-05-20 01:02:40 -06:00
Andrew Godwin
79e1f0da14
Don't even try to progress post attachments
2023-05-15 16:59:52 -06:00
Andrew Godwin
888f4ad36c
Move from index_together to indexes
2023-05-13 11:30:42 -06:00
Christof Dorner
d6c9ba0819
Pinned posts ( #561 )
2023-05-13 10:01:27 -06:00
Andrew Godwin
709dc86162
Fixed #559 : Trim hashtags to 100 chars or less
2023-05-03 23:12:28 -06:00
Andrew Godwin
8f57aa5f37
UI/Domains Refactor
...
Redoes the UI to remove timelines, promote domains, and a lot of other things to support the refactor.
2023-05-03 22:42:37 -06:00
Christof Dorner
7d1558a2ab
Support editing media description when editing statuses ( #556 )
2023-04-11 09:35:36 -06:00
Christof Dorner
b31c5156ff
Improve hashtag case handling and implement /api/v1/tags/<hashtag> endpoint ( #554 )
...
* Lowercase hashtag before loading its timeline
* Implement /api/v1/tags/<hashtag> endpoint
* Lower hashtag before un-/following
* Fix field name for hashtag following/followed boolean
2023-04-06 15:14:21 -06:00
Christof Dorner
216915ddb8
set post attachment type correctly for videos ( #553 )
2023-04-01 18:07:38 -06:00
Humberto Rocha
c702b1b24d
Always return voters_count ( #543 )
2023-03-15 18:46:12 -06:00
Christof Dorner
79c1be03a6
Add ability to follow hashtags
2023-03-14 15:35:40 -06:00
Andrew Godwin
542678cab5
Fix author checks on post attachments
...
Fixes #538
2023-03-12 16:19:40 -06:00
Dan Watson
cedcc8fa7c
Bookmarks ( #537 )
2023-03-11 11:17:20 -07:00
Andrew Godwin
1b9cf24d09
Move back to canonicalising public as "as:Public"
2023-03-08 10:11:56 -07:00
Andrew Godwin
afc94f6313
Add in_reply_to index
2023-03-05 10:34:58 -07:00
Humberto Rocha
9aff13118a
Fix crash when fetching emoji without mimetype and extension ( #524 )
2023-02-25 14:47:43 -07:00
Humberto Rocha
427744f5a7
Fix boost reach ( #511 )
...
Fix boost not reaching all remote followers
2023-02-15 15:40:43 -07:00
Humberto Rocha
e382994e73
Polls ( #496 )
...
Implement poll AP and API backend
2023-02-15 10:42:56 -07:00
Andrew Godwin
1c5ef675f0
Implement post editing
2023-02-13 19:40:10 -07:00
Andrew Godwin
5d2ed9edfe
Hatchway API Rewrite ( #499 )
...
Removes django-ninja and replaces it with a new API framework, "hatchway".
I plan to move hatchway into its own project very soon.
2023-02-07 12:07:15 -07:00
Andrew Godwin
f7948a55bf
Actually do the right indexes in migrations
2023-02-03 22:24:28 -07:00
Humberto Rocha
d8fc81a9a6
Keep the casing pattern provided by the instance ( #495 )
2023-02-03 17:02:35 -07:00
Humberto Rocha
b9e8f19e90
Fix fetching poll votes and voter_count ( #482 )
2023-01-29 21:20:57 -07:00
Andrew Godwin
1ffbb2e860
Fix hashtag extraction on post edit
2023-01-29 18:13:21 -07:00
Andrew Godwin
a6922cb9d6
Move to a new HTML parser/stripper
...
This removes the use of the EOL'd Bleach, and also integrates hashtag,
mention and emoji searching into one single place.
2023-01-29 17:47:06 -07:00
Andrew Godwin
8ea1fb9ce6
Fix emojis in profile fanout
...
Refs #468
2023-01-28 11:13:06 -07:00
Michael Manfre
773c9b2afc
Ensure expected fields exist for Post.by_ap
2023-01-27 10:52:32 -07:00
Michael Manfre
6437a5aeb7
Properly handle Author targeting blocks
2023-01-27 10:52:32 -07:00
Michael Manfre
51ae78a33c
Downgrade most fetch related errors to capture_message ( #443 )
2023-01-19 13:14:55 -07:00
Michael Manfre
77ba7b02b9
Ignore non string attachment mimetypes ( #429 )
2023-01-16 15:10:03 -07:00
Andrew Godwin
54e7755080
Unfollowing or blocking users purges timeline
...
Fixes #366
2023-01-16 11:53:40 -07:00
Andrew Godwin
18ab453baa
Only fanout remote posts younger than 1 day
2023-01-15 20:57:38 -07:00
Michael Manfre
06f6257645
Render non-media PostAttachments ( #420 )
2023-01-15 14:49:04 -07:00
Andrew Godwin
9dded19172
Add admin notification for new identities
2023-01-15 14:48:17 -07:00
Andrew Godwin
b44be55609
Fixed #408 : Implemented blocking
2023-01-15 13:35:45 -07:00
Michael Manfre
94fe247b17
Handle errors when a Post references an invalid ancestor ( #417 )
2023-01-15 10:28:44 -07:00
Andrew Godwin
1ffcd5e6d1
Add timelineevent.created index
2023-01-14 12:01:44 -07:00
Andrew Godwin
76076e3387
Flip timelines back to created ordering
...
Also added in some tracking from where post fetches come from, in case
this re-creates the weird thing where posts emerge from history.
2023-01-14 11:31:57 -07:00