William Pitcock
980b5288ed
update copyright years to 2019
6 years ago
Ivan Tashkinov
0a41786624
[ #467 ] Refactored valid / invalid user rendering.
6 years ago
Ivan Tashkinov
0d1788ce44
[ #471 ] Factored out User.visible_for?/2.
6 years ago
Ivan Tashkinov
e6aeb1d4a5
[ #471 ] Prevented rendering of inactive local accounts.
6 years ago
William Pitcock
2791ce9a1f
add license boilerplate to pleroma core
6 years ago
Ivan Tashkinov
aed0f90287
[ #114 ] Added `pleroma.confirmation_pending` to user views, adjusted view tests.
6 years ago
Ivan Tashkinov
7a2162bbcb
[ #394 ] User view (Twitter & Mastadon API): wrapped "tags" in "pleroma" map.
6 years ago
Ivan Tashkinov
7bcb6a183a
[ #394 ] Refactoring.
6 years ago
Ivan Tashkinov
7b19487389
[ #394 ] Added `users.tags` and admin routes to tag and untag users. Added tests.
6 years ago
lain
0896cf4c0f
Fix most mastodon api bugs.
6 years ago
William Pitcock
7f530f6f80
mastodon api: relationship view: better handle no pre-existing follow activity
6 years ago
William Pitcock
3e751496e3
mastodon api: account view: fetch follow state and use it to populate `requested` field
6 years ago
William Pitcock
958e085acb
mastodon api: add support for user-supplied html policy
6 years ago
Haelwenn (lanodan) Monnier
a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
6 years ago
William Pitcock
ac486fc59b
everywhere: use Pleroma.HTML module instead of HtmlSanitizeEx directly
6 years ago
Martin Kühl
619f67768a
Mastodon API: Add unsupported attributes to relationship responses
...
These attributes are documented as required by the Mastodon API.
Since we don’t support them (I think?), respond with default values.
6 years ago
Haelwenn
4a3dbd9d4e
Merge branch 'fix/sign-in-with-toot' into 'develop'
...
Fix sign-in and sign-out with Toot!
See merge request pleroma/pleroma!306
6 years ago
kaniini
1c9e539b47
Merge branch 'feature/mastodon_api_2.4.x' into 'develop'
...
Add/Fix Mastodon endpoints for 2.4.3 compatibility
See merge request pleroma/pleroma!266
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
...
Certain Mastodon/Pleroma front ends call verify_credentials to get the
default scope of a new toot.
Currently, Pleroma hardcodes this value to "public".
This patch changes it to the user's default_scope value.
6 years ago
href
ddc6f32b75
Fix Mastodon API when actor's nickname is null
6 years ago
Haelwenn (lanodan) Monnier
a5adb251ab
[Pleroma.Web.MastodonAPI.AccountView]: Add fields support
6 years ago
Haelwenn (lanodan) Monnier
d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
6 years ago
ensra
175f0bebbc
mastodon api: sanitize the bio HTML
6 years ago
eal
c2d1a5e9c4
MastoAPI AccountView: render profile emoji.
6 years ago
Haelwenn (lanodan) Monnier
359093d73b
Fake 2.4.0 API
6 years ago
William Pitcock
c0ca9f82b9
mastodon api: properly track if an account is locked or not
6 years ago
lain
95e6e82138
Correctly display accounts without name.
7 years ago
eal
14b086eec2
Add a default profile picture and banner.
...
This removes the placehold.it dependency.
7 years ago
href
5f35fdcf5d
media proxy: good enough wip
7 years ago
Thog
59770c3f5c
Fix all compilation warnings
7 years ago
Roger Braun
6e9c22c0af
MastoAPI: Use string ids everywhere.
7 years ago
Roger Braun
33beb51da4
MastoAPI: Add blocking to AccountView.
7 years ago
Roger Braun
0872f5f394
Add undocumented default user default settings.
7 years ago
Roger Braun
d659fcc195
MastoAPI: Fix date in account view.
7 years ago
Roger Braun
b0363e8055
MastoAPI: Add favourited_by/reblogged_by.
7 years ago
Roger Braun
3184939055
Ensure non-null bio.
7 years ago
Roger Braun
e6286152b9
Fix logic.
7 years ago
Roger Braun
49929321c7
Add relationships to masto api.
7 years ago
Roger Braun
44a650235b
MastoAPI: Remove domain ending from account name.
7 years ago
Roger Braun
e8975d06be
Add header image to masto api.
7 years ago
Roger Braun
c6bdc5960c
Test for Mastodon AccountView
...
Handles users and mentions.
7 years ago