Tusooa Zhu
2aa8e66527
Fix User.get_or_fetch/1 with usernames starting with http
2 years ago
floatingghost
dbe678cb06
Merge pull request 'pleroma-cherry-picks' ( #209 ) from pleroma-cherry-picks into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/209
2 years ago
FloatingGhost
b4261b0335
Use set of pregenerated RSA keys
...
Randomness is a huge resource sink, so let's just use
a some that we made earlier
2 years ago
Hélène
1acd38fe7f
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.
2 years ago
Hélène
3e2d15c71d
emoji-test: update to latest 15.0 draft
2 years ago
Hélène
8683252fc5
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.
2 years ago
Hélène
0b14f02ed2
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.
2 years ago
Hélène
b6891fe190
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.
2 years ago
Hélène
e88f36f72b
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.
2 years ago
FloatingGhost
dfba26a09c
Revert "use prebuilt image for docs"
...
This reverts commit ef4282b348
.
2 years ago
FloatingGhost
f376eb7106
Revert "tmp: use akkoma build image"
...
This reverts commit cad2745734
.
2 years ago
FloatingGhost
ef4282b348
use prebuilt image for docs
2 years ago
FloatingGhost
cad2745734
tmp: use akkoma build image
2 years ago
floatingghost
b8190f19dc
2022.09 stable release chores ( #206 )
...
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/206
2 years ago
Norm
a6d85003fe
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>
2 years ago
Norm
7af32634be
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>
2 years ago
floatingghost
2641dcdd15
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
2 years ago
FloatingGhost
6c80977b06
turn inlineQuotePolicy on by default
2 years ago
FloatingGhost
f6304cfd78
add extra tests for builder
2 years ago
FloatingGhost
1c7d7845c3
fix compilation warnings
2 years ago
floatingghost
1b826eea54
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
2 years ago
floatingghost
7a90d71e8d
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
2 years ago
floatingghost
8e4de118c1
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
2 years ago
floatingghost
decbca0c91
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
2 years ago
floatingghost
c3fde9577d
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
2 years ago
FloatingGhost
25111bb407
include frontend installation document on all install guides
2 years ago
FloatingGhost
9cb41b6d7b
add extra instructions to placeholder page
2 years ago
FloatingGhost
7759187de9
ensure default value is sane
2 years ago
floatingghost
df39cab9c1
Automatic status translation ( #187 )
...
Fixes #115
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/187
2 years ago
FloatingGhost
722e56b308
add changelog entry
2 years ago
Tusooa Zhu
95e4018c1a
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
2 years ago
floatingghost
772c209914
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
2 years ago
floatingghost
f32e288711
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
2 years ago
FloatingGhost
85137f591f
Add ability to obfuscate domains in MRF transparency
2 years ago
floatingghost
f11a6eb8dd
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
2 years ago
Norm
db7ad08d1e
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`.
2 years ago
floatingghost
e4f2251e0f
Add support for setting language in instance metadata ( #183 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/183
2 years ago
floatingghost
618cf7ff7f
reuse valid oauth tokens ( #182 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/182
2 years ago
FloatingGhost
017b50550b
add changelog entry
2 years ago
floatingghost
92ba2802fb
generate-keys-at-registration-time ( #181 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/181
2 years ago
FloatingGhost
fd7f4874ba
allow new mfm classes
2 years ago
floatingghost
c40b45e675
Merge pull request 'add maintained language tags' ( #180 ) from add-language-tags into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/180
2 years ago
FloatingGhost
9b6feb6657
add language tags
2 years ago
FloatingGhost
3cf8c1eb31
use public temple dep
2 years ago
FloatingGhost
152c43ac9e
update mfm_parser
2 years ago
FloatingGhost
8d7b63a766
Revert "Fix oauth2 (for real) ( #179 )"
...
This reverts commit aa681d7e15
.
2 years ago
floatingghost
aa681d7e15
Fix oauth2 (for real) ( #179 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/179
2 years ago
FloatingGhost
b0130bfa7b
Revert "oauth2 fixes ( #177 )"
...
This reverts commit 429e2ac832
.
2 years ago
floatingghost
d72f9e39d9
add visibility check on quote ( #178 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/178
2 years ago
floatingghost
429e2ac832
oauth2 fixes ( #177 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/177
2 years ago