Commit Graph

267 Commits

Author SHA1 Message Date
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
Christof Dorner 56da914340
Allow to set default reply visibility (#531) 2023-03-08 11:01:21 -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
Andrew Godwin 552a150e57 Stop over-recursion in post contexts 2023-03-02 10:28:27 -07:00
Humberto Rocha 9aff13118a
Fix crash when fetching emoji without mimetype and extension (#524) 2023-02-25 14:47:43 -07:00
Andrew Godwin 5f39e50c63 Some improvements to poll display now they work more
Fixes #327
2023-02-19 10:49:06 -07:00
Humberto Rocha e43d0a052c
Fix unliked post displaying in favourites endpoint (#512) 2023-02-15 16:05:48 -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
Andrew Godwin 36676fad59 Rework stator to avoid deadlocks on slow databases
Refs #424
2023-02-03 21:51:24 -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
Humberto Rocha aeba38b8ae
Enable post search to other supported post types (#481)
* Enable post search to other supported post types like question, video, and others

* Upgrade isort to match pre-commit config
2023-01-29 12:26:08 -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
TAKAHASHI Shuuji 8a06b3d78f
Fix wrong post character counting in hyperscript (#476)
A newline `\n` will be normalized as `\r\n` in Django.
2023-01-27 10:50:34 -07:00
Andrew Godwin 653ab07fd6 Swap a decent number of admin fields to autocomplete 2023-01-26 10:01:21 -07:00
Humberto Rocha 5dd2ebee29
Make user handle search to be case insensitive (#474) 2023-01-25 19:17:52 -07:00
Humberto Rocha ccded99a63
Add favourites api endpoint (#465) 2023-01-20 19:49:55 -07:00
Michael Manfre 51ae78a33c
Downgrade most fetch related errors to capture_message (#443) 2023-01-19 13:14:55 -07:00
Michael Manfre a34cab6dfb
Admin improvements for Post and PostAttachment (#428) 2023-01-16 15:54:49 -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
Andrew Godwin f689110e0b Fix file size label hardcode 2023-01-15 10:31:27 -07:00
TAKAHASHI Shuuji 5e65d569bf
Prevent uploading too large image file (#416) 2023-01-15 10:29:18 -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
Michael Manfre 21d565d282
Copy Emoji to local and delete file with record (#407) 2023-01-14 10:35:20 -07:00
Michael Manfre 81fa9a6d34
Ignore badly formed ActivityPub object data (#406) 2023-01-13 13:44:43 -07:00
Michael Manfre cb66b9559d
Allow incoming Posts with Bookwyrm Edition tags (#405) 2023-01-13 13:43:37 -07:00
Michael Manfre fc8b5be4a0
Support future times with timedeltashort tag (#403) 2023-01-13 10:54:02 -07:00
Michael Manfre 18b50ce0e6
Silence a few common errors when fetching (#404)
Downgrade nodeinfo json error to a captured message
2023-01-13 10:53:02 -07:00
Andrew Godwin e20aea1b9c Fixed #393: Deal with errors unpacking focalPoint 2023-01-11 10:26:01 -07:00
Andrew Godwin 113db4ab3a Fixed #376: Emoji admin page
Also did a new table style for admin pages
2023-01-10 20:31:50 -07:00