Commit Graph

873 Commits

Author SHA1 Message Date
Andrew Godwin 179dc0e2cf Releasing 0.8 2023-02-19 22:47:47 -07:00
Humberto Rocha e625fae13d
Fix hashtag being handled as common link in the preview card (#515) 2023-02-19 20:35:54 -07:00
Andrew Godwin 1f3f28e8ff Check scope on API endpoints 2023-02-19 11:37:02 -07:00
Andrew Godwin b677bf5123 Add basic interface for assigning users to domains
Fixes #451
2023-02-19 11:09:49 -07:00
Andrew Godwin 5f39e50c63 Some improvements to poll display now they work more
Fixes #327
2023-02-19 10:49:06 -07:00
Andrew Godwin aa592b496a Switch from hardcoding quad9 to reading resolv.conf 2023-02-19 10:49:06 -07:00
Humberto Rocha 79aea1b8ba
Add support to update Poll by AP (#514) 2023-02-18 10:38:31 -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
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