1
0
Fork 0
Commit Graph

455 Commits

Author SHA1 Message Date
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
Kirk Strauser 5d263d1c2e
PixelFed -> Pixelfed
There was a remaining mix of capital-F "PixelFed" occurrences. This
changes everything to the same capitalization, "Pixelfed", for
consistency.
2019-06-05 18:21:19 -07:00
Daniel Supernault 74ead1dc77
Update RestrictedNames 2019-06-04 21:47:25 -06:00
Daniel Supernault 59a1346277
Update Extractor 2019-06-01 21:31:24 -06:00
Daniel Supernault 24ff176744
Update Autolinker 2019-05-27 20:56:44 -06:00
Daniel Supernault 7260ca2100
Update lexer util 2019-05-20 19:43:12 -06:00
Daniel Supernault 4eee2cc7c7
Fix RestrictedNames 2019-05-02 12:21:36 -06:00
Daniel Supernault 41929c09d4
Update RestrictedNames 2019-05-01 22:54:29 -06:00
Daniel Supernault 445ccb82ee
Update AP helper 2019-04-18 00:47:09 -06:00
Daniel Supernault 2e56b353c6
Update Inbox 2019-04-18 00:36:31 -06:00
Daniel Supernault 53e430ac39
Update ActivityPub helper 2019-04-18 00:32:27 -06:00
Daniel Supernault 79da0692b4
Update Test 2019-04-17 23:48:26 -06:00
Daniel Supernault e2ebaa40a8
Update ActivityPub helper/inbox 2019-04-17 23:29:22 -06:00
Daniel Supernault e1f4968e8d
Update ActivityPub 2019-04-17 22:49:27 -06:00
Daniel Supernault bce8d642ac
Update AP Inbox 2019-04-06 22:27:32 -06:00
Daniel Supernault 76b27085ad
Remove identicons 2019-04-06 17:05:42 -06:00
Daniel Supernault a896a6a956
Remove legacy AP 2019-04-06 15:23:32 -06:00
Daniel Supernault bebe7cca77
Remove deprecated http sig library 2019-04-06 13:29:37 -06:00
Daniel Supernault 8d865dd384
Update AP Helpers 2019-04-06 12:24:28 -06:00
Daniel Supernault 8c230b2793
Update Inbox 2019-04-04 23:19:56 -06:00
Daniel Supernault 5d2f93bd6d
Update APHelpers 2019-04-04 23:13:59 -06:00
Daniel Supernault c86f36d53d
Update APHelpers 2019-04-04 22:44:08 -06:00
Daniel Supernault a07184db58
Update AP Helpers 2019-04-04 21:26:10 -06:00
Daniel Supernault 1580bb6b4b
Update AP Helpers 2019-04-04 19:57:13 -06:00
Daniel Supernault 42daaa15b7
Update AP Helpers 2019-04-03 13:20:57 -06:00
Daniel Supernault 788c8bc640
Update AP Helpers 2019-04-01 18:29:59 -06:00
Daniel Supernault 0ecb4133d5
Update AP Helpers 2019-04-01 18:26:15 -06:00
Daniel Supernault 6d204343bc
Update AP Inbox 2019-03-09 13:38:04 -07:00
Daniel Supernault f680cb1fad
Update AP inbox 2019-03-09 02:15:16 -07:00
Daniel Supernault 332cae6392
Update AP Inbox 2019-03-08 21:03:46 -07:00
Daniel Supernault 063277d3e2
Add Filter util 2019-03-08 01:51:52 -07:00
Daniel Supernault feeb60eb94
Update activitypub deliver 2019-03-07 23:46:38 -07:00
Daniel Supernault fdb95e35b8
Update AP Helpers 2019-03-05 19:52:12 -07:00
Daniel Supernault c7e4e14b7e
Update Localization cache time, closes #959 2019-03-05 12:16:21 -07:00
Daniel Supernault 772bbf5f4b
Update Inbox, remove broken Undo.Announce 2019-03-01 18:58:43 -07:00
Daniel Supernault 5cb5b5277d
Add Localization Helper 2019-02-27 20:14:53 -07:00
Daniel Supernault a5742f5729
Update ActivityPub 2019-02-25 14:25:20 -07:00
Daniel Supernault d2823e64fa
Update ActivityPub 2019-02-25 14:23:54 -07:00
Daniel Supernault e2707ba174
Update Image util 2019-02-25 12:33:47 -07:00
Daniel Supernault 77c056e93b
Update ActivityPub Inbox 2019-02-24 20:17:01 -07:00
Daniel Supernault 2078bb10c9
Update ActivityPub Inbox 2019-02-24 20:07:43 -07:00
Daniel Supernault b3c4409dcf
Update RestrictedNames 2019-02-22 12:31:09 -07:00
Daniel Supernault eb33e95e3f
Update RestrictedNames 2019-02-14 20:50:14 -07:00
Daniel Supernault 21107a7938
Update RestrictedNames 2019-01-31 14:00:39 -07:00
Daniel Supernault 560ac0f247
Update RestrictedNames 2019-01-21 19:59:25 -07:00
Daniel Supernault fe6f486914
Fix Follow validator 2019-01-12 01:25:21 -07:00
Daniel Supernault 12d4bd7fe4
Add Like ap validator 2019-01-12 01:24:31 -07:00
Daniel Supernault 92f2d5cf74
Add Follow ap validator 2019-01-12 01:22:12 -07:00
Daniel Supernault 3bec482722
Update RestrictedNames 2019-01-03 23:07:54 -07:00
Daniel Supernault 756d7c299b
Update AP Inbox 2019-01-03 20:04:29 -07:00
Daniel Supernault edb12964f6
Update inbox 2018-12-31 23:28:34 -07:00
Daniel Supernault c78686e355
Add Announce validator and test 2018-12-29 23:10:14 -07:00
Daniel Supernault 714e47f387
Add Accept validator/test 2018-12-29 16:56:39 -07:00
Daniel Supernault cfbd7d5a1a
Update RestrictedNames 2018-12-28 20:39:16 -07:00
Daniel Supernault 1cca479fad
Update AP Inbox 2018-12-27 22:55:21 -07:00
Daniel Supernault 03007b1754
Update AP helpers 2018-12-25 23:56:18 -07:00
Daniel Supernault e2b782466d
Update helpers 2018-12-25 22:05:47 -07:00
Daniel Supernault 55ca00ba30
Update FederationController, fixes #680 2018-12-25 17:45:29 -07:00
Daniel Supernault 3bc6ef04fe
Update Inbox 2018-12-25 00:15:06 -07:00
Daniel Supernault b396a054d1
Update inbox 2018-12-24 23:57:36 -07:00
Daniel Supernault 605774cad4
Update Api 2018-12-24 23:52:42 -07:00
Daniel Supernault 4d0fde2efa
Update inbox 2018-12-24 23:35:04 -07:00
Daniel Supernault d11c71cdec
Update AP Inbox 2018-12-24 21:42:31 -07:00
Daniel Supernault 919a6d6fd9
Update AP helpers, add missing model 2018-12-24 21:41:43 -07:00
Daniel Supernault 2147c215d2
Update AP Helpers 2018-12-24 21:29:16 -07:00
Daniel Supernault 7f88500d18
Remove AP logger from Inbox 2018-12-23 19:42:50 -07:00
Daniel Supernault e4a7aa00a5
Update AP helpers 2018-12-21 12:57:43 -07:00
Daniel Supernault 75c7fcd182
Update HttpSignature lib 2018-12-17 22:33:21 -07:00
Daniel Supernault 100f102396
Add HttpSignature handlers 2018-12-16 22:44:01 -07:00
Daniel Supernault 943ae02f0e
Update AP helpers 2018-11-23 19:32:05 -07:00
Daniel Supernault a14532e715
Fixes #578 2018-11-22 13:25:31 -07:00
Daniel Supernault 685df5f690
Update Lexer/Extractor 2018-11-20 21:05:10 -07:00
Daniel Supernault 46fdcf0718
Update Image util 2018-11-18 21:56:22 -07:00
Daniel Supernault c01dc18d04
Add HTTPSignatures 2018-11-18 20:33:10 -07:00
Daniel Supernault 801446a2ca
Update Inbox 2018-11-17 15:33:24 -07:00
Daniel Supernault 7a0375e07a
Add ap helpers 2018-10-28 19:29:44 -06:00
Daniel Supernault 84d1e3b731
Update thumbnail logic 2018-10-09 19:20:09 -06:00
Daniel Supernault 6d890aaf7f
Prepare 2FA 2018-09-15 23:15:45 -06:00
Daniel Supernault dee02d7353
Add ActivityPub BaseWriter 2018-09-11 18:33:25 -06:00
daniel b8abbdd90f Apply fixes from StyleCI 2018-08-28 03:07:36 +00:00
Daniel Supernault 24ee5b1297
Update httpsig util 2018-08-25 22:13:54 -06:00
Daniel Supernault ee19583444
Add HTTPSignature util 2018-08-25 22:12:21 -06:00
Daniel Supernault 3b4ea92d82
Update RestrictedNames 2018-08-16 03:15:13 -06:00
Daniel Supernault dcc0fb42ed
Update RestrictedNames 2018-08-10 17:29:09 -06:00
Daniel Supernault 774557e8c9
Add custom image quality to config 2018-08-09 20:31:14 -06:00
Daniel Supernault 9a5bd9fa8e Update WebFinger, remove OStatus 2018-08-05 13:30:11 -06:00
Daniel Supernault d8b2cc7ae1 Update RestrictedNames 2018-08-05 13:24:23 -06:00
Daniel Supernault 56b18f3e08 Update ImageOptimizePipeline, do not optimize gifs 2018-06-14 20:54:05 -06:00
Daniel Supernault 7bb1f10d19 Add new entity lexers 2018-06-08 21:31:42 -06:00
daniel 16f4d52476
Merge pull request #137 from Skehmatics/fix/apostrophe-bug
(Lazily) fix #131 by ignoring hashtags that begin with a ampersand in lexer
2018-06-04 22:13:40 -06:00
Daniel Supernault c53e963537 Add supported file types and max caption length to new post form.
Closes #121 and #136
2018-06-02 16:53:35 -06:00
Daniel Supernault b437b62780 Update Image class, remove PNG -> JPEG conversion and use orientate() method to detect proper orientation in Exif 2018-06-02 15:29:33 -06:00
Derek Schmidt 41683db2b4
Ignore hashtags that begin with a ampersand
Fixes #131

This is usually a marker of an HTML entity code.
It is possible for a user to do this on purpose,
but not horribly likely.

i hope
2018-06-02 00:06:55 -07:00
Daniel Supernault fa7d1fef2f Update RestrictedNames so users can't register a username that conflicts with routes 2018-06-01 13:57:31 -06:00
Daniel Supernault 753b6d4721 Add Inbox util 2018-05-31 21:17:07 -06:00
Daniel Supernault f69624eb28 Update RestrictedNames 2018-05-31 20:31:53 -06:00
Daniel Supernault 6f8122bed6 Add ActivityPub DiscoverActor util 2018-05-31 16:02:24 -06:00
Daniel Supernault 27e779b08d Add PrettyNumber util 2018-05-31 16:01:31 -06:00
Daniel Supernault e94d9534b1 Fix image resizing logic 2018-05-26 16:37:46 -06:00
Daniel Supernault b6dc212b4d Update RestrictedNames 2018-05-22 18:45:13 -06:00
Daniel Supernault e3590c3768 Add Image Util class 2018-05-22 18:06:21 -06:00
Daniel Supernault 14a4a69b3e Update Webfinger lexer 2018-05-19 21:04:18 -06:00
Daniel Supernault 62da545a94 Add hashtag lexer 2018-05-19 21:03:17 -06:00
Daniel Supernault d9db890514 Add custom identicon preprocessor 2018-05-19 21:02:13 -06:00
Daniel Supernault 3a3a18e1ac Update RestrictedNames 2018-05-11 20:22:49 -06:00
Daniel Supernault 52a3bcc2d0 Update RestrictedNames 2018-05-11 20:21:56 -06:00
Daniel Supernault 72c7790cb4 Add Restricted Names list 2018-04-29 10:27:15 -06:00
Daniel Supernault e96fa8ce72 Update Nickname lexer 2018-04-29 10:26:58 -06:00
Daniel Supernault b7537e7b06 Add Webfinger utility 2018-04-19 19:17:15 -06:00
Daniel Supernault 63c665cdc9 Add Nickname Lexer 2018-04-19 19:16:27 -06:00