Commit Graph

262 Commits

Author SHA1 Message Date
Daniel Supernault 734b30e59a
Fix NotificationService bug returning html response on /api/v1/notifications endpoint when a notification id belonging to a deleted account is rendered by checking AccountService before NotificationTransformer. 2022-07-21 20:12:07 -06:00
Daniel Supernault f51ffa7eab
Update LiveStreamController, clear chat after stream ends 2022-06-26 19:37:05 -06:00
Daniel Supernault 44f4a9edd9
Improve CollectionService cache invalidation, fixes #3548 2022-06-18 23:47:16 -06:00
Daniel Supernault 1310d95cdb
Add NetworkTimelineService cache 2022-06-09 04:15:23 -06:00
Daniel Supernault 9c17def4a0
Update UserFilterService, improve cache strategy by using in-memory state via UserFilterObserver for empty lists with a ttl of 90 days. 2022-06-09 04:09:05 -06:00
Daniel Supernault 4ecbd7cbe4
Update FollowerService 2022-06-05 02:35:14 -06:00
Daniel Supernault 5206f21f59
Add Live Stories/Live streaming 2022-05-26 01:59:54 -06:00
noellabo 2093d1b33b Change ISO-8601 to RFC 3339 EXTENDED 2022-05-21 05:14:22 +09:00
Shlee e36be67c70 unwanted semicolons 2022-05-14 19:12:07 +09:30
Daniel Supernault 8f9d36bd3d
Cleanup, fixes #3440 2022-05-14 00:36:52 -06:00
Daniel Supernault 153eb6ba4c
Update HashtagService, use sorted set for followed tags 2022-05-09 02:01:33 -06:00
noellabo 74cc41d4fa Add Content-Type and User-Agent for activity delivery 2022-05-03 01:58:20 +09:00
Daniel Supernault cc6b78c436
Update StatusService 2022-04-18 01:59:27 -06:00
Daniel Supernault 488561c270
Update ConfigCacheService, fail to fallback earlier 2022-04-09 22:33:14 -06:00
daniel a5114bf35a
Merge pull request #3348 from shadowfacts/emoji-schema
Change static_path on custom emojis to static_url
2022-04-01 17:21:22 -06:00
Shadowfacts 0a7f8fd142
Change static_path on custom emojis to static_url 2022-04-01 18:40:13 -04:00
Daniel Supernault d8ff40ebf9
Update DiscoverController, improve tag feed perf 2022-03-31 01:31:03 -06:00
Daniel Supernault 93a9769e47
Update ApiV1Controller, add markers endpoint 2022-03-24 23:37:19 -06:00
Daniel Supernault 9dac861ebe
Update ApiV1Controller, fix search v2 entities 2022-03-23 05:58:14 -06:00
Daniel Supernault afe903c36e
Update ApiV1Controller, fix notification entities 2022-03-23 00:28:39 -06:00
Daniel Supernault 74018e9c4e
Update search service, fix banned instance edge case 2022-03-16 22:38:42 -06:00
Daniel Supernault 72918a4b09
Update InstanceService, define cache keys 2022-03-12 23:32:31 -07:00
Daniel Supernault 281443d7fe
Update SearchApiV2Service, filter banned instances 2022-03-12 23:15:47 -07:00
Daniel Supernault d48674154a
Update ReblogService 2022-03-11 00:00:47 -07:00
Daniel Supernault 4482482e2a
Update ReblogService 2022-03-10 23:58:47 -07:00
Daniel Supernault ebe9c54dae
Update ReblogService 2022-03-10 23:55:32 -07:00
Daniel Supernault 3ef6c9fe81
Improve reblog api performance 2022-03-10 23:34:34 -07:00
daniel 018f7e10a3
Merge pull request #3294 from rm-yakovenko/issues/3288
Fix: Undefined index: replies_count
2022-03-08 21:05:48 -07:00
Daniel Supernault aba0c97cee
Add CollectionService 2022-03-08 20:56:08 -07:00
Rm Yakovenko 72da667305 #3288 Fix: Undefined index: replies_count
https://github.com/pixelfed/pixelfed/issues/3288
2022-03-07 09:21:05 +02:00
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