about summary refs log tree commit diff
path: root/app
AgeCommit message (Collapse)Author
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
2022-12-15Add explanation text to log-in page (#20946)Claire
2022-12-15Add Montenegrin (cnr) (#21013)Fries
2022-12-15Fix the top action bar appearing in multi-column layout (#20943)Claire
2022-12-15Change CSP directives on API to be tight and concise (#20960)Claire
2022-12-15Use Rails tag API to build RSS feed for spoilers and polls (#20163)Neil Matatall
* Use Rails tag API to build RSS feed for spoilers and polls While the previous method did not contain a bug or a potential issue, the tag API can be very resilient against future problems and reduces the amount of manual management of the escape status of the content. I've added tests to ensure that the formatting is broken and still escapes control characters correctly. * this seems cleaner and passes * Incorporate feedback by moving the br to its own line and using the tag helper over the string constant for the br tag itself * whoops, tag helper doesn't use a self-closing tag
2022-12-15Fix typo in handler function call name (#21829)Nick Schonning
2022-12-15Increase the width of the unread notification border. (#21692)Connor Shea
The smaller border is difficult to see for some users, especially when the browser window was thinner, and so the unread border is at the very left edge of the window.
2022-12-15Render current day formats in the client timezone (#21878)Francis Murillo
* Fix remaining plain %time to %time.formatted * Add %time.relative-formatted to client format dates on the current day * Add missing comma dangle to formats * Use client side message format instead of the server * Add fallback message to relatve_format.today * Remove unused translation key and fix js lint issue Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15`FormattedMessage` must be used directly (#20982)Yamagishi Kazutoshi
* `FormattedMessage` must be used directly * rollback
2022-12-15Adding 12 hours option for polls (#21131)Pleclown
* Adding 12 hours option for polls Adding 12 hours option for polls * Adding 12 hours option for polls Missing > on a line