Commit graph

421 commits

Author SHA1 Message Date
Mattia
b36d19db44
Update italian.json (#3323) Triikk
Added a quote from "The Library of Babel" by Jorge Luis Borges
2022-07-09 00:20:34 +02:00
Evan
3f0898c4ef
remove dupe (#3316) 2022-07-09 00:13:48 +02:00
Jørgen Tharaldsen fosstvedt
f8782b4a2e
Changed two typos in norwegian 10k (#3313) j-fosstvedt
* Update norwegian_10k.json

* Update norwegian_10k.json
2022-07-09 00:13:33 +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
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
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
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
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
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
Miodec
e60b2ae093 updated lazy mode description 2022-06-29 11:33:14 +02:00
Miodec
b3064c2700 added ads.txt
modified config to add adtest page
2022-06-28 23:06:39 +02:00
Miodec
5bbb6a62a4 improved quick restart esc
pressing tab now opens the command line
you can still insert tab as character (shift tab to open the commandline if text has tab)
closes #3233
2022-06-28 17:57:43 +02:00
Miodec
ed5501e5e4 removed dupes 2022-06-28 13:08:39 +02:00
Miodec
c4bd171f1a replaced manual background filters save with automatic
closes #3253
2022-06-28 13:02:44 +02:00
Abdulbasit
131b6c7c1f
Adding kurdish_central_2k and fixing some things (#3237) Abdulbasit0123
* Adding Kurdish Central 1.5k

I added kurdish_central_1.5k

* Adding kurdish central 1.5k 

Adding kurdish_central_1.5k.json

* Adding kurdish central 1.5k

I added kurdish central 1.5k.

* updated name

While the file name was "kurdish_central_1.5k.json" but in 'name' line it was "kurdish_central.json" so I corrected.

* adding "kurdish_central_45k" to the group

Despite "kurdish_central_45k" json file has been added, but it wasn't in the group, so I added.

* added "kurdish_central_45k" to the list

"kurdish_central_45k" was not in the list so I added.

* Update and rename kurdish_central_1.5k.json to kurdish_central_2k.json

* Updated kurdish_central_1.5k to kurdish_central_2k

* Updated kurdish_central_1.5k to kurdish_central_2k
2022-06-28 12:58:00 +02:00
Cloyd Van
2f2e6b14e5
Filipino quotes update (#3180) Ciezo
* Filipino quotes update

Additional quotes from a popular Filipino song
Filipinos will immediately recognize upon hearing this

* Fixes

Fixed length
Proper spacing

* Groups

* Fix wrong length

Co-authored-by: cloydsecuya <cloydvansecuya@gmail.com>
2022-06-28 12:57:31 +02:00
Miodec
05c03936fe clicking mail on the about page opens contact popup 2022-06-27 15:12:15 +02:00
Miodec
1855578925 updated more links 2022-06-27 15:09:27 +02:00
Miodec
47bae76e1c updated hrefs for consistency 2022-06-27 15:07:46 +02:00
Çağatay Yiğit Şahin
a744a03073
fix the links in the footer for profile pages (#3249) 2022-06-27 15:06:24 +02:00
Miodec
f2d9d37b3e added alias to 58008
closes #3242
2022-06-27 12:15:36 +02:00
verbxtim
1230faeeb8
Update code_luau.json (#3246) verbxtim
Added roblox globals
excluding duplicates.
2022-06-27 12:05:36 +02:00
R0merol
da26618f58
Add 30 more C++ quotes (id: 3-32) (#3244) R0merol 2022-06-27 11:59:00 +02:00
Evan
104786363f
use camelCase instead of dash separation (#3239) Ferotiq 2022-06-27 11:57:35 +02:00
R0merol
ad76cc83b8
Add 20 more Python quotes (id: 9-28) (#3232) R0merol
* Add 20 more Python quotes (id: 9-28)

* Fixhed quote length (id: 28)

* Removed an extra space (id: 7)
2022-06-26 12:26:12 +02:00
smunky
8a6aecb127
rework captcha (#3224) devkennyy rizwanmustafa miodec
* rework captcha

* resolve conversations

* load captcha when needed

* Fix errors

* Create captchacontroller

* Fix errors

* using captcha controller in quote submit

* removed prettier ignore

* updated report quote popup

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 21:06:10 +02:00
Miodec
63bf85ac1c fixed first tab on results page focusing sign in instead of the restart button 2022-06-25 16:39:16 +02:00
Miodec
31cfeef2a9 removed leaderboards route for now 2022-06-25 12:31:31 +02:00
Jack
6499cedc28
Reworked route controller (#3220) miodec
* rewrote route controller

* showing loading by default

* links which are not external need data line attribute

* need to rewrite this

* page controller takes a page as parameter
removed page type

* default export

* going through the route controller instead of changing page directly

* resolving all code paths

* using navigate

* added 404, leaderboards route

* changed leaderboards button to a link

* removed click handler

* added page about route

* removed default export,
added settings page route

* removing pointer events from everything inside links

* navigating to account when on login page

* fixed console logs, using async

* added login and account pages

* moved code to their own functions

* allowing async functions

* defaulting content visible

* async

* fixed 404 not navigating correctly

* setting public path to root

* fixed paths

* using uid passed in through url params

* added 404 page, profile routes

* removed comment

* moved discord link flow to url handler

* allowing html

* not resetting state

* removed function

* handling logo click

* removed comments

* reomoved comments

* removed comments

* removed comments

* using new router

* basic 404 page

* buttons whicha are links have no underline

* correctly handling the take me back button

* updated button

* removed comments

* fixed account page profile link button

* updated 404

* removed comments

* removed comments

* removed comments
2022-06-24 22:12:52 +02:00
Joel Tony
0145b5d533
Add quotes by Pierce Brown (#3218)
* Add quotes by Pierce Brown

* Remove quotes
2022-06-24 15:46:25 +02:00
Miodec
783ca472e1 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 18:02:16 +02:00
Miodec
690dc9ae11 quote lengths 2022-06-23 18:02:09 +02:00