Commit graph

11077 commits

Author SHA1 Message Date
Miodec
5c58270bde build(frontend): check ts on build 2024-07-25 16:04:55 +02:00
Miodec
c832f7eb39 build: split vite config 2024-07-25 15:51:19 +02:00
Jack
ac0e24e388
perf(ci): cache dependencies (#5653)
* add dependency cache

* ci trigger

* ci

* run scripts, no clean, ci trigger

* assets

* missing dependency

* ci, trigger

* trigger

* a

* typos

* ci

* flags

* ci

* trigger

* needs pre-ci

* ci, trigger

* v4, trigger

* update action versions

* revert test changes
2024-07-25 13:49:18 +02:00
Nikola Perović
bdaca701cb
impr(languages): serbian 10k lists (@Fooftilly) (#5652)
* Add Serbian 10k option

* Add Serbian to groups and list

* Removed potentially problematic words

* fixed names

* word quality improvements

fixed typos and removed word that are not from Serbian, removed fantasy words, words from Latin, words that probably do not exist...
2024-07-25 11:30:54 +02:00
dependabot[bot]
d717ae0058
chore(deps): bump express from 4.17.3 to 4.19.2 in /backend (#5650)
* chore(deps): bump express from 4.17.3 to 4.19.2 in /backend

Bumps [express](https://github.com/expressjs/express) from 4.17.3 to 4.19.2.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.17.3...4.19.2)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

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

* lock update

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Miodec <jack@monkeytype.com>
2024-07-25 11:16:48 +02:00
Miodec
4034880d08 chore: update master pre-push script 2024-07-25 11:13:25 +02:00
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