about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
2022-12-20Add ukrainian translations (#1959)www-cat
2022-12-20Add missing translation keys (#2010)Plastikmensch
* Add missing locale keys Added missing translation keys to en.js to make translation easier and more complete. Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com> * Remove translation keys for explore Have been added to vanilla in #2014 Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com> * Remove unused key Sorry, originally worked on this on my custom fork, which has this key, before I decided to work on glitch. Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com> Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2022-12-20Reuse upstream's “Posts and replies” as column heading (#2023)Claire
Upstream does not have a column heading for “Posts and replies”, but the text itself exists in a similar context, so re-use that translatable string so that we can use upstream's translations.
2022-12-19Fix suspension worker crashing on S3-compatible setups without ACL support ↵Claire
(#22487)
2022-12-19Enable eslint:recommended ruleset (#22433)Nick Schonning
* Enable ESLint recommended ruleset * Disable failing ESLint recommended rules * Remove rules shadowed by eslint:recommended
2022-12-17[Glitch] Fix being unable to react with the keycap number sign emoji (#2004)Jeremy Kescher
Port of https://github.com/mastodon/mastodon/pull/22231
2022-12-16New Crowdin updates (#22182)Eugen Rochko
* New translations activerecord.en.yml (Malayalam) * New translations devise.en.yml (Malayalam) * New translations doorkeeper.en.yml (Malayalam) * New translations en.json (Breton) * New translations simple_form.en.yml (Breton) * New translations activerecord.en.yml (Breton) * New translations devise.en.yml (Breton) * New translations doorkeeper.en.yml (Breton) * New translations en.json (Bosnian) * New translations en.json (French, Quebec) * New translations simple_form.en.yml (French, Quebec) * New translations activerecord.en.yml (French, Quebec) * New translations devise.en.yml (French, Quebec) * New translations doorkeeper.en.yml (French, Quebec) * New translations en.json (Sinhala) * New translations simple_form.en.yml (Sinhala) * New translations activerecord.en.yml (Sinhala) * New translations devise.en.yml (Sinhala) * New translations doorkeeper.en.yml (Sinhala) * New translations en.json (Cornish) * New translations en.json (Kannada) * New translations devise.en.yml (Kannada) * New translations simple_form.en.yml (Scottish Gaelic) * New translations activerecord.en.yml (Scottish Gaelic) * New translations devise.en.yml (Scottish Gaelic) * New translations doorkeeper.en.yml (Scottish Gaelic) * New translations simple_form.en.yml (Asturian) * New translations activerecord.en.yml (Asturian) * New translations devise.en.yml (Asturian) * New translations simple_form.en.yml (Aragonese) * New translations activerecord.en.yml (Aragonese) * New translations devise.en.yml (Aragonese) * New translations doorkeeper.en.yml (Aragonese) * New translations simple_form.en.yml (Occitan) * New translations activerecord.en.yml (Occitan) * New translations devise.en.yml (Occitan) * New translations doorkeeper.en.yml (Occitan) * New translations activerecord.en.yml (Kurmanji (Kurdish)) * New translations doorkeeper.en.yml (Kurmanji (Kurdish)) * New translations simple_form.en.yml (Sorani (Kurdish)) * New translations devise.en.yml (Sorani (Kurdish)) * New translations doorkeeper.en.yml (Sorani (Kurdish)) * New translations en.json (Igbo) * New translations en.json (Corsican) * New translations simple_form.en.yml (Corsican) * New translations activerecord.en.yml (Corsican) * New translations devise.en.yml (Corsican) * New translations doorkeeper.en.yml (Corsican) * New translations en.json (Sardinian) * New translations simple_form.en.yml (Sardinian) * New translations activerecord.en.yml (Sardinian) * New translations devise.en.yml (Sardinian) * New translations doorkeeper.en.yml (Sardinian) * New translations en.json (Sanskrit) * New translations en.json (Kabyle) * New translations simple_form.en.yml (Kabyle) * New translations activerecord.en.yml (Kabyle) * New translations devise.en.yml (Kabyle) * New translations doorkeeper.en.yml (Kabyle) * New translations en.json (Ido) * New translations simple_form.en.yml (Ido) * New translations activerecord.en.yml (Ido) * New translations devise.en.yml (Ido) * New translations doorkeeper.en.yml (Ido) * New translations en.json (Taigi) * New translations en.json (Silesian) * New translations en.json (Standard Moroccan Tamazight) * New translations simple_form.en.yml (Standard Moroccan Tamazight) * New translations activerecord.en.yml (Standard Moroccan Tamazight) * New translations devise.en.yml (Standard Moroccan Tamazight) * New translations doorkeeper.en.yml (Standard Moroccan Tamazight) * New translations en.json (Afrikaans) * New translations en.json (Bulgarian) * New translations en.json (Catalan) * New translations en.json (Czech) * New translations en.json (German) * New translations en.json (Greek) * New translations en.json (Frisian) * New translations en.json (Finnish) * New translations en.json (Irish) * New translations en.json (Hungarian) * New translations en.json (Armenian) * New translations en.json (Italian) * New translations en.json (Georgian) * New translations en.json (Lithuanian) * New translations en.json (Macedonian) * New translations en.json (Dutch) * New translations en.json (Punjabi) * New translations en.json (Chinese Traditional) * New translations en.json (Urdu (Pakistan)) * New translations en.json (Vietnamese) * New translations en.json (Tamil) * New translations en.json (Bengali) * New translations en.json (Marathi) * New translations en.json (Croatian) * New translations en.json (Kazakh) * New translations en.json (Latvian) * New translations en.json (Hindi) * New translations en.json (Telugu) * New translations en.json (English, United Kingdom) * New translations en.json (Burmese) * New translations en.json (Uyghur) * New translations en.json (Tatar) * New translations en.json (Malayalam) * New translations en.json (Latin) * New translations en.json (Bosnian) * New translations en.json (Cornish) * New translations en.json (Kannada) * New translations en.json (Asturian) * New translations en.json (Kurmanji (Kurdish)) * New translations en.json (Sorani (Kurdish)) * 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 (Taigi) * New translations en.json (Silesian) * New translations en.json (Standard Moroccan Tamazight) * New translations en.yml (French) * New translations en.yml (Spanish) * New translations en.yml (Arabic) * New translations en.yml (Belarusian) * New translations en.yml (Catalan) * New translations en.yml (Czech) * New translations en.yml (Danish) * New translations en.yml (German) * New translations en.yml (Greek) * New translations en.yml (Frisian) * New translations en.yml (Basque) * New translations en.yml (Finnish) * New translations en.yml (Hungarian) * New translations en.yml (Italian) * New translations en.yml (Japanese) * New translations en.yml (Korean) * New translations en.yml (Dutch) * New translations en.yml (Norwegian) * New translations en.yml (Polish) * New translations en.yml (Portuguese) * New translations en.yml (Russian) * New translations en.yml (Slovak) * New translations en.yml (Slovenian) * New translations en.yml (Albanian) * New translations en.yml (Swedish) * New translations en.yml (Turkish) * New translations en.yml (Ukrainian) * New translations en.yml (Chinese Simplified) * New translations en.yml (Chinese Traditional) * New translations en.yml (Vietnamese) * New translations en.yml (Galician) * New translations en.yml (Icelandic) * New translations en.yml (Portuguese, Brazilian) * New translations en.yml (Indonesian) * New translations en.yml (Persian) * New translations en.yml (Spanish, Mexico) * New translations en.yml (Bengali) * New translations en.yml (Thai) * New translations en.yml (Norwegian Nynorsk) * New translations en.yml (Kazakh) * New translations en.yml (Estonian) * New translations en.yml (Latvian) * New translations en.yml (Malay) * New translations en.yml (Welsh) * New translations en.yml (Faroese) * New translations en.yml (Esperanto) * New translations en.yml (Chinese Traditional, Hong Kong) * New translations en.yml (Latin) * New translations en.yml (French, Quebec) * New translations en.yml (Sinhala) * New translations en.yml (Scottish Gaelic) * New translations en.yml (Aragonese) * New translations en.yml (Occitan) * New translations en.yml (Kurmanji (Kurdish)) * New translations en.yml (Sorani (Kurdish)) * New translations en.yml (Scots) * New translations en.yml (Corsican) * New translations en.yml (Sardinian) * New translations en.yml (Ido) * New translations simple_form.en.yml (Bulgarian) * New translations simple_form.en.yml (Finnish) * New translations simple_form.en.yml (Latin) * New translations simple_form.en.yml (French, Quebec) * New translations simple_form.en.yml (Kurmanji (Kurdish)) * New translations activerecord.en.yml (Frisian) * New translations activerecord.en.yml (Latin) * New translations devise.en.yml (Frisian) * New translations devise.en.yml (Latin) * New translations devise.en.yml (Kurmanji (Kurdish)) * New translations doorkeeper.en.yml (Bulgarian) * New translations doorkeeper.en.yml (Frisian) * New translations doorkeeper.en.yml (Hungarian) * New translations doorkeeper.en.yml (Italian) * New translations doorkeeper.en.yml (Vietnamese) * New translations doorkeeper.en.yml (Latin) * New translations en.json (Belarusian) * New translations en.json (Catalan) * New translations en.json (Danish) * New translations en.json (Finnish) * New translations en.json (Turkish) * New translations en.yml (Belarusian) * New translations en.yml (Catalan) * New translations en.yml (Danish) * New translations en.yml (Swedish) * New translations en.yml (Turkish) * New translations doorkeeper.en.yml (Danish) * Normalize locale files * New translations en.json (German) * New translations en.json (Swedish) * New translations en.json (Estonian) * New translations en.json (Latvian) * New translations en.json (Welsh) * New translations en.yml (Hungarian) * New translations en.yml (Polish) * New translations en.yml (Latvian) * New translations en.yml (Welsh) * New translations simple_form.en.yml (Welsh) * New translations activerecord.en.yml (Welsh) * New translations devise.en.yml (Welsh) * New translations doorkeeper.en.yml (Czech) * New translations doorkeeper.en.yml (Latvian) * New translations doorkeeper.en.yml (Welsh) * New translations en.json (Ukrainian) * New translations en.json (Chinese Traditional) * New translations en.json (Estonian) * New translations en.yml (Swedish) * New translations en.yml (Ukrainian) * New translations en.yml (Chinese Traditional) * New translations doorkeeper.en.yml (Italian) * New translations doorkeeper.en.yml (Swedish) * New translations doorkeeper.en.yml (Chinese Traditional) * New translations en.json (Catalan) * New translations en.json (Slovenian) * New translations en.json (Faroese) * New translations en.json (Asturian) * New translations en.yml (Catalan) * New translations en.yml (German) * New translations en.yml (Slovenian) * New translations en.yml (Faroese) * New translations doorkeeper.en.yml (German) * New translations doorkeeper.en.yml (Slovenian) * New translations doorkeeper.en.yml (Faroese) * New translations doorkeeper.en.yml (Ukrainian) * New translations en.json (Greek) * New translations en.yml (Danish) * New translations en.json (Danish) * New translations en.yml (Danish) * New translations doorkeeper.en.yml (Danish) * Normalize Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
2022-12-15[Glitch] Add follow request banner on account headerClaire
Port 70415714f14e067aba518a105c96475db31fa124 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix language surrounding disability in prompts for alt text and ↵Holden Foreman
other media descriptions Port c761e7a5ef89afd4ed7ac470ad1155a78d3c4cfa to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix media markupBramus!
Port 7fbc17afa246c5cd384123ace51e07622204b67c to glitch-soc Co-authored-by: Effy Elden <effy@effy.space> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix being stuck in edit mode when deleting the edited statusClaire
Port ebf1d74e409ece10864a8615691cd80c434c9055 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Display search popout at fixed screen positionRens Groothuijsen
Port 726c7dea31d2ee60b327afd327e945e3ece09ac4 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Add transparancy to modal background for accessibilityTerence Eden
Port ff414a5489fd2c6d154b18effca24dde54d92958 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix margin for search field on medium window sizeMina Her
Port cedf1383138b2e58ba6ff9aab46beddeaf1a1354 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] set activation for tag follow buttonMeisam
Port 059d64a59ea27c40ca6b5b9bf34487169d2a741f to glitch-soc Co-authored-by: meisam <meisam@noreply.codeberg.org> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix the top action bar appearing in multi-column layoutClaire
Port 38596e49d4ea00b9a538f32fd443afc6aa29824a to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix typo in handler function call nameNick Schonning
Port 72a8af80886f270a27bd686f1fa86ef478748963 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Increase the width of the unread notification border.Connor Shea
Port 08c0e43b6fca879d7435f63b1b2c718a53c6cacc to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Render current day formats in the client timezoneFrancis Murillo
Port c50e9d078aa3c353afc140669f1cedcd354ee53e to glitch-soc Co-authored-by: Effy Elden <effy@effy.space> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] `FormattedMessage` must be used directlyYamagishi Kazutoshi
Port 58200132d07bc0b641c95af614b9ac02ce48c9fc to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Adding 12 hours option for pollsPleclown
Port 3a59ffde8d1600729bf51ff42f1d646062edfc8d to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix hidden label causing accessibility issue for search inputsAlex Stine
Port 903e5a3f459d28b093438dc4827b2fb976aef406 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix profile avatar being slightly offset into left borderRiedler
Port c3388f4ab151a2603fabd67dadea435f851eaf12 to glitch-soc Co-authored-by: Riedler <riedler@gelse.eu> Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Change dropdown menu to contain “Copy link to post” even for ↵Claire
non-public posts Port fe9eab51d140ee0e0343eb07982f0a7ce825398c to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15[Glitch] Fix wasteful request to /api/v1/custom_emojis when not logged inClaire
Port 1f762f4271685e30373b15a2e204f8edff59d349 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15Fix issue with glitch-soc themingClaire
2022-12-15Merge branch 'main' into glitch-soc/merge-upstreamClaire
Conflicts: - `README.md`: Discarded upstream changes: we have our own README - `app/controllers/follower_accounts_controller.rb`: Port upstream's minor refactoring
2022-12-15Fix status cache hydration discrepancy (#19879)Claire
2022-12-15Add left and right margin to emojis (#20464)Douglas Blank
2022-12-15Add follow request banner on account header (#20785)Claire
* Add requested_by to relationship maps * Display whether an account has requested to follow you on their profile
2022-12-15Fix language surrounding disability in prompts for alt text and other media ↵Holden Foreman
descriptions (#20923)
2022-12-15Add Southern Sami, and Lule Sami to language list under the ISO-639-3 ↵Jullan-M
standard (#21262) * Add sme, smj, and sma ISO-639-3 language codes * Remove sme in ISO-639-3
2022-12-15Ensure exact match is the first result in hashtag searches (#21315)Claire
Fixes #17494
2022-12-15Fix media markup (#21420)Bramus!
This brings the markup of the MediaItem component on par with the Item component from media_gallery. Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15Change remote media files to be downloaded outside of transactions (#21796)Claire
2022-12-15Fix idempotency when database writes are slow (#21840)Brian Campbell
There is an idempotency key generated by clients when authoring a post, and stored in Redis, to ensure that if a user or client retries posting the same status, we don't get a duplicate. Hachyderm.io has been experiencing some filesystem and database performance issues, causing database writes to be slow. This can mean that there are successful posts, but the reverse proxy returns 504 Gateway Timeout before the idempotency status has been updated; users or clients who retry (such as Tusky which retries automatically, see tuskyapp/Tusky#2951) can re-try the same post with the same idempotency key before it has actually been recorded in Redis, leading to duplicate posts. To address this issue, move all of the database updates after the initial transaction that creates the status into the `postprocess_status!` method, so we can insert the idempotency key immediately after the status has been created, significantly reducing the window in which the status could be created but the idempotency key not yet stored. Note: this has not yet been tested; I'm submitting this PR for discussion and to offer to the Hachyderm.io admins to try out to fix the multiple posting problem. Co-authored-by: Brian Campbell <brcampbell@beta.team>
2022-12-15Fix being stuck in edit mode when deleting the edited status (#22126)Claire
2022-12-15Fix changing domain block severity not undoing individual account effects ↵Claire
(#22135) * Fix changing domain block severity not undoing individual account effects Fixes #22133 * Add tests
2022-12-15Fix attachment rendering of edited posts in OpenGraph (#22270)Claire
Fixes #22241
2022-12-15Display search popout at fixed screen position (#16463)Rens Groothuijsen
* Display search popout at fixed screen position * Attach search popout to search box
2022-12-15Add transparancy to modal background for accessibility (#18081)Terence Eden
Fixes #18080 This keeps the `ui-base-lighter-color` but adds enough transparency so that text is more easily readable. Tested in Firefox and Chrome.
2022-12-15Don't autofocus the compose form (#16517)Arnout Engelen
When opening a page such as /web/timelines/home in a desktop browser, the cursor was automatically placed in the textarea of the compose form. When using the keyboard for navigation (using a browser plugin like vimium or vim vixen, or just to hit 'space' to scroll down a page), you have remember to leave the field before using that. Since you only visit the page to write a new post some of the time, this PR attempts to have nothing focused initially (and require the user to click or e.g. use 'tab' to focus the textarea). Tested: * /web/timeslines/home no longer autofocuses the compose box * pressing the 'n' hotkey still focuses the compose box * clicking 'reply' for a post still focuses the compose box * replying to a CW'ed post still focuses the compose box * introducing the CW field still focuses the CW field * introducing the CW field for a reply still focuses the CW field * removing the CW field still focuses the compose box * /web/statuses/new still autofocuses the compose box fixes #15862
2022-12-15Add "disabled" user filter for admin/accounts UI (#21282)Jeong Arm
2022-12-15Fix margin for search field on medium window size (#21606)Mina Her
2022-12-15Fix single name variables on controller folder (#20092)David Vega
Co-authored-by: petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com> Co-authored-by: petrokoriakin1 <116151189+petrokoriakin1@users.noreply.github.com> Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15Save avatar or header correctly even if other one fails (#18465)Jeong Arm
* Save avatar or header correctly if other one fails * Fix test
2022-12-15Remove inline-css in logo (#20814)Luxiaba
2022-12-15Fix punycoded local domains not being prettified in initial state (#21440)Matthías Páll Gissurarson
2022-12-15set activation for tag follow button (#21629)Meisam
Co-authored-by: meisam <meisam@noreply.codeberg.org>
2022-12-15Fix inability to use local LibreTranslate without setting ↵Claire
ALLOWED_PRIVATE_ADDRESSES (#21926) Fixes #20029