Commit Graph

235 Commits (82a82ec3e7232f9d227484449c3315c04c0c57d7)

Author SHA1 Message Date
Shlee 6e5eee8d50
Update Installer.php 1 week ago
dansup 225e835015
Staging (#6264)
* StatusPipeline defensive checks

* HomeFeedPipeline defensive checks

* DeletePipeline defensive checks

* InboxPipeline defensive checks

* MediaPipeline defensive checks

* PushNotificationPipeline defensive checks

* LikePipeline defensive checks

* FollowPipeline defensive checks

* ImageOptimizePipeline defensive checks

* Misc pipelines defensive checks

* Update CommentPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update FollowPushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update MoveSendUndoFollowPipeline.php

* Update RemoteFollowPipeline.php

* Update FollowPushNotifyPipeline.php

* Update LikePushNotifyPipeline.php

* Update MentionPushNotifyPipeline.php

* Update Site/Config.php - config_cache only has 1 arg. No fallback.

* Update Bouncer.php - Called 'count' on Laravel collection, but could have been retrieved as a query.            🪪  larastan.noUnnecessaryCollectionCall

* Update Status.php - Missing use App\Models\Conversation;

* Larastan: Update UndoSharePipeline.php (Undefined variable: $status)

* Update ResilientMediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update Profile.php missing "use App\Avatar;"

* Larastan: Update MediaStorageService.php

* Larastan: Update MediaPathService.php

* Update MediaPathService.php

* Update MediaStorageService.php

* Update ImageS3UploadPipeline.php

* Larastan: Update AddUserDomainBlock.php

```
 ------ ------------------------------------------------------------- 
  Line   Console/Commands/AddUserDomainBlock.php                      
 ------ ------------------------------------------------------------- 
  37     Variable $domain in empty() always exists and is not falsy.  
         🪪  empty.variable                                           
 ------ ------------------------------------------------------------- 
```

* Larastan: Update CatchUnoptimizedMedia.php

```
 ------ ------------------------------------------------------------------------------------------------- 
  Line   Console/Commands/CatchUnoptimizedMedia.php                                                       
 ------ ------------------------------------------------------------------------------------------------- 
  31     Constructor of class App\Console\Commands\CatchUnoptimizedMedia has an unused parameter $media.  
         🪪  constructor.unusedParameter                                                                  
 ------ ------------------------------------------------------------------------------------------------- 
```

* Update DeleteUserDomainBlock.php

* Update StatusHashtag.php

* Update FixLikes.php

* Update User.php

* Update Installer.php

* Update SeedFollows.php

* Update DiscoverCategory.php

* Update FollowRequest.php

* Update Follower.php

* Update AccountController.php

* Update CustomFilterKeyword.php

* Update FederationController.php

* Update Inbox.php

* Update HttpSignature.php

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Shlee <github@shl.ee>
2 weeks ago
dansup 1586808b11
Merge pull request #6189 from rossbearman/admin-invites
Admin web interface for creating and expiring invites; add invitation emails
2 weeks ago
Daniel Supernault 76b5601a01
Update IG Import
To support non-local fs
1 month 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
2 months ago
Daniel Supernault c65052c04c
Remove AvatarSync command. Fixes #5833 3 months ago
Daniel Supernault e3f9b1bc9e
Remove MediaReplaceDomainCommand. Fixes #5835 3 months ago
Daniel Supernault 506fe14c11
Update MediaCloudUrlRewrite command, add avatar support. Fixes #6069 3 months ago
Daniel Supernault c319dfbcc4
Update AppRegister controller, add scheduled cleanup task to delete older than 90d 3 months ago
Daniel Supernault bbc7f7b0d4
Fix race condition 4 months ago
Daniel Supernault d595963f51
Fix TransformImports command 4 months ago
Daniel Supernault a8d1d0f2eb
Update ImportService and TransformImports to fix race condition bug 4 months ago
Daniel Supernault c692c7655e
Update TransformImports command 4 months ago
Daniel Supernault b303f90978
Update FixMissingUserProfile.php 6 months ago
Daniel Supernault 91b15a9dfa
Update FixMissingUserProfile.php 6 months ago
Daniel Supernault cd817009d3
Create FixMissingUserProfile.php 6 months ago
Daniel Supernault ab9c13fe0d
New supported formats, Preserve ICC Color Profiles, libvips support
Update image pipeline to handle avif, heic and webp and preserve ICC color profiles and added libvips support.
6 months ago
Daniel Supernault f4a365e2b2
Update InstanceUpdateTotalLocalPosts.php
- Improve total post count by adding `uri` IS NULL check
7 months ago
Daniel Supernault 5a5821fe86
Update Instance total post, add optional estimation for huge status tables 7 months ago
Anil Kulkarni 8db8258cab
Fix server post stats
This fixes the homepage, showing how many posts have been made by the
server.
The prior logic includes posts from remote servers by an indirect check
for if it's a local post.
This commit changes the query behavior to directly check for the local
flag in the statuses column, and additionally excludes shares
8 months ago
Daniel Supernault 134eb6324e
Update AccountPostCountStatUpdate, fix memory leak 8 months ago
Daniel Supernault 01b445f6ea
Update AccountImports, add webp support 9 months ago
Daniel Supernault 1278e2211b
Update IG import command 9 months ago
Daniel Supernault decaa2596d
Fix curl 9 months ago
Daniel Supernault d968f8e6e0
Add media:replacedomain command to replace S3 media urls 9 months ago
Daniel Supernault 4960421073
Update CuratedOnboarding, add new app:curated-onboarding command, extend email verification window to 7 days and fix resend verification mails 9 months ago
Daniel Supernault df7283fc00
Add localization:generate command to generate the js/vue l10n files from the blade translations 9 months ago
Daniel Supernault a05524e834
Fix #5582 10 months ago
daniel 49a6e69858
Merge pull request #5540 from jippi/patch-1
fix: don't restore memory limit after cities import
10 months ago
Shlee a13545e328
Update FixUsernames.php 10 months ago
Christian Winther 2de9c70a0c
fix: don't restore memory limit after cities import
Since this command can only be invoked by CLI, the process will exit after a successful import, so restoring the transient PHP memory limit doesn't really have any affect.

In PHP 8.4, this throws the following error (which doesn't happen in 8.3 and below)

> [entrypoint / 11-first-time-setup.sh] - (stderr) 128769/128769 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%[2025-01-20 11:29:23] production.ERROR: Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) {"exception":"[object] (ErrorException(code: 0): Failed to set memory limit to 134217728 bytes (Current memory usage is 134746112 bytes) at /var/www/app/Console/Commands/ImportCities.php:140)

It seems to be a 8.4 behavior change, so removing the logic would make it go away
10 months ago
Anil Kulkarni 4d0cb32f79
Fix notifications not being delivered by directly checking the state from the database 10 months ago
Daniel Supernault 3749267260
Add ReclaimUsername command 10 months ago
Daniel Supernault 99b15b73f6
Update CatchUnoptimizedMedia command, make 1hr limit opt-in 11 months ago
daniel 632f590c3c
Merge branch 'staging' into insta-import-optimizeMedia 11 months ago
Daniel Supernault 77da9ad8e9
Update UserVerifyEmail command 12 months ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 1 year ago
Daniel Supernault 8e208b0eb3
Update PushGatewayRefresh command 1 year ago
Daniel Supernault 92ad62e735
Update NotificationAppGatewayService 1 year ago
Daniel Supernault dba012840c
Add PushGatewayRefresh command 1 year ago
Daniel Supernault be02f48a77
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d 1 year ago
Daniel Supernault c5f85c71ae
Update DeleteRemoteProfile command 1 year ago
Daniel Supernault c38bd54792
Add Delete Remote Profile command 1 year ago
Daniel Supernault 4f2b8ed20a
Refactor total local post count logic, cache value and schedule updates twice daily to eliminate the perf issue on larger instances 1 year ago
Daniel Supernault 71adfd2804
Add app:captcha-toggle-command command to disable captcha from cli 1 year ago
Daniel Supernault dc6b9f4661
Update task scheduler, add weekly instance scan to check nodeinfo for known instances 1 year ago
Daniel Supernault d670de175e
Update media_types, use config_cache 2 years ago
Daniel Supernault 665581d80c
Update cloud storage, use config_cache 2 years ago
Daniel Supernault 4aa0e25f4c
Update commands, add user account delete cli command to federate account deletion 2 years ago
Daniel Supernault 632f2cb619
Update SoftwareUpdateService, add command to refresh latest versions 2 years ago