Commit graph

764 commits

Author SHA1 Message Date
Andrew Godwin
33b24d99bc Fix follow repeats on pages
Fixes #510
2023-02-15 10:45:43 -07:00
Humberto Rocha
e382994e73
Polls (#496)
Implement poll AP and API backend
2023-02-15 10:42:56 -07:00
TAKAHASHI Shuuji
cc0bbfb93b
Fix CSV export to export followers handle instead of following user handle (#509) 2023-02-14 09:34:07 -07:00
Andrew Godwin
2cb125845b Export the actual followers!
Fixes #508
2023-02-14 09:33:30 -07:00
Andrew Godwin
91738748ec Fix some imports now hatchway is third party 2023-02-13 21:19:20 -07:00
Andrew Godwin
8adc17c5ea Add import/export tests 2023-02-13 21:19:20 -07:00
Michael Manfre
1ac6519316
Update _test_settings fixture to work with Django 4.1 and 4.2 (#507) 2023-02-13 20:57:07 -07:00
Andrew Godwin
9a0008db06 Add initial follow import/export
Fixes #437
2023-02-13 20:50:43 -07:00
Andrew Godwin
1c5ef675f0 Implement post editing 2023-02-13 19:40:10 -07:00
Andrew Godwin
04ad97c69b Remove hatchway's internal copy 2023-02-13 19:04:30 -07:00
Andrew Godwin
43ecf19cd1 Fix whitespace lint 2023-02-10 16:17:08 -07:00
Andrew Godwin
7863f89aba Stub out some more empty API endpoints 2023-02-10 16:10:53 -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
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