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
Tusooa Zhu
c301a95276
Make all emails translatable
2 years ago
Tusooa Zhu
63a0536d55
Make mail and mailer translatable
2 years ago
Tusooa Zhu
39cfecb188
Make static fe translatable
2 years ago
Tusooa Zhu
03aac29531
Fix tests
2 years ago
Tusooa Zhu
c6652fccae
Make mfa pages translatable
2 years ago
Tusooa Zhu
8f8d2abb12
Make oauth pages translatable
2 years ago
Tusooa Zhu
793922f1d8
Use proper lang attributes in htmls
2 years ago
Tusooa Zhu
ec57e3480c
Make tag feed translatable
2 years ago
Tusooa Zhu
50913c4dc5
Make password reset pages translatable
2 years ago
Tusooa Zhu
8f08c902a5
Make lint happy
2 years ago
Tusooa Zhu
ed1d9e91bc
Make remote follow pages translatable
2 years ago
Tusooa Zhu
775f997c40
Prefer userLanguage cookie over Accept-Language header in detecting locale
...
https://git.pleroma.social/pleroma/pleroma-meta/-/issues/60
2 years ago
Ilja
a20d2847e2
After code review
...
Use patern matching to see if someone was superuser before
2 years ago
Ilja
1048bc1bb9
Delete report notifs when demoting from superuser
...
When someone isn't a superuser any more, they shouldn't see the reporsts any more either.
Here we delete the report notifications from a user when that user gets updated from being a superuser to a non-superuser.
2 years ago
Sam Therapy
8de65de3b9
Add unicode 14 support
...
and add a test with a unicode 14 emoji
2 years ago
floatingghost
2342fface1
Add visibility check in context path ( #26 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/26
2 years ago
FloatingGhost
064c36274c
Purge gopher frontend
2 years ago
floatingghost
e6cd61619f
Purge SSH frontend ( #23 )
...
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/23
2 years ago
FloatingGhost
d392fafa06
Remove debug prints
2 years ago
FloatingGhost
f2ff05637f
Allow for embedding object data in publish
2 years ago
FloatingGhost
45b7d18871
update api spec for custom emoji reaction
2 years ago
FloatingGhost
cac39ef817
Bugfix: standardise scheme for emoji reactions
2 years ago
FloatingGhost
3928cecf6b
ensure local statuses are not visible remotely
2 years ago
FloatingGhost
34e11cef47
check for local_public? on AP route
2 years ago
FloatingGhost
502382da45
cherry-pick security from upstream
2 years ago
sn0w
f2f8b81fc4
Use mediaproxy for emoji notifications if enabled
2 years ago
FloatingGhost
f15c9e8b08
format everything
2 years ago
FloatingGhost
5b11543c96
update pleroma-fe url
2 years ago
FloatingGhost
6e1d9c63da
allow %{source} dict in no_empty
2 years ago
FloatingGhost
abefbcec64
Merge branch 'mfm' into develop
2 years ago
FloatingGhost
0627da0027
mix format
2 years ago
FloatingGhost
829ae13572
ensure tests pass
2 years ago
FloatingGhost
4fb2251221
Allow authoring MFM
2 years ago
FloatingGhost
3f06ccc9e3
allow `source` from misskey
2 years ago
sn0w
60bfaed368
Allow reacting with emojis containing a number
2 years ago
FloatingGhost
0f5bea2465
Add emoji_url to notifications to allow rendering
...
Ref #5
2 years ago
FloatingGhost
2abf8c982e
fix secret key failure
2 years ago
FloatingGhost
24bf8c3977
mix format
2 years ago
FloatingGhost
32fbd2e4e3
fix all tests
2 years ago
FloatingGhost
c3ed86cd1e
fix emoji controller tests
2 years ago
FloatingGhost
142646426e
fix emoji tests
2 years ago
FloatingGhost
71f4281850
fix quoting of custom emoji
...
Fixes #3
2 years ago
FloatingGhost
ed58a6b070
run mix format
2 years ago
FloatingGhost
801f2b0fc5
Add capabilities for emoji reactions
...
Patch from helene@p.helene.moe
2 years ago
FloatingGhost
0f2bfeaea7
Enable mediaproxy by default
2 years ago
FloatingGhost
e910f21d8d
allow undoing
2 years ago
FloatingGhost
e724da2a42
remove io.inspects
2 years ago
FloatingGhost
c5467d04e4
add outbound reacts
2 years ago
FloatingGhost
ad0b8c095c
add custom emoji reaction support
2 years ago
FloatingGhost
f19c93cdaa
use tls1.3
2 years ago
FloatingGhost
6a19fbac2f
add copyright notice for forked files
3 years ago
FloatingGhost
0f6bece60d
Merge remote-tracking branch 'origin/patch/readd-mastofe' into develop
3 years ago
FloatingGhost
0d012ebea1
Revert "Merge branch 'remove/mastofe' into 'develop'"
...
This reverts commit 6b3842cf50
, reversing
changes made to 6b1282a829
.
3 years ago
FloatingGhost
8cc6359a85
Merge remote-tracking branch 'upstream/bookwyrm-entities' into develop
3 years ago
FloatingGhost
25b4395830
just drop unknown tags
3 years ago
FloatingGhost
34780cf182
Merge remote-tracking branch 'upstream/bookwyrm-entities' into develop
3 years ago
FloatingGhost
2cc6b1e1bd
Allow for varying name fields
3 years ago
FloatingGhost
5c48fe1138
make credo happy
3 years ago
FloatingGhost
92d3742072
Merge remote-tracking branch 'upstream/bookwyrm-entities' into develop
3 years ago
FloatingGhost
9ee27fb5ec
add bookwyrm entity tests
3 years ago
FloatingGhost
680c5d8d89
Add compatibility with bookwyrm's weird entities
3 years ago
FloatingGhost
3252ed0f54
format
3 years ago
FloatingGhost
4e7e95a17e
don't error out
3 years ago
FloatingGhost
4e8ee48cff
delete activities
3 years ago
FloatingGhost
12a171844b
Merge remote-tracking branch 'upstream/develop' into develop
3 years ago
marcin mikołajczak
1657db656c
AccountController.lookup: skip auth
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
3 years ago
marcin mikołajczak
0dd1caa841
AccountController.lookup: skip visibility check
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
3 years ago
marcin mikołajczak
746c9daa62
Merge remote-tracking branch 'pleroma/develop' into mastodon-lookup
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
3 years ago
marcin mikołajczak
f734579965
MastoAPI: Add `GET /api/v1/accounts/lookup`
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
3 years ago
Alex Gleason
de7f84deb3
Merge branch 'apps-api-endpoint' into 'develop'
...
Apps API endpoint
See merge request pleroma/pleroma!3583
3 years ago
Alex Gleason
7704a722c0
AppController: remove unnecessary `require Logger`
3 years ago
Alex Gleason
2e4a1c56c3
AppController: test creating with and without a user
3 years ago
Alex Gleason
f5c3d45120
Merge remote-tracking branch 'origin/develop' into apps-api-endpoint
3 years ago
Alex Gleason
138f5a4517
EnsureStaffPrivilegedPlug: don't let non-moderators through
3 years ago
Alex Gleason
a3fa987611
AdminAPI: fix duplicated routes
3 years ago
Alex Gleason
326575d5b7
Merge remote-tracking branch 'origin/develop' into finch
3 years ago
Alex Gleason
a659428024
Merge branch 'restricted-moderators' into 'develop'
...
AdminAPI: Optionally restrict moderators from accessing sensitive data
See merge request pleroma/pleroma!3578
3 years ago
Alex Gleason
6e27fc9c12
Merge branch 'log-slow-queries' into 'develop'
...
Log slow Ecto queries
See merge request pleroma/pleroma!3553
3 years ago
Ivan Tashkinov
08c0f09bad
Made slow queries logging disabled by default.
3 years ago
Alibek Omarov
f02715c4b2
Fix lint errors
3 years ago
Alibek Omarov
f66675f349
API: fix duplicate :get_password_token route
3 years ago
Alibek Omarov
1c223331fc
API: show info about privileged staff in instance metadata
3 years ago
Alibek Omarov
cd1041c3a4
API: optionally restrict moderators from accessing sensitive data
3 years ago
Ivan Tashkinov
3e9e7178bc
Configurability of slow queries logging ([:pleroma, :telemetry, :slow_queries_logging]). Adjusted log messages truncation to 65 kb (was default: 8 kb). Non-truncated logging of slow query params.
3 years ago
Lain Soykaf
4cf03046f5
Merge branch 'finch' of git.pleroma.social:pleroma/pleroma into finch
3 years ago
Lain Soykaf
6efbd08854
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into finch
3 years ago
Alex Gleason
913141379c
Merge branch 'profile-directory' into 'develop'
...
MastoAPI: Profile directory
See merge request pleroma/pleroma!3573
3 years ago
marcin mikołajczak
de006443f0
MastoAPI: Profile directory
3 years ago
Alex Gleason
db2bf55e9b
Merge remote-tracking branch 'origin/develop' into notice-routes
3 years ago
Alex Gleason
73609211a4
Merge branch 'account-notes' into 'develop'
...
MastoAPI: Add user notes on accounts
See merge request pleroma/pleroma!3540
3 years ago
Alex Gleason
b96a58ff28
Merge branch 'account-subscriptions' into 'develop'
...
MastoAPI: accept notify param in follow request
See merge request pleroma/pleroma!3555
3 years ago