Commit graph

639 commits

Author SHA1 Message Date
Andrew Godwin
024d956e5e Handle old IDs coming in for pagination 2023-01-09 09:08:35 -07:00
TAKAHASHI Shuuji
4a1e375e3c
Add side margin to home and login page on small screen (#384) 2023-01-09 09:51:15 -07:00
Andrew Godwin
97d40912ed Fix pagination on home 2023-01-09 09:01:28 -07:00
Andrew Godwin
fb881dd5de Fix tests and most of pagination 2023-01-08 23:06:33 -07:00
TAKAHASHI Shuuji
91116fe6f8
Fix image height overflow in the post with single image (#381) 2023-01-09 00:25:54 -07:00
Andrew Godwin
ecec5d6c0a Implement snowflake IDs for some models.
Still needs fixes to the client API paginator.
2023-01-08 18:05:29 -07:00
Andrew Godwin
0cfd0813f2 Fixed #365: Actually clear profile images on check 2023-01-08 14:47:44 -07:00
Andrew Godwin
fa003e2be6 Save all animation frames if they make it through 2023-01-08 14:28:25 -07:00
Andrew Godwin
4bea1006b1 Only do the followed query if needed 2023-01-08 14:28:24 -07:00
Steve Ivy
f16dcd04e4
Add Makefile targets for some common/useful development tasks (#358) 2023-01-08 14:01:14 -07:00
Andrew Godwin
4276260c2e Delete old fanouts after a day 2023-01-08 13:51:30 -07:00
Andrew Godwin
a875dd7a54 Perform shared inbox delivery 2023-01-08 13:46:40 -07:00
Andrew Godwin
f4a8a96b81 Add first-class deletion support to Stator 2023-01-08 12:43:52 -07:00
TAKAHASHI Shuuji
b5b4a8ac5d
Move initial cursor place to the end for @mention reply (#375) 2023-01-08 12:22:45 -07:00
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