Ivan Tashkinov
be9d18461a
FollowingRelationship storage & performance optimizations (state turned `ecto_enum`-driven integer, reorganized indices etc.).
преди 4 години
Ivan Tashkinov
dfbc05d496
Misc refactoring / tweaks (`ThreadMute.exists?/2`).
преди 4 години
Ivan Tashkinov
460e41585c
Further preloading (more endpoints), refactoring, tests.
преди 4 години
Egor Kislitsyn
9081a071ee
Add a test for accounts/update_credentials
преди 4 години
Ivan Tashkinov
e743c22329
Fixed incorrect usage of "relations" as a short form of "relationships".
преди 4 години
Ivan Tashkinov
13cbb9f6ad
Implemented preloading of relationships with parent activities' actors for statuses/timeline rendering. Applied preloading for notifications rendering. Fixed announces rendering issue (preloading-related).
преди 4 години
Egor Kislitsyn
d1a9716a98
Fix activity deletion
преди 4 години
lain
eec1fcaf55
Home timeline tests: Add failing test for relationships
преди 4 години
Haelwenn (lanodan) Monnier
15be6ba9c2
AccountView: fix for other forms of <br> in bio
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1643
преди 4 години
Ivan Tashkinov
1c05f539aa
Improved in-test `clear_config/n` applicability (setup / setup_all / in-test usage).
преди 4 години
Alexander Strizhakov
fe15f0ba15
restrict_unauthenticated setting
преди 4 години
Alexander Strizhakov
98a60df41f
include_types parameter in /api/v1/notifications
преди 4 години
Ivan Tashkinov
ec3719f539
Improved in-test config management functions.
преди 4 години
Ivan Tashkinov
7438833685
[ #1364 ] Improved notification-related tests.
преди 4 години
eugenijm
13cce9c0de
Admin API: `PATCH /api/pleroma/admin/users/:nickname/credentials`, `GET /api/pleroma/admin/users/:nickname/credentials`.
преди 4 години
eugenijm
d198e7fa2a
Admin API: `PATCH /api/pleroma/admin/users/:nickname/change_password`
преди 4 години
Alexander Strizhakov
f3791add99
removing with_move parameter
преди 4 години
Alexander Strizhakov
dc2ec84c0f
warnings fix
преди 4 години
Alexander Strizhakov
89e4b3ebbd
fix for content-type header for tag feed
преди 4 години
Alexander Strizhakov
91870c8995
adding rss for user feed
преди 4 години
Alexander Strizhakov
26e2076659
fix for feed page pagination
преди 4 години
Haelwenn (lanodan) Monnier
0ac6e29654
static_fe: Sanitize HTML in posts
Note: Seems to have different sanitization with TwitterCard generator giving
the following:
<meta content=\"“alert('xss')”\" property=\"twitter:description\">
преди 4 години
Ivan Tashkinov
7c8003c3fc
[ #1364 ] Improved control over generation / sending of notifications. Fixed blocking / muting users notifications issue. Added tests.
преди 4 години
Haelwenn (lanodan) Monnier
dca21cd1d6
test/earmark_renderer_test.exs: Rename from test/earmark_renderer_test.ex
Wasn't in the test suite otherwise
преди 4 години
rinpatch
e87a32bcd7
rip out fetch_initial_posts
Every time someone tries to use it, it goes mad and tries to scrape the
entire fediverse for no visible reason, it's better to just remove it
than continue shipping it in it's current state.
idea acked by lain and feld on irc
Closes #1595 #1422
преди 4 години
rinpatch
fc4496d4fa
rate limiter: disable based on if remote ip was found, not on if the plug was enabled
The current rate limiter disable logic won't trigger when the remote ip
is not forwarded, only when the remoteip plug is not enabled, which is
not the case on most instances since it's enabled by default. This
changes the behavior to warn and disable when the remote ip was not forwarded,
even if the RemoteIP plug is enabled.
Also closes #1620
преди 4 години
Mark Felder
db36b48180
Remove test verifying we preserve cache-control headers; we don't
преди 4 години
Mark Felder
470090471d
Fix test to use new cache-control settings
преди 4 години
Egor Kislitsyn
fffc382f13
Fix hashtags WebSocket streaming
преди 4 години
Haelwenn (lanodan) Monnier
d1379c4de8
Formatting: Do not use \n and prefer <br> instead
It moves bbcode to bbcode_pleroma as the former is owned by kaniini
and transfering ownership wasn't done in a timely manner.
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1374
Closes: https://git.pleroma.social/pleroma/pleroma/issues/1375
преди 4 години
rinpatch
c3b9fbd3a7
Revert "Set better Cache-Control header for static content"
On furher investigation it seems like all that did was cause unintuitive
behavior. The emoji request flood that was the reason for introducing it
isn't really that big of a deal either, since Plug.Static only needs to
read file modification time and size to determine the ETag.
Closes #1613
преди 4 години
Alexander Strizhakov
282a93554f
merging release default config on app start
преди 4 години
Ivan Tashkinov
5b696a8ac1
[ #1560 ] Enforced authentication for non-federating instances in StaticFEController.
преди 4 години
Mark Felder
5af798f246
Fix enforcement of character limits
преди 4 години
Ivan Tashkinov
5fc92deef3
[ #1560 ] Ensured authentication or enabled federation for federation-related routes. New tests + tests refactoring.
преди 4 години
Ivan Tashkinov
40765875d4
[ #1560 ] Misc. improvements in ActivityPubController federation state restrictions.
преди 4 години
eugenijm
ad22e94f33
Exclude private and direct statuses visible to the admin when using godmode
преди 4 години
lain
f1750b4658
Admin API tests: Fix wrong test.
преди 4 години
lain
4bce13fa2f
MastodonController: Return 404 errors correctly.
преди 4 години
Mark Felder
5592db4757
Older copyright updates
преди 4 години
Mark Felder
05da5f5cca
Update Copyrights
преди 4 години
Ivan Tashkinov
b6fc98d9cd
[ #1560 ] ActivityPubController federation state restrictions adjustments. Adjusted tests.
преди 4 години
Ivan Tashkinov
bd8624d649
[ #1560 ] Added tests for non-federating instance bahaviour to OStatusControllerTest.
преди 4 години
Ivan Tashkinov
b4367125e9
[ #1560 ] Added tests for non-federating instance bahaviour to ActivityPubControllerTest.
преди 4 години
Alexander Strizhakov
cc98d010ed
relay list shows hosts without accepted follow
преди 4 години
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 години
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 години
Alexander Strizhakov
32d1e04817
ActivityPub actions & side-effects in transaction
преди 4 години
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 години
Ivan Tashkinov
c747260989
[ #2250 ] Tiny refactoring per merge request review.
преди 4 години