Commit graph

15372 commits

Author SHA1 Message Date
lain
39a96876ef Merge branch 'soapbox-ref' into 'develop'
Update links to Soapbox

See merge request pleroma/pleroma!3774
2022-11-11 12:04:47 +00:00
eb70676931 Update links to Soapbox
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-11 12:13:30 +01:00
tusooa
717c5901f8
Render a generated reported activity properly 2022-11-09 23:02:27 -05:00
tusooa
6f047cc308
Do not strip reported statuses when configured not to 2022-11-09 22:36:57 -05:00
8661703c16 Merge remote-tracking branch 'soapbox/develop' into pleroma-events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-09 17:08:18 +01:00
Alex Gleason
aa926ce3d3 Merge branch 'fasttext-improvements' into 'develop'
Fasttext improvements

See merge request soapbox-pub/rebased!210
2022-11-08 23:59:59 +00:00
Alex Gleason
6dc55531db
mix format 2022-11-08 17:47:17 -06:00
Alex Gleason
0ed5f9dcab
Docker: use the lightweight fasttext model 2022-11-08 17:25:09 -06:00
Alex Gleason
f844c4ba13
ActivityDraft: detect language from content_html so it can strip links 2022-11-08 17:23:41 -06:00
Alex Gleason
728643b623
LanguageDetector: strip non-language text to (hopefully) improve accuracy 2022-11-08 17:06:16 -06:00
tusooa
481f50bcfd Merge branch 'docs/object_age-strip_followers' into 'develop'
ObjectAgePolicy: Make strip_followers behavior for followers-only explicit

See merge request pleroma/pleroma!3770
2022-11-07 14:07:30 +00:00
Haelwenn (lanodan) Monnier
648e012022 ObjectAgePolicy: Make strip_followers behavior for followers-only explicit 2022-11-07 14:58:47 +01:00
Alex Gleason
332b96b077 Merge branch 'mediaproxy-sha256' into 'develop'
MediaProxy: use SHA-256

See merge request soapbox-pub/rebased!208
2022-11-06 19:46:29 +00:00
Alex Gleason
272e022a71
OpenGraphTest: fix MediaProxy URL 2022-11-06 13:27:45 -06:00
Alex Gleason
22edf882a5
MediaProxy: use SHA-256 2022-11-06 12:02:42 -06:00
Alex Gleason
28c8948765 Merge branch 'reject-anon-report' into 'develop'
Add RemoteReportPolicy to reject reports without enough information

See merge request soapbox-pub/rebased!202
2022-11-06 14:39:06 +00:00
Alex Gleason
a911c6358a Merge branch 'deepl-endpoint' into 'develop'
DeepL: fix endpoint

See merge request soapbox-pub/rebased!206
2022-11-06 14:31:09 +00:00
Alex Gleason
ee58bcafc9
DeepL: endpoint to_string() 2022-11-06 08:29:03 -06:00
Alex Gleason
5e6bb2aed0
DeepL: fix endpoint 2022-11-06 08:24:54 -06:00
Alex Gleason
a01e88a9d3 Merge branch 'alexgleason-develop-patch-95089' into 'develop'
DeepL: not_empty_string

See merge request soapbox-pub/rebased!205
2022-11-06 14:17:19 +00:00
Alex Gleason
fc81e325e7 DeepL: not_empty_string 2022-11-06 14:16:56 +00:00
Alex Gleason
80a20b740f Merge branch 'alexgleason-develop-patch-47499' into 'develop'
Docker: try adding ca-certificates

See merge request soapbox-pub/rebased!204
2022-11-06 14:14:44 +00:00
Alex Gleason
9876794c8a Docker: try adding ca-certificates 2022-11-06 14:14:23 +00:00
Alex Gleason
04fe485015 Merge branch 'remove-shout' into 'develop'
Remove Shout feature

See merge request soapbox-pub/rebased!200
2022-11-06 14:11:39 +00:00
tusooa
8d704d384d Merge branch 'ci-coverage' into 'develop'
Test coverage: Switch to covertool to get cobertura output

See merge request pleroma/pleroma!3745
2022-11-06 02:19:27 +00:00
Alex Gleason
c6e0141073 Merge branch 'alexgleason-develop-patch-90197' into 'develop'
Dockerfile: add curl

See merge request soapbox-pub/rebased!203
2022-11-06 02:00:50 +00:00
Alex Gleason
f884273bb9 Dockerfile: move fasttext to runtime image 2022-11-06 02:00:24 +00:00
Alex Gleason
61cf21fb20 Dockerfile: add curl 2022-11-06 01:58:49 +00:00
marcin mikołajczak
6500fee83f Merge branch 'post-languages' into 'develop'
Allow to specify post language, add content translations and language auto-detection

See merge request soapbox-pub/rebased!196
2022-11-05 22:08:34 +00:00
dbfc460e37 Add fasttext configuration to Docker image(?)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 21:54:54 +01:00
4f042374d8 Deepl: use :base_url
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 21:41:58 +01:00
2c62043ef9 Merge remote-tracking branch 'soapbox/develop' into pleroma-events
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 21:08:08 +01:00
19885d9347 Fix fasttext for multiline posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 20:16:32 +01:00
Alex Gleason
3957167a9d
RemoteReportPolicy: add :reject_all option, fix tests 2022-11-05 14:07:37 -05:00
Alex Gleason
87e9bbf86c
Add RemoteReportPolicy to reject reports without enough information 2022-11-05 13:56:56 -05:00
marcin mikołajczak
fc93cce682 Merge branch 'instance-contact-account' into 'develop'
Add contact account to InstanceView

See merge request soapbox-pub/rebased!201
2022-11-05 15:31:56 +00:00
0c1eaf2634 Add contact account to InstanceView
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-05 13:05:14 +01:00
6649eb84a2 Add all 639-1 languages to @supported_locales
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-04 21:54:20 +01:00
ade5796337 Improve getting language from context, add more tests
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-04 20:52:25 +01:00
Thomas Citharel
bdedc41cbc
Fix typo in CSP Report-To header name
The header name was Report-To, not Reply-To.

In any case, that's now being changed to the Reporting-Endpoints HTTP
Response Header.
https://w3c.github.io/reporting/#header
https://github.com/w3c/reporting/issues/177

CanIUse says the Report-To header is still supported by current Chrome
and friends.
https://caniuse.com/mdn-http_headers_report-to

It doesn't have any data for the Reporting-Endpoints HTTP header, but
this article says Chrome 96 supports it.
https://web.dev/reporting-api/

(Even though that's come out one year ago, that's not compatible with
Network Error Logging which's still using the Report-To version of the
API)

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-11-04 09:43:13 +01:00
85105e0049 Detect language for incoming posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-03 23:33:22 +01:00
feld
9f708037d7 Merge branch 'tusooa/caveats-webfinger' into 'develop'
Document some caveats of webfinger domain setting

See merge request pleroma/pleroma!3767
2022-11-03 22:24:38 +00:00
4442fc40e6 Add test
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-11-03 22:43:20 +01:00
tusooa
f2e4b425e1 Document some caveats of webfinger domain setting 2022-11-03 21:13:00 +00:00
Alex Gleason
39d7093ff5
Remove Shout feature 2022-11-03 13:29:52 -05:00
Alex Gleason
9c48cbbcaf Merge branch 'fix-ecto-warnings' into 'develop'
Fix ecto warnings

See merge request soapbox-pub/rebased!199
2022-11-03 17:32:33 +00:00
Alex Gleason
f8e8bd9f5c
Fix test warnings 2022-11-03 12:00:46 -05:00
Alex Gleason
4576a5c440
ObjectValidators: fix validate_required on embeds_many fields 2022-11-03 11:56:20 -05:00
Alex Gleason
d02c5f4480 Merge branch 'deleted-reply-error' into 'develop'
Return an error if replying to a deleted status

Closes #119

See merge request soapbox-pub/rebased!198
2022-11-03 16:30:56 +00:00
Alex Gleason
fb9f9555ae
NotificationTest: remove n/a test 2022-11-03 11:22:53 -05:00