Commit graph

43 commits

Author SHA1 Message Date
Ivan Tashkinov
3913b0196e [] 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 [] 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 [] Made federation push sender be determined basing on content instead of referer header. Updated tests. 2019-01-29 13:12:28 +03:00
Ivan Tashkinov
1d2f41642c [] Various tweaks. Tests for Instances and Instance. 2019-01-28 15:25:06 +03:00
Ivan Tashkinov
9560abea10 [] Refactoring / tweaks per MR review. 2019-01-28 11:03:52 +03:00
Ivan Tashkinov
060d280e64 [] Made Salmon.send_to_user calls be handled through Federator.enqueue. 2019-01-25 20:38:13 +03:00
Ivan Tashkinov
3e9399ec0b [] Optimized bulk publish ops to filter on reachability early. Instance refactoring. 2019-01-24 19:15:23 +03:00
Ivan Tashkinov
8654a591f0 [] Updating external instances reachability on incoming federation. 2019-01-24 17:37:23 +03:00
Ivan Tashkinov
20b54366ee [] Federation publish requests status control (enforced 2xx response code check). 2019-01-24 11:54:52 +03:00
Ivan Tashkinov
f161a92cb1 [] Initial implementation of unreachable federation targets retirement. 2019-01-23 18:37:25 +03:00
William Pitcock
980b5288ed update copyright years to 2019 2018-12-31 15:41:47 +00:00
Maksim Pechnikov
523848d1fd Salmon# fixed publish an activity to remote accounts 2018-12-29 12:48:54 +03:00
William Pitcock
2791ce9a1f add license boilerplate to pleroma core 2018-12-23 20:56:42 +00:00
Maksim Pechnikov
89b3729afa fix warnings 2018-12-12 09:09:19 +03:00
Hakaba Hitoyo
27792b2d77 remove pool and timeout options which duplicate with the default 2018-12-06 11:23:15 +09:00
Maksim Pechnikov
97252a27d9 fix http request in Salmon 2018-12-04 14:04:06 +03:00
lain
f18b86fd5f More fixes for Info schema. 2018-12-01 12:46:08 +01:00
Francis Dinh
271fb5ccb1 Probably better way of handling non-follow undos in ostatus 2018-05-11 11:59:53 -04:00
lain
4afbef39f4 Format the code. 2018-03-30 15:01:53 +02:00
lambda
9b97b023c5 Merge branch 'feld-Logger' into 'develop'
Logging cleanup

See merge request 
2018-03-20 05:57:47 +00:00
Mark Felder
25279dba77 Capitalize start of log message 2018-03-19 17:39:12 +00:00
Mark Felder
0cf6f7a54d capitalize Salmon protocol name 2018-03-19 17:38:54 +00:00
lain
ec83175100 Use connection pools. 2018-03-19 17:42:09 +01:00
lain
78516a8daa Salmon: Take both versions of public keys. 2018-02-18 22:57:07 +01:00
lain
deaad6d97a Fix delivery to CC. 2018-02-18 16:59:41 +01:00
lain
7b26443a76 ActivityPub: Send out Accept after Follow. 2018-02-17 16:08:55 +01:00
href
4524721fba
Salmon: generate private key with native crypto if available. 2017-11-28 16:50:12 +01:00
Roger Braun
fecbd099cd Ignore padding for salmon public keys. 2017-08-25 15:09:05 +02:00
Roger Braun
6ee0ca21e2 Some salmon debug fixes.
Plus httpoison update.
2017-06-23 16:22:19 +02:00
Roger Braun
4ba6746820 use correct arity .post. 2017-06-23 12:27:40 +02:00
Roger Braun
6a184115a2 Longer timeouts for outgoing federation. 2017-06-23 12:25:53 +02:00
Roger Braun
04f6ece99e Send salmons and websub in background tasks. 2017-05-05 20:38:10 +02:00
Roger Braun
d982f04a65 Mock HTTPoison in testing. 2017-05-05 14:16:54 +02:00
Roger Braun
7269c51f3a Some refactoring. 2017-05-05 12:07:38 +02:00
Roger Braun
c48c381e90 Merge branch 'develop' into dtluna/pleroma-refactor/1 2017-05-05 11:46:59 +02:00
Roger Braun
8141024259 Attachment parsing, better magic key fetching. 2017-05-03 14:26:49 +02:00
Roger Braun
6843755834 Make outgoing salmons work. 2017-05-01 13:14:58 +02:00
Roger Braun
ba1ea77001 Make key fetching use ostatus fetching. 2017-04-29 19:47:56 +02:00
dtluna
6cf7c13228 Refactor code to comply with credo suggestions 2017-04-27 16:18:50 +03:00
Roger Braun
d1dce56a85 Refactor XML parsing. 2017-04-27 09:43:58 +02:00
Roger Braun
57bd59e407 Salmon creation. 2017-04-26 14:25:44 +02:00
Roger Braun
7424310e14 Basic key fetching. 2017-04-23 16:35:17 +02:00
Roger Braun
4c216cba9c Decode and verify salmons. 2017-04-23 15:21:58 +02:00