Nick Schonning
507f2b4c1e
Enable eslint:recommended ruleset ( #22433 )
...
* Enable ESLint recommended ruleset
* Disable failing ESLint recommended rules
* Remove rules shadowed by eslint:recommended
2022-12-19 00:51:37 +09:00
Jeremy Kescher
627e97c25a
[Glitch] Fix being unable to react with the keycap number sign emoji ( #2004 )
...
Port of https://github.com/mastodon/mastodon/pull/22231
2022-12-17 11:34:39 +01:00
Claire
0f787b9d28
Merge pull request #2014 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2022-12-16 11:50:35 +01:00
Eugen Rochko
a26d43b659
New Crowdin updates ( #22182 )
...
* 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-16 12:46:39 +09:00
Nick Schonning
3401d8d3d4
Run Prettier on YML files ( #22345 )
2022-12-16 11:11:52 +09:00
Claire
7fa8938ebb
[Glitch] Add follow request banner on account header
...
Port cfeb01b17f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:11:32 +01:00
Holden Foreman
800e27716a
[Glitch] Fix language surrounding disability in prompts for alt text and other media descriptions
...
Port cf06626067
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:07:10 +01:00
Bramus!
f589055664
[Glitch] Fix media markup
...
Port e6f386edf1
to glitch-soc
Co-authored-by: Effy Elden <effy@effy.space>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:06:29 +01:00
Claire
17161bd243
[Glitch] Fix being stuck in edit mode when deleting the edited status
...
Port f5d8ba958f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:06:00 +01:00
Rens Groothuijsen
6e40a09c88
[Glitch] Display search popout at fixed screen position
...
Port 37e12ff0ae
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:05:28 +01:00
Terence Eden
c6f7d66cbd
[Glitch] Add transparancy to modal background for accessibility
...
Port b4ec206994
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:04:20 +01:00
Mina Her
21d26ea079
[Glitch] Fix margin for search field on medium window size
...
Port 520a0c8ea7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:03:14 +01:00
Meisam
aecb09252f
[Glitch] set activation for tag follow button
...
Port 272ae2baa8
to glitch-soc
Co-authored-by: meisam <meisam@noreply.codeberg.org>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 21:00:35 +01:00
Claire
09a2f4b065
[Glitch] Fix the top action bar appearing in multi-column layout
...
Port 8985a8d7ec
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:59:59 +01:00
Nick Schonning
89c6f1702e
[Glitch] Fix typo in handler function call name
...
Port 691a69adf5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:58:48 +01:00
Connor Shea
62c659e6bd
[Glitch] Increase the width of the unread notification border.
...
Port 5475089960
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:58:22 +01:00
Francis Murillo
2ba404d90f
[Glitch] Render current day formats in the client timezone
...
Port 1bfc5af0a7
to glitch-soc
Co-authored-by: Effy Elden <effy@effy.space>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:57:17 +01:00
Yamagishi Kazutoshi
c7ebc9e6ea
[Glitch] FormattedMessage
must be used directly
...
Port 21ffc2340f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:55:42 +01:00
Pleclown
99cd75cfc4
[Glitch] Adding 12 hours option for polls
...
Port 8993b7d630
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:54:53 +01:00
Alex Stine
44b65e3b13
[Glitch] Fix hidden label causing accessibility issue for search inputs
...
Port ce1103a154
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:54:11 +01:00
Riedler
4b33114db7
[Glitch] Fix profile avatar being slightly offset into left border
...
Port b80d7c9f00
to glitch-soc
Co-authored-by: Riedler <riedler@gelse.eu>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:49:15 +01:00
Claire
123fb66cb5
[Glitch] Change dropdown menu to contain “Copy link to post” even for non-public posts
...
Port 4adc6160ad
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:47:58 +01:00
Claire
2c542650d3
[Glitch] Fix wasteful request to /api/v1/custom_emojis when not logged in
...
Port 76d3dc633f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-12-15 20:46:21 +01:00
Claire
f96cfe3ec4
Fix issue with glitch-soc theming
2022-12-15 20:30:46 +01:00
Claire
f23d971cd8
Merge branch 'main' into glitch-soc/merge-upstream
...
Conflicts:
- `README.md`:
Discarded upstream changes: we have our own README
- `app/controllers/follower_accounts_controller.rb`:
Port upstream's minor refactoring
2022-12-15 20:25:25 +01:00
Yamagishi Kazutoshi
a5ff1d74b4
Add Western Frisian support ( #18602 )
2022-12-15 19:03:44 +01:00
Claire
e1d8048bc4
Fix status cache hydration discrepancy ( #19879 )
2022-12-15 18:55:55 +01:00
zunda
246ec71ef1
Remove packages that are provided by Heroku stacks ( #19836 )
2022-12-15 18:55:29 +01:00
Douglas Blank
1eb7299a9d
Add left and right margin to emojis ( #20464 )
2022-12-15 18:53:37 +01:00
Claire
cfeb01b17f
Add follow request banner on account header ( #20785 )
...
* Add requested_by to relationship maps
* Display whether an account has requested to follow you on their profile
2022-12-15 18:50:11 +01:00
Matt Williams
e0a0a6b7c6
Dont use reserved foldername ( #20582 )
...
Co-authored-by: Effy Elden <effy@effy.space>
2022-12-15 18:49:43 +01:00
Holden Foreman
cf06626067
Fix language surrounding disability in prompts for alt text and other media descriptions ( #20923 )
2022-12-15 18:46:13 +01:00
Jullan-M
8a8379cd4f
Add Southern Sami, and Lule Sami to language list under the ISO-639-3 standard ( #21262 )
...
* Add sme, smj, and sma ISO-639-3 language codes
* Remove sme in ISO-639-3
2022-12-15 18:42:48 +01:00
Christopher Nethercott
28e4786154
fix: remove SMTP_SERVER ( #21342 )
...
Firstly, mailgun.com is now their domain. Secondly they are lots of providers to use; and sysadmins should be able to choose.
2022-12-15 18:42:08 +01:00
Claire
bd40c1fa5a
Ensure exact match is the first result in hashtag searches ( #21315 )
...
Fixes #17494
2022-12-15 18:41:40 +01:00
Bramus!
e6f386edf1
Fix media markup ( #21420 )
...
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-15 18:37:47 +01:00
Shlee
b10040e536
Update circleci ( #21880 )
...
* Update config.yml
* Update config.yml
2022-12-15 18:13:13 +01:00
Claire
b821678966
Change remote media files to be downloaded outside of transactions ( #21796 )
2022-12-15 18:09:48 +01:00
Brian Campbell
baf43ec2d5
Fix idempotency when database writes are slow ( #21840 )
...
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-15 18:08:40 +01:00
Claire
f5d8ba958f
Fix being stuck in edit mode when deleting the edited status ( #22126 )
2022-12-15 17:47:43 +01:00
Claire
94d294202b
Fix changing domain block severity not undoing individual account effects ( #22135 )
...
* Fix changing domain block severity not undoing individual account effects
Fixes #22133
* Add tests
2022-12-15 17:45:02 +01:00
Effy Elden
6dba144d4e
Align everything to Node.js 16 ( #22223 )
...
* Update nvmrc to Node.js 16
* Update package.json minimum Node engine to 16
* Update README requirements to Node.js 16
* Update devcontainer Node.js version to 16
* Update devcontainer Dockerfile Node.js choices to LTS versions that are still in support/maintenance
* Pin CircleCI Node image to 16
* Fix YAML type issue
* Update CircleCI Node.js to 16.18 to match #22019
2022-12-15 17:43:26 +01:00
Claire
9490975b4e
Fix attachment rendering of edited posts in OpenGraph ( #22270 )
...
Fixes #22241
2022-12-15 17:41:20 +01:00
Avdi Grimm
c2d6300f81
Improve devcontainer for running tests ( #22277 )
...
* Improve devcontainer for running tests
- Pull devcontainer post-create out into its own script
- Add asset precompilation
- Add test-mode asset precompilation (needed to run tests without error)
* Document Gemfile.lock re-checkout in devcontainer
2022-12-15 17:40:36 +01:00
Rens Groothuijsen
37e12ff0ae
Display search popout at fixed screen position ( #16463 )
...
* Display search popout at fixed screen position
* Attach search popout to search box
2022-12-15 17:38:50 +01:00
Terence Eden
b4ec206994
Add transparancy to modal background for accessibility ( #18081 )
...
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-15 17:38:35 +01:00
Arnout Engelen
18e78d2f5a
Don't autofocus the compose form ( #16517 )
...
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-15 17:37:05 +01:00
Jeong Arm
429687c59f
Add "disabled" user filter for admin/accounts UI ( #21282 )
2022-12-15 17:30:47 +01:00
Mina Her
520a0c8ea7
Fix margin for search field on medium window size ( #21606 )
2022-12-15 17:24:38 +01:00
David Vega
4c10de8ae3
Fix single name variables on controller folder ( #20092 )
...
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-15 17:11:58 +01:00