Jeong Arm
c4c1bee880
Fix trendable status without review ( #20214 )
2 years ago
Claire
93a6ebc83d
Fix WebUI crash when listing server blocks and rationale is not available ( #20408 )
...
Regression from #20391
Fixes #20405
2 years ago
Emily Strickland
96f51e593f
Guard against error extracting `body` from URL ( #20428 )
...
If `Nokogiri::HTML(value).at_xpath('//body')` fails to find the `body` element, it will return `nil`. We can guard against that with an early return. Avoids calling `children` on `Nilclass` in those cases.
2 years ago
Claire
31005aad12
Add the ability to edit media attachment metadata for any unattached media ( #20402 )
2 years ago
Cutls
553b169d48
Do not show drag&drop dialog when not logined ( #20400 )
...
* Cannot upload until login
* and do not fire upload
* change username props to context
2 years ago
Claire
5e796dc6f8
Remove “No description added” media warning in edit mode ( #20393 )
...
Editing media metadata is not currently possible in edit mode, the button would
open the modal but saving the changes would error out.
2 years ago
Eugen Rochko
9bc0a6c861
Fix metadata scrubbing removing color profile from images ( #20389 )
2 years ago
Eugen Rochko
53028af10e
Bump version to 4.0.0rc3 ( #20378 )
2 years ago
Eugen Rochko
6774c339b2
Fix domain blocks on about page not working well on small screens in web UI ( #20391 )
2 years ago
Pierre Bourdon
36bc90e8aa
blurhash_transcoder: prevent out-of-bound reads with <8bpp images ( #20388 )
...
The Blurhash library used by Mastodon requires an input encoded as 24
bits raw RGB data. The conversion to raw RGB using Imagemagick did not
previously specify the desired bit depth. In some situations, this leads
Imagemagick to output in a pixel format using less bpp than expected.
This then manifested as segfaults of the Sidekiq process due to
out-of-bounds read, or potentially a (highly noisy) memory infoleak.
Fixes #19235 .
2 years ago
Eugen Rochko
73fecc3358
Change e-mail in SECURITY.md ( #20384 )
2 years ago
Connor Shea
cf4992c918
Only remove padding when listing applications ( #20382 )
...
This prevents styling issues on the Authorization page.
2 years ago
F
97f657f818
Note that CircleCI auth may be required to run PR pipelines ( #20371 )
...
See #20284
2 years ago
Yamagishi Kazutoshi
53d26cfc1c
Delay workbox import ( #20376 )
2 years ago
Yamagishi Kazutoshi
19a8563905
Fix `ENV` ( #20377 )
2 years ago
F
d4f973227c
Test the native_locale_name of a non-standard locale ( #20284 )
...
`:en` is English for both `standard_locale_name` and
`native_locale_name`, and so makes for a poor test candidate for
differentiating between them.
2 years ago
Erik Sundell
302a58c22b
helm: fix consistent indentation, chomping, and use of with ( #19918 )
2 years ago
Claire
86f6631d28
Remove dead code and refactor status threading code ( #20357 )
...
* Remove dead code
* Remove unneeded/broken parameters and refactor descendant computation
2 years ago
F
a02a453a40
Add Scots to the supported locales ( #20283 )
...
Fixes #20249
2 years ago
Eugen Rochko
c6c7c6223d
Change verification to only work for https links ( #20304 )
...
Fix #20242
2 years ago
F
9feba112a7
Make enable_starttls configurable by envvars ( #20321 )
...
ENABLE_STARTTLS is designed to replace ENABLE_STARTTLS_AUTO by accepting
three values: 'auto' (the default), 'always', and 'never'. If
ENABLE_STARTTLS isn't provided, we fall back to ENABLE_STARTTLS_AUTO. In
this way, this change should be fully backwards compatible.
Resolves #20311
2 years ago
Claire
1615c3eb6e
Change logged out /api/v1/statuses/:id/context logged out limits ( #20355 )
2 years ago
Claire
894ce3726a
Fix unnecessary service worker registration and preloading when logged out ( #20341 )
2 years ago
Alex Nordlund
397845453e
Update Helm README and bump version ( #20346 )
...
* Update Helm chart README and comments in values.yaml
* Bump next Helm chart to 2.2.0
2 years ago
Claire
8e1e7fe2e0
Add old logo files back ( #20332 )
...
Fixes #20221
2 years ago
Claire
99734ac936
Remove preview cards from fav and boost notifications ( #20335 )
...
Fixes #20329
2 years ago
Joe Friedl
86232e68a8
Give web container time to start ( #19828 )
2 years ago
mickkael
6c7cdedb24
Helm chart improved for ingress ( #19826 )
...
* ingressClassName
* ingress values must be optional
2 years ago
Alex Nordlund
60c4df3d1d
Bump next Helm chart to 2.1.0 ( #20155 )
2 years ago
Sheogorath
e868f41923
fix(chart): Fix gitops-incompatible random rolling ( #20184 )
...
This patch reworks the Pod rolling mechanism, which is supposed to update Pods
with each migration run, but since the it generates a new random value on each
helm execution, this will constantly roll all pods in a GitOps driven deployment,
which reconciles the helm release.
This is resolved by fixing the upgrade to the `.Release.Revision`, which should
stay identical, unless config or helm release version have been changed. Further
it introduces automatic rolls based on adjustments to the environment variables
and secrets.
The implementation uses a helper template, following the 1-2-N rule, and omitting
code duplication.
References:
https://helm.sh/docs/chart_template_guide/builtin_objects/
https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments
2 years ago
Alex Nordlund
86d4b6f7c9
Helm update readme.md ( #20154 )
...
* gitignore packaged helm charts
* Add upgrade instructions to helm chart/readme.md
* Note Helm secret changes that are necessary on failed upgrades
2 years ago
Alex Nordlund
b907871604
Helm update readme.md ( #20154 )
...
* gitignore packaged helm charts
* Add upgrade instructions to helm chart/readme.md
* Note Helm secret changes that are necessary on failed upgrades
2 years ago
atsuchan
6df9d388e7
Update Flavour 'ja' Translation ( #1911 )
2 years ago
Eugen Rochko
f8e8e622e5
Change incoming activity processing to happen in `ingress` queue ( #20264 )
2 years ago
Claire
89a6b76f99
Fix color of the “No description added“ media upload warning on light theme ( #20328 )
2 years ago
Claire
ee7e49d1b1
Merge pull request #1910 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2 years ago
Eugen Rochko
c4d2c72924
[Glitch] Add option to open original page in dropdowns of remote content in web UI
...
Port ef582dc4f2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Sasha Sorokin
099b3011aa
[Glitch] Remove aria-pressed where it's redundant
...
Port d055d75172
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
65b6c4f6df
[Glitch] Change larger reblogs/favourites numbers to be shortened in web UI
...
Port 7bdb2433f1
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Effy Elden
c722c4cce8
[Glitch] Remove unused timeline_container to fix linter errors
...
Port 8fdbb4d00d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
41ea39903d
[Glitch] Fix confusing wording in interaction modal in web UI
...
Port 16122761c5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
d3a29a136c
[Glitch] Fix profile header being cut off in light theme in web UI
...
Port e37e8deb0f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
c118918520
Merge branch 'main' into glitch-soc/merge-upstream
...
Conflicts:
- `app/models/custom_emoji.rb`:
Not a real conflict, just upstream changing a line too close to
a glitch-soc-specific validation.
Applied upstream changes.
- `app/models/public_feed.rb`:
Not a real conflict, just upstream changing a line too close to
a glitch-soc-specific parameter documentation.
Applied upstream changes.
2 years ago
Effy Elden
8fdbb4d00d
Remove unused timeline_container to fix linter errors ( #20305 )
2 years ago
Eugen Rochko
7bdb2433f1
Change larger reblogs/favourites numbers to be shortened in web UI ( #20303 )
2 years ago
Eugen Rochko
16122761c5
Fix confusing wording in interaction modal in web UI ( #20302 )
2 years ago
Eugen Rochko
ef582dc4f2
Add option to open original page in dropdowns of remote content in web UI ( #20299 )
...
Change profile picture click to open profile picture in modal in web UI
2 years ago
Eugen Rochko
e37e8deb0f
Fix profile header being cut off in light theme in web UI ( #20298 )
2 years ago
Eugen Rochko
9965a23b04
Change link verification to ignore IDN domains ( #20295 )
...
Fix #3833
2 years ago
James Tucker
78a6b871fe
Improve performance by avoiding regex construction ( #20215 )
...
```ruby
10.times { p /#{FOO}/.object_id }
10.times { p FOO_RE.object_id }
```
2 years ago