Commit graph

1159 commits

Author SHA1 Message Date
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
3d2c98c033
Merge pull request #2941 from rfonseca/rfonseca-patch-1
Fix starting check of username to allow numbers.
2021-10-19 20:45:55 -06:00
Daniel Supernault
e5454620e6
Update HomeTimeline api 2021-10-07 04:49:33 -06:00
Daniel Supernault
bef959f451
Update PublicApiController, use AccountService in accountStatuses method 2021-10-07 03:30:23 -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
0a8eb81bf0
Update InstanceActorController, improve json seralization by not escaping slashes 2021-10-07 00:46:20 -06:00
Daniel Supernault
4505d1f0f9
Update FederationController, move well-known to api middleware and cache webfinger lookups 2021-10-07 00:34:37 -06:00
Rodrigo Fonseca
31330e0aed
Fix starting check of username to allow numbers.
The check for the first letter of username used to be !ctype_alpha, but the error message says "Must start with a letter or number." Updated check to be !ctype_alnum, to be coherent with the error message.
2021-09-16 22:36:30 -07:00
Daniel Supernault
ac6b3f07de
Update controllers, fixes #2906 2021-09-10 21:44:29 -06:00
Daniel Supernault
0fc3a1d6a5
Formatting 2021-09-10 21:08:04 -06:00
daniel
907945a7a0
Merge pull request #2923 from Wv5twkFEKh54vo4tta9yu7dHa3/patch-1
Fix media upload
2021-09-10 20:55:55 -06:00
Wv5twkFEKh54vo4tta9yu7dHa3
13f65629e1 Fix error 500 on image upload
Without this missing import, the server threw "Class 'App\Http\Controllers\Api\UserSetting' not found" when trying to upload images.
2021-09-09 15:03:00 +02:00
Daniel Supernault
0584f9ee95
Update ApiV1Controller, fix empty public timeline bug 2021-09-07 21:07:20 -06:00
Daniel Supernault
00c32360ae
Update StoryController, fix postgres bug. Fixes #2904 2021-09-06 01:41:24 -06:00
Daniel Supernault
0f00be4d98
Update DirectMessageController, fix autocomplete bug 2021-09-04 03:22:05 -06:00
Daniel Supernault
7dee8f58fe
Update StoryComposeController, fix expiry bug 2021-09-04 01:55:29 -06:00
Daniel Supernault
dd7262d841
Update StoryController, add StoryComposeController 2021-09-03 22:08:15 -06:00
Daniel Supernault
1c59933c0a
Update ProfileController 2021-08-31 00:35:29 -06:00
Daniel Supernault
a4a1270e70
Add Stories to admin dashboard 2021-08-31 00:33:04 -06:00
Daniel Supernault
fee2857deb
Update ComposeController 2021-08-31 00:22:08 -06:00
Daniel Supernault
7709220074
Add Polls 2021-08-04 20:29:21 -06:00
Daniel Supernault
3f8acb1266
Update AccountService, add syncPostCount method 2021-07-26 23:59:38 -06:00
Daniel Supernault
e9ef0c887a
Add Archive Posts 2021-07-26 22:49:46 -06:00
Daniel Supernault
ee0028bc57
Update PublicApiController, use account service 2021-07-26 18:47:40 -06:00
Daniel Supernault
c4146a3040
Update RemoteProfile component, add follower modals 2021-07-25 05:06:38 -06:00
Daniel Supernault
f3d6023ef8
Update LikeController, improve query perf 2021-07-25 03:19:48 -06:00
Daniel Supernault
f9516ac316
Update ApiControllers, use NotificationService 2021-07-25 02:12:30 -06:00
Daniel Supernault
bce8edd994
Update PublicApiController, improve accountStatuses api perf 2021-07-25 01:39:03 -06:00
Daniel Supernault
2a791f1991
Update ApiV1Controller, add default license support 2021-07-24 22:20:05 -06:00
Daniel Supernault
ea0fc90c92
Add default licenses and license sync 2021-07-24 22:13:14 -06:00
Daniel Supernault
072d55d1a8
Update Compose Apis, make media descriptions/alt text length limit configurable. Default length: 1000 2021-07-24 21:15:15 -06:00
Daniel Supernault
67e3f6048f
Update Settings, add default license and enforced media descriptions 2021-07-23 09:47:14 -06:00
Daniel Supernault
8ac8fcad3f
Update LikeController, add UndoLikePipeline and federate Undo Like activities 2021-07-21 03:41:28 -06:00
Daniel Supernault
f39f32c866
Update ApiController, fix notification bug 2021-07-21 02:16:20 -06:00
Daniel Supernault
0153ed6d64
Update Timeline, make text-only posts opt-in by default 2021-07-21 02:00:57 -06:00
Daniel Supernault
08f492bd3d
Update PublicApiController, remove text only posts 2021-07-21 01:19:53 -06:00
Daniel Supernault
86219b57fc
Update PublicApiController, filter out text replies on home timeline 2021-07-21 01:03:43 -06:00
Daniel Supernault
9f4f983f27
Update ap helpers, set text type when appropriate 2021-07-20 22:17:31 -06:00
Daniel Supernault
ca6e491c83
Update PublicApiController, use fUserFilterService in public timeline endpoint 2021-07-15 22:39:40 -06:00
Daniel Supernault
135474ae11
Update DiscoverController, use UserFilterService on trendingApi 2021-07-15 20:48:39 -06:00
Daniel Supernault
7f4213924f
Update job queue, separate deletes into their own queue 2021-07-13 23:09:50 -06:00
Daniel Supernault
c8824d1b51
Update FollowerService 2021-07-11 07:43:29 -06:00
Daniel Supernault
26b9c1401c
Update ActivityPub helpers, fix comment threading in statusFetch() method 2021-07-08 21:30:59 -06:00
Daniel Supernault
9650b668e9
Update PublicApiController, fix public timeline filtering 2021-07-08 17:33:51 -06:00
Daniel Supernault
4fe42e5b57
Update PublicApiController, improve home timeline perf 2021-07-07 01:06:20 -06:00
Daniel Supernault
9017f7c4e1
Update Profile, fix unauthenticated private profiles 2021-07-07 00:40:01 -06:00
Daniel Supernault
f2686cacd2
Update AdminMediaController, improve perf and use simple pagination 2021-07-06 23:36:25 -06:00
Daniel Supernault
352aa57346
Update ApiV1Controller, use ProfileService for verify_credentials 2021-07-06 20:43:24 -06:00
Daniel Supernault
f67c67bce1
Update ApiV1Controller, use PublicTimelineService 2021-07-06 20:29:52 -06:00
Daniel Supernault
d43e6d8d07
Update NotificationService, use zrevrangebyscore for api 2021-07-06 20:10:42 -06:00
Daniel Supernault
f215ee26b3
Update moderator api, expire cached status 2021-07-05 23:00:59 -06:00
Daniel Supernault
78529cb1f8
Update PublicApiController 2021-07-02 03:05:33 -06:00
Daniel Supernault
82895591c3
Update PublicApiController, add LikeService to Network timeline 2021-07-02 01:34:35 -06:00
Daniel Supernault
64725ecce7
Add diagnostics to error page and admin dashboard 2021-07-01 21:46:45 -06:00
Daniel Supernault
9ac8bbde91
Update ApiController, fix hashtag endpoint 2021-06-30 17:10:33 -06:00
Daniel Supernault
6d956a86f4
Add mark as spammer mod tool, unlists and applies content warning to existing and future posts 2021-06-29 02:14:22 -06:00
Daniel Supernault
7b9e0eefd3
Update InternalApiController formatting 2021-06-29 01:46:04 -06:00
Daniel Supernault
e5f683fda4
Update PublicApiController, improve network timeline perf 2021-06-29 01:23:24 -06:00
Daniel Supernault
c8e40e0fd3
Update SharePipeline, add Undo->Announce support 2021-06-28 22:37:38 -06:00
Daniel Supernault
f1208de0ef
Update ApiController, fix nulls in hashtag endpoint 2021-06-28 21:01:45 -06:00
Daniel Supernault
d48ebb829c
Update StatusController, improve share api perf (11s to 72ms) 2021-06-28 20:19:57 -06:00
Daniel Supernault
c8c6b98380
Update like api, store status_profile_id and is_comment 2021-06-18 02:57:08 -06:00
Daniel Supernault
f37952d6cf
Update verify email screen, add contact admin link 2021-06-13 00:37:54 -06:00
Daniel Supernault
39e57f9506
Update StoryController, fix expiration time bug 2021-06-12 20:00:59 -06:00
Daniel Supernault
93c7af7464
Update routes, add legacy webfinger profile redirect 2021-06-11 00:03:41 -06:00
Daniel Supernault
8ee104363a
Update Profile, add linkified bio, joined date, follows you label and improved website handling 2021-06-10 22:54:31 -06:00
Daniel Supernault
68aa25400b
Add Auto Following support for admins 2021-06-10 21:07:35 -06:00
Daniel Supernault
069a0e4ae1
Add WebP support 2021-06-08 03:22:01 -06:00
Daniel Supernault
2d0a253e07
Update DirectMessageController, disable exception logging for invalid urls. Fixes #2752 2021-06-01 21:18:02 -06:00
Daniel Supernault
1e230e80fb
Update PublicApiController, add recent feed support to home timeline 2021-06-01 20:03:59 -06:00
Daniel Supernault
f3bf2fd41e
Update StatusController, add cache invalidation for timeline cursor 2021-06-01 19:51:22 -06:00
Daniel Supernault
7cbd6bc36d
Update StatusController, use transactions for status views 2021-05-31 23:54:20 -06:00
Daniel Supernault
f767d99ad5
Update liked by, fix remote username urls 2021-05-31 22:43:53 -06:00
Daniel Supernault
3c1e1f7e87
Update PublicApiController, fix likes bug 2021-05-31 21:49:44 -06:00
Daniel Supernault
c8e43c6094
Update api, remove auth requirement for hashtag timeline 2021-05-26 20:11:25 -06:00
Daniel Supernault
3de44f3392
Update Timeline.vue, batch api views 2021-05-24 00:37:52 -06:00
Daniel Supernault
92dc7af69b
Update landing and about page 2021-05-23 23:09:26 -06:00
Daniel Supernault
061b145b54
Update ComposeController, bail on empty attachments 2021-05-20 20:26:26 -06:00
Daniel Supernault
29947e157c
Update admin settings 2021-05-19 02:15:37 -06:00
Daniel Supernault
24e77f647d
Update admin settings 2021-05-19 02:01:33 -06:00
Daniel Supernault
41792eea56
Update config() to config_cache() 2021-05-18 22:45:04 -06:00
Daniel Supernault
241ae0368f
Add hashtag timeline to v1 api 2021-05-18 19:46:26 -06:00
Daniel Supernault
955696b8a0
Update site config, fix boolean casting 2021-05-18 17:53:59 -06:00
Daniel Supernault
a4efbb75d8
Update admin settings, add rules 2021-05-13 23:45:36 -06:00
Daniel Supernault
fabb57a9d5
Add profile pronouns 2021-05-11 23:25:10 -06:00
Daniel Supernault
8a73643277
Update PublicApiController, increase public timeline to 6 months from 3 2021-05-11 22:12:10 -06:00
Daniel Supernault
f2066b7401
Add admin config settings 2021-05-11 22:07:55 -06:00
Daniel Supernault
7895097fc1
Update config() to config_cache() 2021-05-11 20:14:51 -06:00
Daniel Supernault
3a9203e039
Update config() to config_cache() 2021-05-11 20:03:29 -06:00
Daniel Supernault
f4fc8347c9
Update config() to config_cache() 2021-05-11 19:59:24 -06:00
Daniel Supernault
c65d03788b
Update config() to config_cache() 2021-05-11 19:07:03 -06:00
Daniel Supernault
1c2baa8f2c
Update config() to config_cache() 2021-05-11 18:30:32 -06:00
Daniel Supernault
3e52458889
Update config() to config_cache() 2021-05-11 18:26:52 -06:00
Daniel Supernault
53134208fe
Update config() to config_cache() 2021-05-11 18:17:03 -06:00
Daniel Supernault
27b722e7a7
Update config() to config_cache() 2021-05-10 23:23:09 -06:00
Daniel Supernault
c0e693cc73
Update config() to config_cache() 2021-05-10 21:11:43 -06:00
Daniel Supernault
a9f009305c
Update config() to config_cache() 2021-05-10 21:04:23 -06:00
Daniel Supernault
1d54204635
Update config() to config_cache() 2021-05-10 20:04:13 -06:00
Daniel Supernault
35b92fd7c9
Update admin settings 2021-05-07 22:19:58 -06:00
Daniel Supernault
61254b907f
Update site name config 2021-05-07 21:47:51 -06:00