akkoma
20 months agofine then no fun allowed, y'all don't deserve it
FloatingGhost [Sun, 26 Feb 2023 21:25:57 +0000 (21:25 +0000)]
fine then no fun allowed, y'all don't deserve it

21 months agoAdd changelog entry
FloatingGhost [Thu, 23 Feb 2023 11:07:59 +0000 (11:07 +0000)]
Add changelog entry

21 months agoEnsure we can update contentMap on update
FloatingGhost [Thu, 23 Feb 2023 11:00:55 +0000 (11:00 +0000)]
Ensure we can update contentMap on update

21 months agoMerge pull request 'Update docs about clients' (#484) from mahito1594/akkoma:docs...
floatingghost [Wed, 22 Feb 2023 15:44:00 +0000 (15:44 +0000)]
Merge pull request 'Update docs about clients' (#484) from mahito1594/akkoma:docs/update-clients-info into develop

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

21 months agodocs: update URL hosting husky's sourse code
Mahito TANNO [Wed, 22 Feb 2023 13:50:18 +0000 (22:50 +0900)]
docs:  update URL hosting husky's sourse code

21 months agodocs: remark that Pinafore is now unmaintained
Mahito TANNO [Wed, 22 Feb 2023 13:43:17 +0000 (22:43 +0900)]
docs:  remark that Pinafore is now unmaintained

21 months agoMerge pull request 'update healthcheck route in locale string' (#475) from flisk...
floatingghost [Tue, 21 Feb 2023 09:44:55 +0000 (09:44 +0000)]
Merge pull request 'update healthcheck route in locale string' (#475) from flisk/akkoma:update-healthcheck-route-reference into develop

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

21 months agoMerge pull request 'Interpret `\n` as newline for MFM' (#478) from ilja/akkoma:newlin...
floatingghost [Tue, 21 Feb 2023 09:43:15 +0000 (09:43 +0000)]
Merge pull request 'Interpret `\n` as newline for MFM' (#478) from ilja/akkoma:newline_remains_newline_in_mfm into develop

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

21 months agoInterpret `\n` as newline for MFM
ilja [Sat, 18 Feb 2023 18:30:27 +0000 (19:30 +0100)]
Interpret `\n` as newline for MFM

Markdown doesn't generally consider `\n` a newline,
but Misskey does for MFM.

Now we do to for MFM (and not for Markdown) :)

21 months agoupdate healthcheck route in locale string
flisk [Sat, 18 Feb 2023 13:59:46 +0000 (14:59 +0100)]
update healthcheck route in locale string

21 months agorun mix gettext.extract
flisk [Sat, 18 Feb 2023 13:58:35 +0000 (14:58 +0100)]
run mix gettext.extract

seems like this hasn't been run in a while. putting this in a separate
commit so the changes i'm about to make don't get drowned in all of this
stuff.

21 months agobuild musl on develop
FloatingGhost [Wed, 15 Feb 2023 22:09:31 +0000 (22:09 +0000)]
build musl on develop

21 months agouse a slightly earlier alpine version
FloatingGhost [Wed, 15 Feb 2023 22:08:55 +0000 (22:08 +0000)]
use a slightly earlier alpine version

21 months agoadd version in changelog
FloatingGhost [Sat, 11 Feb 2023 11:19:33 +0000 (11:19 +0000)]
add version in changelog

21 months agofix docker tag
FloatingGhost [Sat, 11 Feb 2023 10:58:53 +0000 (10:58 +0000)]
fix docker tag

21 months agobump elixir version in CI
FloatingGhost [Sat, 11 Feb 2023 10:56:53 +0000 (10:56 +0000)]
bump elixir version in CI

21 months agobump version
FloatingGhost [Sat, 11 Feb 2023 10:48:52 +0000 (10:48 +0000)]
bump version

21 months agocreate_service_actor is now type Application
ilja [Sat, 4 Feb 2023 20:53:23 +0000 (20:53 +0000)]
create_service_actor is now type Application

This is used for internal fetch and for relay. Both represent the instance and therefore are an aplication.

21 months agopaginate follow requests (#460)
floatingghost [Sat, 4 Feb 2023 20:51:17 +0000 (20:51 +0000)]
paginate follow requests (#460)

matches https://docs.joinmastodon.org/methods/follow_requests/#get mostly

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

21 months agoMerge pull request 'DOCS: Add info on fe to setup of dev env' (#456) from ilja/akkoma...
floatingghost [Mon, 30 Jan 2023 11:28:28 +0000 (11:28 +0000)]
Merge pull request 'DOCS: Add info on fe to setup of dev env' (#456) from ilja/akkoma:docs_add_fe_to_akkoma_dev into develop

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

21 months agoMerge pull request 'Docs: Add more info to the development index file' (#451) from...
floatingghost [Mon, 30 Jan 2023 11:27:23 +0000 (11:27 +0000)]
Merge pull request 'Docs: Add more info to the development index file' (#451) from ilja/akkoma:docs_add_some_developer_docs into develop

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

21 months agoMerge pull request 'Docs: Changes to pgtune docs' (#449) from ilja/akkoma:docs_small_...
floatingghost [Mon, 30 Jan 2023 11:25:46 +0000 (11:25 +0000)]
Merge pull request 'Docs: Changes to pgtune docs' (#449) from ilja/akkoma:docs_small_adition_to_pgtune into develop

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

21 months agoAdd info on fe to setup of dev env
ilja [Sun, 29 Jan 2023 07:18:10 +0000 (08:18 +0100)]
Add info on fe to setup of dev env

I added info about installing front ends from the development branch

I also rearanged the list of exceptions (what's different than "normal" installation)
so the order is closer to how you'd encounter things in the installation docs + small fixes

21 months agoMerge pull request 'Make default outgoing-blocks setting off' (#454) from Seirdy...
floatingghost [Fri, 27 Jan 2023 10:06:49 +0000 (10:06 +0000)]
Merge pull request 'Make default outgoing-blocks setting off' (#454) from Seirdy/akkoma:outgoing-blocks-default-off into develop

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

21 months agoMake default outgoing-blocks setting off
Seirdy [Fri, 27 Jan 2023 05:41:27 +0000 (21:41 -0800)]
Make default outgoing-blocks setting off

This should help mitigate negative impacts related to block-retaliation
and block-circumvention when blocks become visible to the blocked party.
Instances interested in broadcasting blocks can turn this on if they
wish. This should have always been the default.

See also: https://akkoma.dev/AkkomaGang/akkoma-fe/pulls/274

21 months agoAdd more info to the development index file
ilja [Thu, 26 Jan 2023 12:40:51 +0000 (13:40 +0100)]
Add more info to the development index file

Credit where credit is due; I inspired myself by looking at the yunohost docs
* https://yunohost.org/en/dev
* https://yunohost.org/en/packaging_apps_start

I try to be inviting to new developers and guide them in their first steps into Akkoma development.
I try to keep the page itself as short as possible and link to relevant places.
That way people can quickly skim over parts that they don't need, while people who do need more can simply follow the links.

21 months agoChanges to pgtune docs
ilja [Thu, 26 Jan 2023 09:11:29 +0000 (10:11 +0100)]
Changes to pgtune docs

I experienced that it may be better to tell pgtune you have lower resoures than what you have when you have other services running.
I added that now.

I also moved the examples as part of the pgtune section.

22 months agoadd changelog entry
FloatingGhost [Sun, 15 Jan 2023 19:02:58 +0000 (19:02 +0000)]
add changelog entry

22 months agoMerge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop
FloatingGhost [Sun, 15 Jan 2023 18:58:26 +0000 (18:58 +0000)]
Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop

22 months agoSupport TLD wildcards in MRF matches
FloatingGhost [Sun, 15 Jan 2023 18:57:49 +0000 (18:57 +0000)]
Support TLD wildcards in MRF matches

Fixes #431

22 months agoMerge pull request 'Correct og:description tag in static-fe' (#373) from sfr/akkoma...
floatingghost [Sun, 15 Jan 2023 18:15:20 +0000 (18:15 +0000)]
Merge pull request 'Correct og:description tag in static-fe' (#373) from sfr/akkoma:fix/og-description into develop

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

22 months agoURL encode remote emoji pack names (#362)
sfr [Sun, 15 Jan 2023 18:14:04 +0000 (18:14 +0000)]
URL encode remote emoji pack names (#362)

fix #246

Co-authored-by: Sol Fisher Romanoff <sol@solfisher.com>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/362
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
22 months agoMerge pull request 'Remove refences to ARM OTP builds in install guide' (#432) from...
floatingghost [Sun, 15 Jan 2023 18:11:53 +0000 (18:11 +0000)]
Merge pull request 'Remove refences to ARM OTP builds in install guide' (#432) from norm/akkoma:remove-arm-otp into develop

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

22 months agoMerge pull request 'Update OpenBSD docs' (#414) from lechindianer/akkoma:update-openb...
floatingghost [Sun, 15 Jan 2023 18:09:32 +0000 (18:09 +0000)]
Merge pull request 'Update OpenBSD docs' (#414) from lechindianer/akkoma:update-openbsd-docs into develop

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

22 months agoMerge pull request 'fix: Give error message to users when address has already been...
floatingghost [Sun, 15 Jan 2023 18:06:12 +0000 (18:06 +0000)]
Merge pull request 'fix: Give error message to users when address has already been validated' (#435) from cheerfulstoic/akkoma:develop into develop

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

22 months agoAdd changelog entry
FloatingGhost [Sun, 15 Jan 2023 18:05:02 +0000 (18:05 +0000)]
Add changelog entry

22 months agoMix format
FloatingGhost [Sun, 15 Jan 2023 18:00:03 +0000 (18:00 +0000)]
Mix format

22 months agoadd contentMap to schema
FloatingGhost [Sun, 15 Jan 2023 17:59:19 +0000 (17:59 +0000)]
add contentMap to schema

22 months agofix: Give error message to users when address has already been validated
Brian Underwood [Thu, 12 Jan 2023 20:14:42 +0000 (21:14 +0100)]
fix: Give error message to users when address has already been validated

Plus other errors.

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 agoRemove refences to ARM OTP builds in install guide
Norm [Mon, 9 Jan 2023 20:11:33 +0000 (20:11 +0000)]
Remove refences to ARM OTP builds in install guide

Akkoma currently doesn't provide ARM OTP builds unlike Pleroma, so it's best to update the install guide to reflect that.

Ref: https://akkoma.dev/AkkomaGang/akkoma/issues/424

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 agoFix PostgreSQL docs
Pascal Schmid [Mon, 2 Jan 2023 12:03:59 +0000 (13:03 +0100)]
Fix PostgreSQL docs

Without creating the directory manually and setting it as user home folder
the commands afterwards won't be executable.

22 months agoDelete broken config example
Pascal Schmid [Mon, 2 Jan 2023 12:00:36 +0000 (13:00 +0100)]
Delete broken config example

httpd won't start with the empty types block.

22 months agoFormat docs
Pascal Schmid [Mon, 2 Jan 2023 11:59:46 +0000 (12:59 +0100)]
Format docs

22 months agoUse current package config
Pascal Schmid [Mon, 2 Jan 2023 11:56:49 +0000 (12:56 +0100)]
Use current package config

22 months agoUpdate referenced OpenBSD version
Pascal Schmid [Mon, 2 Jan 2023 11:50:30 +0000 (12:50 +0100)]
Update referenced OpenBSD version

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 agoCorrect og:description tag in static-fe
Sol Fisher Romanoff [Wed, 14 Dec 2022 18:35:50 +0000 (20:35 +0200)]
Correct og:description tag in static-fe

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

23 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