William Pitcock
497814cbbb
test: update test for new html scrub policy
5 years ago
William Pitcock
b1be9415ef
Revert "Merge branch 'revert-a26d5e6b' into 'develop'"
This reverts commit d31bbb1cfe04ca6073a322bcf77239e7d4b79839, reversing
changes made to 340ab3cb90
.
5 years ago
Haelwenn (lanodan) Monnier
a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
5 years ago
Haelwenn (lanodan) Monnier
82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
5 years ago
William Pitcock
d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
5 years ago
Haelwenn (lanodan) Monnier
eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
5 years ago
Haelwenn (lanodan) Monnier
2c820e10b8
transmogrifier_test: incoming notices with tag not being an array (kroeg)
5 years ago
William Pitcock
56577d8b48
twitter api: add no_rich_text option to userview for account prefs
5 years ago
Haelwenn (lanodan) Monnier
a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
5 years ago
Haelwenn (lanodan) Monnier
43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
5 years ago
shadowfacts
85b8590109
Update status_view_test.exs
5 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.
5 years ago
Martin Kühl
ff38ffd9f8
Fix the tests
5 years ago
William Pitcock
d3f6814feb
tests: add test for staffAccounts presence in nodeinfo
5 years ago
William Pitcock
834515fb51
formatter: don't add XSS emoji
5 years ago
William Pitcock
303af9ba4c
tests: add regression tests
5 years ago
Martin Kühl
b60d232719
AccountView: `sensitive` is supposed to be a boolean, not a string
5 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.
5 years ago
lambda
58539e1357
Revert "Merge branch 'feature/rich-text' into 'develop'"
This reverts merge request !309
5 years ago
William Pitcock
e7871ed05e
tests: add tests for evil HTML filtering
5 years ago
William Pitcock
9cac7c957c
test: add testcase proving lists system does not leak non-public posts
5 years ago
Henry Jameson
0f1c629d65
better solution, added test.
5 years ago
Haelwenn (lanodan) Monnier
6e030129fb
[MastodonAPI] Add filters
5 years ago
Haelwenn (lanodan) Monnier
d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
5 years ago
William Pitcock
86dca39640
tests: fix formatting
5 years ago
William Pitcock
aab2bdddf4
twitter api: provide object descriptions as attachment description field
5 years ago
William Pitcock
bc36d40bee
tests: add a testcase for verifying that objects without a valid ID are always rejected
5 years ago
Haelwenn (lanodan) Monnier
74c74decf5
Basic peertube support.
6 years ago
ensra
2b5db840ee
attempt to add html validation to mastodon api test case
5 years ago
ensra
e883587cc3
this should be looking at the follower's bio, not the user's bio.
fixes test.
5 years ago
ensra
f533daffdb
sync bio sanitization code in tests
5 years ago
William Pitcock
7fbcd4caaf
test: add kroeg fixtures
5 years ago
eal
92caa2632b
Use Image type for emoji icons.
5 years ago
eal
f9d13558c8
CommonAPI: add emoji to user source data on update
5 years ago
eal
ed9738e031
Add tests for emoji in user profiles
Also use the correct field in TwitterAPI...
5 years ago
eal
cee63ad3f7
TwitterAPI user view: add screen_name_html and description_html.
5 years ago
William Pitcock
3026177206
test: use private visibility for twitterapi update consistency test, to ensure that a second activity isn't relayed
5 years ago
hakabahitoyo
9c1b6f11c5
improve test
6 years ago
hakabahitoyo
908cefd84a
debug
6 years ago
hakabahitoyo
9c2afb2e71
improve test
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
24b5a75d09
Add test for Plume Articles
6 years ago
William Pitcock
f1a29fc43c
test: ostatus controller: add AS2 fetching tests
6 years ago
William Pitcock
4fb64c1d86
testsuite: twitter api: add summary where necessary
6 years ago
William Pitcock
8546551257
activitypub: switch to using x509 representation for public keys instead of pkcs#1
6 years ago
William Pitcock
66819ea784
twitter api: use ActivityView.render_content() where appropriate instead of duplicating the logic
6 years ago
William Pitcock
32211c4ada
tests: add default_scope where appropriate
6 years ago
Vivian Lim
6160a1b3c0
mix format
6 years ago
Vivian Lim
1299bccc7d
return unquoted empty array from /api/qvitter/mutes.json
6 years ago