Commit graph

11146 commits

Author SHA1 Message Date
Miodec
e1a2020b01 fix(quote): user reports 2024-08-08 17:40:28 +02:00
Miodec
c2d08096ed impr: export cf purge script
!nuf
2024-08-08 17:07:13 +02:00
Miodec
d57e318cf1 fix: sh scripts sometimes not finding .env file
!nuf
2024-08-08 17:07:13 +02:00
Miodec
316bbd33a6 impr: notify user that captcha api failed to respond instead of throwing a server error 2024-08-08 17:07:13 +02:00
Christian Fehmer
f929d65a6c
chore: add more badges to readme (@fehmer) (#5744)
* chore: add more badges to readme (@fehmer)

* get rid of miodec
2024-08-08 17:06:50 +02:00
Miodec
cdfcc9e663 fix: incorrect paths
!nuf
2024-08-08 16:27:47 +02:00
Jack
1eebf748ba
refactor: move release code to a package (@miodec) (#5743) 2024-08-08 16:16:01 +02:00
Christian Fehmer
f6ec006507
impr: use tsrest for psa endpoints (@fehmer) (#5712)
!nuf
2024-08-08 15:10:26 +02:00
Nad Alaba
657d305abc
fix(caret): jumping in word tape mode and RTL position issues (@NadAlaba) (#5726)
* fix(caret): jumping in word tape mode (@NadAlaba)

* fix(caret): diacritics getting caret width of last letter

* fix(caret): hide extra letters in RTL languages

* fix(caret): add space width for non-mono fonts

* optimize getting space width

* refactor assignmet in conditional and remove console.log

* move left calculation in tape mode to getTargetPositionLeft

* no need to calculate left 2 times in tape mode

* prophylactically consider future changes of hide extra letters

* treat blind mode and hide extra letters the same

* change naming and fix tape word

* final refactor

* change naming

* nope, cleaner version doesn't work

* || instead of ?? for letter.offsetTop

* reduce unneeded code

* chore: run anticheat for banned accounts

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-08-08 13:49:24 +02:00
Christian Fehmer
b484d1545a
ci: fix prettier failing on removed files (@fehmer) (#5742) 2024-08-08 13:05:07 +02:00
Miodec
27e66f7f8a chore: run anticheat for banned accounts 2024-08-08 13:02:37 +02:00
Rafael Romão
ff8464eef6
feat(layout): add the romak layout (@rafaelromao) (#5741) 2024-08-08 12:58:39 +02:00
dependabot[bot]
dfdf3fc6cd
chore(deps-dev): bump typescript from 5.3.3 to 5.5.4 (@dependabot) (#5734) 2024-08-08 12:44:22 +02:00
Christian Fehmer
460f803bca
impr: use tsrest for admin endpoint (@fehmer) (#5713)
!nuf
2024-08-08 12:41:07 +02:00
Christian Fehmer
9f9663682d
chore: fix tests using machine timezone (@fehmer) (#5740) 2024-08-08 12:10:11 +02:00
dependabot[bot]
c413cbd364
chore(deps): bump nodemon from 3.0.1 to 3.1.4 (@dependabot) (#5733)
Bumps [nodemon](https://github.com/remy/nodemon) from 3.0.1 to 3.1.4.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v3.0.1...v3.1.4)

---
updated-dependencies:
- dependency-name: nodemon
  dependency-type: direct:production
  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: Jack <jack@monkeytype.com>
2024-08-06 12:28:03 +02:00
dependabot[bot]
35379383a0
chore(deps): bump uuid and @types/uuid (@dependabot) (#5735)
Bumps [uuid](https://github.com/uuidjs/uuid) and [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid). These dependencies needed to be updated together.

Updates `uuid` from 9.0.1 to 10.0.0
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0)

Updates `@types/uuid` from 8.3.4 to 10.0.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
- dependency-name: "@types/uuid"
  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-06 12:24:15 +02:00
Christian Fehmer
6c18504c83
ci: skip full checkout on pre-ci on pull requests (@fehmer) (#5738)
* ci: skip full checkout on pre-ci on pull requests (@fehmer)

* review comments

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-08-06 12:12:23 +02:00
dependabot[bot]
613687cbf8
chore(deps-dev): bump autoprefixer from 10.4.14 to 10.4.20 (@dependabot) (#5732)
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.14 to 10.4.20.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.14...10.4.20)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-06 12:11:28 +02:00
dependabot[bot]
aac2ef1313
chore(deps-dev): bump rimraf from 5.0.9 to 6.0.1 (@dependabot) (#5731)
Bumps [rimraf](https://github.com/isaacs/rimraf) from 5.0.9 to 6.0.1.
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/rimraf/compare/v5.0.9...v6.0.1)

---
updated-dependencies:
- dependency-name: rimraf
  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-06 12:11:05 +02:00
Christian Fehmer
ffacc0a5f2
ci: skip cache download on prime-cache job (@fehmer) (#5737) 2024-08-06 11:58:52 +02:00
Miodec
6ad4330946 chore: add search ignore paths 2024-08-06 01:24:32 +02:00
Miodec
749f2af10b fix(ci): errors when running on push
all files will be prettified now when running on push, only changed when running on PR

!nuf
2024-08-05 20:23:16 +02:00
Miodec
a558a59a5a refactor: change hideExtraLetters from being html based to css based
!nuf
2024-08-05 20:13:52 +02:00
Miodec
41638dd142 style(settings page): fix pace caret buttons text overflow 2024-08-05 19:50:54 +02:00
Miodec
e613a06975 chore: release v24.32.0 2024-08-05 18:05:23 +02:00
Miodec
6e9e1e721d fix: thai ligature rendering 2024-08-05 17:52:50 +02:00
Jack
3568818b44
ci: run time improvements (@miodec) (#5730)
* rebuild trigger

* sparse checkout

* trigger

* triggeeeer

* fix syntax

* checkout

* revert triggers

* build fail

* revert fail

* prettier on changed files

* prettier trigger?

* missing step, missing packages checkout

* broken prettier

* prettier fix

* revert

* remove unused steps

* only install prettier for the prettier step

* trigger

* revert

* be trigger

* exact version

* v7

* revert
2024-08-05 16:24:34 +02:00
Miodec
7306cf8a9f feat: last signed out result modal
the website will now show the last signed out result
and ask the user if they want to save or discard it
(instead of always saving)
2024-08-05 14:28:31 +02:00
Miodec
ddebf57454 impr: add "student" to education email regex
!nuf
2024-08-05 12:46:41 +02:00
Miodec
de79d469cb impr: add email typo to the list
!nuf
2024-08-05 12:44:28 +02:00
Miodec
cbd6725ad6 refactor: move pb crown aria-label text update to a function 2024-08-05 12:41:27 +02:00
Miodec
f0441e2b66 chore: remove unused code 2024-08-05 12:26:45 +02:00
Miodec
7b7b1c86ea fix(pb crown): incorrect class names causing ineligible warning or pending state to not show 2024-08-05 12:13:56 +02:00
Adam Sasine
b26cb887e4
feat(funbox): add hexadecimal (@asasine) (#5724)
* feat(funbox): added hexadecimal

* missing list definition

* lower max to 4

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-05 10:53:03 +02:00
Christian Fehmer
4a55db5284
fix: csp preventing new documentation unable to display logo (@fehmer) (#5719)
!nuf
2024-08-05 10:38:06 +02:00
Miodec
fb45f05c3f chore: missing min string length causing firebase to throw errors 2024-08-05 10:34:13 +02:00
Miodec
98108dead8 chore: fix lint warnings 2024-08-02 21:56:54 +02:00
Nad Alaba
738574ed33
impr(pace caret): add tags pb mode (@NadAlaba) (#5715)
* impr(pace caret): add tags pb mode (@NadAlaba)

* update modes notice when clear tags from commandline

* remove all mode because it grabs only 1k results

* short circuit tag.active

* update setting name

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-08-02 21:50:56 +02:00
amarnathsama
8c7ece3721
impr(settings): replace sound volume with a slider (@amarnathsama) (#5702)
* replaced sound volume settings with a slider

* used SettingsGroup instead of custom class, minor css change

* use common structure, remove css

* notify if sound volume is out of range

* command input goes from 0 to 1

* fix test

---------

Co-authored-by: Jack <jack@monkeytype.com>
2024-08-02 21:15:40 +02:00
Jefferson Michael
c791156848
feat(languages): add portuguese 320k and 550k (@jeffersonjpr) (#5698)
* feat(languages): add portuguese 320k and 550k (@jeffersonjpr)

* run prettier, ignore pnpm yaml files

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-08-02 14:13:31 +02:00
266-750Balloons
a3661ec894
impr(quotes): add star trek quotes (@266-750Balloons) (#5705)
* Add Star Trek quotes from under-represented series

* Fix spelling mistake added by profanity filter

---------

Co-authored-by: Dexx Stexx <dchosen1uno@gmail.com>
2024-08-02 14:12:02 +02:00
Miodec
8527b33b06 impr: remove ñ from lazy mode replacements
this character is always available on the keyboard, not hidden in a layer or a dead key
2024-08-02 11:11:52 +02:00
Miodec
3b16d2fde8 chore: release v24.31.3 2024-08-02 11:03:41 +02:00
Miodec
9972e9d39f chore: fix dirname not defined in nodejs modules 2024-08-02 11:02:40 +02:00
Jack
fe50fe1659
fix(frontend api adapter): use abortcontroller.abort when abortsignal.timeout is not available (@miodec) (#5714)
* setTimeout approach

* better approach

* remove console log

* better polyfill check
2024-08-02 10:57:43 +02:00
Miodec
b22e0a407d fix(caret): incorrect placement in tape mode: word 2024-08-02 10:50:33 +02:00
Nad Alaba
feaff239f2
build(contracts): fix output paths for windows (@NadAlaba) (#5700) 2024-08-01 13:32:16 +02:00
Christian Fehmer
482de29460
fix: not being able to make requests on very old browsers (@fehmer) (#5711) 2024-08-01 13:30:03 +02:00
Christian Fehmer
8a09acd8d5
impr: use tsrest for ape-keys endpoint (@fehmer) (#5706)
!nuf
2024-08-01 13:29:25 +02:00