Commit Graph

3852 Commits (dev)

Author SHA1 Message Date
Daniel Supernault 599a36f4aa
Update AdminSettingsController, persist updates to ConfigCacheService 8 months ago
Daniel Supernault f260572e72
Fix GroupController, move groups enabled check to each method to fix route:list 8 months ago
Anil Kulkarni d97383c0f6
Fix the local column for statuses to not include remote shares (#5513)
* Fix the local column for statuses to not include remote shares

* Chunk the migration
8 months ago
Daniel Supernault 8fad89543f
DM 8 months ago
Daniel Supernault 17918cbef4
Update ComposeController, add max_media_attachments attribute 8 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
8 months ago
Daniel Supernault 629fb5a47a
Update PublicApiController 8 months ago
Daniel Supernault 22eae69fd5
Update AP Helpers, fix comment bug 8 months ago
Daniel Supernault b27679fc88
Update Discover, fix account bug 8 months ago
Daniel Supernault 207bb36c89
Increase username length limit from 15 to 30 8 months ago
Daniel Supernault 83c1a7fd4b
Update SearchApiV2Service, fix hashtag search 8 months ago
daniel f3220fd21e
Merge pull request #5458 from intentionally-left-nil/notifications-for-mentions
Add a push notification when a user is mentioned in a post or comment
8 months ago
Anil Kulkarni 64bad4ee4d
Add a push notification when a user is mentioned in a comment 8 months ago
Anil Kulkarni 4d0cb32f79
Fix notifications not being delivered by directly checking the state from the database 8 months ago
Daniel Supernault 4ce6e610bd
Update oauth/token, fix scope to be space separated string instead of array 9 months ago
Daniel Supernault 3749267260
Add ReclaimUsername command 9 months ago
Daniel Supernault 0d25917c29
Update Data Export, refactor following/follower and statuses exports to allow accounts of any size with api entity instead of ap 9 months ago
Daniel Supernault 83cc932fe9
Update AP Status Transformer, fix inReplyTo. Fixes #5409 9 months ago
daniel 3dd515006c
Merge branch 'staging' into dev 9 months ago
Daniel Supernault fc8709bc4b
Fix typo 9 months ago
Daniel Supernault d8f5c3027c
Update BearerTokenResponse, return scopes in oauth/token endpoint. Fixes #5286 9 months ago
Daniel Supernault aa44835434
Update AdminSettingsController, increase max photo size limit from 50MB to 1GB 9 months ago
Daniel Supernault 57ede29175
Fix oauth endpoint 9 months ago
Daniel Supernault 79ebbc2d9f
Update VerifyCsrfToken middleware, add oauth token. Fixes #5426 9 months ago
Daniel Supernault 56f17b9957
Update ApiV1Dot1Controller, fix in-app registration 9 months ago
Daniel Supernault 4e1dd59992
Update CollectionController, fix showCollection signature 9 months ago
root (Deneir) 370f09495a resolve merge conflicts 9 months ago
Daniel Supernault 92d8df9116
Update AP helpers 9 months ago
Daniel Supernault ea17e24281
Update asp 9 months ago
Daniel Supernault d373887615
Update Helpers 9 months ago
Daniel Supernault d516b7998f
Update StatusTagsPipeline, fix hashtag bug and formatting 9 months ago
Daniel Supernault cf2012c3af
Update Helpers.php 9 months ago
Daniel Supernault 3d67d5a369
Add Pulse 9 months ago
Daniel Supernault 823d756781
Update Helpers.php 9 months ago
Daniel Supernault 12b400707f
Refactor ActivityPub helpers 9 months ago
Daniel Supernault 85124aa642
Fix rendered caption 9 months ago
Daniel Supernault fd434aec74
Fix Instagram import. Closes #5411 9 months ago
Daniel Supernault 99b15b73f6
Update CatchUnoptimizedMedia command, make 1hr limit opt-in 9 months ago
daniel 632f590c3c
Merge branch 'staging' into insta-import-optimizeMedia 9 months ago
Daniel Supernault 8afbdb03a8
Fix oauth oob (urn:ietf:wg:oauth:2.0:oob) support. Fixes #2522 9 months ago
Daniel Supernault 8c39ef449a
Update Helpers.php 9 months ago
Daniel Supernault 1d2f76c8e5
Postgres fixes 9 months ago
Daniel Supernault 8ed8305f5d
Update ApiV1Controller.php 10 months ago
Daniel Supernault 1f30beccf3
Update Transformers to comply with MastoAPI 10 months ago
Daniel Supernault 79039ba595
Update StatusStatelessTransformer, refactor the caption field to be compliant with the MastoAPI. Fixes #5364 10 months ago
Daniel Supernault 77da9ad8e9
Update UserVerifyEmail command 10 months ago
Daniel Supernault 56c07b7abd
Update StatusService.php 10 months ago
Daniel Supernault 543d83e7ed
Fix newlines 10 months ago
Daniel Supernault 639df41093
Update DirectMessageController, remove 72h limit for admins 10 months ago
Daniel Supernault 51bbb85bb0
Update Helpers.php 10 months ago
Daniel Supernault eac2c19601
Update AutolinkService, optimize lookups 10 months ago
Daniel Supernault 9eeb7b6741
Update Status caption logic, stop storing duplicate html caption in db and defer to cached StatusService rendering 10 months ago
Daniel Supernault 9f7cc52c24
Update ApiV1Controller, fix bookmark bug. Closes #5216 10 months ago
Daniel Supernault ecfc967429
Update PublicApiController 10 months ago
Daniel Supernault fb8dbb95db
Update Status caption render logic 10 months ago
Daniel Supernault 0917953dbc
Update Status, remove unused method 10 months ago
Daniel Supernault 79d73c508c
Update Inbox 10 months ago
Daniel Supernault 044d410c49
Update DirectMessageController, fix ordering bug 10 months ago
Daniel Supernault bcc8b8842f
Update DirectMessageController, fix ordering bug 10 months ago
Daniel Supernault cf38a508ca
Lint 10 months ago
Daniel Supernault 960f3849f2
Update AP helpers, reject statuses with invalid dates 10 months ago
Daniel Supernault 28990280ef
Update AdminReportController 11 months ago
Daniel Supernault b464eee966
Update AdminModeratedProfileResource 11 months ago
Daniel Supernault ed9f2fbb09
Update AdminReportController 11 months ago
Daniel Supernault 1a972e8ddf
Update AdminModeratedProfile resource 11 months ago
Daniel Supernault c4b5148b17
Update AdminReport 11 months ago
Daniel Supernault 80ee8a7414
Update AdminModeratedProfileResource 11 months ago
Daniel Supernault c0478f5f8f
Update AdminReportController 11 months ago
Daniel Supernault dcddc72c86
Update AdminModeratedProfileResource 11 months ago
Daniel Supernault 6fc2dd07d4
Add AdminModeratedProfileResource.php 11 months ago
Daniel Supernault 06ebb514d7
Update AdminReportController 11 months ago
Daniel Supernault 03ad41e2c4
Update AP Helpers 11 months ago
Daniel Supernault bcf99d637f
Add ModeratedProfile model 11 months ago
Daniel Supernault 8af77a3f78
Add Profile Carousels 11 months ago
Daniel Supernault 0c6e885b6f
Update AdminController 12 months ago
Daniel Supernault 33d15f4951
Update ContactController 12 months ago
Daniel Supernault 3004c438f1
Update Admin routes 12 months ago
Daniel Supernault 1173e63a45
Add AdminMessageResponse 12 months ago
Daniel Supernault 11da5605b2
Update Contact model 12 months ago
Daniel Supernault 7820b506d8
Update ApiV1Dot1Controller, allow upto 5 similar push tokens 12 months ago
Daniel Supernault de4ce3c83f
Update config, allow Beagle discover service to be disabled 12 months ago
Daniel Supernault 424f0271c3
Update ApiV1Controller, fix null caption on media bug 12 months ago
Daniel Supernault 78d2783db8
Fix push token for php8.2 12 months ago
Daniel Supernault 8e208b0eb3
Update PushGatewayRefresh command 12 months ago
Daniel Supernault b995af15f6
Update LikePipeline 12 months ago
Daniel Supernault 6889fffbfb
Update LikePipeline 12 months ago
Daniel Supernault 873031538d
Update FollowPipeline 12 months ago
Daniel Supernault cc897bc427
Update AP Inbox 12 months ago
Daniel Supernault bae0632e34
Add MentionPushNotifyPipeline 12 months ago
Daniel Supernault c95e757731
Add LikePushNotificationPipeline 12 months ago
Daniel Supernault 7b4256549a
Update FollowPipeline 12 months ago
Daniel Supernault bd96840587
Add FollowPushNotifyPipeline 12 months ago
Daniel Supernault ae6fca4d23
Update NotificationAppGatewayService 12 months ago
Daniel Supernault 078ea326c6
Update ApiV1Dot1Controller 12 months ago
Daniel Supernault b29d792c86
Add PushNotificationService 12 months ago
Daniel Supernault 141fc77be9
Update User model, add notify_enabled 12 months ago
Daniel Supernault df5a9f2659
Update nag endpoint 12 months ago
Daniel Supernault 92ad62e735
Update NotificationAppGatewayService 12 months ago
Daniel Supernault dba012840c
Add PushGatewayRefresh command 12 months ago
Daniel Supernault 33621dd680
Add Notify App Gateway support 1 year ago
daniel a67edc59f4
Merge pull request #5291 from sashazurek/staging
Add it/its pronouns to pronouns list
1 year ago
Daniel Supernault 3de8ceca74
Update ReblogService, fix cache sync issues 1 year ago
Daniel Supernault 312386bf98
Update DiscoverActor, fix formatting 1 year ago
Daniel Supernault 002dfefbdd
Update MovePipeline to handle mute and block migrations 1 year ago
Daniel Supernault f1497655ba
Update AP helpers, fix Moved account support 1 year ago
Daniel Supernault d0c376f579
Update SearchApiV2Service, add support for Moved accounts 1 year ago
Daniel Supernault 6d565b81fd
Update Inbox 1 year ago
Daniel Supernault 0539018f11
Update StatusService 1 year ago
Daniel Supernault 1da08feed0
Update StatusController to handle Moved accounts 1 year ago
Daniel Supernault 447aa1e1ea
Update BookmarkController to handle Moved accounts 1 year ago
Daniel Supernault 6c48a12423
Update ApiV1Controller, handle Moved accounts 1 year ago
Daniel Supernault 0d8c142bf3
Update MovePipeline CleanupLegacyAccountMovePipeline, set moved_to_profile_id attribute on old account and clear AccountService caches accordingly 1 year ago
Daniel Supernault db84ae90f1
Update Inbox 1 year ago
Daniel Supernault f24ea52bfc
Fix namespaces 1 year ago
Daniel Supernault 15918cba8c
Refactor MovePipeline follow/undo follow to their own separate jobs, outside of the job chain 1 year ago
Daniel Supernault dfdb7531f0
Update ProcessMovePipeline and Inbox 1 year ago
freyja 0fe21513f9
Update PronounService.php with it its pronouns 1 year ago
Daniel Supernault a46c295b13
Update MovePipeline, fix async pool 1 year ago
Daniel Supernault 15a4e53382
Update MovePipeline 1 year ago
Daniel Supernault 5cc34b161b
Update MovePipeline 1 year ago
Daniel Supernault 59645f683e
Update AP Inbox, fix Move activity processing 1 year ago
Daniel Supernault d3dce6751c
Update MovePipeline, add cache break params to actor and target requests 1 year ago
Daniel Supernault 8a362c12a9
Update Inbox, add delay to move handler to allow for remote cache invalidation 1 year ago
Daniel Supernault 12a0d2e8bf
Update MovePipeline 1 year ago
Daniel Supernault 375137bf75
Fix typos 1 year ago
Daniel Supernault b37f8067e5
Fix typos 1 year ago
Daniel Supernault 286779247e
Fix typos 1 year ago
Daniel Supernault 4e946dec91
Fix MovePipeline 1 year ago
Daniel Supernault cfb95f6897
Update ProcessMovePipeline 1 year ago
Daniel Supernault 5fb5054d64
Add logging 1 year ago
Daniel Supernault ef297f3e64
Fix typos 1 year ago
Daniel Supernault 5ad25759cc
Update ProcessMovePipeline 1 year ago
Daniel Supernault 6615408023
Update AP inbox 1 year ago
Daniel Supernault 5558535aea
Update Move pipeline, add debug logging 1 year ago
Daniel Supernault 0cba7d7d7d
Fix MovePipeline jobs 1 year ago
Daniel Supernault a7efd20bbc
Fix MovePipeline jobs 1 year ago
Daniel Supernault aff2545396
Fix MoveMigrateFollowersPipeline 1 year ago
Daniel Supernault c76fb7ec34
Update AP Inbox 1 year ago
Daniel Supernault a55238d2e5
Update AP Inbox 1 year ago
Daniel Supernault 3e88b7c890
Update AP Inbox 1 year ago
Daniel Supernault 909a6c725b
Add ActivityPub Move validator 1 year ago
Daniel Supernault 42424028b0
Update AP helpers, add forceBanCheck param to validateUrl method 1 year ago
Daniel Supernault 9904d05fbf
Add MovePipeline queue jobs 1 year ago
Daniel Supernault da1de80319
Update ProcessMovePipeline 1 year ago
Daniel Supernault d4cf918120
Update HttpSignature, add signRaw method and improve error checking 1 year ago
Daniel Supernault 991b3e5792
Update FollowerService 1 year ago
Daniel Supernault be02f48a77
Update UserAccountDelete command, increase sharedInbox ttl from 12h to 14d 1 year ago
Daniel Supernault 58506e390e
Add ProcessMovePipeline job 1 year ago
Daniel Supernault 1210bf7502
Lint 1 year ago
Daniel Supernault 21da2b642c
Update ActivityPubFetchService, reduce cache ttl from 1 hour to 7.5 mins and add uncached fetchRequest method 1 year ago
Daniel Supernault edad436d4d
Update NodeinfoService, fix typo 1 year ago
daniel 5ea788dd3f
Merge pull request #5269 from intentionally-left-nil/oauth-keys-from-environment
Check for oauth keys from the config, as well as from disk
1 year ago
Daniel Supernault 1a6a3397e4
Add ActiveSharedInboxService, for efficient sharedInbox caching 1 year ago
Anil Kulkarni 9db038e4bb
Check for oauth keys from the config, as well as from disk 1 year ago
Daniel Supernault 6cd1cbb41a
Update BeagleService, disable discovery if AP is disabled 1 year ago
Daniel Supernault 4ca7c6c328
Add preliminary Authorize Interaction support 1 year ago
Daniel Supernault dcd95d687c
Update ApiV1Controller, fix v1/instance stats, force cast to int 1 year ago
Daniel Supernault 8fea821504
Update AP helpers 1 year ago
Daniel Supernault ea2a9eb42a
Add Authorized Fetch 1 year ago
daniel 1dbcdee289
Merge branch 'staging' into feat/implement-admin-domain-blocks-api 1 year ago
Daniel Supernault a5946f590b
Update AppServiceProvider 1 year ago
Daniel Supernault 73b9a75a64
Add UserStorageService 1 year ago
Daniel Supernault a2524910dd
Add migration 1 year ago
Daniel Supernault 2803861083
Update ApiV1Dot1Controller.php 1 year ago
Daniel Supernault b03f5cec8b
Update ApiV1Dot1Controller, add new single media status create endpoint 1 year ago
Daniel Supernault 8b4ea6ff48
Update user model 1 year ago
Daniel Supernault aa1049e3e0
Update site config 1 year ago
daniel c13826e44b
Merge pull request #5215 from pixelfed/groups
Add Groups
1 year ago
Daniel Supernault 58b8a385bd
Update GroupController.php 1 year ago
Daniel Supernault d723e207fd
Update Helpers.php 1 year ago
Daniel Supernault 4f2faed756
Update GroupActivityPubService.php 1 year ago
Daniel Supernault 78eb1c88d6
Create ValidUrl.php 1 year ago
Daniel Supernault a76f3b0e2e
Update GroupsSearchController.php 1 year ago
Daniel Supernault 3d99972653
Update GroupController.php 1 year ago
Daniel Supernault bd3d072227
Update ApiV1Dot1Controller.php 1 year ago
Daniel Supernault 8f7becc58b
Add push notification api endpoints 1 year ago
Daniel Supernault 83ce8fd78e
Add Push Notifications 1 year ago
Daniel Supernault 2910b61d21
Update RemoteStatusDelete.php 1 year ago
Daniel Supernault c5fbc68745
Update ApiV1Controller 1 year ago
Daniel Supernault c5f85c71ae
Update DeleteRemoteProfile command 1 year ago
Daniel Supernault f3b596f0c8
Update RemoteStatusDeletePipeline 1 year ago
Daniel Supernault c38bd54792
Add Delete Remote Profile command 1 year ago
Daniel Supernault a9f24f85da
Update AdminApiController 1 year ago
Daniel Supernault 0aafb863e8
Update AdminApiController 1 year ago
Daniel Supernault cb5620d4c0
Update AdminUser, fix entity casting 1 year ago
Daniel Supernault 3d6b9badf4
Add groups models, controllers and services 1 year ago
Daniel Supernault dd6e3cc290
Update RegisterController, update username constraints, require atleast one alpha char 1 year ago
Daniel Supernault 72f681607a
Update ApiV1Controller, fix /api/v1/favourites pagination 1 year ago
Daniel Supernault a8bb97b22b
Update ApiV1Dot1Controller, fix mutual api 1 year ago
Daniel Supernault f61bbecaa9
Update ApiV1Controller, fix support for notification filter types[] 1 year ago
Daniel Supernault 2b9586fce1
Update ApiV1Controller.php 1 year ago
Daniel Supernault f61159a15a
Update ApiV1Controller, add support for notification filter types[] 1 year ago
Daniel Supernault 81018265db
Fix BeagleService 1 year ago
Daniel Supernault 2cae8b48de
Update discover, add network trending using Beagle API 1 year ago
Daniel Supernault ecf22b54d5
Add custom css to admin dashboard 1 year ago
Daniel Supernault 83098428bb
Update StatusController, fix unlisted post guest/ap access bug 1 year ago
Daniel Supernault e33643c295
Update Media model, fix broken thumbnail/gray thumbnail bug 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 bc84259a63
Lint 1 year ago
Daniel Supernault 96f24f337e
Update DirectMessageController, add carousel entity to threads 1 year ago
Daniel Supernault b24d2554a8
Update DirectMessageController, add timestamps to threads 1 year ago
Daniel Supernault 6e0d1ef41b
Update cache 1 year ago
Daniel Supernault d339b5c251
Update AccountService 1 year ago
Daniel Supernault 165df0ca52
Update ApiV1Controller, update tag feed 1 year ago
Daniel Supernault 25d41901ec
Lint 1 year ago
Daniel Supernault a75b89b239
Update StatusController, cache AP object 1 year ago
Daniel Supernault 5b85efb570
Update ApiV1Dot1Controller, lint 1 year ago
Daniel Supernault 4d6cea9aa4
Update ApiV1Dot1Controller, fix username to id endpoint 1 year ago
Daniel Supernault 679ef677b7
Update ApiController, add pe support to like/unlike endpoints 1 year ago
Daniel Supernault 28bc7aa439
Update ApiV1Controller, fix self relationship response 1 year ago
Daniel Supernault b29527cf53
Add api endpoint 1 year ago
Daniel Supernault 921be4287c
Update ApiV2Controller 1 year ago
Daniel Supernault 71adfd2804
Add app:captcha-toggle-command command to disable captcha from cli 1 year ago
Daniel Supernault c5e7e91777
Add disable_embeds setting, and fix cache invalidation in other settings 1 year ago
Daniel Supernault d56a4108ec
Update ApiV1Controller, fix cache invalidation bug in update_credentials 1 year ago
Daniel Supernault 19c62aaafa
Update ApiV1Controller, fix update_credentials boolean handling 1 year ago
Daniel Supernault 3f4e0b94ee
Update ApiV1Controller, add settings to verify_credentials endpoint 1 year ago
Daniel Supernault 42915ff9a0
Update AP fetch service and domain service 1 year ago
Daniel Supernault 4aad1c225a
Add api/v1/instance/peers API endpoint, disabled by default 1 year ago
Daniel Supernault dc6b9f4661
Update task scheduler, add weekly instance scan to check nodeinfo for known instances 1 year ago
Daniel Supernault a7fce91e0c
Update FetchNodeinfoPipeline, set last_fetched_at timestamp 1 year ago
Daniel Supernault 951c339010
Update RestrictedNames, add intent 1 year ago
Daniel Supernault ad30498dbc
Lint 1 year ago
Daniel Supernault 24194f7d16
Update FederationController, add webfinger support for actor uri. Fixes #5068 1 year ago
Daniel Supernault bc2495c676
Update CollectionsController, add new self route 1 year ago
Daniel Supernault 921e29659f
Update ProfileController, fix atom feed cache ttl. Fixes #5093 1 year ago
Daniel Supernault e4edc6f192
Update ActivityPubFetchService, fix Friendica bug 1 year ago
Daniel Supernault cbb96cfd2a
Update AdminCuratedRegisterController, fix existing account approval 1 year ago
Daniel Supernault d645d6ca26
Update ApiV1Controller, add pe (pixelfed entity) support to /api/v1/statuses/{id}/context endpoint 1 year ago
Daniel Supernault 9a5e3471d4
Update AdminCuratedRegisterController, increase message length from 1000 to 3000 1 year ago
Daniel Supernault 61d105fd25
Update DirectMessageController, add 72 hour delay for new accounts before they can send a DM 1 year ago
Daniel Supernault 60a62b59c9
Update ConfigCacheService, fix database race condition and fallback to file config and enable by default 1 year ago
Daniel Supernault cbf996c9b6
Update ApiV1Dot1Controller, fix in app registration bug that prevents proper auth flow due to missing oauth scopes 1 year ago
Daniel Supernault 4223119f58
Update Like model, increase max likes per day from 500 to 1500 1 year ago
Daniel Supernault 7f8bba4415
Update CustomEmojiService, only return local emoji 1 year ago
Daniel Supernault 8b8b1ffc5c
Update ProfileController, refactor profile embeds 1 year ago
Daniel Supernault 9a7acc12a6
Update StatusController, refactor status embeds 1 year ago
Daniel Supernault 6bdf73de4d
Update UnfollowPipeline, fix follower count cache bug 1 year ago
Daniel Supernault b8e96a5ff3
Update ApiV1Controller, improve refresh relations logic when (un)muting or (un)blocking 1 year ago
Daniel Supernault b7322b6874
Update PrivacySettings controller, refresh RelationshipService when unmute/unblocking 1 year ago
daniel e2c2952fda
Merge pull request #5011 from ThisIsMissEm/feat/add-api-cors
Adjust CORS configuration to support API & OAuth Routes
1 year ago
Daniel Supernault a9e54aa540
Add BeagleService 1 year ago
Emelia Smith 626c87a420
Fix default severity for domain blocks 2 years ago
Emelia Smith 96a226d90c
Fix issue with wildcard domain blocks 2 years ago
Emelia Smith 2d34e86f26
Add digest to Admin DomainBlockResource, coming in Mastodon 4.3 2 years ago
Emelia Smith fcdfc73eaf
Remove production environment check in AuthServiceProvider
This check resulted in the /oauth/scopes route returning nothing, meaning in development you couldn't use access tokens with scopes; It probably also affected other logic
2 years ago
Emelia Smith 4afe72e62f
Add oauth protection to admin domain blocks API 2 years ago
Emelia Smith feed580f51
Minor compatibility fixes 2 years ago
Emelia Smith 21466556d4
Add update and delete 2 years ago
Emelia Smith 652654e24f
WIP: Implement domain blocks 2 years ago