Commit graph

592 commits

Author SHA1 Message Date
Jack 409f0a83e4
Get profile by name (#3585)
* handling query param
getting user by name if query param is present

* added function to get user by name

* split profile function to get user by uid or name

* added  function to check if get parameter exists in url

* updating the profile based on the url parameter

* using query param in url

* using get param

* renamed param name
adding search param to pathname in the deafult parameter value

* renamed param

* renamed param
added query validation

* extracted repeated query to a function

* missing await

* fixed typo
fixed validation

* using em for dynamic font sizes

* using em for dynamic font sizes

* added line height

* using em

* using em

* using page profile search instead

* updated the way data is passed into the page

* profile search page

* setting line height

* removed vertical align

* moved navigate to an event to avoid circular deps

* fixed route controller not being included

* removed unnecessary test

* showing 404 error

* improved query checking

* renamed query param

* fixed test

* note

* yeet

* cleaner type definition
2022-09-22 17:45:57 +02:00
Miodec 3cc55d634f added open dyslexic font
closes #3583
2022-09-22 14:37:04 +02:00
Jave cf0d9425f5
Updated Filipino 200 words list (#3569) Killer8Hyper
- Added important words in the Filipino language, which are always used in conversations, making essays, articles, etc
- Changed words to their most common spelling
- Removed uncommon words or words that are not frequently used

Co-authored-by: Miodec <jack@monkeytype.com>
2022-09-22 14:18:12 +02:00
Anurag Nayak 77736a6dd7
added a new quote (#3575) Anu-Ra-g 2022-09-22 13:06:34 +02:00
Miodec 6cf347eaca registering now requires a captcha 2022-09-22 12:57:42 +02:00
Giovanni Valer 5a5059498d
Added Friulian language (#3561) jo-valer 2022-09-20 14:58:25 +02:00
codemurt 4fdf3c59a9
Added udmurt language (#3560) codemurt 2022-09-20 14:57:53 +02:00
aaron adriano 830cca2268
Added quotes from Porter Robinson tracks (#3550) sayaidev
* Update english.json

* Update english.json

Removed duplicate

* Added artist to source
2022-09-20 14:55:18 +02:00
Miodec 0797b5cfb7 removed word 2022-09-16 12:47:29 +02:00
ambivent a5e2ce11cd
Nerps (#3544) ambivent
Adds the Nerps layout
2022-09-16 11:54:09 +02:00
KParthSingh a3a9bf00b4
Updated hinglish word list (#3556) KParthSingh
* Added hinglish

* Added hinglish

* Added hinglish language file

* remove bcp47

* Updated hinglish word list

-removed some English words
-added some new words
-reordered the list

* Update hinglish.json

* Delete hinglish.json

* Updated the word list

-removed some English words
-added few new words
-reordered the list

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-09-16 11:53:53 +02:00
Terminal 894b4f53bf
New Theme : cheesecake (#3535) Edmain1
* Create cheesecake.css

* Update _list.json

* update colors and added animation

* adjusted error colors, sub alt color
slowed down animation

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-16 11:46:25 +02:00
Miodec 97f6f95af3 removed overly difficult words from portuguese 2022-09-14 18:43:23 +02:00
Miodec 7dff50dc30 added histogram to the account page 2022-09-12 14:24:56 +02:00
rogercc03 d21988ad63
Corrected catalan_1K.json Cataluña -> Catalunya (#3538) rogercc03
The "ñ" letter doesn't exist in catalan, it is written as "ny"
2022-09-12 13:17:58 +02:00
rogercc03 93f11243a4
Correct catalan.json cataluña->catalunya (#3537) rogercc03
The "ñ" letter doesn't exist in catalan, it is written as "ny"
2022-09-12 13:12:20 +02:00
Miodec 34e5174609 changed punctuation and numbers icons 2022-09-12 11:06:51 +02:00
Miodec 69dd84006f checking flipped and colorful mode
also disabling animation
closes #3531
2022-09-11 14:06:31 +02:00
KParthSingh d4ad6c5c0c
Added hinglish under hindi (not as separate language) (#3499) KParthSingh
* Added hinglish

* Added hinglish

* Added hinglish language file

* remove bcp47

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-09-10 18:31:25 +02:00
Miodec 6799a78250 notification bubble defaults to off 2022-09-10 10:56:59 +02:00
Anatoli Avetisovi 82801fe36f
added Georgian quotes (#3520) avetisovi 2022-09-09 21:04:52 +02:00
Jan de Mul 0168733d8e
add quotes from LOTR (#3526) JandeMul 2022-09-09 11:48:10 +02:00
Miodec 483beaaabf disabling dark reader 2022-09-09 00:10:59 +02:00
Miodec 2fa5dd0fef showing notification bubble on bell icon instead of setting the whole icon active
closes #3513
2022-09-08 22:23:18 +02:00
ashharrrrr f73405a5aa
add viridescent theme (#3521) ashharrrrrr 2022-09-08 14:12:51 +02:00
AxoCode 3f25c7acab
Add Powershell Code language (#3516) AxoCode
* feat(language): add Powershell Code language

* fix: remove duplicate entry JSON
2022-09-08 14:08:24 +02:00
Arban Hossain 39dea0161e
Add English quotes and Bangla words (#3505) arbanhossain
* add english quotes

* add 14 bangla words

* updated english quote to be newline-free
2022-09-08 14:07:39 +02:00
AOTREVAI 5048e87dfa
Added italian quotes (#3492) AOTREVAI
* Added new quote to italian language

* Added quote 105 to italian language

* Update italian.json

* Update italian.json

* Update italian.json

* Update italian.json

* Update italian.json

* Update italian.json

* Update italian.json

* Update italian.json

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-09-08 14:06:34 +02:00
Christian Rudder 5912670eab
creating korean keymap (#3456) neezacoto 2022-09-08 14:05:49 +02:00
Miodec 585d528acb adjusted words input positioning
closes #3517
2022-09-07 12:25:15 +02:00
Miodec 7328f74633 adjusted dots theme
closes #3523
2022-09-07 12:15:45 +02:00
Miodec e2b15a1d2a fixed snes 2022-09-06 13:48:17 +02:00
Miodec e60fd05c51 fixed dots 2022-09-06 13:46:38 +02:00
Miodec e523cfb1a7 fixed moonlight 2022-09-06 13:44:52 +02:00
Miodec e9492a42d5 fixed metropolis 2022-09-06 13:38:42 +02:00
Miodec d094a355aa fixed dots 2022-09-06 13:31:00 +02:00
Miodec 9a936390bc fixed invisible buttons 2022-09-06 13:23:16 +02:00
Miodec 1b65a0337f only rotating typing test 2022-09-06 00:19:25 +02:00
Miodec a378c743d6 optimised alerts popup for narrow screens 2022-09-05 20:45:01 +02:00
Miodec ee5c07d10a displaying longest streak on profile 2022-09-05 15:12:24 +02:00
Miodec 85dc20e8cd Merge branch 'newnav' 2022-09-05 13:55:09 +02:00
Christian Rudder df28ad6a62
adding dvorak french (#3501) neezacoto
* adding dvorak french

* fixing layout type

* fixed layout

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 13:35:57 +02:00
Christian Rudder 1a9e2c4134
language checks use startsWith() (#3502) neezacoto
* replacing otchecking for languages uses startsWith

* renamed language file to not include decimal places

* replacing remaing underscore characters

* removing language size

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 12:26:51 +02:00
typermonkeyuser b08c194c3d
Implement streaks (#3385) typermonkeyuser, bruception, miodec
* Implement streaks

* Improve code

* Update package.json

* Store streak on the user

* Pretty-fix

* Ensure that streak is up to date

* Fix issue in streak calculation

* Revert prettier changes

* Update polish.json

* Update db.ts

* Remove initial calculation

* Write mandatory test

* using strict equality

* moved functions to the utils file

* importing utils

* adding streak to breakdown,
rounding and parsing streak modifier

* renamed variable

* renamed fields

* using correct field name

* added streaks to configuration

* showing streak during xp breakdown

* incrementing streak earlier
checking configuration before applying modifier

* returning streak to the client

* setting local streak with the number returned from the backedn

* only reading streak when updating profile instead of updating

* sending streak information in profile

* only showing streak if greater than 0

* setting to empty if no streak

* renamed config property

* updated streak calculation

* refactored isYesterday

* refactored streak update

* only displaying if streak larger than 1

* merged configuration properties into 1

* added configuration for max streak bonus

* added isToday check back (derp)

* reverted streaks back to multiplier approach

* using better maprange functin

* removed import

* moved test to dal spec

* clamping

* removed imports

* fixed test

* increased coverage

* removed angry console log

* typo

* using date now instead of dates

* mocking date now
awaiting expect

* not using date

Co-authored-by: Anonymous <110769200+fasttyperdog@users.noreply.github.com>
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-09-05 12:13:55 +02:00
Miodec 9c69174b0c adjusted styling 2022-09-04 23:58:18 +02:00
Miodec 81c2e3019f adjusted test config styling 2022-09-04 23:54:33 +02:00
Miodec 2e96202144 fixed icon styling 2022-09-04 23:36:55 +02:00
Miodec 94dce10eca named separator 2022-09-04 23:29:49 +02:00
Miodec 285198bf2d Merge branch 'master' into newnav 2022-09-04 16:08:49 +02:00
Faurazeko d7e99cc4c8
Added some russian quotes, standardized the sequence of fields in json (#3503) Faurazeko
* Update russian.json

* Added some quotes;
* Standardized the sequence of fields (id, source, text, length);

* Update russian.json

* Update russian.json

* Update russian.json
2022-09-04 13:39:10 +02:00