Commit Graph

58 Commits (37dfd97d00d92660491bebd24867954f7d2f331c)

Author SHA1 Message Date
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
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
Gavin Mogan 441c8e0d4c Generic OIDC Support
* Everything should be configurable by env variables
* Basic request tests
7 months ago
Daniel Supernault 77044ba193
Update CustomFilter model, add custom limits for max_content_scan_limit, max_filters_per_user, max_keywords_per_filter, max_keyword_length, max_pattern_length, max_reported_matches, max_create_per_hour, max_updates_per_hour so admins have more control over this feature 7 months ago
Daniel Supernault 578718c606
Update CustomFilterKeyword model, add setKeywordAttribute method 7 months ago
Daniel Supernault b86102823b
Update CustomFilter model and CustomFilterController 7 months ago
Daniel Supernault 3ff54b9ea6
Updaet CustomFilter model 7 months ago
Daniel Supernault 437d742ac4
Add custom filters
Add custom filters, compatible with Mastodon `/api/v2/filters`

Todo:
- [ ] fix routes
- [ ] finish other context filtering
7 months ago
Daniel Supernault 604746bd5e
Add AppRegister 10 months ago
Daniel Supernault bcf99d637f
Add ModeratedProfile model 1 year ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 1 year ago
Daniel Supernault 481314cd23
Update custom emoji, add config_cache support 2 years ago
Daniel Supernault 3f0539978e
Update ProfileMigration model, add target relation 2 years ago
Daniel Supernault f8145a78cf
Add Profile Migrations 2 years ago
Daniel Supernault 071163b47b
Add Curated Onboarding Templates 2 years ago
Daniel Supernault 2b5d723582
Update Curated Onboarding dashboard, improve application filtering and make it easier to distinguish response state 2 years ago
Daniel Supernault 8dac2caf1d
Add Curated Onboarding 2 years ago
Daniel Supernault 67c650b195
Add forgot email feature 2 years ago
Daniel Supernault c53894fe16
Add Parental Controls feature 2 years ago
Daniel Supernault 7dbdbf15a5
Add Roles & Parental Controls 2 years ago
Daniel Supernault f3f0175c84
Add DefaultDomainBlock model + migration 2 years ago
Daniel Supernault a492a95a0e
Update AdminShadowFilter, fix deleted profile bug 2 years ago
Daniel Supernault 5cea5aab3c
Add Domain Blocks 2 years ago
Daniel Supernault 176b4ed793
Add app:hashtag-related-generate command 2 years ago
Daniel Supernault 175203089b
Add Related Hashtags 2 years ago
Daniel Supernault a510c3e89c
Add AdminShadowFilter model/migration 2 years ago
Daniel Supernault a9220e4e01
Add Account Migrations 2 years ago
Daniel Supernault 45b9404ec1
Add Sign-in with Mastodon 2 years ago
Daniel Supernault fe6123c820
Update ImportPostController 2 years ago
Daniel Supernault b89c4f1cdc
Update ActivityPubFetchService, fix authorized_fetch support 2 years ago
Daniel Supernault 8c9f4da48a
Add ImportPost model, migration and service 2 years ago
Daniel Supernault a2305d5fdc
Added `/api/v1.1/accounts/app/settings` endpoint and UserAppSettings model to store app specific settings 3 years ago
Daniel Supernault 98cf8f32a0
Add Post Edits/Updates 3 years ago
Daniel Supernault 75db5116b7
Add AutospamCustomTokens model + migration 3 years ago
Daniel Supernault 383c6fe8ee
Add Federated Reports 3 years ago
Daniel Supernault 5ad0d8834d
Update Portfolios, add ActivityPub + RSS support, light mode, style customization and more 3 years ago
Daniel Supernault 7e333059fb
Update models 3 years ago
Daniel Supernault bc29073ab1
Fix CustomEmoji, properly handle shortcode updates and delete old copy in case the extension changes 3 years ago
Daniel Supernault b73ca9a1ea
Add Admin Invites 3 years ago
Daniel Supernault 94697d536b
Add Server Directory integration 3 years ago
Daniel Supernault 356a882dbc
Add Portfolio feature 3 years ago
Daniel Supernault 494f11202f
Update LiveStream model 3 years ago
Daniel Supernault 7c8f76438b
Update LiveStream model 3 years ago
Daniel Supernault 5206f21f59
Add Live Stories/Live streaming 4 years ago
Daniel Supernault f34a1e9d8e
Add Conversations model 4 years ago
Shadowfacts 0a7f8fd142
Change static_path on custom emojis to static_url 4 years ago
Daniel Supernault 46d5f12590
Update custom emoji json-ld 4 years ago
Daniel Supernault efeaf427e1
Add CustomEmoji admin dashboard 4 years ago
Daniel Supernault b2016e6c21
Update note transformers, add custom emoji support 4 years ago
Daniel Supernault dc17c9fc27
Improve emoji import 4 years ago