Commit graph

7523 commits

Author SHA1 Message Date
Bruce Berrios
af70bc5971
Bump coverage (#3314) 2022-07-06 21:01:58 +02:00
Evan
cc36bbc212
Catalunya -> Cataluña (#3312) 2022-07-06 18:55:09 +02:00
Miodec
0ddd6eff6c quote lengths
adressed quote reports
2022-07-06 13:11:22 +02:00
Miodec
c62673837f reordered settings 2022-07-06 13:01:40 +02:00
YummyOreo
e794bbd68d
Adds a reset account button to the settings page (#3206) YummyOreo
* adds reset button

* moves it up above the delete button

* i am blind

* i cant move stuff

* adds reset for the profile

* Adds reseting for ape keys, and presets, also adds more resets in the user settings

* Delets all ape keys not just one

* Prevents conflicts for delete endpoints

* changes from reset to deleteAll in ape keys

* Refactors the code to use Promise.all

* adds reloading

* unit tests ape key deletion

* fixes some bugs

* Fixes type o

* More typeo fixes

* Returns nothing for reset user

* Simplifies code

* changes from reset to deleteAll for all but users

* Checks db not the memory

* fixes typo

* fixes the tests

* fixes

* fixes bugs and refactors some code

* adds requireFreshToken to the authentication

* migrates all reseting to the user endpoint

* removes the delete all for ape unit test

* to lazy to make commit message

* parallelize the calls to the db (I think)

* also resetting config

* also resetting discordid and avatar

* using unset

* updated wording

* level 1 message

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-07-06 12:59:40 +02:00
Michael Deutsch
ebf5825040
Remove minAccuracy grace period (#3307)MichaelDeutschCoding
* Small edit to Basic Contributing documentation

* Remove minAccuracy 3 word grace period

* prettier

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-07-06 12:36:17 +02:00
devkennyy
27a7358a11
🚧Improve tab usability (#3296) devkennyy
* 🚸Call `screenshot` after `Enter` is pressed

`screenshot` is only called on click which does not support tab usage.

* 🐛 Make `Contact` and `Donate` fields tabbable

* ️ Open leaderboard popup on `Enter` keypress

* ️ Open support popup on `Enter` keypress

* ️ Open contact popup on `Enter` keypress

* ✏️ Rename `Donate` field to `Support`

* ️ Hide `contact` and `support` popups on `Escape`
2022-07-06 12:32:21 +02:00
Jørgen Tharaldsen fosstvedt
8edcfe22f6
Added a few norwegian quotes (#3301) j-fosstvedt
* added a few norwegian quotes

* quotes

* Update norwegian.json

* Update norwegian.json

* fixed

* removed a quote

* Removed asked quote
2022-07-06 11:30:08 +02:00
devkennyy
14f372373b
add hausa and shona languages (200& 1k) (#3309) devkennyy
* add shona languages (200 & 1k)

* add hausa languages (200 & 1k)

* add hausa language to lists and groups

* add shona language to list and groups
2022-07-06 11:29:40 +02:00
smunky
d25a2f1a81
update tool badges (#3310) 2022-07-06 11:22:57 +02:00
smunky
695bccedee
remove quickTab and swapEscAndTab from config-schema (#3311) 2022-07-06 11:22:35 +02:00
smunky
f123fd2888
add maltese and latvian languages (200 and 1k) (#3304) devkennyy
* added latvian and latvian_1k as languages

* add maltese and maltese_1k languages

* move latvian position based on native speakers

* move maltese position based on native speakers

* remove duplicates from latvian languages

* remove duplicates from maltese languages
2022-07-05 13:36:58 +02:00
Jørgen Tharaldsen fosstvedt
278fe7a588
fixed a typo (#3300)
* fixed a typo

changed "languages" to "quotes"

* Update QUOTES.md

Co-authored-by: Jack <jack@monkeytype.com>
2022-07-03 22:49:17 +02:00
smunky
186ef70a26
🗑️Replace deprecated functions (#3285) devkennyy
* replace deprecated click()

* ️ Replace deprecated `select` calls.

* ️ Replace deprecated `mousedown` calls

* ️ Replace deprecated `change` calls
2022-07-03 17:37:45 +02:00
Bruce Berrios
0dd2539bf7
Add minor optimization (#3294) 2022-07-03 15:57:09 +02:00
Miodec
8f5f607da6 removed notification 2022-07-03 00:46:09 +02:00
Miodec
6e6ba3bf9d Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-07-02 19:04:03 +02:00
Miodec
5dac8020c2 importing performance 2022-07-02 19:03:12 +02:00
Bruce Berrios
616e26b5c5
Add version commit hash (#3286)
* Add version commit hash

* Add frontend client hash

* Remove export
2022-07-02 18:49:13 +02:00
Miodec
162beea1b8 removed log 2022-07-02 18:19:45 +02:00
Miodec
d14a582cb8 sending different path to prometheus 2022-07-02 17:39:48 +02:00
Miodec
9acd68e99f optional chain 2022-07-02 14:34:01 +02:00
Bruce Berrios
da61bfb83c
Refactor auth (#3291) 2022-07-02 14:23:51 +02:00
Miodec
b3ef10ddc2 typo 2022-07-02 13:55:26 +02:00
Miodec
7b8a66779c removing get form path for measuing 2022-07-02 13:54:45 +02:00
Miodec
3f98c4b801 recording time to auth in prometheus 2022-07-02 13:43:40 +02:00
Jørgen Tharaldsen fosstvedt
cb643a2b11
added the canary matrix variant (#3289) j-fosstvedt
* added the canary matrix variant

As defined here:
https://github.com/Apsu/Canary#ortho

* added necesarry columns

Co-authored-by: Jack <jack@monkeytype.com>
2022-07-02 12:29:55 +02:00
Shashwat Poudel
87a6fa9b50
Added nepali quotes (#3243) Sheshwat-pd
* added quotes to nepali language

* Fixed typos and added quotes

* removed quotes below 60 characters

* Removed the asked quote

* Updated according to comments

* Removed aa trailing comma

* Corrected length fields

* Corrected length fields
2022-07-02 12:23:35 +02:00
Miodec
4c7d17d6ba Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-07-02 12:19:00 +02:00
Jørgen Tharaldsen fosstvedt
efa11b1b0c
fixed a typo (#3290)
### Description
Added a space after the link to the privacy policy
2022-07-02 12:12:08 +02:00
Martin de Boutray
75328a7926
Added 1 french quote (#3287) 2022-07-01 16:55:07 -04:00
Miodec
fd866992a2 added canary 2022-07-01 20:50:30 +02:00
Bala Subramaniam
9356cbe222
Add 200 words under tamil.json and created tamil_1k.json (#3268) bala418
* Add 200 words under tamil.json and 1000 words for tamil_1k.json

* Remove duplicates from tamil.json and tamil_1k.json

* Update ligatures
2022-07-01 18:45:59 +02:00
James Elson
e305e4846e
Added prog_workman layout (#3270) Jelso13
As defined on https://workmanlayout.org/
2022-07-01 12:02:59 +02:00
Miodec
211ab8ab8e removed try it out button from docs 2022-07-01 11:57:07 +02:00
aria
87992898bb
11 more long-form quotes (#3267) holyhearted
* added 11, mostly long-form, quotes

* 11 more long-form quotes (+ fixed lengths)
2022-06-30 19:17:45 +02:00
Daniel Sateler
84c8231a07
Added spanish quotes (#3263) satelerd
* Add spanish carl sagan quote

* Add spanish carl sagan full quote

* fixed ids
2022-06-30 19:11:37 +02:00
Miodec
97902d4bf4 removed quote 2022-06-30 18:59:43 +02:00
Miodec
04fe85e770 typo 2022-06-30 18:59:05 +02:00
Miodec
a8b176404f removed quotes 2022-06-30 18:56:52 +02:00
Miodec
c1063080d2 typo 2022-06-30 18:56:05 +02:00
Jack
db3b6755b8
Rewriting middleware tests (#3266)
* aoaoaooao

* different attempts

* figured out the test

* added another test

* redefining next before each function, checking next call count

* removed eslint ignore
2022-06-30 16:31:06 +02:00
Miodec
b813dd5aa0 running tests sequentially 2022-06-30 01:33:23 +02:00
Miodec
8ec307c837 added authentication tests 2022-06-30 01:15:06 +02:00
Miodec
8d17f699df removed log 2022-06-30 00:59:14 +02:00
Miodec
4b423a5484 removed condition (iat is guaranteed to be there) 2022-06-30 00:12:23 +02:00
Miodec
2aa251fc46 moved logic to another function 2022-06-30 00:11:09 +02:00
Miodec
9085b5af9d added fresh token requirement 2022-06-30 00:03:58 +02:00
aria
88b282b3c6
Added 20 more English quotes (#3250)
* Added 5 quotes

* fixed lengths and added MORE quotes

* merged current with prior stream

* Fetching upstream (#1)

* extended: language 'code rust' (#3104)

Added all derives and some very common traits as well as `pub(crate)`.

* added one english quote (#3094)

* added one english quote

* added one english quote

* updated the quote id 6095

* Custom Filters [Backend] (#3105)

* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller

* Added one english quote (#3109)

* added one english quote

* added one english quote

* updated the quote id 6095

* Added english quote id 6096

* Custom Filters [Backend] (#3105) (#3110)

* Added `ResultFilters` to types
Added customFilters field to user
This field is an optional array of `ResultFilters`
It will store a user's custom filters

* Added Add and Remove functions for `ResultFilters` in user DAL

Also added unit tests

* Added Custom Filter configuration

Can now enable/disable the custom filters feature
Can also set a cap on the number of filters per user

* Add and Remove functions for `ResultFilters` in user controller

* Added Haskell programming language (#3108)

* added: code_haskell language;

* fixed: missing comma;

* Contributing typos fix (#3114)

* spacebar in presets and tags addition

* super mega spacebar remake

* style fix

* final name removal in ui

* replaceAll in ape removal

* using display above account chart

* create preset in command line addition

* testing removal

* one more testing removal

* create tag command line addition

* Update commandline-lists.ts

* moved add commands to the bottom
hiding if user is not signed in

* refactor

* hiding tags and presets when signed out

* fixed presets and tags display in alerts

* russian_25k and russian_50k addition

* russian 375k addition

* lil fix

* fixed windows auto-reload error

* Revert "fixed windows auto-reload error"

This reverts commit ea22621232.

* Revert "Revert "fixed windows auto-reload error""

This reverts commit 669cec4217.

* Revert "Revert "Revert "fixed windows auto-reload error"""

This reverts commit d90352633c.

* themes popup small fix

* using &&

* some typos fixed

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>

* Fix yesterday toggle button (#3107)

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>

* fixed ids and added more quotes

* i sincerely hope this is the LAST TIME I DO THIS

* more quotes!

* removed inappropriate quote

* added more long english quotes

* added more whitespace between dashes

* fixed lengths for 5999, 6116 & 6117

* fixed lengths

* i don't have eyes

* merge

* i hate codespaces so much

* so so so much

* added 20 more quotes

* added 20 more quotes

* added 20 more english quotes + fixed lengths

* added authors + fixed one quote

* 20 quotes + fixed artist names

Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: Jitesh Kumar Sahoo <77315098+Jitesh117@users.noreply.github.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: aNOOBis <69043738+aNOOBisTheGod@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2022-06-29 14:30:38 +02:00
Miodec
0ea464339c removed ads.txt from project 2022-06-29 12:06:59 +02:00