Commit Graph

2143 Commits (57e9fc7e5afe8ac0e114ed976f63de9dc458c565)

Author SHA1 Message Date
Nick Schonning 57e9fc7e5a [Glitch] Remove isNaN polyfill
Port 169b9c9b13 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-26 15:49:49 +02:00
mogamin aa45960804 [Glitch] Fit the max-width of media in .prose to parent box
Port 6ffb8609f9 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-22 20:00:33 +01:00
Plastikmensch 5569c86171 Add getting-started-misc to route (#2141)
* Add getting-started-misc to web_app_paths

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Add signed in check to navigation entries

Enabling routing for getting-started-misc allows the column to be directly accessible, which showed every entry and threw unnecessary errors.

Also fixed the keys as these were literally "i++".

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

* Remove "Extended information" from getting-started-misc

I couldn't find any reference to this translation string, so I removed it too.

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>

---------

Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2023-03-19 17:26:02 +01:00
Christian Schmidt bb60db4471 [Glitch] Replace `Status#translatable?` with language matrix in separate endpoint
Port 7583523bf0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-16 23:21:08 +01:00
Rodion Borisov 20af3cc038 [Glitch] Center the text itself in upload area
Port 100ada1e2b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-15 09:33:48 +01:00
PauloVilarinho 08685405f1 [Glitch] add modal message when editing toot
Port c4c1c8aecc to glitch-soc

Co-authored-by: PauloVilarinho <paulotarsobranco@hotmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-15 09:33:14 +01:00
Claire 5f94d33a67 Refactor glitch-soc rich text SCSS 2023-03-05 21:31:45 +01:00
Christian Schmidt a813ea3c25 [Glitch] Only offer translation for supported languages
Port cc0c37cd69 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-05 21:19:04 +01:00
Terry Garcia 81aac88f65 [Glitch] Switched bookmark and favourites around
Port f5fe444913 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-05 21:07:55 +01:00
Claire 05763031f1 [Glitch] Fix duplicate “Publish” button on mobile
Port 3faa229d8d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-05 21:07:10 +01:00
Claire f7a679a4f5 New Crowdin updates (#2118)
* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]
2023-03-05 20:38:18 +01:00
Christian Schmidt b50a08b15b [Glitch] Add `lang` attribute to media and poll options
Port 41655e16ea to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-03-05 17:52:53 +01:00
Claire 42f73a411c Move misc rules from components/index.scss to components/misc.scss 2023-02-25 23:47:21 +01:00
Claire 59b7c6e3d8 Fix glitch-soc SCSS code style and refactor closer to upstream 2023-02-25 23:46:23 +01:00
Christian Schmidt 5eaad2ae5b [Glitch] Add `lang` attribute to preview card
Port e56145661c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:43:57 +01:00
Tim Lucas 650ea1316a [Glitch] Increase contrast of upload progress background
Port 808c9a7cf4 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:43:24 +01:00
Botao Wang 213b82d0a4 [Glitch] Fix sidebar cut-off on small screens in admin UI
Port 1f844d0d18 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:40:29 +01:00
Claire 5548b2c73f [Glitch] Add `lang` tag to native language names in language picker
Port 82c464d4d0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:37:05 +01:00
Renaud Chaput 295d193e7f [Glitch] Rename JSX files with proper `.jsx` extension
Port ae3812d182 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-25 14:35:31 +01:00
Claire 01654e8830 [Glitch] Fix focus point of already-attached media not saving after edit
Port 6ce20a89f5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:54:04 +01:00
Christian Schmidt eb3d03a52a [Glitch] Fix bad type for spellCheck attribute
Port 2c8bb9a76a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:53:44 +01:00
Nick Schonning 0bf3bbf662 [Glitch] Enable ESLint Promise plugin defaults
Port a80ff32d9a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:53:18 +01:00
Claire efe3fb00c7 Merge pull request #2112 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
2023-02-18 22:05:11 +01:00
Nick Schonning b0e7d10f63 [Glitch] Upgrade to Stylelint 15 with Prettier
Port 6417e06194 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-18 16:02:12 +01:00
Nick Schonning a0bef6bdb6 [Glitch] Enable ESLint no-useless-escape
Port 1c2ca9557f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-18 16:02:12 +01:00
Claire 70984c6f65 [Glitch] Enable ESLint import recommended rules
Port 2663b421be to glitch-soc
2023-02-18 16:02:12 +01:00
Claire 623b6543b2 New Crowdin updates (#2111)
* New translations en.json (Korean)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* Fix root key name in pt-PT translation file

* Fix normalization issue with ES translation

* Fix issue with `no` locale in glitch-soc
2023-02-18 11:16:30 +01:00
Dean Bassett 6c64af449c [Glitch] Fix case-sensitive check for previously used hashtags
Port 28bc6265bf to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-13 20:05:36 +01:00
Claire b525ce4bf9 [Glitch] Fix attached media uploads not being cleared when replying to a post
Port 3c1e48d304 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-13 20:04:45 +01:00
Dean Bassett ab546780eb fix hashtag ordering (#2107)
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2023-02-12 18:58:02 +01:00
Claire 84c2fdb503 New Crowdin updates (#2100)
* New translations en.json (Korean)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.json (Spanish)
[ci skip]
2023-02-12 18:16:08 +01:00
cadars f925f5bf2f [Glitch] Add scrolling to Compare history modal
Port 7406c66b77 to glitch-soc

Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-09 13:03:41 +01:00
Christian Schmidt 54e6fa1363 [Glitch] Show spinner while loading follow requests
Port 059a055e65 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-09 13:02:32 +01:00
Christian Schmidt 71629f6f99 [Glitch] Spell check input fields
Port 9b74ffa7e0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-09 12:59:48 +01:00
Eugen Rochko 664847db15 [Glitch] Add setting for status page URL
Port 92e5feb621 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-09 12:58:11 +01:00
Claire 2862f0d94a Further JS code style changes 2023-02-04 22:31:47 +01:00
Claire 3afef18f59 [Glitch] Fix useless regular-expression character escape detected by CodeQL 2023-02-03 21:14:41 +01:00
Akira Ouchi 84e332a9a1 [Glitch] autofocus the compose form again on /share
Port bbcbb2dd7f to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 20:58:15 +01:00
Nick Schonning 90d652c623 [Glitch] Update hasOwnProperty calls for ESLint
Port ffcd50da2b to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 20:57:47 +01:00
Claire 5d7c0b3254 [Glitch] Run eslint --fix
I don't like it changing files this way, but it's basically what
9a5233f107 and a few others did.
2023-02-03 20:52:07 +01:00
Nick Schonning 43c2509789 [Glitch] Remove extra semicolons with ESLint autofix
Port 3874a3067d to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 19:58:44 +01:00
TAKAHASHI Shuuji 228b95acf1 [Glitch] chore: remove intersection-observer for old Safari support
Port b1c7d17609 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 19:24:32 +01:00
Christian Schmidt 4051993833 [Glitch] Add lang attribute to image description textarea and poll option field
Port 6f08e79465 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-03 19:23:36 +01:00
Claire b5d60a90a3 New translations en.json (German) (#2097)
[ci skip]
2023-01-28 10:20:55 +01:00
Claire c14c4be592 Add role badges to WebUI (#2096)
* [Glitch] Add role badges to WebUI

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

* [Glitch] Ensure role name remains readable

Signed-off-by: Claire <claire.github-309c@sitedethib.com>

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-26 23:35:23 +01:00
neatchee c5af6caf05 Allow users to set the trigger height for lengthy toot auto-collapse (#2070)
* Allow users to set the trigger height for lengthy toot autocollapse

Add a field in the glitch-soc preferences to set the exact height in pixels of a "lengthy toot" where auto-collapse is triggered

Originally authored by Dean Bassett (github.com/deanveloper)

Squashed 3 commits from neatchee/mastodon and returned some values to project defaults:
* ef665c1df5821e684c8da3392049f33243fafa74
* 0fce108d210efe55027a3af061bfc57aaaa83843
* 998f701a2b2e37edbda7dffb11a61f67f5559b18

* Remove bad escape characters

* Apply feedback from glitch-soc code review
- move input width specification to CSS
- adjust language for clarity

* Update comments re: lengthy toot height

* Fix inconsistent indentation

* Use a calculated width that scales better with browser font instead of static 45px width
2023-01-26 19:36:44 +01:00
Claire 80e6f2c99e [Glitch] Fix styling of featured tags in light theme
Port 9ff964c90c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-25 17:27:23 +01:00
Claire dc463f0c36 [Glitch] Fix missing filtering on some notification types
Port 07ee9f2ed5 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-24 20:43:19 +01:00
Claire 4b9c5fffde [Glitch] Add lang attribute to compose textarea and CW field
Port 6feec4fd18 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-24 20:40:48 +01:00
Mina Her 370511dd06 [Glitch] Make <Audio> to handle volume change
Port 453b6eb2bd to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-24 20:37:37 +01:00