Commit graph

1659 commits

Author SHA1 Message Date
Daniel Supernault
6cdd64c669
Add BANNED_USERNAMES env var support to RestrictedNames 2020-01-16 23:07:58 -07:00
Daniel Supernault
8360aa4827
Update StoryController, fix postgres bug 2020-01-14 21:50:05 -07:00
Daniel Supernault
121b258dbb
Update AccountTransformer, re-add header_bg field. Fixes #1933 2020-01-14 19:58:18 -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
8b7917e76a
Update StatusTransformer 2020-01-06 23:24:47 -07:00
Daniel Supernault
3b4219c0aa
Update rate limits 2020-01-05 22:05:58 -07:00
Daniel Supernault
da8b06c088
Update rate limits 2020-01-05 21:53:59 -07:00
Daniel Supernault
034fdb4d42
Update Story model 2020-01-05 21:53:09 -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
3f75763d7d
Update Story model, change daily limit to 10 2020-01-02 21:20:55 -07:00
Daniel Supernault
b08b36127c
Update AP Helpers 2019-12-31 22:00:55 -07:00
Daniel Supernault
01dd5db7f5
Update scheduler, add StoryGC command 2019-12-31 21:58:21 -07:00
Daniel Supernault
5a7ebe7057
Update Site Config 2019-12-31 20:16:21 -07:00
Daniel Supernault
8a231928f5
Update RestrictedNames 2019-12-31 16:52:17 -07:00
Daniel Supernault
758e633c2c
Update InternalApiController, fixes #1901 2019-12-31 16:26:53 -07:00
Daniel Supernault
7faa9d8e61
Add S3 + Stories 2019-12-31 02:33:54 -07:00
Daniel Supernault
6bb8099583
Update VideoThumbnail pipeline job 2019-12-24 19:34:16 -07:00
Daniel Supernault
1199fb89f6
Update ImageUpdate pipeline job 2019-12-24 19:33:38 -07:00
Daniel Supernault
21a802da33
Update NewsroomController 2019-12-23 23:46:52 -07:00
Daniel Supernault
fd7460c433
Update Newsroom model, add editUrl() method 2019-12-23 23:13:03 -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
b32cf31cdd
Update site config service 2019-12-17 20:56:09 -07:00
Daniel Supernault
1b20ebd46d
Deprecate mixed media albums 2019-12-14 21:29:00 -07:00
Daniel Supernault
813ef12329
Update LikePipeline, fix typo 2019-12-14 20:34:56 -07:00
Daniel Supernault
1b9c1bfa34
Update LikePipeline, fix typo 2019-12-14 20:31:26 -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
96a6c063f2
Update FollowerService 2019-12-04 19:47:00 -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
eb478ccf76
Update AccountService, fixes #1834 2019-11-27 19:20:41 -07:00
Daniel Supernault
4145141366
Update DiscoverController 2019-11-24 15:48:53 -07:00
Daniel Supernault
3f0c45f601
Update AccountTransformer 2019-11-24 15:48:02 -07:00
Daniel Supernault
71e77a8325
Update StatusStatelessTransformer 2019-11-24 14:57:45 -07:00
Daniel Supernault
08fb905c12
Add AccountWithStatusesTransformer 2019-11-24 14:57:28 -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
7b00eba398
Update PublicTimelineService, add video media scopes 2019-11-22 22:40:29 -07:00
Daniel Supernault
885a1258e8
Add AccountService 2019-11-22 22:34:56 -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
256f6b3515
Update StatusTransformer 2019-11-21 20:59:55 -07:00
Daniel Supernault
6583957dc8
Update FixUsernames command, skip admin and deleted users 2019-11-13 23:30:02 -07:00
Daniel Supernault
e5d77c6d95
Update FixUsernames command 2019-11-13 23:20:01 -07:00
Daniel Supernault
f6a6174292
Update Status model 2019-11-11 23:50:25 -07:00
Daniel Supernault
484bb509c6
Update StatusTransformer 2019-11-10 20:53:37 -07:00
Daniel Supernault
a429d96187
Update FollowerController 2019-11-10 20:42:30 -07:00
Daniel Supernault
b73823b11a
Update StoryView model 2019-11-10 17:26:29 -07:00
Daniel Supernault
3b8fe9d574
Update StoryItem model 2019-11-10 17:25:52 -07:00
Daniel Supernault
6a81f161fa
Update Story model 2019-11-10 17:25:28 -07:00
Daniel Supernault
6d40876ae8
Update Site Config 2019-11-02 21:12:44 -06:00
Daniel Supernault
d2a90f11a0
Update AccountTransformer 2019-10-29 18:13:44 -06:00
Daniel Supernault
43d4517f71
Update AuthServiceProvider 2019-10-21 00:00:07 -06:00
Daniel Supernault
4fa5ca4f82
Update AuthServiceProvider 2019-10-20 23:06:06 -06:00
Daniel Supernault
723d3562be
Update EmailService, fixes #1790 2019-10-18 19:31:25 -06:00
Daniel Supernault
b89d793250
Update StatusDedupe command 2019-10-18 19:29:03 -06:00
Daniel Supernault
771f9c4615
Update FixLikes command, fix postgres support 2019-10-18 13:40:56 -06:00
Daniel Supernault
126886e841
Update StatusHashtagService, reduce cached hashtag count ttl from 6 hours to 5 minutes 2019-10-17 00:19:02 -06: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
7c15d3c71f
Add MediaDraftTransformer for Camera Roll and Continuity 2019-10-15 21:48:43 -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
0c59a55e6d
Update SharePipeline, federate self boosts 2019-10-11 17:58:35 -06:00
Daniel Supernault
86cb7d0901
Update PublicApiController 2019-10-10 19:13:33 -06:00
Daniel Supernault
1ffbc1c7ec
Add Fix Likes command 2019-10-10 19:06:02 -06:00
Daniel Supernault
72db2b35b5
Update AdminController, improve dashboard caching 2019-10-07 19:48:58 -06:00
daniel
86bef313a5
Merge pull request #1771 from stom79/api_v1_instance
Add some elements in api/v1/instance
2019-10-07 12:40:39 -06:00
Thomas
2a849be650 Add some elements in api/v1/instance 2019-10-07 18:35:13 +02:00
Daniel Supernault
7c0426ab2c
Update AP inbox 2019-10-07 03:39:56 -06:00
Daniel Supernault
d85cdd13de
Update AP inbox 2019-10-07 03:36:51 -06:00
Daniel Supernault
d06622b7d4
Update tombstone handler 2019-10-07 03:30:53 -06:00
Daniel Supernault
d3eaccf706
Update Two factor middleware to allow 3 attempts 2019-10-07 03:25:26 -06:00
Daniel Supernault
2c16db187b
Update AP transformers, fixes #1637 2019-10-07 03:00:58 -06:00
Daniel Supernault
ccaefe3f7f
Update Status model, fixes #1637 2019-10-07 02:49:23 -06:00
Daniel Supernault
c952442077
Update Status model, fixes #1637 2019-10-07 02:46:21 -06:00
Daniel Supernault
ef77de4e05
Update AP transformers, fixes #1637 2019-10-07 02:36:29 -06: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
f89852c321
Update StatusTransformer, Fixes #1760 2019-10-04 20:27:29 -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
21f262315d
Update AccountTransformer, fixes #1730 2019-10-01 20:53:45 -06:00
Daniel Supernault
715166fc67
Update Http Kernel 2019-10-01 18:35:42 -06:00
Daniel Supernault
0397c959f0
Update AuthServiceProvider 2019-10-01 18:31:05 -06:00
Daniel Supernault
dbcd5ff2e4
Update AuthServiceProvider 2019-09-30 23:36:37 -06:00
Daniel Supernault
e10b2b93a4
Update AuthServiceProvider 2019-09-30 23:03:35 -06:00
Daniel Supernault
6d6f517db0
Update AuthServiceProvider 2019-09-30 22:59:16 -06:00
Daniel Supernault
9528d97c0a
Update StatusTransformers 2019-09-30 22:38:52 -06:00
Daniel Supernault
f4039ce218
Update BaseApiController 2019-09-30 20:53:14 -06:00
Daniel Supernault
4d084ac5de
Update AccountTransformer 2019-09-30 00:55:49 -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
db3b873a50
Update csrf middleware 2019-09-26 22:43:16 -06:00
Daniel Supernault
3570e7acbb
Update api controller 2019-09-26 22:42:33 -06:00
Daniel Supernault
7243489088
Update mastodon api transformers 2019-09-26 22:24:03 -06:00
Daniel Supernault
5d97fc8776
Update StatusTransformer 2019-09-26 22:19:41 -06:00
Daniel Supernault
2532663295
Update StatusTransformer 2019-09-26 22:18:52 -06:00
Daniel Supernault
abcc62a3fc
Update NotificationTransformer 2019-09-26 21:58:40 -06:00
Daniel Supernault
530149f0f4
Update AccountTransformer 2019-09-26 21:53:55 -06:00
Daniel Supernault
e4669a8aab
Update AccountTransformer, tfw you confuse javascript and php operators 2019-09-26 21:36:49 -06:00
Daniel Supernault
70f4b8607a
Update AccountTransformer 2019-09-26 21:35:25 -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
68e09477d0
Update NotificationTransformer 2019-09-26 20:16:56 -06:00
Daniel Supernault
5ff4ba0807
Update mastodon api transformers, fix timestamps 2019-09-26 20:15:49 -06:00
Daniel Supernault
be7eae8494
Update verify_credentials endpoint 2019-09-26 19:52:56 -06:00
Daniel Supernault
f3eeb9c978
Add /api/v1/timelines/public endpoint 2019-09-26 19:35:15 -06:00
Daniel Supernault
336f906968
Add /api/v1/conversations endpoint 2019-09-26 18:41:27 -06:00
Daniel Supernault
cf3405d852
Add /api/v1/timelines/home endpoint 2019-09-26 18:30:56 -06:00
Daniel Supernault
39449f3638
Add /api/v1/notifications endpoint 2019-09-26 01:37:22 -06:00
Daniel Supernault
9b130cfe9b
Add new api transformers 2019-09-26 01:30:15 -06:00
Daniel Supernault
41c96ddd6a
Add /api/v1/accounts/{id}/unmute endpoint 2019-09-25 23:36:13 -06:00
Daniel Supernault
3e98dce4de
Add /api/v1/accounts/{id}/mute endpoint 2019-09-25 23:31:19 -06:00
Daniel Supernault
b280d183ad
Add /api/v1/mutes endpoint 2019-09-25 23:09:50 -06:00
Daniel Supernault
fcf231f430
Add /api/v1/media/{id} endpoint 2019-09-25 23:01:37 -06:00
Daniel Supernault
39f3e3138d
Add /api/v1/media endpoint 2019-09-25 22:54:05 -06:00
Daniel Supernault
9b5aac4f50
Remove deprecated AttachmentTransformer 2019-09-25 22:38:44 -06:00
Daniel Supernault
dba172dfe7
Add /api/v1/accounts/{id}/lists endpoint 2019-09-25 22:12:39 -06:00
Daniel Supernault
2a106c4e12
Add /api/v1/lists endpoint 2019-09-25 22:08:22 -06:00
Daniel Supernault
e52aeeedad
Add /api/v1/suggestions endpoint 2019-09-25 22:04:02 -06:00
Daniel Supernault
62aa922aed
Add /api/v1/follow_requests/{id}/reject endpoint 2019-09-25 21:59:17 -06:00
Daniel Supernault
7bdd9b2a14
Add /api/v1/follow_requests/{id}/authorize endpoint 2019-09-25 21:56:56 -06:00
Daniel Supernault
9726913622
Add /api/v1/follow_requests endpoint 2019-09-25 21:51:51 -06:00
Daniel Supernault
b3d82edd0f
Add /api/v1/filters endpoint 2019-09-25 21:28:30 -06:00
Daniel Supernault
437e18e3ad
Add /api/v1/statuses/{id}/unfavourite endpoint 2019-09-25 21:10:17 -06:00
Daniel Supernault
4edeba17ba
Add /api/v1/statuses/{id}/favourite endpoint 2019-09-25 21:06:43 -06:00
Daniel Supernault
b9cc06daa5
Add /api/v1/favourites endpoint 2019-09-25 13:46:47 -06:00
Daniel Supernault
1f16221eb2
Add /api/v1/endorsements endpoint 2019-09-25 02:29:52 -06:00
Daniel Supernault
83a6313f09
Add /api/v1/domain_blocks endpoint 2019-09-25 02:21:36 -06:00
Daniel Supernault
6e43431a67
Add /api/v1/custom_emojis endpoint 2019-09-25 01:17:25 -06:00
Daniel Supernault
35226c99e2
Add /api/v1/accounts/{id}/unblock endpoint 2019-09-25 01:10:01 -06:00
Daniel Supernault
c6b1ed97f9
Add /api/v1/accounts/{id}/block endpoint 2019-09-25 01:02:28 -06:00
Daniel Supernault
ac9f1bc04e
Add /api/v1/blocks endpoint 2019-09-25 00:46:06 -06:00
Daniel Supernault
5a0c295ed1
Update User model, fix filter relationship 2019-09-25 00:24:13 -06:00
Daniel Supernault
b1fccf6d82
Add /api/v1/accounts/search endpoint 2019-09-25 00:07:05 -06:00
Daniel Supernault
4b9f7d6b14
Add /api/v1/accounts/relationships endpoint 2019-09-24 23:26:26 -06:00
Daniel Supernault
fadc96b2d6
Add /api/v1/accounts/{id}/unfollow endpoint 2019-09-24 22:58:29 -06:00
Daniel Supernault
f383902662
Add /api/v1/accounts/{id}/follow endpoint 2019-09-24 21:37:25 -06:00
Daniel Supernault
6237897def
Update FollowerController, make follow and unfollow methods public 2019-09-24 21:20:53 -06:00
Daniel Supernault
bd3f95415e
Fix typo in ApiV1Controller 2019-09-24 21:01:01 -06:00
Daniel Supernault
05968fa135
Fix typo in ApiV1Controller 2019-09-24 20:59:39 -06:00
Daniel Supernault
b66cf9cdc2
Update StatusTransformer, make spoiler_text non-nullable 2019-09-24 20:45:36 -06:00
Daniel Supernault
8ce6c1f2d2
Add /api/v1/accounts/{id}/statuses endpoint 2019-09-24 20:35:07 -06:00
Daniel Supernault
607eb51b4e
Add /api/v1/accounts/{id}/following endpoint 2019-09-24 20:08:44 -06:00
Daniel Supernault
41c91cba43
Add /api/v1/accounts/{id}/followers endpoint 2019-09-24 20:05:40 -06:00
Daniel Supernault
6afd69702a
Add /api/v1/accounts/update_credentials endpoint 2019-09-24 19:47:45 -06:00
trwnh
995d604ea0
copy activity id instead of guessing blindly
see #1710
2019-09-24 14:33:29 -05:00
Daniel Supernault
93c687c7a0
Update AccountTransformer 2019-09-24 11:56:56 -06:00
Daniel Supernault
fe522da8db
Update SiteController 2019-09-24 00:54:17 -06:00
Daniel Supernault
ac0ec74c3d
Update AccountTransformer 2019-09-23 19:39:41 -06:00