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\/>'
pirms 4 gadiem
Alexander Strizhakov
34f1d09f3a
spec fix
pirms 4 gadiem
Alexander Strizhakov
ba87ed7335
fix for compiling
pirms 4 gadiem
Alexander Strizhakov
32d1e04817
ActivityPub actions & side-effects in transaction
pirms 4 gadiem
rinpatch
b5465bf385
timeline controller: add a TODO for replacing copypaste with a macro
pirms 4 gadiem
rinpatch
ffcebe7e22
timeline controller: rate limit timelines to 3 requests per 500ms per timeline per ip/user
pirms 4 gadiem
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.
pirms 4 gadiem
rinpatch
df2173343a
pagination: limit the number of elements returned at one time to 40
pirms 4 gadiem
Ivan Tashkinov
c747260989
[ #2250 ] Tiny refactoring per merge request review.
pirms 4 gadiem
Ivan Tashkinov
3759b146c4
Apply suggestion to lib/pleroma/plugs/rate_limiter/rate_limiter.ex
pirms 4 gadiem
Ivan Tashkinov
6f2efb1c45
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
pirms 4 gadiem
eugenijm
4ab07cf0d5
Admin API: Exclude boosts from `GET /api/pleroma/admin/users/:nickname/statuses` and `GET /api/pleroma/admin/instance/:instance/statuses`
pirms 4 gadiem
eugenijm
e2a6a40367
Admin API: `GET /api/pleroma/admin/statuses` - list all statuses (accepts `godmode` and `local_only`)
pirms 4 gadiem
rinpatch
3bbfebd1c2
instance.gen task: make example instance name less confusing
See https://git.pleroma.social/pleroma/pleroma/merge_requests/2245#note_52217
pirms 4 gadiem
rinpatch
359faa8645
instance.gen task: remind to transfer the config to the database after
migrations
pirms 4 gadiem
rinpatch
cfa28dee32
instance.gen task: make instance name default to the domain
pirms 4 gadiem
Egor Kislitsyn
22018adae6
Fix Dialyzer warnings
pirms 4 gadiem
rinpatch
5e4fe0e8f7
instance.gen task: fix crash when using custom static directory
Closes #1082
pirms 4 gadiem
eugenijm
7ad5c51f23
Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
pirms 4 gadiem
Alexander Strizhakov
8efae966b1
open conn in separate task
pirms 4 gadiem
Haelwenn (lanodan) Monnier
f9fe6a9e30
Captcha: return invalid when answer_data is nil
pirms 4 gadiem
Alexander Strizhakov
d44f9e3b6c
fix for timeout clause
pirms 4 gadiem
Alexander Strizhakov
f604f9e470
hackney pool timeout
pirms 4 gadiem
Alexander Strizhakov
6806df80dd
don't log info ssl messages
pirms 4 gadiem
Alexander Strizhakov
ad8f26c0a4
more info in Connections.checkin timout errors
pirms 4 gadiem
Alexander Strizhakov
a03c420b84
by default don't use gun retries
remove conn depends on retry setting from config
pirms 4 gadiem
Ivan Tashkinov
3432294657
[ #1505 ] Fixed @spec for Queries.by_object_in_reply_to_id/3
pirms 4 gadiem
lain
314928333a
Pleroma API: Add endpoint to get reaction information on a single emoji
pirms 4 gadiem
Alexander Strizhakov
c9db0507f8
removing retry option and changing some logger messages levels
pirms 4 gadiem
Mark Felder
7d73e7a09a
Spelling
pirms 4 gadiem
Egor Kislitsyn
2ef70b55f5
Fix `status.expires_at` type
pirms 4 gadiem
Alexander Strizhakov
514c899275
adding gun adapter
pirms 4 gadiem
rinpatch
472132215e
Use floki's new APIs for parsing fragments
pirms 4 gadiem
Ivan Tashkinov
269d592181
[ #1505 ] Restricted max thread distance for fetching replies on incoming federation (in addition to reply-to depth restriction).
pirms 4 gadiem
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/ ">
pirms 4 gadiem
Mark Felder
478619782b
Standardize @behaviour usage in MRFs
pirms 4 gadiem
rinpatch
23049a077e
NodeInfo: Fix federating status not being reported when MRF
transparency is disabled
Closes #1568
pirms 4 gadiem
Egor Kislitsyn
19516af74e
Fix `status.expires_in` validation
pirms 4 gadiem
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.
pirms 4 gadiem
Egor Kislitsyn
50d9fcbe29
Hotlink logo instead of attachment
pirms 4 gadiem
feld
237b2068f9
Revert "Merge branch 'feat/floki-fasthtml' into 'develop'"
This reverts merge request !2194
pirms 4 gadiem
rinpatch
ea1631d7e6
Make Floki use fast_html
pirms 4 gadiem
rinpatch
c55301e760
Fix a compilation error under certain circumstances
I've noticed that sometimes when switching from develop to stable and back,
develop fails to compile and rm -r ing the _build and deps dirs doesn't
help at all.
This is due to Admin API controller needing to generate JSON description
of the config at compile time. Evaluating `config/description.exs`
calls `Generator.list_modules_in_dir/2`, which in turn predicts the
module names of files in the directory and tries to convert the
predicted name to *existing* atoms. Sometimes the compiler will
call that function before compiling the modules in the said directory,
so the conversion will of course fail.
This fixes it by removing the requirement of the atoms being existent.
The function is not subjected to any untrusted user input so this should
be safe. An ideal fix would be to block the compilation of docs before
all modules are compiled and then get a list of compiled elixir modules
under the namespace we want instead of directory hacks, but I have not
been able to figure out how to do that.
pirms 4 gadiem
Ivan Tashkinov
24e49d14f2
[ #1505 ] Removed wrapping of reply URIs into `first` element, added comments to transmogrifier tests.
pirms 4 gadiem
Ivan Tashkinov
6ea3c06d8d
[ #1505 ] Minor refactoring.
pirms 4 gadiem
Ivan Tashkinov
7c3991f59e
[ #1505 ] Fixed `replies` serialization (included objects' ids instead of activities' ids).
pirms 4 gadiem
rinpatch
8fda6303ba
Fix email mix task on OTP releases
Closes pleroma#1548
pirms 4 gadiem
Ivan Tashkinov
d458f4fdca
[ #1505 ] Added tests, changelog entry, tweaked config settings related to replies output on outgoing federation.
pirms 4 gadiem
Alexander Strizhakov
dad23e3766
need_reboot flag
pirms 4 gadiem
rinpatch
15ea75cd2a
Actually fix upload limit on OTP releases
Closes #1109
pirms 4 gadiem