Ivan Tashkinov
6f2efb1c45
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
4 years ago
Egor Kislitsyn
cb60a9c42f
Do not fail when user has no email
4 years ago
eugenijm
4ab07cf0d5
Admin API: Exclude boosts from `GET /api/pleroma/admin/users/:nickname/statuses` and `GET /api/pleroma/admin/instance/:instance/statuses`
4 years ago
eugenijm
e2a6a40367
Admin API: `GET /api/pleroma/admin/statuses` - list all statuses (accepts `godmode` and `local_only`)
4 years ago
Egor Kislitsyn
f446744a6a
Allow account registration without an email
4 years ago
Egor Kislitsyn
c495e6d387
Add a test to ensure OAuth tokens are tied to Push subscriptions
4 years ago
Alexander Strizhakov
3eccdd15aa
compile fix
4 years ago
rinpatch
5e4fe0e8f7
instance.gen task: fix crash when using custom static directory
Closes #1082
4 years ago
eugenijm
7ad5c51f23
Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
4 years ago
Haelwenn (lanodan) Monnier
f9fe6a9e30
Captcha: return invalid when answer_data is nil
4 years ago
Haelwenn (lanodan) Monnier
ee57663d34
captcha_test.exs: Use the same testing logic in Kocaptcha and native
4 years ago
Ivan Tashkinov
0cf1d4fcd0
[ #1560 ] Restricted AP- & OStatus-related routes for non-federating instances.
4 years ago
lain
314928333a
Pleroma API: Add endpoint to get reaction information on a single emoji
4 years ago
Egor Kislitsyn
ca7ac068f0
Add a test
4 years ago
rinpatch
472132215e
Use floki's new APIs for parsing fragments
4 years ago
Ivan Tashkinov
269d592181
[ #1505 ] Restricted max thread distance for fetching replies on incoming federation (in addition to reply-to depth restriction).
4 years ago
Haelwenn (lanodan) Monnier
1257331291
MastodonAPI.StatusView: Do not use site_name
site_name allow to spoof the origin of the domain and so hacks like:
<!-- served on https://hacktivis.me/tmp/joinmastodon.org.html -->
<meta property="og:image" content="https://hacktivis.me/datalove/img/meme/pleroma/mastodon%2C%20forbidden%20amuse%20yourself.jpeg " />
<meta property="og:title" content="Mastodon: Forbidden Amuse Yourself" />
<meta property="og:site_name" content="joinmastodon.org" />
<meta http-equiv="refresh" content="0; url=http://joinmastodon.org/ ">
4 years ago
Ivan Tashkinov
4f8c3462a8
Tweaks to `clear_config` calls in tests in order to prevent side effects on config during test suite execution.
4 years ago
Egor Kislitsyn
19516af74e
Fix `status.expires_in` validation
4 years ago
Mark Felder
ff9fd4ca89
Fix the confusingly named and inverted logic of "no_attachment_links"
The setting is now simply "attachment_links" and the boolean value does
what you expect. A double negative is never possible and describing the
functionality is no longer a philospher's worst nightmare.
4 years ago
Egor Kislitsyn
58b2017aa0
Restore TwitterAPI tests
4 years ago
Egor Kislitsyn
50d9fcbe29
Hotlink logo instead of attachment
4 years ago
feld
237b2068f9
Revert "Merge branch 'feat/floki-fasthtml' into 'develop'"
This reverts merge request !2194
4 years ago
rinpatch
ea1631d7e6
Make Floki use fast_html
4 years ago
Ivan Tashkinov
b95dd5e217
[ #1505 ] Improved replies-handling tests: updated Mastodon message fixture, used exact Pleroma federation message.
4 years ago
Ivan Tashkinov
24e49d14f2
[ #1505 ] Removed wrapping of reply URIs into `first` element, added comments to transmogrifier tests.
4 years ago
Ivan Tashkinov
7c3991f59e
[ #1505 ] Fixed `replies` serialization (included objects' ids instead of activities' ids).
4 years ago
Haelwenn
1e74bbc495
Merge branch 'fix-streaming-reblog' into 'develop'
Streamer: Correctly handle reblog mutes
Closes #1129 and #1438
See merge request pleroma/pleroma!2156
4 years ago
rinpatch
40727b28a7
Merge branch 'fix/truncate-remote-user-fields' into 'develop'
Truncate remote user fields
See merge request pleroma/pleroma!1619
4 years ago
Maksim Pechnikov
f486556346
fixed Metadata.Utils.scrub_html_and_truncate
4 years ago
Ivan Tashkinov
d458f4fdca
[ #1505 ] Added tests, changelog entry, tweaked config settings related to replies output on outgoing federation.
4 years ago
Alexander Strizhakov
dad23e3766
need_reboot flag
4 years ago
Lain Soykaf
d85bcc8627
Questions: Add timezone to `closed` property
4 years ago
Lain Soykaf
4538a1ee01
EmojiReactions: Remove old API endpoints
4 years ago
Lain Soykaf
f875b9650a
EmojiReactions: Add Mastodon-aligned reaction endpoints, change response
4 years ago
Egor Kislitsyn
bc2e98b200
Add User.get_follow_state/2
4 years ago
Lain Soykaf
8a79f20c21
EmojiReactions: Rename to EmojiReacts
4 years ago
Egor Kislitsyn
8b9742ecf5
Cancellation of a follow request for a remote user
4 years ago
Alexander Strizhakov
c85aa6e87f
removing confusing error
4 years ago
Alexander Strizhakov
5db6ac8ee4
removing migrate_from_db endpoint from admin api
4 years ago
Egor Kislitsyn
8c71f7e11a
Add support for cancellation of a follow request
4 years ago
rinpatch
50f5a92021
fix not being able to pin polls
4 years ago
rinpatch
983a87175e
mastodon API: do not sanitize html in non-html fields
4 years ago
Roman Chvanikov
8057157ee3
Make attachments cleanup optional
4 years ago
lain
01fb4dbeae
Emoji Reactions: Add fixtures
4 years ago
lain
a0d9d42eaa
Emoji Reactions: Actually use the validation.
4 years ago
Alexander Strizhakov
e7fee0d6fa
emoji api error on not writable dir
4 years ago
lain
e2e9299b8e
Streamer Tests: code readability improvements
4 years ago
lain
b3a877d6c9
Emoji Reactions: Correctly handle deleted users
4 years ago
lain
a802e07241
Emoji Reactions: Add `reacted` field to emoji reactions
4 years ago