Commit Graph

353 Commits (451593f45e517db5ef81af0d3ec94c206a5e3bcd)

Author SHA1 Message Date
Haelwenn (lanodan) Monnier 8bb7e19b38
test: de-group alias/es
6 years ago
Mark Felder 74518d0b60 hide_followings was renamed to hide_followers in the FE, but never synced up in the BE
6 years ago
William Pitcock 26670b09a7 tests: add a rich media card that contains all relevant fields
6 years ago
William Pitcock 6eb8c1eb92 test: add some regression tests for the rich media card rendering
6 years ago
Maxim Filippov 16ce129e38 Split hide_network into hide_followers & hide_followings (fixed)
6 years ago
lain e61f0be951 Unbreak all the tests.
6 years ago
kaniini 486749064f Revert "Merge branch 'feature/split-hide-network' into 'develop'"
6 years ago
kaniini 0a82a7e6d6 Merge branch 'feature/split-hide-network' into 'develop'
6 years ago
Haelwenn 00d4333373 Merge branch 'features/glitch-soc-frontend' into 'develop'
6 years ago
Maxim Filippov 50d6183893 Split hide_network into hide_followers & hide_followings
6 years ago
William Pitcock 339c26e12b test: add status posting with OGP link preview test
6 years ago
William Pitcock 364cf5369b test: update mastodon status view tests
6 years ago
William Pitcock 132d815f1f mastodon api: factor out status card fetching, move status card rendering to statusview, add opengraph extended data
6 years ago
Haelwenn (lanodan) Monnier cda1470e02
[MastoAPI][GlitchAPI] Add bookmarks
6 years ago
kaniini 5eb81d2c72 Merge branch 'features/mastoapi-multi-hashtag' into 'develop'
6 years ago
Haelwenn (lanodan) Monnier a65c188593
Web.MastodonAPI.AccountView: Add is_moderator and is_admin
6 years ago
William Pitcock 1f7843b9b8 mastodon api: use OGP uri instead of page_url for deducing domain name, fix test
6 years ago
Haelwenn (lanodan) Monnier 3f64379b13 Web.MastodonAPI.MastodonAPIController: Add Rich-Media support
6 years ago
Haelwenn (lanodan) Monnier 22f2687f17
Web.MastodonAPI.MastodonAPIControllerTest: Update for difference between all and any parameters
6 years ago
Haelwenn (lanodan) Monnier 5a84def6a6
Fix the logic in multi-hashtag TLs
6 years ago
Haelwenn (lanodan) Monnier d8f446f438
Web.MastodonAPI.MastodonAPIControllerTest: Add test against multi-hashtag timeline
6 years ago
kaniini 4c99b6d35a Merge branch 'fix/tusky-dm' into 'develop'
6 years ago
lain 2de208817c Merge branch 'develop' into rename/pleroma_activity_consistency
6 years ago
Ivan Tashkinov 34d59e4008 [#502] Fixed User.active_local_user_query to return users with nil or missing `info.deactivated`. Adjusted test.
6 years ago
Haelwenn (lanodan) Monnier 98c8184c1f
Activity: get_create_activity_by_object_ap_id/1 → get_create_by_object_ap_id/1
6 years ago
Maxim Filippov 0a97badddd Format
6 years ago
Maxim Filippov 651a1d64b5 Add current user to mentioned
6 years ago
Maxim Filippov e116e55cab Add actor to recipients
6 years ago
Ivan Tashkinov 954dc4a4ad [#502] Fixed `user_count` in `/api/v1/instance` to include only active local users.
6 years ago
lain 943324b661 MastoAPI: Don't break on missing users.
6 years ago
lambda 608cc65d43 Merge branch 'feature/improve-microformats' into 'develop'
6 years ago
Ivan Tashkinov 90433b988e [#518] Fixed /api/v1/instance ("domain_count" value) and /api/v1/instance/peers responses.
6 years ago
William Pitcock 85a5be6220 tests: fixup
6 years ago
Sadposter 98d9ae0718 Add test for mastodon API /favourites endpoint
6 years ago
Egor Kislitsyn 6cbe63726d improve tests
6 years ago
Egor Kislitsyn 7b6c5f0a9d improve test readability
6 years ago
Egor Kislitsyn e679da4c34 add `pinned` property to `StatusView`
6 years ago
Egor Kislitsyn 63dbd87568 rename `post` to `status`
6 years ago
Egor Kislitsyn f24087f96e Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into feature/pinned-posts
6 years ago
Egor Kislitsyn 380e9fba21 add pinned posts
6 years ago
lain 7dcafb4894 MastoAPI: Add test.
6 years ago
kaniini bee6acd51d Merge branch 'feature/create-tombstone-instead-of-delete' into 'develop'
6 years ago
Vyr Cossont e4562105e7 Implement exclude_reblogs and include_rts
6 years ago
Maxim Filippov aeb89bece6 Remove unused test
6 years ago
Maxim Filippov f75f707f6c Revert Activity tombstones, add ObjectTombstone struct
6 years ago
Maxim Filippov 18a4cbb244 Capitalize "tombstone"
6 years ago
Maxim Filippov 0f412cf6e6 Create tombstone instead of object deletion
6 years ago
William Pitcock 3c08d229db tests: add legal boilerplate
6 years ago
William Pitcock 9f48485f64 tests: mastodon api: add test verifying that peertube videos are correctly rendered
6 years ago
Ivan Tashkinov aed0f90287 [#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
href b12a904911
Integration tests for mastodon websocket
6 years ago
eal 28478a9c4f Merge branch 'fix/masto-put-settings' into 'develop'
6 years ago
eal 4c783e35c0 Mastodon API: Fix PUT /api/web/settings
6 years ago
Maksim Pechnikov ea72ac549b fix case when tags is invalid
6 years ago
Maksim Pechnikov d3ec09bb38 fix tags
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
Maksim Pechnikov 9442588ae9 fix hashtags in api response
6 years ago
Ivan Tashkinov 7a2162bbcb [#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
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