Commit graph

2210 commits

Author SHA1 Message Date
daniel
a53692f6bf
Merge pull request #2957 from h3xx/fix-memory-limit
Fix global memory limit set in constructor
2021-10-19 20:49:15 -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
66f04bec25
Update InstanceService 2021-10-19 19:51:14 -06:00
Daniel Supernault
7a9a06e0fd
Update NotificationTransformer 2021-10-19 19:49:44 -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
Dan Church
c685e3e9f4
Fix global memory limit set in constructor
Instead, set it when running.

Having the set in the constructor was causing memory_limit to be changed
for "artisan queue:work" processes.
2021-09-27 15:09:00 -05:00
Daniel Supernault
7b3e672d89
Update NoteTransformer, fix tag array 2021-09-22 20:04:23 -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
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
32995064ec
Update Profile model 2021-09-06 00:29:06 -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
0f00be4d98
Update DirectMessageController, fix autocomplete bug 2021-09-04 03:22:05 -06:00
Daniel Supernault
ee9f079551
Update Profile, fix following count bug 2021-09-04 03:17:54 -06:00
Daniel Supernault
d32d05eed0
Update story gc 2021-09-04 01:59:50 -06:00
Daniel Supernault
7dee8f58fe
Update StoryComposeController, fix expiry bug 2021-09-04 01:55:29 -06:00
Daniel Supernault
1f45580f18
Update AP Inbox 2021-09-04 00:11:20 -06:00
Daniel Supernault
e73cf531cb
Update InstanceCrawlPipeline, remove unused variable 2021-09-03 23:00:30 -06:00
Daniel Supernault
588384543b
Update Story model, use immutable datetime 2021-09-03 22:46:06 -06:00
Daniel Supernault
dd7262d841
Update StoryController, add StoryComposeController 2021-09-03 22:08:15 -06:00
Daniel Supernault
d0bfefe8d0
Update Media model 2021-09-03 21:25:19 -06:00
Daniel Supernault
d7b6edc018
Update NotificationTransformer 2021-09-03 21:23:43 -06:00
Daniel Supernault
3c8c23a143
Update AP Inbox 2021-09-03 21:21:17 -06:00
Daniel Supernault
c7a5715a60
Add StoryPipeline jobs 2021-09-03 21:18:33 -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
f808b7b19d
Story transformers 2021-09-03 20:50:38 -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
e95b702e23
Add activitypub story validator 2021-09-01 03:34:41 -06:00
Daniel Supernault
e90637098a
Add Bearcap util 2021-09-01 01:21:47 -06:00
Daniel Supernault
0e13ab074c
Update SnowflakeService 2021-09-01 01:17:37 -06:00
Daniel Supernault
ca5d964f5f
Update Profile model 2021-08-31 00:42:14 -06:00
Daniel Supernault
e1a3e26644
Update Story model 2021-08-31 00:41:43 -06:00
Daniel Supernault
2593cdeed9
Update Status model, add poll relation and allow up to 2 urls to autolink 2021-08-31 00:40:41 -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
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
0573213093
Add StoryService 2021-08-31 00:29:17 -06:00
Daniel Supernault
a0da80bc70
Update media gc command 2021-08-31 00:24:20 -06:00
Daniel Supernault
fee2857deb
Update ComposeController 2021-08-31 00:22:08 -06:00
Daniel Supernault
e1277d4081
Update StatusStatelessTransformer, cast snowflake ids as strings 2021-08-27 20:37:00 -06:00
Daniel Supernault
7709220074
Add Polls 2021-08-04 20:29:21 -06:00
Daniel Supernault
5916f8c76a
Update Profile model, fix getAudienceInbox method 2021-08-04 00:00:50 -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
e9ef0c887a
Add Archive Posts 2021-07-26 22:49:46 -06:00
Daniel Supernault
6e45021fc2
Update StatusTransformer, prioritize scope over deprecated visibility attribute 2021-07-26 22:21:03 -06:00
Daniel Supernault
bc3add0525
Update ContactAdmin mail, set New Support Message subject 2021-07-26 19:23:55 -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
38e5fc43eb
Add FollowObserver 2021-07-25 05:46:42 -06:00
Daniel Supernault
c4146a3040
Update RemoteProfile component, add follower modals 2021-07-25 05:06:38 -06:00
Daniel Supernault
f6131ed764
Update License util, add nameToId method 2021-07-25 03:29:22 -06:00
Daniel Supernault
f3d6023ef8
Update LikeController, improve query perf 2021-07-25 03:19:48 -06:00
Daniel Supernault
14a1367a8f
Federate Media Licenses 2021-07-25 03:17:49 -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
c1f14f89f6
Update FollowPipeline, fix cache invalidation bug 2021-07-25 01:36:57 -06:00
Daniel Supernault
7c6cff3103
Update StatusTransformer 2021-07-24 23:24:56 -06:00
Daniel Supernault
1054b025b1
Update StatusTransformer 2021-07-24 23:16:01 -06:00
Daniel Supernault
09d5198c55
Update StatusTransformers, remove includes and use cached services 2021-07-24 23:10:44 -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
728f10d778
Update Timeline.vue, improve followed hashtags 2021-07-16 01:20:21 -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
57e0a741ab
Add FanoutDeletePipeline 2021-07-09 02:07:14 -06:00
Daniel Supernault
26b9c1401c
Update ActivityPub helpers, fix comment threading in statusFetch() method 2021-07-08 21:30:59 -06:00