Commit graph

459 commits

Author SHA1 Message Date
daniel
c43f9ab7a4
Update app/Util/Media/Image.php
Co-authored-by: Daniel Mason <daniel@m2.nz>
2022-01-05 18:36:02 -07:00
Jonathan
27b715cb35
Avoid upscaling small images 2022-01-03 17:46:10 -05:00
Daniel Supernault
b4bd0400c2
Store remote avatars locally if S3 not enabled 2022-01-02 21:30:02 -07:00
Daniel Supernault
ff7ee3bd62
Update Webfinger, fixes #3050 2021-12-26 04:58:19 -07:00
Daniel Supernault
469d49d832
Update site config, increase ttl and enable SPA by default 2021-12-26 03:46:15 -07:00
Daniel Supernault
19d140b020
Update FollowerService 2021-12-04 17:37:44 -07:00
Daniel Supernault
ed62a09f9a
Update lexer utils 2021-11-15 19:35:10 -07:00
Daniel Supernault
0107e8fd68
Update Localization util, filter out .DS_Store 2021-10-30 00:56:48 -06:00
Daniel Supernault
f0d4c17236
Update Autospam service, use silent classification for better user experience 2021-10-19 23:13:12 -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
4505d1f0f9
Update FederationController, move well-known to api middleware and cache webfinger lookups 2021-10-07 00:34:37 -06:00
Daniel Supernault
a900de2121
Update HttpSignatures, update instance actor headers. Fixes #2935 2021-09-20 00:21:16 -06:00
Daniel Supernault
1f45580f18
Update AP Inbox 2021-09-04 00:11:20 -06:00
Daniel Supernault
3c8c23a143
Update AP Inbox 2021-09-03 21:21:17 -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
7709220074
Add Polls 2021-08-04 20:29:21 -06:00
Daniel Supernault
f6131ed764
Update License util, add nameToId method 2021-07-25 03:29:22 -06:00
Daniel Supernault
14a1367a8f
Federate Media Licenses 2021-07-25 03:17:49 -06:00
Daniel Supernault
9f4f983f27
Update ap helpers, set text type when appropriate 2021-07-20 22:17:31 -06:00
Daniel Supernault
26b9c1401c
Update ActivityPub helpers, fix comment threading in statusFetch() method 2021-07-08 21:30:59 -06:00
Daniel Supernault
cc47243733
Update Inbox 2021-06-23 21:21:33 -06:00
Daniel Supernault
929ff5eb01
Update Inbox, fix tombstone bug 2021-06-23 19:57:39 -06:00
Daniel Supernault
ef63124d88
Update Inbox, delete notifications on tombstone 2021-06-18 05:24:26 -06:00
Daniel Supernault
8edd829436
Update AP Helpers, generate notification for remote replies 2021-06-18 02:55:42 -06:00
Daniel Supernault
069a0e4ae1
Add WebP support 2021-06-08 03:22:01 -06:00
Daniel Supernault
20ec870bf9
Update PrettyNumber, fix deprecated warning 2021-06-07 17:18:06 -06:00
Daniel Supernault
84520fe103
Update PrettyNumber, add decimal option 2021-06-01 20:07:07 -06:00
Daniel Supernault
28df9f7e80
Update Inbox, fix reply/comment bug by moving attachment validation to Note with attachments 2021-06-01 20:06:18 -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
955696b8a0
Update site config, fix boolean casting 2021-05-18 17:53:59 -06:00
Daniel Supernault
7895097fc1
Update config() to config_cache() 2021-05-11 20:14:51 -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
61254b907f
Update site name config 2021-05-07 21:47:51 -06:00
Daniel Supernault
22dddaa044
Update Helpers, fix broken tests 2021-04-29 23:39:38 -06:00
Daniel Supernault
66b4f8c773
Update AP Helpers, use instance filtering 2021-04-20 23:18:07 -06:00
Daniel Supernault
e73b2f8373
Update ap helpers 2021-04-20 22:29:52 -06:00
Daniel Supernault
7066e19d0e
Update ap helpers 2021-04-20 22:09:59 -06:00
Daniel Supernault
552e950d7a
New License formats 2021-03-31 22:08:03 -06:00
Daniel Supernault
f3a2b354db
Update bouncer 2021-03-01 02:20:19 -07:00
Daniel Supernault
d200c12cf2
Update Nodeinfo util, use last_active_at for monthly active user count 2021-02-28 23:25:37 -07:00
Daniel Supernault
ddc768871b
Update federation pipeline, add locks 2021-02-16 23:39:39 -07:00
Daniel Supernault
4507d4520c
Update RestrictedNames 2021-02-15 20:23:44 -07:00
Daniel Supernault
37dbb3de29
Update MediaStorageService, dispatch deletes to MediaDeletePipeline 2021-02-05 21:00:29 -07:00
Daniel Supernault
2d11317ceb
Update webfinger util, fail on invalid webfinger url 2021-02-03 20:55:49 -07:00
Daniel Supernault
3419379aa8
Update AP helpers, fix statusFetch 404s 2021-01-30 18:41:51 -07:00
Daniel Supernault
240e36ed45
Update AP helpers 2021-01-30 18:14:04 -07:00
Daniel Supernault
38a37c15af
Update Blurhash util, add default hash for invalid media 2021-01-30 17:28:35 -07:00
Daniel Supernault
4f40f6f5a1
Update RemotAvatarFetch, only dispatch jobs if cloud storage is enabled 2021-01-30 09:47:02 -07:00
Daniel Supernault
fa0df4004c
Update AP Helpers 2021-01-28 21:26:45 -07:00
Daniel Supernault
abe9cb3db0
Update site config, add labels to config 2021-01-28 18:40:13 -07:00
Daniel Supernault
de8828e88a
Update AP Helpers, add blurhash and RemoteAvatarFetch 2021-01-25 22:24:24 -07:00
Daniel Supernault
1031311f06
Update RestrictedNames, add additional static assets 2021-01-25 17:48:03 -07:00
Daniel Supernault
77f21b4b33
Update AP helpers, only run MediaStoragePipeline if using cloud storage 2021-01-24 21:13:31 -07:00
Daniel Supernault
01a1ffd64a
Update AP Helpers, use MediaStoragePipeline 2021-01-24 13:32:20 -07:00
Daniel Supernault
6d078377f1
Update AdminController 2021-01-23 23:12:05 -07:00
Daniel Supernault
40bd64aae7
Update Image media util, store dimensions of media not thumbnail 2021-01-19 19:36:05 -07:00
Daniel Supernault
3ee1215a4a
Add signed GET for secure mode compatibility 2021-01-17 12:51:07 -07:00
Daniel Supernault
844ae6224a
Add InstanceActor generate command 2021-01-17 01:43:57 -07:00
Daniel Supernault
fa6ecd8df1
Add migration 2021-01-17 01:36:03 -07:00
Daniel Supernault
2d540919cb
Update AP Helpers 2021-01-07 20:52:50 -07:00
Daniel Supernault
4f3107ca23
Update AP helpers 2021-01-07 14:11:09 -07:00
Daniel Supernault
1f672ecfb8
Update Helpers, cache profiles 2021-01-07 00:25:45 -07:00
Daniel Supernault
a52564f31d
Update AP helpers, fix federation bug 2021-01-06 20:34:55 -07:00
Daniel Supernault
f70826e18c
Update status model, use scope over deprecated visibility attribute 2020-12-27 18:00:43 -07:00
Daniel Supernault
888ea7f07e
Update ap inbox 2020-12-18 02:58:00 -07:00
Daniel Supernault
5ac1746aff
Update bouncer 2020-12-17 17:47:56 -07:00
Daniel Supernault
7d818197bb
Update antispam bouncer, change recent from 1 week to 3 months 2020-12-15 01:03:19 -07:00
Daniel Supernault
f6528c8470
Update avatars, use jpeg default 2020-12-14 23:54:22 -07:00
Daniel Supernault
4a14e970f0
Update Profile model, improve counter caching 2020-12-10 22:58:13 -07:00
Daniel Supernault
b892bcf0e8
Add autospam feature 2020-12-10 21:58:56 -07:00
Daniel Supernault
048642bead
Update Collections, add custom limit 2020-12-10 01:02:56 -07:00
Daniel Supernault
473e049528
Update media pipeline, add blurhash support 2020-12-05 00:18:34 -07:00
Daniel Supernault
9404a36c66
Add Blurhash util 2020-12-05 00:17:45 -07:00
Daniel Supernault
fad102bf80
Add Blurhash encoder 2020-12-05 00:16:27 -07:00
Daniel Supernault
bfe2341575
Update AP Helpers 2020-11-26 00:50:46 -07:00
Daniel Supernault
4733ca9fb9
Add shared inbox 2020-11-26 00:39:01 -07:00
Daniel Supernault
72a1a1ea19
Update AP Inbox, fix url parser 2020-11-18 19:54:09 -07:00
Daniel Supernault
fa8fbb7e86
Update Status model 2020-11-18 19:19:07 -07:00
Daniel Supernault
f15b8f8f5a
Update AP Inbox 2020-11-18 19:13:34 -07:00
Daniel Supernault
86765001e6
Update AP Inbox 2020-11-18 19:08:21 -07:00
Daniel Supernault
11a616b67d
Update AP Inbox 2020-11-18 15:29:54 -07:00
Daniel Supernault
8444d2dc50
Update AP Inbox 2020-11-18 15:23:11 -07:00
Daniel Supernault
20749d7c3c
Update AP Inbox 2020-11-18 15:05:34 -07:00
Daniel Supernault
1bbd613621
Update Inbox, add namespaces 2020-11-18 14:52:44 -07:00
Daniel Supernault
d63569c120
Add Direct Messages 2020-11-18 14:19:02 -07:00
Daniel Supernault
3b7ff030f2
Update RegisterController 2020-08-06 21:32:02 -06:00
Daniel Supernault
ce498e9b67
Update Nickname lexer 2020-07-26 22:09:11 -06:00
Daniel Supernault
c2d194af1d
Update webfinger util, fix bug preventing username with dots 2020-07-26 20:09:45 -06:00
Daniel Supernault
692d3c8d1b
Update AP Helpers 2020-07-20 08:39:48 -06:00
Daniel Supernault
4bee8397e0
Update AP Helpers, update bio + name 2020-06-13 00:21:41 -06:00
Daniel Supernault
5c44354880
Update AP Inbox, remove trailing comma 2020-06-13 00:18:52 -06:00
Daniel Supernault
6e0cb9dca8
Update Entity Extractor, fix broken tests 2020-05-30 20:13:28 -06:00
Daniel Supernault
f10ed49586
Update Entity Extractor 2020-05-28 23:26:22 -06:00
Daniel Supernault
b8819fbbfe
Update AP Inbox, add follow notifications 2020-05-24 03:21:40 -06:00
Daniel Supernault
f12bfb1435
Update RestrictedNames 2020-05-23 23:06:14 -06:00
Daniel Supernault
310b0e58a1
Update Inbox worker 2020-05-21 17:48:05 -06:00
Daniel Supernault
f059d2fdd1
Update Inbox worker 2020-05-21 17:45:31 -06:00
Daniel Supernault
fee25d44e0
Update Inbox handler, remove logger 2020-05-21 16:45:51 -06:00
Daniel Supernault
18f32e7bcf
Update AP helpers 2020-05-21 11:52:18 -06:00
Daniel Supernault
f3ed2462a7
Update Inbox, add more validators 2020-04-29 20:52:48 -06:00
Daniel Supernault
6dbbe14cb8
Update AP Like validator 2020-04-29 20:46:48 -06:00
Daniel Supernault
8f2457bbc8
Update Inbox, only log new activities 2020-04-29 20:28:30 -06:00
Daniel Supernault
802dd326ce
Update AP tests 2020-04-29 20:27:36 -06:00
Daniel Supernault
c39be2464e
Update Inbox 2020-04-29 16:14:34 -06:00
Daniel Supernault
f829df23a0
Update Inbox 2020-04-29 15:56:21 -06:00
Daniel Supernault
d0fefe242b
Update Inbox handler 2020-04-29 15:35:48 -06:00
Daniel Supernault
3063eb249a
Update AP logger 2020-04-29 15:29:10 -06:00
Daniel Supernault
28cbadf197
Update AP Helper 2020-04-29 13:47:03 -06:00
Daniel Supernault
155e960f54
Update AP helpers, update user agent 2020-04-29 13:31:47 -06:00
Daniel Supernault
eed00998be
Update AP Inbox, log activities 2020-04-29 13:27:05 -06:00
Daniel Supernault
9661b7788c
Update AP helpers, remove tombstone support until race condition fixed 2020-04-29 12:55:08 -06:00
Daniel Supernault
c2a51c91a6
Update AP Helper 2020-04-21 23:01:04 -06:00
Daniel Supernault
6afc61a409
Add custom content warnings for remote posts 2020-04-20 22:24:27 -06:00
Daniel Supernault
c84cee5ae0
Update ActivityPub Outbox, fixes #2100 2020-04-11 22:12:28 -06:00
Daniel Supernault
765b6187a9
Update Config util 2020-02-18 00:41:08 -07:00
Daniel Supernault
14ba350ba3
Fix postgres bugs 2020-02-16 23:15:24 -07:00
Daniel Supernault
f911c96d16
Update lexer autolinker and extractor, add support for mentioned usernames containing dashes, periods and underscore characters 2020-02-02 23:20:19 -07:00
Daniel Supernault
f7f16c185e
Update AP Helpers, remove unused function 2020-02-01 21:08:46 -07:00
Daniel Supernault
823bcbc69a
Update AP Helpers 2020-02-01 11:42:24 -07:00
Daniel Supernault
0b7c5d6d37
Update Image Util 2020-01-31 19:53:33 -07:00
Daniel Supernault
51fbfcdcf7
Update RateLimit, add max post edits per hour and day 2020-01-29 22:07:09 -07:00
Daniel Supernault
7355e94723
Update Image Util 2020-01-28 21:31:05 -07:00
Daniel Supernault
6cdd64c669
Add BANNED_USERNAMES env var support to RestrictedNames 2020-01-16 23:07:58 -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
b08b36127c
Update AP Helpers 2019-12-31 22:00:55 -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
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
c369882b48
Update Redis namespace 2019-12-10 23:04:03 -07:00
Daniel Supernault
6d40876ae8
Update Site Config 2019-11-02 21:12:44 -06: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
trwnh
995d604ea0
copy activity id instead of guessing blindly
see #1710
2019-09-24 14:33:29 -05:00
Daniel Supernault
ea37c0ca86
Update ap inbox 2019-09-08 21:55:06 -06:00
Daniel Supernault
b20a2bc9ae
Update AP Helpers 2019-09-08 21:35:45 -06:00
Daniel Supernault
39f4b470b3
Update DiscoverController 2019-09-06 23:25:55 -06:00
Daniel Supernault
6e4a56236e
Update AP Inbox, fix url bug 2019-09-06 22:00:24 -06:00
Daniel Supernault
2e345687d9
Update Inbox, fix typo 2019-09-06 20:34:00 -06:00
Daniel Supernault
01239cb9be
Update AP Inbox 2019-09-05 20:40:40 -06:00
Daniel Supernault
d186dd6356
Update User Ratelimits 2019-09-01 18:27:47 -06:00
Daniel Supernault
f54409fdf3
Update AP Helpers 2019-08-23 21:28:37 -06:00
Daniel Supernault
23cd89da4c
Update AP Helpers 2019-08-23 20:18:58 -06:00
Daniel Supernault
4acafb9870
Update AP Helpers 2019-08-21 22:34:05 -06:00
trwnh
274a22c1c3
bandaid fix #1633
$activity is not being initialized correctly, so just use $res directly for now
2019-08-21 23:14:39 -05:00
Daniel Supernault
3d53661b18
Update Image util 2019-08-17 01:46:34 -06:00
Daniel Supernault
e43663c93f
Update AP Inbox 2019-08-17 01:45:55 -06:00
Daniel Supernault
92c2fcaca7
Update Inbox 2019-08-12 19:26:57 -06:00
Daniel Supernault
8f60300022
Update AP Helpers 2019-08-12 02:50:23 -06:00
Daniel Supernault
26646a70a9
Update Accept AP Validator 2019-08-12 01:19:34 -06:00
Daniel Supernault
2879e26955
Update Inbox 2019-08-12 00:23:46 -06:00
Daniel Supernault
c00428721c
Update Inbox 2019-08-11 20:27:17 -06:00
Daniel Supernault
e5608f96d3
Update RestrictedNames 2019-08-09 14:09:54 -06:00
Daniel Supernault
4c30ad4940
Update base layouts 2019-08-02 02:14:30 -06:00
Daniel Supernault
bd7cad9984
Update Image util 2019-08-01 22:38:26 -06:00
Daniel Supernault
e01ece173c
Update User Ratelimit 2019-07-30 19:52:02 -06:00
Daniel Supernault
9a8151a3a8
Update AP helpers 2019-07-26 23:13:29 -06:00
Daniel Supernault
3599a47261
Update AP helpers 2019-07-26 23:02:13 -06:00
Daniel Supernault
e3da7bfca3
Update ap inbox 2019-07-26 22:53:38 -06:00
Daniel Supernault
2a5e95f64f
Update ap inbox 2019-07-26 22:47:51 -06:00
Daniel Supernault
00047e9b1b
Update Inbox 2019-07-24 19:32:07 -06:00
Daniel Supernault
ad4a36affd
Update Inbox, handle Accept.Follow 2019-07-24 19:25:51 -06:00
Daniel Supernault
5f03dfa05b
Update AP Helpers 2019-07-24 19:25:26 -06:00
Daniel Supernault
f5701e8714
Update Inbox 2019-07-24 19:04:39 -06:00
Daniel Supernault
654b880119
Update RestrictedNames 2019-07-22 22:39:36 -06:00
Daniel Supernault
a60f167d49
Update AP Helpers 2019-07-18 22:08:39 -06:00
Daniel Supernault
8e942994d6
Update Inbox 2019-07-18 21:53:02 -06:00
Daniel Supernault
880c8e8a71
Update RateLimit trait 2019-07-15 23:47:14 -06:00
Daniel Supernault
8367e0cf48
Update User RateLimits 2019-07-08 21:48:04 -06:00
Daniel Supernault
7591eadbd1
Update Hashtag limit 2019-07-01 21:52:29 -06:00
Daniel Supernault
91062b1f55
Update Webfinger class 2019-06-27 01:01:20 -06:00
Daniel Supernault
28a1495e9e
Update AP 2019-06-27 00:44:09 -06:00
Daniel Supernault
ef26fec305
Update Autolinker 2019-06-27 00:02:44 -06:00
Daniel Supernault
b77cb188b9
Update AP Inbox 2019-06-25 13:17:16 -06:00
Daniel Supernault
4219abe95c
Update AP Inbox 2019-06-25 00:10:34 -06:00
Daniel Supernault
8a93ed38fa
Update AP Inbox 2019-06-24 23:57:48 -06:00
Daniel Supernault
234f1df097
Update AP Inbox 2019-06-24 22:46:35 -06:00
Daniel Supernault
8ad46b8c32
Update AP Helpers 2019-06-24 22:44:01 -06:00
Daniel Supernault
962e619061
Update AP Helpers 2019-06-24 00:01:49 -06:00
Daniel Supernault
95807c93e5
Update AP Helpers 2019-06-23 22:22:23 -06:00
Daniel Supernault
83e5633388
Update User RateLimit 2019-06-23 20:35:37 -06:00
Daniel Supernault
1f1df2d1c4
Add more rate limits 2019-06-19 13:19:19 -06:00
Daniel Supernault
72bffd16d4
Retire Classic Compose UI 2019-06-19 02:45:51 -06:00
Daniel Supernault
9520df217b
Update AP Inbox 2019-06-18 12:57:56 -06:00
Daniel Supernault
25d632c761
Add new config 2019-06-17 22:15:36 -06:00
Daniel Supernault
e3c11f76ae
Update Helpers 2019-06-15 23:30:12 -06:00
Daniel Supernault
52d2f603af
Update AP Helpers 2019-06-12 13:21:41 -06:00
Daniel Supernault
3efd27f847
Add Undo Follow validator 2019-06-11 14:12:16 -06:00
Daniel Supernault
29022c6a79
Update AP Helpers 2019-06-09 17:38:29 -06:00
Daniel Supernault
f6e652223d
Update AP Helpers 2019-06-09 12:53:32 -06:00