Commit graph

11021 commits

Author SHA1 Message Date
Miodec c24bf0fa80 fix: incorrect portuguese group array 2024-07-25 11:09:07 +02:00
Miodec a1a94db1a3 impr(authentication): error message when sign in popup was blocked by the browser
fixes #5530
2024-07-25 11:09:07 +02:00
Christian Fehmer 2a28bee7c4
docs: update contributing advanced (@fehmer) (#5646)
* docs: update contributing advanced (@fehmer)

* rename `manually` to `locally`

* Revert "rename `manually` to `locally`"

This reverts commit d9f1b1c729.
2024-07-25 11:08:32 +02:00
Breno Queiroz Lima c0f7e25726
fix(util): hexToRgb function (brenob6) (#5643)
* fix: invalid return values

* add: hexToRgb test suite

* test: update hexToRgb test value

* add more tests

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-25 11:08:02 +02:00
Miodec 2eb9b7aa25 chore: add supporter 2024-07-25 10:46:56 +02:00
Christian Fehmer 40514cd248
chore: start application in dev mode using docker (@fehmer) (#5647)
* chore: start application in dev mode using docker (@fehmer)

* expose port env variable

* regen lock

* regen lock

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-24 19:48:01 +02:00
Miodec 9889bfa546 chore: regen package lock 2024-07-24 19:11:05 +02:00
Miodec ee49c79d6f fix(word generator): custom mode with time limit generating the wrong amount of starting words
closes #5627
2024-07-24 12:07:53 +02:00
Christian Fehmer c856cf12f8
ci: configure dependabot (@fehmer) (#5642) 2024-07-24 12:04:08 +02:00
github-actions[bot] a2b4cee021
refactor: run prettier (#5636)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2024-07-24 11:51:18 +02:00
Miodec ff2ac031b6 chore(dev): update vscode workspace file 2024-07-24 11:48:36 +02:00
Miodec cac4c7b233 chore(dev): prevent terminal screen from being cleared in watch mode 2024-07-24 11:41:50 +02:00
Miodec be304906e9 chore(dev): prevent terminal screen from being cleared by vite 2024-07-24 11:40:23 +02:00
Miodec 5f7565a695 chore(dev): fix tsconfig path 2024-07-24 11:39:09 +02:00
Miodec 93f6a9c0f7 chore(dev): use --force param for dev turbo dev 2024-07-24 11:39:00 +02:00
Miodec 8d9875f4eb fix(caret): block width going down to 0 when typing with blind mode on 2024-07-24 11:28:16 +02:00
Miodec 799902949b fix(blind mode): tape mode still scrolling when making mistakes
closes #5635
2024-07-24 11:28:16 +02:00
StickminBruv e7afa12632
docs: update example code (#5633)
Added the part at the end about adding the thing to _list.json. Pretty much made it, so people will know what to actually add when you do themes. I don't know if this change will matter.
2024-07-24 10:58:59 +02:00
Miodec eaa766fc76 chore: update file extension 2024-07-22 16:58:49 +02:00
Miodec 8de977a45f chore: bump ua-parser 2024-07-22 16:56:50 +02:00
Miodec b9f9a01740 chore: add full check command 2024-07-22 16:56:26 +02:00
Miodec 93767fecf6 chore: regenerate package lock 2024-07-22 16:47:39 +02:00
dependabot[bot] b5444d827d
chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend (#5639)
* chore(deps-dev): bump vite from 5.1.2 to 5.1.7 in /frontend

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.2 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* package-lock.json

---------

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>
2024-07-22 16:11:31 +02:00
dependabot[bot] 26c60c683b
chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend (#5640)
* chore(deps-dev): bump postcss from 8.4.27 to 8.4.31 in /frontend

Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* package-lock.json

---------

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>
2024-07-22 16:11:17 +02:00
Jack 3e88ac2f12
refactor: restructure project to a true monorepo (#5626)
* split ts files

* packages

* nomore workspace?

* blah

* build, exports

* declaration

* blargh

* turrrrbo

* fix fontawesome paths

* allow file in eslint, fix ts errors

* optimise package, update tsconfig

* fix ts

* update turbo config

* eslint split

* fix imports

* fix types

* lock

* add turbo task

* script

* test task

* pretty scripts

* update prettier ignore

* no cache for tests

* lint task

* turbo

* no out

* depend on env

* fix mono breaking things

* odl

* fix version dependency of mongodb-memory-server

* Revert "fix version dependency of mongodb-memory-server"

This reverts commit 52ffac47b1.

* update vitest-mongodb

* release scripts

* update ci

* update dev script

* ignore issues around firebase config

* add check ts tasks

* import isaxioserror

* shared types package

* replace tsnodedev with tsx

* fix import

* shared types

* module

* backend imports

* declaration

* node version

* test code

* assert json

* verbatim

* type

* lodash

* ts ver

* fix fix fix?

* remove assert

* remove module and resolution

* cleanup

* tsconfig

* fix frontend

* remove unecessary props

* more unused

* remove skiplib

* declaration map, dev script

* remove install scripts

* fix regex

* move shared types to package

* dont include shared types

* remove path

* update scripts

* test code

* test code

* fix backend types

* fully fix backend

* fix frontend d.ts

* add .js to imports

* remove module

* revert add .js

* update tsconfig

* use bundler module resolution

* almost all frontend types

* mooore

* date fns

* fix backend docker

* fix ape keys

* fix type

* clean rimraf type

* fix shared-types in workspace

* fix import resolving

* fix docker builds

* ignore type problems on slim-select until new version is released

* turrrrbo

* fix npm ci

* fix lint task

* expose env variables needed by frontend build

* fix dependencies

* package-lock

* backend watch ts and lint

* add fe and be build scripts to root

* fix dev not building packages

* shared-types missing eslint

* move shared types back to dev-deps

* add packages to labeler

* add packages step to ci

* typo

* filter update

* remove concurrently from root

* add scripts

* abbreviate

* rename

* yeet

* fixed path

* test pkg

* consistent ordering

* rename

* Revert "backend imports"

This reverts commit d715198829.

* fix missing imports, remove last .js

* remove test package

---------

Co-authored-by: Christian Fehmer <cfe@sexy-developer.com>
2024-07-22 15:08:11 +02:00
Christian Fehmer c96185e90a
impr: replace ṅ with n in lazy mode (@fehmer) (#5638) 2024-07-22 11:41:33 +02:00
Christian Fehmer 29627fd0d5
ci: update ci-failure-comment workflow (@fehmer) (#5632) 2024-07-20 01:09:14 +02:00
Miodec deeea0fb78 chore: increase inconsistent test duration window
part of #5401
2024-07-17 22:25:08 +02:00
Andrés Silva 62305cc025
impr(languages): Add useful Vim motions and sort JSON (#5618) 2024-07-17 18:26:03 +02:00
Miodec 3b768e0d78 fix(quotes): user reports 2024-07-17 10:56:36 +02:00
Jack 8f4d291fcf
Revert "impr: use tsrest/zod for type-safety on both ends (@fehmer) (#5479)" (#5619)
This reverts commit 4c9e949f10.
2024-07-16 17:29:09 +02:00
Christian Fehmer 4c9e949f10
impr: use tsrest/zod for type-safety on both ends (@fehmer) (#5479)
!nuf
2024-07-16 15:24:06 +02:00
Miodec 1838816bff chore: release v24.29.0 2024-07-16 13:45:04 +02:00
Miodec 356e4bcd5f chore: fix release scripts 2024-07-16 13:42:42 +02:00
Miodec 0db50e30d8 chore: add firebase tools dependency 2024-07-16 13:38:14 +02:00
Miodec a5f485c711 chore: rename file, fix duplicate 2024-07-16 10:38:16 +02:00
Miodec 3ccd3b5e8d chore: add log to try to debug an issue 2024-07-16 10:36:31 +02:00
Miodec cf74cd7cbf fix: hide extra letters causing caret to go to the start of the active word 2024-07-16 10:34:58 +02:00
Jack 2af5879f23
refactor: split middlewares into smaller files (#5616)
* split

* fix imports

* rename
2024-07-15 17:08:32 +02:00
Christian Fehmer 088ff638cc
fix: optimize / fix concurrency in UserDal (@fehmer) (#5558)
* fix addResultFilterPreset

* refactor, fix  removeResultFilters

* fix isDiscordIdAvailable, addTag, editTag and removeTag

* fix removeTagPb, updateLbMemory

* incrementBanana

* addTheme, removeTheme, editTheme

* wip

* cleanup incrementBananas

* toMongoFunction

* give up on making toMongoFunction type-safe

* be less stupid, addFavoriteQuote

* removeFavoriteQuote

* cleanup updateInbox

* don't use function if possible

* cleanup

* update error messages

* update error messages again

* review comments
2024-07-15 14:18:22 +02:00
Christian Fehmer 94a393fd87
impr: provide all-time LB results during LB update (@fehmer) (#5614) 2024-07-15 12:25:47 +02:00
Christian Fehmer aca3fe205b
test: add test coverage for PresetDal (@fehmer) (#5615) 2024-07-15 12:21:31 +02:00
Christian Fehmer 5b970ecea7
impr: use typescript for font-preview and fontawesome scripts (@fehmer) (#5613) 2024-07-15 12:17:31 +02:00
Miodec f729b9e01a fix(quote): remove duplicate 2024-07-15 12:14:47 +02:00
Nikola Perović b243d1472b
feat(languages): add Serbian 10k (Fooftilly) (#5603)
* Add Serbian 10k option

* Add Serbian to groups and list

* Removed potentially problematic words

* fixed names
2024-07-15 12:13:46 +02:00
mufasachan 864ade1571
impr(quotes): add CUDA quotes (#5611)
I browsed GitHub to get CUDA codes and that's all I got, one repo.
- I filtered out the repo with less than 100 stars.
- I did not tried to include source under other licenses than GPL3 or public domain license.
- I did not take learning resources.
- I did not take code without license.
- I did not take few physics-simutlation repos, I wanted data structures or Deep Learning related code.

I am looking forward to see more CUDA quotes, no matter the source =)
2024-07-15 12:12:53 +02:00
max 81ef04bbc5
feat(quotes): add the walking dead quote (@mxz7) (#5609) 2024-07-15 12:12:12 +02:00
Türker 339ce44ae2
feat(quotes): add Turkish quotes (@turkwr) (#5608)
* feat(quotes): add Turkish quotes from various sources

* feat(quotes): update Turkish quotes lengths

The lengths of the Turkish quotes in the `turkish.json` file have been updated to reflect the correct character count.

* feat(quotes): add Turkish quotes from various sources

This commit adds Turkish quotes from different sources, including "The Poet X", "Gurren Lagann", "İnanılmaz Aile (TV Serisi)", and "Oscar Wilde". The quotes are added to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): add Turkish quotes from Mother Teresa, Anais Nin, Emily Dickinson, Technoblade, and Bilinmeyen

The commit adds Turkish quotes from Mother Teresa, Anais Nin, Emily Dickinson, Technoblade, and Bilinmeyen to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): add Turkish quote from "The Poet X"

Add a Turkish quote from "The Poet X" to the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): update Turkish quotes in turkish.json

Update the Turkish quotes in the `turkish.json` file in the `frontend/static/quotes` directory.

* feat(quotes): update Turkish quotes in turkish.json
2024-07-15 12:11:09 +02:00
Mejans bd29e4f68a
feat(languages): add Occitan 200, 1k, 2k, 5k, 10k (Mejans) (#5571)
* Adds Occitan word lists

List of most used words in Occitan language

* Adds Occitan files

Adds list of 200, 1 000, 2 000, 5 000 and 10 000 words.

* Adds Occitan languages

* Chance name value

* Change name value

* Change name value

* Change name value
2024-07-15 12:08:48 +02:00
Miodec 1cabbaa3e8 fix(server): not being able to view profiles which had a dot in the name 2024-07-13 21:39:07 +02:00