Commit graph

11667 commits

Author SHA1 Message Date
Exotic
fec3e316ff
feat(font): add Geist and Geist Mono (@extoci) (#6379)
### 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!
- [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! :) -->

Co-authored-by: Extoci <extoci@users.noreply.github.com>
2025-03-18 12:30:32 +01:00
Nad Alaba
6686834eeb
chore(workflows): use correct name of action input (@NadAlaba) (#6378)
change the name of the input action that should've been changed in #6344
when the action was changed.
Sorry!
2025-03-17 16:30:41 +01:00
Christian Fehmer
e647d875f0
impr: error handling on user deletion (@fehmer) (#6363)
!nuf
2025-03-17 16:05:46 +01:00
Miodec
a94a6db75a ci: use full_name instead 2025-03-17 14:10:42 +01:00
Miodec
44955bf750 ci: pretty fix fix attempt 2025-03-17 14:07:40 +01:00
Christian Fehmer
b7c4166ab6
ci: fix prettier workflow (@fehmer) (#6371)
fixes
https://github.com/monkeytypegame/monkeytype/actions/runs/13846153945/job/38746363714#step:7:58
2025-03-17 13:53:57 +01:00
5quidwyrm
8fa99d87d0
feat(layout): add Sword (@5quiwyrm) (#6366)
### Description
Added Sword layout, created by Duodeath.
2025-03-17 12:22:50 +01:00
Miodec
a3bd06950b fix(theme): adjust error colors in ms cupcakes theme
closes #6370
2025-03-17 12:20:46 +01:00
Nad Alaba
2e1c7eb967
chore(workflows): use specific version of add-remove-label-action (@NadAlaba) (#6368)
revert fixing major version only of the
`PauMAVA/add-remove-label-action` action from #6344 because this action
does not have a `v1` tag

Co-authored-by: Christian Fehmer <fehmer@users.noreply.github.com>
2025-03-17 12:20:25 +01:00
fau
ee665c200b
impr(language): add more keywords and chars to code_pascal (@fau) (#6341)
### Description

Added more keywords from Delphi and Free Pascal and special chars used
in pascal code.
2025-03-17 12:13:06 +01:00
Miodec
f84f8508ca fix: scroll to top button remaining visible on the test page 2025-03-15 11:34:41 +01:00
Miodec
0833e1efc7 fix(daily leaderboard): schema issues when switching languages
!nuf
2025-03-13 11:37:42 +01:00
Miodec
334abc2933 fix: validation errors when switching leaderboard modes 2025-03-12 19:05:57 +01:00
Miodec
880dfb3442 chore: update error message 2025-03-12 17:37:50 +01:00
Miodec
518049e00d fix: errors when applying result filter presets 2025-03-12 17:37:50 +01:00
Cedric Baaklini
66ea0294e3
impr(quote): add quote from The LEGO Movie (@CedricBaaklini) (#6360)
I added a quote from one of my all time favorite movies.
2025-03-12 16:54:46 +01:00
Christian Fehmer
9e3f795380
fix: protect against stored xss in custom background url (@fehmer) (#6355)
!nuf

closes #6354
2025-03-12 16:52:57 +01:00
Adrien MOYAUX
220f2b8cb7
feat(layout): add Ergopti (@adrienm7) (#6352)
### Description

This pull request adds the [Ergopti keyboard
layout](https://ergopti.fr).

### 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-03-12 16:49:48 +01:00
Nad Alaba
195b9d8402
chore(workflows): update deprecated action and remove duplicate workflow message (@NadAlaba) (#6344)
### Description

1. remove duplicate correct examples in semantic-pr-title error message,
and make the examples more diverse (show how to credit multiple
contributors).

![patternMessage](https://github.com/user-attachments/assets/cb6afe48-ed67-4894-ab4a-76894dd50e3b)

2. make the scope (quotes, languages, ...) consistently plural across
the repo docs (A subjective change I know, but in the changelog, the
scope looks better when it is plural i.e. **quotes:** add various
quotes).
3. update deprecated action `upload-artifact` from v3 to v4, because it
was making the `ci-failure-comment` workflow fail.
> Error: This request has been automatically failed because it uses a
deprecated version of `actions/upload-artifact: v3`. Learn more:
https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
4. use the same official action to download and upload artifacts across
the repo's workflows.
5. add 'waiting for update' and remove 'waiting for review' labels when
the Monkey CI workflow fails.
6. fix actions' major version only, to allow minor updates and patches.
2025-03-12 16:35:58 +01:00
Nad Alaba
932d0e166e
build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343)
### Description

1. fix openapi specification path so that /docs endpoint would work on
dev.

> Error: ENOENT: no such file or directory, stat
'backend/src/static/api/public.html' Stack: Error: ENOENT: no such file
or directory

2. fix openapi specification path so that API Operation would work on
/stats endpoint on dev.

> Cannot read openApi specification from
backend/src/api/routes/../../static/api/openapi.json. Swagger stats will
not fully work.

![stats](https://github.com/user-attachments/assets/82f3e8b4-814c-4ede-ba67-8da53dacad87)

3. remove unneeded `files` & `ts-node` options from `tsconfig.json` in
various places.

> File 'backend/src/types/types.d.ts' not found.
  The file is in the program because:
    Part of 'files' list in tsconfig.json

4. add the missing `pnpm test` script to the funbox package.
2025-03-12 16:20:46 +01:00
Christian Fehmer
572de8a247
chore: fix version in docker publish workflow (@fehmer) (#6339) 2025-03-12 16:08:10 +01:00
Christian Fehmer
4d4de260d9
chore: update mongodb version to 5.0.13 (@fehmer) (#6364) 2025-03-12 15:29:19 +01:00
Miodec
420d049a59 impr(server): better leaderboard request validation schema
stop mongo from trying to handle pointless queries

!nuf
2025-03-12 13:13:56 +01:00
Miodec
bd7f06be9a fix: handle firebase rate limit when requesting email verification
!nuf
2025-03-12 12:59:55 +01:00
Miodec
c8a04fa8e4 impr: notify the user if custom text saving failed due to local storage being full 2025-03-12 11:45:06 +01:00
Miodec
9bbcf40f45 chore: fix test 2025-03-12 08:56:59 +01:00
Miodec
71b5f2875f chore: temporary object log to track down an error 2025-03-12 08:55:19 +01:00
Miodec
f5f4453624 chore: update error messages 2025-03-12 08:54:54 +01:00
Miodec
b9928f03c0 chore: lowercase word 2025-03-07 18:05:41 +01:00
Christian Fehmer
9e13f2452a
chore: add branch check in release script (@fehmer) (#6338) 2025-03-06 01:31:33 +01:00
Miodec
25dada50eb fix(commandline): blur active element after closing the modal to hide balloons
closes #6320
2025-03-05 19:03:05 +01:00
Christian Fehmer
02c48fc50d
impr(leaderboard): show typing speed in selected unit (@fehmer) (#6328) 2025-03-05 13:55:29 +01:00
Christian Fehmer
aaa519bc8d
fix(leaderboards): user button navigating to the wrong page (@fehmer) (#6334) 2025-03-05 13:02:03 +01:00
Miodec
e4baedee09 fix(leaderboards): bottom go to page button not working 2025-03-04 19:15:27 +01:00
Miodec
853605af24 fix(leaderboards): user button navigating to the wrong page 2025-03-04 19:11:02 +01:00
Miodec
61e0fd1590 chore: reorder code 2025-03-04 19:08:22 +01:00
Christian Fehmer
8193569a01
impr: leaderboard showing times in utc and local time (@fehmer) (#6332)
Co-authored-by: Miodec <jack@monkeytype.com>
2025-03-04 19:06:24 +01:00
Jack
b84f400113
fix: default snapshot and config not actually cloning (@miodec) (#6333)
!nuf Closes #6280
2025-03-04 18:52:51 +01:00
HotDog640
b52391ec7b
impr(quotes): add English quotes from Undertale and Deltarune (@HotDog640) (#6331)
### Description

Added two quotes: the introduction sequences from the games Undertale
and Deltarune.

### 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] Adding a language or a theme?
- [x] 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!
- [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-03-04 13:08:52 +01:00
Christian Fehmer
7747db8d84
impr: use zod schema for url parameters on leaderboard (@fehmer) (#6305)
!nuf
2025-03-04 13:08:00 +01:00
Miodec
942faec11d chore: release v25.10.0 2025-03-04 12:16:47 +01:00
ButterflyOfFire
1b5529ccaa
feat(languages): add Kabyle 200, 1k, 2k, 5k, 10k (@BoFFire) (#6325)
### Description

Added kabyle language corpora.

### Checks
- [x] If is a language, did you edit `_list.json`, `_groups.json` and
add `languages.json`?

- [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)

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-03-03 17:46:08 +01:00
Christian Fehmer
f80dde4c89
chore(self hosting): run selfhosted backend in prod mode (@fehmer) (#6326)
Co-authored-by: Miodec <jack@monkeytype.com>
2025-03-03 17:43:08 +01:00
Miodec
7d7118f744 ci: anticheat shouldnt block ci if force ci labels are present 2025-03-03 16:16:18 +01:00
Christian Fehmer
2b2d1a153e
build: use tsup instead of esbuild for packages (@fehmer) (#6309) 2025-03-03 13:48:50 +01:00
Christian Fehmer
4a22c0647b
fix: legacy test settings urls not importing correctly (@fehmer) (#6314)
Some people have old links with test settings we should support.
2025-03-03 12:31:09 +01:00
Christian Fehmer
660d856f96
refactor: use bearer auth instead of uid auth for tests (@fehmer) (#6318) 2025-03-03 12:08:30 +01:00
sledgehammer999
3a5b3783f2
fix: Remove invalid words from Greek lang (@sledgehammer999) (#6300)
### Description

These words aren't valid greek words.
2025-03-03 11:55:40 +01:00
YuxOfficial
60cee0cd4c
impr(quotes): Add Chinese Quotes (@YuxOfficial) (#6245)
### Description

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

### 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.
- [ ] 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 #

<!-- 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! :) -->

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2025-03-03 11:53:28 +01:00
Christian Fehmer
50f6bd418c
fix: errors not being logged into the database (@fehmer) (#6323)
!nuf
2025-03-03 11:32:31 +01:00