Commit Graph

625 Commits

Author SHA1 Message Date
TAKAHASHI Shuuji c5c0e2bfe5
Fix no opacity transition issue of image viewer when first click (#374) 2023-01-08 12:20:33 -07:00
TAKAHASHI Shuuji d51f2883aa
Allow better keyboard navigation (#373) 2023-01-08 12:20:05 -07:00
Andrew Godwin eede9682b2 Only deliver posts to active follows 2023-01-08 10:36:44 -07:00
Corry Haines 20edb20563
Add debug environment and sentry experiment (#372)
The "debug" environment allows for an additional label in Sentry. I use this to isolate issues/traces only present on my server with DEBUG enabled, for faster development and tracing.

The sentry _experiments is a optional list of beta-grade experiments that Sentry is developing. Profile traces is one of those experiments, to adding it disabled by default. Developers can enable it with the provided setting.
2023-01-07 17:21:41 -07:00
Corry Haines d8cee4097f
Modify emoji loader for cache-optimized return value (#371)
Also fixes an apparent bug in `imageify_emojis.replacer` where `include_local` was not being used correctly (previous code path never returned anything.
2023-01-07 15:19:47 -07:00
Michael Manfre db186fcd73
Lookup nodeinfo url with /.well-known/nodeinfo (#367)
Fixes #364
2023-01-07 10:36:36 -07:00
TAKAHASHI Shuuji 35b14066a5
Adjust icon position on the right sidebar (#368) 2023-01-07 10:34:48 -07:00
TAKAHASHI Shuuji 925ff6edcd
Implement image viewer (#363) 2023-01-07 10:34:11 -07:00
TAKAHASHI Shuuji 326bdec94a
Fix left column height on small screen (#370) 2023-01-07 10:29:36 -07:00
Corry Haines be7ce6ed62
Improve /api/v1/accounts/{id}/statuses perf (#355) 2023-01-05 22:51:02 -07:00
Michael Manfre 1425ae0bde
Update emoji for domain when shortcode doesn't match uri (#359) 2023-01-05 19:57:57 -07:00
Michael Manfre af47e9dfd6
Guess Post attachment mimetype when 'mediaType' field not provided (#360) 2023-01-05 19:48:03 -07:00
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