Commit graph

11559 commits

Author SHA1 Message Date
Miodec
a0c471a28e chore: add captcha to the forgot password modal 2025-02-12 12:12:48 +01:00
Christian Fehmer
a2d91f2a73
refactor: better detection of ZodError (@fehmer) (#6258) 2025-02-11 20:16:09 +01:00
Christian Fehmer
60f664117f
chore: update @redocly/cli (@fehmer) (#6255)
Use latest version to get rid of the configuration warnings.
2025-02-11 13:52:36 +01:00
Christian Fehmer
62a1524104
fix(font): CommitMono not working (@fehmer) (#6252)
fix #6251
2025-02-10 11:37:41 +01:00
dependabot[bot]
ae9c3ca003
chore(deps-dev): bump vitest from 2.0.5 to 2.1.9 (#6242)
Bumps
[vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest)
from 2.0.5 to 2.1.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/vitest-dev/vitest/releases">vitest's
releases</a>.</em></p>
<blockquote>
<h2>v2.1.9</h2>
<p>This release includes security patches for:</p>
<ul>
<li><a
href="https://github.com/vitest-dev/vitest/security/advisories/GHSA-8gvc-j273-4wm5">Browser
mode serves arbitrary files | CVE-2025-24963</a></li>
<li><a
href="https://github.com/vitest-dev/vitest/security/advisories/GHSA-9crc-q9x8-hgqq">Remote
Code Execution when accessing a malicious website while Vitest API
server is listening | CVE-2025-24964</a></li>
</ul>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>backport <a
href="https://redirect.github.com/vitest-dev/vitest/issues/7317">vitest-dev/vitest#7317</a>
to v2 - by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/pull/7318">vitest-dev/vitest#7318</a></li>
<li>(backport <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/7340">#7340</a>
to v2) restrict served files from <code>/__screenshot-error</code> - by
<a href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/pull/7343">vitest-dev/vitest#7343</a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v2.1.8...v2.1.9">View
changes on GitHub</a></h5>
<h2>v2.1.8</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Support Node 21  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a
href="https://github.com/vitest-dev/vitest/commit/92f7a2ad"><!-- raw
HTML omitted -->(92f7a)<!-- raw HTML omitted --></a></li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v2.1.7...v2.1.8">View
changes on GitHub</a></h5>
<h2>v2.1.7</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li>Revert support for Vite 6  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> <a
href="https://github.com/vitest-dev/vitest/commit/fbe5c39d"><!-- raw
HTML omitted -->(fbe5c)<!-- raw HTML omitted --></a>
<ul>
<li>This introduced some breaking changes (<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6992">vitest-dev/vitest#6992</a>).
We will enable support for it later. In the meantime, you can still use
<code>pnpm.overrides</code> or yarn resolutions to override the
<code>vite</code> version in the <code>vitest</code> package - the APIs
are compatible.</li>
</ul>
</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v2.1.6...v2.1.7">View
changes on GitHub</a></h5>
<h2>v2.1.6</h2>
<h2>🚀 Features</h2>
<ul>
<li>Support Vite 6</li>
</ul>
<h5>    <a
href="https://github.com/vitest-dev/vitest/compare/v2.1.5...v2.1.6">View
changes on GitHub</a></h5>
<h2>v2.1.5</h2>
<h3>   🐞 Bug Fixes</h3>
<ul>
<li><code>dangerouslyIgnoreUnhandledErrors</code> without base reporter
 -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6808">vitest-dev/vitest#6808</a>
<a href="https://github.com/vitest-dev/vitest/commit/0bf0ab00"><!-- raw
HTML omitted -->(0bf0a)<!-- raw HTML omitted --></a></li>
<li>Capture <code>unhandledRejection</code> even when base reporter is
not used  -  by <a
href="https://github.com/AriPerkkio"><code>@​AriPerkkio</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6812">vitest-dev/vitest#6812</a>
<a href="https://github.com/vitest-dev/vitest/commit/8878b04d"><!-- raw
HTML omitted -->(8878b)<!-- raw HTML omitted --></a></li>
<li>Don't change the working directory when loading workspace projects
 -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6811">vitest-dev/vitest#6811</a>
<a href="https://github.com/vitest-dev/vitest/commit/f0aeaca8"><!-- raw
HTML omitted -->(f0aea)<!-- raw HTML omitted --></a></li>
<li>Remove <code>sequence.concurrent</code> from the
<code>RuntimeConfig</code> type  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6880">vitest-dev/vitest#6880</a>
<a href="https://github.com/vitest-dev/vitest/commit/6af73d93"><!-- raw
HTML omitted -->(6af73)<!-- raw HTML omitted --></a></li>
<li>Stop the runner before restarting, restart on workspace config
change  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6859">vitest-dev/vitest#6859</a>
<a href="https://github.com/vitest-dev/vitest/commit/b01df47d"><!-- raw
HTML omitted -->(b01df)<!-- raw HTML omitted --></a></li>
<li>Don't rerun on Esc or Ctrl-C during watch filter  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6895">vitest-dev/vitest#6895</a>
<a href="https://github.com/vitest-dev/vitest/commit/98f76ea7"><!-- raw
HTML omitted -->(98f76)<!-- raw HTML omitted --></a></li>
<li>Print ssrTransform error  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6885">vitest-dev/vitest#6885</a>
<a href="https://github.com/vitest-dev/vitest/commit/4c96cce7"><!-- raw
HTML omitted -->(4c96c)<!-- raw HTML omitted --></a></li>
<li>Throw an error and a warning if <code>.poll</code>,
<code>.element</code>, <code>.rejects</code>/<code>.resolves</code>, and
<code>locator.*</code> weren't awaited  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6877">vitest-dev/vitest#6877</a>
<a href="https://github.com/vitest-dev/vitest/commit/93b67c24"><!-- raw
HTML omitted -->(93b67)<!-- raw HTML omitted --></a></li>
<li><strong>browser</strong>:
<ul>
<li>Don't process the default css styles  -  by <a
href="https://github.com/sheremet-va"><code>@​sheremet-va</code></a> in
<a
href="https://redirect.github.com/vitest-dev/vitest/issues/6861">vitest-dev/vitest#6861</a>
<a href="https://github.com/vitest-dev/vitest/commit/0d67f04b"><!-- raw
HTML omitted -->(0d67f)<!-- raw HTML omitted --></a></li>
<li>Support non US key input  -  by <a
href="https://github.com/hi-ogawa"><code>@​hi-ogawa</code></a> in <a
href="https://redirect.github.com/vitest-dev/vitest/issues/6873">vitest-dev/vitest#6873</a>
<a href="https://github.com/vitest-dev/vitest/commit/5969d8da"><!-- raw
HTML omitted -->(5969d)<!-- raw HTML omitted --></a></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="c9e59a089d"><code>c9e59a0</code></a>
chore: release v2.1.9</li>
<li><a
href="e0fe1d81e2"><code>e0fe1d8</code></a>
fix: backport <a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/7317">#7317</a>
to v2 (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/7318">#7318</a>)</li>
<li><a
href="d69cc75698"><code>d69cc75</code></a>
bump: 2.1.8</li>
<li><a
href="92f7a2ad18"><code>92f7a2a</code></a>
fix: support Node 21</li>
<li><a
href="81ed45b3a4"><code>81ed45b</code></a>
chore: release v2.1.7</li>
<li><a
href="fbe5c39d88"><code>fbe5c39</code></a>
fix: revert support for Vite 6</li>
<li><a
href="b936702deb"><code>b936702</code></a>
bump: 2.1.6</li>
<li><a
href="32f23b98b4"><code>32f23b9</code></a>
chore: release v2.1.5</li>
<li><a
href="417bdb423d"><code>417bdb4</code></a>
fix(browser): init browsers eagerly when tests are running (<a
href="https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest/issues/6876">#6876</a>)</li>
<li><a
href="93b67c24b1"><code>93b67c2</code></a>
fix: throw an error and a warning if <code>.poll</code>,
<code>.element</code>, <code>.rejects</code>/`.resolv...</li>
<li>Additional commits viewable in <a
href="https://github.com/vitest-dev/vitest/commits/v2.1.9/packages/vitest">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vitest&package-manager=npm_and_yarn&previous-version=2.0.5&new-version=2.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/monkeytypegame/monkeytype/network/alerts).

</details>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-02-08 13:53:20 +01:00
Miodec
1ccfa5ac75 chore: release v25.7.0 2025-02-08 01:03:14 +01:00
Miodec
3af1f66dfb fix: result submit error if a test was repeated before submitting 2025-02-08 00:59:57 +01:00
Miodec
935602a859 chore: shorter description to hopefully fix google description 2025-02-08 00:59:57 +01:00
Miodec
3d36b6aa7a chore: hopefully stop google from putting the test words into website description 2025-02-08 00:59:57 +01:00
Antoine Lethimonnier
a3bbf218f4
style(dark note theme): fix roundness variable affecting account menu (@WarningImHack3r) (#6238) 2025-02-07 21:57:17 +01:00
Miodec
badfb07ae8 impr(saved custom texts): add message to remind user that custom texts are only stored locally 2025-02-07 00:01:25 +01:00
Miodec
f7df16ac8e style(settings): rework section links to follow website style 2025-02-07 00:01:25 +01:00
Tamion
a4b7c00ef9
impr: allow multiple funboxes with css (@notTamion, @miodec, @fehmer) (#6017)
### Description
Allows enabling multiple funboxes that have a stylesheet. Which funboxes
should be deemed compatible with each other will need some discussion

---------

Co-authored-by: Jack <jack@monkeytype.com>
Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2025-02-04 17:52:50 +01:00
Christian Fehmer
a4b6c17cd0
refactor: move normalize and fontawesome to vendor.css (@fehmer) (#6233)
Move normalize.css and fontawesome to vendor.scss
2025-02-04 13:20:11 +01:00
Christian Fehmer
12e150072b
fix: fix error handling in parseWithSchema (@fehmer) (#6229)
`instanceof ZodError` is not working if the code is packaged as a module
for unknown reason. Found while adding tests for the url-handler in
#6207.
2025-02-04 11:08:46 +01:00
Christian Fehmer
3719ac0496
refactor: update setting automaticallyOpenTestResults in workspace file (@fehmer) (#6232)
Setting was renamed by vscode
https://code.visualstudio.com/docs/getstarted/settings

![image](https://github.com/user-attachments/assets/32eaaf53-d325-404a-8e77-18b8672af00d)
2025-02-04 11:02:58 +01:00
Miodec
a1a55ebcd7 chore: release v25.6.0 2025-02-04 00:01:58 +01:00
freshleaf1095
e56b866c84
impr(quotes): add Vietnamese quotes (@freshleaf1095) (#6227)
### Description

<!-- Please describe the change(s) made in your PR -->
Taken from TV show "Gặp nhau cuối năm" or more commonly referred to as
"Táo Quân".

Translations (sorted by ID)
---------------------------------
- 101: Giàu thì nó ghét, đói rét thì nó khinh, thông minh thì nó tìm
cách tiêu diệt.
_(If you're rich, they hate you; if you're poor, they despise you; if
you're intelligent, they try to destroy you.)_
- 102: Nước trong thì không có cá, mà người tốt quá thì không ai chơi.
_(Clear water has no fish, and a person who is too good has no
friends.)_
- 103: Cống rãnh mà đòi sóng sánh với đại dương, kênh mương mà đòi tương
đương với thủy điện.
_(A gutter dares to compare itself with the ocean, and a canal dreams of
being equal to a hydroelectric dam.)_
- 104: Đã làm thì không nói không, không nói khó, không nói có mà lại
không làm. Chỉ bàn làm chứ không bàn lùi.
_(If you do something, don’t say no, don’t say it’s hard, don’t say yes
and then not do it. Only think how to do it, not how to back out.)_
- 105: Ngu thì người ta khinh. Khôn thì người ta lại ghét. Khôn mà giả
vờ ngu mới là khôn.
_(If you're foolish, people despise you. If you're clever, people hate
you. But if you are clever while pretending to be foolish, that's true
wisdom.)_
- 106: Trước đây, một ngày làm nhiều việc. Bây giờ, một việc làm nhiều
ngày, thậm chí nhiều tháng, nhiều năm. Bí quyết sinh tồn đấy.
_(In the past, we did many tasks in a day. Now, one task takes many
days, even months or years. That’s the secret to survival.)_

### Checks

- [x] Adding quotes?
- [x] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->
2025-02-03 23:55:16 +01:00
stop-png
99fd3d722b
impr(language): remove word from english 10k (@stop-png) (#6215)
### Description

This word does not appear in Oxford English Dictionary, Merriam-Webster
dictionary, dictionary.com or any other dictionary as a real word. Even
the windows spelling checker feature marks it as a wrong spelling. I'm
not sure how it even found its way into here.

<!-- Please describe the change(s) made in your PR --> removed
"techrepublic" from the corpus

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
--> stop-png

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2025-02-03 23:50:57 +01:00
Anna Buchholz
28fcf1ab4f
fix(language): moved british spellings to britishenglish file (@AnnaBuchholz) (#6208)
### Description

I changed some words in English 25_k to American English spellings and I
added the alternate spellings in the britishenglish.json file. Some
words already had the American English spellings in the english_25k file
and the alternate spellings in the britishenglish.json file so I just
deleted the British versions.

### Checks

- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2025-02-03 23:49:57 +01:00
Christian Fehmer
750a83da59
refactor: use vendor css from npm package (@fehmer) (#6206)
This PR removes the remaining "vendor" css files copied into
`static/css` and pick them from npm packages instead.

For the slimselect the css should match the version of the js. Since we
use the slimselect `js` file from the npm package we should use the
`css` file from the package as well.

For the balloon.css the file was copied into the project. Adding it as a
dependency makes sure we know the version of it and we don't modify it
in the project leading to problems when we try to update it later.

Similar to the vendor `js` files (js dependencies from packages) extract
the vendor `css` files into a separate `css` file as well.
2025-02-03 23:48:56 +01:00
Mohit Paddhariya
3510ea9760
refactor: replace JSON.parse with parseJsonWithSchema (@dev-mohit06) (#6207)
## Description
Replaces raw JSON parsing with schema-based validation across frontend
TypeScript files to improve type safety and error handling.

### Scope of Changes
- Updated JSON parsing in:
  - `account.ts`
  - `import-export-settings.ts`
  - `analytics-controller.ts`
  - `local-storage-with-schema.ts`
  - `url-handler.ts`
  - `commandline/lists.ts`
  - `test/wikipedia.ts`

- Added schema in `test/custom-text.ts`:
  ```typescript
  export const customTextDataSchema = z.object({
    text: z.array(z.string()),
    mode: CustomTextModeSchema,
    limit: z.object({ 
      value: z.number(), 
      mode: CustomTextLimitModeSchema 
    }),
    pipeDelimiter: z.boolean(),
  });
  ```

### Benefits
- Enhanced runtime type safety
- More robust error handling
- Consistent JSON parsing approach

### Checks
- [x] Follows Conventional Commits
- [x] Includes GitHub username
- [ ] Adding quotes? (N/A)
- [ ] Adding language/theme? (N/A)

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-02-03 23:45:57 +01:00
HariramakrishnanK
86cb17be82
fix(result): mobile tooltip alignment (@HariramakrishnanK) (#6205)
### Description
Fixed tooltip alignment issue for mobile and tablet views (#6042) and
formated the CSS file for improved readability

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

Closes #6042 

- Updated CSS for better tooltip positioning and formatted the file for
readability.
- Tested on mobile and tablet views (images attached below).

![Mobile
View](https://github.com/user-attachments/assets/d5331c4c-5479-4cb8-8e10-d6cde6daad1a)
![Tab
View](https://github.com/user-attachments/assets/97218bfb-c0e6-42bd-a1d3-affe9da4198f)
2025-02-03 15:10:31 +01:00
Barend Scholtus
845babd2a3
feat(layout): add focal (@rbscholtus) (#6196)
### Description

I discovered a new layout that is gaining some traction on
[/r/KeyboardLayouts](https://www.reddit.com/r/KeyboardLayouts/). It is
listed as an (potential) improvement on Gallium, Sturdy and others on
[getreuer.info](https://getreuer.info/posts/keyboards/alt-layouts/index.html)
and according to my own analysis because:

- low SFBs
- low bad redirects
- low scissors

[Original repo](https://github.com/Keyhabit/Focal-keyboard-layout) is
here.
2025-02-03 15:06:40 +01:00
Kevin Rosenberg
c36952af37
feat(theme): add github (@KevinRnbrg) (#6193)
### Description

Added new theme "github" with colors used from GitHub.

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [x] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [x] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

Theme screenshots:

![typing](https://github.com/user-attachments/assets/c5343d2c-4070-4839-ac06-38468cc9a294)

![result](https://github.com/user-attachments/assets/164e0c61-1d98-4b14-933a-c4c2dd62e913)

![settings](https://github.com/user-attachments/assets/8d051708-8df5-42f8-83e2-aecf8ee854ee)

![profile_1](https://github.com/user-attachments/assets/40c481e6-43a9-4cfd-afd4-5097e680dabb)

![profile_2](https://github.com/user-attachments/assets/0446777f-e04f-4b1b-9f0c-2f1fdef90c2e)
2025-02-03 15:05:47 +01:00
potsaweeSe
649f9d2dd4
impr(quotes): add thai quotes (@potsaweSe) (#6191)
### Description

Add thai quotes from Harry Potter and the Sorcerer's stone

Translattion:
- Mr. and Mrs. Dursley, of number four, Privet Drive, were proud to say
that they were perfectly normal, thank you very much. They were the last
people you’d expect to be involved in anything strange or mysterious,
because they just didn’t hold with such nonsense.

- “The Potters, that’s right, that’s what I heard ” “ yes, their son,
Harry ” Mr. Dursley stopped dead. Fear flooded him. He looked back at
the whisperers as if he wanted to say something to them, but thought
better of it.


### Checks

- [x] Adding quotes?
- [x] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2025-02-03 15:00:43 +01:00
wclxb
4dfd10a035
fix(profile): incorrect instruction on how to set streak hour offset (@wclxb) (#6190)
Make streak hover text when no streak offset is applied consistent with
the setting location

### Description

The hover text label now properly directs a user to the "Account
Settings > Account" section instead of "Settings > Danger Settings" when
they don't have a streak offset set.

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
2025-02-03 14:58:21 +01:00
gimmerain4days
73be759b55
fix: remove inappropriate words from english25k (@dag330) (#6189)
removed titty, tittie, and (british) faeces

### Description

<!-- Please describe the change(s) made in your PR -->

### Checks

- [ ] Adding quotes?
- [ ] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [ ] Adding a language or a theme?
- [ ] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
  - [ ] If is a theme, did you add the theme.css?
- Also please add a screenshot of the theme, it would be extra awesome
if you do so!
- [ ] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [ ] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [ ] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

Closes #

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2025-02-03 14:56:57 +01:00
Zev Ross
0b33e05890
impr(quotes): add English quote (@zev18) (#6188)
### Description

Added an english quote.

### Checks

- [x] Adding quotes?
- [x] Make sure to include translations for the quotes in the
description (or another comment) so we can verify their content.
- [x] Check if any open issues are related to this PR; if so, be sure to
tag them below.
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.

<!-- label(optional scope): pull request title (@your_github_username)
-->

<!-- I know I know they seem boring but please do them, they help us and
you will find out it also helps you.-->

<!-- the issue(s) your PR resolves if any (delete if that is not the
case) -->
<!-- please also reference any issues and or PRs related to your pull
request -->
<!-- Also remove it if you are not following any issues. -->

<!-- pro tip: you can mention an issue, PR, or discussion on GitHub by
referencing its hash number e.g:
[#1234](https://github.com/monkeytypegame/monkeytype/pull/1234) -->

<!-- pro tip: you can press . (dot or period) in the code tab of any
GitHub repo to get access to GitHub's VS Code web editor Enjoy! :) -->
2025-02-03 14:56:30 +01:00
Anuz Pandey
70e42c773c
feat(language): add nepali romanized (@anuzpandey) (#6182)
### Description

Added Romanized Nepali language word lists (similar to
`persian_romanized`)

### Checks

- [x] Adding a language or a theme?
- [x] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
2025-02-03 14:55:52 +01:00
Haz
f06c860053
feat(language): add zulu (@aitchz) (#6180)
Added Zulu. The Zulu language is also known as isiZulu. It is written
using the Latin alphabet. It is a Southern Bantu language of the Nguni
branch.

- [x] Adding a language or a theme?
- [x] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?
- [x] Make sure the PR title follows the Conventional Commits standard.
(https://www.conventionalcommits.org for more info)
- [x] Make sure to include your GitHub username prefixed with @ inside
parentheses at the end of the PR title.
2025-02-03 14:54:18 +01:00
Miodec
3ce9e63410 fix: email schema mismatch between frontend and backend 2025-02-03 14:39:31 +01:00
Miodec
0b3f5aaa16 chore: add logs to debug issue 2025-02-03 13:51:46 +01:00
Miodec
bb480f8966 chore: remove war related words from russian lists 2025-02-01 19:26:52 +01:00
Miodec
93a744b4ee fix: dont award discord roles if user opted out of leaderboards 2025-01-31 19:42:27 +01:00
Jack
1f771e3a09
chore: upgrade to vite 6 (@miodec) (#6214)
Upgrade to vite 6. Closes #6201.
2025-01-27 14:16:57 +01:00
Jack
00e130969a
ci: move prettier to its own workflow (@miodec) (#6198)
Add pretty fix step if pretty check failed.

---------

Co-authored-by: Miodec <13181393+Miodec@users.noreply.github.com>
2025-01-27 13:47:48 +01:00
Miodec
219b41302e fix: only send ban event to the bot if the user was actually banned 2025-01-27 11:05:38 +01:00
Miodec
2000cd92c6 fix: auto ban event not sending a task to the discord bot 2025-01-26 20:46:30 +01:00
Miodec
bb3a99861f ci: fix permission 2025-01-23 21:54:50 +01:00
Miodec
b4d8a5f965 ci: update permissions 2025-01-23 21:44:26 +01:00
Miodec
bbf0aa65b7 ci: use different action for removing label 2025-01-23 21:39:02 +01:00
Miodec
e10444d201 ci(pretty fix): use correct head ref 2025-01-23 21:31:39 +01:00
Miodec
e4517ebede ci: run pretty fix only on changed files 2025-01-23 21:27:12 +01:00
Miodec
90590a331d ci: run prettier write on pr label change 2025-01-23 21:15:53 +01:00
Christian Fehmer
c469ddddff
ci: limit permissions for the update labels workflow (@fehmer) (#6200) 2025-01-22 16:19:32 +01:00
Christian Fehmer
fc6564289c
ci: Limit permissions for the docker publish workflow (@fehmer) (#6199) 2025-01-22 15:36:00 +01:00
Miodec
16e92d35cf chore: bump turbo version 2025-01-21 11:50:24 +01:00
Miodec
edd2903171 chore: bump eslint version 2025-01-21 11:50:09 +01:00
Miodec
1c879201cd fix: quote spelling 2025-01-20 14:59:11 +01:00