Commit Graph

1201 Commits (a0e15d89e26327e82bddeafa092110367004d28b)

Author SHA1 Message Date
Daniel Supernault 2eea04097a
Update DiscoverController, change api schema
Daniel Supernault 789ed4b498
Update ComposeController, use placeholder image for video media. Fixes
Daniel Supernault eab4370c84
Update Like, Status and Comment controllers to add StatusService del() method to update counts
Daniel Supernault 05b9445c8f
Update ApiV1Controller, add StatusService del calls to update likes_count, reblogs_count and reply_count
Daniel Supernault 6edaf94099
Update AdminController, fix variable name in updateSpam method
Daniel Supernault 7d376c64ec
Update SiteController, only allow redirects for logged in users
Daniel Supernault 10b178c8ee
Update SiteController, use url validator in redirect endpoint
Daniel Supernault ab888b2e70
Add StatusLabelService
Daniel Supernault cc2d4bf8d8
Update ComposeController, update media version
Daniel Supernault 889c3d8758
Update AvatarController, remove deprecated thumb_path
Daniel Supernault febe9e1b6d
Add ComposeController
Daniel Supernault 2538673a7b
Update StatusController, unescape slashes in json response
Daniel Supernault 6d078377f1
Update AdminController
Daniel Supernault cf40526ef9
Update mobile apis, add blurhash
Daniel Supernault 4415af1bf0
Update api controllers, deprecate old endpoints
Daniel Supernault 8132db74e5
Update MediaController, remove deprecated endpoint
Daniel Supernault a98b65bf5c
Update DiscoverController
Daniel Supernault 0cfc12c5dd
Update StatusController, add view method
Daniel Supernault 5e13643246
Update MediaTagController
Daniel Supernault f32072a396
Add Year in Review feature (mysql only)
Daniel Supernault 2159eecdbc
Add InstanceActorController
Daniel Supernault 51f8fe5bde
Update ApiV1Controller
Daniel Supernault 74ba326adb
Update DiscoverController, limit trending api to local posts
Daniel Supernault d8d3331f3f
Update DiscoverController, improve trending api performance
Daniel Supernault a443694dc0
Update PublicApiController
Daniel Supernault b2fe219eec
Update DiscoverController, add albums and video to discover trending api
Daniel Supernault 96afc3e781
Update Controllers, add last_active_at logic
Daniel Supernault cc3053ed5d
Update api controllers
Daniel Supernault 7dc3739c1d
Update StatusController, fix scope bug
Daniel Supernault b9b84e6fa4
Update Follower model, increase hourly limit from 30 to 150
Daniel Supernault f70826e18c
Update status model, use scope over deprecated visibility attribute
Daniel Supernault 0fbde91e87
Update StatusService, cast response to array
Daniel Supernault 6dcd472be6
Update Profile, fix status count
Daniel Supernault b74e14c4e5
Update SiteController
Daniel Supernault 799a4cba12
Update LikeController, store status_profile_id and is_comment attributes
Daniel Supernault 7a68ee948a
Add StatusView model to store views for discover algorithm
Daniel Supernault 3244ca92ff
Update StatusController
Daniel Supernault 5fffe1d0dd
Update AvatarController
Daniel Supernault f6528c8470
Update avatars, use jpeg default
Daniel Supernault cd2661fc0b
Update 2FA setup, fix qrcode handler
Daniel Supernault df9c3adff6
Update Timeline, remove simple mode and set labs deprecation date
Daniel Supernault 9fc5a80cd3
Update PublicApiController, add state endpoint
Daniel Supernault a5019b8907
Update StatusController
Daniel Supernault 1325ce2cef
Update PublicApiController, use stateless transformer
Daniel Supernault 082c1ccb26
Add hCaptcha
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching
Daniel Supernault c67f0c5784
Update AccountInterstitialController, add autospam type
Daniel Supernault b892bcf0e8
Add autospam feature
Daniel Supernault 048642bead
Update Collections, add custom limit
Daniel Supernault 76353ca997
Update BaseApiController, add favourites method
Daniel Supernault 1b2fd665bf
Update compiled assets
Daniel Supernault c95085ca31
Update AdminController, add appeals support
Daniel Supernault 003caf7e8a
Update StatusController, add interstitial logic
Daniel Supernault 342e7a50c9
Update PublicApiController, improve stateless object caching
Daniel Supernault 20681bcf14
Update InternalApiController, add interstitial logic
Daniel Supernault 0718711d09
Update ApiController, return status object after deletion
Daniel Supernault 8766ccfe4f
Add AccountInterstitial model and controller
Daniel Supernault 0a5a0e8616
Add federated photo filters
Daniel Supernault 78a8798ace
Update RegisterController, fixes
Daniel Supernault e2e32682fd
Update DirectMessageController, add sharedInbox support
Daniel Supernault 4733ca9fb9
Add shared inbox
Daniel Supernault 2ab2c9a974
Update DiscoverController, fix trending api
daniel 45458bd542
Merge pull request from delthas/feature-password-length
Make the minimum user password length configurable
Daniel Supernault f8dc33cc81
Update InternalApiController
Daniel Supernault e08f646008
Update DiscoverController
Daniel Supernault f1c28e7d0c
Update DirectMessageController, fix pgsql bug
Daniel Supernault 9d07071ee0
Update DirectMessageController
Daniel Supernault f796cc7c11
Update DirectMessageController
Daniel Supernault 4b90b1e0df
Update DirectMessageController
Daniel Supernault d63569c120
Add Direct Messages
delthas 09479c02ca Make the minimum user password length configurable
Previously, all passwords had to be at least 12 characters long.

Some users use a slightly shorter password, so some instances could wish
to reduce the password length limit to a slightly lesser value.

This makes the minimum password length configurable in the .env file,
with the MIN_PASSWORD_LENGTH variable, that defaults to 12 to keep the
previous behaviour by default.
Daniel Supernault de1cca4feb
Add password change email notification
Daniel Supernault 8d923d7767
Update SearchController, update version
Daniel Supernault 8e7f4f9d88
Update DiscoverController, fixes
Daniel Supernault c251d41b2e
Update Discover, add trending hashtags, places and posts
Daniel Supernault d11fac0dfb
Update status embed, allow photo albums. Fixes
Daniel Supernault 3b7ff030f2
Update RegisterController
Daniel Supernault 597378bfb4
Update upload endpoints with MediaBlocklist checks
Daniel Supernault ba1f7e7e2c
Add MediaBlocklist feature
Daniel Supernault c945263994
Update Tag People, allow untagging yourself
daniel c6539bed90
Merge pull request from dx7/improve-username-email-validation
Improve error messages for username and email restricted on register page
Daniel Supernault f33061642a
Update comments, fix remote reply bug
Daniel Supernault f34977d9a8
Update StatusController, add shortcodeRedirect method
Daniel Supernault ee93f4598c
Update InternalApiController, add media tags
Daniel Supernault b3b220b9b3
Update StoryController, allow video stories
Daniel Supernault 711fc020e7
Add Media Tags
Daniel Supernault 588642123e
Update Api controllers, use MediaPathService
Daniel Supernault 2c440b4882
Update AccountController, prevent blocking admins
dx7 913bf77ba4
Improve email validation error for restricted emails
dx7 693f530326
Improve username validation error for restricted names
Daniel Supernault 725fc6c62b
Update StoryController, fix deprecated getClientSize() use
Daniel Supernault 00a96a15f0
Update ApiV1Controller, wrap ancestor in array
Daniel Supernault a0bde855bd
Update ApiV1Controller, add status ancestor and descendant context
Daniel Supernault b7ee9981eb
Update ApiV1Controller, fix instance endpoint
Daniel Supernault 144678fc9c
Update IG Import, remove hardcoded media size limit
Daniel Supernault ffccf0fd41
Update SettingsController, add 404 to import when disabled
Daniel Supernault ef07d17423
Update InstagramImport trait
Daniel Supernault 3b7e9e07e1
Update ImportController
Daniel Supernault 8efe14cc4b
Update PublicApiController, order accountStatuses by id
Daniel Supernault 6e8e9a2d5e
Update ProfileController, remove actor object caching
Daniel Supernault 7680e771a7
Update ProfileController, reduce actor object ttl from 6 hours to 15 minutes
Daniel Supernault 6074c56838
Update AccountController
Daniel Supernault c4ebe9dca9
Update PublicApiController
Daniel Supernault 90b89cb809
Update MomentUI
Daniel Supernault 33c0db3a9a
Update FederationController, fix typo
Daniel Supernault 0309f8a4e1
Update FederationController, remove old code
Daniel Supernault 29ce725c70
Update FederationController, dispatch inbox jobs now on high queue
Daniel Supernault 3ec5102c24
Update FederationController, move signature validation to InboxValidator job
Daniel Supernault c74cd0bdf0
Add missing bookmark api endpoints
Daniel Supernault cfaa248c72
Update SiteController, add legacy profile/webfinger redirect
Daniel Supernault 99cb48c55e
Update v1 API, add bookmarks
Daniel Supernault aa49afc755
Update ApiV1Controller, fix broken auth check on public timelines. Fixes
Daniel Supernault 302ff874cb
Update webfinger logic, fixes
Daniel Supernault a87cc2dcaa
Update Discover
Daniel Supernault f67fada273
Update SearchController, fix self search bug and rank local matches first
Daniel Supernault 285bd4854b
Update ApiV1Controller, enforce public timeline setting
Daniel Supernault 1dc65e933e
Update StatusController, fix reblog_count bug
Daniel Supernault fcab5010d6
Add UIKit model, migration and controller
Daniel Supernault 483548e217
Update AccountController, add followRequestJson method
Daniel Supernault 996866cbac
Update LikeController, fix likes_count bug
Daniel Supernault b1d5eb0556
Update Timeline component, fix mod tools
Daniel Supernault 9b37c439f7
Update InternalApiController, update modAction method
Daniel Supernault 9e533c7e87
Update SearchController
Daniel Supernault 08383dd43d
Update PublicApiControllers, fix block/mutes filtering on public timeline
Daniel Supernault 7ef9056537
Update RemotePost component, fix missing like button on comments
Daniel Supernault 6afc61a409
Add custom content warnings for remote posts
Daniel Supernault 84e203a925
Add new landing page
Daniel Supernault d918a68e8b
Update InternalApiController, limit remote profile ui to remote profiles
Daniel Supernault 324ccd0ab8
Update ApiV1Controller, fixes
Daniel Supernault 599ab152a7
Update PublicApiController, remove trailing comma
Daniel Supernault c84cee5ae0
Update ActivityPub Outbox, fixes
Daniel Supernault 0540a28ad1
Update oauth api, allow multiple redirect_uris. Fixes
Daniel Supernault 95bce31e62
Add remote posts and profiles
Daniel Supernault e6190b896b
Update internal apis
Daniel Supernault 869b4ff727
Update SearchController, add WebfingerService support
Daniel Supernault 3a828522dd
Update LikeController
Daniel Supernault 01525cba4c
Update ApiV1Controller, fix unfavourite bug
Daniel Supernault b6f56c2751
Update ApiV1Controller, fix link header pagination
Daniel Supernault e3b7c7ccb1
Update ApiV1Controller, fix link header pagination
Daniel Supernault 0a9654e3b8
Update ApiV1Controller, fix link header pagination
Daniel Supernault 737f3da5a4
Update ApiV1Controller, fix link header pagination
Daniel Supernault ebbdb4ab96
Update ApiV1Controller
Daniel Supernault 4e3c952cf3
Update v1 notifications api, fix optional params
Daniel Supernault 0c82c97069
Added trusted devices to sudo mode
Daniel Supernault 7bf9e78f8e
Update PublicApiController
Daniel Supernault eeca1fbc54
Update ApiV1Controller
Daniel Supernault 7bb9fb1f01
Update ApiV1Controller
Daniel Supernault c9057e87ba
Update ContactController, fixes
daniel 2bf9f74fcd
Merge pull request from shleeable/patch-3
Dupe bot value in InstanceApiController.php
Shlee 0fabac50e3
Update InstanceApiController.php
Ashley Hull 9c84df49ff typo
Daniel Supernault db46f7ddbb
Update ProfileController, revert pgsql change
Daniel Supernault 77778d3e41
Update admin modlogs
Daniel Supernault e07bd934ac
Update AdminUserController, fix modlog bug
Daniel Supernault c5e8e7907a
Update AdminUserController, add modlog support
Daniel Supernault 9be19ad880
Update AdminUserController, add account deletion handler
Daniel Supernault 826978ce08
Update BaseApiController, invalidate session after account deletion
Daniel Supernault a7adfb9457
Update AdminUserController modtools
Daniel Supernault a4cf21eaad
Update AdminUserController, add moderation method
Daniel Supernault a73fad75b0
Update ApiV1Controller, fix update_credentials endpoint
Daniel Supernault c8abffb811
Update TimelineController
Daniel Supernault a84ff19451
Update CollectionController, fix null bug
Daniel Supernault c568d54893
Update NewroomController, update title length limit from 25 to 40
Daniel Supernault 9a0c5bc8ae
Update admin dashboard
Daniel Supernault 81f4ccf979
Update CommentController
Daniel Supernault 6a16559132
Update DangerZone/Sudo middleware
Daniel Supernault 5ffa71dacd
Update StoryController, fixes
Daniel Supernault 5bcb43a673
Update RegisterController, fix CI bug
Daniel Supernault 14ba350ba3
Fix postgres bugs
Daniel Supernault dd5fa3a49d
Update PlaceController, fixes
Daniel Supernault b04c7170d7
Update DiscoverController, fixes
Daniel Supernault 310f668814
Update ApiV1Controller
Daniel Supernault 69d36fc1c1
Update ApiV1Controller, add v2 search endpoint
Daniel Supernault 369a1a599d
Update StoryController, remove auth middleware
Daniel Supernault 608fb1bd46
Update Story routes
Daniel Supernault e2828f4b85
Update ApiV1Controller
Daniel Supernault bd45728615
Update ApiV1Controller
Daniel Supernault fb91892ee2
Update ApiV1Controller, fix follow/unfollow endpoints
Daniel Supernault 28bc9c1923
Update status edit view
Daniel Supernault ae24433b8c
Update StatusController, restrict edits to 24 hours
Daniel Supernault 829c41e16f
Update password reset ttl, now expires after 24 hours
Daniel Supernault 4d2da2f1b0
Update RelationshipSettings Controller, fixes
Daniel Supernault 41abe9d261
Update AdminController
Daniel Supernault dbd5c4cf77
Update admin reports, fix 404 bug
Daniel Supernault 07a13fcfed
Update StoryController, orientate story media and strip exif
Daniel Supernault 8360aa4827
Update StoryController, fix postgres bug
Daniel Supernault aba509fc6b
Update StoryController
Daniel Supernault 71f6cbb5a6
Update StoryController
Daniel Supernault d403e0c615
Update StoryController
Daniel Supernault e30823dbf2
Revert StoryController update
Daniel Supernault 523d90cdec
Update StoryController
Daniel Supernault a8a8e5f0dc
Update StoryController, fix postgres bug
Daniel Supernault 5b09e6f111
Update FollowerController
Daniel Supernault 5a2685e40d
Update StoryController
Daniel Supernault 7654205408
Update ProfileController
Daniel Supernault 2f44cafbf0
Update ProfileController, fixes
Daniel Supernault 758e633c2c
Update InternalApiController, fixes
Daniel Supernault 21a802da33
Update NewsroomController
Daniel Supernault 481954445e
Update AdminController, add Newsroom
Daniel Supernault 30c1af7c78
Add Announcements/Newsroom feature
Daniel Supernault 279c57d9a5
Update FederationController
Daniel Supernault 1b20ebd46d
Deprecate mixed media albums
Daniel Supernault 47c132c622
Update controller
Daniel Supernault c369882b48
Update Redis namespace
Daniel Supernault fa8e0dca4d
Update RegisterController
Daniel Supernault e7ad61c047
Update InternalApiController, fix compose api and php 7.4 compat
Daniel Supernault 46c9a3742e
Update CollectionController
Daniel Supernault c2826fd3fd
Update CollectionController, increase collection limit from 18 to 50
Daniel Supernault fb7a3cf0e4
Add Profile Embeds
Daniel Supernault b793f9c4bb
Update SiteController
Daniel Supernault 8e9b544f50
Update SiteController, return 404 for users attempting to view their own Follow Intent
Daniel Supernault d9ff794932
Update SiteController
Daniel Supernault ad8fc77e6c
Update FollowerController
Daniel Supernault 293b806afc
Update DiscoverController
Daniel Supernault 67a90ee18d
Fixes
Daniel Supernault 487de31788
Update PublicApiController, fix scope bug
Daniel Supernault 45ecad2a07
Update CommentController, fix scope bug
Daniel Supernault 4145141366
Update DiscoverController
Daniel Supernault d5d960e2f0
Update StatusController
Daniel Supernault 026b59f025
Update StatusController
Daniel Supernault 6c97b2162c
Update StatusController
Daniel Supernault cdff55313a
Update StatusController
Daniel Supernault 1fecf7170c
Add post embeds
Daniel Supernault 1856dd962d
Add SeasonalController
Daniel Supernault 98ad593654
Update StatusController
Daniel Supernault d2c53dc56a
Update SiteController
Daniel Supernault 7311e81382
Update PublicApiController
Daniel Supernault 0c4d270f02
Update PublicApiController
Daniel Supernault 744435cdf5
Update PublicApiController
Daniel Supernault 5ebd2c8a1b
Update PublicApiController, add AccountService
Daniel Supernault 5740746339
Update APIV1Controller, add ```mobile_apis``` to /api/v1/instance endpoint
Daniel Supernault d11e82c3d9
Update landing page, add age check
Daniel Supernault a429d96187
Update FollowerController
Daniel Supernault 3fa9ac8bd9
Update BaseApiController, uncache verify_credentials method
Daniel Supernault 49efaae96c
Update MediaController, add timestamp to signed preview url
Daniel Supernault 79292ad610
Update AdminInstanceController, fix instance scan
Daniel Supernault b3c18aecfd
Update InternalApiController, increase license limit to 140 to match UI counter
Daniel Supernault e01dff45c5
Update PublicApiController, fix mixed albums not appearing on timelines
Daniel Supernault bad2ecde56
Update BaseApiController, add drafts method for Camera Roll
Daniel Supernault 5773434a13
Update AdminInstanceController, remove db transaction from instance scan
Daniel Supernault 73c0898703
Update BaseApiController, add timestamp to signed media previews for client side cache invalidation
Daniel Supernault d8d11d7b9a
Update PrivacySettings controller, clear cache after updating
Daniel Supernault 86cb7d0901
Update PublicApiController
Daniel Supernault 72db2b35b5
Update AdminController, improve dashboard caching
Thomas 2a849be650 Add some elements in api/v1/instance
Daniel Supernault 139c6651bf
Update ApiController, fixes
Daniel Supernault 788f76cf35
Update ApiControllers, fix missing share/like counts
Daniel Supernault 1346b75887
Update ApiController, fixes
Daniel Supernault fdac53eb77
Update LikeController
Daniel Supernault 7c17c0e4ff
Update ApiController, oof
Daniel Supernault 8752d21301
Update ApiController
Daniel Supernault 9a50a6f627
Update ApiController
Daniel Supernault a79d23d152
Update StatusTransformers
Daniel Supernault f4039ce218
Update BaseApiController
Daniel Supernault 2ff53be458
Add /api/v1/timelines/tag/{hashtag} endpoint
Daniel Supernault 01a3841bc7
Update ApiController
Daniel Supernault 3147fe5ca3
Add /api/v1/statuses/{id}/unreblog endpoint
Daniel Supernault 43cef28296
Add /api/v1/statuses/{id}/reblog endpoint
Daniel Supernault 0a20b8321b
Add /api/v1/statuses endpoint
Daniel Supernault 10cb2d4004
Update ApiController
Daniel Supernault 3aa729a362
Add /api/v1/statuses endpoint
Daniel Supernault 5cdff57d59
Add /api/v1/statuses/{id}/favourited_by endpoint
Daniel Supernault 118006ed2d
Add /api/v1/statuses/{id}/reblogged_by endpoint
Daniel Supernault 9225120835
Add /api/v1/statuses/{id}/card endpoint
Daniel Supernault 3570e7acbb
Update api controller
Daniel Supernault 530149f0f4
Update AccountTransformer
Daniel Supernault 55ee29f301
Update APIV1Controller, fix cors bug
Daniel Supernault 11cd75e8e8
Update ApiController
Daniel Supernault 43c18e866c
Update api controller
Daniel Supernault be7eae8494
Update verify_credentials endpoint
Daniel Supernault f3eeb9c978
Add /api/v1/timelines/public endpoint
Daniel Supernault 336f906968
Add /api/v1/conversations endpoint
Daniel Supernault cf3405d852
Add /api/v1/timelines/home endpoint
Daniel Supernault 39449f3638
Add /api/v1/notifications endpoint
Daniel Supernault 41c96ddd6a
Add /api/v1/accounts/{id}/unmute endpoint
Daniel Supernault 3e98dce4de
Add /api/v1/accounts/{id}/mute endpoint
Daniel Supernault b280d183ad
Add /api/v1/mutes endpoint
Daniel Supernault fcf231f430
Add /api/v1/media/{id} endpoint
Daniel Supernault 39f3e3138d
Add /api/v1/media endpoint
Daniel Supernault dba172dfe7
Add /api/v1/accounts/{id}/lists endpoint
Daniel Supernault 2a106c4e12
Add /api/v1/lists endpoint
Daniel Supernault e52aeeedad
Add /api/v1/suggestions endpoint
Daniel Supernault 62aa922aed
Add /api/v1/follow_requests/{id}/reject endpoint
Daniel Supernault 7bdd9b2a14
Add /api/v1/follow_requests/{id}/authorize endpoint
Daniel Supernault 9726913622
Add /api/v1/follow_requests endpoint
Daniel Supernault b3d82edd0f
Add /api/v1/filters endpoint
Daniel Supernault 437e18e3ad
Add /api/v1/statuses/{id}/unfavourite endpoint
Daniel Supernault 4edeba17ba
Add /api/v1/statuses/{id}/favourite endpoint
Daniel Supernault b9cc06daa5
Add /api/v1/favourites endpoint
Daniel Supernault 1f16221eb2
Add /api/v1/endorsements endpoint
Daniel Supernault 83a6313f09
Add /api/v1/domain_blocks endpoint
Daniel Supernault 6e43431a67
Add /api/v1/custom_emojis endpoint
Daniel Supernault 35226c99e2
Add /api/v1/accounts/{id}/unblock endpoint
Daniel Supernault c6b1ed97f9
Add /api/v1/accounts/{id}/block endpoint
Daniel Supernault ac9f1bc04e
Add /api/v1/blocks endpoint
Daniel Supernault b1fccf6d82
Add /api/v1/accounts/search endpoint
Daniel Supernault 4b9f7d6b14
Add /api/v1/accounts/relationships endpoint
Daniel Supernault fadc96b2d6
Add /api/v1/accounts/{id}/unfollow endpoint
Daniel Supernault f383902662
Add /api/v1/accounts/{id}/follow endpoint
Daniel Supernault 6237897def
Update FollowerController, make follow and unfollow methods public