FloatingGhost [Sat, 31 Dec 2022 18:29:16 +0000 (18:29 +0000)]
use postgres 15 in CI
floatingghost [Sat, 31 Dec 2022 18:29:09 +0000 (18:29 +0000)]
Merge pull request 'Add /api/v1/followed_tags' (#410) from followed-tags into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/410
FloatingGhost [Sat, 31 Dec 2022 18:05:21 +0000 (18:05 +0000)]
Add /api/v1/followed_tags
ilja [Sat, 31 Dec 2022 18:09:27 +0000 (18:09 +0000)]
Use same context for quote posts as the post that's being quoted (#379)
See https://akkoma.dev/AkkomaGang/akkoma/pulls/350#issuecomment-6109
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: https://akkoma.dev/AkkomaGang/akkoma/pulls/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>
FloatingGhost [Sat, 31 Dec 2022 03:53:52 +0000 (03:53 +0000)]
Rich media doesn't need to be a map
FloatingGhost [Sat, 31 Dec 2022 03:52:52 +0000 (03:52 +0000)]
add changelog entry for timeouts
FloatingGhost [Fri, 30 Dec 2022 20:11:53 +0000 (20:11 +0000)]
Put rich media processing in a Task
FloatingGhost [Fri, 30 Dec 2022 03:43:35 +0000 (03:43 +0000)]
update references to pleroma in docs
timorl [Fri, 30 Dec 2022 02:58:06 +0000 (02:58 +0000)]
Add docs about emoji stealing (#364)
I managed to steal some emoji, but I had to figure out the specifics the hard way. This should make it easier for future criminals.
Feel free to close if this documentation was omitted on purpose, I can imagine some reasons for why it might have.
Co-authored-by: timorl <timorl@disroot.org>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/364
Co-authored-by: timorl <timorl+akkomadev@disroot.org>
Co-committed-by: timorl <timorl+akkomadev@disroot.org>
floatingghost [Fri, 30 Dec 2022 02:54:09 +0000 (02:54 +0000)]
Merge pull request 'docs/installation: update comment to reflect flavour change' (#394) from norm/akkoma:flavour-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/394
floatingghost [Fri, 30 Dec 2022 02:53:48 +0000 (02:53 +0000)]
Merge pull request 'remove comment about old openssl versions in nginx config' (#395) from norm/akkoma:remove-old-openssl-comment into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/395
floatingghost [Fri, 30 Dec 2022 02:50:52 +0000 (02:50 +0000)]
Merge pull request 'Don't treat js/css as binary in git anymore' (#397) from norm/akkoma:norm-patch-2 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/397
floatingghost [Fri, 30 Dec 2022 02:50:34 +0000 (02:50 +0000)]
Merge pull request 'docs: fedora install errata' (#398) from acuteaura/akkoma:acuteaura-patch-1 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/398
floatingghost [Fri, 30 Dec 2022 02:46:58 +0000 (02:46 +0000)]
argon2 password hashing (#406)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/406
floatingghost [Thu, 29 Dec 2022 20:56:06 +0000 (20:56 +0000)]
Add link verification in profile fields (#405)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/405
FloatingGhost [Thu, 29 Dec 2022 20:24:04 +0000 (20:24 +0000)]
Document instance reboots
FloatingGhost [Thu, 29 Dec 2022 20:00:04 +0000 (20:00 +0000)]
document dump_to_file and load_from_file
FloatingGhost [Thu, 29 Dec 2022 19:56:35 +0000 (19:56 +0000)]
Add dump_to_file and load_from_file tasks
FloatingGhost [Thu, 29 Dec 2022 15:42:25 +0000 (15:42 +0000)]
Check out the latest tag on update
Stefan [Fri, 16 Dec 2022 16:23:31 +0000 (17:23 +0100)]
clean-up docs to avoid mismatches in BE and FE. Clearly state that stable-versions are installed
acuteaura [Sun, 25 Dec 2022 15:32:57 +0000 (15:32 +0000)]
docs: fedora install errata
Norm [Fri, 23 Dec 2022 18:03:14 +0000 (18:03 +0000)]
Don't treat js/css as binary in git anymore
Since Akkoma doesn't include precompiled frontends in the main repo anymore, it doesn't make sense to keep treating the few js/css files remaining as binary files.
Francis Dinh [Fri, 23 Dec 2022 00:27:16 +0000 (19:27 -0500)]
remove comment about old openssl versions in nginx config
I doubt many people are actually still using OpenSSL 1.0.2 or older,
since that version was first released in 2015, and last updated in 2019.
Francis Dinh [Fri, 23 Dec 2022 00:18:54 +0000 (19:18 -0500)]
docs/installation: update comment to reflect flavour change
The comment still says the flavour is `amd64-musl` when it was updated
to just `amd64` in
64ccdadad318c4a75fea4875009fb05895f6b93a.
floatingghost [Thu, 22 Dec 2022 23:39:35 +0000 (23:39 +0000)]
Merge pull request 'doc-update / switch default flavor to amd64' (#393) from YokaiRick/akkoma:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/393
YokaiRick [Thu, 22 Dec 2022 21:25:31 +0000 (21:25 +0000)]
switch default flavor to amd64
Most ppl probably need to set it to amd64.
This would help to remove some confusion while installing akkoma
FloatingGhost [Wed, 21 Dec 2022 00:16:39 +0000 (00:16 +0000)]
Do not crash on invalid atom in configDB
Atsuko Karagi [Mon, 19 Dec 2022 20:41:48 +0000 (20:41 +0000)]
Simplified HTTP signature processing
Atsuko Karagi [Mon, 19 Dec 2022 20:32:16 +0000 (20:32 +0000)]
Respect restrict_unauthenticated in /api/v1/accounts/lookup
FloatingGhost [Mon, 19 Dec 2022 13:07:29 +0000 (13:07 +0000)]
Mix format
ilja [Mon, 19 Dec 2022 13:06:39 +0000 (13:06 +0000)]
Add translation module for Argos Translate (#351)
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 directly from our server without doing requests to a third party or having to install our own LibreTranslate webservice (obviously you do have to install Argos Translate).
One thing that's currently still missing from Argos Translate is auto-detection of languages (see <https://github.com/argosopentech/argos-translate/issues/9>). For now, when no source language is provided, we just return the text unchanged, supposedly translated from the target language. That way you get a near immediate response in pleroma-fe when clicking Translate, after which you can select the source language from a dropdown.
Argos Translate also doesn't seem to handle html very well. Therefore we give admins the option to strip the html before translating. I made this an option because I'm unsure if/how this will change in the future.
Co-authored-by: ilja <git@ilja.space>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/351
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
floatingghost [Mon, 19 Dec 2022 02:34:46 +0000 (02:34 +0000)]
revert
28ab09d37755aa4e3f886f4d7748beaed4ad22e3
revert Remove unused dependencies
FloatingGhost [Mon, 19 Dec 2022 02:26:04 +0000 (02:26 +0000)]
Remove unused dependencies
FloatingGhost [Sat, 17 Dec 2022 23:21:24 +0000 (23:21 +0000)]
remove now-unused test
FloatingGhost [Sat, 17 Dec 2022 23:14:49 +0000 (23:14 +0000)]
drop admin scopes on create app instead of rejecting
FloatingGhost [Fri, 16 Dec 2022 18:33:00 +0000 (18:33 +0000)]
Add option to modify HTTP pool size
FloatingGhost [Fri, 16 Dec 2022 17:31:04 +0000 (17:31 +0000)]
increase rich media backoff time
FloatingGhost [Fri, 16 Dec 2022 17:23:03 +0000 (17:23 +0000)]
Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop
FloatingGhost [Fri, 16 Dec 2022 17:22:56 +0000 (17:22 +0000)]
update stats every 5 minutes
FloatingGhost [Fri, 16 Dec 2022 17:22:26 +0000 (17:22 +0000)]
add remote user count for the heck of it
floatingghost [Fri, 16 Dec 2022 14:17:40 +0000 (14:17 +0000)]
Merge pull request 'Remove legacy references to FE that is not officially supported' (#376) from paulyd/akkoma:remove-legacy-fe-reference into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/376
Paul Dawson [Fri, 16 Dec 2022 14:08:00 +0000 (08:08 -0600)]
Remove legacy references to FE that is not officially supported
FloatingGhost [Fri, 16 Dec 2022 13:24:18 +0000 (13:24 +0000)]
fix markdown link
FloatingGhost [Fri, 16 Dec 2022 13:20:48 +0000 (13:20 +0000)]
add changelog entry for custom emoji
FloatingGhost [Fri, 16 Dec 2022 12:36:34 +0000 (12:36 +0000)]
remove unused variable
floatingghost [Fri, 16 Dec 2022 12:34:16 +0000 (12:34 +0000)]
Merge pull request 'metrics' (#375) from stats into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/375
FloatingGhost [Fri, 16 Dec 2022 12:19:24 +0000 (12:19 +0000)]
fix csp-induced HTML match error
FloatingGhost [Fri, 16 Dec 2022 11:57:19 +0000 (11:57 +0000)]
add changelog entry
FloatingGhost [Fri, 16 Dec 2022 11:50:25 +0000 (11:50 +0000)]
make 2fa UI less awful
FloatingGhost [Fri, 16 Dec 2022 11:18:14 +0000 (11:18 +0000)]
mix format
FloatingGhost [Fri, 16 Dec 2022 11:17:04 +0000 (11:17 +0000)]
allow disabling prometheus entirely
FloatingGhost [Fri, 16 Dec 2022 10:56:17 +0000 (10:56 +0000)]
add test for metrics controller
FloatingGhost [Fri, 16 Dec 2022 10:24:36 +0000 (10:24 +0000)]
document prometheus
FloatingGhost [Fri, 16 Dec 2022 03:32:51 +0000 (03:32 +0000)]
allow users with admin:metrics to read app metrics
FloatingGhost [Fri, 16 Dec 2022 03:25:14 +0000 (03:25 +0000)]
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
FloatingGhost [Thu, 15 Dec 2022 02:02:07 +0000 (02:02 +0000)]
Add prometheus metrics to router
Tim Buchwaldt [Sat, 12 Nov 2022 16:13:39 +0000 (17:13 +0100)]
Measure stats-data
Tim Buchwaldt [Sat, 12 Nov 2022 15:11:38 +0000 (16:11 +0100)]
Take tesla telemetry
Tim Buchwaldt [Sat, 12 Nov 2022 11:42:53 +0000 (12:42 +0100)]
Track oban failures
Tim Buchwaldt [Sat, 12 Nov 2022 11:38:25 +0000 (12:38 +0100)]
Revert "Bump live-dashboard"
This reverts commit
c196d79aafd51b671aa19032b32e4cd416dab720.
Tim Buchwaldt [Sat, 12 Nov 2022 10:54:35 +0000 (11:54 +0100)]
Fix oban tags
Tim Buchwaldt [Sat, 12 Nov 2022 10:31:03 +0000 (11:31 +0100)]
Listen to loopback
Tim Buchwaldt [Sat, 12 Nov 2022 10:23:44 +0000 (11:23 +0100)]
Fix buckets for query timing
Tim Buchwaldt [Sat, 12 Nov 2022 10:14:16 +0000 (11:14 +0100)]
Start adding telemetry
floatingghost [Wed, 14 Dec 2022 12:38:48 +0000 (12:38 +0000)]
giant massive dep upgrade and dialyxir-found error emporium (#371)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/371
floatingghost [Wed, 14 Dec 2022 10:07:24 +0000 (10:07 +0000)]
Merge pull request 'Return HTTP code 413 when uploading an avatar/header that's too large' (#367) from norm/akkoma:return-413-max-size into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/367
Norm [Wed, 14 Dec 2022 03:03:08 +0000 (03:03 +0000)]
Update the "Updating your instance" docs (#361)
This makes them consistent with the update instructions that are in the
release announcements.
Also adds in the command to update the frontend as well.
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/361
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
Norm [Sun, 11 Dec 2022 22:57:43 +0000 (22:57 +0000)]
Update 'CHANGELOG.md'
duponin [Sun, 11 Dec 2022 22:15:08 +0000 (23:15 +0100)]
Return 413 when an actor's banner or background exceeds the size limit
duponin [Sun, 11 Dec 2022 21:54:47 +0000 (22:54 +0100)]
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.
FloatingGhost [Mon, 12 Dec 2022 19:06:04 +0000 (19:06 +0000)]
allow http AS profile in ld+json header
floatingghost [Mon, 12 Dec 2022 04:26:43 +0000 (04:26 +0000)]
Update '.gitea/issue_template/feat.yml'
floatingghost [Mon, 12 Dec 2022 04:26:24 +0000 (04:26 +0000)]
Update '.gitea/issue_template/bug.yml'
FloatingGhost [Mon, 12 Dec 2022 02:34:13 +0000 (02:34 +0000)]
Add `mail` to make the gmail adapter in swoosh work
FloatingGhost [Sun, 11 Dec 2022 23:50:31 +0000 (23:50 +0000)]
Test removed HTTP adapter
FloatingGhost [Sun, 11 Dec 2022 23:33:58 +0000 (23:33 +0000)]
Allow mock in http adapter checking
FloatingGhost [Sun, 11 Dec 2022 23:22:35 +0000 (23:22 +0000)]
Remove quack, ensure adapter is finch
FloatingGhost [Sun, 11 Dec 2022 22:58:26 +0000 (22:58 +0000)]
uppdate excoveralls
FloatingGhost [Sun, 11 Dec 2022 22:57:18 +0000 (22:57 +0000)]
Add diagnostics http
FloatingGhost [Sun, 11 Dec 2022 19:26:21 +0000 (19:26 +0000)]
Ensure Gun is Gone
FloatingGhost [Sun, 11 Dec 2022 19:19:31 +0000 (19:19 +0000)]
Remove hackney/gun in favour of finch
FloatingGhost [Sat, 10 Dec 2022 14:50:02 +0000 (14:50 +0000)]
Bump versions
floatingghost [Sat, 10 Dec 2022 14:43:03 +0000 (14:43 +0000)]
Merge pull request 'Don't listen Erlang Port Mapper Daemon (4369/tcp) on 0.0.0.0' (#358) from r3g_5z/akkoma:close-open-ports into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/358
floatingghost [Sat, 10 Dec 2022 14:41:23 +0000 (14:41 +0000)]
Merge pull request 'Add dark and light theme mode to docs, detection, and button' (#360) from r3g_5z/akkoma:docs-dark-mode into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/360
r3g_5z [Sat, 10 Dec 2022 03:49:25 +0000 (22:49 -0500)]
Add dark and light theme mode to docs, detection, and button
my eyes hurt
Signed-off-by: r3g_5z <june@girlboss.ceo>
r3g_5z [Sat, 10 Dec 2022 02:36:21 +0000 (21:36 -0500)]
Don't listen Erlang Port Mapper Daemon (4369/tcp) on 0.0.0.0
Signed-off-by: r3g_5z <june@girlboss.ceo>
floatingghost [Sat, 10 Dec 2022 00:24:28 +0000 (00:24 +0000)]
Merge pull request 'Remove unnecessary KillMode=process' (#359) from r3g_5z/akkoma:remove-unnecessary-killmode into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/359
FloatingGhost [Sat, 10 Dec 2022 00:10:24 +0000 (00:10 +0000)]
Merge remote-tracking branch 'origin/translations' into develop
r3g_5z [Sat, 10 Dec 2022 00:10:20 +0000 (19:10 -0500)]
Remove unnecessary KillMode=process
It's unclear why this is the default as this is highly not recommended.
KillMode=process ends up leaving leftover orphaned processes that
escape resource management and process lifecycles, wasting resources
on servers.
Signed-off-by: r3g_5z <june@girlboss.ceo>
FloatingGhost [Sat, 10 Dec 2022 00:09:45 +0000 (00:09 +0000)]
Do not fetch anything from blocked instances
FloatingGhost [Fri, 9 Dec 2022 23:45:51 +0000 (23:45 +0000)]
Add some extra info around possible nils
Weblate [Wed, 7 Dec 2022 15:39:41 +0000 (15:39 +0000)]
Update translation files
Updated by "Squash Git commits" hook in Weblate.
Translation: Pleroma fe/Akkoma Backend (Static pages)
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-static-pages/
Weblate [Wed, 7 Dec 2022 15:39:41 +0000 (15:39 +0000)]
Translated using Weblate (Indonesian)
Currently translated at 21.6% (18 of 83 strings)
Added translation using Weblate (Indonesian)
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/akkoma-backend-static-pages/id/
Translation: Pleroma fe/Akkoma Backend (Static pages)
floatingghost [Fri, 9 Dec 2022 21:12:49 +0000 (21:12 +0000)]
Merge pull request 'Magical patches' (#357) from magical-patches into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/357
FloatingGhost [Fri, 9 Dec 2022 20:59:26 +0000 (20:59 +0000)]
Revert "mandate published on notes"
This reverts commit
e49b583147748be73062acc92ea510f6f55a503a.
floatingghost [Fri, 9 Dec 2022 20:28:48 +0000 (20:28 +0000)]
Merge pull request 'Skip posts in indexer where publish date is nil' (#356) from sn0w/akkoma:feature/indexer-skip-broken-activities into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/356
Reviewed-by: floatingghost <hannah@coffee-and-dreams.uk>
FloatingGhost [Fri, 9 Dec 2022 20:27:54 +0000 (20:27 +0000)]
mandate published on notes
fixes #356
FloatingGhost [Fri, 9 Dec 2022 20:13:31 +0000 (20:13 +0000)]
Add URL and code to :not_found errors
Ref #355
FloatingGhost [Fri, 9 Dec 2022 20:04:48 +0000 (20:04 +0000)]
Underscore unused variable
FloatingGhost [Fri, 9 Dec 2022 20:01:38 +0000 (20:01 +0000)]
Do not pass transient undo-y activities through MRF