ilja [Tue, 1 Nov 2022 14:25:54 +0000 (14:25 +0000)]
Fix rate_limiter_test.exs test "it restricts based on config values" (#233)
Fixes one of the 'erratic' tests
It used a timer to sleep.
But time also goes on when doing other things, so depending on hardware, the timings could be off.
I slightly changed the tests so we still test what we functionally want.
Instead of waiting until the cache expires I now have a function to expire the test and use that.
That means we're not testing any more if the cache really expires after a certain amount of time,
but that's the responsability of the dependency imo, so shouldn't be a problem.
I also changed `Pleroma.Web.Endpoint, :http, :ip` in the tests to `127.0.0.1`
Currently it was set to 8.8.8.8, but I see no reason for that and, while I assume that no calls
are made to it, it may come over as weird or suspicious to people.
Co-authored-by: Ilja <ilja@ilja.space>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/233
Co-authored-by: ilja <akkoma.dev@ilja.space>
Co-committed-by: ilja <akkoma.dev@ilja.space>
FloatingGhost [Tue, 1 Nov 2022 14:21:35 +0000 (14:21 +0000)]
Fix tests in ldap registration
nullobsi [Tue, 1 Nov 2022 14:17:55 +0000 (14:17 +0000)]
Fix LDAP user registration (#229)
Simple fix for LDAP user registration. I'm not sure what changed but I managed to get Akkoma running in a debug session and figured out it was missing a match for an extra value at the end. I don't know Elixir all that well so I'm not sure if this was the correct way to do it... but it works. :)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/229
Co-authored-by: nullobsi <me@nullob.si>
Co-committed-by: nullobsi <me@nullob.si>
FloatingGhost [Sat, 29 Oct 2022 21:08:18 +0000 (22:08 +0100)]
Reword stop gifs
FloatingGhost [Sat, 29 Oct 2022 20:57:50 +0000 (21:57 +0100)]
Add StopGifs to description
FloatingGhost [Fri, 21 Oct 2022 09:23:07 +0000 (10:23 +0100)]
document local_bubble
FloatingGhost [Thu, 20 Oct 2022 12:26:00 +0000 (13:26 +0100)]
Remove unused DATA arg
floatingghost [Wed, 19 Oct 2022 10:01:14 +0000 (10:01 +0000)]
Unilateral remove from followers (#232)
from https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3647/
Co-authored-by: marcin mikołajczak <git@mkljczk.pl>
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/232
FloatingGhost [Tue, 18 Oct 2022 15:16:55 +0000 (16:16 +0100)]
Add docker migration guide
FloatingGhost [Mon, 17 Oct 2022 15:29:36 +0000 (16:29 +0100)]
add DB restart to docker file
floatingghost [Sun, 16 Oct 2022 19:25:54 +0000 (19:25 +0000)]
Docker builds (#231)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/231
FloatingGhost [Fri, 14 Oct 2022 11:49:35 +0000 (12:49 +0100)]
bump version
floatingghost [Fri, 14 Oct 2022 11:41:34 +0000 (11:41 +0000)]
Merge pull request 'Check that the signature matches the creator' (#230) from domain-blocks into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/230
floatingghost [Fri, 14 Oct 2022 10:49:02 +0000 (10:49 +0000)]
Merge pull request 'SQL optimisations' (#227) from i-hate-sql into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/227
FloatingGhost [Fri, 14 Oct 2022 10:48:32 +0000 (11:48 +0100)]
Check that the signature matches the creator
FloatingGhost [Tue, 11 Oct 2022 13:30:08 +0000 (14:30 +0100)]
Ensure deletes are handled after everything else
FloatingGhost [Tue, 11 Oct 2022 10:40:43 +0000 (11:40 +0100)]
optimise notifications query
FloatingGhost [Mon, 10 Oct 2022 16:13:42 +0000 (17:13 +0100)]
format
FloatingGhost [Mon, 10 Oct 2022 15:45:02 +0000 (16:45 +0100)]
Use inner lateral join to not get dropped in :total
FloatingGhost [Mon, 10 Oct 2022 14:55:58 +0000 (15:55 +0100)]
Extract deactivated users query to a join
floatingghost [Thu, 6 Oct 2022 16:22:15 +0000 (16:22 +0000)]
Backend settings sync (#226)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/226
floatingghost [Tue, 20 Sep 2022 13:43:14 +0000 (13:43 +0000)]
Merge pull request 'include requirement to enable HTTP tunnel in tor' (#224) from tor-docs into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/224
FloatingGhost [Tue, 20 Sep 2022 13:40:32 +0000 (14:40 +0100)]
include requirement to enable HTTP tunnel in tor
floatingghost [Tue, 20 Sep 2022 12:33:16 +0000 (12:33 +0000)]
Merge pull request 'ensure we use the same OTP for all releases' (#223) from update-otp-version into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/223
FloatingGhost [Tue, 20 Sep 2022 11:20:54 +0000 (12:20 +0100)]
ensure we use the same OTP for all releases
floatingghost [Tue, 20 Sep 2022 11:04:26 +0000 (11:04 +0000)]
Add installation note about flavour, support special cases (#222)
Fixes #210
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/222
floatingghost [Tue, 20 Sep 2022 10:36:21 +0000 (10:36 +0000)]
Fix false error in meilisearch index (#221)
the schema changed
https://docs.meilisearch.com/reference/api/documents.html#add-or-update-documents
this wasn't breaking anything, it would just report errors that were actually successes
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/221
floatingghost [Mon, 19 Sep 2022 17:33:32 +0000 (17:33 +0000)]
Merge pull request 'Move remote user interaction changelog entry to correct version' (#219) from norm/akkoma:changelog-remote-user-interaction into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/219
Norm [Mon, 19 Sep 2022 17:31:35 +0000 (17:31 +0000)]
Make backups require its own scope (#218)
Pulled from https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3721.
This makes backups require its own scope (`read:backups`) instead of the `read:accounts` scope.
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/218
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
floatingghost [Mon, 19 Sep 2022 17:30:04 +0000 (17:30 +0000)]
Merge pull request 'Update soapbox-fe base url' (#220) from lou_de_sel/akkoma:lou_de_sel-patch-1 into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/220
lou_de_sel [Sun, 18 Sep 2022 07:45:30 +0000 (07:45 +0000)]
Update soapbox base url
At some point 'soapbox-pub/soapbox-fe' was moved to 'soapbox-pub/soapbox' and the build url is now updated.
Norm [Sun, 18 Sep 2022 03:21:05 +0000 (03:21 +0000)]
Move remote user interaction changelog entry to correct version
That feature was added in 2022.09, not 2022.08.
FloatingGhost [Fri, 16 Sep 2022 13:23:31 +0000 (14:23 +0100)]
ensure queue_target can't be silly low
FloatingGhost [Fri, 16 Sep 2022 12:00:40 +0000 (13:00 +0100)]
Ensure rollback succeeds
floatingghost [Fri, 16 Sep 2022 11:56:00 +0000 (11:56 +0000)]
Merge pull request 'User: search: exclude deactivated users from user search' (#214) from norm/akkoma:exclude-deactivated-search into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/214
floatingghost [Fri, 16 Sep 2022 11:53:11 +0000 (11:53 +0000)]
Ensure migrations succeed (#216)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/216
a1batross [Thu, 15 Sep 2022 20:38:35 +0000 (22:38 +0200)]
User: search: exclude deactivated users from user search
This way we don't pollute search results with deactivated and deleted users
Norm [Wed, 14 Sep 2022 10:20:07 +0000 (10:20 +0000)]
Update styles.json path in frontend config doc (#212)
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/212
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
Tusooa Zhu [Sun, 21 Aug 2022 01:52:20 +0000 (21:52 -0400)]
Add margin to forms and make inputs fill whole width
Tusooa Zhu [Thu, 8 Sep 2022 15:58:17 +0000 (11:58 -0400)]
Fix User.get_or_fetch/1 with usernames starting with http
floatingghost [Sun, 11 Sep 2022 19:28:06 +0000 (19:28 +0000)]
Merge pull request 'pleroma-cherry-picks' (#209) from pleroma-cherry-picks into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/209
FloatingGhost [Sun, 11 Sep 2022 19:14:58 +0000 (20:14 +0100)]
Use set of pregenerated RSA keys
Randomness is a huge resource sink, so let's just use
a some that we made earlier
Hélène [Tue, 23 Aug 2022 15:15:06 +0000 (17:15 +0200)]
OAuthPlug: use user cache instead of joining
As this plug is called on every request, this should reduce load on the
database by not requiring to select on the users table every single
time, and to instead use the by-ID user cache whenever possible.
Hélène [Fri, 19 Aug 2022 22:21:07 +0000 (00:21 +0200)]
emoji-test: update to latest 15.0 draft
Hélène [Tue, 23 Aug 2022 12:49:05 +0000 (14:49 +0200)]
Metadata/Utils: use summary as description if set
When generating OpenGraph and TwitterCard metadata for a post, the
summary field will be used first if it is set to generate the post
description.
Hélène [Fri, 26 Aug 2022 16:30:43 +0000 (18:30 +0200)]
User: generate private keys on user creation
This fixes a race condition bug where keys could be regenerated
post-federation, causing activities and HTTP signatures from an user to
be dropped due to key differences.
Hélène [Mon, 5 Sep 2022 01:51:35 +0000 (03:51 +0200)]
Migrations: generate unset user keys
User keys are now generated on user creation instead of "when needed",
to prevent race conditions in federation and a few other issues. This
migration will generate keys missing for local users.
Hélène [Sun, 11 Sep 2022 02:54:04 +0000 (04:54 +0200)]
ObjectView: do not fetch an object for its ID
Non-Create/Listen activities had their associated object field
normalized and fetched, but only to use their `id` field, which is both
slow and redundant. This also failed on Undo activities, which delete
the associated object/activity in database.
Undo activities will now render properly and database loads should
improve ever so slightly.
FloatingGhost [Sat, 10 Sep 2022 20:08:22 +0000 (21:08 +0100)]
Revert "use prebuilt image for docs"
This reverts commit
ef4282b348d49f0bb5b749ae1db27e6d44a366b2.
FloatingGhost [Sat, 10 Sep 2022 20:08:06 +0000 (21:08 +0100)]
Revert "tmp: use akkoma build image"
This reverts commit
cad2745734fb8a0192b0ec9ecd3ff2dc3eaedde8.
FloatingGhost [Sat, 10 Sep 2022 16:13:25 +0000 (17:13 +0100)]
use prebuilt image for docs
FloatingGhost [Sat, 10 Sep 2022 15:48:46 +0000 (16:48 +0100)]
tmp: use akkoma build image
floatingghost [Sat, 10 Sep 2022 14:44:17 +0000 (14:44 +0000)]
2022.09 stable release chores (#206)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/206
Norm [Thu, 8 Sep 2022 10:19:22 +0000 (10:19 +0000)]
Remote interaction with posts (#198)
Grabbed from https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3587
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/198
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
Norm [Thu, 8 Sep 2022 09:54:02 +0000 (09:54 +0000)]
Remove gitlab files (#203)
These don't really serve a purpose now and aren't even recognized by
Gitea.
Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/203
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
floatingghost [Tue, 6 Sep 2022 19:24:02 +0000 (19:24 +0000)]
Post editing (#202)
Rebased from #103
Co-authored-by: Tusooa Zhu <tusooa@kazv.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/202
FloatingGhost [Mon, 5 Sep 2022 16:22:33 +0000 (17:22 +0100)]
turn inlineQuotePolicy on by default
FloatingGhost [Mon, 5 Sep 2022 00:24:40 +0000 (01:24 +0100)]
add extra tests for builder
FloatingGhost [Sun, 4 Sep 2022 23:39:32 +0000 (00:39 +0100)]
fix compilation warnings
floatingghost [Sun, 4 Sep 2022 23:31:41 +0000 (23:31 +0000)]
Allow reacting with remote emoji when they exist on the post (#200)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/200
floatingghost [Fri, 2 Sep 2022 22:05:39 +0000 (22:05 +0000)]
ensure .exs config is used before default (#197)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/197
floatingghost [Wed, 31 Aug 2022 18:00:36 +0000 (18:00 +0000)]
Don't persist local undone follow (#194)
same deal but backwards this time
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/194
floatingghost [Tue, 30 Aug 2022 16:59:33 +0000 (16:59 +0000)]
add seperate source and dest entries in language listing (#193)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/193
floatingghost [Tue, 30 Aug 2022 14:58:54 +0000 (14:58 +0000)]
Allow listing languages, setting source language (#192)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/192
FloatingGhost [Tue, 30 Aug 2022 09:56:33 +0000 (10:56 +0100)]
include frontend installation document on all install guides
FloatingGhost [Tue, 30 Aug 2022 09:39:36 +0000 (10:39 +0100)]
add extra instructions to placeholder page
FloatingGhost [Mon, 29 Aug 2022 21:20:47 +0000 (22:20 +0100)]
ensure default value is sane
floatingghost [Mon, 29 Aug 2022 19:42:22 +0000 (19:42 +0000)]
Automatic status translation (#187)
Fixes #115
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/187
FloatingGhost [Sat, 27 Aug 2022 18:12:15 +0000 (19:12 +0100)]
add changelog entry
Tusooa Zhu [Fri, 19 Aug 2022 17:19:38 +0000 (13:19 -0400)]
Disconnect streaming sessions when token is revoked
Use Websockex to replace websocket_client
Test that server will disconnect websocket upon token revocation
Lint
Execute session disconnect in background
Refactor streamer test
allow multi-streams
rebase websocket change
floatingghost [Sat, 27 Aug 2022 18:05:48 +0000 (18:05 +0000)]
GTS: cherry-picks and collection usage (#186)
https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3725?commit_id=
61254111e59f02118cad15de49d1e0704c07030e
what is this, a yoink of a yoink? good times
Co-authored-by: Hélène <pleroma-dev@helene.moe>
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/186
floatingghost [Sat, 27 Aug 2022 11:11:56 +0000 (11:11 +0000)]
Merge pull request 'Add ability to obfuscate domains in MRF transparency' (#185) from obfuscate-domain-blocks into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/185
FloatingGhost [Sat, 27 Aug 2022 10:57:57 +0000 (11:57 +0100)]
Add ability to obfuscate domains in MRF transparency
floatingghost [Thu, 25 Aug 2022 19:39:56 +0000 (19:39 +0000)]
Merge pull request 'Update min elixir version in mix.exs to 1.12' (#184) from norm/akkoma:mix-exs-elixir into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/184
Norm [Thu, 25 Aug 2022 18:30:19 +0000 (18:30 +0000)]
Update min elixir version in mix.exs to 1.12
The install docs already mention 1.12 as the minimum supported version, so this should also be reflected in `mix.exs`.
floatingghost [Thu, 25 Aug 2022 16:11:21 +0000 (16:11 +0000)]
Add support for setting language in instance metadata (#183)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/183
floatingghost [Thu, 25 Aug 2022 14:37:51 +0000 (14:37 +0000)]
reuse valid oauth tokens (#182)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/182
FloatingGhost [Wed, 24 Aug 2022 14:38:02 +0000 (15:38 +0100)]
add changelog entry
floatingghost [Wed, 24 Aug 2022 14:36:33 +0000 (14:36 +0000)]
generate-keys-at-registration-time (#181)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/181
FloatingGhost [Wed, 24 Aug 2022 09:06:48 +0000 (10:06 +0100)]
allow new mfm classes
floatingghost [Tue, 23 Aug 2022 15:11:14 +0000 (15:11 +0000)]
Merge pull request 'add maintained language tags' (#180) from add-language-tags into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/180
FloatingGhost [Tue, 23 Aug 2022 15:10:19 +0000 (16:10 +0100)]
add language tags
FloatingGhost [Tue, 23 Aug 2022 11:13:35 +0000 (12:13 +0100)]
use public temple dep
FloatingGhost [Tue, 23 Aug 2022 11:09:01 +0000 (12:09 +0100)]
update mfm_parser
FloatingGhost [Sun, 21 Aug 2022 16:52:02 +0000 (17:52 +0100)]
Revert "Fix oauth2 (for real) (#179)"
This reverts commit
aa681d7e15f6170e7e92d86146d5ba96be6433bc.
floatingghost [Sun, 21 Aug 2022 16:24:37 +0000 (16:24 +0000)]
Fix oauth2 (for real) (#179)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/179
FloatingGhost [Sun, 21 Aug 2022 15:22:15 +0000 (16:22 +0100)]
Revert "oauth2 fixes (#177)"
This reverts commit
429e2ac832a874ae8ba8a9c116da61a6273c8a87.
floatingghost [Sun, 21 Aug 2022 15:17:01 +0000 (15:17 +0000)]
add visibility check on quote (#178)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/178
floatingghost [Sun, 21 Aug 2022 14:46:52 +0000 (14:46 +0000)]
oauth2 fixes (#177)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/177
floatingghost [Fri, 19 Aug 2022 09:25:12 +0000 (09:25 +0000)]
Merge pull request 'Update OTP OpenRC service' (#174) from norm/akkoma:otp-openrc into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/174
Norm [Thu, 18 Aug 2022 23:13:09 +0000 (23:13 +0000)]
Update OTP OpenRC service
This makes the paths match that of the OTP install guide on OpenRC distros.
floatingghost [Thu, 18 Aug 2022 10:51:46 +0000 (10:51 +0000)]
Merge pull request 'Update OTP systemd service' (#173) from kawen/akkoma:develop into develop
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/173
Karen Konou [Thu, 18 Aug 2022 10:43:20 +0000 (12:43 +0200)]
Update OTP systemd service
FloatingGhost [Thu, 18 Aug 2022 03:23:07 +0000 (04:23 +0100)]
add changelog entry
floatingghost [Thu, 18 Aug 2022 03:14:48 +0000 (03:14 +0000)]
parser MFM server-side (#172)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/172
floatingghost [Wed, 17 Aug 2022 09:35:11 +0000 (09:35 +0000)]
only put linked mfm in source (#171)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/171
floatingghost [Wed, 17 Aug 2022 00:22:59 +0000 (00:22 +0000)]
API compatibility with fedibird, frontend config (#163)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/163
floatingghost [Tue, 16 Aug 2022 23:24:19 +0000 (23:24 +0000)]
only return create objects for ES search (#165)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/165
floatingghost [Tue, 16 Aug 2022 22:56:49 +0000 (22:56 +0000)]
fix compatibility with meilisearch (#164)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/164
floatingghost [Sun, 14 Aug 2022 23:13:49 +0000 (23:13 +0000)]
add finch outbound proxy support (#158)
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/158