f3b722bf53
Merge branch 'fork' into backend-new
2024-12-06 20:05:26 +01:00
ffa874eba7
Merge remote-tracking branch 'origin/develop' into fork
2024-11-25 19:16:02 +01:00
Lain Soykaf
14dbf789b3
Linting
2024-11-21 16:32:05 +04:00
Lain Soykaf
551534f3ee
B ReleaseTasks: Fix task module finding.
2024-11-21 16:07:09 +04:00
375e71631d
Merge remote-tracking branch 'origin/develop' into fork
2024-11-19 18:39:47 +01:00
9f5325727e
Merge branch 'fork' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-11-17 01:14:37 +01:00
lain
dcb0c47773
Merge branch 'mastodon-websocket-fix' into 'develop'
...
Fix Mastodon WebSocket authentication
See merge request pleroma/pleroma!4206
2024-11-13 08:22:44 +00:00
831e95595c
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-11-12 12:24:08 +01:00
lain
62bbed1e58
Merge branch 'token-view-scopes' into 'develop'
...
Include session scopes in TokenView
See merge request pleroma/pleroma!4273
2024-11-12 11:18:10 +00:00
lain
4626a9280a
Merge branch 'activity-pub-metadata' into 'develop'
...
Add metadata provider for ActivityPub alternate links
See merge request pleroma/pleroma!4286
2024-11-12 10:49:36 +00:00
Lain Soykaf
29b048d351
B TwitterAPI/ControllerTest: Actually test the keys
2024-11-12 14:35:02 +04:00
Lain Soykaf
2baa9b0072
Merge branch 'develop' into pleroma-token-view-scopes
2024-11-12 14:33:30 +04:00
Lain Soykaf
5b3e4cf49b
B Providers/ActivityPub: Ensure that nothing explodes on unexpected input.
2024-11-12 14:22:02 +04:00
lain
6941c47ac8
Merge branch 'develop' into 'tusooa/se-opt-out'
...
# Conflicts:
# lib/pleroma/web/metadata/providers/feed.ex
2024-11-12 09:58:28 +00:00
lain
ee3ab8b625
Merge branch 'atom-tag' into 'develop'
...
Metadata: Do not include .atom feed links for remote accounts
See merge request pleroma/pleroma!4281
2024-11-12 09:44:29 +00:00
Lain Soykaf
ebea518c8c
B DedupeTest: Add explicit test for the sharding structure
2024-11-12 12:43:16 +04:00
9d6d528bcb
Merge branch 'fork' into backend-new
2024-11-01 08:12:37 +01:00
Mark Felder
d2de251c4d
Pleroma.Upload.Filter.Dedupe: sharding directory structure
...
Dedupe now uses a three-level sharding directory structure to improve performance when many files are uploaded and stored on a filesystem instead of an object store. (note: Minio still affected as it still uses a traditional filesystem)
This does not help if you already have hundreds of thousands of files uploaded. The media URLs are permanently part of the activity so the files cannot be relocated. A motivated user could write a tool to move the files and perhaps write an Nginx or equivalent redirect to make the files still accessible, but that is beyond the scope of this change.
2024-10-29 16:00:18 -04:00
Mark Felder
7d5ef81737
Fix /api/v2/media returning the wrong status code for media processed synchronously
...
The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks.
https://docs.joinmastodon.org/methods/media/#v2
2024-10-27 21:52:42 -04:00
c396c2cc47
Merge branch 'bites-pleroma' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-21 20:47:27 +02:00
181581dd6b
Add test for BiteValidator
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-18 19:50:32 +02:00
61410ad886
Accept bites for objects
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-18 17:59:46 +02:00
c2f3242177
wip test
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-18 10:23:06 +02:00
d580f81f27
Merge branch 'fork' into backend-new
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-12 23:57:31 +02:00
60ec42cb9c
Add metadata provider for ActivityPub alternate links
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-12 23:45:18 +02:00
95edffdb19
Merge remote-tracking branch 'origin/develop' into fork
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-12 18:10:15 +02:00
feld
4557cd960e
Merge branch 'remote-report-policy' into 'develop'
...
Remote report policy
See merge request pleroma/pleroma!4280
2024-10-11 20:23:46 +00:00
feld
dd7f699d4a
Merge branch 'tusooa/3331-fix-incoming-block' into 'develop'
...
Fix incoming Blocks being rejected
Closes #3331
See merge request pleroma/pleroma!4282
2024-10-11 20:22:21 +00:00
feld
3f3f8bc57a
Merge branch 'poll-refresh' into 'develop'
...
Refactor Poll Refreshing
See merge request pleroma/pleroma!4278
2024-10-10 00:46:28 +00:00
Mark Felder
5b04c2bf13
Test the final refresh behavior of a PollWorker poll_end job
2024-10-09 20:15:00 -04:00
marcin mikołajczak
ddedc575e7
Merge branch 'hashtag-feeds-restricted' into 'develop'
...
Repesct :restrict_unauthenticated for hashtag rss/atom feeds
See merge request pleroma/pleroma!4266
2024-10-09 09:42:53 +00:00
tusooa
f758b6e37c
Fix incoming Blocks being rejected
2024-10-08 23:09:59 -04:00
marcin mikołajczak
07cfbe4ae8
Merge branch 'profile-image-descriptions' into 'develop'
...
Federate avatar/header descriptions
See merge request pleroma/pleroma!4264
2024-10-06 20:05:36 +00:00
0c41d986de
Metadata: Do not include .atom feed links for remote accounts
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 17:02:31 +02:00
84b4368211
Metadata: Do not include .atom feed links for remote accounts
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-06 17:02:17 +02:00
3c78a4509e
Merge remote-tracking branch 'origin/poll-refresh' into fork
2024-10-03 21:03:17 +02:00
34293e1780
Merge remote-tracking branch 'origin/develop' into fork
2024-10-03 20:25:18 +02:00
Mint
48af6850fc
RemoteReportPolicy: Fix third-party report detection
2024-10-03 20:00:36 +03:00
Mint
fd83b86b99
RemoteReportPolicy: add reject_third_party
option
2024-10-03 20:00:15 +03:00
Alex Gleason
b7c91876d2
RemoteReportPolicy: add :reject_all
option, fix tests
2024-10-03 19:59:39 +03:00
Alex Gleason
4533f171ab
Add RemoteReportPolicy to reject reports without enough information
2024-10-03 19:59:39 +03:00
Mark Felder
fa8de790df
Remove test superceded by logic change
...
We will not be inserting jobs that should be skipped due to updated_at
2024-10-03 10:19:11 -04:00
Mark Felder
ba2ae5e40b
Check if a refresh is permitted by comparing timestamps before attempting to insert an Oban job
...
It's better to avoid inserting an Oban job that will just be rejected if it's not expensive to check.
2024-10-03 10:14:02 -04:00
tusooa
35bd197733
Fix nonexisting user will not generate metadata for search engine opt-out
2024-10-02 18:41:35 -04:00
Mark Felder
0a42a3f2ea
Do not attempt to schedule poll refresh jobs for local activities
2024-10-02 11:05:17 -04:00
Mark Felder
b735d9e6e1
Improve assertion
2024-09-30 14:55:38 -04:00
Mark Felder
a1b384f63c
Test that a poll refresh is cancelled if updated_at on the object is newer than the poll closing time
2024-09-30 14:45:41 -04:00
Mark Felder
b2340b5b77
Permit backdating the poll closed timestamp
2024-09-30 14:45:13 -04:00
Mark Felder
766edfe5b2
Test Poll refresh jobs stream out updates after refetching the object
2024-09-30 14:32:28 -04:00
Mark Felder
47ce3a4a96
Schedule a final poll refresh before streaming out the notifications
2024-09-30 14:17:35 -04:00