Claire
932a22219a
Merge pull request #2077 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2023-01-10 17:10:11 +01:00
Claire
a7bf439cfd
Merge branch 'main' into glitch-soc/merge-upstream
2023-01-10 14:43:38 +01:00
Claire
cff7d967f9
Fix CSRF protection ( #23037 )
...
Fix regression from #23014
2023-01-10 14:33:40 +01:00
Holden Foreman
fdabfb9d0e
[Glitch] Fix footer link circle dividers' screen reader accessibility by adding aria-hidden
...
Port 2bcb081ce8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-10 09:39:19 +01:00
Akira Ouchi
b6a928cd04
[Glitch] Add variable autoFocus to video
...
Port 2195f21524
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-10 09:39:19 +01:00
Claire
9765d2b3f8
Merge branch 'main' into glitch-soc/merge-upstream
...
Conflicts:
- `config/environments/production.rb`:
Upstream changed headers, and we have different ones.
Ported upstream's change.
2023-01-10 09:39:15 +01:00
Claire
aefefc74c4
Change referrer-policy to no-referrer application-wide ( #23014 )
2023-01-10 05:18:43 +01:00
Holden Foreman
2bcb081ce8
Fix footer link circle dividers' screen reader accessibility by adding aria-hidden ( #22576 )
...
* Fix footer link circle dividers' screen reader accessibility by adding aria-hidden
* Remove a circle erroneously added in prev commit, and make code more DRY
2023-01-09 03:54:03 +01:00
Akira Ouchi
2195f21524
Add variable autoFocus to video ( #15281 ) ( #22778 )
...
* add variable autoFocus to video
* set autoFocus in video_modal.js
2023-01-09 03:52:37 +01:00
n0toose
105e1f0ca6
Correct hashtag warning ( #22827 )
...
Posts with any visibility setting that is not 'Public' are prevented
from being listed under any hashtag.
2023-01-09 03:18:20 +01:00
Jim Myhrberg
85ec615393
feat(puma): enable setting min puma threads in addition to max ( #21048 )
2023-01-06 07:55:58 +01:00
Darius Kazemi
264655c53a
Fix account search not returning followed accounts first ( #22956 )
...
* Make autosuggest for mentions return followed accounts first
This makes it so that (when elasticsearch is disabled) when a user types '@foo' in the compose box, they are first going to get accounts they follow ordered by the ranking algorithm, and then second they will get accounts they do not follow, also ordered by the ranking algorithm.
This makes behavior more consistent with user expectation and also with results when elasticsearch is enabled.
* Fix ranking order to correct direction
* One more fixup per @gargron suggestion
* Tweak to ranking to no longer include following modifier
2023-01-06 07:35:52 +01:00
Claire
ad17e1944a
Merge pull request #2071 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2023-01-05 18:44:15 +01:00
Eugen Rochko
d11d15748c
New Crowdin updates ( #22901 )
...
* New translations en.json (Norwegian)
* New translations en.json (English, United Kingdom)
* New translations en.yml (English, United Kingdom)
* New translations simple_form.en.yml (English, United Kingdom)
* New translations en.json (Norwegian)
* New translations en.yml (Norwegian)
* New translations en.yml (Norwegian)
* New translations simple_form.en.yml (Norwegian)
* New translations doorkeeper.en.yml (Norwegian)
* New translations en.yml (Hebrew)
* New translations en.yml (German)
* New translations activerecord.en.yml (German)
* New translations doorkeeper.en.yml (German)
* New translations en.yml (Dutch)
* New translations doorkeeper.en.yml (Dutch)
* New translations en.yml (Finnish)
* New translations en.json (Dutch)
* New translations doorkeeper.en.yml (Dutch)
* New translations en.json (Finnish)
* New translations en.yml (Finnish)
* New translations doorkeeper.en.yml (Finnish)
* New translations doorkeeper.en.yml (Dutch)
* New translations en.json (Bulgarian)
* New translations en.yml (Norwegian Nynorsk)
* New translations en.yml (Norwegian Nynorsk)
* New translations en.yml (Finnish)
* New translations en.json (Frisian)
* New translations en.json (Frisian)
* New translations en.yml (Frisian)
* New translations doorkeeper.en.yml (Frisian)
* New translations en.yml (Esperanto)
* New translations en.json (Estonian)
* New translations en.json (Romanian)
* New translations en.json (French)
* New translations en.json (Spanish)
* New translations en.json (Afrikaans)
* New translations en.json (Arabic)
* New translations en.json (Belarusian)
* New translations en.json (Bulgarian)
* New translations en.json (Catalan)
* New translations en.json (Czech)
* New translations en.json (Danish)
* New translations en.json (German)
* New translations en.json (Greek)
* New translations en.json (Frisian)
* New translations en.json (Basque)
* New translations en.json (Finnish)
* New translations en.json (Irish)
* New translations en.json (Hebrew)
* New translations en.json (Hungarian)
* New translations en.json (Armenian)
* New translations en.json (Italian)
* New translations en.json (Japanese)
* New translations en.json (Georgian)
* New translations en.json (Korean)
* New translations en.json (Lithuanian)
* New translations en.json (Macedonian)
* New translations en.json (Dutch)
* New translations en.json (Norwegian)
* New translations en.json (Punjabi)
* New translations en.json (Polish)
* New translations en.json (Portuguese)
* New translations en.json (Russian)
* New translations en.json (Slovak)
* New translations en.json (Slovenian)
* New translations en.json (Albanian)
* New translations en.json (Serbian (Cyrillic))
* New translations en.json (Swedish)
* New translations en.json (Turkish)
* New translations en.json (Ukrainian)
* New translations en.json (Chinese Simplified)
* New translations en.json (Chinese Traditional)
* New translations en.json (Urdu (Pakistan))
* New translations en.json (Vietnamese)
* New translations en.json (Galician)
* New translations en.json (Icelandic)
* New translations en.json (Portuguese, Brazilian)
* New translations en.json (Indonesian)
* New translations en.json (Persian)
* New translations en.json (Tamil)
* New translations en.json (Spanish, Argentina)
* New translations en.json (Spanish, Mexico)
* New translations en.json (Bengali)
* New translations en.json (Marathi)
* New translations en.json (Thai)
* New translations en.json (Croatian)
* New translations en.json (Norwegian Nynorsk)
* New translations en.json (Kazakh)
* New translations en.json (Estonian)
* New translations en.json (Latvian)
* New translations en.json (Hindi)
* New translations en.json (Malay)
* New translations en.json (Telugu)
* New translations en.json (Burmese)
* New translations en.json (Welsh)
* New translations en.json (Faroese)
* New translations en.json (Esperanto)
* New translations en.json (Uyghur)
* New translations en.json (Chinese Traditional, Hong Kong)
* New translations en.json (Tatar)
* New translations en.json (Malayalam)
* New translations en.json (Breton)
* New translations en.json (Latin)
* New translations en.json (Bosnian)
* New translations en.json (French, Quebec)
* New translations en.json (Sinhala)
* New translations en.json (Cornish)
* New translations en.json (Kannada)
* New translations en.json (Scottish Gaelic)
* New translations en.json (Asturian)
* New translations en.json (Aragonese)
* New translations en.json (Occitan)
* New translations en.json (Serbian (Latin))
* New translations en.json (Kurmanji (Kurdish))
* New translations en.json (Sorani (Kurdish))
* New translations en.json (Scots)
* New translations en.json (Igbo)
* New translations en.json (Corsican)
* New translations en.json (Sardinian)
* New translations en.json (Sanskrit)
* New translations en.json (Kabyle)
* New translations en.json (Ido)
* New translations en.json (Taigi)
* New translations en.json (Silesian)
* New translations en.json (Standard Moroccan Tamazight)
* Normalize
* New translations en.json (Catalan)
* New translations en.json (German)
* New translations en.json (Greek)
* New translations en.json (Frisian)
* New translations en.json (Hebrew)
* New translations en.json (Hungarian)
* New translations en.json (Italian)
* New translations en.json (Dutch)
* New translations en.json (Slovenian)
* New translations en.json (Serbian (Cyrillic))
* New translations en.json (Swedish)
* New translations en.json (Ukrainian)
* New translations en.json (Vietnamese)
* New translations en.json (Galician)
* New translations en.json (Icelandic)
* New translations en.json (Indonesian)
* New translations en.json (Latvian)
* New translations en.json (Welsh)
* New translations en.json (Faroese)
* New translations en.json (Esperanto)
* New translations en.json (Serbian (Latin))
* New translations simple_form.en.yml (Galician)
* New translations en.json (Danish)
* New translations en.json (Japanese)
* New translations en.json (Korean)
* New translations en.yml (Japanese)
* Normalize
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2023-01-06 01:03:53 +09:00
Claire
c4649ae9d4
[Glitch] Add dropdown menu item to open admin interface for remote domains
...
Port 18d00055f4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 16:31:20 +01:00
Sean Whalen
1219c57209
[Glitch] Replace hide toot with hide post
...
Port 8cff96d94d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:15:27 +01:00
Holden Foreman
4404a7f065
[Glitch] Add aria-hidden to content warning field when dimmed so that it is not confusing to screen reader users
...
Port 83888739fd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:14:04 +01:00
Holden Foreman
4f335da8f8
[Glitch] Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users
...
Port c5da2f8c43
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:12:33 +01:00
Jed Fox
1702907a9d
[Glitch] Improve the contrast of the chart in “poll has ended” notifications
...
Port b81b646e3b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:11:23 +01:00
TAKAHASHI Shuuji
009fee7954
Remove object-fit polyfill for the old Microsoft Edge
...
Port d68c12648c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:10:31 +01:00
Claire
6c20dad201
Merge branch 'main' into glitch-soc/merge-upstream
...
Conflicts:
- `README.md`:
Upstream updated its README, while we have a completely different one.
Kept our README.
- `app/controllers/concerns/web_app_controller_concern.rb`:
Conflict because of glitch-soc's theming system.
Additionally, glitch-soc has different behavior regarding moved accounts.
Ported some of the changes, but kept our overall behavior.
- `app/javascript/packs/admin.js`:
Code changes actually applied to `app/javascript/core/admin.js`
2023-01-05 14:16:25 +01:00
Claire
18d00055f4
Add dropdown menu item to open admin interface for remote domains ( #21895 )
...
* Allow /admin/instances/:domain to handle IDNs
* Add dropdown menu item to open admin interface for remote domains
2023-01-05 14:03:46 +01:00
Claire
bf5fc20858
Downgrade Node.js requirement to 14+ ( #22342 )
2023-01-05 13:47:36 +01:00
Claire
18fb01ef7c
Fix possible race conditions when suspending/unsuspending accounts ( #22363 )
...
* Fix possible race conditions when suspending/unsuspending accounts
* Fix tests
Tests were assuming SuspensionWorker and UnsuspensionWorker would do the
suspending/unsuspending themselves, but this has changed.
2023-01-05 13:47:21 +01:00
Claire
8683a082dd
Remove needlessly specific Ruby/Bundler versions from Gemfile.lock ( #22341 )
2023-01-05 13:45:37 +01:00
Nick Schonning
a29cd2cdc2
Move Prettier CI checks to filtered jobs ( #22376 )
2023-01-05 13:45:21 +01:00
Sean Whalen
8cff96d94d
Replace hide toot with hide post ( #22385 )
...
* Change "Hide toot" to "Hide post"
* Update status_action_bar.js
Replace "Hide toot" with "Hide post"
2023-01-05 13:45:01 +01:00
Vyr Cossont
06f979098c
Check OpenSearch compatibility version instead of regular version ( #22422 )
...
Fixes #18535 .
2023-01-05 13:44:31 +01:00
David Freedman
ce74991bb2
Bump ruby-jwt and json-jwt to support OpenSSL 3.0 ( #22457 )
...
Bump ruby-jwt and json-jwt to support OmniAuth OIDC w/ OpenSSL 3.0
* https://github.com/jwt/ruby-jwt/issues/495
* https://github.com/nov/json-jwt/issues/100
2023-01-05 13:43:56 +01:00
Claire
a3b24d483e
Fix “Add new domain block” button using last submitted instead of current search value ( #22485 )
...
Fixes #22162
2023-01-05 13:42:38 +01:00
Nick Schonning
558ac411c4
Expand Stylelint glob to include CSS files ( #22469 )
2023-01-05 13:42:13 +01:00
Claire
acec1fb745
Fix site upload validations ( #22479 )
...
* Fix site settings media upload handling of DimensionsValidationError
Fixes #22234
* Fix underlying validations not being performed for site uploads
2023-01-05 13:42:03 +01:00
Claire
42f9693d00
Fix PermalinkRedirector not applying to users with moved accounts ( #22497 )
...
Fixes #22262
2023-01-05 13:40:27 +01:00
Holden Foreman
83888739fd
Add aria-hidden to content warning field when dimmed so that it is not confusing to screen reader users ( #22568 )
2023-01-05 13:39:58 +01:00
Sean
583df59df8
Add reference to mastodon/chart ( #22589 )
...
Reference mastodon/chart in the deployment section
2023-01-05 13:39:29 +01:00
Holden Foreman
c5da2f8c43
Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users ( #22513 )
2023-01-05 13:36:42 +01:00
Effy Elden
4dc9152b3e
Be more lenient with OEmbed detection and validation ( #22533 )
2023-01-05 13:36:24 +01:00
Nikita Karamov
70b3207e33
Add a11y tags to the modal ( #22549 )
...
Closes #22547
2023-01-05 13:35:47 +01:00
Claire
b8ad446f77
Fix incorrectly formatted datetime in account moderation note timestamp ( #22555 )
...
* Fix incorrectly formatted datetime in account moderation note timestamp
Fix oversight from #21878
* Fix use of non-existent translation string
2023-01-05 13:35:28 +01:00
Jed Fox
b81b646e3b
Improve the contrast of the chart in “poll has ended” notifications ( #22575 )
...
* Improve the contrast of the chart in “poll has ended” notifications
* Further increase the contrast of non-leading poll options
2023-01-05 13:34:10 +01:00
Claire
3654c94583
Strip spaces around URL when adding a relay ( #22655 )
...
* Strip spaces around URL when adding a relay
Fixes #22650
* Gracefuly handle URL parsing errors in URL validator
2023-01-05 13:33:33 +01:00
kyori19
b3ab0014e6
Install SSH server into devcontainer image ( #22679 )
2023-01-05 13:32:59 +01:00
Claire
7e9d5bdbb9
[Glitch] Fix unnecessary re-rendering of various components when typing in web UI ( #2063 )
...
Port 9620ee90be
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-01-05 13:32:29 +01:00
TAKAHASHI Shuuji
d68c12648c
Remove object-fit polyfill for the old Microsoft Edge ( #22693 )
...
* chore: remove object-fit-images and its postcss packages
* chore: update postcss config
* chore: remove object-fit-image from extra_polyfills.js
* chore: remove object-fit property check from load_polyfills.js
2023-01-05 13:32:02 +01:00
Jed Fox
0e7549b82d
Add `reading:autoplay:gifs` to /api/v1/preferences ( #22706 )
2023-01-05 13:31:05 +01:00
Jeong Arm
fdd1facba1
Fix home TL could contain post from who blocked me ( #22849 )
...
* Fix home tl contains post from who blocked me
* Add test
* Fix feed_manager's build_crutches
blocked_by was not includes status' owner
* Add test for status from I blocked
* Fix typo
2023-01-05 13:30:38 +01:00
Alexander Ivanov
8eb29741b4
Add webhook `account.approved` ( #22938 )
...
* Webhook `account.approved` when preparing new user
* Update Webhook.EVENTS
2023-01-05 13:29:49 +01:00
Claire
3a94668d87
Fix root key for glitch-soc pt-PT and pt-BR yaml translations ( #2065 )
2023-01-04 18:47:01 +01:00
Claire
cba7158085
Fix prettifier/lint issues ( #2066 )
...
* Add glitch-soc locale files to prettierignore
* Run prettier on theme.yml
* Add glitch-soc emoji_map.json to .prettierignore
* Run prettier on config/i18n-tasks.yml
2023-01-04 18:38:45 +01:00
dependabot[bot]
17f79082b0
Bump stylelint from 14.14.0 to 14.16.1 ( #22910 )
...
* Bump stylelint-config-standard-scss from 5.0.0 to 6.1.0
Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss ) from 5.0.0 to 6.1.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases )
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v5.0.0...v6.1.0 )
---
updated-dependencies:
- dependency-name: stylelint-config-standard-scss
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump stylelint from 14.14.0 to 14.16.1
Bumps [stylelint](https://github.com/stylelint/stylelint ) from 14.14.0 to 14.16.1.
- [Release notes](https://github.com/stylelint/stylelint/releases )
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/stylelint/stylelint/compare/14.14.0...14.16.1 )
---
updated-dependencies:
- dependency-name: stylelint
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Fix
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2023-01-04 21:13:57 +09:00