Commit Graph

12928 Commits

Author SHA1 Message Date
Ivan Tashkinov 48e6193bf2 [#210] Refactoring. 2018-12-04 19:24:41 +03:00
Ivan Tashkinov 826fc446d5 [#210] TwitterAPI: implemented /api/media/metadata/create
to allow uploads description (alt text) setting.
2018-12-04 18:35:57 +03:00
Maksim Pechnikov 50e72f6c48 remove httpoison_mock 2018-12-04 18:09:22 +03:00
Maksim Pechnikov dd8aee332c formatting the code 2018-12-04 17:48:55 +03:00
Maksim Pechnikov 5c6d47614d all tests passed 2018-12-04 17:44:15 +03:00
Maksim Pechnikov a9e4a97586 update test 2018-12-04 14:04:06 +03:00
Maksim Pechnikov 7ec64ac33f update test 2018-12-04 14:04:06 +03:00
Maksim Pechnikov 80bfdb4e7d update test 2018-12-04 14:04:06 +03:00
Maksim Pechnikov 6cfdc11e32 update test 2018-12-04 14:04:06 +03: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 97252a27d9 fix http request in Salmon 2018-12-04 14:04:06 +03:00
Maksim Pechnikov ec34de0c1f WebSub fix test 2018-12-04 14:03:32 +03:00
Maksim Pechnikov 3ce16e5a56 init tesla and updated the http requests in Pleroma.Web.Websub 2018-12-04 14:03:32 +03:00
William Pitcock d6ab701a14 formatting 2018-12-04 05:01:21 +00:00
William Pitcock 419d4bd5e4 tests: add tests for Object.normalize() 2018-12-04 05:00:11 +00:00
William Pitcock b3b52b58c3 activitypub: transmogrifier: remove obsolete fetch_obj_helper() 2018-12-04 04:52:09 +00:00
William Pitcock fed9b5404c object: rework Object.normalize() a bit to support transparent fetching 2018-12-04 04:52:09 +00:00
William Pitcock 02288b5f1c twitterapi: fix bad rebase 2018-12-04 04:52:09 +00:00
William Pitcock f0439617ef tests: some minor cleanups 2018-12-04 04:52:09 +00:00
William Pitcock 7a57db0d3a federator: fix up contain_origin_from_id() call 2018-12-04 04:52:09 +00:00
William Pitcock f85949cc69 object: factor out fetching functions into Pleroma.Object.Fetcher module 2018-12-04 04:52:09 +00:00
William Pitcock e8caecb5c7 object: move object containment out of transmogrifier into it's own module 2018-12-04 04:52:09 +00:00
William Pitcock 1a360a4eaa compact database task: fix formatting 2018-12-04 04:52:09 +00:00
William Pitcock ef56488349 mix: add task to compact the database 2018-12-04 04:52:09 +00:00
William Pitcock 5d753e1c7c activity: add helpers for updating activities in the database 2018-12-04 04:52:09 +00:00
William Pitcock 6f90f2c3ac activitypub: rework thread filtering for split object view 2018-12-04 04:52:09 +00:00
William Pitcock fe000f82f8 tests: activitypub: fix broken test due to invalid child object 2018-12-04 04:52:09 +00:00
William Pitcock f168a2add6 ostatus: fix representing external objects 2018-12-04 04:52:09 +00:00
William Pitcock f7e15d3257 tests: fix a lot of the remaining test failures 2018-12-04 04:52:09 +00:00
William Pitcock 4ca4c83871 tests: fix most remaining failures 2018-12-04 04:52:09 +00:00
William Pitcock cf139e3eec activitypub: transmogrifier: ensure we send nested object in Create 2018-12-04 04:52:09 +00:00
William Pitcock d6e65f9304 common api: fix up improper Object.normalize() calls 2018-12-04 04:52:09 +00:00
William Pitcock d13d953385 activitypub: implement activity flattening 2018-12-04 04:52:09 +00:00
William Pitcock 57d90e7afe activitypub: relay: fix improper use of Object.normalize() 2018-12-04 04:52:09 +00:00
William Pitcock 5ea64f4bf9 activity: minor cleanups to normalization functions to align them with the object normalizers 2018-12-04 04:52:09 +00:00
William Pitcock 5ba5df1321 object: normalize(): use object cache 2018-12-04 04:52:09 +00:00
William Pitcock e8570758f9 twitterapi: fix remaining test failures 2018-12-04 04:52:09 +00:00
William Pitcock 6f5f589f73 test: fix mastodon api test failure 2018-12-04 04:52:09 +00:00
William Pitcock 3b8e5bcbeb fix most tests 2018-12-04 04:52:09 +00:00
William Pitcock dd66cc2ca6 ostatus: use Object.normalize() where appropriate when representing activities 2018-12-04 04:52:09 +00:00
William Pitcock 5d4a71906a mastodon api: use Object.normalize() in a few missing spots 2018-12-04 04:52:09 +00:00
William Pitcock e9b718cea2 mastodon api: status view: use Object.normalize() 2018-12-04 04:52:09 +00:00
William Pitcock 95a458f392 twitterapi: more object normalization work 2018-12-04 04:52:09 +00:00
William Pitcock 4482ce7e2d activitypub: normalize objects when streaming them out 2018-12-04 04:52:09 +00:00
William Pitcock d3fde9b5f2 ostatus: note handler: appropriately use Object.normalize() 2018-12-04 04:52:09 +00:00
William Pitcock 67038ae15e common api: utils: access inReplyTo object ID correctly 2018-12-04 04:52:09 +00:00
William Pitcock d6b266163b common api: fetch visibility from normalized object 2018-12-04 04:52:09 +00:00
William Pitcock 0522b26883 gopher: use Object.normalize() 2018-12-04 04:52:09 +00:00
William Pitcock 663007b42c activity: clean up direct use of object data 2018-12-04 04:52:09 +00:00