Commit Graph

3881 Commits (a8c29ffd8a5e5a27ff8510159548c68094de7c74)

Author SHA1 Message Date
Shlee a8c29ffd8a
Update MentionPushNotifyPipeline.php 2 months ago
Shlee 82737236e1
Update FollowPushNotifyPipeline.php 2 months ago
Shlee 557e8fa1cb
Update LikePushNotifyPipeline.php 2 months ago
Shlee 11596618b8
Update FollowPushNotifyPipeline.php 2 months ago
Your Name ee9a875c27 PushNotificationPipeline defensive checks 2 months ago
dansup 59cccb1a25
Merge pull request #6223 from intentionally-left-nil/fix-update-no-shared-inbox
Fix null dereference error when updating the sharedInbox
2 months ago
dansup f2e4715749
Merge pull request #6194 from emlove/migration
Account Migration fixes
2 months ago
dansup 1586808b11
Merge pull request #6189 from rossbearman/admin-invites
Admin web interface for creating and expiring invites; add invitation emails
2 months ago
dansup 0b5ce910b8
Merge branch 'staging' into fix-delay-publish-until-media-processed 2 months ago
Anil Kulkarni 2f6c6830ea
Fix null dereference error when updating the sharedInbox for actor
updates.

The old code assumes that all update messages have an endpoints key.
However, both the endpoints key, as well as the sharedInbox may be
missing or null per spec. This commit fixes the bug by using isset to
check for the key to exist, otherwise coalescing it to null

server to server update messages are PUT operations, not PATCH,
so if the sharedInbox is missing in the update, it should always be
removed (if previously set)
2 months ago
Anil Kulkarni 8737619b46
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
3 months ago
Anil Kulkarni 5c6e3b9732
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
3 months ago
Anil Kulkarni dbd2e17728
Ensure the cloud url is used when publishing a status to activitypub
Posting is done in two steps - first the media is uploaded and that begins a processing pipeline. When the media is finally
processed, the media pipeline sets the cdn_url to the final image (in the cloud if configured).
At any time, the user can click post. This begins a separate NewStatusPipeline to deliver the status over ActivityPub.
This causes a race. If the NewStatusPipeline runs before the media finishes processing, then the status is delivered with
the un-processed (and un-optimized images). If pixelfed is set to use cloud storage, then the ActivityPub message also incorrectly
uses the local media.

This commit fixes the race condition by waiting for all the media to be processed before sending the message over ActivityPub.
A new publish_delayed column is set per-post, indicating whether the
status should be delayed until all media is processed.

Then, the NewStatusPipeline is called twice per post -
When the media finishes processing and when the status is posted.

Both times, the pipeline will check to see if it's valid to post
If so, the pipeline will try to set publish_delayed to false
and only if it is the first time doing so, will it publish the post
3 months ago
Anil Kulkarni d819012439
Revert "Update NewStatusPipeline, replaces #5706"
This reverts commit 6c13debd56.
3 months ago
Anil Kulkarni 1a245914d8
Revert "Update NewStatusPipeline, improve fallback"
This reverts commit 863ad8e107.
3 months ago
Daniel Supernault 76b5601a01
Update IG Import
To support non-local fs
3 months ago
Daniel Supernault 03d01d296f
Update StoryComposeController.php
Fix non-local storage bug
3 months ago
Daniel Supernault 02455129a5
Update StoryComposeController.php
Fix support for non-local fs
3 months ago
Emily Love Watson e645008ad5
More precise 3 months ago
Emily Love Watson 7709d5da29
Cleanup 3 months ago
Emily Love Watson 49b0a7358e
Update follower records 3 months ago
Emily Love Watson 2052d618e8
Cleanup legacy follower count 3 months ago
Emily Love Watson 2272c3ec01
Cleanup 3 months ago
Emily Love Watson 871efff1a8
Remove unused params 3 months ago
Emily Love Watson 74bf7e45c8
Restore follower count logic 3 months ago
Emily Love Watson 451d59cb7c
fixies 3 months ago
Emily Love Watson a07f3595d8
More cleanup 3 months ago
Emily Love Watson 453ae4b32e
MVP migration 3 months ago
Ross Bearman db03733415 Add admin invite interface and email support
This commit does two things:

* Add invite email support to AdminInviteCommand
  - Moves `invite_code` generation to AdminInvite model `creating` event
* Add admin invite management section under admin users dashboard
  - Adds `Admin/AdminUserInviteController` and associated `home` and
    `create` Blade templates.
  - Adds "Invites" button to admin user dashboard
4 months ago
Daniel Supernault 2e719bd008
Update media storage pipeline, improve support for non-local filesystems 4 months ago
Daniel Supernault f0bc9d66e4
Update InstanceService, fix total post count when config_cache is disabled 4 months ago
Daniel Supernault f37661e945
Update SanitizeService, improve tag coverage 4 months ago
Daniel Supernault a2c663d69c
Update SanitizeService 4 months ago
Daniel Supernault 3686c92122
Update Status storage, add SanitizerService to fix spacing in html stripped content 4 months ago
Daniel Supernault ec21eec508
Update ApiV1Dot1Controller, fix Story report follower check 5 months ago
Daniel Supernault f195102b34
Update StoryApiV1Controller, reduce min story size to 10kb 5 months ago
Daniel Supernault 5d4674daa4
Update ApiV1StoryController, fix viewer pagination
Fix cursor pagination
5 months ago
(dan)iel (sup)ernault 2e0b3829a3
Merge pull request #6081 from eufelipemateus/adjust-oderby-statuses-profile
fix: ordery by statutes profile
5 months ago
Daniel Supernault e2a64c730e
Update StoryRotateMedia job, handle StoryIndexService cache invalidation 5 months ago
Daniel Supernault 03f44b8a28
Update StoryIndexService.php 5 months ago
Daniel Supernault 1e31470282
Update StoryFetch, fix mass assignment bug preventing proper model creation 5 months ago
Daniel Supernault 89e34f8f44
Update StoryIndexService, improve redis compatability 5 months ago
Daniel Supernault dbba523031
Update StoryIndexService, improve redis compatability 5 months ago
Daniel Supernault 32b1f26d69
Update StoryApiV1Controller, update error messsage 5 months ago
Daniel Supernault 8fb44e3162
Update StoryApiV1Controller, improve text overlay validation regex for improved support 5 months ago
Daniel Supernault 53b74bf16c
Update StoryIndexService, improve predis/phpredis support 5 months ago
Daniel Supernault 76d9ded694
Update StoryApiV1Controller, add missing validation rule 5 months ago
Daniel Supernault 564d8d1091
Update StoryIndexService, improve predis + phpredis support 5 months ago
Daniel Supernault 6c701b335d
Update StoryComposeController, add StoryIndexService support 5 months ago
Daniel Supernault e092917752
Update StoryIndexService, fix markSeen method 5 months ago