Miodec
38d8ac7212
fix: unresolved ts type
...
!nuf
2024-09-08 12:46:39 +02:00
Miodec
89016d390d
impr: dont sent results shorter than 1 second
...
closes #5858
2024-09-08 10:35:15 +02:00
Christian Fehmer
9c083f2397
fix: unable to update profile with missing values (@fehmer) ( #5859 )
2024-09-07 13:05:44 +02:00
Christian Fehmer
6de9ad6e1c
fix: result filters defaults invalid (@fehmer) ( #5860 )
2024-09-07 13:05:13 +02:00
Miodec
d5fb24fb12
fix(server): get personal bests request mode2 should be optional
...
!nuf
2024-09-06 15:10:45 +02:00
Miodec
715bc0ec23
chore: release v24.36.0
2024-09-06 12:53:17 +02:00
fsq
5f695b4229
feat(layout): add the scythe layout (@forusu) ( #5854 )
...
* Update _list.json
Adds the scythe layout.
* Update _list.json
Fixed JSON syntax errors
* Update _list.json
2024-09-06 12:08:14 +02:00
Nad Alaba
cbaefbf210
fix(caret): getting last letter top in long multiline words (@NadAlaba) ( #5856 )
...
* fix(caret): getting last letter top in long multiline words (@NadAlaba)
* no need to check for invisible extra letters
This check was needed when `letterPosTop` was
`currentLetter?.offsetTop ?? previousLetter?.offsetTop ??
lastWordLetter?.offsetTop` where `previousLetter?.offsetTop` was defined
but 0 in extra letters in blind mode, so we got the value of zero
although in some fonts the real value (`lastWordLetter` value) is not 0.
However, now we don't use `previousLetter`, and `currentLetter` is
undefined in extra letters (blind mode or not), so we'll get the value
we want (`lastWordLetter` value) in extra letters.
* update comment
2024-09-06 11:59:27 +02:00
Christian Fehmer
77c1e8e298
feat(funbox): add instant messaging (@fehmer) ( #5850 )
...
Thanks
2024-09-05 17:36:10 +02:00
Alessandro Chitarrini
b8ca187ab3
Open impr(quotes): add English quote (@chitvs) ( #5844 )
...
Co-authored-by: Jack <jack@monkeytype.com>
2024-09-05 17:32:13 +02:00
Christian Fehmer
259894ab9f
impr: use tsrest for user endpoints (@fehmer) ( #5815 )
...
!nuf
2024-09-05 17:28:19 +02:00
Nad Alaba
6a24dbb986
chore(PR labeler): fix workflow having read access only, when triggered from forks (@NadAlaba) ( #5842 )
...
* chore(PR labeler): fix workflow having read access only when triggered from forks (@NadAlaba)
* remove logging and add an example with scope
* use action instead of gh cli for security
* use action to read json (instead of echoing contents in shell) for security
* step.if needs the same variables
* don't let attacker choose the labels
* step.name starts in caps
* no need for variable if it's used once
2024-09-05 13:44:23 +02:00
Christian Fehmer
8e0a6c3417
impr(settings): add hints to tag buttons on mouseover (@fehmer) ( #5849 )
2024-09-05 11:12:32 +02:00
Nad Alaba
661c138812
fix(zen mode): issues when changing tape mode and other caret issues (@NadAlaba) ( #5824 )
...
* fix(zen mode): undefined word when changing tape mode during test (@NadAlaba)
* fix(zen mode): shrinking full-width-caret when changing tape mode during test (@NadAlaba)
* fix(zen mode): messed up caret in RTL languages (@NadAlaba)
because of the letter '_' that is added to the beginning of a word
in zen mode, the caret is getting positioned on the 2nd letter.
Also, since lastWordLetter is always undefined (because wordLen is
always 0) offsetHeight and offsetTop are getting the default values
regardless of font characteristics.
* fix caret staying in position in (blind + word tape + zen) mode
* refactor: combine last 2 solutions
* rename parameter
2024-09-02 12:10:45 +02:00
Nad Alaba
55496996de
refactor: determine active word based on logical value, not DOM class (@NadAlaba) ( #5834 )
...
* refactor: use active word based on logical value, not DOM class
* use existing const instead of querying DOM
activeWord.offsetTop changes when the DOM element gets updated
no need to query the active word again
* better naming
* no need to requery DOM, we have the top of the previous word saved
2024-09-02 11:49:41 +02:00
Andrew Hermes
02490213d6
impr(quotes): add English quote ( #5832 )
2024-09-02 10:58:44 +02:00
Miodec
8ddb23ac40
fix: cookie modal not being shown for new users
2024-09-01 16:35:30 +02:00
Miodec
cc00295a5d
fix: words flashing when line jumping in some modes
2024-08-30 20:27:36 +02:00
Christian Fehmer
1804ebcd8a
impr: use tsrest for quotes endpoints (@fehmer) ( #5802 )
...
!nuf
2024-08-29 15:42:42 +02:00
Sanidhya Singh
1ba4be38d0
impr(PR labels): automatically label PRs "waiting for review/update" (@sanidhyas3s) ( #5830 )
...
!nuf
2024-08-29 14:17:04 +02:00
amarnathsama
253efb7340
fix(presets): auto-switch theme checkbox values not loaded correctly (@amarnathsama) ( #5826 )
...
* fixed bug where presets wouldnt change auto light and dark theme checkbox values
* mode code to setting.ts
* updated variable name
* updated setting.ts
2024-08-29 12:40:19 +02:00
Nad Alaba
faf522f21f
fix(release script): not updating root package.json
version + not supporting some shells (@NadAlaba) ( #5825 )
...
* fix(release script): update root package.json version as well + other issues (@NadAlaba)
* remove version from release/package.json (get and set root only)
* usernames start with @, prs start with # in title regex
* update github PR links
* fix typo in dev-pkg script
2024-08-28 14:42:52 +02:00
Miodec
7b4a789f2e
refactor: await addWord if the test is out of words
...
fixes #5630 by not always awaiting
closes #5819
2024-08-28 13:51:07 +02:00
Miodec
13eab07139
fix(language): duplicate word
2024-08-28 12:06:35 +02:00
Miodec
c3274f0f02
refactor: update based on logical value, not DOM class
2024-08-28 12:04:29 +02:00
Miodec
9eb927b2f4
refactor: rename some functions and variables for easier understanding
2024-08-28 12:04:29 +02:00
Miodec
0d5ff3eb70
style(mini result chart modal): fix incorrect height
2024-08-28 12:04:29 +02:00
Miodec
8a6d0a6494
fix(language): typos in english medical
2024-08-28 12:04:29 +02:00
Christian Fehmer
8bef02f739
fix(funbox): earthquake and simon says not working correctly (@fehmer) ( #5823 )
...
* fix: fix earthquake funbox (@fehmer)
* fix simon says funbox
2024-08-28 10:47:40 +02:00
Miodec
6e43e1c4dc
fix(sever): wrong rate limiter being used for result post
...
also lowers limit slightly to 300 and updates the generic message to be more clear
2024-08-27 22:50:20 +02:00
Miodec
a6232beea5
fix: caps lock state sometimes being out of sync
2024-08-27 13:25:56 +02:00
Miodec
d957e7afec
fix(sign up): false positive typo warning when using hotmail.com
2024-08-27 13:25:56 +02:00
Christian Fehmer
65ef5eaba5
refactor: remove ResultOmittableDefaultPropertiesSchema (@fehmer) ( #5827 )
2024-08-27 13:14:57 +02:00
Christian Fehmer
30d440a70e
impr: use tsrest for dev endpoints (@fehmer) ( #5800 )
...
!nuf
2024-08-23 20:03:13 +02:00
Anthony Perez
8863fb70d1
refactor: updateURL function for improved maintainability (@anthonypz) ( #5817 )
...
* refactor: updateURL function
* refactor: rename val to getVal and replace forEach loop with for of
2024-08-23 19:48:46 +02:00
Christian Fehmer
e2d574444a
impr: use tsrest for configurations endpoint (@fehmer) ( #5796 )
...
!nuf
2024-08-23 19:06:41 +02:00
Miodec
73f379ae8a
fix: server not logging exceptions
...
!nuf
2024-08-23 18:21:11 +02:00
Christian Fehmer
e03a25fb92
impr: use ts-rest for results endpoint (@fehmer) ( #5758 )
...
!nuf
2024-08-23 12:13:50 +02:00
Miodec
abdd66a27b
fix(funbox): choo choo not working
2024-08-23 11:39:05 +02:00
Miodec
38e0d50885
chore(server): warn if object hash check is disabled
2024-08-22 14:23:20 +02:00
Pablo Sánchez Flores
a53d60207c
fix: remove 2 misspelled words from english_450k (@pasanflo) ( #5809 )
...
* fix: remove 2 misspelled words from english_450k (@pasanflo)
* fix: add trailing space (@pasanflo)
2024-08-22 11:54:59 +02:00
Miodec
59a18680a1
refactor: move mini result chart to the new modal system
...
closes #5811
2024-08-21 11:50:20 +02:00
Miodec
14c121b9ff
style: fix some themes not working well with the new header menu
2024-08-21 11:27:49 +02:00
Miodec
ed8efe619d
chore: release v24.34.0
2024-08-20 17:32:27 +02:00
dependabot[bot]
32d9fa49e8
chore(deps-dev): bump vite-plugin-checker from 0.6.4 to 0.7.2 ( #5808 )
...
Bumps [vite-plugin-checker](https://github.com/fi3ework/vite-plugin-checker ) from 0.6.4 to 0.7.2.
- [Release notes](https://github.com/fi3ework/vite-plugin-checker/releases )
- [Changelog](https://github.com/fi3ework/vite-plugin-checker/blob/main/CHANGELOG.md )
- [Commits](https://github.com/fi3ework/vite-plugin-checker/compare/vite-plugin-checker@0.6.4...vite-plugin-checker@0.7.2 )
---
updated-dependencies:
- dependency-name: vite-plugin-checker
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 17:22:44 +02:00
dependabot[bot]
758ebd920b
chore(deps-dev): bump @typescript-eslint/parser from 8.0.1 to 8.2.0 ( #5807 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 8.0.1 to 8.2.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.2.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
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 <fehmer@users.noreply.github.com>
2024-08-20 17:03:46 +02:00
dependabot[bot]
7cd44812ea
chore(deps-dev): bump @types/object-hash from 2.2.1 to 3.0.6 ( #5805 )
...
Bumps [@types/object-hash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/object-hash ) from 2.2.1 to 3.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/object-hash )
---
updated-dependencies:
- dependency-name: "@types/object-hash"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 17:03:17 +02:00
dependabot[bot]
f625eabf70
chore(deps): bump rate-limiter-flexible from 2.3.7 to 5.0.3 ( #5806 )
...
Bumps [rate-limiter-flexible](https://github.com/animir/node-rate-limiter-flexible ) from 2.3.7 to 5.0.3.
- [Release notes](https://github.com/animir/node-rate-limiter-flexible/releases )
- [Commits](https://github.com/animir/node-rate-limiter-flexible/commits/v5.0.3 )
---
updated-dependencies:
- dependency-name: rate-limiter-flexible
dependency-type: direct:production
update-type: version-update:semver-major
...
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 <fehmer@users.noreply.github.com>
2024-08-20 17:02:31 +02:00
dependabot[bot]
4e735177da
chore(deps-dev): bump @commitlint/config-conventional ( #5804 )
...
Bumps [@commitlint/config-conventional](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/config-conventional ) from 17.7.0 to 19.2.2.
- [Release notes](https://github.com/conventional-changelog/commitlint/releases )
- [Changelog](https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/CHANGELOG.md )
- [Commits](https://github.com/conventional-changelog/commitlint/commits/v19.2.2/@commitlint/config-conventional )
---
updated-dependencies:
- dependency-name: "@commitlint/config-conventional"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 16:54:17 +02:00
Jack
47e52f0b15
impr: move account settings to a separate page (@miodec) ( #5798 )
2024-08-20 16:43:30 +02:00