Alexander Strizhakov
137c600cae
stop connections manually
4 years ago
Haelwenn (lanodan) Monnier
6da6540036
Bump copyright years of files changed after 2020-01-07
Done via the following command:
git diff fcd5dd259a
--stat --name-only | xargs sed -i '/Pleroma Authors/c# Copyright © 2017-2020 Pleroma Authors <https:\/\/pleroma.social\/>'
4 years ago
Haelwenn (lanodan) Monnier
6c0d869d9d
Bump copyright years of files changed after 2019-01-01
Done via the following command:
git diff 1e6c102b
--stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
4 years ago
Alexander Strizhakov
32d1e04817
ActivityPub actions & side-effects in transaction
4 years ago
rinpatch
4d416343fa
rate limiter: Fix a race condition
When multiple requests are processed by rate limiter plug at the same
time and the bucket is not yet initialized, both would try to initialize
the bucket resulting in an internal server error.
4 years ago
Ivan Tashkinov
c747260989
[ #2250 ] Tiny refactoring per merge request review.
4 years ago
Ivan Tashkinov
6f2efb1c45
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
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
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
Alexander Strizhakov
8efae966b1
open conn in separate task
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
Alexander Strizhakov
ad8f26c0a4
more info in Connections.checkin timout errors
4 years ago
lain
314928333a
Pleroma API: Add endpoint to get reaction information on a single emoji
4 years ago
Alexander Strizhakov
c9db0507f8
removing retry option and changing some logger messages levels
4 years ago
Mark Felder
138a3c1fe4
Spelling was wrong in test as well
4 years ago
Egor Kislitsyn
ca7ac068f0
Add a test
4 years ago
Alexander Strizhakov
514c899275
adding gun adapter
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
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