336d06b2a8
Significantly tighten HTTP CSP
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-02 15:21:19 +00:00
57e51fe62c
Migrate Pleroma.Web to phoenix 1.6 formats
ci/woodpecker/push/woodpecker Pipeline is pending
2023-01-02 03:29:02 +00:00
6e646c4cbc
Use a genserver to periodically fetch metrics
...
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline was successful
Ref https://github.com/beam-telemetry/telemetry_metrics_prometheus_core/issues/52
2023-01-01 18:32:14 +00:00
c4b46ca460
Add /api/v1/followed_tags
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-12-31 18:09:34 +00:00
745e15468e
Use same context for quote posts as the post that's being quoted ( #379 )
...
ci/woodpecker/push/woodpecker Pipeline is pending
See #350 (comment)
When making quotes through Mast-API, they will now have the same context as the quoted post. This also results in them being showed when fetching the thread. I checked Misskey to see how it's there, and they show the quotes there as well, see e.g. <https://mk.toast.cafe/notes/98u1g0tulg >.
An example from Akkoma:
Co-authored-by: ilja <git@ilja.space>
Reviewed-on: #379
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
2022-12-31 18:09:27 +00:00
b8f280b4b5
Rich media doesn't need to be a map
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-31 03:53:52 +00:00
bf7ff6a337
Put rich media processing in a Task
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-30 20:11:53 +00:00
5d4c291d52
update references to pleroma in docs
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-30 03:43:35 +00:00
9be6caf125
argon2 password hashing ( #406 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #406
2022-12-30 02:46:58 +00:00
a5e98083f2
Add link verification in profile fields ( #405 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #405
2022-12-29 20:56:06 +00:00
Atsuko Karagi
4a78c431cf
Simplified HTTP signature processing
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-19 20:41:48 +00:00
Atsuko Karagi
e17c71a389
Respect restrict_unauthenticated in /api/v1/accounts/lookup
2022-12-19 20:32:16 +00:00
233c4bb3ba
revert 28ab09d377
...
ci/woodpecker/push/woodpecker Pipeline is pending
revert Remove unused dependencies
2022-12-19 02:34:46 +00:00
28ab09d377
Remove unused dependencies
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-19 02:26:04 +00:00
3d546409b2
remove now-unused test
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-17 23:21:24 +00:00
52d8183787
drop admin scopes on create app instead of rejecting
2022-12-17 23:14:49 +00:00
b91e671c0d
add remote user count for the heck of it
2022-12-16 17:22:26 +00:00
1f5bc4d68a
remove unused variable
2022-12-16 12:36:34 +00:00
9a320ba814
make 2fa UI less awful
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline failed
2022-12-16 11:50:25 +00:00
48d302a60f
allow disabling prometheus entirely
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-16 11:17:04 +00:00
d1a0d93bf7
document prometheus
2022-12-16 10:24:36 +00:00
c2054f82ab
allow users with admin:metrics to read app metrics
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-16 03:32:51 +00:00
b8be8192fb
do not allow non-admins to register tokens with admin scopes
...
this didn't actually _do_ anything in the past,
the users would be prevented from accessing the resource,
but they shouldn't be able to even create them
2022-12-16 03:25:14 +00:00
e2320f870e
Add prometheus metrics to router
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-15 02:02:07 +00:00
Tim Buchwaldt
29584197bb
Measure stats-data
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
63be819661
Take tesla telemetry
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
0995fa1410
Track oban failures
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
f8d3383179
Fix oban tags
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
a06bb694c1
Listen to loopback
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
1e9c2cd8ef
Fix buckets for query timing
2022-12-15 01:04:56 +00:00
Tim Buchwaldt
33243c56e5
Start adding telemetry
2022-12-15 01:04:55 +00:00
07a48b9293
giant massive dep upgrade and dialyxir-found error emporium ( #371 )
...
ci/woodpecker/push/woodpecker Pipeline is pending
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #371
2022-12-14 12:38:48 +00:00
duponin
3e9c0b380a
Return 413 when an actor's banner or background exceeds the size limit
2022-12-12 17:28:14 -05:00
duponin
c9304962c3
Uploading an avatar media exceeding max size returns a 413
...
Until now it was returning a 500 because the upload plug were going
through the changeset and ending in the JSON encoder, which raised
because struct has to @derive the encoder.
2022-12-12 17:28:09 -05:00
9d9c26b833
Ensure Gun is Gone
2022-12-11 19:26:21 +00:00
68894089e8
Do not fetch anything from blocked instances
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-10 00:09:45 +00:00
a1515f9a60
Add some extra info around possible nils
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-09 23:45:51 +00:00
739ed14f54
Revert "mandate published on notes"
...
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This reverts commit e49b583147
.
2022-12-09 20:59:26 +00:00
e49b583147
mandate published on notes
...
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline failed
fixes #356
2022-12-09 20:27:54 +00:00
f5a315f04c
Add URL and code to :not_found errors
...
Ref #355
2022-12-09 20:13:31 +00:00
dcf58a3c53
Do not pass transient undo-y activities through MRF
2022-12-09 20:01:38 +00:00
9db4c2429f
Remove FollowBotPolicy
2022-12-09 19:59:27 +00:00
6f83ae27aa
extend reject MRF to check if originating instance is blocked
2022-12-09 19:57:29 +00:00
d5828f1c5e
Merge remote-tracking branch 'ilja/fix_tagpolicy_to_also_work_on_updates' into develop
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-09 10:31:22 +00:00
0eaec57d3f
mix format
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-09 10:24:38 +00:00
ilja
1f863f0a36
Fix MRF policies to also work with Update
...
ci/woodpecker/pr/woodpecker Pipeline failed
Objects who got updated would just pass through several of the MRF policies, undoing moderation in some situations.
In the relevant cases we now check not only for Create activities, but also Update activities.
I checked which ones checked explicitly on type Create using `grep '"type" => "Create"' lib/pleroma/web/activity_pub/mrf/*`.
The following from that list have not been changed:
* lib/pleroma/web/activity_pub/mrf/follow_bot_policy.ex
* Not relevant for moderation
* lib/pleroma/web/activity_pub/mrf/keyword_policy.ex
* Already had a test for Update
* lib/pleroma/web/activity_pub/mrf/object_age_policy.ex
* In practice only relevant when fetching old objects (e.g. through Like or Announce). These are always wrapped in a Create.
* lib/pleroma/web/activity_pub/mrf/reject_non_public.ex
* We don't allow changing scope with Update, so not relevant here
2022-12-08 23:22:05 +01:00
ilja
ce517ff4e5
Fix tagpolicy to also work with Update
...
ci/woodpecker/pr/woodpecker Pipeline is pending
Objects who got updated would just pass the TagPolicy, undoing the moderation that was set in place for the Actor.
Now we check not only for Create activities, but also Update activities.
2022-12-08 21:53:42 +01:00
cb3ccf5f47
Add check for null reply_to_user
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-07 13:41:12 +00:00
1afba64464
Redirect to standard FE if logged in
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-07 13:35:00 +00:00
c7369d6d03
GOOGLE
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-07 11:41:24 +00:00