Commit Graph

44 Commits

Author SHA1 Message Date
Ivan Tashkinov
256ff09aa8 [#1149] Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
# Conflicts:
#	lib/pleroma/application.ex
#	lib/pleroma/scheduled_activity_worker.ex
#	lib/pleroma/web/federator/retry_queue.ex
#	lib/pleroma/web/oauth/token/clean_worker.ex
#	test/user_test.exs
#	test/web/federator_test.exs
2019-08-22 20:59:58 +03:00
Maksim
a320358703 added test helpers to clear config after tests 2019-08-19 15:34:29 +00:00
Ivan Tashkinov
0e1c481a94 [#1149] Added more oban workers. Refactoring. 2019-08-13 20:20:26 +03:00
Ivan Tashkinov
b7fad8d395 [#1149] Oban jobs implementation for :federator_incoming and :federator_outgoing queues. 2019-08-09 20:08:01 +03:00
lain
abe2e8881f Testing: Don't federate in testing. 2019-07-09 15:30:51 +09:00
William Pitcock
56fd7dbdd7 remove @websub and @ostatus module-level constants 2019-05-25 04:43:11 +00:00
William Pitcock
80d55d428f tests: websub: check only that signature validation succeeds or fails 2019-05-25 04:34:16 +00:00
Haelwenn (lanodan) Monnier
a3a9cec483
[Credo] fix Credo.Check.Readability.AliasOrder 2019-03-13 04:26:54 +01:00
Haelwenn (lanodan) Monnier
74579115a7
test: Change lenght(…) == 0 to Enum.empty?(…) 2019-02-11 03:44:16 +01:00
Haelwenn (lanodan) Monnier
8bb7e19b38
test: de-group alias/es 2019-02-11 03:44:15 +01: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
Ivan Tashkinov
1d2f41642c [#534] Various tweaks. Tests for Instances and Instance. 2019-01-28 15:25:06 +03:00
Ivan Tashkinov
d99650270b [#534] Federation reachability filtering tests. 2019-01-25 20:38:54 +03:00
William Pitcock
3c08d229db tests: add legal boilerplate 2018-12-23 20:57:10 +00:00
lain
c81c74d847 Treat warnings as errors outside of tests. 2018-12-10 19:13:53 +01:00
Maksim Pechnikov
c508d41c34 add http requests mock 2018-12-04 14:04:06 +03:00
Maksim Pechnikov
87109482f3 status_code -> status 2018-12-04 14:04:06 +03:00
Maksim Pechnikov
ec34de0c1f WebSub fix test 2018-12-04 14:03:32 +03:00
lain
48b95a9b95 Assorted fixes. 2018-11-30 17:08:02 +01:00
lain
4afbef39f4 Format the code. 2018-03-30 15:01:53 +02:00
lain
26ccb768d3 Make test output easier to read. 2018-02-12 10:14:11 +01:00
Roger Braun
b4f055b604 Don't reject already accepted subscriptions. 2017-10-05 12:53:16 +02:00
Roger Braun
bdcf42180f Save remote user bio and update if we see new data. 2017-05-24 17:34:38 +02:00
Roger Braun
153995f832 Correct active state websub name. 2017-05-10 18:54:43 +02:00
Roger Braun
34a1ce00ec Set valid_until date. 2017-05-10 18:45:55 +02:00
Roger Braun
2e753e8cd7 Refresh subscriptions. 2017-05-10 18:44:06 +02:00
Roger Braun
97257c692c Fix specs. 2017-05-03 20:06:20 +02:00
Roger Braun
8141024259 Attachment parsing, better magic key fetching. 2017-05-03 14:26:49 +02:00
Roger Braun
89c1e90eb2 Don't crypt raw iolists. 2017-05-01 22:02:07 +02:00
Roger Braun
f9912599c4 Pull in remote avatar on federation. 2017-04-30 12:53:49 +02:00
Roger Braun
a16da387d2 Handle full incoming feeds. 2017-04-29 21:13:21 +02:00
Roger Braun
20015b4b67 Save remote users with fqn as nickname. 2017-04-29 20:08:45 +02:00
Roger Braun
427bac0966 Rework remote user subscription. 2017-04-29 19:06:01 +02:00
Roger Braun
69922bc724 Add user info gathering. 2017-04-29 17:51:59 +02:00
Roger Braun
1422e7aa84 Handle incoming websub subscriptions. 2017-04-28 15:45:10 +02:00
Roger Braun
451d18af63 Add proper callback route for websub confirmation. 2017-04-28 09:51:47 +02:00
Roger Braun
90da25505f Add discovery and subscription requests to websub. 2017-04-27 09:46:45 +02:00
Roger Braun
c5fa682c31 Refactor, add beginnings of websub client subscriptions. 2017-04-26 18:33:10 +02:00
Roger Braun
c585f9e26c Only handle subscription requests for now. 2017-04-22 13:48:10 +02:00
Roger Braun
8fb73c28bb Only have one subscription per callback. 2017-04-22 13:44:21 +02:00
Roger Braun
77cb260628 add basic federation to websub. 2017-04-22 12:07:51 +02:00
Roger Braun
39dc74f967 Add callback to websub subscription. 2017-04-22 12:05:48 +02:00
Roger Braun
424e0e7779 Add Websub verification. 2017-04-21 03:59:11 +02:00
Roger Braun
1b9cc721a0 Websub controller beginnings. 2017-04-20 17:47:33 +02:00