Commit graph

382 commits

Author SHA1 Message Date
Daniel Supernault
ad48521a35
Update ConfigCacheService, fix discover features 2022-03-01 21:49:09 -07:00
Daniel Supernault
6af842eb3e
Update LikeService, improve caching logic and add profile id to likedBy method to fix #3271 2022-02-26 22:41:57 -07:00
Daniel Supernault
6cfd6be523
Add ReblogService, improve reblogged state for api entities 2022-01-28 22:06:43 -07:00
Daniel Supernault
a7d715517d
Update StatusService, use BookmarkService for bookmarked state 2022-01-28 20:57:25 -07:00
Daniel Supernault
a11772bcfe
Update BookmarkService, use sorted set 2022-01-28 18:27:53 -07:00
Daniel Supernault
0157566c25
Add BookmarkService 2022-01-27 05:17:55 -07:00
Daniel Supernault
16e725183e
Update ApiV1Controller, add custom_emoji endpoint 2022-01-25 02:08:50 -07:00
Daniel Supernault
792212b655
Cleanup 2022-01-22 19:42:37 -07:00
Daniel Supernault
aff7456639
Update WebfingerService. Fixes #3167 2022-01-22 19:37:50 -07:00
Daniel Supernault
dbb1638fd6
Invalidate status cache after importing custom emoji 2022-01-21 01:28:36 -07:00
Daniel Supernault
dc17c9fc27
Improve emoji import 2022-01-19 00:46:30 -07:00
Daniel Supernault
01798daf56
Update AP helpers, import Emoji tags 2022-01-18 23:26:44 -07:00
Daniel Supernault
ca79e26d3a
Add custom emoji 2022-01-18 23:03:21 -07:00
Daniel Supernault
1c20d6960a
Update MediaStorageService, fix reremote avatar bug 2022-01-17 17:11:16 -07:00
Daniel Supernault
c8a667f20e
Update SearchApiV2Service, resolve remote queries 2022-01-09 23:15:45 -07:00
Daniel Supernault
a578035bbc
Update AccountService 2022-01-08 04:03:45 -07:00
Daniel Supernault
eeaf0f9311
Update StatusService 2022-01-07 19:59:29 -07:00
Daniel Supernault
46485426ea
Update ApiV1Controller, add mastoapi strict mode 2022-01-05 21:36:02 -07:00
Daniel Supernault
454b4e21dd
Update Services, fix mastoapi compat 2022-01-03 02:31:03 -07:00
Daniel Supernault
85e4be8172
Update AccountService, add getMastodon method for mastoapi compatibility 2022-01-03 00:53:15 -07:00
Daniel Supernault
36a129fe89
Update StatusService, add getMastodon method for mastoapi compatibility 2022-01-02 23:47:08 -07:00
Daniel Supernault
b4bd0400c2
Store remote avatars locally if S3 not enabled 2022-01-02 21:30:02 -07:00
Daniel Supernault
e5f8f3441c
Update AccountService, fix json casting 2021-12-30 23:11:46 -07:00
Daniel Supernault
937cdfb7f9
Update StatusService 2021-12-21 21:40:10 -07:00
Daniel Supernault
aee9b994e3
Improve DiscoverService 2021-12-19 04:07:40 -07:00
Daniel Supernault
493c5ca0ce
Add DiscoverService 2021-12-19 00:43:09 -07:00
Daniel Supernault
83b48b5681
Update StatusService, improve cache invalidation 2021-12-12 22:30:55 -07:00
Daniel Supernault
c2910e5d42
Update MediaService, return empty array if cantt find status 2021-12-12 19:33:20 -07:00
Daniel Supernault
19d140b020
Update FollowerService 2021-12-04 17:37:44 -07:00
Daniel Supernault
f88b3a2fb9
Update StatusService, add getDirectMessage method 2021-12-04 17:33:32 -07:00
Daniel Supernault
fbaed93eda
Update SearchApiV2Service, improve performance and include hashtag post counts when applicable 2021-12-04 17:32:43 -07:00
Daniel Supernault
a37971dd28
Add HashtagService 2021-12-04 17:31:53 -07:00
Daniel Supernault
9d9e9ce7fa
Update MediaStorageService, improve header parsing 2021-12-04 17:30:05 -07:00
Daniel Supernault
2aa73c1ffa
Update AccountService, add dynamic user settings methods 2021-12-04 17:27:58 -07:00
Daniel Supernault
e5387d6742
Add StatusMentionService, fixes #3026 2021-12-03 20:47:00 -07:00
Daniel Supernault
639e9859ed
Add AutolinkService 2021-11-15 19:33:52 -07:00
Daniel Supernault
4cb956aea2
Update AdminStatsService, add storage() method 2021-11-10 21:54:50 -07:00
daniel
59d76bb9b3
Merge pull request #2956 from h3xx/fix-psql-grouping
Fix grouping error in PostgreSQL
2021-11-10 21:53:30 -07:00
Daniel Supernault
2ae527c0f3
Update Status model, use AccountService to generate urls instead of loading profile relation 2021-11-03 23:29:12 -06:00
Daniel Supernault
192553ff77
Update public timeline api, add experimental cache 2021-10-21 19:02:15 -06:00
Dan Church
b167873632
Fix grouping error in PostgreSQL 2021-10-20 14:11:33 -05:00
Daniel Supernault
37abcf3898
Update public timeline api, use cached sorted set and client side block/mute filtering 2021-10-20 04:31:07 -06:00
Daniel Supernault
66f04bec25
Update InstanceService 2021-10-19 19:51:14 -06:00
Daniel Supernault
e5454620e6
Update HomeTimeline api 2021-10-07 04:49:33 -06:00
Daniel Supernault
80d9b9399a
Refactor following & relationship logic. Replace FollowerObserver with FollowerService and added RelationshipService to cache results. Removed NotificationTransformer includes and replaced with cached services to improve performance and reduce database queries. 2021-10-07 03:27:13 -06:00
Daniel Supernault
a900de2121
Update HttpSignatures, update instance actor headers. Fixes #2935 2021-09-20 00:21:16 -06:00
Daniel Supernault
4a609dc377
Update NotificationService, fix 500 bug 2021-09-19 23:05:56 -06:00
Daniel Supernault
0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 2021-09-07 21:07:20 -06:00
Daniel Supernault
9e630851a3
Update AccountService, fix status bug 2021-09-04 21:12:44 -06:00
Daniel Supernault
6ae1ba0a64
Update StoryService, fix division by zero bug 2021-09-04 17:55:58 -06:00
Daniel Supernault
0d8d6bc71e
Update FollowerService 2021-09-03 20:51:56 -06:00
Daniel Supernault
6b0b2cfaa5
Update StoryService 2021-09-03 20:51:26 -06:00
Daniel Supernault
b32f4d91c4
Update Snowflake service 2021-09-03 20:51:05 -06:00
Daniel Supernault
da6943daed
Add InstancePipeline and NodeinfoService 2021-09-03 20:45:56 -06:00
Daniel Supernault
e5aea490b1
Refactor snowflake id generation to improve randomness 2021-09-01 22:46:57 -06:00
Daniel Supernault
0e13ab074c
Update SnowflakeService 2021-09-01 01:17:37 -06:00
Daniel Supernault
ef8e38298f
Update StatusService 2021-08-31 00:40:07 -06:00
Daniel Supernault
f9194df332
Update PollService 2021-08-31 00:39:32 -06:00
Daniel Supernault
2d93bc8b51
Update NotificationService 2021-08-31 00:39:03 -06:00
Daniel Supernault
07bc5d5c83
Update MediaStorageService 2021-08-31 00:38:43 -06:00
Daniel Supernault
450154e5af
Update MediaService 2021-08-31 00:38:27 -06:00
Daniel Supernault
427f9da33e
Update MediaPathService, change story paths 2021-08-31 00:38:07 -06:00
Daniel Supernault
168c19c5b6
Update LikeService 2021-08-31 00:37:40 -06:00
Daniel Supernault
2fb916c22b
Update InstanceService 2021-08-31 00:37:28 -06:00
Daniel Supernault
ad2db4aea7
Update FollowerService 2021-08-31 00:37:02 -06:00
Daniel Supernault
0573213093
Add StoryService 2021-08-31 00:29:17 -06:00
Daniel Supernault
7709220074
Add Polls 2021-08-04 20:29:21 -06:00
Daniel Supernault
acaf630dee
Update StatusService, invalidate profile embed cache on deletion 2021-07-27 00:13:03 -06:00
Daniel Supernault
3f8acb1266
Update AccountService, add syncPostCount method 2021-07-26 23:59:38 -06:00
Daniel Supernault
15c4fdd90c
Update StatusService, add non-public option and improve cache invalidation 2021-07-26 19:02:11 -06:00
Daniel Supernault
ee0028bc57
Update PublicApiController, use account service 2021-07-26 18:47:40 -06:00
Daniel Supernault
22257cc2a7
Update FollowerService, cache audience 2021-07-25 05:56:35 -06:00
Daniel Supernault
14a1367a8f
Federate Media Licenses 2021-07-25 03:17:49 -06:00
Daniel Supernault
09d5198c55
Update StatusTransformers, remove includes and use cached services 2021-07-24 23:10:44 -06:00
Daniel Supernault
728f10d778
Update Timeline.vue, improve followed hashtags 2021-07-16 01:20:21 -06:00
Daniel Supernault
135474ae11
Update DiscoverController, use UserFilterService on trendingApi 2021-07-15 20:48:39 -06:00
Daniel Supernault
c8824d1b51
Update FollowerService 2021-07-11 07:43:29 -06:00
Daniel Supernault
9650b668e9
Update PublicApiController, fix public timeline filtering 2021-07-08 17:33:51 -06:00
Daniel Supernault
08467d52d5
Update PublicTimelineService 2021-07-07 01:58:39 -06:00
Daniel Supernault
d43e6d8d07
Update NotificationService, use zrevrangebyscore for api 2021-07-06 20:10:42 -06:00
Daniel Supernault
918016a5ad
Update PublicTimelineService 2021-07-06 02:01:24 -06:00
Daniel Supernault
51a277e1ae
Update StatusHashtagService, fix null status bug 2021-07-05 23:40:54 -06:00
Daniel Supernault
447e44e5ac
Update LikeService 2021-07-02 01:31:45 -06:00
Daniel Supernault
117b8410eb
Update PublicTimelineService, skip adds for now 2021-07-02 01:21:21 -06:00
Daniel Supernault
3741c76da3
Update LikeService, skip self likes 2021-06-23 21:26:45 -06:00
Daniel Supernault
68aa25400b
Add Auto Following support for admins 2021-06-10 21:07:35 -06:00
Daniel Supernault
f767d99ad5
Update liked by, fix remote username urls 2021-05-31 22:43:53 -06:00
Daniel Supernault
af71913597
Update AdminStatsService, fix postgres bug 2021-05-25 01:36:13 -06:00
Daniel Supernault
eb7d5a4e36
New admin dashboard layout 2021-05-24 23:24:42 -06:00
Daniel Supernault
29947e157c
Update admin settings 2021-05-19 02:15:37 -06:00
Daniel Supernault
41792eea56
Update config() to config_cache() 2021-05-18 22:45:04 -06:00
Daniel Supernault
c9abd70e8a
Update LikeService, fix authentication bug 2021-05-14 17:15:08 -06:00
Daniel Supernault
4408e2ef8c
Update LikeService, show like count to status owner 2021-05-12 22:18:00 -06:00
Daniel Supernault
d2cb7d4770
Update ConfigCacheService, fix db issue 2021-05-11 23:33:08 -06:00
Daniel Supernault
fabb57a9d5
Add profile pronouns 2021-05-11 23:25:10 -06:00
Daniel Supernault
f2066b7401
Add admin config settings 2021-05-11 22:07:55 -06:00
Daniel Supernault
1d54204635
Update config() to config_cache() 2021-05-10 20:04:13 -06:00
Daniel Supernault
3136f8e137
Add ConfigCacheService 2021-05-07 21:34:58 -06:00
Daniel Supernault
a5e64da69b
Update LikeService, fix likedBy method 2021-05-03 17:55:06 -06:00
Daniel Supernault
477db75896
Add LikeService 2021-05-01 15:51:02 -06:00
Daniel Supernault
391b1287ac
Update ProfileService, use account transformer 2021-05-01 13:35:47 -06:00
Daniel Supernault
c20a9dfefe
Add InstanceService 2021-04-20 23:11:43 -06:00
Daniel Supernault
1769cdfd74
Update MediaStorageService, improve head checks to fix failed jobs 2021-02-17 01:09:39 -07:00
Daniel Supernault
37dbb3de29
Update MediaStorageService, dispatch deletes to MediaDeletePipeline 2021-02-05 21:00:29 -07:00
Daniel Supernault
b299da9311
Update AccountService, cache object and observe changes 2021-02-01 00:47:54 -07:00
Daniel Supernault
b16e9452bc
Update DiscoverController, deprecate unused endpoints 2021-01-30 23:13:54 -07:00
Daniel Supernault
aa4c718d79
Update StatusHashtagService, remove deprecated methods 2021-01-30 16:09:17 -07:00
Daniel Supernault
0355b567dd
Update StatusHashtagService, use StatusService for statuses 2021-01-30 16:07:12 -07:00
Daniel Supernault
6e44ae0b64
Update StatusService, add ttl of 7 days 2021-01-30 16:05:18 -07:00
Daniel Supernault
b7fcf8a504
Update StatusLabelService 2021-01-29 19:46:55 -07:00
Daniel Supernault
4abfe76a49
Update StatusLabelService, change config key 2021-01-28 18:42:15 -07:00
Daniel Supernault
ab888b2e70
Add StatusLabelService 2021-01-27 22:25:14 -07:00
Daniel Supernault
94a9f685b5
Update MediaStorageService, add avatar method 2021-01-25 21:54:30 -07:00
Daniel Supernault
654b08d382
Update ActivityPubFetchService, add url validation 2021-01-25 21:44:07 -07:00
Daniel Supernault
ce6ab80dba
Update MediaStorageService, clear transformer cache after storing media 2021-01-24 21:07:28 -07:00
Daniel Supernault
be6d12fcb6
Update MediaPipeline, handle cloud object storage 2021-01-24 13:30:31 -07:00
Daniel Supernault
234f72f3aa
Update ImageOptimizePipeline, add skip_optimize and MediaStorageService support 2021-01-17 21:59:34 -07:00
Daniel Supernault
aac4430970
Update MediaPathService, add story method 2021-01-17 21:46:40 -07:00
Daniel Supernault
b00e2b0868
Update EmailService 2021-01-17 15:33:56 -07:00
Daniel Supernault
3ee1215a4a
Add signed GET for secure mode compatibility 2021-01-17 12:51:07 -07:00
Daniel Supernault
c0076ab035
Add snowflake id service 2021-01-12 21:50:45 -07:00
Daniel Supernault
0fbde91e87
Update StatusService, cast response to array 2020-12-27 17:54:55 -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
1ea2db74b2
Update StatusService, fix json bug 2020-12-13 16:08:59 -07:00
Daniel Supernault
1b41d66446
Update EmailService, make case insensitive 2020-11-21 20:47:13 -07:00
Daniel Supernault
5d0a24a779
Add MediaBlocklistService 2020-07-26 22:14:57 -06:00
Daniel Supernault
c945263994
Update Tag People, allow untagging yourself 2020-07-24 19:49:49 -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
Daniel Supernault
a327f5c167
Add HashidService 2020-07-18 17:53:40 -06:00
Daniel Supernault
af87bf5038
Update APFetchService 2020-07-14 17:12:37 -06:00
Daniel Supernault
524c6d4558
Add MediaTagService 2020-07-14 17:08:47 -06:00
Daniel Supernault
c54b29c559
Added MediaPathService 2020-07-12 21:25:11 -06:00
Daniel Supernault
a0c0c84d3d
Update SearchApiV2Service, fix offset bug fixes #2116 2020-05-15 21:05:41 -06:00
Daniel Supernault
8763bfc5c4
Add ActivityPubFetchService for signed GET requests 2020-04-26 23:43:54 -06:00
Daniel Supernault
8b9faf3179
Update WebfingerService, cache lookup 2020-03-16 22:40:03 -06:00
Shlee
cae0a52e89
Update FollowerService.php 2020-02-22 19:11:46 +08:00
Daniel Supernault
51642fc40d
Add modlog notifications 2020-02-21 21:00:00 -07:00
Daniel Supernault
810dc2190f
Add ModLogService 2020-02-19 19:38:40 -07:00
Daniel Supernault
e0ab73c102
CS fix 2020-02-11 21:41:54 -07:00
Daniel Supernault
c66d120cb7
Update SearchApiV2Service, order statuses by timestamp 2020-02-07 01:33:03 -07:00
Daniel Supernault
d3cd0eea11
Update SearchApiV2Service 2020-02-07 01:28:13 -07:00
Daniel Supernault
4573fd850f
Update SearchApiV2Service 2020-02-07 01:27:05 -07:00
Daniel Supernault
1dac65fc10
Update SearchApiV2Service 2020-02-07 00:26:45 -07:00
Daniel Supernault
efa8b35877
Update SearchApiV2Service 2020-02-06 17:21:54 -07:00
Daniel Supernault
6cf89e7346
Add SearchApiV2Service 2020-02-06 17:12:20 -07:00
Daniel Supernault
eaece0ac1a
Update WebfingerService 2020-02-06 17:11:59 -07:00
Daniel Supernault
c47fbe2d66
Add WebfingerService 2020-02-06 01:40:12 -07:00
Daniel Supernault
764ab76e90
Add AP Delivery Service 2020-02-01 11:41:19 -07:00
Daniel Supernault
41abe9d261
Update AdminController 2020-01-22 22:15:11 -07:00
Daniel Supernault
c369882b48
Update Redis namespace 2019-12-10 23:04:03 -07:00
Daniel Supernault
96a6c063f2
Update FollowerService 2019-12-04 19:47:00 -07:00
Daniel Supernault
eb478ccf76
Update AccountService, fixes #1834 2019-11-27 19:20:41 -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
723d3562be
Update EmailService, fixes #1790 2019-10-18 19:31:25 -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
fe736f2b44
Update StatusHashtagService, fix count bug 2019-09-10 22:03:45 -06:00
Daniel Supernault
56a1690241
Update EmailService, add new spam domains 2019-09-09 15:36:08 -06:00
Daniel Supernault
50d4c05f60
Add UserFilterService 2019-09-03 19:29:25 -06:00
Daniel Supernault
e6f5940209
Update EmailService 2019-08-18 19:33:30 -06:00
Daniel Supernault
ae234b9846
Update command 2019-08-09 13:56:00 -06:00
Daniel Supernault
b885cccd6b
Update Auth controller 2019-08-09 13:33:02 -06:00
Daniel Supernault
623e0c9adb
Update StatusHashtagService 2019-07-08 22:40:54 -06:00
Daniel Supernault
46d4d256c5
Update StatusHashtagService, fix delete bug 2019-07-07 23:45:49 -06:00
Daniel Supernault
eab5fceb9f
Update StatusHashtagService 2019-07-04 20:05:28 -06:00
Daniel Supernault
8a47b03a1b
Update StatusHashtagService 2019-07-02 00:34:28 -06:00
Daniel Supernault
914b0e4965
Update StatusHashtagService 2019-07-01 23:13:43 -06:00
Daniel Supernault
468a4203ca
Add StatusHashtagService 2019-06-30 22:27:27 -06:00
Daniel Supernault
734e89259b
Add PublicTimelineService 2019-06-10 20:11:52 -06:00
Daniel Supernault
425ec918ae
Add StatusService 2019-06-10 20:10:57 -06:00
Daniel Supernault
339a0a3882
Update NotificationService 2019-06-05 01:18:09 -06:00
Daniel Supernault
d09b00a70f
Update NotificationService 2019-05-26 23:05:29 -06:00
Daniel Supernault
519c05de32
Update NotificationService 2019-05-20 21:32:35 -06:00
Daniel Supernault
b7a7368c62
Update SuggestionService 2019-05-12 22:19:44 -06:00
Daniel Supernault
b3a9587756
Add NotificationService 2019-04-30 22:40:15 -06:00
Daniel Supernault
c7d97bb864
Update SuggestionService 2019-04-28 21:04:42 -06:00
Daniel Supernault
ef4a22949c
Update SuggestionService 2019-04-28 17:43:55 -06:00
Daniel Supernault
c680c52060
Update SuggestionService 2019-04-28 17:03:35 -06:00
Daniel Supernault
f0ce2a4335
Add SuggestionService 2019-04-28 16:38:23 -06:00
Daniel Supernault
e45a3c4b93
Add FollowerService 2019-02-14 14:24:34 -07:00
Daniel Supernault
896012bcaa
Add ProfileService 2019-02-14 14:23:33 -07:00