floatingghost [Tue, 21 Mar 2023 10:13:41 +0000 (10:13 +0000)]
Merge pull request 'Show bubble_timeline in the api if any instances are set in it' (#502) from foxing/akkoma:foxing-patch-1 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/502
FloatingGhost [Sat, 18 Mar 2023 20:49:43 +0000 (20:49 +0000)]
add bubble visibility to description
FloatingGhost [Fri, 17 Mar 2023 15:33:28 +0000 (15:33 +0000)]
Add timeline visibility options
FloatingGhost [Wed, 15 Mar 2023 22:59:58 +0000 (22:59 +0000)]
also put publicVisibility in preloaded nodeinfo
FloatingGhost [Wed, 15 Mar 2023 22:20:32 +0000 (22:20 +0000)]
Changelog entry
FloatingGhost [Wed, 15 Mar 2023 22:19:52 +0000 (22:19 +0000)]
mix format
FloatingGhost [Wed, 15 Mar 2023 22:13:18 +0000 (22:13 +0000)]
Add publicTimelineVisibility to nodeinfo
foxing [Mon, 13 Mar 2023 03:41:15 +0000 (03:41 +0000)]
Merge branch 'develop' into foxing-patch-1
foxing [Mon, 13 Mar 2023 03:40:20 +0000 (03:40 +0000)]
Use enum empty instead
floatingghost [Mon, 13 Mar 2023 00:29:51 +0000 (00:29 +0000)]
Merge pull request 'Apply security patch from pleroma to prevent nested file names being uploaded to the server.' (#507) from foxing/akkoma:foxing-patch-2 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/507
floatingghost [Mon, 13 Mar 2023 00:28:16 +0000 (00:28 +0000)]
Merge pull request 'don't crash on malformed avatar and banner values' (#506) from flisk/akkoma:fix-crash-malformed-avatars-banners into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/506
foxing [Sun, 12 Mar 2023 19:23:22 +0000 (19:23 +0000)]
Merge branch 'develop' into foxing-patch-2
foxing [Sun, 12 Mar 2023 19:13:56 +0000 (19:13 +0000)]
Apply Patch
flisk [Sun, 12 Mar 2023 17:14:05 +0000 (18:14 +0100)]
don't crash on malformed avatar and banner values
weird values in href will cause base64 encoding to fail later down the
line, so let's make sure the value we're passing on is somewhat sane, or
at the very least a binary
this fixes #482
foxing [Sat, 11 Mar 2023 19:09:14 +0000 (19:09 +0000)]
Merge branch 'develop' into foxing-patch-1
FloatingGhost [Sat, 11 Mar 2023 18:24:57 +0000 (18:24 +0000)]
patch version
FloatingGhost [Sat, 11 Mar 2023 18:24:44 +0000 (18:24 +0000)]
Remove mix.env reference
FloatingGhost [Sat, 11 Mar 2023 17:26:21 +0000 (17:26 +0000)]
Bump version
FloatingGhost [Sat, 11 Mar 2023 17:24:49 +0000 (17:24 +0000)]
ensure we can't have a null in appends
foxing [Sat, 11 Mar 2023 03:26:48 +0000 (03:26 +0000)]
Show bubble_timeline in the api if any instances are set in it, do not show if none are set
FloatingGhost [Fri, 10 Mar 2023 18:49:08 +0000 (18:49 +0000)]
we should probably use ||
floatingghost [Fri, 10 Mar 2023 18:46:49 +0000 (18:46 +0000)]
Remove _misskey_reaction matching (#500)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/500
floatingghost [Fri, 10 Mar 2023 17:20:33 +0000 (17:20 +0000)]
Merge pull request 'Fix typo in installation/akkoma.service' (#498) from quad/akkoma:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/498
quad [Fri, 10 Mar 2023 15:51:56 +0000 (15:51 +0000)]
Fix typo in installation/akkoma.service
FloatingGhost [Fri, 10 Mar 2023 03:51:45 +0000 (03:51 +0000)]
Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop
FloatingGhost [Fri, 10 Mar 2023 03:51:24 +0000 (03:51 +0000)]
Add more information about failed verifications
foxing [Thu, 9 Mar 2023 20:40:28 +0000 (20:40 +0000)]
Display Quote posts in the api features list to allow external clients to enable compatibility with it. (#496)
Expose quote posting in the api as a feature.
Copies what the quote post PR for pleroma does to allow external clients to enable and disable features based on the feature-set of the instance.
As far as I am aware, akkoma doesn't allow you to disable quote posting, so this doesn't need anything fancy and it's just a hard on switch.
I tried to get one for the bubble tl to work also, but I'm not quite sure how to do it so that it switches off the feature when the bubble tl is disabled. I would argue that it could and ideally should be done as well though.
I also discovered a pretty tame bug in the testing of it, that deleting the DB entry for the bubble tl does not stop the bubble TL from actually working and it will continue to display the panel on the about page, I'll just leave it as a note here.
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/496
Co-authored-by: foxing <foxing@noreply.akkoma>
Co-committed-by: foxing <foxing@noreply.akkoma>
FloatingGhost [Thu, 9 Mar 2023 19:13:14 +0000 (19:13 +0000)]
Allow expires_at in filter requests
Fixes #492
FloatingGhost [Wed, 8 Mar 2023 17:39:35 +0000 (17:39 +0000)]
Allow moderators to get the admin scope again
Fixes #463
floatingghost [Thu, 2 Mar 2023 11:19:46 +0000 (11:19 +0000)]
Merge pull request 'fix invalid proxy_hide_header in example config' (#472) from flisk/akkoma:remote-media-docs-fix into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/472
floatingghost [Thu, 2 Mar 2023 11:18:12 +0000 (11:18 +0000)]
Merge pull request 'updating docs: start akko first, then upgrade frontend' (#486) from flisk/akkoma:fix-updating-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/486
floatingghost [Thu, 2 Mar 2023 11:16:26 +0000 (11:16 +0000)]
Merge pull request 'Reblog content should be ""' (#489) from masto4-reboost into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/489
FloatingGhost [Thu, 2 Mar 2023 11:04:27 +0000 (11:04 +0000)]
Reblog content should be ""
Fixes #450
flisk [Sun, 26 Feb 2023 22:39:18 +0000 (23:39 +0100)]
match nginx config to install config and extend docs a bit
flisk [Sun, 26 Feb 2023 22:42:28 +0000 (23:42 +0100)]
updating docs: start akko first, then upgrade frontend
flisk [Sat, 18 Feb 2023 13:13:04 +0000 (14:13 +0100)]
fix invalid proxy_hide_header in example config
FloatingGhost [Sun, 26 Feb 2023 22:12:31 +0000 (22:12 +0000)]
add changelog entry for MFM
FloatingGhost [Sun, 26 Feb 2023 22:11:30 +0000 (22:11 +0000)]
Merge branch 'delete_orphaned_activities' into develop
floatingghost [Sun, 26 Feb 2023 22:01:57 +0000 (22:01 +0000)]
Merge pull request 'update backwards compat notice in admin_api.md' (#473) from flisk/akkoma:update-admin-api-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/473
floatingghost [Sun, 26 Feb 2023 22:00:12 +0000 (22:00 +0000)]
Merge pull request 'update prometheus docs' (#474) from flisk/akkoma:update-prometheus-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/474
floatingghost [Sun, 26 Feb 2023 21:58:56 +0000 (21:58 +0000)]
Merge pull request 'Rename index for faster database restore' (#455) from ilja/akkoma:rename_index_for_faster_restore into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/455
floatingghost [Sun, 26 Feb 2023 21:49:42 +0000 (21:49 +0000)]
Merge pull request 'Docs: Change docs README for new way of building docs' (#448) from ilja/akkoma:improve_readme_from_docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/448
FloatingGhost [Sun, 26 Feb 2023 21:25:57 +0000 (21:25 +0000)]
fine then no fun allowed, y'all don't deserve it
ilja [Mon, 23 Jan 2023 08:43:16 +0000 (09:43 +0100)]
Changelog + remove some unneeded comments from the tests
ilja [Mon, 23 Jan 2023 08:07:44 +0000 (09:07 +0100)]
Add docs for pleroma_ctl database prune_objects --prune-orphaned-activities
I also added extra info on VACUUM FULL
ilja [Sun, 8 Jan 2023 17:22:53 +0000 (18:22 +0100)]
prune_objects can prune orphaned activities who reference an array of objects
E.g. Flag activities have an array of objects
We prune the activity when NONE of the objects can be found
Note that the cost of finding and deleting these is ~4x higher than finding and deleting the non-array ones
Only string:
Delete on activities (cost=506573.48..506580.38 rows=0 width=0)
Only Array:
Delete on activities (cost=
3570359.68..
4276365.34 rows=0 width=0)
(They are still executed separately, so the total cost is the sum of the two)
ilja [Sat, 7 Jan 2023 19:52:02 +0000 (20:52 +0100)]
prune_objects can prune orphaned activities
We add an option to also prune remote activities who don't have existing objects any more they reference.
Rn, we only check for activities who only reference one object, not an array or embeded object.
ilja [Fri, 27 Jan 2023 15:20:34 +0000 (16:20 +0100)]
Remove the note about activities_visibility_index
We renamed another index is the previous commit so that this work-around isn't needed any more
ilja [Fri, 27 Jan 2023 15:06:27 +0000 (16:06 +0100)]
Rename users_ap_id_COALESCE_follower_address_index for faster db restoration
By default Postgresql first restores the data and then the indexes when dumping and restoring the database.
Restoring index activities_visibility_index took a very long time.
users_ap_id_COALESCE_follower_address_index was later added because having this could speed up the restoration tremendously.
The problem now is that restoration apparently happens in alphabetical order, so this new index wasn't created yet
by the time activities_visibility_index needed it.
There were several work-arounds which included more complex steps during backup/restore.
By renaming this index, it should be restored first and thus activities_visibility_index can make use of it.
This speeds up restoration significantly without requiring more complex or unexpected steps from people.
FloatingGhost [Thu, 23 Feb 2023 11:07:59 +0000 (11:07 +0000)]
Add changelog entry
FloatingGhost [Thu, 23 Feb 2023 11:00:55 +0000 (11:00 +0000)]
Ensure we can update contentMap on update
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
Mahito TANNO [Wed, 22 Feb 2023 13:50:18 +0000 (22:50 +0900)]
docs: update URL hosting husky's sourse code
Mahito TANNO [Wed, 22 Feb 2023 13:43:17 +0000 (22:43 +0900)]
docs: remark that Pinafore is now unmaintained
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
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
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) :)
flisk [Sat, 18 Feb 2023 13:59:46 +0000 (14:59 +0100)]
update healthcheck route in locale string
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.
flisk [Sat, 18 Feb 2023 13:39:22 +0000 (14:39 +0100)]
update prometheus docs
flisk [Sat, 18 Feb 2023 13:37:12 +0000 (14:37 +0100)]
update backwards compat notice in admin_api.md
FloatingGhost [Wed, 15 Feb 2023 22:09:31 +0000 (22:09 +0000)]
build musl on develop
FloatingGhost [Wed, 15 Feb 2023 22:08:55 +0000 (22:08 +0000)]
use a slightly earlier alpine version
FloatingGhost [Sat, 11 Feb 2023 11:19:33 +0000 (11:19 +0000)]
add version in changelog
FloatingGhost [Sat, 11 Feb 2023 10:58:53 +0000 (10:58 +0000)]
fix docker tag
FloatingGhost [Sat, 11 Feb 2023 10:56:53 +0000 (10:56 +0000)]
bump elixir version in CI
FloatingGhost [Sat, 11 Feb 2023 10:48:52 +0000 (10:48 +0000)]
bump version
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.
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
ilja [Thu, 2 Feb 2023 13:37:45 +0000 (14:37 +0100)]
typo + remove unneeded file
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
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
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
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
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
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
ilja [Thu, 26 Jan 2023 08:09:02 +0000 (09:09 +0100)]
Change docs README for new way of building docs
Docs used to be a separate repo who cloned pleroma and pelroma-fe.
Now the docs are just the BE docs and completely part of the Akkoma repo.
I moved back to using venv because that's what I used and cleaner imo since it keeps everything nice in the repo.
(Iirc virtualenv stored things in the Home folder or smthng)
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.
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.
FloatingGhost [Sun, 15 Jan 2023 19:02:58 +0000 (19:02 +0000)]
add changelog entry
FloatingGhost [Sun, 15 Jan 2023 18:58:26 +0000 (18:58 +0000)]
Merge branch 'develop' of akkoma.dev:AkkomaGang/akkoma into develop
FloatingGhost [Sun, 15 Jan 2023 18:57:49 +0000 (18:57 +0000)]
Support TLD wildcards in MRF matches
Fixes #431
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
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>
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
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
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
FloatingGhost [Sun, 15 Jan 2023 18:05:02 +0000 (18:05 +0000)]
Add changelog entry
FloatingGhost [Sun, 15 Jan 2023 18:00:03 +0000 (18:00 +0000)]
Mix format
FloatingGhost [Sun, 15 Jan 2023 17:59:19 +0000 (17:59 +0000)]
add contentMap to schema
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.
FloatingGhost [Wed, 11 Jan 2023 15:44:15 +0000 (15:44 +0000)]
Merge branch 'language-on-posts' into develop
FloatingGhost [Wed, 11 Jan 2023 15:42:13 +0000 (15:42 +0000)]
add inbound language test
FloatingGhost [Wed, 11 Jan 2023 15:25:34 +0000 (15:25 +0000)]
fix no-language-specified federation
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
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
FloatingGhost [Tue, 10 Jan 2023 10:58:17 +0000 (10:58 +0000)]
fix unused variable warnings
FloatingGhost [Tue, 10 Jan 2023 10:48:14 +0000 (10:48 +0000)]
bump mock
FloatingGhost [Mon, 2 Jan 2023 02:41:56 +0000 (02:41 +0000)]
Fix tests
FloatingGhost [Mon, 2 Jan 2023 02:15:38 +0000 (02:15 +0000)]
Add language support on /api/v1/statuses