Commit graph

613 commits

Author SHA1 Message Date
Michael Manfre
f1fa4aa1e2
Ignore 406 response for webfinger and nodeinfo (#356) 2023-01-04 21:45:29 -07:00
Michael Manfre
1768781fed
Fix typo in Domain.fetch_nodeinfo error handling string (#354) 2023-01-04 21:39:01 -07:00
Andrew Godwin
2da399db42 More permissive nodeinfo schema 2023-01-03 10:31:11 -07:00
Corry Haines
936bb81b45
Update ignore files for broader fly file usage (#353) 2023-01-04 16:43:53 -07:00
Corry Haines
9ae9e03b9d
Re-use page for interaction query (#351)
Original code caused the query on timeline to issue twice. Once to satisfy the interactions lookup (which had no LIMIT) and then again for the page (which had a LIMIT 25).

Presumably we want interactions for the paginated events, especially since the un-LIMITed query would become extremely inefficient.
2023-01-04 16:42:57 -07:00
Michael Manfre
69b0430819
Add custom_head config to inject HTML in to page <head> (#350) 2023-01-04 16:42:03 -07:00
Corry Haines
4547ed1c71
Enable HTTPX integration in Sentry (#352)
I don't know a whole lot about HTTPX, but it seems Sentry has an integration for it. Should it be enabled?
2023-01-04 16:41:27 -07:00
Michael Manfre
801fe2e58a
Add Domain.state with nodeinfo fetching (#347) 2023-01-04 16:40:16 -07:00
Andrew Godwin
a7a292a84c Pagination styling and "max users" signup limit 2023-01-03 01:32:00 -07:00
Andrew Godwin
252737f846 Fix mastodon pagination to use returned IDs 2023-01-03 01:01:20 -07:00
Andrew Godwin
68e764a36e Turns out you should be able to see replies too 2023-01-02 17:42:38 -07:00
Andrew Godwin
e1363f0dac Authors should also see their own posts 2023-01-02 17:21:56 -07:00
Andrew Godwin
110ae452b6 Hide individual posts if people can't see them 2023-01-02 17:15:38 -07:00
Michael Manfre
73adcadf27
Include an /etc/mime.types file to correct gaps from mimetypes package (#348) 2023-01-02 16:32:41 -07:00
NaphalSec
c10aa46fc5
New Moderation Report Email (#346) 2023-01-02 16:31:32 -07:00
Andrew Godwin
03bfc417df Fix empty pagination 2023-01-01 13:33:20 -07:00
Andrew Godwin
bb0ee1b152 Purge failing inbox messages too 2023-01-01 13:10:54 -07:00
Cosmin Stejerean
efd5f481e9
OAuth2 Fixes (#338)
This implements a few oauth2 fixes:

- passes along the state object
- enforces authorization code expiration (currently set to 1 minute, we could make this configurable)
- enforces redirect_uri
- properly checks for client_secret when granting a token
- handles pulling client authentication for token grant from basic auth
- implement token revocation
2023-01-01 11:46:55 -07:00
Tyler Kennedy
b19f05859d
Apply image orientation metadata before resizing. (#345) 2023-01-01 11:40:56 -07:00
Michael Manfre
5f1d7b5253
Add indexes for Stator and some of its common tasks (#332) 2023-01-01 10:58:13 -07:00
Andrew Godwin
43ba09a16e Add warning when the MEDIA_URL is wrong
Fixes #343
2023-01-01 10:46:31 -07:00
Avi Flax
1e54a0b2be
Don’t run ‘publish dev image’ job in forks (#342)
My fork (and, I assume, most forks) doesn’t have the secrets defined, so this job just fails every night. So it’ll be less noisy and less wasteful of resources to disable this job for forks.
2023-01-01 10:32:25 -07:00
TAKAHASHI Shuuji
6e34313aaf
Fix incorrect character count (#340) 2022-12-31 20:17:48 -07:00
Cosmin Stejerean
6028232d3d
fix follow in relationship json (#339) 2022-12-31 20:17:05 -07:00
Andrew Godwin
b522f43ffc Improve interaction fanout 2022-12-31 14:47:46 -07:00
Andrew Godwin
002276ab9a Fix footer styling 2022-12-31 14:12:39 -07:00
Andrew Godwin
ae12aadd38 Include actor URI in another error
Fixes #331
2022-12-31 13:53:21 -07:00
Andrew Godwin
15159418df Handle CW classes for non-ascii characters
Fixes #337
2022-12-31 13:52:30 -07:00
Andrew Godwin
0fc8ff4965 Move like/boost/reply counts onto Post model 2022-12-31 13:52:30 -07:00
TAKAHASHI Shuuji
e5ef34a1b9
Make accessibility text color to main/white (#334) 2022-12-31 12:02:44 -07:00
Andrew Godwin
63fcd0b665 Fix data integrity schema 2022-12-31 11:56:50 -07:00
Andrew Godwin
b09e7187ce Actually implement the liveness file 2022-12-31 11:54:51 -07:00
Andrew Godwin
13fc4b42de Handle Diaspora's XML webfinger 2022-12-31 11:13:51 -07:00
Andrew Godwin
8fe99718f3 Don't complain on delete on unknown URIs 2022-12-31 10:49:45 -07:00
Andrew Godwin
4956c7cd7a Add more schemas into our local store 2022-12-31 10:46:38 -07:00
Andrew Godwin
8d6f78e29e Don't error on unknown notification types 2022-12-31 10:46:38 -07:00
TAKAHASHI Shuuji
d8ff43dc28
Attach the first image of post to RSS feed (#333) 2022-12-31 10:29:51 -07:00
NaphalSec
05adbace24
email templates (#328) 2022-12-30 16:03:11 -07:00
Cosmin Stejerean
eea83214cb
Option to show/hide boosts for a followed user (#317) 2022-12-30 15:03:11 -07:00
Andrew Godwin
0b208d3bf7 Releasing 0.6.1 2022-12-30 12:13:06 -07:00
Andrew Godwin
011c51b3c4 Implement progressive thread parent fetching 2022-12-30 11:48:42 -07:00
Tyler Kennedy
a93f03d639
/v1/statuses/{id}/favourited_by (#324) 2022-12-30 11:19:38 -07:00
Andrew Godwin
52b4384cd6 Add follow notifications for local follows too
Fixes #326
2022-12-30 10:20:39 -07:00
Tyler Kennedy
7eff751224
A quick robots.txt to tell bots to stop crawling tags. (#321) 2022-12-30 10:14:12 -07:00
Andrew Godwin
d247baa307 Serve webfinger and host-meta with correct mimetypes
Fixes #323 (hopefully!)
2022-12-30 10:12:48 -07:00
Michael Manfre
75c17c0766
Correctly handle response.raise_for_status() and guard search from bubbling parse errors (#322) 2022-12-30 01:02:33 -07:00
Michael Manfre
0250f2800b
Identity profile menus 2022-12-30 01:01:03 -07:00
Tyler Kennedy
6a1caae79b
Show a post button and fix selected logic for following/followers (#320) 2022-12-29 21:31:34 -07:00
Tyler Kennedy
9cea7bc124
/v1/accounts/{id}/following and /v1/accounts/lookup support. (#319) 2022-12-29 19:27:43 -07:00
Andrew Godwin
4d3b76612b Accept interactions as pagination anchors
Fixes #316
2022-12-29 14:00:37 -07:00