ilja
d5b3d9104d
Code review
...
ci/woodpecker/pr/woodpecker Pipeline failed
* Add Changelog and description.exs
* Also cleaned up some code that was left behind when still poking at things a bit
2022-12-17 17:18:36 +01:00
ilja
d1bb480146
Change ArgosTranslate strategy for dealing with nil from-language
...
Instead of choosing a fallback language, we just return the input, supposedly translated from the target language.
This gives us a much faster response, so you can immedialty choose the correct from language yourself in pleroma-fe.
Some other cleanup and improvements to the docs are also done.
2022-12-17 13:34:03 +01:00
ilja
f78bada08d
Allow stripping of html for Argos Translate module
...
Argos Translate doesn't properly translate HTML.
Libre Translate uses an extra module for that.
Here we strip the HTML by default before translating and then add rudimentary HTML back so it displays properly.
Stripping HTML is a default-on option, just in case argos adds support for html in the language models later on.
That way admins will be able to overwrite the setting and not strip any more.
2022-12-17 13:34:03 +01:00
ilja
f027db9654
Add translation module for Argos Translate
...
Argos Translate is a Python module for translation and can be used as a command line tool.
This is also the engine for LibreTranslate, for which we already have a module.
Here we can use the engine irectly from our server without doing requests to a third party or
having to install our own LibreTranslate webservice.
One thing that's currently still missing from ArgosTranslate is auto-detection of languages.
2022-12-17 13:34:03 +01:00
dcac8adb3d
Add option to modify HTTP pool size
ci/woodpecker/push/woodpecker Pipeline was successful
2022-12-16 18:33:00 +00:00
126f1ca69c
increase rich media backoff time
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-16 17:31:04 +00:00
eb9ef59d50
Remove legacy references to FE that is not officially supported
ci/woodpecker/pr/woodpecker Pipeline is pending
2022-12-16 08:08:00 -06:00
48d302a60f
allow disabling prometheus entirely
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-16 11:17:04 +00:00
f752126427
Remove quack, ensure adapter is finch
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-11 23:22:35 +00:00
affc910372
Remove hackney/gun in favour of finch
2022-12-11 19:19:31 +00:00
6f83ae27aa
extend reject MRF to check if originating instance is blocked
2022-12-09 19:57:29 +00:00
0eaec57d3f
mix format
ci/woodpecker/push/woodpecker Pipeline is pending
2022-12-09 10:24:38 +00:00
4e4bd24813
Add misskey markdown to format suggestions
...
ci/woodpecker/push/woodpecker Pipeline is pending
Fixes #345
2022-12-07 15:39:19 +00:00
6b882a2c0b
Purge Rejected Follow requests in daily task ( #334 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #334
2022-12-03 23:17:43 +00:00
db60640c5b
Fixing up deletes a bit ( #327 )
...
ci/woodpecker/push/woodpecker Pipeline failed
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #327
2022-12-01 15:00:53 +00:00
0703c1826b
Merge pull request 'change default allow_relay to false' ( #309 ) from nocebo/akkoma:default-no-relay into develop
...
ci/woodpecker/push/woodpecker Pipeline is pending
Reviewed-on: #309
2022-11-25 09:57:01 +00:00
ca35a4c835
change default allow_relay to false
...
ci/woodpecker/pr/woodpecker Pipeline is pending
relay functionality should be opt-in
2022-11-25 00:45:32 +00:00
2fe1484ed3
http timeout config ( #307 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Ref https://meta.akkoma.dev/t/increase-timeout-on-libretranslate-request-how/156/2
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #307
2022-11-24 12:27:16 +00:00
de1bbc0281
Add conversationDisplay to settings
ci/woodpecker/push/woodpecker Pipeline was successful
2022-11-20 22:21:56 +00:00
@r3g_5z@plem.sapphic.site
0e4c201f8d
HTTP header improvements ( #294 )
...
ci/woodpecker/push/woodpecker Pipeline is pending
- Drop Expect-CT
Expect-CT has been redundant since 2018 when Certificate Transparency became mandated and required for all CAs and browsers. This header is only implemented in Chrome and is now deprecated. HTTP header analysers do not check this anymore as this is enforced by default. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Expect-CT
- Raise HSTS to 2 years and explicitly preload
The longer age for HSTS, the better. Header analysers prefer 2 years over 1 year now as free TLS is very common using Let's Encrypt.
For HSTS to be fully effective, you need to submit your root domain (domain.tld) to https://hstspreload.org . However, a requirement for this is the "preload" directive in Strict-Transport-Security. If you do not have "preload", it will reject your domain.
- Drop X-Download-Options
This is an IE8-era header when Adobe products used to use the IE engine for making outbound web requests to embed webpages in things like Adobe Acrobat (PDFs). Modern apps are using Microsoft Edge WebView2 or Chromium Embedded Framework. No modern browser checks or header analyser check for this.
- Set base-uri to 'none'
This is to specify the domain for relative links (`<base>` HTML tag). pleroma-fe does not use this and it's an incredibly niche tag.
I use all of these myself on my instance by rewriting the headers with zero problems. No breakage observed.
I have not compiled my Elixr changes, but I don't see why they'd break.
Co-authored-by: r3g_5z <june@terezi.dev>
Reviewed-on: #294
Co-authored-by: @r3g_5z@plem.sapphic.site <june@terezi.dev>
Co-committed-by: @r3g_5z@plem.sapphic.site <june@terezi.dev>
2022-11-20 21:20:06 +00:00
c1127e321b
Add configurable timeline per oban job ( #273 )
...
ci/woodpecker/push/woodpecker Pipeline is pending
Heavily inspired by https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3777
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #273
2022-11-13 23:55:51 +00:00
35cddd7cf7
change default redirectRootNoLogin to /main/public
...
ci/woodpecker/pr/woodpecker Pipeline is pending
close #268
2022-11-13 08:43:12 +00:00
b7e8ce2350
Scrape instance nodeinfo ( #251 )
...
ci/woodpecker/push/woodpecker Pipeline is pending
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #251
2022-11-06 22:49:39 +00:00
9682ec4c5f
Change default instance name to "Akkoma"
...
ci/woodpecker/pr/woodpecker Pipeline is pending
This was left at "Pleroma" for some reason.
2022-11-01 20:52:17 +00:00
d782140e2b
Reword stop gifs
ci/woodpecker/push/woodpecker Pipeline was successful
2022-10-29 22:08:18 +01:00
4d9ca8909d
Add StopGifs to description
2022-10-29 21:57:50 +01:00
66f913355a
Docker builds ( #231 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #231
2022-10-16 19:25:54 +00:00
856c57208b
Ensure deletes are handled after everything else
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-10-11 14:30:08 +01:00
c6e63aaf6b
Backend settings sync ( #226 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #226
2022-10-06 16:22:15 +00:00
8fe59d495d
Update soapbox base url
...
ci/woodpecker/pr/woodpecker Pipeline is pending
At some point 'soapbox-pub/soapbox-fe' was moved to 'soapbox-pub/soapbox' and the build url is now updated.
2022-09-18 07:45:30 +00:00
ad1a6d3dc2
ensure queue_target can't be silly low
ci/woodpecker/push/woodpecker Pipeline was successful
2022-09-16 14:23:31 +01:00
7759187de9
ensure default value is sane
ci/woodpecker/push/woodpecker Pipeline was successful
2022-08-29 22:20:47 +01:00
df39cab9c1
Automatic status translation ( #187 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Fixes #115
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #187
2022-08-29 19:42:22 +00:00
85137f591f
Add ability to obfuscate domains in MRF transparency
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2022-08-27 11:57:57 +01:00
e4f2251e0f
Add support for setting language in instance metadata ( #183 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #183
2022-08-25 16:11:21 +00:00
aaf78e2b52
only put linked mfm in source ( #171 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #171
2022-08-17 09:35:11 +00:00
11ec9daa5b
API compatibility with fedibird, frontend config ( #163 )
...
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #163
2022-08-17 00:22:59 +00:00
37a1001b97
add finch outbound proxy support ( #158 )
...
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #158
2022-08-14 23:13:49 +00:00
19ccdc8762
mix format
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/pr/woodpecker Pipeline is pending
2022-08-11 19:21:50 +01:00
366889f97c
remove default emoji file
ci/woodpecker/push/woodpecker Pipeline is pending
2022-08-11 19:05:41 +01:00
d16eff1c0f
describe color keys
...
ci/woodpecker/push/woodpecker Pipeline is pending
fixes #126
2022-08-11 10:28:59 +01:00
55179d4214
set soapbox-fe v2 by default
...
ci/woodpecker/push/woodpecker Pipeline is pending
fixes #157
2022-08-11 10:25:03 +01:00
ca000f8301
Merge mrf_simple-reject with quarantine ( #137 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #137
2022-08-02 14:19:24 +00:00
e26388a01c
Support reaching user@sub.domain.tld at user@domain.tld ( #134 )
...
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #134
Co-authored-by: Joel Beckmeyer <joel@beckmeyer.us>
Co-committed-by: Joel Beckmeyer <joel@beckmeyer.us>
2022-08-02 13:54:22 +00:00
645f0390bc
Prepare for ubuntu22 murdering openssl ( #120 )
...
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #120
2022-07-27 21:48:13 +00:00
90c4785b89
remove public post quarantine exception ( #114 )
...
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
Reviewed-on: #114
2022-07-26 11:09:13 +00:00
36eec89946
add authorized_fetch_mode to description.exs
ci/woodpecker/push/release Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/pr/release Pipeline was successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/test Pipeline failed
2022-07-26 10:51:40 +01:00
1419eee5df
Quote posting ( #113 )
...
ci/woodpecker/push/docs Pipeline is pending
ci/woodpecker/push/release Pipeline is pending
ci/woodpecker/push/test Pipeline is pending
Reviewed-on: #113
2022-07-25 16:30:06 +00:00
cb6e7359af
add bubble timeline ( #100 )
...
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
Reviewed-on: #100
2022-07-22 14:55:38 +00:00
0c542e58aa
Remove instrumentors ( #98 )
...
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/release Pipeline was successful
Reviewed-on: #98
2022-07-21 11:32:17 +00:00