Commit Graph

421 Commits (dev)

Author SHA1 Message Date
Daniel Supernault 1add0938fe
Increase default concurrency 6 months ago
Daniel Supernault e4e9d12b5c
Reduce timeout 6 months ago
Daniel Supernault 92f469ff20
Fix delete fanout 6 months ago
Daniel Supernault 7be475cbb7
Add debugging 6 months ago
Daniel Supernault 9826b54d76
Dont sign content-type 6 months ago
Daniel Supernault 78a657d7df
Refactor, use actor private key, thanks Mastodon ;) 6 months ago
Daniel Supernault dfd538e7e0
Fix signing headers 6 months ago
Daniel Supernault f98588b769
Lint 6 months ago
Daniel Supernault 0175b4a605
Lint 6 months ago
Daniel Supernault f5d2d95e76
Lint 6 months ago
Daniel Supernault 8aab6bdf1a
Lint 6 months ago
Daniel Supernault b969c5acd0
Lint 6 months ago
Daniel Supernault 273efe88c1
Lint 6 months ago
Daniel Supernault c12f07f7d8
Lint 6 months ago
Daniel Supernault 87a8b4507f
Update UserAccountDelete.php 6 months ago
Daniel Supernault 967ab88ec0
Fix UserAccountDelete delivery 6 months ago
Daniel Supernault cfc5c9387a
Fix UserAccountDelete delivery 6 months ago
Daniel Supernault 45b5381970
Fix UserAccountDelete delivery 6 months ago
Daniel Supernault 68a6a5fa51
Update UserAccountDeleteCommand 6 months ago
Daniel Supernault 6ac683d092
Update Kernel.php 7 months ago
Daniel Supernault d1799a0833
Lint commands 9 months ago
Daniel Supernault 6197a8296f
Update UserAccountDelete command 10 months ago
Your Name 45a9a3b472 RemoveUnreachableStatementRector 11 months ago
Shlee 6e5eee8d50
Update Installer.php 11 months 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>
11 months ago
dansup 1586808b11
Merge pull request #6189 from rossbearman/admin-invites
Admin web interface for creating and expiring invites; add invitation emails
11 months ago
Daniel Supernault 76b5601a01
Update IG Import
To support non-local fs
11 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
1 year ago
Daniel Supernault c65052c04c
Remove AvatarSync command. Fixes #5833 1 year ago
Daniel Supernault e3f9b1bc9e
Remove MediaReplaceDomainCommand. Fixes #5835 1 year ago
Daniel Supernault 506fe14c11
Update MediaCloudUrlRewrite command, add avatar support. Fixes #6069 1 year ago
Daniel Supernault c319dfbcc4
Update AppRegister controller, add scheduled cleanup task to delete older than 90d 1 year ago
Daniel Supernault bbc7f7b0d4
Fix race condition 1 year ago
Daniel Supernault d595963f51
Fix TransformImports command 1 year ago
Daniel Supernault a8d1d0f2eb
Update ImportService and TransformImports to fix race condition bug 1 year ago
Daniel Supernault c692c7655e
Update TransformImports command 1 year ago
Daniel Supernault b303f90978
Update FixMissingUserProfile.php 1 year ago
Daniel Supernault 91b15a9dfa
Update FixMissingUserProfile.php 1 year ago
Daniel Supernault cd817009d3
Create FixMissingUserProfile.php 1 year 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.
1 year ago
Daniel Supernault f4a365e2b2
Update InstanceUpdateTotalLocalPosts.php
- Improve total post count by adding `uri` IS NULL check
1 year ago
Daniel Supernault 5a5821fe86
Update Instance total post, add optional estimation for huge status tables 1 year 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
2 years ago
Daniel Supernault 134eb6324e
Update AccountPostCountStatUpdate, fix memory leak 2 years ago
Daniel Supernault 01b445f6ea
Update AccountImports, add webp support 2 years ago
Daniel Supernault 1278e2211b
Update IG import command 2 years ago
Daniel Supernault decaa2596d
Fix curl 2 years ago
Daniel Supernault d968f8e6e0
Add media:replacedomain command to replace S3 media urls 2 years ago
Daniel Supernault 4960421073
Update CuratedOnboarding, add new app:curated-onboarding command, extend email verification window to 7 days and fix resend verification mails 2 years ago
Daniel Supernault df7283fc00
Add localization:generate command to generate the js/vue l10n files from the blade translations 2 years ago
Daniel Supernault a05524e834
Fix #5582 2 years ago
daniel 49a6e69858
Merge pull request #5540 from jippi/patch-1
fix: don't restore memory limit after cities import
2 years ago
Shlee a13545e328
Update FixUsernames.php 2 years 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
2 years ago
Anil Kulkarni 4d0cb32f79
Fix notifications not being delivered by directly checking the state from the database 2 years ago
Daniel Supernault 3749267260
Add ReclaimUsername command 2 years ago
Daniel Supernault 99b15b73f6
Update CatchUnoptimizedMedia command, make 1hr limit opt-in 2 years ago
daniel 632f590c3c
Merge branch 'staging' into insta-import-optimizeMedia 2 years ago
Daniel Supernault 77da9ad8e9
Update UserVerifyEmail command 2 years ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 2 years ago
Daniel Supernault 8e208b0eb3
Update PushGatewayRefresh command 2 years ago
Daniel Supernault 92ad62e735
Update NotificationAppGatewayService 2 years ago
Daniel Supernault dba012840c
Add PushGatewayRefresh command 2 years ago
Daniel Supernault be02f48a77
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d 2 years ago
Daniel Supernault c5f85c71ae
Update DeleteRemoteProfile command 2 years ago
Daniel Supernault c38bd54792
Add Delete Remote Profile command 2 years 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 2 years ago
Daniel Supernault 71adfd2804
Add app:captcha-toggle-command command to disable captcha from cli 2 years ago
Daniel Supernault dc6b9f4661
Update task scheduler, add weekly instance scan to check nodeinfo for known instances 2 years ago
Daniel Supernault d670de175e
Update media_types, use config_cache 3 years ago
Daniel Supernault 665581d80c
Update cloud storage, use config_cache 3 years ago
Daniel Supernault 4aa0e25f4c
Update commands, add user account delete cli command to federate account deletion 3 years ago
Daniel Supernault 632f2cb619
Update SoftwareUpdateService, add command to refresh latest versions 3 years ago
Christian Winther d9a9507cc8 sync 3 years ago
Christian Winther 5bd93b0f5e sync 3 years ago
Christian Winther 3d6efd098d sync 3 years ago
Christian Winther d374d73ba7
Merge branch 'staging' into jippi-fork 3 years ago
Daniel Supernault 6921d3568e
Add InstanceMananger command 3 years ago
Daniel Supernault 7caed381fb
Update AP helpers, more efficently update post counts 3 years ago
Daniel Supernault 32c59f0440
Update TransformImports command, fix import service condition 3 years ago
Daniel Supernault 081360b905
Update console kernel, add ig import s3 job 3 years ago
Daniel Supernault 622e9cee97
Add S3 IG Import Media Storage 3 years ago
Christian Winther 890827d60e Merge branch 'dev' of github.com:pixelfed/pixelfed into jippi-fork 3 years ago
Christian Winther 7b3e11012f merge dev 3 years ago
Christian Winther b19d3a20dd only run kernel tasks on one server
lifted from https://github.com/pixelfed/pixelfed/pull/4634
3 years ago
daniel d7efe1a7ee
Merge pull request #3894 from vanlueckn/feat-add-emoji-cli
Add a command to import emoji archives to pixelfed
3 years ago
Daniel Supernault 73a0f528ab
Update user domain block commands 3 years ago
Daniel Supernault 519c7a3735
Update domain block commands 3 years ago
Daniel Supernault 3e28cf661b
Add user domain block commands 3 years ago
Daniel Supernault e5e3be0598
Update app:hashtag-related-generate command, add existing confirmation 3 years ago
Daniel Supernault 176b4ed793
Add app:hashtag-related-generate command 3 years ago
Daniel Supernault 1e31fee6a6
Add app:hashtag-cached-count-update command to update cached_count of hashtags and add to scheduler to run every 25 minutes past the hour 3 years ago
Daniel Supernault 446ca3a878
Update notification epoch generation 3 years ago
Daniel Supernault 5b3a56102f
Add S3 command to rewrite media urls 3 years ago
paule 67a87ccb1e fix: CatchUnoptimizedMedia, prevent skipping of imported posts 3 years ago
Daniel Supernault c37b7cde30
Add `avatar:storage-deep-clean` command to dispatch avatar storage cleanup jobs 3 years ago
Daniel Supernault 01bac51104
Update user:admin command, improve logic. Fixes #2465 3 years ago
Daniel Supernault c6408fd79d
Add user:2fa command to easily disable 2FA for given account 3 years ago
Daniel Supernault ba7551d8a9
Update TransformImports command, increment status_count on profile model 3 years ago
Daniel Supernault 43b101dbfa
Add FetchMissingMediaMimeType command 3 years ago
Daniel Supernault 04f4f8baf1
Update FixStatusCount, improve command and support remote count resync 3 years ago
Daniel Supernault afe6948da8
Update console kernel, add import upload gc 3 years ago
Daniel Supernault 892907d5d1
Update TransformImports command, improve handling of imported posts that already exist or are from deleted accounts 3 years ago
Daniel Supernault b18f3fba8b
Update IG Import commands, fix stalled import queue 3 years ago
Daniel Supernault 6d0c5994da
Update TransformImports command, bump limit from 10 to 100 3 years ago
Daniel Supernault 477986abdd
Add import scheduler 3 years ago
Daniel Supernault adb070f178
Update scheduler, fix S3 media garbage collection not being executed when cloud storage is enabled via dashboard without .env/config being enabled 3 years ago
Daniel Supernault ad25ed6792
Update UserCreate command, fix is_admin flag 3 years ago
Daniel Supernault ae6dd4e3a2
Update pipeline dispatch, replace dispatchSync with dispatch 3 years ago
Daniel Supernault b1f95a7213
Bump laravel, v9 => v10 3 years ago
Daniel Supernault 2eee36cfbd
Update MediaS3GarbageCollector, fix handle 4 years ago
Daniel Supernault 672cccd433
Add media:fix-nonlocal-driver command. Fixes s3 media created with invalid FILESYSTEM_DRIVER=s3 configuration 4 years ago
idanoo 55dc9b0aaa
Resolve issue with raw sql backticks for postgresql migrations 4 years ago
Daniel Supernault e4e7b5062a
Update FixDuplicateProfiles command 4 years ago
Daniel Supernault 443acb8227
Update FixDuplicateProfiles command 4 years ago
Daniel Supernault bc205345a9
Update FixDuplicateProfiles command 4 years ago
daniel ec2c312d0e
Merge pull request #4063 from ablyler/add-cloud-media-migration-error-logs
Add error logging for migrating to cloud storage failures
4 years ago
idanoo 52d65538cd
Update User artisan commands to match UserDelete 4 years ago
Andy Blyler 82bd1512fe Add error logging for migrating to cloud storage failures 4 years ago
Daniel Supernault 870dbd15df
Update AdminInviteCommand, fix skip email validation flag 4 years ago
Daniel Supernault 8a1fa38550
Update AdminInviteCommand, improve expiration logic 4 years ago
Daniel Supernault b73ca9a1ea
Add Admin Invites 4 years ago
Daniel Supernault 95bbcc3827
Update MediaS3GarbageCollector command, handle thumbnail deletion 4 years ago
Daniel Supernault a36b7f7291
Update CloudMediaMigrate command 4 years ago
Daniel Supernault fe76e709be
Update CloudMediaMigrate command 4 years ago
Daniel Supernault 175630d9b4
Update CloudMediaMigrate command 4 years ago
Daniel Supernault 382d00d91f
Add CloudMediaMigrate command to migrate older local media to cloud storage 4 years ago
Daniel Supernault 9c2421c5fd
Update MediaS3GarbageCollector 4 years ago
Daniel Supernault 86c5415251
Update MediaS3GarbageCollector commmand 4 years ago
Daniel Supernault a14af93b02
Update MediaS3GarbageCollector commmand, disable logging by default and optimize huge invocations 4 years ago
Daniel Supernault 9028c88520
Add migration 4 years ago
Daniel Supernault fe51054122
Update console kernel 4 years ago
Daniel Supernault b8c3f153c4
Add MediaS3GarbageCollector command to clear local media after uploaded to S3 disks after 12 hours 4 years ago
Daniel Supernault 0bc5f1306d
Update configs 4 years ago
Nils van Lück c96bcd559d Check imported emojis for mimetype
Signed-off-by: Nils van Lück <nils@vanlueck.dev>
4 years ago
Daniel Supernault 3ef66628ad
Update StoryGC command 4 years ago
Nils van Lück af28aecf21 Add a command to import emoji archives 4 years ago
Daniel Supernault 02edd19d4d
Update Avatar pipeline, fix cloud storage media_path 4 years ago
Daniel Supernault 733b9fd000
Update AvatarStorage, improve overview calculations 4 years ago
Daniel Supernault d52ee26dd7
Update AvatarStorage pipeline 4 years ago
Daniel Supernault 223aea4765
Refactor AvatarStorage to support migrating avatars to cloud storage, fix remote avatar refetching and merge AvatarSync commands and add deprecation notice to avatar:sync command 4 years ago
Daniel Supernault a83fc798b7
Update AvatarSync, fix sync skipping recently fetched avatars by setting last_fetched_at to null before refetching 4 years ago
Daniel Supernault ae78129678
Update changelog 4 years ago
Daniel Supernault 73eb9e36fc
Add UserRegistrationMagicLink command to manually generate in-app registration confirmation links 4 years ago
Daniel Supernault 5ce158a272
Update SendUpdateActor command 4 years ago
Daniel Supernault 04a498af9c
Update SendUpdateActor command 4 years ago
Daniel Supernault 682f5f0f33
Add Manually verify email address command 4 years ago
Daniel Supernault 6b92c64851
Update command 4 years ago
Daniel Supernault 896e6023bd
Add command 4 years ago
Daniel Supernault 149cf9dc29
Fix remote account post counts 4 years ago
Shlee 5e73c2d539
Update Installer.php 4 years ago
Shlee 00c6e7c664
Update Installer.php 4 years ago
daniel c25347603b
Merge pull request #3535 from shleeable/patch-10
artisan user:create - password must be 6 characters or more
4 years ago
daniel fc46c350a4
Merge pull request #3546 from shleeable/patch-14
Installer Updated
4 years ago
Shlee 563b7af500
Update Installer.php 4 years ago
Shlee ed2d4a9b34
Update Installer.php 4 years ago
Shlee e0307babf8
PHP check lists all PHP modules + linted 4 years ago
Shlee 13a86ab2b5
bug fix 4 years ago
Daniel Supernault bb1cccbe03
Update MediaDeletePipeline, fix async media deletion 4 years ago
Shlee b8526bfeb0
Update Installer.php 4 years ago
Shlee 097a04edc3
Update Installer.php 4 years ago
Shlee d2e0b9ace1
Update Installer.php 4 years ago
Shlee dcd7a35384
Update Installer.php 4 years ago
Shlee 211b497240
Update Installer.php 4 years ago
Shlee 2e0587cef8
Update Installer.php 4 years ago
Shlee e77400b621
Update Installer.php 4 years ago
Shlee 4da076c756
Update Installer.php 4 years ago
Shlee 83bb370ec9
Update Installer.php 4 years ago
Shlee 56ebd8c06c
Update Installer.php 4 years ago
Shlee a0bca2668a
Update Installer.php 4 years ago
Shlee a2090f5445
Update Installer.php 4 years ago
Shlee fc811416f3
Update Installer.php 4 years ago
Shlee 6d76d02732
Update Installer.php 4 years ago
Shlee df51e838bd
Update Installer.php 4 years ago
Shlee 825365a6b6
Update Installer.php 4 years ago
Shlee 4ffa4a3609
Update Installer.php 4 years ago
Shlee 8d583403cb
Update Installer.php 4 years ago
Shlee d5436fbd5f
Update Installer.php 4 years ago
Daniel Supernault feecc06c2a
Update installer command 4 years ago
Daniel Supernault 2b7c8dd1e5
Update GenerateInstanceActor command 4 years ago
Shlee 8c31bd4c68
Update UserCreate.php 4 years ago
Shlee 95a22b7b55
Update UserCreate.php 4 years ago
Shlee 330ed8ef82
Update UserCreate.php 4 years ago
Shlee 6c69b30870
Update UserCreate.php 4 years ago
Shlee d36e472646
Update Installer.php 4 years ago
Daniel Supernault 758a828fdf
Update MediaGarbageCollector 5 years ago
Daniel Supernault 41cc741be6
Add avatar:sync command 5 years ago
Daniel Supernault 7bef159119
Add i18n dev command 5 years ago
Daniel Supernault 03b0a62a22
Update console kernel, add db session garbage collector that runs twice daily 5 years ago
Daniel Supernault 3515a98e55
Add Cloud Backups, a command to store backups on S3 or compatible filesystems 5 years ago
Dan Church c685e3e9f4
Fix global memory limit set in constructor
Instead, set it when running.

Having the set in the constructor was causing memory_limit to be changed
for "artisan queue:work" processes.
5 years ago
Daniel Supernault d32d05eed0
Update story gc 5 years ago
Daniel Supernault da6943daed
Add InstancePipeline and NodeinfoService 5 years ago
Daniel Supernault a0da80bc70
Update media gc command 5 years ago
Daniel Supernault e8e249ce31
Update story garbage collection 5 years ago
Daniel Supernault c43f8bcce8
Update story garbage collection, handle non active stories and new ephemeral story media directory 5 years ago
Daniel Supernault b2b8c9f99c
Update UserCreate command, closes #2581 6 years ago
Daniel Supernault e71e525ac9
Update console kernel 6 years ago
Daniel Supernault 21837be99f
Update media:optimize command 6 years ago
Daniel Supernault 844ae6224a
Add InstanceActor generate command 6 years ago