akkoma
22 months agoMerge branch 'language-on-posts' into develop
FloatingGhost [Wed, 11 Jan 2023 15:44:15 +0000 (15:44 +0000)]
Merge branch 'language-on-posts' into develop

22 months agoadd inbound language test
FloatingGhost [Wed, 11 Jan 2023 15:42:13 +0000 (15:42 +0000)]
add inbound language test

22 months agofix no-language-specified federation
FloatingGhost [Wed, 11 Jan 2023 15:25:34 +0000 (15:25 +0000)]
fix no-language-specified federation

22 months agorevert ae54c06bb4bd2389d6eb1502b842c6b632e12e40
floatingghost [Tue, 10 Jan 2023 15:00:47 +0000 (15:00 +0000)]
revert ae54c06bb4bd2389d6eb1502b842c6b632e12e40

revert Language code on mastoapi statuses (#433)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/433

22 months agoLanguage code on mastoapi statuses (#433)
floatingghost [Tue, 10 Jan 2023 13:45:43 +0000 (13:45 +0000)]
Language code on mastoapi statuses (#433)

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/433

22 months agofix unused variable warnings
FloatingGhost [Tue, 10 Jan 2023 10:58:17 +0000 (10:58 +0000)]
fix unused variable warnings

22 months agobump mock
FloatingGhost [Tue, 10 Jan 2023 10:48:14 +0000 (10:48 +0000)]
bump mock

22 months agoFix tests
FloatingGhost [Mon, 2 Jan 2023 02:41:56 +0000 (02:41 +0000)]
Fix tests

22 months agoAdd language support on /api/v1/statuses
FloatingGhost [Mon, 2 Jan 2023 02:15:38 +0000 (02:15 +0000)]
Add language support on /api/v1/statuses

22 months agoMerge pull request 'use postgres 15 in CI' (#411) from ci-postgres-15 into develop
floatingghost [Mon, 9 Jan 2023 22:16:43 +0000 (22:16 +0000)]
Merge pull request 'use postgres 15 in CI' (#411) from ci-postgres-15 into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/411

22 months agoPrune Objects --keep-threads option (#350)
ilja [Mon, 9 Jan 2023 22:15:41 +0000 (22:15 +0000)]
Prune Objects --keep-threads option (#350)

This adds an option to the prune_objects mix task.
The original way deleted all non-local public posts older than a certain time frame.
Here we add a different query which you can call using the option --keep-threads.

We query from the activities table all context id's where
    1. the newest activity with this context is still old
    2. none of the activities with this context is is local
    3. none of the activities with this context is bookmarked
and delete all objects with these contexts.

The idea is that posts with local activities (posts, replies, likes, repeats...) may be interesting to keep.
Besides that, a post lives in a certain context (the thread), so we keep the whole thread as well.

Caveats:
* ~~Quotes have a different context. Therefore, when someone quotes a post, it's possible the quoted post will still be deleted.~~ fixed in https://akkoma.dev/AkkomaGang/akkoma/pulls/379
* Although undocumented (in docs/docs/administration/CLI_tasks/database.md/#prune-old-remote-posts-from-the-database), the 'normal' delete action still kept old remote non-public posts. I added an option to keep this behaviour, but this also means that you now have to explicitly provide that option. **This could be considered a breaking change!**
* ~~Note that this removes from the objects table, but not from the activities.~~ See https://akkoma.dev/AkkomaGang/akkoma/pulls/427 for that.

Some statistics from explain analyse:
(cost=1402845.92..1933782.00 rows=3810907 width=62) (actual time=2562455.486..2562455.495 rows=0 loops=1)
 Planning Time: 505.327 ms
 Trigger for constraint chat_message_references_object_id_fkey: time=651939.797 calls=921740
 Trigger for constraint deliveries_object_id_fkey: time=52036.009 calls=921740
 Trigger for constraint hashtags_objects_object_id_fkey: time=20665.778 calls=921740
 Execution Time: 3287933.902 ms

***
**TODO**
1. [x] **Question:** Is it OK to keep it like this in regard to quote posts? If not (ie post quoted by local users should also be kept), should we give quotes the same context as the post they are quoting? (If we don't want to give them the same context, I'll have to see how/if I can do it without being too costly)
    * See https://akkoma.dev/AkkomaGang/akkoma/pulls/379
2. [x] **Question:** the "original" query only deletes public posts (this is undocumented, but you can check the code). This new one doesn't care for scope. From the docs I get that the idea is that posts can be refetched when needed. But I have from a trusted source that Pleroma can't refetch non-public posts. I assume that's the reason why they are kept here. I see different options to deal with this
    1. ~~We keep it as currently implemented and just don't care about scope with this option~~
    2. ~~We add logic to not delete non-public posts either (I'll have to see how costly that becomes)~~
    3. We add an extra --keep-non-public parameter. This is technically speaking breakage (you didn't have to provide a param before for this, now you do), but I'm inclined to not care much because it wasn't documented nor tested in the first place.
3. [x] See if we can do the query using Elixir
4. [x] Test on a bigger DB to see that we don't run into a timeout
5. [x] Add docs

Co-authored-by: ilja <git@ilja.space>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/350
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
22 months agoMerge pull request 'Changed references of "Pleroma" to "Akkoma" in email text' (...
floatingghost [Mon, 9 Jan 2023 22:13:45 +0000 (22:13 +0000)]
Merge pull request 'Changed references of "Pleroma" to "Akkoma" in email text' (#428) from knova/akkoma:develop into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/428

22 months agoUse actual ISO8601 timestamps for masto API (#425)
darkkirb [Mon, 9 Jan 2023 22:12:28 +0000 (22:12 +0000)]
Use actual ISO8601 timestamps for masto API (#425)

Some users post posts with spoofed timestamp, and some clients will have issues with certain dates. Tusky for example crashes if the date is any sooner than 1 BCE (“year zero” in the representation).

I limited the range of what is considered a valid date to be somewhere between the years 1583 and 9999 (inclusive).

The numbers have been chosen because:

- ISO 8601 only allows years before 1583 with “mutual agreement”
- Years after 9999 could cause issues with certain clients as well

Co-authored-by: Charlotte 🦝 Delenk <lotte@chir.rs>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/425
Co-authored-by: darkkirb <lotte@chir.rs>
Co-committed-by: darkkirb <lotte@chir.rs>
22 months agoMerge pull request 'exiftool doesn’t support JPEG XL either' (#426) from darkkirb...
floatingghost [Mon, 9 Jan 2023 22:10:54 +0000 (22:10 +0000)]
Merge pull request 'exiftool doesn’t support JPEG XL either' (#426) from darkkirb/akkoma:exiftools-no-jxl into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/426

22 months agoChanged references of "Pleroma" to "Akkoma" in email text
knova [Sun, 8 Jan 2023 03:29:09 +0000 (03:29 +0000)]
Changed references of "Pleroma" to "Akkoma" in email text

I know this is probably small peanuts in the grand scheme of things, but it bugged me when I was messing around with my own Akkoma instance.

22 months agoexiftool doesn’t support JPEG XL either
Charlotte 🦝 Delenk [Sat, 7 Jan 2023 13:49:58 +0000 (14:49 +0100)]
exiftool doesn’t support JPEG XL either

22 months agofix "exiftool not support svg files' (#421)
ihor [Thu, 5 Jan 2023 15:22:48 +0000 (15:22 +0000)]
fix "exiftool not support svg files' (#421)

Faced with this issue today, Pleroma responds with status 400 (Bad request) if Exiftool.StripLocation is added to the list of filter modules for uploads. Here is logs:

```
13:27:25.201 [info] POST /api/v1/media

13:27:25.232 request_id=FzdspaAnrA6cyv0APgVR [error] Elixir.Pleroma.Upload.Filter: Filter Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation failed: {:error, "Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation: %ErlangError{original: :enoent}"}

13:27:25.232 request_id=FzdspaAnrA6cyv0APgVR [error] Elixir.Pleroma.Upload store (using Pleroma.Uploaders.Local) failed: "Elixir.Pleroma.Upload.Filter.Exiftool.StripLocation: %ErlangError{original: :enoent}"
```

# This fix solves this problem.

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/421
Co-authored-by: ihor <ikandreew@gmail.com>
Co-committed-by: ihor <ikandreew@gmail.com>
22 months agoSignificantly tighten HTTP CSP
FloatingGhost [Mon, 2 Jan 2023 15:21:19 +0000 (15:21 +0000)]
Significantly tighten HTTP CSP

22 months agoMigrate Pleroma.Web to phoenix 1.6 formats
FloatingGhost [Mon, 2 Jan 2023 03:29:02 +0000 (03:29 +0000)]
Migrate Pleroma.Web to phoenix 1.6 formats

22 months agoFix task name for robotstxt
FloatingGhost [Sun, 1 Jan 2023 18:54:08 +0000 (18:54 +0000)]
Fix task name for robotstxt

Fixes #408

22 months agoMerge pull request 'Use a genserver to periodically fetch metrics' (#413) from prom...
floatingghost [Sun, 1 Jan 2023 18:49:05 +0000 (18:49 +0000)]
Merge pull request 'Use a genserver to periodically fetch metrics' (#413) from prom-leak into develop

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/413

22 months agoUse a genserver to periodically fetch metrics
FloatingGhost [Sun, 1 Jan 2023 18:32:14 +0000 (18:32 +0000)]
Use a genserver to periodically fetch metrics

Ref https://github.com/beam-telemetry/telemetry_metrics_prometheus_core/issues/52

22 months agouse postgres 15 in CI
FloatingGhost [Sat, 31 Dec 2022 18:29:16 +0000 (18:29 +0000)]
use postgres 15 in CI

22 months agoMerge pull request 'Add /api/v1/followed_tags' (#410) from followed-tags into develop
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

22 months agoAdd /api/v1/followed_tags
FloatingGhost [Sat, 31 Dec 2022 18:05:21 +0000 (18:05 +0000)]
Add /api/v1/followed_tags

22 months agoUse same context for quote posts as the post that's being quoted (#379)
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>
22 months agoRich media doesn't need to be a map
FloatingGhost [Sat, 31 Dec 2022 03:53:52 +0000 (03:53 +0000)]
Rich media doesn't need to be a map

22 months agoadd changelog entry for timeouts
FloatingGhost [Sat, 31 Dec 2022 03:52:52 +0000 (03:52 +0000)]
add changelog entry for timeouts

22 months agoPut rich media processing in a Task
FloatingGhost [Fri, 30 Dec 2022 20:11:53 +0000 (20:11 +0000)]
Put rich media processing in a Task

22 months agoupdate references to pleroma in docs
FloatingGhost [Fri, 30 Dec 2022 03:43:35 +0000 (03:43 +0000)]
update references to pleroma in docs

22 months agoAdd docs about emoji stealing (#364)
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>
22 months agoMerge pull request 'docs/installation: update comment to reflect flavour change'...
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

22 months agoMerge pull request 'remove comment about old openssl versions in nginx config' (...
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

22 months agoMerge pull request 'Don't treat js/css as binary in git anymore' (#397) from norm...
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

22 months agoMerge pull request 'docs: fedora install errata' (#398) from acuteaura/akkoma:acuteau...
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

22 months agoargon2 password hashing (#406)
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

22 months agoAdd link verification in profile fields (#405)
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

22 months agoDocument instance reboots
FloatingGhost [Thu, 29 Dec 2022 20:24:04 +0000 (20:24 +0000)]
Document instance reboots

22 months agodocument dump_to_file and load_from_file
FloatingGhost [Thu, 29 Dec 2022 20:00:04 +0000 (20:00 +0000)]
document dump_to_file and load_from_file

22 months agoAdd dump_to_file and load_from_file tasks
FloatingGhost [Thu, 29 Dec 2022 19:56:35 +0000 (19:56 +0000)]
Add dump_to_file and load_from_file tasks

22 months agoCheck out the latest tag on update
FloatingGhost [Thu, 29 Dec 2022 15:42:25 +0000 (15:42 +0000)]
Check out the latest tag on update

22 months agoclean-up docs to avoid mismatches in BE and FE. Clearly state that stable-versions...
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

22 months agodocs: fedora install errata
acuteaura [Sun, 25 Dec 2022 15:32:57 +0000 (15:32 +0000)]
docs: fedora install errata

22 months agoDon't treat js/css as binary in git anymore
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.

23 months agoremove comment about old openssl versions in nginx config
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.

23 months agodocs/installation: update comment to reflect flavour change
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.

23 months agoMerge pull request 'doc-update / switch default flavor to amd64' (#393) from YokaiRic...
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

23 months agoswitch default flavor to amd64
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

23 months agoDo not crash on invalid atom in configDB
FloatingGhost [Wed, 21 Dec 2022 00:16:39 +0000 (00:16 +0000)]
Do not crash on invalid atom in configDB

23 months agoSimplified HTTP signature processing
Atsuko Karagi [Mon, 19 Dec 2022 20:41:48 +0000 (20:41 +0000)]
Simplified HTTP signature processing

23 months agoRespect restrict_unauthenticated in /api/v1/accounts/lookup
Atsuko Karagi [Mon, 19 Dec 2022 20:32:16 +0000 (20:32 +0000)]
Respect restrict_unauthenticated in /api/v1/accounts/lookup

23 months agoMix format
FloatingGhost [Mon, 19 Dec 2022 13:07:29 +0000 (13:07 +0000)]
Mix format

23 months agoAdd translation module for Argos Translate (#351)
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>
23 months agorevert 28ab09d37755aa4e3f886f4d7748beaed4ad22e3
floatingghost [Mon, 19 Dec 2022 02:34:46 +0000 (02:34 +0000)]
revert 28ab09d37755aa4e3f886f4d7748beaed4ad22e3

revert Remove unused dependencies

23 months agoRemove unused dependencies
FloatingGhost [Mon, 19 Dec 2022 02:26:04 +0000 (02:26 +0000)]
Remove unused dependencies

23 months agoremove now-unused test
FloatingGhost [Sat, 17 Dec 2022 23:21:24 +0000 (23:21 +0000)]
remove now-unused test

23 months agodrop admin scopes on create app instead of rejecting
FloatingGhost [Sat, 17 Dec 2022 23:14:49 +0000 (23:14 +0000)]
drop admin scopes on create app instead of rejecting

23 months agoAdd option to modify HTTP pool size develop
FloatingGhost [Fri, 16 Dec 2022 18:33:00 +0000 (18:33 +0000)]
Add option to modify HTTP pool size

23 months agoincrease rich media backoff time
FloatingGhost [Fri, 16 Dec 2022 17:31:04 +0000 (17:31 +0000)]
increase rich media backoff time

23 months agoMerge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop
FloatingGhost [Fri, 16 Dec 2022 17:23:03 +0000 (17:23 +0000)]
Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop

23 months agoupdate stats every 5 minutes
FloatingGhost [Fri, 16 Dec 2022 17:22:56 +0000 (17:22 +0000)]
update stats every 5 minutes

23 months agoadd remote user count for the heck of it
FloatingGhost [Fri, 16 Dec 2022 17:22:26 +0000 (17:22 +0000)]
add remote user count for the heck of it

23 months agoMerge pull request 'Remove legacy references to FE that is not officially supported...
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

23 months agoRemove legacy references to FE that is not officially supported
Paul Dawson [Fri, 16 Dec 2022 14:08:00 +0000 (08:08 -0600)]
Remove legacy references to FE that is not officially supported

23 months agofix markdown link
FloatingGhost [Fri, 16 Dec 2022 13:24:18 +0000 (13:24 +0000)]
fix markdown link

23 months agoadd changelog entry for custom emoji
FloatingGhost [Fri, 16 Dec 2022 13:20:48 +0000 (13:20 +0000)]
add changelog entry for custom emoji

23 months agoremove unused variable
FloatingGhost [Fri, 16 Dec 2022 12:36:34 +0000 (12:36 +0000)]
remove unused variable

23 months agoMerge pull request 'metrics' (#375) from stats into develop
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

23 months agofix csp-induced HTML match error
FloatingGhost [Fri, 16 Dec 2022 12:19:24 +0000 (12:19 +0000)]
fix csp-induced HTML match error

23 months agoadd changelog entry
FloatingGhost [Fri, 16 Dec 2022 11:57:19 +0000 (11:57 +0000)]
add changelog entry

23 months agomake 2fa UI less awful
FloatingGhost [Fri, 16 Dec 2022 11:50:25 +0000 (11:50 +0000)]
make 2fa UI less awful

23 months agomix format
FloatingGhost [Fri, 16 Dec 2022 11:18:14 +0000 (11:18 +0000)]
mix format

23 months agoallow disabling prometheus entirely
FloatingGhost [Fri, 16 Dec 2022 11:17:04 +0000 (11:17 +0000)]
allow disabling prometheus entirely

23 months agoadd test for metrics controller
FloatingGhost [Fri, 16 Dec 2022 10:56:17 +0000 (10:56 +0000)]
add test for metrics controller

23 months agodocument prometheus
FloatingGhost [Fri, 16 Dec 2022 10:24:36 +0000 (10:24 +0000)]
document prometheus

23 months agoallow users with admin:metrics to read app metrics
FloatingGhost [Fri, 16 Dec 2022 03:32:51 +0000 (03:32 +0000)]
allow users with admin:metrics to read app metrics

23 months agodo not allow non-admins to register tokens with admin scopes
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

23 months agoAdd prometheus metrics to router
FloatingGhost [Thu, 15 Dec 2022 02:02:07 +0000 (02:02 +0000)]
Add prometheus metrics to router

23 months agoMeasure stats-data
Tim Buchwaldt [Sat, 12 Nov 2022 16:13:39 +0000 (17:13 +0100)]
Measure stats-data

23 months agoTake tesla telemetry
Tim Buchwaldt [Sat, 12 Nov 2022 15:11:38 +0000 (16:11 +0100)]
Take tesla telemetry

23 months agoTrack oban failures
Tim Buchwaldt [Sat, 12 Nov 2022 11:42:53 +0000 (12:42 +0100)]
Track oban failures

23 months agoRevert "Bump live-dashboard"
Tim Buchwaldt [Sat, 12 Nov 2022 11:38:25 +0000 (12:38 +0100)]
Revert "Bump live-dashboard"

This reverts commit c196d79aafd51b671aa19032b32e4cd416dab720.

23 months agoFix oban tags
Tim Buchwaldt [Sat, 12 Nov 2022 10:54:35 +0000 (11:54 +0100)]
Fix oban tags

23 months agoListen to loopback
Tim Buchwaldt [Sat, 12 Nov 2022 10:31:03 +0000 (11:31 +0100)]
Listen to loopback

23 months agoFix buckets for query timing
Tim Buchwaldt [Sat, 12 Nov 2022 10:23:44 +0000 (11:23 +0100)]
Fix buckets for query timing

23 months agoStart adding telemetry
Tim Buchwaldt [Sat, 12 Nov 2022 10:14:16 +0000 (11:14 +0100)]
Start adding telemetry

23 months agogiant massive dep upgrade and dialyxir-found error emporium (#371)
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

23 months agoMerge pull request 'Return HTTP code 413 when uploading an avatar/header that's too...
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

23 months agoUpdate the "Updating your instance" docs (#361)
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>
23 months agoUpdate 'CHANGELOG.md'
Norm [Sun, 11 Dec 2022 22:57:43 +0000 (22:57 +0000)]
Update 'CHANGELOG.md'

23 months agoReturn 413 when an actor's banner or background exceeds the size limit
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

23 months agoUploading an avatar media exceeding max size returns a 413
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.

23 months agoallow http AS profile in ld+json header
FloatingGhost [Mon, 12 Dec 2022 19:06:04 +0000 (19:06 +0000)]
allow http AS profile in ld+json header

23 months agoUpdate '.gitea/issue_template/feat.yml'
floatingghost [Mon, 12 Dec 2022 04:26:43 +0000 (04:26 +0000)]
Update '.gitea/issue_template/feat.yml'

23 months agoUpdate '.gitea/issue_template/bug.yml'
floatingghost [Mon, 12 Dec 2022 04:26:24 +0000 (04:26 +0000)]
Update '.gitea/issue_template/bug.yml'

23 months agoAdd `mail` to make the gmail adapter in swoosh work
FloatingGhost [Mon, 12 Dec 2022 02:34:13 +0000 (02:34 +0000)]
Add `mail` to make the gmail adapter in swoosh work

23 months agoTest removed HTTP adapter
FloatingGhost [Sun, 11 Dec 2022 23:50:31 +0000 (23:50 +0000)]
Test removed HTTP adapter

23 months agoAllow mock in http adapter checking
FloatingGhost [Sun, 11 Dec 2022 23:33:58 +0000 (23:33 +0000)]
Allow mock in http adapter checking

23 months agoRemove quack, ensure adapter is finch
FloatingGhost [Sun, 11 Dec 2022 23:22:35 +0000 (23:22 +0000)]
Remove quack, ensure adapter is finch

23 months agouppdate excoveralls
FloatingGhost [Sun, 11 Dec 2022 22:58:26 +0000 (22:58 +0000)]
uppdate excoveralls