William Pitcock
497814cbbb
test: update test for new html scrub policy
hace 5 años
William Pitcock
b1be9415ef
Revert "Merge branch 'revert-a26d5e6b' into 'develop'"
This reverts commit d31bbb1cfe04ca6073a322bcf77239e7d4b79839, reversing
changes made to 340ab3cb90
.
hace 5 años
Haelwenn (lanodan) Monnier
a3cffd3566
formatter: Stop using phoenix HTML and format it ourselves
* Pheonix has an extra scheme whitelist conflicting with ours
* Pheonix doesn’t seems to do URL encoding, just HTML encoding
Closes: https://git.pleroma.social/pleroma/pleroma/issues/307
hace 5 años
Haelwenn (lanodan) Monnier
a74daabfae
[Pleroma.Web.TwitterAPI.UserViewTest]: Add test for mastodon-fields
hace 5 años
Haelwenn (lanodan) Monnier
82b57ebad1
[Pleroma.Web.TwitterAPI.UserView]: Add mastodon-fields in "fields"
hace 5 años
William Pitcock
d830a243a3
transmogrifier: more robustly handle dereferencing pointer URIs
hace 5 años
Haelwenn (lanodan) Monnier
eebe33e86a
transmogrifier: Add support for array-less hashtags, add broken announce, harden get_actor
hace 5 años
Haelwenn (lanodan) Monnier
2c820e10b8
transmogrifier_test: incoming notices with tag not being an array (kroeg)
hace 5 años
William Pitcock
85b59d07b6
test: add smoketests for the scrubbing policies
hace 5 años
William Pitcock
56577d8b48
twitter api: add no_rich_text option to userview for account prefs
hace 5 años
William Pitcock
bd03644ca8
test: add tests for new User.html_filter_policy()
hace 5 años
William Pitcock
200ab27e7a
test: add test proving that users are refreshed when stale
hace 5 años
Haelwenn (lanodan) Monnier
a8eaecadee
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
hace 5 años
Haelwenn (lanodan) Monnier
43d0b7bf7a
[Pleroma.Web.MastodonAPI.StatusView] add replies_count
hace 5 años
shadowfacts
85b8590109
Update status_view_test.exs
hace 5 años
William Pitcock
a4fe14de02
tests: break the cycle using pleroma.factory
hace 5 años
William Pitcock
fc92bb28b4
tests: try breaking the cycle a different way
hace 5 años
William Pitcock
33a5294fad
test: user enabled plug tests: fix circular reference
hace 5 años
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.
hace 5 años
lain
d22af29bb4
Fix warning.
hace 5 años
lain
44b094908c
Update legacy passwords automatically.
hace 5 años
Martin Kühl
ff38ffd9f8
Fix the tests
hace 5 años
lain
e601165426
Add UserEnabledPlug.
hace 5 años
lain
5ce1ebb179
Add SetUserSessionIdPlug.
hace 5 años
lain
12bc73dd28
Add EnsureUserKeyPlug, smaller fixes
hace 5 años
lain
32465b9939
Simplify AuthenticationPlug
hace 5 años
lain
9a96c93be7
Add SessionAuthenticationPlug.
hace 5 años
lain
a3f54fca4d
Add LegacyAuthenticationPlug
hace 5 años
lain
3cf17dc402
Add EnsureAuthenticatedPlug
hace 5 años
lain
faf5347748
Add UserFetcherPlug.
hace 5 años
lain
42bd985e66
Add BasicAuthDecoderPlug
hace 5 años
Moon Man
1a8bc26e52
auth against sha512-crypt password hashes, upgrade to pbkdf2
hace 5 años
William Pitcock
d3f6814feb
tests: add test for staffAccounts presence in nodeinfo
hace 5 años
William Pitcock
834515fb51
formatter: don't add XSS emoji
hace 5 años
William Pitcock
303af9ba4c
tests: add regression tests
hace 5 años
Martin Kühl
b60d232719
AccountView: `sensitive` is supposed to be a boolean, not a string
hace 5 años
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.
hace 5 años
Thurloat
a9c0f395cb
add nil clause for Formatter.get_emoji/1 to return an empty result
hace 5 años
lambda
58539e1357
Revert "Merge branch 'feature/rich-text' into 'develop'"
This reverts merge request !309
hace 5 años
William Pitcock
e7871ed05e
tests: add tests for evil HTML filtering
hace 5 años
William Pitcock
9cac7c957c
test: add testcase proving lists system does not leak non-public posts
hace 5 años
Henry Jameson
0f1c629d65
better solution, added test.
hace 5 años
Haelwenn (lanodan) Monnier
6e030129fb
[MastodonAPI] Add filters
hace 5 años
Haelwenn (lanodan) Monnier
d008f2d69c
[Pleroma.Web.MastodonAPI.AccountView]: Add bot field
hace 5 años
William Pitcock
86dca39640
tests: fix formatting
hace 5 años
William Pitcock
504a25f812
tests: add notification smoketests (ref #265 )
hace 5 años
William Pitcock
aab2bdddf4
twitter api: provide object descriptions as attachment description field
hace 5 años
William Pitcock
a8bd120ea6
tests: formatting
hace 5 años
William Pitcock
14d1187702
test: add testcase for formatter issue #163
hace 5 años
William Pitcock
bc36d40bee
tests: add a testcase for verifying that objects without a valid ID are always rejected
hace 5 años