William Pitcock
9bec891eb4
kill @httpoison
2019-05-25 04:24:21 +00:00
William Pitcock
44b182732e
nodeinfo: gather supported protocol names from federation modules
2019-05-12 19:15:29 +00:00
William Pitcock
28f7f4c6de
webfinger: build the response based on enabled federation modules
2019-05-12 19:05:03 +00:00
William Pitcock
fedaca15a3
websub: adapt to work as a federator publishing module
2019-05-12 05:04:24 +00:00
rinpatch
9a7b817c9a
Ecto 3.0.5 migration
...
kms
2019-03-20 15:59:54 +03:00
Haelwenn (lanodan) Monnier
c3d41b2b6e
[Credo] make all variables use snake_case
2019-03-13 04:26:56 +01:00
Haelwenn (lanodan) Monnier
a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder
2019-03-13 04:26:54 +01:00
Egor Kislitsyn
305d219413
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
...
# Conflicts:
# lib/pleroma/web/federator/federator.ex
# lib/pleroma/web/websub/websub.ex
2019-02-11 13:54:21 +07:00
Haelwenn (lanodan) Monnier
6a6a5b3251
de-group alias/es
2019-02-09 16:31:17 +01:00
Haelwenn (lanodan) Monnier
60ea29dfe6
Credo fixes: alias grouping/ordering
2019-02-09 14:59:20 +01:00
Egor Kislitsyn
3a3a3996b7
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/jobs
...
# Conflicts:
# lib/pleroma/web/activity_pub/activity_pub.ex
# lib/pleroma/web/federator/federator.ex
2019-02-04 20:50:28 +07:00
Ivan Tashkinov
3913b0196e
[ #582 ] Made single-pub task call Instance.set_reachable/1 if set_reachable
is not specified.
...
Added tests.
2019-02-03 13:28:13 +03:00
Ivan Tashkinov
b40b4bc4e5
[ #582 ] Optimized federation retirement by reducing the number of SQL calls
...
(calling `Instances.set_reachable/1` only if instance had `unreachable_since`,
calling `Instances.set_unreachable/1` only if instance had nil `unreachable_since`).
2019-02-03 12:41:27 +03:00
Ivan Tashkinov
92753b0cd9
[ #534 ] Made federation push sender be determined basing on content instead of referer
header. Updated tests.
2019-01-29 13:12:28 +03:00
Egor Kislitsyn
55affbca7f
add a job queue
2019-01-28 22:17:17 +07:00
Ivan Tashkinov
d3f9e6f6fe
[ #534 ] Merged upstream/develop
.
2019-01-28 15:39:14 +03:00
Ivan Tashkinov
1d2f41642c
[ #534 ] Various tweaks. Tests for Instances and Instance.
2019-01-28 15:25:06 +03:00
Ivan Tashkinov
9560abea10
[ #534 ] Refactoring / tweaks per MR review.
2019-01-28 11:03:52 +03:00
Ivan Tashkinov
465adedb7c
[ #534 ] Websub fix: made SQL use UTC time zone when comparing with valid_until
(instead of postgresql-server default time zone).
2019-01-25 18:29:43 +03:00
Ivan Tashkinov
3e9399ec0b
[ #534 ] Optimized bulk publish ops to filter on reachability early. Instance
refactoring.
2019-01-24 19:15:23 +03:00
Ivan Tashkinov
8654a591f0
[ #534 ] Updating external instances reachability on incoming federation.
2019-01-24 17:37:23 +03:00
Ivan Tashkinov
20b54366ee
[ #534 ] Federation publish requests status control (enforced 2xx response code check).
2019-01-24 11:54:52 +03:00
Ivan Tashkinov
f161a92cb1
[ #534 ] Initial implementation of unreachable federation targets retirement.
2019-01-23 18:37:25 +03:00
href
28d77e373c
Flake Ids for Users and Activities
2019-01-23 11:26:27 +01:00
William Pitcock
17da432dbb
websub: improve error handling
2019-01-15 18:03:49 +00:00
William Pitcock
980b5288ed
update copyright years to 2019
2018-12-31 15:41:47 +00:00
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
2018-12-23 20:56:42 +00:00
Hakaba Hitoyo
27792b2d77
remove pool and timeout options which duplicate with the default
2018-12-06 11:23:15 +09:00
Maksim Pechnikov
87109482f3
status_code -> status
2018-12-04 14:04:06 +03:00
Maksim Pechnikov
3ce16e5a56
init tesla and updated the http requests in Pleroma.Web.Websub
2018-12-04 14:03:32 +03:00
lain
d0ec2812bd
Merge remote-tracking branch 'origin' into validate-user-info
2018-11-30 17:34:20 +01:00
lain
48b95a9b95
Assorted fixes.
2018-11-30 17:08:02 +01:00
eal
62299be094
Federator: add retry queue.
2018-11-18 17:46:29 +02:00
href
6fe23c5458
Runtime configured router
2018-11-05 15:19:03 +01:00
lain
4afbef39f4
Format the code.
2018-03-30 15:01:53 +02:00
Mark Felder
7f77433c0e
CamelCase WebSub in log messages
2018-03-19 17:41:04 +00:00
Mark Felder
04395cb9bd
Grammar consistency
...
Most log messages are sentence fragments so make them consistent by
removing periods. Log messages that are expressing urgency with ! or
pending more work with "..." are OK.
2018-03-19 17:31:58 +00:00
lain
0067c9d2be
Only push to still valid websub subscriptions.
2018-03-13 18:32:17 +01:00
lain
7b26443a76
ActivityPub: Send out Accept after Follow.
2018-02-17 16:08:55 +01:00
Roger Braun
6dfa62800a
Revert "Longer timeouts for user fetching."
...
Breaks too many tests.
This reverts commit 7de3a65214
.
2017-11-07 09:41:35 +01:00
Roger Braun
7de3a65214
Longer timeouts for user fetching.
2017-11-07 09:11:19 +01:00
Roger Braun
b4f055b604
Don't reject already accepted subscriptions.
2017-10-05 12:53:16 +02:00
Roger Braun
571f07abe3
Try refresh all invalid subscriptions.
...
This is a temporary fix to prevent intermittent problems from cutting
off subscriptions.
2017-08-02 12:42:12 +02:00
Roger Braun
e4a4135c1d
Handle subscriptions in queue.
2017-08-02 12:34:48 +02:00
Roger Braun
54af9e145a
Add some debug info to websub.
2017-08-02 12:03:45 +02:00
Roger Braun
ffc9d7708b
Handle webpubs in queue.
2017-06-23 16:37:34 +02:00
Roger Braun
6a184115a2
Longer timeouts for outgoing federation.
2017-06-23 12:25:53 +02:00
Roger Braun
14d9de39e8
Better debugging.
2017-06-20 17:28:36 +02:00
Roger Braun
fe27b61a72
Add some debugging to federations.
2017-06-20 14:10:44 +02:00
Roger Braun
bdcf42180f
Save remote user bio and update if we see new data.
2017-05-24 17:34:38 +02:00