Commit graph

1031 commits

Author SHA1 Message Date
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
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
597378bfb4
Update upload endpoints with MediaBlocklist checks 2020-07-26 22:17:00 -06:00
Daniel Supernault
ba1f7e7e2c
Add MediaBlocklist feature 2020-07-26 22:05:52 -06: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 Supernault
f33061642a
Update comments, fix remote reply bug 2020-07-21 19:14:48 -06:00
Daniel Supernault
f34977d9a8
Update StatusController, add shortcodeRedirect method 2020-07-20 08:32:16 -06:00
Daniel Supernault
ee93f4598c
Update InternalApiController, add media tags 2020-07-14 17:29:29 -06:00
Daniel Supernault
b3b220b9b3
Update StoryController, allow video stories 2020-07-14 17:15:18 -06:00
Daniel Supernault
711fc020e7
Add Media Tags 2020-07-14 17:04:51 -06:00
Daniel Supernault
588642123e
Update Api controllers, use MediaPathService 2020-07-12 21:27:34 -06:00
Daniel Supernault
2c440b4882
Update AccountController, prevent blocking admins 2020-07-12 21:12:39 -06:00
dx7
913bf77ba4
Improve email validation error for restricted emails 2020-07-09 21:19:57 -03:00
dx7
693f530326
Improve username validation error for restricted names 2020-07-09 21:19:26 -03:00
Daniel Supernault
725fc6c62b
Update StoryController, fix deprecated getClientSize() use 2020-06-24 20:23:03 -06:00
Daniel Supernault
00a96a15f0
Update ApiV1Controller, wrap ancestor in array 2020-06-18 21:08:13 -06:00
Daniel Supernault
a0bde855bd
Update ApiV1Controller, add status ancestor and descendant context 2020-06-18 21:03:35 -06:00
Daniel Supernault
b7ee9981eb
Update ApiV1Controller, fix instance endpoint #2233 2020-06-12 23:16:11 -06:00
Daniel Supernault
144678fc9c
Update IG Import, remove hardcoded media size limit 2020-05-27 17:09:41 -06:00
Daniel Supernault
ffccf0fd41
Update SettingsController, add 404 to import when disabled 2020-05-25 21:33:00 -06:00
Daniel Supernault
ef07d17423
Update InstagramImport trait 2020-05-25 21:31:35 -06:00
Daniel Supernault
3b7e9e07e1
Update ImportController 2020-05-25 21:30:18 -06:00
Daniel Supernault
8efe14cc4b
Update PublicApiController, order accountStatuses by id 2020-05-25 20:40:41 -06:00
Daniel Supernault
6e8e9a2d5e
Update ProfileController, remove actor object caching 2020-05-24 21:59:09 -06:00
Daniel Supernault
7680e771a7
Update ProfileController, reduce actor object ttl from 6 hours to 15 minutes 2020-05-24 21:32:11 -06:00
Daniel Supernault
6074c56838
Update AccountController 2020-05-24 02:04:53 -06:00
Daniel Supernault
c4ebe9dca9
Update PublicApiController 2020-05-23 23:04:28 -06:00
Daniel Supernault
90b89cb809
Update MomentUI 2020-05-23 01:38:23 -06:00
Daniel Supernault
33c0db3a9a
Update FederationController, fix typo 2020-05-22 17:03:33 -06:00
Daniel Supernault
0309f8a4e1
Update FederationController, remove old code 2020-05-22 15:52:49 -06:00
Daniel Supernault
29ce725c70
Update FederationController, dispatch inbox jobs now on high queue 2020-05-21 21:02:16 -06:00
Daniel Supernault
3ec5102c24
Update FederationController, move signature validation to InboxValidator job 2020-05-21 19:49:30 -06:00
Daniel Supernault
c74cd0bdf0
Add missing bookmark api endpoints 2020-05-19 14:55:26 -06:00
Daniel Supernault
cfaa248c72
Update SiteController, add legacy profile/webfinger redirect 2020-05-15 23:32:54 -06:00
Daniel Supernault
99cb48c55e
Update v1 API, add bookmarks 2020-05-15 22:55:01 -06:00
Daniel Supernault
aa49afc755
Update ApiV1Controller, fix broken auth check on public timelines. Fixes #2168 2020-05-15 20:41:12 -06:00
Daniel Supernault
302ff874cb
Update webfinger logic, fixes #2180 2020-05-15 16:10:42 -06:00
Daniel Supernault
a87cc2dcaa
Update Discover 2020-04-30 23:29:53 -06:00
Daniel Supernault
f67fada273
Update SearchController, fix self search bug and rank local matches first 2020-04-28 02:42:21 -06:00
Daniel Supernault
285bd4854b
Update ApiV1Controller, enforce public timeline setting 2020-04-28 00:12:49 -06:00
Daniel Supernault
1dc65e933e
Update StatusController, fix reblog_count bug 2020-04-27 00:14:50 -06:00
Daniel Supernault
fcab5010d6
Add UIKit model, migration and controller 2020-04-26 23:28:24 -06:00
Daniel Supernault
483548e217
Update AccountController, add followRequestJson method 2020-04-26 23:20:27 -06:00
Daniel Supernault
996866cbac
Update LikeController, fix likes_count bug 2020-04-26 23:13:39 -06:00
Daniel Supernault
b1d5eb0556
Update Timeline component, fix mod tools 2020-04-24 13:53:47 -06:00
Daniel Supernault
9b37c439f7
Update InternalApiController, update modAction method 2020-04-24 13:10:48 -06:00
Daniel Supernault
9e533c7e87
Update SearchController 2020-04-21 23:42:52 -06:00
Daniel Supernault
08383dd43d
Update PublicApiControllers, fix block/mutes filtering on public timeline 2020-04-21 19:45:42 -06:00
Daniel Supernault
7ef9056537
Update RemotePost component, fix missing like button on comments 2020-04-20 22:41:02 -06:00
Daniel Supernault
6afc61a409
Add custom content warnings for remote posts 2020-04-20 22:24:27 -06:00
Daniel Supernault
84e203a925
Add new landing page 2020-04-17 16:34:19 -06:00
Daniel Supernault
d918a68e8b
Update InternalApiController, limit remote profile ui to remote profiles 2020-04-16 20:18:32 -06:00
Daniel Supernault
324ccd0ab8
Update ApiV1Controller, fixes #2112 2020-04-16 15:07:46 -06:00
Daniel Supernault
599ab152a7
Update PublicApiController, remove trailing comma 2020-04-13 22:15:23 -06:00
Daniel Supernault
c84cee5ae0
Update ActivityPub Outbox, fixes #2100 2020-04-11 22:12:28 -06:00
Daniel Supernault
0540a28ad1
Update oauth api, allow multiple redirect_uris. Fixes #2106 2020-04-11 20:14:50 -06:00
Daniel Supernault
95bce31e62
Add remote posts and profiles 2020-04-08 21:34:31 -06:00
Daniel Supernault
e6190b896b
Update internal apis 2020-03-24 23:00:02 -06:00
Daniel Supernault
869b4ff727
Update SearchController, add WebfingerService support 2020-03-24 22:54:19 -06:00
Daniel Supernault
3a828522dd
Update LikeController 2020-03-20 21:17:14 -06:00
Daniel Supernault
01525cba4c
Update ApiV1Controller, fix unfavourite bug #2088 2020-03-20 21:16:31 -06:00
Daniel Supernault
b6f56c2751
Update ApiV1Controller, fix link header pagination 2020-03-19 15:34:04 -06:00
Daniel Supernault
e3b7c7ccb1
Update ApiV1Controller, fix link header pagination 2020-03-19 15:29:18 -06:00
Daniel Supernault
0a9654e3b8
Update ApiV1Controller, fix link header pagination 2020-03-19 14:53:02 -06:00
Daniel Supernault
737f3da5a4
Update ApiV1Controller, fix link header pagination 2020-03-19 14:32:26 -06:00
Daniel Supernault
ebbdb4ab96
Update ApiV1Controller 2020-03-18 20:23:39 -06:00
Daniel Supernault
4e3c952cf3
Update v1 notifications api, fix optional params 2020-03-18 16:53:54 -06:00
Daniel Supernault
0c82c97069
Added trusted devices to sudo mode 2020-03-14 22:35:35 -06:00
Daniel Supernault
7bf9e78f8e
Update PublicApiController 2020-03-14 21:21:45 -06:00
Daniel Supernault
eeca1fbc54
Update ApiV1Controller 2020-02-27 23:31:18 -07:00
Daniel Supernault
7bb9fb1f01
Update ApiV1Controller 2020-02-27 22:11:42 -07:00
Daniel Supernault
c9057e87ba
Update ContactController, fixes #2042 2020-02-22 21:07:59 -07:00
daniel
2bf9f74fcd
Merge pull request #2050 from shleeable/patch-3
Dupe bot value in InstanceApiController.php
2020-02-22 21:05:24 -07:00
Shlee
0fabac50e3
Update InstanceApiController.php 2020-02-22 21:47:49 +08:00
Ashley Hull
9c84df49ff typo 2020-02-22 19:33:35 +08:00
Daniel Supernault
db46f7ddbb
Update ProfileController, revert pgsql change 2020-02-20 22:52:58 -07:00
Daniel Supernault
77778d3e41
Update admin modlogs 2020-02-20 00:41:19 -07:00
Daniel Supernault
e07bd934ac
Update AdminUserController, fix modlog bug 2020-02-20 00:01:18 -07:00
Daniel Supernault
c5e8e7907a
Update AdminUserController, add modlog support 2020-02-19 23:23:52 -07:00
Daniel Supernault
9be19ad880
Update AdminUserController, add account deletion handler 2020-02-19 22:55:10 -07:00
Daniel Supernault
826978ce08
Update BaseApiController, invalidate session after account deletion 2020-02-19 22:53:04 -07:00
Daniel Supernault
a7adfb9457
Update AdminUserController modtools 2020-02-19 21:15:49 -07:00
Daniel Supernault
a4cf21eaad
Update AdminUserController, add moderation method 2020-02-19 20:45:11 -07:00
Daniel Supernault
a73fad75b0
Update ApiV1Controller, fix update_credentials endpoint 2020-02-19 19:57:30 -07:00
Daniel Supernault
c8abffb811
Update TimelineController 2020-02-18 00:38:25 -07:00
Daniel Supernault
a84ff19451
Update CollectionController, fix null bug 2020-02-18 00:36:49 -07:00
Daniel Supernault
c568d54893
Update NewroomController, update title length limit from 25 to 40 2020-02-18 00:34:59 -07:00
Daniel Supernault
9a0c5bc8ae
Update admin dashboard 2020-02-18 00:22:47 -07:00
Daniel Supernault
81f4ccf979
Update CommentController 2020-02-18 00:19:18 -07:00
Daniel Supernault
6a16559132
Update DangerZone/Sudo middleware 2020-02-17 23:16:44 -07:00
Daniel Supernault
5ffa71dacd
Update StoryController, fixes #2018 2020-02-17 00:00:33 -07:00
Daniel Supernault
5bcb43a673
Update RegisterController, fix CI bug 2020-02-16 23:26:49 -07:00
Daniel Supernault
14ba350ba3
Fix postgres bugs 2020-02-16 23:15:24 -07:00
Daniel Supernault
dd5fa3a49d
Update PlaceController, fixes #2017 2020-02-16 01:28:48 -07:00
Daniel Supernault
b04c7170d7
Update DiscoverController, fixes #2009 2020-02-14 22:11:42 -07:00
Daniel Supernault
310f668814
Update ApiV1Controller 2020-02-06 17:20:55 -07:00
Daniel Supernault
69d36fc1c1
Update ApiV1Controller, add v2 search endpoint 2020-02-06 17:13:10 -07:00
Daniel Supernault
369a1a599d
Update StoryController, remove auth middleware 2020-02-05 23:15:55 -07:00
Daniel Supernault
608fb1bd46
Update Story routes 2020-02-04 23:18:51 -07:00
Daniel Supernault
e2828f4b85
Update ApiV1Controller 2020-02-03 23:30:21 -07:00
Daniel Supernault
bd45728615
Update ApiV1Controller 2020-02-03 23:12:51 -07:00
Daniel Supernault
fb91892ee2
Update ApiV1Controller, fix follow/unfollow endpoints 2020-02-03 20:59:18 -07:00
Daniel Supernault
28bc9c1923
Update status edit view 2020-01-29 23:04:25 -07:00
Daniel Supernault
ae24433b8c
Update StatusController, restrict edits to 24 hours 2020-01-29 22:03:34 -07:00
Daniel Supernault
829c41e16f
Update password reset ttl, now expires after 24 hours 2020-01-28 23:37:08 -07:00
Daniel Supernault
4d2da2f1b0
Update RelationshipSettings Controller, fixes #1605 2020-01-27 21:13:53 -07:00
Daniel Supernault
41abe9d261
Update AdminController 2020-01-22 22:15:11 -07:00
Daniel Supernault
dbd5c4cf77
Update admin reports, fix 404 bug 2020-01-22 19:49:59 -07:00
Daniel Supernault
07a13fcfed
Update StoryController, orientate story media and strip exif 2020-01-22 16:01:01 -07:00
Daniel Supernault
8360aa4827
Update StoryController, fix postgres bug 2020-01-14 21:50:05 -07:00
Daniel Supernault
aba509fc6b
Update StoryController 2020-01-10 22:03:51 -07:00
Daniel Supernault
71f6cbb5a6
Update StoryController 2020-01-10 21:53:24 -07:00
Daniel Supernault
d403e0c615
Update StoryController 2020-01-10 19:45:46 -07:00
Daniel Supernault
e30823dbf2
Revert StoryController update 2020-01-08 20:34:49 -07:00
Daniel Supernault
523d90cdec
Update StoryController 2020-01-08 18:05:20 -07:00
Daniel Supernault
a8a8e5f0dc
Update StoryController, fix postgres bug 2020-01-08 14:51:34 -07:00
Daniel Supernault
5b09e6f111
Update FollowerController 2020-01-06 23:32:32 -07:00
Daniel Supernault
5a2685e40d
Update StoryController 2020-01-06 23:31:51 -07:00
Daniel Supernault
7654205408
Update ProfileController 2020-01-05 21:52:40 -07:00
Daniel Supernault
2f44cafbf0
Update ProfileController, fixes #1912 2020-01-03 14:06:07 -07:00
Daniel Supernault
758e633c2c
Update InternalApiController, fixes #1901 2019-12-31 16:26:53 -07:00
Daniel Supernault
21a802da33
Update NewsroomController 2019-12-23 23:46:52 -07:00
Daniel Supernault
481954445e
Update AdminController, add Newsroom 2019-12-23 23:12:23 -07:00
Daniel Supernault
30c1af7c78
Add Announcements/Newsroom feature 2019-12-22 23:13:49 -07:00
Daniel Supernault
279c57d9a5
Update FederationController 2019-12-20 23:15:15 -07:00
Daniel Supernault
1b20ebd46d
Deprecate mixed media albums 2019-12-14 21:29:00 -07:00
Daniel Supernault
47c132c622
Update controller 2019-12-14 13:02:24 -07:00
Daniel Supernault
c369882b48
Update Redis namespace 2019-12-10 23:04:03 -07:00
Daniel Supernault
fa8e0dca4d
Update RegisterController 2019-12-09 00:48:03 -07:00
Daniel Supernault
e7ad61c047
Update InternalApiController, fix compose api and php 7.4 compat 2019-12-08 13:55:27 -07:00
Daniel Supernault
46c9a3742e
Update CollectionController 2019-12-08 00:51:14 -07:00
Daniel Supernault
c2826fd3fd
Update CollectionController, increase collection limit from 18 to 50 2019-12-07 19:43:46 -07:00
Daniel Supernault
fb7a3cf0e4
Add Profile Embeds 2019-12-04 21:21:08 -07:00
Daniel Supernault
b793f9c4bb
Update SiteController 2019-12-04 20:55:42 -07:00
Daniel Supernault
8e9b544f50
Update SiteController, return 404 for users attempting to view their own Follow Intent 2019-12-04 20:30:04 -07:00
Daniel Supernault
d9ff794932
Update SiteController 2019-12-04 20:24:27 -07:00
Daniel Supernault
ad8fc77e6c
Update FollowerController 2019-12-04 20:24:08 -07:00
Daniel Supernault
293b806afc
Update DiscoverController 2019-12-04 19:54:26 -07:00
Daniel Supernault
67a90ee18d
Fixes #1852 2019-11-30 18:34:55 -07:00
Daniel Supernault
487de31788
Update PublicApiController, fix scope bug 2019-11-27 20:13:07 -07:00
Daniel Supernault
45ecad2a07
Update CommentController, fix scope bug 2019-11-27 19:57:23 -07:00
Daniel Supernault
4145141366
Update DiscoverController 2019-11-24 15:48:53 -07:00
Daniel Supernault
d5d960e2f0
Update StatusController 2019-11-24 00:42:59 -07:00
Daniel Supernault
026b59f025
Update StatusController 2019-11-23 22:18:51 -07:00
Daniel Supernault
6c97b2162c
Update StatusController 2019-11-23 22:03:20 -07:00
Daniel Supernault
cdff55313a
Update StatusController 2019-11-23 21:56:16 -07:00
Daniel Supernault
1fecf7170c
Add post embeds 2019-11-23 21:44:41 -07:00
Daniel Supernault
1856dd962d
Add SeasonalController 2019-11-22 23:35:51 -07:00
Daniel Supernault
98ad593654
Update StatusController 2019-11-22 23:35:13 -07:00
Daniel Supernault
d2c53dc56a
Update SiteController 2019-11-22 23:33:47 -07:00
Daniel Supernault
7311e81382
Update PublicApiController 2019-11-22 23:00:43 -07:00
Daniel Supernault
0c4d270f02
Update PublicApiController 2019-11-22 22:57:09 -07:00
Daniel Supernault
744435cdf5
Update PublicApiController 2019-11-22 22:53:51 -07:00
Daniel Supernault
5ebd2c8a1b
Update PublicApiController, add AccountService 2019-11-22 22:43:20 -07:00
Daniel Supernault
5740746339
Update APIV1Controller, add ``mobile_apis`` to /api/v1/instance endpoint 2019-11-22 21:23:38 -07:00
Daniel Supernault
d11e82c3d9
Update landing page, add age check 2019-11-22 21:21:53 -07:00
Daniel Supernault
a429d96187
Update FollowerController 2019-11-10 20:42:30 -07:00
Daniel Supernault
3fa9ac8bd9
Update BaseApiController, uncache verify_credentials method 2019-10-17 00:16:12 -06:00
Daniel Supernault
49efaae96c
Update MediaController, add timestamp to signed preview url 2019-10-16 22:09:24 -06:00
Daniel Supernault
79292ad610
Update AdminInstanceController, fix instance scan 2019-10-16 21:08:46 -06:00
Daniel Supernault
b3c18aecfd
Update InternalApiController, increase license limit to 140 to match UI counter 2019-10-15 21:51:23 -06:00
Daniel Supernault
e01dff45c5
Update PublicApiController, fix mixed albums not appearing on timelines 2019-10-15 21:49:37 -06:00
Daniel Supernault
bad2ecde56
Update BaseApiController, add drafts method for Camera Roll 2019-10-14 21:33:42 -06:00
Daniel Supernault
5773434a13
Update AdminInstanceController, remove db transaction from instance scan 2019-10-14 21:31:57 -06:00
Daniel Supernault
73c0898703
Update BaseApiController, add timestamp to signed media previews for client side cache invalidation 2019-10-11 23:24:56 -06:00
Daniel Supernault
d8d11d7b9a
Update PrivacySettings controller, clear cache after updating 2019-10-11 22:13:32 -06:00
Daniel Supernault
86cb7d0901
Update PublicApiController 2019-10-10 19:13:33 -06:00
Daniel Supernault
72db2b35b5
Update AdminController, improve dashboard caching 2019-10-07 19:48:58 -06:00
Thomas
2a849be650 Add some elements in api/v1/instance 2019-10-07 18:35:13 +02:00
Daniel Supernault
139c6651bf
Update ApiController, fixes #1705 2019-10-07 00:40:03 -06:00
Daniel Supernault
788f76cf35
Update ApiControllers, fix missing share/like counts 2019-10-06 21:36:02 -06:00
Daniel Supernault
1346b75887
Update ApiController, fixes #1764 2019-10-05 21:40:27 -06:00
Daniel Supernault
fdac53eb77
Update LikeController 2019-10-04 20:32:13 -06:00
Daniel Supernault
7c17c0e4ff
Update ApiController, oof 2019-10-01 22:31:29 -06:00
Daniel Supernault
8752d21301
Update ApiController 2019-10-01 22:24:59 -06:00
Daniel Supernault
9a50a6f627
Update ApiController 2019-10-01 21:52:27 -06:00
Daniel Supernault
a79d23d152
Update StatusTransformers 2019-10-01 21:06:42 -06:00
Daniel Supernault
f4039ce218
Update BaseApiController 2019-09-30 20:53:14 -06:00
Daniel Supernault
2ff53be458
Add /api/v1/timelines/tag/{hashtag} endpoint 2019-09-29 22:05:12 -06:00
Daniel Supernault
01a3841bc7
Update ApiController 2019-09-29 02:55:26 -06:00
Daniel Supernault
3147fe5ca3
Add /api/v1/statuses/{id}/unreblog endpoint 2019-09-29 01:11:31 -06:00
Daniel Supernault
43cef28296
Add /api/v1/statuses/{id}/reblog endpoint 2019-09-29 00:36:02 -06:00
Daniel Supernault
0a20b8321b
Add /api/v1/statuses endpoint 2019-09-29 00:09:01 -06:00
Daniel Supernault
10cb2d4004
Update ApiController 2019-09-28 23:00:31 -06:00
Daniel Supernault
3aa729a362
Add /api/v1/statuses endpoint 2019-09-28 22:50:56 -06:00
Daniel Supernault
5cdff57d59
Add /api/v1/statuses/{id}/favourited_by endpoint 2019-09-27 01:01:48 -06:00
Daniel Supernault
118006ed2d
Add /api/v1/statuses/{id}/reblogged_by endpoint 2019-09-27 00:57:58 -06:00
Daniel Supernault
9225120835
Add /api/v1/statuses/{id}/card endpoint 2019-09-26 23:19:57 -06:00
Daniel Supernault
3570e7acbb
Update api controller 2019-09-26 22:42:33 -06:00
Daniel Supernault
530149f0f4
Update AccountTransformer 2019-09-26 21:53:55 -06:00
Daniel Supernault
55ee29f301
Update APIV1Controller, fix cors bug 2019-09-26 21:03:08 -06:00
Daniel Supernault
11cd75e8e8
Update ApiController 2019-09-26 20:49:44 -06:00
Daniel Supernault
43c18e866c
Update api controller 2019-09-26 20:39:52 -06:00
Daniel Supernault
be7eae8494
Update verify_credentials endpoint 2019-09-26 19:52:56 -06:00