Commit graph

852 commits

Author SHA1 Message Date
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
Osma Ahvenlampi
99a0a16fb7
Add note about S3 keys urlencoding (#500) 2023-02-07 09:57:55 -07:00
Humberto Rocha
21e286c5d2
Fix linter fails with the CI (#497) 2023-02-04 21:33:01 -07:00
okpierre
94271b34ac
Show post count even when other counts are hidden 2023-02-04 11:55:48 -07:00
Humberto Rocha
4eada68d9f
Fix filter to display only the ones you are actually following (#494) 2023-02-04 11:53:20 -07:00
Andrew Godwin
51b7c0d919 Undo one connection per transition 2023-02-04 11:46:38 -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
d8113ed707
Add documentation about upgrading Takahe (#486) 2023-02-01 10:10:26 -07:00
Andrew Godwin
4744f7d47c Don't try to render emojis for remote sends 2023-01-31 10:05:14 -07:00
Humberto Rocha
0f66900d9c
Fix header duplication during infinity scroll (#483) 2023-01-30 11:24:15 -07:00
Humberto Rocha
b9e8f19e90
Fix fetching poll votes and voter_count (#482) 2023-01-29 21:20:57 -07:00
Andrew Godwin
28ed74df24 Let people put bad things in their own head
Fixes #432
2023-01-29 18:20:58 -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
Corry Haines
93c0af992b
Templatize robots.txt (#478) 2023-01-29 12:27:07 -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
TAKAHASHI Shuuji
e6f827dd7f
Upgrade isort version in pre-commit (#480) 2023-01-29 10:45:40 -07:00
Andrew Godwin
8ea1fb9ce6 Fix emojis in profile fanout
Refs #468
2023-01-28 11:13:06 -07:00
Andrew Godwin
1670c92269 Send out emoji tags for identities 2023-01-28 11:01:42 -07:00
Cosmin Stejerean
9779f867bf
Also read query string params in parse body (#477) 2023-01-28 10:05:28 -07:00
Michael Manfre
a22ba4859b Downgrade follow not found to capture_message 2023-01-27 10:52:32 -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
Andrew Godwin
75ba7e3160 Make user admin a raw ID field 2023-01-26 09:52:03 -07:00
Humberto Rocha
5dd2ebee29
Make user handle search to be case insensitive (#474) 2023-01-25 19:17:52 -07:00
Andrew Godwin
425c77e085 Add /v2/instance 2023-01-25 16:03:02 -07:00
Andrew Godwin
f967f6c697
Clarify domain wording a little
Fixes #469
2023-01-23 16:17:18 -07:00
Humberto Rocha
ccded99a63
Add favourites api endpoint (#465) 2023-01-20 19:49:55 -07:00
Michael Manfre
0ba0971baa
Remove capture message for deleting unknown actor (#466) 2023-01-20 17:56:36 -07:00
Michael Manfre
dc55ee109a
Fix issue where CW button on menu compose form submits the form (#467) 2023-01-20 17:56:24 -07:00
Humberto Rocha
a2e8d05349
Add missing trailing / to the copy command (#464) 2023-01-20 17:25:43 -07:00
Corry Haines
46947279b0
Attach user identification headers to response (#453)
Add X-Takahe-User and X-Takahe-User-Identity headers to response, when available, to allow for better Nginx log enrichment.

Also drop these headers in Nginx so they aren't sent into the world. They probably aren't dangerous since they identfy the users _to themselves_ but strip it for now, just in case.
2023-01-20 17:20:14 -07:00
Andrew Godwin
349e1b8801 Roll buildx back a bit due to manifest issues 2023-01-20 12:59:18 -07:00
TAKAHASHI Shuuji
c5d51a8b11
Make menu icons visible on the profile page in the light theme (#459) 2023-01-20 09:46:33 -07:00
okpierre
201aa20f27
Update style.css (#458) 2023-01-20 09:35:38 -07:00
Andrew Godwin
f150a3eee9 Don't allow self-mute and self-block
Fixes #454
2023-01-20 09:31:37 -07:00
TAKAHASHI Shuuji
10c7da96c7
Allow auto-pagination on profile page (#445) 2023-01-19 23:09:01 -07:00
Andrew Godwin
ee3b51c28f Fix username display to yourself in clients 2023-01-19 16:34:49 -07:00
Michael Manfre
51ae78a33c
Downgrade most fetch related errors to capture_message (#443) 2023-01-19 13:14:55 -07:00
TAKAHASHI Shuuji
47d9dc2488
Fix "Add image" button margin (#447) 2023-01-19 13:13:10 -07:00
Corry Haines
ec85060df8
Organize nginx config files (#449) 2023-01-19 13:11:54 -07:00
Andrew Godwin
536f0a4488 Limit shortcodes on emoji to Mastodon rules 2023-01-19 12:23:49 -07:00
Andrew Godwin
cfb4975fdf Unlinkify profile values in edit fields 2023-01-19 10:30:42 -07:00
TAKAHASHI Shuuji
edef03efb1
Fix highlight color in the light theme (#444) 2023-01-19 10:15:34 -07:00
Andrew Godwin
9b5152723a Add delete admin option 2023-01-19 10:14:11 -07:00
James Moore
a7be3b2072
Nginx refactor for #401 (#442) 2023-01-18 22:04:30 -07:00