Commit Graph

545 Commits (2473702be22a44070fcff439ac901f5b9bb0586a)

Author SHA1 Message Date
Ivan Tashkinov abbf347dc7 [#394] View tests fix.
6 years ago
kaniini ccf0b46dd6 Merge branch '210_twitter_api_uploads_alt_text' into 'develop'
6 years ago
Ivan Tashkinov 3e90f688f1 [#210] Mastodon: actor storing for media uploads, ownership check to update_media.
6 years ago
kaniini 48a0315646 Merge branch 'follower-hiding' into 'develop'
6 years ago
lain 76d6b1c6ab Merge remote-tracking branch 'origin' into follower-hiding
6 years ago
lain 3ea4476445 MastodonAPI: Show users their own network.
6 years ago
Vald 028904c333 lint
6 years ago
Vald 911a877576 resolved api and controller test failures
6 years ago
Ivan Tashkinov 848151f7cb [#210] [TwitterAPI] Made actor be stored for uploads. Added ownership check
6 years ago
Maksim Pechnikov 7ec64ac33f update test
6 years ago
William Pitcock f7e15d3257 tests: fix a lot of the remaining test failures
6 years ago
William Pitcock 6f5f589f73 test: fix mastodon api test failure
6 years ago
Maxim Filippov 4b70e5eae9 Parse bio for MastodonAPI
6 years ago
lain 2a639de9b3 MastodonApi: Implement hide_network.
6 years ago
lain 347df6421d Fix masto api user updating.
6 years ago
lain d0ec2812bd Merge remote-tracking branch 'origin' into validate-user-info
6 years ago
lain badbe2656c More fixes.
6 years ago
Haelwenn (lanodan) Monnier cc8952b45f
Web.MastodonApi.MastodonSocketTest: Add test for unauthenticated websocket
6 years ago
lain 0bea0308f1 Merge branch 'validate-user-info' of git.pleroma.social:pleroma/pleroma into validate-user-info
6 years ago
lain 0896cf4c0f Fix most mastodon api bugs.
6 years ago
William Pitcock 5b3480d896 tests: fix up some more broken mastodon api testcases
6 years ago
William Pitcock c196754b4d mastodon api: account view: fix tests
6 years ago
lain 2cf40237ff MastodonAPI: Add pagination to private messages.
6 years ago
lain 2fedd93931 Fix formatting.
6 years ago
lain 81af7fd02d Test for null-content activities.
6 years ago
lain 7dfe611620 Test for case-insensitive mastodon hashtag timelines.
6 years ago
lain 45ebc8dd9a Check for empty string in_reply_to ids.
6 years ago
Lee Starnes 585b29337c Ensure filters have a filter_id
6 years ago
Haelwenn (lanodan) Monnier a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
Haelwenn (lanodan) Monnier 43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
6 years ago
shadowfacts 85b8590109 Update status_view_test.exs
6 years ago
Martin Kühl 619f67768a Mastodon API: Add unsupported attributes to relationship responses
6 years ago
Martin Kühl ff38ffd9f8 Fix the tests
6 years ago
Haelwenn 4a3dbd9d4e Merge branch 'fix/sign-in-with-toot' into 'develop'
6 years ago
kaniini 1c9e539b47 Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
6 years ago
Martin Kühl b60d232719 AccountView: `sensitive` is supposed to be a boolean, not a string
6 years ago
Will Pearson 0c2a0e3551 Specify default scope in verify_credentials
6 years ago
William Pitcock 9cac7c957c test: add testcase proving lists system does not leak non-public posts
6 years ago
Haelwenn (lanodan) Monnier 6e030129fb
[MastodonAPI] Add filters
6 years ago
Haelwenn (lanodan) Monnier d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
ensra 2b5db840ee attempt to add html validation to mastodon api test case
6 years ago
eal ed9738e031 Add tests for emoji in user profiles
6 years ago
William Pitcock 18cac1e36b test: mastodon attachments: update for added description field
6 years ago
William Pitcock 489453c246 tests: verify media description api support is working
6 years ago
Haelwenn (lanodan) Monnier 359093d73b
Fake 2.4.0 API
6 years ago
William Pitcock 590e8d5555 tests: fix a completely bogus mastodon api test
6 years ago
Haelwenn (lanodan) Monnier 72c2915ecd
Pleroma.Web.MastodonAPI.StatusView: Fix status.json so it renders threads
6 years ago
William Pitcock a0c5b42e29 tests: assert the state prior to mutating it as well as afterward
6 years ago
William Pitcock c99b9b9d92 testsuite: add mastodon api tests
6 years ago
lambda 7f79b467b1 Merge branch 'feature/domain-blocks' into 'develop'
6 years ago
eal 4856962434 MastoAPI: add domain blocking.
6 years ago
lain 4856ba596f Better error handling for MastodonApiController.
6 years ago
lain 841ee8e3e4 Simplify DM query.
6 years ago
lain 4b3ec53514 Merge branch 'develop' into csaurus/pleroma-feature/mstdn-direct-api
6 years ago
lain 0a6c897c94 Formatting.
6 years ago
lambda f3a71f2986 Merge branch 'feature/lists' into 'develop'
6 years ago
eal 3dbd9809d4 MastoAPI: add lists.
6 years ago
csaurus 4fd9df100f Merge branch 'develop' into feature/mstdn-direct-api
6 years ago
lain 434601a5c3 Return private / direct posts on user timelines, too.
6 years ago
lain 1d4bbec6b3 Fix User search.
6 years ago
csaurus d0ad13c12e Add direct_note[_activity]_factory and a couple tests
6 years ago
csaurus 987a52cf6f Post direct status test
6 years ago
lambda aeff2d6474 Merge branch 'feature/unrepeats' into 'develop'
6 years ago
lain c464355d1a Idempotency: Use special cache, keep for 6 hours.
6 years ago
lain 90c4bed0af Don't expire idempotency cache for five minutes.
6 years ago
lain fcd3eca167 MastodonAPI: Support idempotency key.
6 years ago
Francis Dinh e981280fa7 Formatting fixes
7 years ago
Francis Dinh 42279f54cf Return target status in MastoAPI endpoint instead of reblog activity
7 years ago
Francis Dinh 5b0d0b9ab2 Add unreblogging tests
7 years ago
Gian Sass 2de2e29df2 Oops
7 years ago
Gian Sass 3a5c0465eb Add unit test for pinned statuses
7 years ago
lain 70bcdf32bd Only search in public data for now.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
lain 37e5014d3e Reduce OP fetching queries.
7 years ago
lain ff7afe46b9 Don't try to fetch OP if none is there.
7 years ago
lain 32ae918843 Clear caches on test.
7 years ago
William Pitcock 0ee6e8af26 mastodon api tests: invalidate user cache prior to importing a test reply
7 years ago
lain 26ccb768d3 Make test output easier to read.
7 years ago
lain 33a5d0a238 Fix some test warnings.
7 years ago
Hakaba Hitoyo ea6d1b2b17 move avi.png & banner.png from /priv/static/static to /priv/static/images
7 years ago
eal 80f6ac412a Merge branch 'default-pictures' into 'develop'
7 years ago
eal 14b086eec2 Add a default profile picture and banner.
7 years ago
eal 6e1cb86166 Fix instance test.
7 years ago
Lain Iwakura f1f79c0dca Fix timelines in subway tooter.
7 years ago
Lain Iwakura 47887ac848 MastoAPI: Fix always-sensitive bugs.
7 years ago
eal 9223038319 Fix some more tests.
7 years ago
eal 79b3397c17 Fix tests.
7 years ago
Lain Iwakura 5637d163e6 MastodonAPI: Add proper user count.
7 years ago
eal f53cdabcdf Add #nsfw tag if sensitive content bit is set
7 years ago
Roger Braun ced0d64d75 MastoAPI: Make attachment ids strings.
7 years ago
eal 06c3ee3bac Accept 1 as true.
7 years ago
eal c84723b679 MastoAPI: Add media timelines.
7 years ago
Roger Braun 083cd169d2 MastoAPI: Fix repeat api bug.
7 years ago
lambda 08bc316742 Merge branch 'mastodon-notification-endpoints' into 'develop'
7 years ago
lambda efcf54dc02 Merge branch 'mastoapi-update-credentials' into 'develop'
7 years ago
eal fc7483cb3c MastoAPI: Add update credentials endpoint.
7 years ago
Roger Braun a1923d20e8 MastoAPI: Fix reblog emojis.
7 years ago
Roger Braun 1d3d66a841 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into develop
7 years ago
Roger Braun 6e9c22c0af MastoAPI: Use string ids everywhere.
7 years ago
eal e6a78c6ed0 MastoAPI: Add notification get, clear and dismiss.
7 years ago
Roger Braun 266d9c008d MastoAPI: Fetch statuses in search.
7 years ago
Roger Braun c6b9b777da MastoAPI: Add list of blocked users.
7 years ago
Roger Braun 5bf92e50be MastoAPI: Add blocking.
7 years ago
Roger Braun 33beb51da4 MastoAPI: Add blocking to AccountView.
7 years ago
Roger Braun e014cc6ed8 Allow using cws in mastodon api.
7 years ago
Roger Braun 0c871e5c6e Fix specs.
7 years ago
Roger Braun 44295dd49a MastoAPI: Include CW.
7 years ago
Roger Braun 968a546d4a MastoAPI: Return id as string instead of integer.
7 years ago
Roger Braun 2f39bb6b43 Typo.
7 years ago
Roger Braun ce7f9f527c MastoAPI: Always return an url for statuses.
7 years ago
Roger Braun 502cb38cd6 Move user search to User module.
7 years ago
eal 71f66bd458 Fix follow test semantics.
7 years ago
eal c56d28f96c Fix return type of /api/v1/follows
7 years ago
eal 8e94936553 Add tests.
7 years ago
Roger Braun 64bc38e009 MastoAPI: Add emoji output.
7 years ago
Roger Braun 6000f61727 MastoAPI: Add repeats to statusview.
7 years ago
Roger Braun 422d0f324f MastodonAPI: Add user favorites endpoint.
7 years ago
Roger Braun 0872f5f394 Add undocumented default user default settings.
7 years ago
Roger Braun c36229c4aa Add remote user fetching to search.
7 years ago
Roger Braun 9f0a2a714b Add basic search.
7 years ago
Roger Braun d659fcc195 MastoAPI: Fix date in account view.
7 years ago
Roger Braun 3ca853fb61 MastoAPI: Follower-related changes
7 years ago
Roger Braun fc85c9f086 Add tag timelines.
7 years ago
Roger Braun a8701282d4 MastoAPI: fake out 'application' property.
7 years ago
Roger Braun 6258c6b6b3 MastoAPI: Also return text_url in attachments.
7 years ago
Roger Braun 7f3ce5c1a0 Cleanup.
7 years ago
Roger Braun 641c24cdd4 Add media upload endpoint.
7 years ago
Roger Braun d168ef5a9e MastoAPI: Add accounts getting.
7 years ago
Roger Braun 94be93aad0 Allign datetime format with mastodon.
7 years ago
Roger Braun e6286152b9 Fix logic.
7 years ago
Roger Braun 49929321c7 Add relationships to masto api.
7 years ago
Roger Braun 1bc58230ee Remove milliseconds from mastodon api response.
7 years ago
Roger Braun b58b35bf56 Use hash of attachment url as id.
7 years ago
Roger Braun 44a650235b MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun 7616b202ea Add user timelines to Masto Api.
7 years ago
Roger Braun fc10875895 Add attachments to mastoapi statuses.
7 years ago
Roger Braun e8975d06be Add header image to masto api.
7 years ago
Roger Braun d625d8db7d Add unfav to Mastodon API.
7 years ago
Roger Braun 454dc18570 Add favoriting to Mastodon API.
7 years ago
Roger Braun 66e4c710d4 Add reblogging to MastodonAPI.
7 years ago
Roger Braun 4dc517a0bb Add deletion to masto api.
7 years ago
Roger Braun be04f725e9 Add more Mastodon API methods.
7 years ago
Roger Braun 2b7efff71b Add Mastodon StatusView.
7 years ago
Roger Braun c6bdc5960c Test for Mastodon AccountView
7 years ago
rinpatch 4a6855d9ee Provide plaintext representations of content/cw in MastoAPI
8 years ago