Commit graph

15177 commits

Author SHA1 Message Date
fox
5703e75f0c yes fun allowed, kys
revert fine then no fun allowed, y'all don't deserve it
2023-03-09 12:48:49 +09:00
Fox
77154ab713 some fixes 2023-03-09 12:48:06 +09:00
fox
b3f48aa607 yes fun allowed, kys
revert fine then no fun allowed, y'all don't deserve it
2023-03-08 07:38:37 +00:00
Fox
8cec9a11e9 tries to start akkoma twice + fix shoutbox 2023-03-08 14:07:12 +09:00
Fox
af0b91ba51 somehow fucked this up 2023-03-08 13:26:38 +09:00
Fox
3ac1d6356b I can only assume this works 2023-03-08 13:17:48 +09:00
Fox
4dc1e32be8 so how many ends and commas did I forget?
who knows
2023-03-08 12:58:41 +09:00
Fox
dc4ee2d593 beats me why the this got fucked up 2023-03-08 12:55:53 +09:00
Fox
86fc08ceb1 fix another fuckup 2023-03-08 12:52:31 +09:00
Fox
6805e06c90 second one more fuckup 2023-03-08 12:48:23 +09:00
Fox
2cdbfb103e one more fuckup 2023-03-08 12:46:38 +09:00
Fox
efc6cdc924 missing ends because thanks ghd 2023-03-08 12:43:12 +09:00
Fox
0253c9db42 Update router.ex 2023-03-08 12:37:49 +09:00
fox
fc848b5dc5 fix missing end in router.ex for chats scope 2023-03-08 03:28:48 +00:00
Fox
c572746770 fix missing end in router.ex for chats scope 2023-03-08 12:28:16 +09:00
fox
3a24d624b4 bump ver + change name 2023-03-08 12:21:46 +09:00
Fox
844ac4bbee bring back the endpoint for chats so I can send one containing dog porn to floatingghost 2023-03-08 12:21:46 +09:00
Fox
441e024bf2 I wish painful death on floatingghost 2023-03-08 12:21:46 +09:00
Fox
8cc530a90c Revert "remove chat enabled feature"
This reverts commit e35dced9c8.
2023-03-08 12:21:46 +09:00
fox
9c1b0085b9 fuck off
revert add code of conduct (#129)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/129
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2023-03-08 12:21:45 +09:00
fox
420c62ff76 use real formatting retard 2023-03-08 12:21:45 +09:00
fox
1017744fb8 revert 745e15468e - kill yourself
revert 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>
2023-03-08 12:21:45 +09:00
fox
18ebb83d48 use real formatting retard 2023-03-08 12:21:18 +09:00
fox
7e3b5f1dc4 bump ver + change name 2023-03-08 03:19:53 +00:00
fox
7698ab35eb bump ver + change name 2023-03-07 02:02:10 +00:00
Fox
392ca94bb5 bring back the endpoint for chats so I can send one containing dog porn to floatingghost 2023-03-07 00:30:17 +00:00
Fox
16e950e4c3 I wish painful death on floatingghost 2023-03-07 00:22:46 +00:00
Fox
43e6b6d275 Revert "remove chat enabled feature"
This reverts commit e35dced9c8.
2023-03-06 23:47:33 +00:00
fox
e68362af18 fuck off
revert add code of conduct (#129)

Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/129
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2023-03-06 23:32:38 +00:00
fox
74382ba137 use real formatting retard 2023-03-06 23:29:09 +00:00
fox
92f1ea9112 revert 745e15468e - kill yourself
revert 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>
2023-03-06 23:23:36 +00:00
floatingghost
c8add9d1dc 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
2023-03-02 11:19:46 +00:00
floatingghost
d43c8080d0 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
2023-03-02 11:18:12 +00:00
floatingghost
df03d64dc5 Merge pull request 'Reblog content should be ""' (#489) from masto4-reboost into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/489
2023-03-02 11:16:26 +00:00
FloatingGhost
b88e6560e0 Reblog content should be ""
Fixes #450
2023-03-02 11:04:27 +00:00
flisk
1ab0b3a0e2 match nginx config to install config and extend docs a bit 2023-02-26 23:58:55 +01:00
flisk
cb28b8f0fe updating docs: start akko first, then upgrade frontend 2023-02-26 23:42:28 +01:00
flisk
531a550184 fix invalid proxy_hide_header in example config 2023-02-26 23:25:46 +01:00
FloatingGhost
45a11aa20f add changelog entry for MFM 2023-02-26 22:12:31 +00:00
FloatingGhost
f56e3098ef Merge branch 'delete_orphaned_activities' into develop 2023-02-26 22:11:30 +00:00
floatingghost
fd1dc87eb4 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
2023-02-26 22:01:57 +00:00
floatingghost
7bd80ccf07 Merge pull request 'update prometheus docs' (#474) from flisk/akkoma:update-prometheus-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/474
2023-02-26 22:00:12 +00:00
floatingghost
f7211459ef 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
2023-02-26 21:58:56 +00:00
floatingghost
fc842aa7c7 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
2023-02-26 21:49:42 +00:00
FloatingGhost
08d49fba7d fine then no fun allowed, y'all don't deserve it 2023-02-26 21:25:57 +00:00
ilja
328b4d93b7 Changelog + remove some unneeded comments from the tests 2023-02-26 14:43:19 +01:00
ilja
c1c962e1a8 Add docs for pleroma_ctl database prune_objects --prune-orphaned-activities
I also added extra info on VACUUM FULL
2023-02-26 14:41:50 +01:00
ilja
57eef6d764 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)
2023-02-26 14:41:50 +01:00
ilja
a7ec6e039c 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.
2023-02-26 14:41:50 +01:00
ilja
3b634dcbe7 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
2023-02-26 14:38:14 +01:00