Age | Commit message (Collapse) | Author |
|
Port 61c07c37317f01c1ab4981826704750fe9937fe7 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
|
|
* Fix audio player ticks position
* Split visualizer code into own file to comply with license
* Change top-left corner of visualizer always showing peaks, clean up code
|
|
The code for rendering a frequency graph around a circle has been adopted (with modifications) from a CodePen by Alex Permyakov
|
|
|
|
There was a missed empty hash check. As well as rendering is now wrapped
in try/catch block, so app won't crash if any Blurhash component fails
to render its contents as it's not that critical.
|
|
* Freeze scroll position when a dropdown menu is open in the TL
* Apply this to direct TL as well
* Fix case when mouse leaves the menu
|
|
This commit replaces all unnecessarily repeated code for decoding and
embedding blurhash canvases with separate component - <Blurhash>.
Under the hood Blurhash component will use effect dependent on its
props. This gives a few benefits: it will only be re-rendered whenever
the hash or width/height/dummy props update, and will not render if
canvas won't get to the final DOM, because then effect won't fire,
which prevents weird bugs like #14257.
|
|
|
|
Co-Authored-By: Mélanie Chauvel (ariasuni) <perso@hack-libre.org>
|
|
ran `yarn manage:translations en`
|
|
audio uploads
Port 0d2135a46172fd6931f757ef083ad99f4522081d to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port d308a863fbd373b94fa571103ad431782c29e074 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port 258171549120142a6a7dac40f17ecc2087433f4a to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
|
|
uploads (#14264)
|
|
Follow-up on #14260 which only fixed half the call sites
|
|
Fixes #14257
|
|
|
|
Picked out all the languages users currently have set on plural.cafe
|
|
Add option to show local-only toots in public timeline
|
|
|
|
|
|
|
|
Port cb2adaaf9d6c3147de9060132b69933df734d5dc to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
|
|
Port 06fc6a9cd4c700c450dbe8e8c579a5d5bc4ba732 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port a783bdf4adee3444e9cd32c2eaa0712214ba1230 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Conflicts:
- `package.json`:
Not really a conflict, just some glitch-soc-specific dependency
too close to an upstream-updated one.
|
|
* Fix media attachment enumeration
* Switch media_attachments id to snowflake ids
Co-authored-by: Thibaut Girka <thib@sitedethib.com>
|
|
While OAuth tokens were immediately revoked, accessing the home
controller immediately generated new OAuth tokens and "revived"
the session due to a combination of using remember_me tokens and
overwriting the `authenticate_user!` method
|
|
|
|
|
|
This forces Twitter to render OpenGraph tags in the response
|
|
* Enable nonces for stylesheets
* Pass nonce to react-select
|
|
* Change design of account notes in web UI
* Fix `for` -> `htmlFor`
|
|
|
|
|
|
This commit introduces new utility component - ShortNumber. It should
work almost the same way as original shortNumberFormat function,
though it also localizes units and accepts one more prop - renderer.
Renderer is a function that takes rendered short formatted number
and also ready-to-pluralize number to format display result accordingly.
Ready-to-pluralize number allows to correctly select plural for
compactly notated numbers, respecting thousands and other units.
Issue #12451 accurately describes the issue with using raw numbers
when replacing counter with short version. In short, it doesn't work
with languages such as Russian, that require different plurals,
according to the unit number was compacted to.
All previous usages of shortNumberFormat were replaced with new
function, and as it became unused, it was removed to avoid misleading.
|
|
|
|
Port 99f3a5554074d9a12619797c474b3de4c6085f02 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port 162adf61f268beac6e178f6f79f203b213055915 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Conflicts:
- `.env.production.sample`:
Upstream changed it completely.
Changed ours to merge upstream's new structure, but
keeping most of the information.
|
|
|
|
|
|
Reverts tootsuite/mastodon#14128
|
|
|
|
Port 64aac3073340dbc92c33f5f1c6f76dcafa77a450 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port audio player changes from 662a49dc3f06749936cedd7349092bbe622f0bc6 to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|
|
Port bb9ca8a587ee5a3ec8778e72828aca0ba8871327 to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
|