Commit graph

1963 commits

Author SHA1 Message Date
Daniel Supernault
be6d12fcb6
Update MediaPipeline, handle cloud object storage 2021-01-24 13:30:31 -07:00
Daniel Supernault
2538673a7b
Update StatusController, unescape slashes in json response 2021-01-24 13:22:10 -07:00
Daniel Supernault
6d078377f1
Update AdminController 2021-01-23 23:12:05 -07:00
Daniel Supernault
2284d85f9c
Update VideoThumbnail job, remove outdated cloud storage logic 2021-01-19 19:42:31 -07:00
Daniel Supernault
4a70e18596
Update Media model, fix url methods 2021-01-19 19:40:41 -07:00
Daniel Supernault
f8cbe1e42c
Update MediaTransformers, include meta attribute with focus and dimensions 2021-01-19 19:39:04 -07:00
Daniel Supernault
40bd64aae7
Update Image media util, store dimensions of media not thumbnail 2021-01-19 19:36:05 -07:00
Daniel Supernault
cf40526ef9
Update mobile apis, add blurhash 2021-01-18 18:25:03 -07:00
Daniel Supernault
4415af1bf0
Update api controllers, deprecate old endpoints 2021-01-17 23:43:23 -07:00
Daniel Supernault
8132db74e5
Update MediaController, remove deprecated endpoint 2021-01-17 23:37:10 -07:00
Daniel Supernault
57fa889d16
Update Media model, add cdn support to url and thumbnailUrl methods 2021-01-17 22:45:40 -07:00
Daniel Supernault
a98b65bf5c
Update DiscoverController 2021-01-17 22:02:27 -07:00
Daniel Supernault
234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 2021-01-17 21:59:34 -07:00
Daniel Supernault
4b1a0fd750
Update StatusDelete job, handle cloud storage media deletes 2021-01-17 21:51:25 -07:00
Daniel Supernault
aac4430970
Update MediaPathService, add story method 2021-01-17 21:46:40 -07:00
Daniel Supernault
0cfc12c5dd
Update StatusController, add view method 2021-01-17 21:38:34 -07:00
Daniel Supernault
5e13643246
Update MediaTagController 2021-01-17 21:27:55 -07:00
Daniel Supernault
f32072a396
Add Year in Review feature (mysql only) 2021-01-17 19:50:35 -07:00
Daniel Supernault
b00e2b0868
Update EmailService 2021-01-17 15:33:56 -07:00
Daniel Supernault
5b0b14fc42
Update StoryItemTransformer, increase story duration from 5 seconds to 10 seconds 2021-01-17 15:27:26 -07:00
Daniel Supernault
c91891b457
Update InstanceActor model 2021-01-17 14:03:32 -07:00
Daniel Supernault
3ee1215a4a
Add signed GET for secure mode compatibility 2021-01-17 12:51:07 -07:00
Daniel Supernault
e71e525ac9
Update console kernel 2021-01-17 01:47:02 -07:00
Daniel Supernault
21837be99f
Update media:optimize command 2021-01-17 01:45:56 -07:00
Daniel Supernault
844ae6224a
Add InstanceActor generate command 2021-01-17 01:43:57 -07:00
Daniel Supernault
2159eecdbc
Add InstanceActorController 2021-01-17 01:38:01 -07:00
Daniel Supernault
aafd023c5a
Add InstanceActor model 2021-01-17 01:36:59 -07:00
Daniel Supernault
fa6ecd8df1
Add migration 2021-01-17 01:36:03 -07:00
Daniel Supernault
36a722aa3c
Update InboxValidator 2021-01-14 18:54:13 -07:00
Daniel Supernault
51f8fe5bde
Update ApiV1Controller 2021-01-14 18:51:19 -07:00
Daniel Supernault
56256cb037
Update InboxPipeline, add missing import 2021-01-13 21:45:53 -07:00
Daniel Supernault
4a4d8f0069
Update InboxWorker, fix race condition in account deletes 2021-01-13 21:38:22 -07:00
Daniel Supernault
74ba326adb
Update DiscoverController, limit trending api to local posts 2021-01-12 22:04:25 -07:00
Daniel Supernault
d8d3331f3f
Update DiscoverController, improve trending api performance 2021-01-12 21:52:07 -07:00
Daniel Supernault
c0076ab035
Add snowflake id service 2021-01-12 21:50:45 -07:00
Daniel Supernault
a443694dc0
Update PublicApiController 2021-01-11 18:47:16 -07:00
Daniel Supernault
b2fe219eec
Update DiscoverController, add albums and video to discover trending api 2021-01-11 00:31:21 -07:00
Daniel Supernault
96afc3e781
Update Controllers, add last_active_at logic 2021-01-09 02:41:17 -07:00
Daniel Supernault
cc3053ed5d
Update api controllers 2021-01-09 00:21:29 -07:00
Daniel Supernault
d6907f9ce4
Add StatusArchived model + migration 2021-01-09 00:05:21 -07:00
Daniel Supernault
2d540919cb
Update AP Helpers 2021-01-07 20:52:50 -07:00
Daniel Supernault
4f3107ca23
Update AP helpers 2021-01-07 14:11:09 -07:00
Daniel Supernault
2bac25ebcd
Update InboxPipeline, increase timeout length 2021-01-07 14:04:12 -07:00
Daniel Supernault
d5cd2ad4cb
Update InboxPipeline, increase timeout length 2021-01-07 14:00:37 -07:00
Daniel Supernault
1f672ecfb8
Update Helpers, cache profiles 2021-01-07 00:25:45 -07:00
Daniel Supernault
a52564f31d
Update AP helpers, fix federation bug 2021-01-06 20:34:55 -07:00
Daniel Supernault
7dc3739c1d
Update StatusController, fix scope bug 2021-01-03 22:06:05 -07:00
Daniel Supernault
b9b84e6fa4
Update Follower model, increase hourly limit from 30 to 150 2020-12-27 18:15:10 -07:00
Daniel Supernault
f70826e18c
Update status model, use scope over deprecated visibility attribute 2020-12-27 18:00:43 -07:00
Daniel Supernault
0fbde91e87
Update StatusService, cast response to array 2020-12-27 17:54:55 -07:00
Daniel Supernault
6dcd472be6
Update Profile, fix status count 2020-12-27 14:45:31 -07:00
Daniel Supernault
b74e14c4e5
Update SiteController 2020-12-26 20:28:12 -07:00
Daniel Supernault
799a4cba12
Update LikeController, store status_profile_id and is_comment attributes 2020-12-26 20:18:48 -07:00
Daniel Supernault
7a68ee948a
Add StatusView model to store views for discover algorithm 2020-12-26 20:16:35 -07:00
Daniel Supernault
888ea7f07e
Update ap inbox 2020-12-18 02:58:00 -07:00
Daniel Supernault
941da5d589
Update admin dashboard 2020-12-18 00:52:49 -07:00
Daniel Supernault
3244ca92ff
Update StatusController 2020-12-17 23:12:27 -07:00
Daniel Supernault
5ac1746aff
Update bouncer 2020-12-17 17:47:56 -07:00
Daniel Supernault
5fffe1d0dd
Update AvatarController 2020-12-17 13:14:38 -07:00
Daniel Supernault
7d818197bb
Update antispam bouncer, change recent from 1 week to 3 months 2020-12-15 01:03:19 -07:00
Daniel Supernault
be3ad6b15f
Update Avatar Migration command, use jpeg default 2020-12-14 23:57:28 -07:00
Daniel Supernault
f6528c8470
Update avatars, use jpeg default 2020-12-14 23:54:22 -07:00
Daniel Supernault
cd2661fc0b
Update 2FA setup, fix qrcode handler 2020-12-14 22:30:44 -07:00
Daniel Supernault
63eceb8236
Update delete handler 2020-12-14 02:58:07 -07:00
Daniel Supernault
df9c3adff6
Update Timeline, remove simple mode and set labs deprecation date 2020-12-14 00:49:45 -07:00
Daniel Supernault
9fc5a80cd3
Update PublicApiController, add state endpoint 2020-12-13 22:51:44 -07:00
Daniel Supernault
a5019b8907
Update StatusController 2020-12-13 17:30:50 -07:00
Daniel Supernault
881fa86573
Update NotificationTransformer, handle tagged deletes 2020-12-13 17:28:33 -07:00
Daniel Supernault
1ea2db74b2
Update StatusService, fix json bug 2020-12-13 16:08:59 -07:00
Daniel Supernault
3a428366fb
Update NotificationTransformer, add missing types 2020-12-13 16:03:44 -07:00
Daniel Supernault
d06bec9cd9
Update Profile, fix follower counter bug 2020-12-13 15:44:48 -07:00
Daniel Supernault
8aa5d42d8b
Update laravel framework to v8 2020-12-13 14:15:30 -07:00
Daniel Supernault
dab051ecb9
Update console kernel 2020-12-13 11:40:28 -07:00
Daniel Supernault
1325ce2cef
Update PublicApiController, use stateless transformer 2020-12-12 23:47:59 -07:00
Daniel Supernault
d0d4680709
Update StatusStatelessController, remove unused attributes 2020-12-12 23:40:22 -07:00
Daniel Supernault
082c1ccb26
Add hCaptcha 2020-12-12 21:04:59 -07:00
Daniel Supernault
4a14e970f0
Update Profile model, improve counter caching 2020-12-10 22:58:13 -07:00
Daniel Supernault
c67f0c5784
Update AccountInterstitialController, add autospam type 2020-12-10 22:11:02 -07:00
Daniel Supernault
b892bcf0e8
Add autospam feature 2020-12-10 21:58:56 -07:00
Daniel Supernault
048642bead
Update Collections, add custom limit 2020-12-10 01:02:56 -07:00
Daniel Supernault
76353ca997
Update BaseApiController, add favourites method 2020-12-09 22:23:51 -07:00
Daniel Supernault
1b2fd665bf
Update compiled assets 2020-12-09 22:22:56 -07:00
Daniel Supernault
c95085ca31
Update AdminController, add appeals support 2020-12-09 22:08:32 -07:00
Daniel Supernault
19d6e7df65
Update middleware, add AccountInterstitial support 2020-12-09 21:59:16 -07:00
Daniel Supernault
003caf7e8a
Update StatusController, add interstitial logic 2020-12-09 21:43:09 -07:00
Daniel Supernault
342e7a50c9
Update PublicApiController, improve stateless object caching 2020-12-09 21:40:24 -07:00
Daniel Supernault
20681bcf14
Update InternalApiController, add interstitial logic 2020-12-09 21:36:32 -07:00
Daniel Supernault
0718711d09
Update ApiController, return status object after deletion 2020-12-09 21:34:43 -07:00
Daniel Supernault
b3078f274f
Update DeleteAccountPipeline, add AccountInterstitial and DirectMessage purging 2020-12-05 00:20:45 -07:00
Daniel Supernault
473e049528
Update media pipeline, add blurhash support 2020-12-05 00:18:34 -07:00
Daniel Supernault
9404a36c66
Add Blurhash util 2020-12-05 00:17:45 -07:00
Daniel Supernault
fad102bf80
Add Blurhash encoder 2020-12-05 00:16:27 -07:00
Daniel Supernault
4d22426da2
Update StatusStatelessTransformer, add missing attributes 2020-12-05 00:14:29 -07:00
Daniel Supernault
bd321a72f0
Update User model, add interstitial relation 2020-12-05 00:13:24 -07:00
Daniel Supernault
327ef1384b
Update Status model, fix thumb nsfw caching 2020-12-05 00:12:08 -07:00
Daniel Supernault
8766ccfe4f
Add AccountInterstitial model and controller 2020-12-05 00:08:05 -07:00
Daniel Supernault
0a5a0e8616
Add federated photo filters 2020-11-27 19:52:40 -07:00
Daniel Supernault
9d1499eeb9
Update Place model, add name method 2020-11-27 14:22:05 -07:00
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"
2020-11-26 18:30:40 +01:00
Daniel Supernault
78a8798ace
Update RegisterController, fixes #2436 2020-11-26 02:15:03 -07:00
Daniel Supernault
4fbada5586
Update InboxPipeline 2020-11-26 01:22:53 -07:00
Daniel Supernault
e2e32682fd
Update DirectMessageController, add sharedInbox support 2020-11-26 00:56:44 -07:00
Daniel Supernault
bfe2341575
Update AP Helpers 2020-11-26 00:50:46 -07:00
Daniel Supernault
4733ca9fb9
Add shared inbox 2020-11-26 00:39:01 -07:00
Daniel Supernault
2ab2c9a974
Update DiscoverController, fix trending api 2020-11-25 17:59:13 -07:00
Daniel Supernault
81f23ee970
Update DirectMessage model 2020-11-25 10:41:44 -07:00
Daniel Supernault
ef184a2cb4
Update AuthLogin listener 2020-11-25 10:11:50 -07:00
Daniel Supernault
8e8e6cafec
Update AuthLogin listener 2020-11-25 10:10:16 -07:00
Daniel Supernault
1b41d66446
Update EmailService, make case insensitive 2020-11-21 20:47:13 -07:00
Daniel Supernault
7cfae612db
Updated AuthServiceProvider, added support for configurable OAuth tokens and refresh tokens lifetime 2020-11-21 20:24:36 -07:00
daniel
93a76b3c05
Merge pull request #2400 from delthas/feature-tokens-days
Add support for configurable OAuth tokens and refresh tokens lifetime
2020-11-21 20:22:35 -07:00
daniel
45458bd542
Merge pull request #2398 from delthas/feature-password-length
Make the minimum user password length configurable
2020-11-21 20:10:34 -07:00
Daniel Supernault
f8dc33cc81
Update InternalApiController 2020-11-21 19:56:25 -07:00
Daniel Supernault
e08f646008
Update DiscoverController 2020-11-21 18:58:08 -07:00
Daniel Supernault
f1c28e7d0c
Update DirectMessageController, fix pgsql bug 2020-11-21 18:33:22 -07:00
Daniel Supernault
9d07071ee0
Update DirectMessageController 2020-11-18 23:12:49 -07:00
Daniel Supernault
f796cc7c11
Update DirectMessageController 2020-11-18 23:07:00 -07:00
Daniel Supernault
72a1a1ea19
Update AP Inbox, fix url parser 2020-11-18 19:54:09 -07:00
Daniel Supernault
4b90b1e0df
Update DirectMessageController 2020-11-18 19:51:08 -07:00
Daniel Supernault
fa8fbb7e86
Update Status model 2020-11-18 19:19:07 -07:00
Daniel Supernault
f15b8f8f5a
Update AP Inbox 2020-11-18 19:13:34 -07:00
Daniel Supernault
86765001e6
Update AP Inbox 2020-11-18 19:08:21 -07:00
Daniel Supernault
11a616b67d
Update AP Inbox 2020-11-18 15:29:54 -07:00
Daniel Supernault
8444d2dc50
Update AP Inbox 2020-11-18 15:23:11 -07:00
Daniel Supernault
20749d7c3c
Update AP Inbox 2020-11-18 15:05:34 -07:00
Daniel Supernault
1bbd613621
Update Inbox, add namespaces 2020-11-18 14:52:44 -07:00
Daniel Supernault
d63569c120
Add Direct Messages 2020-11-18 14:19:02 -07:00
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.
2020-08-31 23:16:42 +02:00
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.
2020-08-31 23:01:01 +02:00
Daniel Supernault
de1cca4feb
Add password change email notification 2020-08-24 23:36:12 -06:00
Daniel Supernault
c4506ebd71
Update NotificationTransformer, fixes #2389 2020-08-24 18:53:37 -06:00
Daniel Supernault
27f3b29cf8
Update email confirmation middleware, add 2FA to allow list. Fixes #2385 2020-08-15 23:37:10 -06:00
Daniel Supernault
8d923d7767
Update SearchController, update version 2020-08-15 23:15:52 -06:00
Daniel Supernault
8e7f4f9d88
Update DiscoverController, fixes #2378 2020-08-13 18:52:20 -06:00
Daniel Supernault
c251d41b2e
Update Discover, add trending hashtags, places and posts 2020-08-13 18:05:36 -06:00
Daniel Supernault
d11fac0dfb
Update status embed, allow photo albums. Fixes #2374 2020-08-10 23:33:50 -06:00
Daniel Supernault
3b7ff030f2
Update RegisterController 2020-08-06 21:32:02 -06:00
Daniel Supernault
e5aa506c5a
Update Hashtag.vue, add nsfw toggle. Fixes #2225 2020-08-05 01:50:34 -06:00
Daniel Supernault
597378bfb4
Update upload endpoints with MediaBlocklist checks 2020-07-26 22:17:00 -06:00
Daniel Supernault
5d0a24a779
Add MediaBlocklistService 2020-07-26 22:14:57 -06:00
daniel
8ffad2b615
Merge pull request #2348 from dx7/2FA-page-issues
2FA verification page issues
2020-07-26 22:11:36 -06:00
Daniel Supernault
ce498e9b67
Update Nickname lexer 2020-07-26 22:09:11 -06:00
Daniel Supernault
ba1f7e7e2c
Add MediaBlocklist feature 2020-07-26 22:05:52 -06:00
Daniel Supernault
c2d194af1d
Update webfinger util, fix bug preventing username with dots 2020-07-26 20:09:45 -06:00
dx7
f3dba54179
Fix logout link on 2FA verification page 2020-07-26 01:34:35 -03:00
Daniel Supernault
c945263994
Update Tag People, allow untagging yourself 2020-07-24 19:49:49 -06:00
daniel
c6539bed90
Merge pull request #2316 from dx7/improve-username-email-validation
Improve error messages for username and email restricted on register page
2020-07-21 19:23:50 -06:00
daniel
58be61099e
Merge pull request #2315 from dx7/use-global-locale-for-session
Set session locale fallback using global locale config
2020-07-21 19:22:28 -06:00
Daniel Supernault
f33061642a
Update comments, fix remote reply bug 2020-07-21 19:14:48 -06:00
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)`
2020-07-20 23:22:16 +02:00