summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api/account_view_test.exs
AgeCommit message (Collapse)Author
2019-08-26Move test/web/mastodon_api/*_test.exs to test/web/mastodon_api/controllers ↵Egor Kislitsyn
and test/web/mastodon_api/views
2019-08-14Fix testsEgor Kislitsyn
2019-08-09Mastodon API: Set follower/following counters to 0 when hidingrinpatch
followers/following is enabled We are already doing that in AP representation, so I think we should do it here as well for consistency.
2019-07-24Add `domain_blocking` to the relationship API (GET ↵Eugenij
/api/v1/accounts/relationships)
2019-07-16Add `pleroma.deactivated` to the Account entity (Mastodon API)Eugenij
2019-07-16Add the `blocked_by` attribute to the relationship API (`GET ↵Eugenij
/api/v1/accounts/relationships`)
2019-06-18Mastodon API: Sanitize display namesrinpatch
Closes #1000
2019-06-13AccountView: Add user background.lain
2019-06-04Merge branch 'develop' into issue/941Maksim Pechnikov
2019-06-04Merge branch 'generic-fe-settings' into 'develop'kaniini
Generic settings store for frontend user settings See merge request pleroma/pleroma!1221
2019-06-03fix testsMaksim Pechnikov
2019-05-31AccountView: settings -> settings_storelain
2019-05-31User: Add settings store to Info, AccountViewlain
This is to provide a generic frontend settings storage mechanism for all kinds of frontends.
2019-05-26tests: chase remote/local removalWilliam Pitcock
2019-05-25tests: chase notification setting changesWilliam Pitcock
2019-05-22MastoAPI AccountView: fill source.note with plaintext version of noteHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/926
2019-04-25Move settings to Source subentityrinpatch
2019-04-24Fix leaking private configuration parameters in Mastodon and Twitter APIs, ↵rinpatch
and add new configuration parameters to Mastodon API This patch: - Fixes `rights` in twitterapi ignoring `show_role` - Fixes exposing default scope of the user to anyone in Mastodon API - Extends Mastodon API to be able to show and set `no_rich_text`, `default_scope`, `hide_follows`, `hide_followers`, `hide_favorites` (requested by the FE in #674) Sorry in advance for 500 line one commit diff, I should have split it up to separate MRs
2019-04-22Use `User.get_cached*` everywhereEgor
2019-04-10Merge branch 'develop' into feature/user-status-subscriptionsSadposter
2019-04-05Change relationship direction of subscriptionsSadposter
2019-03-28Add PUT /api/pleroma/notification_settings endpointeugenijm
2019-03-15Fix tests to assume reblogs shown by defaultKaren Konou
2019-03-13[Credo] fix Credo.Check.Readability.AliasOrderHaelwenn (lanodan) Monnier
2019-02-27mastodon api: embed relationship card under account card for Pleroma FE ↵William Pitcock
convenience
2019-01-27Web.MastodonAPI.AccountView: Add is_moderator and is_adminHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/issues/557
2018-12-23tests: add legal boilerplateWilliam Pitcock
2018-12-18[#114] Added `pleroma.confirmation_pending` to user views, adjusted view tests.Ivan Tashkinov
2018-12-06[#394] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.Ivan Tashkinov
2018-12-06[#394] View tests fix.Ivan Tashkinov
2018-11-20mastodon api: account view: fix testsWilliam Pitcock
2018-09-20[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed ↵Haelwenn (lanodan) Monnier
value (false)
2018-09-07Mastodon API: Add unsupported attributes to relationship responsesMartin Kühl
These attributes are documented as required by the Mastodon API. Since we don’t support them (I think?), respond with default values.
2018-09-05Fix the testsMartin Kühl
2018-09-05Merge branch 'fix/sign-in-with-toot' into 'develop'Haelwenn
Fix sign-in and sign-out with Toot! See merge request pleroma/pleroma!306
2018-09-01AccountView: `sensitive` is supposed to be a boolean, not a stringMartin Kühl
2018-08-27[Pleroma.Web.MastodonAPI.AccountView]: Add bot fieldHaelwenn (lanodan) Monnier
2018-08-21attempt to add html validation to mastodon api test caseensra
2018-08-08Add tests for emoji in user profileseal
Also use the correct field in TwitterAPI...
2018-06-23Fake 2.4.0 APIHaelwenn (lanodan) Monnier
2018-06-19tests: fix a completely bogus mastodon api testWilliam Pitcock
2018-03-30Format the code.lain
2018-02-03move avi.png & banner.png from /priv/static/static to /priv/static/imagesHakaba Hitoyo
2018-01-15Add a default profile picture and banner.eal
This removes the placehold.it dependency.
2017-11-10MastoAPI: Use string ids everywhere.Roger Braun
2017-11-03MastoAPI: Add blocking to AccountView.Roger Braun
2017-09-16Add undocumented default user default settings.Roger Braun
2017-09-15MastoAPI: Fix date in account view.Roger Braun
2017-09-13Fix logic.Roger Braun
2017-09-13Add relationships to masto api.Roger Braun