about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2022-11-08Merge branch 'main' into glitch-soc/merge-upstreamClaire
2022-11-08Fix redrafting a currently-editing post not leaving edit mode (#20023)Claire
2022-11-08Improve performance by avoiding method cache busts (#19957)James Tucker
Switch to monkey-patching http.rb rather than a runtime extend of each response, so as to avoid busting the global method cache. A guard is included that will provide developer feedback in development and test environments should the monkey patch ever collide.
2022-11-08Add password autocomplete hints (#20071)Claire
Fixes #20067 Our password autocomplete hints were “off” but that does not prevent current browsers from trying to autocomplete them anyway, so use `current-password` and `new-password` so they don't put a newly-generated password in a password confirmation prompt, or the old password for a password renewal prompt.
2022-11-08Fix opening the language picker scrolling the single-column view to the top ↵Claire
(#19983) Fixes #19915
2022-11-08Micro-optimization: use `if`/`else` instead of `Array#compact` and ↵Postmodern
`Array#min` (#19906) * Technically `if`/`else` is faster than using `[value1, value2].compact.min` to find the lesser of two values, one of which may be `nil`.
2022-11-07Fix spoiler buttons css not rendering correct color in light theme (#19960)Zach Flanders
* Updating status__content__spoiler-link css for mastodon-light theme to ensure correct rendering precedence * Adding focus css selector to status__content__spoiler-link mastodon-light theme * reformatting code to match convention of having css selectors on separate lines * fixing code format for scss linting issue
2022-11-07Fix validation error in SynchronizeFeaturedTagsCollectionWorker (#20018)Claire
* Fix followers count not being updated when migrating follows Fixes #19900 * Fix validation error in SynchronizeFeaturedTagsCollectionWorker Also saves remote user's chosen case for hashtags * Limit remote featured tags before validation
2022-11-07[Glitch] Add aria-expanded to content warning toggle buttonClaire
Port 622f603ac73e40a9e41c254fa90079eeecfe1e02 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-07Merge branch 'main' into glitch-soc/merge-upstreamClaire
2022-11-07Fix filter handling in status cache hydration (#19963)Claire
2022-11-07Micro-optimization: only split `acct` into two Strings (#19901)Postmodern
* Since `acct` is split by `@` and assigned to `username` and `domain`, we only need to split `acct` into two Strings.
2022-11-08New Crowdin updates (#19771)Eugen Rochko
* New translations en.yml (Vietnamese) * New translations en.yml (Galician) * New translations en.yml (Icelandic) * New translations en.yml (Japanese) * New translations en.yml (Armenian) * New translations en.yml (German) * New translations en.yml (Czech) * New translations en.yml (Chinese Simplified) * New translations en.yml (Ido) * New translations en.json (Esperanto) * New translations en.yml (Turkish) * New translations en.yml (Albanian) * New translations en.yml (Ukrainian) * New translations en.yml (Romanian) * New translations en.yml (Hungarian) * New translations en.yml (Bulgarian) * New translations en.yml (Catalan) * New translations en.yml (Danish) * New translations en.yml (Greek) * New translations en.yml (Frisian) * New translations en.yml (Basque) * New translations en.json (Finnish) * New translations en.yml (Finnish) * New translations en.yml (Irish) * New translations en.yml (Hebrew) * New translations en.json (Portuguese, Brazilian) * New translations en.yml (Portuguese, Brazilian) * New translations en.yml (Sorani (Kurdish)) * New translations en.yml (Sinhala) * New translations en.yml (Cornish) * New translations en.yml (Kannada) * New translations en.yml (Asturian) * New translations en.yml (Occitan) * New translations en.yml (Serbian (Latin)) * New translations en.yml (Kurmanji (Kurdish)) * New translations en.yml (Corsican) * New translations en.yml (Malayalam) * New translations en.yml (Sardinian) * New translations en.yml (Sanskrit) * New translations en.yml (Kabyle) * New translations en.yml (Taigi) * New translations en.yml (Silesian) * New translations en.yml (Standard Moroccan Tamazight) * New translations simple_form.en.yml (French) * New translations simple_form.en.yml (Kurmanji (Kurdish)) * New translations en.yml (Burmese) * New translations en.yml (Breton) * New translations en.yml (Tatar) * New translations en.yml (Indonesian) * New translations en.yml (Kazakh) * New translations en.yml (Persian) * New translations en.yml (Tamil) * New translations en.yml (Spanish, Argentina) * New translations en.yml (Spanish, Mexico) * New translations en.yml (Bengali) * New translations en.yml (Marathi) * New translations en.yml (Croatian) * New translations en.yml (Norwegian Nynorsk) * New translations en.yml (Estonian) * New translations en.yml (Chinese Traditional, Hong Kong) * New translations en.json (Latvian) * New translations en.yml (Latvian) * New translations en.yml (Hindi) * New translations en.yml (Malay) * New translations en.yml (Telugu) * New translations en.yml (English, United Kingdom) * New translations en.yml (Welsh) * New translations en.yml (Esperanto) * New translations en.yml (Uyghur) * New translations en.yml (Igbo) * New translations en.json (Czech) * New translations en.json (Dutch) * New translations en.json (Hungarian) * New translations en.yml (Hungarian) * New translations en.yml (Dutch) * New translations en.yml (Polish) * New translations en.yml (Swedish) * New translations en.json (Icelandic) * New translations en.yml (Icelandic) * New translations en.json (Dutch) * New translations en.yml (Ukrainian) * New translations en.yml (Swedish) * New translations en.json (Ukrainian) * New translations en.json (Chinese Simplified) * New translations simple_form.en.yml (Irish) * New translations simple_form.en.yml (Asturian) * New translations devise.en.yml (Asturian) * New translations en.json (Slovenian) * New translations en.yml (Slovenian) * New translations en.json (Vietnamese) * New translations en.yml (Vietnamese) * New translations en.yml (Asturian) * New translations simple_form.en.yml (Vietnamese) * New translations simple_form.en.yml (Asturian) * New translations activerecord.en.yml (Asturian) * New translations devise.en.yml (Asturian) * New translations en.json (Japanese) * New translations en.yml (Kurmanji (Kurdish)) * New translations en.json (Japanese) * New translations en.yml (Japanese) * New translations en.json (Vietnamese) * New translations en.yml (Vietnamese) * New translations simple_form.en.yml (Vietnamese) * New translations doorkeeper.en.yml (Vietnamese) * New translations en.json (Afrikaans) * New translations en.json (Galician) * New translations en.yml (Turkish) * New translations en.json (Afrikaans) * New translations en.yml (Afrikaans) * New translations en.yml (Galician) * New translations simple_form.en.yml (Afrikaans) * New translations en.json (Albanian) * New translations en.yml (Albanian) * New translations en.yml (French) * New translations en.json (Arabic) * New translations en.yml (Arabic) * New translations en.json (Slovenian) * New translations simple_form.en.yml (French) * New translations simple_form.en.yml (Albanian) * New translations activerecord.en.yml (French) * New translations activerecord.en.yml (Sorani (Kurdish)) * New translations devise.en.yml (French) * New translations en.json (Norwegian Nynorsk) * New translations en.yml (Occitan) * New translations doorkeeper.en.yml (Norwegian Nynorsk) * New translations simple_form.en.yml (Occitan) * New translations doorkeeper.en.yml (Occitan) * New translations activerecord.en.yml (Occitan) * New translations en.yml (Spanish) * New translations en.yml (Japanese) * New translations en.json (Occitan) * New translations en.json (Kurmanji (Kurdish)) * New translations simple_form.en.yml (Japanese) * New translations simple_form.en.yml (Norwegian Nynorsk) * New translations doorkeeper.en.yml (Norwegian Nynorsk) * New translations doorkeeper.en.yml (Occitan) * New translations en.yml (Thai) * New translations en.json (Thai) * New translations en.json (Irish) * New translations en.json (Slovenian) * New translations en.json (Scottish Gaelic) * New translations en.yml (Scottish Gaelic) * New translations en.yml (Kurmanji (Kurdish)) * New translations simple_form.en.yml (Irish) * New translations doorkeeper.en.yml (Irish) * New translations simple_form.en.yml (Thai) * New translations en.json (Thai) * New translations en.json (German) * New translations en.yml (Spanish) * New translations en.json (Greek) * New translations en.json (Slovenian) * New translations en.json (Scottish Gaelic) * New translations en.yml (Asturian) * New translations simple_form.en.yml (Thai) * New translations simple_form.en.yml (Scottish Gaelic) * New translations devise.en.yml (Asturian) * New translations en.json (Danish) * New translations en.json (Korean) * New translations en.yml (Korean) * New translations en.yml (Asturian) * New translations simple_form.en.yml (Korean) * New translations en.json (French) * New translations en.json (Danish) * New translations en.yml (Danish) * New translations en.json (Ukrainian) * New translations en.json (Portuguese, Brazilian) * New translations en.yml (Portuguese, Brazilian) * New translations en.json (Scottish Gaelic) * New translations en.yml (Scottish Gaelic) * New translations simple_form.en.yml (Ukrainian) * New translations doorkeeper.en.yml (Portuguese, Brazilian) * New translations simple_form.en.yml (Scottish Gaelic) * New translations doorkeeper.en.yml (Scottish Gaelic) * New translations en.json (German) * New translations en.json (Catalan) * New translations en.json (Danish) * New translations en.yml (Danish) * New translations en.json (Portuguese, Brazilian) * New translations en.yml (Portuguese, Brazilian) * New translations en.yml (Spanish, Mexico) * New translations en.json (Asturian) * New translations en.json (Occitan) * New translations doorkeeper.en.yml (Catalan) * New translations en.json (Scottish Gaelic) * New translations en.yml (Scottish Gaelic) * New translations simple_form.en.yml (Norwegian Nynorsk) * New translations simple_form.en.yml (Scottish Gaelic) * New translations en.json (German) * New translations simple_form.en.yml (Norwegian Nynorsk) * New translations en.json (Asturian) * New translations en.yml (Asturian) * New translations en.json (Sorani (Kurdish)) * New translations en.json (French) * New translations en.yml (Dutch) * New translations en.json (Welsh) * New translations en.json (Sorani (Kurdish)) * New translations doorkeeper.en.yml (Norwegian Nynorsk) * New translations en.json (Dutch) * New translations en.json (French) * New translations en.yml (Dutch) * New translations simple_form.en.yml (Dutch) * New translations doorkeeper.en.yml (Dutch) * New translations en.json (Irish) * New translations en.yml (Portuguese, Brazilian) * New translations en.yml (German) * New translations en.json (Arabic) * New translations en.yml (Arabic) * New translations en.yml (Sorani (Kurdish)) * New translations simple_form.en.yml (Arabic) * New translations en.yml (Ukrainian) * New translations en.json (Ukrainian) * New translations simple_form.en.yml (Ukrainian) * New translations doorkeeper.en.yml (Ukrainian) * New translations activerecord.en.yml (Ukrainian) * New translations en.json (Russian) * New translations en.json (Bulgarian) * New translations en.json (Hebrew) * New translations en.json (Bulgarian) * New translations en.json (Japanese) * New translations en.yml (Finnish) * New translations simple_form.en.yml (Japanese) * New translations devise.en.yml (Finnish) * New translations en.json (Hebrew) * New translations en.yml (German) * New translations en.json (Bulgarian) * New translations en.yml (Polish) * New translations simple_form.en.yml (Japanese) * New translations activerecord.en.yml (Arabic) * New translations activerecord.en.yml (Hebrew) * New translations en.json (Bulgarian) * New translations en.json (German) * New translations en.json (Danish) * New translations simple_form.en.yml (Portuguese, Brazilian) * New translations en.json (Bulgarian) * New translations en.json (Frisian) * New translations en.json (Russian) * New translations en.json (Turkish) * New translations en.json (Ukrainian) * New translations simple_form.en.yml (German) * New translations simple_form.en.yml (Russian) * New translations devise.en.yml (Frisian) * New translations en.yml (Czech) * New translations en.json (Bulgarian) * New translations en.json (Czech) * New translations en.json (Frisian) * New translations en.json (Italian) * New translations en.json (Polish) * Run `yarn manage:translations` * Run `bundle exec i18n-tasks normalize` Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-11-07Add aria-expanded to content warning toggle button (#19975)Claire
Fixes #19920
2022-11-07Fix crash when external auth provider has no display_name set (#19962)Claire
Fixes #19913
2022-11-07Fix links to the Web UI in notifications (#19981)Claire
Most of the old routes are broken because of the /web removal.
2022-11-07Add form element on focal point modal (#19834)Sunny Ripert
* Add form element on focal point modal * Add type="button" for detection button
2022-11-07Fix followers count not being updated when migrating follows (#19998)Claire
Fixes #19900
2022-11-07Fix light theme issues with the favourite modal and some background colors ↵Claire
(#1902) * Fix favourite modal styling in glitch-soc light theme * Fix unnecessary difference between glitch-soc's light theme and upstream's
2022-11-07[Glitch] Fix double button to clear emoji search inputSunny Ripert
Port 4b7f32a2a668b7068ede7ac8eb2ac087883ba213 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-07[Glitch] Fix JavaScript console error on Getting Started columnSunny Ripert
Port ffe735344bb47ad2af743ad97729db9ea9c11f60 to glitch-soc Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com> Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-07[Glitch] Fix console log error on column settings loadSunny Ripert
Port 34c269310d2017c3164d57c1e8631f9423092ee3 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-07Merge branch 'main' into glitch-soc/merge-upstreamClaire
2022-11-07Tag the OTP field with autocomplete for password managers (#19946)Chris Rose
This is modeled on #19833, and based on the attribute values documented in https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element?language=objc
2022-11-07Fix double button to clear emoji search input (#19888)Sunny Ripert
2022-11-07Add null check on application in dispute viewer (#19851)Jeremy Kescher
2022-11-07Fix JavaScript console error on Getting Started column (#19891)Sunny Ripert
* Fix JavaScript console error on Getting Started column * Update app/javascript/mastodon/components/column_header.js Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com> Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
2022-11-07Fix console log error on column settings load (#19886)Sunny Ripert
2022-11-07Fix crash in legacy filter creation controller (#19878)Claire
2022-11-07Skip Webfinger cache during migrations as well (#19883)nightpool
2022-11-07Set autocomplete attr for email field on signup page (#19833)rcombs
The email address will be used as the "username" for sign-in purposes, so it's the value that should be stored in password managers. We can inform the password manager of this by setting `autocomplete="email"`. Without this hint, password managers may instead store the `username` field, which isn't valid for sign-in (this happens with iCloud Keychain in Safari, for instance).
2022-11-06Fix status cache hydration discrepancyClaire
2022-11-06Change glitch-soc composer classes to match upstreamClaire
2022-11-06[Glitch] Fix colors in light themeEugen Rochko
Port 20aa8881dc98264e5875fa37fc2dbf18e3f2baac to glitch-soc
2022-11-06[Glitch] Fix wrong colors in the high-contrast themeEugen Rochko
Port 1c3192df6bf48eb4c3613f2a8744c809f6eeeec0 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Change design of link footerEugen Rochko
Port 2d9a85db6efe0c9ccfda1420551ce3d6025bc27e to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix missing interpolation of domain in disabled account banner in ↵Eugen Rochko
web UI Port a442f481f850d857544eafdd0725142ed8656552 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Change sign-in banner to reflect disabled or moved account statusClaire
Port 312d616371096235f1f317041300b8220c447613 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix showing profile's featured tags on individual statusesEugen Rochko
Port bfafb114a2135b1f21ba7e6d54ee13e8da75b629 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix handling of duplicate and out-of-order notifications in WebUIClaire
Port 7c8e2b9859f2e206110accb74d19ec4591d79780 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Add assets from Twemoji 14.0Eugen Rochko
Port e02812d5b63b4909fff9c0c7246e80745c4c703e to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix JavaScript console warning when loading notificationsSunny Ripert
Port 887976814a2639a666896ae94b14c64e2834e26d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix JavaScript console error on upload editing statusSunny Ripert
Port c95d9aab56dcde8c183f15d565cd1e8746d42c48 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix limited account hint referencing "your" server when logged outEugen Rochko
Port 139ea4c981f563e51d80ec3ec407d6265e29cb70 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix being unable to withdraw follow request when confirmation modal ↵Claire
is disabled (#19687) Port cbb440bbc2de7c805f687c886b32ab7dbafde07f to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06[Glitch] Fix edits not being immediately reflectedClaire
Port 74d40c7d8fac3ccc263af29c622f4481e18e8c59 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `app/javascript/mastodon/features/compose/components/poll_form.js`: glitch-soc change because of having changed the default number of available poll options. Applied upstream's changes while keeping glitch-soc's default number of poll options. - `public/oops.png`: We had a minor graphics change, probably not worth diverging from upstream. Took upstream version.
2022-11-06Fix not using GIN index for account search queries (#19830)Eugen Rochko
2022-11-05Change design of new list form in web UI (#19801)Eugen Rochko
2022-11-05Change `AUTHORIZED_FETCH` to not block unauthenticated REST API access (#19803)Eugen Rochko
New environment variable `DISALLOW_UNAUTHENTICATED_API_ACCESS`