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
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
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
85137f591f
Add ability to obfuscate domains in MRF transparency
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
92ba2802fb
generate-keys-at-registration-time ( #181 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/181
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
floatingghost
e9f1897cfd
parser MFM server-side ( #172 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/172
2 years ago
floatingghost
aaf78e2b52
only put linked mfm in source ( #171 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/171
2 years ago
floatingghost
11ec9daa5b
API compatibility with fedibird, frontend config ( #163 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/163
2 years ago
floatingghost
89ffc01c23
only return create objects for ES search ( #165 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/165
2 years ago
floatingghost
61641957cb
fix compatibility with meilisearch ( #164 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/164
2 years ago
floatingghost
37a1001b97
add finch outbound proxy support ( #158 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/158
2 years ago
FloatingGhost
d3b9cfb03f
use :discard instead of cancel
2 years ago
FloatingGhost
55179d4214
set soapbox-fe v2 by default
...
fixes #157
2 years ago
floatingghost
1245141779
treat rejections in MRF as a reject in federator ( #155 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/155
2 years ago
FloatingGhost
5d23df84c9
Mix format
2 years ago
Hélène
b3e4d81362
StatusView: implement pleroma.context field
...
This field replaces the now deprecated conversation_id field, and now
exposes the ActivityPub object `context` directly via the MastoAPI
instead of relying on StatusNet-era data concepts.
2 years ago
Hélène
b9bb093600
StatusView: clear MSB on calculated conversation_id
...
This field seems to be a left-over from the StatusNet era.
If your application uses `pleroma.conversation_id`: this field is
deprecated.
It is currently stubbed instead by doing a CRC32 of the context, and
clearing the MSB to avoid overflow exceptions with signed integers on
the different clients using this field (Java/Kotlin code, mostly; see
Husky and probably other mobile clients.)
This should be removed in a future version of Pleroma. Pleroma-FE
currently depends on this field, as well.
2 years ago
floatingghost
62e179f446
make conversation-id deterministic ( #154 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/154
2 years ago
floatingghost
ec162b496b
/notice signing checks on redirect ( #150 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/150
2 years ago
floatingghost
0ec3a11895
don't persist undo of follows ( #149 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/149
2 years ago
floatingghost
a82fb2acc1
Merge pull request 'Update default paths' ( #141 ) from norm/akkoma:update-default-paths into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/141
2 years ago
Hélène
c1e15ff6f8
Transmogrifier: fix reply context fixing
...
Incoming Pleroma replies to a Misskey thread were rejected due to a
broken context fix, which caused them to not be visible until a
non-Pleroma user interacted with the replies.
This fix properly sets the post-fix object context to its parent Create
activity as well, if it was changed.
2 years ago
floatingghost
456c97fda9
Merge pull request 'remove unneeded function' ( #143 ) from compile-fix into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/143
2 years ago
floatingghost
842ab82ef0
Merge pull request 'Allow users to create backups without providing email address' ( #140 ) from norm/akkoma:backup-without-email into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/140
2 years ago
Norm
2c40d565fa
Fix config path lookup ( #139 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/139
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2 years ago
FloatingGhost
359510eebc
remove unneeded function
2 years ago
Francis Dinh
8bfd01b9c7
Update default paths
2 years ago
Tusooa Zhu
f08241c8ab
Allow users to create backups without providing email address
...
Ref: backup-without-email
2 years ago
floatingghost
c9600dbbbf
local-only-fixed ( #138 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/138
2 years ago
floatingghost
ca000f8301
Merge mrf_simple-reject with quarantine ( #137 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/137
2 years ago
Joel Beckmeyer
e26388a01c
Support reaching user@sub.domain.tld at user@domain.tld ( #134 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/134
Co-authored-by: Joel Beckmeyer <joel@beckmeyer.us>
Co-committed-by: Joel Beckmeyer <joel@beckmeyer.us>
2 years ago
floatingghost
c3eea8dc7d
expose bubble instances via nodeinfo ( #136 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/136
2 years ago
floatingghost
19a27ff006
allow small/center tags in misskeymarkdown ( #132 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/132
2 years ago
Yukkuri
38659e5610
Use uppercase HTTP HEAD method for media preview proxy request ( #128 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/128
Co-authored-by: Yukkuri <iamtakingiteasy@eientei.org>
Co-committed-by: Yukkuri <iamtakingiteasy@eientei.org>
2 years ago
FloatingGhost
2033d7d4fc
ensure extra info in fix_follow_state prints
2 years ago
FloatingGhost
db99edacfe
do the same for soapbox
2 years ago
FloatingGhost
4f6caae209
ensure we can't run the same clause of fix_quote_url more than once
2 years ago
FloatingGhost
bf3f934275
add guards around fix misskey content
2 years ago
floatingghost
405406601f
Fix emoji qualification ( #124 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/124
2 years ago
floatingghost
2796a9acaf
backend-i18n ( #121 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/121
2 years ago
floatingghost
645f0390bc
Prepare for ubuntu22 murdering openssl ( #120 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/120
2 years ago
floatingghost
a3501cab86
ensure quote fetching obeys max thread distance ( #119 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/119
2 years ago
FloatingGhost
0a55c37182
don't error out if the featured collection has a string ID
2 years ago
floatingghost
1f6deb0ef4
include local instance in bubble timeline ( #117 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/117
2 years ago
floatingghost
90c4785b89
remove public post quarantine exception ( #114 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/114
2 years ago
floatingghost
1419eee5df
Quote posting ( #113 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/113
2 years ago
FloatingGhost
516d155558
open up functions in user
2 years ago
floatingghost
c4e9c4bc95
extend custom runtime system ( #108 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/108
2 years ago
floatingghost
4c47992686
bugfix/follow-state ( #104 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/104
2 years ago
floatingghost
cb6e7359af
add bubble timeline ( #100 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/100
2 years ago
floatingghost
0c542e58aa
Remove instrumentors ( #98 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/98
2 years ago
FloatingGhost
0f132b802d
purge chat and shout endpoints
2 years ago
floatingghost
07ea4d73e1
update mastofe paths ( #95 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/95
2 years ago
FloatingGhost
3b8bf8464f
update features array
2 years ago
floatingghost
729f45ccd2
purge ldap authenticator ( #92 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/92
2 years ago
floatingghost
dc9f66749c
remove all endpoints marked as deprecated ( #91 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/91
2 years ago
FloatingGhost
cf0ad02ea9
Remove scrobbling support
2 years ago
FloatingGhost
85e2e64c82
fix resolution of GTS user keys
2 years ago
floatingghost
54ed8760ff
Merge branch 'from/upstream-develop/tusooa/server-announcements' into 'develop' ( #85 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/85
2 years ago
floatingghost
5b4d77eaa7
maintenance: dependency upgrade ( #81 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/81
2 years ago
floatingghost
d2a185c013
Documentation updates for stable release ( #73 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/73
2 years ago
FloatingGhost
d598c7a834
remove anonymous function from plug
2 years ago
FloatingGhost
4aee900ae8
fix compilation
2 years ago
floatingghost
37ae047e16
Add swaggerUI options ( #66 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/66
2 years ago
floatingghost
7c1a2092ca
Merge pull request 'Change default Postgres user/DB to akkoma' ( #63 ) from norm/akkoma:default-db-name into develop
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/63
2 years ago
Tusooa Zhu
4c5bc3e9f7
Pass remote follow avatar into media proxy
2 years ago
norm
becf7dced6
Merge branch 'develop' into default-db-name
2 years ago
Norm
7dfc3f3d0e
Change default Postgres user/DB to akkoma
2 years ago
floatingghost
8215434c65
also resolve @full@tags in mfm ( #62 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/62
2 years ago
floatingghost
ff6c8455fb
[ #58 ] ensure all users are linked in MFM content ( #61 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/61
2 years ago
floatingghost
5ad256f170
[ #58 ] pre-link MFM content ( #59 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/59
2 years ago
floatingghost
82fa766ed7
Remove precompiled javascript ( #55 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/55
2 years ago
floatingghost
bc6bfe383f
Add configurable theme color ( #53 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/53
2 years ago
floatingghost
a9c82b62f2
Fixes for elasticsearch 8 ( #52 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/52
2 years ago
norm
3d9dabd914
Fix config path lookup ( #51 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/51
Co-authored-by: norm <normandy@biribiri.dev>
Co-committed-by: norm <normandy@biribiri.dev>
2 years ago
FloatingGhost
1486ad0c6e
import logger
2 years ago
FloatingGhost
a036a01a1e
mix format
2 years ago
floatingghost
364b6969eb
Use finch everywhere ( #33 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/33
2 years ago
sfr
058bf96798
implement Move activities ( #45 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/45
Co-authored-by: sfr <sol@solfisher.com>
Co-committed-by: sfr <sol@solfisher.com>
2 years ago
FloatingGhost
95ef3a8b1e
Use Akkoma modification for collections
2 years ago
FloatingGhost
05081cd81b
Add collection fetching module
2 years ago
FloatingGhost
0a3a552696
Add support for a `first` reference in pinned objects
2 years ago
floatingghost
3f7c64f30b
Fix broken attachments from owncast ( #31 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/31
2 years ago
floatingghost
2937495712
fix ES import from live ( #29 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/29
2 years ago
FloatingGhost
bc9e76cce7
Add documentation for ES search
2 years ago
FloatingGhost
635a3c223a
Add elasticsearch tests
2 years ago
FloatingGhost
1ecdb19de5
Refactor ES on top of search behaviour
2 years ago
Ekaterina Vaartis
563b964690
Change updateId to uid because apparently that's the new name
2 years ago
Ekaterina Vaartis
b7462040cc
Change the meilisearch key auth to conform to 0.25.0
2 years ago
Ekaterina Vaartis
7f53aa400b
Don't try removing deleted users and such from index as posts
2 years ago
Ekaterina Vaartis
7aebff799b
Fix meilisearch tests and jobs for oban
2 years ago
Ekaterina Vaartis
5def4a7d49
Use oban for search indexing
2 years ago
Ekaterina Vaartis
54b2a86f47
Add a search backend behaviour
2 years ago
Ekaterina Vaartis
a4914add8c
Don't support meilisearch < 0.24.0, since it breaks things
2 years ago
Ekaterina Vaartis
cc3319ac1d
Make chunk size configurable
2 years ago
Ekaterina Vaartis
bac70a2bc1
Implement suggestions from the Meilisearch MR
...
- Index unlisted posts
- Move version check outside of the streaming and only do it once
- Use a PUT request instead of checking manually if there is need to insert
- Add error handling, sort of
2 years ago
Ekaterina Vaartis
c128798418
Rename Activity.Search to Search.DatabaseSearch
2 years ago
Ekaterina Vaartis
ea582fbf93
Rename search.ex to database_search.ex and add search/2
2 years ago
Ekaterina Vaartis
0769f06bd1
Style fixes
2 years ago
Ekaterina Vaartis
5dd908552c
Move the search.ex file so credo doesn't complain
2 years ago
Ekaterina Vaartis
86971fceaa
Support reindexing meilisearch >=0.24.0
...
It has has a different error code key
2 years ago
Ekaterina Vaartis
9e7d7ebd48
Add a reindex option
...
Signed-off-by: Ekaterina Vaartis <vaartis@kotobank.ch>
2 years ago
Ekaterina Vaartis
d99a2be351
Only add local posts to index in activity_pub
...
Remote ones are already added in another place
2 years ago
Ekaterina Vaartis
51faa28568
Set content-type to application/json
2 years ago
Ekaterina Vaartis
afcdd2f437
Modify some meilisearch variables
2 years ago
Ekaterina Vaartis
37913c8ddf
Use proper deleted object for removing from index
2 years ago
Ekaterina Vaartis
a937a98df5
Don't try removing from index again in common_api
...
It's already removed in the side effects of the pipeline
2 years ago
Ekaterina Vaartis
0802c0666b
Move add_to_index / remove_from_index to Pleroma.Actitivy.Search
2 years ago
Ekaterina Vaartis
5ed1759091
Reorder ranking rules for (maybe) better results
2 years ago
Ekaterina Vaartis
41f3572152
Fix activity being passed to objec_to_search_data
2 years ago
Ekaterina Vaartis
d1079f1aa3
Add the meilisearch.stats command
2 years ago
Ekaterina Vaartis
d5cc272a91
Add a message with a count of posts to index
2 years ago
Ekaterina Vaartis
dbf556cdcf
Implement meilisearch auth
2 years ago
Ekaterina Vaartis
5360cc1097
Make indexing logs rewrite themselves
2 years ago
Ekaterina Vaartis
0cf3654907
Rework task indexing to share code with the main module
...
The code in the main module now scrubs new posts too
2 years ago
Ekaterina Vaartis
117f525fd6
Adjust content indexing to skip more unneeded stuff
2 years ago
Ekaterina Vaartis
14ef6ce80f
Mark only content as searchable for meilisearch
2 years ago
Ekaterina Vaartis
b3401ba7bd
Also index incoming federated posts
2 years ago
Ekaterina Vaartis
52a872432d
Make the chunk size smaller
2 years ago
Ekaterina Vaartis
a586ce0ddd
Use content instead of source and scrub it
2 years ago
Ekaterina Vaartis
c3a04166a0
Tweak search ordering to hopefully return newer results
2 years ago
Ekaterina Vaartis
7b3701e6b9
Make meilisearch sort on publish date converted to unix time
2 years ago
Ekaterina Vaartis
abf82a63ec
Make the indexing batch differently and more, show number indexed
2 years ago
Ekaterina Vaartis
e5ac2ffa07
Ensure only indexing public posts and implement clearing and delete
2 years ago
Ekaterina Vaartis
41db5c8653
Add logging to milisiearch index and make it use desc(id)
2 years ago
Ekaterina Vaartis
e961cf2689
Initial meilisearch implementation, doesn't delete posts yet
2 years ago
Hélène
8f140deb8f
StealEmojiPolicy: fix String rejected_shortcodes
...
* rejected_shortcodes is defined as a list of strings in the
configuration description. As such, database-based configuration was
led to handle those settings as strings, and not as the actually
expected type, Regex.
* This caused each message passing through this MRF, if a rejected
shortcode was set and the emoji did not exist already on the instance,
to fail federating, as an exception was raised, swiftly caught and
mostly silenced.
* This commit fixes the issue by introducing new behavior: strings are
now handled as perfect matches for an emoji shortcode (meaning that if
the emoji-to-be-pulled's shortcode is in the blacklist, it will be
rejected), while still supporting Regex types as before.
2 years ago
Ilja
661d0ba481
Also use actor_type to determine if an account is a bot in antiFollowbotPolicy
2 years ago
Tusooa Zhu
3fd87b6a75
Skip cache when /objects or /activities is authenticated
...
Ref: fix-local-public
2 years ago
Tusooa Zhu
932e5df19e
Allow to skip cache in Cache plug
...
Ref: fix-local-public
2 years ago
Tusooa Zhu
33d821256e
Fix incorrect fallback when English is set to first language
2 years ago
Tusooa Zhu
2df25e6666
Support fallbacking to other languages
2 years ago
Tusooa Zhu
fcfb5a4967
Lint
2 years ago
Tusooa Zhu
07bd35227a
Support multiple locales from userLanguage cookie
2 years ago
Tusooa Zhu
fa95bc8725
Support multiple locales formally
...
elixir gettext current does not fully support fallback to another language [0].
But it might in the future. We adapt it so that all languages in Accept-Language
headers are received by Pleroma.Web.Gettext. User.languages is now a comma-separated
list.
[0]: https://github.com/elixir-gettext/gettext/issues/303
2 years ago
Tusooa Zhu
845e5769ce
Make lint happy
2 years ago
Tusooa Zhu
ef73f61b07
Fallback to a variant if the language in general is not supported
...
For an example, here, zh is not supported, but zh_Hans and zh_Hant
are. If the user asks for zh, we should choose a variant for them
instead of fallbacking to default.
Some browsers (e.g. Firefox) does not allow users to customize
their language codes. For example, there is no zh-Hans, but only
zh, zh-CN, zh-TW, zh-HK, etc. This provides a workaround for
those users suffering from bad design decisions.
2 years ago
Tusooa Zhu
72bdb0640f
Allow user to register with custom language
2 years ago
Tusooa Zhu
1b77308644
Allow update_credentials to update User.language
2 years ago
Tusooa Zhu
7726148472
Send emails i18n'd using backend-stored user language
2 years ago