Commit graph

15108 commits

Author SHA1 Message Date
Chizu
2c89802c82 Merge branch 'develop' of https://git.youjo.love/fox/youjo-be into develop 2023-03-17 04:25:15 +09:00
Chizu
dcb171caf4 Allow mixed unicode + custom reactions 2023-03-16 15:06:11 +00:00
Chizu
6e7cef04af Seems to still be looking for this, readd it 2023-03-14 06:22:20 +09:00
fox
8490f686ac Don't crash on malformed avatar and banner values 2023-03-13 21:07:33 +00:00
Chizu
995e733db5 Depreciate old and unused endpoints 2023-03-14 05:15:44 +09:00
Fox
23e6ee5bec Merge branch 'develop' of https://git.youjo.love/fox/youjo-be into develop 2023-03-13 12:32:02 +09:00
Fox
c13df70d38 Attempt enum empty instead of checking against a literal array 2023-03-13 12:31:44 +09:00
fox
6163cbbe39 Apply Patch 2023-03-12 19:15:57 +00:00
Fox
71d3c83a4a fix bug, shouldn't have been an issue but it is for some reason 2023-03-09 14:36:26 +09:00
fox
c53db65882 Update 'README.md' 2023-03-09 04:34:55 +00:00
fox
2b46688948 Update 'README.md' 2023-03-09 04:33:44 +00:00
Fox
5b801ad3f5 Why not allow quoting private messages? 2023-03-09 13:01:41 +09:00
Fox
b5b0a0d332 some fixes 2023-03-09 12:49:55 +09:00
Fox
b9acf25060 tries to start akkoma twice + fix shoutbox 2023-03-09 12:49:55 +09:00
Fox
ba7c47eca9 somehow fucked this up 2023-03-09 12:49:55 +09:00
Fox
621a6a1689 I can only assume this works 2023-03-09 12:49:55 +09:00
Fox
a45192f1d4 so how many ends and commas did I forget?
who knows
2023-03-09 12:49:55 +09:00
Fox
a783225700 beats me why the this got fucked up 2023-03-09 12:49:55 +09:00
Fox
f6b2845ab3 fix another fuckup 2023-03-09 12:49:54 +09:00
Fox
31843f2b1c second one more fuckup 2023-03-09 12:49:54 +09:00
Fox
19ef7898d1 one more fuckup 2023-03-09 12:49:54 +09:00
Fox
c278b17b4c missing ends because thanks ghd 2023-03-09 12:49:54 +09:00
Fox
adfcc70188 Update router.ex 2023-03-09 12:49:54 +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
fc848b5dc5 fix missing end in router.ex for chats scope 2023-03-08 03:28:48 +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