Commit Graph

2059 Commits (08467d52d5215d69b9fd68a080394722c87852ae)

Author SHA1 Message Date
Daniel Supernault 1ac60173af
Update AccountLog model, add fillable attribute 4 years ago
Daniel Supernault 090b6d0336
Update SeasonalController 4 years ago
Daniel Supernault 3419379aa8
Update AP helpers, fix statusFetch 404s 4 years ago
Daniel Supernault 240e36ed45
Update AP helpers 4 years ago
Daniel Supernault 3f14a4c412
Update MediaTransformers, add default blurhash attribute 4 years ago
Daniel Supernault 896452c74c
Update VideoThumbnail job, generate blurhash for videos 4 years ago
Daniel Supernault 38a37c15af
Update Blurhash util, add default hash for invalid media 4 years ago
Daniel Supernault 9e0fd36ba7
Update Status tranformers, add version attribute 4 years ago
Daniel Supernault 899bbeba5f
Update StatusHashtagTransformer, add blurhash attribute 4 years ago
Daniel Supernault 3f772ff864
Update StatusDelete pipeline, call StatusService::del() to remove status from cache 4 years ago
Daniel Supernault 069f20ff77
Update LikePipeline, add StatusService del() method 4 years ago
Daniel Supernault 2eea04097a
Update DiscoverController, change api schema 4 years ago
Daniel Supernault 789ed4b498
Update ComposeController, use placeholder image for video media. Fixes #2595 4 years ago
Daniel Supernault eab4370c84
Update Like, Status and Comment controllers to add StatusService del() method to update counts 4 years ago
Daniel Supernault 05b9445c8f
Update ApiV1Controller, add StatusService del calls to update likes_count, reblogs_count and reply_count 4 years ago
Daniel Supernault aa4c718d79
Update StatusHashtagService, remove deprecated methods 4 years ago
Daniel Supernault 0355b567dd
Update StatusHashtagService, use StatusService for statuses 4 years ago
Daniel Supernault 6e44ae0b64
Update StatusService, add ttl of 7 days 4 years ago
Daniel Supernault 4f40f6f5a1
Update RemotAvatarFetch, only dispatch jobs if cloud storage is enabled 4 years ago
Daniel Supernault 6edaf94099
Update AdminController, fix variable name in updateSpam method 4 years ago
Daniel Supernault b7fcf8a504
Update StatusLabelService 4 years ago
Daniel Supernault 23db9de870
Update StatusTransformer, add blurhash 4 years ago
Daniel Supernault fa0df4004c
Update AP Helpers 4 years ago
Daniel Supernault 7d376c64ec
Update SiteController, only allow redirects for logged in users 4 years ago
Daniel Supernault 10b178c8ee
Update SiteController, use url validator in redirect endpoint 4 years ago
Daniel Supernault 4abfe76a49
Update StatusLabelService, change config key 4 years ago
Daniel Supernault abe9cb3db0
Update site config, add labels to config 4 years ago
Daniel Supernault ab888b2e70
Add StatusLabelService 4 years ago
Daniel Supernault de8828e88a
Update AP Helpers, add blurhash and RemoteAvatarFetch 4 years ago
Daniel Supernault cc2d4bf8d8
Update ComposeController, update media version 4 years ago
Daniel Supernault 4c148055cf
Update AvatarPipeline, add remote avatar fetch 4 years ago
Daniel Supernault 94a9f685b5
Update MediaStorageService, add avatar method 4 years ago
Daniel Supernault 654b08d382
Update ActivityPubFetchService, add url validation 4 years ago
Daniel Supernault ea8e426174
Update Profile model, use cdn_url for avatars 4 years ago
Daniel Supernault 9eafc31e6f
Update AvatarObserver, add logic to delete avatars stored in S3 4 years ago
Daniel Supernault f7e72d7c62
Update avatar model 4 years ago
Daniel Supernault 1031311f06
Update RestrictedNames, add additional static assets 4 years ago
Daniel Supernault 77f21b4b33
Update AP helpers, only run MediaStoragePipeline if using cloud storage 4 years ago
Daniel Supernault 258b2729d3
Update MediaTransformer, remove cache busting 4 years ago
Daniel Supernault ce6ab80dba
Update MediaStorageService, clear transformer cache after storing media 4 years ago
Daniel Supernault f930c4bda2
Update StatusDelete pipeline, fix object storage thumbnail deletion 4 years ago
Daniel Supernault 98c44f7bdb
Update VideoThumbnail, add MediaStoragePipeline 4 years ago
Daniel Supernault 889c3d8758
Update AvatarController, remove deprecated thumb_path 4 years ago
Daniel Supernault b2b8c9f99c
Update UserCreate command, closes #2581 4 years ago
Daniel Supernault febe9e1b6d
Add ComposeController 4 years ago
Daniel Supernault 01a1ffd64a
Update AP Helpers, use MediaStoragePipeline 4 years ago
Daniel Supernault be6d12fcb6
Update MediaPipeline, handle cloud object storage 4 years ago
Daniel Supernault 2538673a7b
Update StatusController, unescape slashes in json response 4 years ago
Daniel Supernault 6d078377f1
Update AdminController 4 years ago
Daniel Supernault 2284d85f9c
Update VideoThumbnail job, remove outdated cloud storage logic 4 years ago
Daniel Supernault 4a70e18596
Update Media model, fix url methods 4 years ago
Daniel Supernault f8cbe1e42c
Update MediaTransformers, include meta attribute with focus and dimensions 4 years ago
Daniel Supernault 40bd64aae7
Update Image media util, store dimensions of media not thumbnail 4 years ago
Daniel Supernault cf40526ef9
Update mobile apis, add blurhash 4 years ago
Daniel Supernault 4415af1bf0
Update api controllers, deprecate old endpoints 4 years ago
Daniel Supernault 8132db74e5
Update MediaController, remove deprecated endpoint 4 years ago
Daniel Supernault 57fa889d16
Update Media model, add cdn support to url and thumbnailUrl methods 4 years ago
Daniel Supernault a98b65bf5c
Update DiscoverController 4 years ago
Daniel Supernault 234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 4 years ago
Daniel Supernault 4b1a0fd750
Update StatusDelete job, handle cloud storage media deletes 4 years ago
Daniel Supernault aac4430970
Update MediaPathService, add story method 4 years ago
Daniel Supernault 0cfc12c5dd
Update StatusController, add view method 4 years ago
Daniel Supernault 5e13643246
Update MediaTagController 4 years ago
Daniel Supernault f32072a396
Add Year in Review feature (mysql only) 4 years ago
Daniel Supernault b00e2b0868
Update EmailService 4 years ago
Daniel Supernault 5b0b14fc42
Update StoryItemTransformer, increase story duration from 5 seconds to 10 seconds 4 years ago
Daniel Supernault c91891b457
Update InstanceActor model 4 years ago
Daniel Supernault 3ee1215a4a
Add signed GET for secure mode compatibility 4 years ago
Daniel Supernault e71e525ac9
Update console kernel 4 years ago
Daniel Supernault 21837be99f
Update media:optimize command 4 years ago
Daniel Supernault 844ae6224a
Add InstanceActor generate command 4 years ago
Daniel Supernault 2159eecdbc
Add InstanceActorController 4 years ago
Daniel Supernault aafd023c5a
Add InstanceActor model 4 years ago
Daniel Supernault fa6ecd8df1
Add migration 4 years ago
Daniel Supernault 36a722aa3c
Update InboxValidator 4 years ago
Daniel Supernault 51f8fe5bde
Update ApiV1Controller 4 years ago
Daniel Supernault 56256cb037
Update InboxPipeline, add missing import 4 years ago
Daniel Supernault 4a4d8f0069
Update InboxWorker, fix race condition in account deletes 4 years ago
Daniel Supernault 74ba326adb
Update DiscoverController, limit trending api to local posts 4 years ago
Daniel Supernault d8d3331f3f
Update DiscoverController, improve trending api performance 4 years ago
Daniel Supernault c0076ab035
Add snowflake id service 4 years ago
Daniel Supernault a443694dc0
Update PublicApiController 4 years ago
Daniel Supernault b2fe219eec
Update DiscoverController, add albums and video to discover trending api 4 years ago
Daniel Supernault 96afc3e781
Update Controllers, add last_active_at logic 4 years ago
Daniel Supernault cc3053ed5d
Update api controllers 4 years ago
Daniel Supernault d6907f9ce4
Add StatusArchived model + migration 4 years ago
Daniel Supernault 2d540919cb
Update AP Helpers 4 years ago
Daniel Supernault 4f3107ca23
Update AP helpers 4 years ago
Daniel Supernault 2bac25ebcd
Update InboxPipeline, increase timeout length 4 years ago
Daniel Supernault d5cd2ad4cb
Update InboxPipeline, increase timeout length 4 years ago
Daniel Supernault 1f672ecfb8
Update Helpers, cache profiles 4 years ago
Daniel Supernault a52564f31d
Update AP helpers, fix federation bug 4 years ago
Daniel Supernault 7dc3739c1d
Update StatusController, fix scope bug 4 years ago
Daniel Supernault b9b84e6fa4
Update Follower model, increase hourly limit from 30 to 150 4 years ago
Daniel Supernault f70826e18c
Update status model, use scope over deprecated visibility attribute 4 years ago
Daniel Supernault 0fbde91e87
Update StatusService, cast response to array 4 years ago
Daniel Supernault 6dcd472be6
Update Profile, fix status count 4 years ago
Daniel Supernault b74e14c4e5
Update SiteController 4 years ago
Daniel Supernault 799a4cba12
Update LikeController, store status_profile_id and is_comment attributes 4 years ago
Daniel Supernault 7a68ee948a
Add StatusView model to store views for discover algorithm 4 years ago
Daniel Supernault 888ea7f07e
Update ap inbox 4 years ago
Daniel Supernault 941da5d589
Update admin dashboard 4 years ago
Daniel Supernault 3244ca92ff
Update StatusController 4 years ago
Daniel Supernault 5ac1746aff
Update bouncer 4 years ago
Daniel Supernault 5fffe1d0dd
Update AvatarController 4 years ago
Daniel Supernault 7d818197bb
Update antispam bouncer, change recent from 1 week to 3 months 4 years ago
Daniel Supernault be3ad6b15f
Update Avatar Migration command, use jpeg default 4 years ago
Daniel Supernault f6528c8470
Update avatars, use jpeg default 4 years ago
Daniel Supernault cd2661fc0b
Update 2FA setup, fix qrcode handler 4 years ago
Daniel Supernault 63eceb8236
Update delete handler 4 years ago
Daniel Supernault df9c3adff6
Update Timeline, remove simple mode and set labs deprecation date 4 years ago
Daniel Supernault 9fc5a80cd3
Update PublicApiController, add state endpoint 4 years ago
Daniel Supernault a5019b8907
Update StatusController 4 years ago
Daniel Supernault 881fa86573
Update NotificationTransformer, handle tagged deletes 4 years ago
Daniel Supernault 1ea2db74b2
Update StatusService, fix json bug 4 years ago
Daniel Supernault 3a428366fb
Update NotificationTransformer, add missing types 4 years ago
Daniel Supernault d06bec9cd9
Update Profile, fix follower counter bug 4 years ago
Daniel Supernault 8aa5d42d8b
Update laravel framework to v8 4 years ago
Daniel Supernault dab051ecb9
Update console kernel 4 years ago
Daniel Supernault 1325ce2cef
Update PublicApiController, use stateless transformer 4 years ago
Daniel Supernault d0d4680709
Update StatusStatelessController, remove unused attributes 4 years ago
Daniel Supernault 082c1ccb26
Add hCaptcha 4 years ago
Daniel Supernault 4a14e970f0
Update Profile model, improve counter caching 4 years ago
Daniel Supernault c67f0c5784
Update AccountInterstitialController, add autospam type 4 years ago
Daniel Supernault b892bcf0e8
Add autospam feature 4 years ago
Daniel Supernault 048642bead
Update Collections, add custom limit 4 years ago
Daniel Supernault 76353ca997
Update BaseApiController, add favourites method 4 years ago
Daniel Supernault 1b2fd665bf
Update compiled assets 4 years ago
Daniel Supernault c95085ca31
Update AdminController, add appeals support 4 years ago
Daniel Supernault 19d6e7df65
Update middleware, add AccountInterstitial support 4 years ago
Daniel Supernault 003caf7e8a
Update StatusController, add interstitial logic 4 years ago
Daniel Supernault 342e7a50c9
Update PublicApiController, improve stateless object caching 4 years ago
Daniel Supernault 20681bcf14
Update InternalApiController, add interstitial logic 4 years ago
Daniel Supernault 0718711d09
Update ApiController, return status object after deletion 4 years ago
Daniel Supernault b3078f274f
Update DeleteAccountPipeline, add AccountInterstitial and DirectMessage purging 4 years ago
Daniel Supernault 473e049528
Update media pipeline, add blurhash support 4 years ago
Daniel Supernault 9404a36c66
Add Blurhash util 4 years ago
Daniel Supernault fad102bf80
Add Blurhash encoder 4 years ago
Daniel Supernault 4d22426da2
Update StatusStatelessTransformer, add missing attributes 4 years ago
Daniel Supernault bd321a72f0
Update User model, add interstitial relation 4 years ago
Daniel Supernault 327ef1384b
Update Status model, fix thumb nsfw caching 4 years ago
Daniel Supernault 8766ccfe4f
Add AccountInterstitial model and controller 4 years ago
Daniel Supernault 0a5a0e8616
Add federated photo filters 4 years ago
Daniel Supernault 9d1499eeb9
Update Place model, add name method 4 years ago
Hervé Yvis 37cddf740c
Update FixUsernames.php
Should allow to fix registered usernames that are are restricted, even if they are in a different case.

Examples : "ADmiN" , "Logout", "Help", "FollowMe"
4 years ago
Daniel Supernault 78a8798ace
Update RegisterController, fixes #2436 4 years ago
Daniel Supernault 4fbada5586
Update InboxPipeline 4 years ago
Daniel Supernault e2e32682fd
Update DirectMessageController, add sharedInbox support 4 years ago
Daniel Supernault bfe2341575
Update AP Helpers 4 years ago
Daniel Supernault 4733ca9fb9
Add shared inbox 4 years ago
Daniel Supernault 2ab2c9a974
Update DiscoverController, fix trending api 4 years ago
Daniel Supernault 81f23ee970
Update DirectMessage model 4 years ago
Daniel Supernault ef184a2cb4
Update AuthLogin listener 4 years ago
Daniel Supernault 8e8e6cafec
Update AuthLogin listener 4 years ago
Daniel Supernault 1b41d66446
Update EmailService, make case insensitive 4 years ago
Daniel Supernault 7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 4 years ago
daniel 93a76b3c05
Merge pull request #2400 from delthas/feature-tokens-days
Add support for configurable OAuth tokens and refresh tokens lifetime
4 years ago
daniel 45458bd542
Merge pull request #2398 from delthas/feature-password-length
Make the minimum user password length configurable
4 years ago
Daniel Supernault f8dc33cc81
Update InternalApiController 4 years ago
Daniel Supernault e08f646008
Update DiscoverController 4 years ago
Daniel Supernault f1c28e7d0c
Update DirectMessageController, fix pgsql bug 4 years ago
Daniel Supernault 9d07071ee0
Update DirectMessageController 4 years ago
Daniel Supernault f796cc7c11
Update DirectMessageController 4 years ago
Daniel Supernault 72a1a1ea19
Update AP Inbox, fix url parser 4 years ago
Daniel Supernault 4b90b1e0df
Update DirectMessageController 4 years ago
Daniel Supernault fa8fbb7e86
Update Status model 4 years ago
Daniel Supernault f15b8f8f5a
Update AP Inbox 4 years ago
Daniel Supernault 86765001e6
Update AP Inbox 4 years ago
Daniel Supernault 11a616b67d
Update AP Inbox 4 years ago
Daniel Supernault 8444d2dc50
Update AP Inbox 4 years ago
Daniel Supernault 20749d7c3c
Update AP Inbox 4 years ago
Daniel Supernault 1bbd613621
Update Inbox, add namespaces 4 years ago
Daniel Supernault d63569c120
Add Direct Messages 4 years ago
delthas 748a3be46d Add support for configurable OAuth tokens and refresh tokens lifetime
Previously, the lifetime of tokens and refresh tokens was hardcoded at
15 and 30 days.

Some instances administrators may wish to change these values.

This makes these two values configurable with the two .env variables:
OAUTH_TOKEN_DAYS and OAUTH_REFRESH_DAYS which are the lifetime in days
for these two tokens and refresh tokens.
5 years ago
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.
5 years ago
Daniel Supernault de1cca4feb
Add password change email notification 5 years ago
Daniel Supernault c4506ebd71
Update NotificationTransformer, fixes #2389 5 years ago
Daniel Supernault 27f3b29cf8
Update email confirmation middleware, add 2FA to allow list. Fixes #2385 5 years ago
Daniel Supernault 8d923d7767
Update SearchController, update version 5 years ago
Daniel Supernault 8e7f4f9d88
Update DiscoverController, fixes #2378 5 years ago
Daniel Supernault c251d41b2e
Update Discover, add trending hashtags, places and posts 5 years ago
Daniel Supernault d11fac0dfb
Update status embed, allow photo albums. Fixes #2374 5 years ago
Daniel Supernault 3b7ff030f2
Update RegisterController 5 years ago
Daniel Supernault e5aa506c5a
Update Hashtag.vue, add nsfw toggle. Fixes #2225 5 years ago
Daniel Supernault 597378bfb4
Update upload endpoints with MediaBlocklist checks 5 years ago
Daniel Supernault 5d0a24a779
Add MediaBlocklistService 5 years ago
daniel 8ffad2b615
Merge pull request #2348 from dx7/2FA-page-issues
2FA verification page issues
5 years ago
Daniel Supernault ce498e9b67
Update Nickname lexer 5 years ago
Daniel Supernault ba1f7e7e2c
Add MediaBlocklist feature 5 years ago
Daniel Supernault c2d194af1d
Update webfinger util, fix bug preventing username with dots 5 years ago
dx7 f3dba54179
Fix logout link on 2FA verification page 5 years ago
Daniel Supernault c945263994
Update Tag People, allow untagging yourself 5 years ago
daniel c6539bed90
Merge pull request #2316 from dx7/improve-username-email-validation
Improve error messages for username and email restricted on register page
5 years ago
daniel 58be61099e
Merge pull request #2315 from dx7/use-global-locale-for-session
Set session locale fallback using global locale config
5 years ago
Daniel Supernault f33061642a
Update comments, fix remote reply bug 5 years ago
Strubbl 8aa97dec0c
Update HashidService.php
fix php 7.4 requirement, which causes the error `ERROR: Array and string offset access syntax with curly braces is deprecated {"userId":1,"exception":"[object] (ErrorException(code: 0): Array and string offset access syntax with curly braces is deprecated at /var/www/ap
p/Services/HashidService.php:24)`
5 years ago
Daniel Supernault 692d3c8d1b
Update AP Helpers 5 years ago
Daniel Supernault 6e507a553a
Update StatusTransformer, add tagged and shortcode fields 5 years ago
Daniel Supernault f34977d9a8
Update StatusController, add shortcodeRedirect method 5 years ago
Daniel Supernault a327f5c167
Add HashidService 5 years ago