Commit graph

90 commits

Author SHA1 Message Date
Cody Bloemhard cce4cd34e6
Fix type in language code_haskell (#3203) codybloemhard
Fix `loopup` to `lookup`.
2022-06-23 00:21:16 +02:00
Miodec ea004365c9 typo 2022-06-21 18:04:42 +02:00
Bruce Berrios db9dcafc25
Add User Profiles (#3174)
* profile

* rounded table corners

* rounded leaderboards corners

* wider page by default

* v3

* font changes

* new pbtables

* blank by default

* showing pb popup

* removed some quotes

* rounding displayed acc

* removed created date (will be shown in profile)

* added profile module that fills the profile element

* updating font size in the middle of the swap to make the change not noticeable

* lowered max font size

* showing if user is banned,
not displaying most details if user is banned

* pbs not selectable

* renamed global stats to time typing

* completed previous commit

* changed function parameters

* only hiding when social is missing

* smaller badge

* aligning quick results
spanning time if wide

* larger badge

* fixed function parameters

* moved to root

* media queries

* Add user profile API (#3123) bruception

* Add flattenObjectDeep

* Add user profile API

* Bump coverage

* Add user profile configuration and rate limits

* Rename profile -> profileDetails

* Simplify

* Filter personal bests

* Handle banned users

* Add banned user test

* new profile layout system
"none" layout finished

* better "none" layout

* "socials" layout

* larger gap

* bioandkey layout done

* "both" layout finished

* final touches

* Add profile editing (#3135)

* Add profile editing

* lowered font size
increased right padding

* updated configuration schema

* moved discord integration to users object in configuration

* added warning comment

* rendering new lines

* edit popup styling

* Sanitize ZAlgo text

* Use trim

* Replace more than 2 spaces with two spaces

* Trim first

* Add profanity detection

* Ass

* Removed some profanities

* Update profanity detection

Co-authored-by: Miodec <bartnikjack@gmail.com>

* Add profile routing (#3143) bruception miodec

* Add profile routing

* removed check (also fixes circular deps)

* change page in special cases

* Hydrate profiles

* Link leaderboards to profiles

* Add failed to load div

* Dont refresh page

* always calling middle callback

* moved profile css into its own file

* fixed one media query

* added preloader, changed default layout

* added reset function
changed function name
updating profile before the page is shown, not after

* resetting after the page is hidden and before its updated

* Fix logic to not delete user if DB goes down (#3171)

* Dont route to account if uid equals current user uid

* temporairly allowing quicktab

* added copy link button

* only increasing padding on the account page

* set max height

* handling copy link button

* only showing avatar if it exists

* 1000 instead of 100

* removing placeholder if image request was successful

Co-authored-by: Miodec <bartnikjack@gmail.com>

* Fix quote length field

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-21 12:01:55 +02:00
SarkarKurdish d869c6f74a
Added 64K+ Kurdish words (#3131) SarkarKurdish
* Added 64K+ Kurdish words

* Added 45K+ kurdish words

* Add new language Kurdish 45K
2022-06-20 12:45:38 +02:00
devrusty 99af571948
Added code_visual_basic language (#3147)
* Create code_visual_basic.json

source: https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/keywords/

* listed code_visual_basic

* listed code_visual_basic in code group

* removed duplicate "each"
2022-06-17 18:09:32 -04:00
Evan b57e1cd895
Fix prettier issues and update package.json to allow windows to use the prettier scripts (#3145) 2022-06-17 06:47:11 -05:00
Cody Bloemhard ec4e6cbc84
added: code_opencl language (#3132) codybloemhard
* added: code_opencl language;

* fixed: duplicate word in code_opencl;

* fixed: another duplicate in code_opencl;
2022-06-15 15:21:00 +02:00
SarkarKurdish 7ef0da92d5
New kurdish words (#3126) 2022-06-14 16:27:01 +02:00
kenny df82e6399d
wordle, wordle_1k languages. (#3111)
* Update _groups.json

Updated _groups.json to include wordle language.

* Update _list.json

Updated _list.json to include wordle and wordle_1k languages.

* Create wordle.json

Name: wordle
Words: 200 

Sourced from wordle source code.

* Add wordle_1k.json (@devkennyy)

Added wordle_1k. Words sourced from wordle source code.

* added wordle_1k contents

* replaced single quotes with double

* removed trailing comma
2022-06-13 10:36:04 -04:00
Ihor Kos d02d095f93
Made fixes to ukrainian_50k (#3120)
* Fixed mistake in a word (http://sum.in.ua/s/reghionaljnyj)

* Removed non-existent word (http://sum.in.ua/s/karochje)

* Removed vulgarism

* Removed complex word (consists of two words)

* Removed duplicate occured after fixing a mistake
2022-06-13 10:34:46 -04:00
Ihor Kos 9cca6b585b
Fixed mistake in ukrainian word (#3117) inununit 2022-06-13 12:26:23 +02:00
Cody Bloemhard 42d3d34bb8
Added Haskell programming language (#3108)
* added: code_haskell language;

* fixed: missing comma;
2022-06-12 10:21:52 -04:00
Cody Bloemhard c5baa8af09
extended: language 'code rust' (#3104)
Added all derives and some very common traits as well as `pub(crate)`.
2022-06-10 18:33:51 -04:00
Dunxter c16dde6602
Fixed a spelling error in Spanish 1k (#3102)
"Barcelona" is spelled with a capital B (such is the case of "Madrid").
2022-06-10 09:56:00 -04:00
Bruce Berrios c15d0c1572
Fix prettier issues (#3078)
* Fix

* Pretty Workflow

* spacing fix

* oops

* Update base pretty script
2022-06-07 12:02:03 -04:00
Turi Abu 38f353f4ba
Added Oromo language (#3041) turinaf
* Added Oromo language

* Adding Oromo Language

Corrected the previous errors:
  -converted all words to lower case
  - removed trailing dots/comma and numbers in word list.

* Adding Oromo - fixed errors

Represented apostrophe as it is in json file.
Improved readability of JSON file.

* Adding Oromo - Fixed errors2

Represented apostrophe as it is in json file.
Improved readability of JSON file.

* Adding Oromo - removed duplicates

Removed duplicates in word list.
Renamed json files to corresponding word counts.

* Updated 5k words list

Replaced the duplicate with another unique word
2022-06-04 13:48:06 +02:00
aNOOBis a7c8a2a6d7
Russian language 375k addition (#3049) anoobisthegod
* 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.

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-03 13:58:27 +02:00
aNOOBis d19d6396ec
Russian Language 25k and 50k addition (#3044) aNOOBisTheGod
* 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

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-05-30 17:54:02 +02:00
Outdated 80d05a186f
Language Added, VIm: U (#3018) outdatedx
Co-authored-by: // Outdated Designs <OutdatedDesigns@users.noreply.github.com>
2022-05-24 15:30:22 +02:00
ᚷᛁᛟᚱᚷᛁ ᛒᚨᛚᚨᚲᚻᚨᛞᛉᛖ 39905f5c31
fix word typo georgian (#3019) Vitruvius21 2022-05-24 15:29:54 +02:00
Miodec 7d5d2b7460 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-23 16:36:21 +02:00
Miodec 4690c8361f added russian 10k (AstraRus) 2022-05-23 16:36:00 +02:00
git push origin P 37a78b73e4
feat(lang): add code_julia language (#3000) razairl 2022-05-23 15:14:03 +02:00
Miodec 1bc8c395ed removed more dupes 2022-05-22 00:56:49 +02:00
Miodec 16c21b3814 removed duplicate words 2022-05-21 01:05:49 +02:00
Miodec 87145afffd Revert "removed all duplicate words"
This reverts commit e0f7120752.
2022-05-21 01:03:21 +02:00
Miodec e0f7120752 removed all duplicate words 2022-05-21 00:58:53 +02:00
Miodec cacaa44009 removed duplicate 2022-05-21 00:39:40 +02:00
Miodec 0a797c8a6d removed more duplicates 2022-05-21 00:39:26 +02:00
Miodec 290d2f7821 removed some duplicates from wordlists 2022-05-21 00:37:15 +02:00
digi e0c9f3cdd7
adds language validation check (#2995) tmuplayer33
* adds language-validation.js

* run prettier

* run prettier on gulpfile.js

* moves language-validation.js functionality into json-validation.js, rollback gulpfile.js

* improves duplicate detection algorithm, removes constraint

* use duplicate detection from @Bruception

* moves findDuplicates function out of loop, adds duplicatePercentageThreshold

* removes russian_10k as 90% of the words are duplicates

* use Math.round to prevent errors when duplicatePercentageThreshold is 0

* remove duplicates from code_bash.json

* remove duplicates from code_brainfck.json

* remove duplicates from code_html.json

* no longer create error when duplicates are found

* run prettier

* lowered threshold, added count log

Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-21 00:21:37 +02:00
Bruce Berrios 1384e9f81d
Add pretty check (#2990) bruception
* Add pretty check

* test

* test

* Add pretty check

* Add condition check

* Enforce style on code changes

* Update scripts

* Any src
2022-05-19 11:31:18 +02:00
Rick Haan 5d56c5303c
Remove duplicate words, add random new words (#2991) RickHaan 2022-05-19 11:28:11 +02:00
Ryan Sheppard c3785c6d91
removed mispelled word (#2994) 2022-05-18 14:08:45 -04:00
Ayce d3d1bad9cd
Added code php language (#2983) ayce45
* Create code_php.json

* Create code_php_1k.json

* Update code_php_1k.json

* Update _groups.json

* Update code_php.json
2022-05-17 16:37:48 +02:00
devrusty dc10abdb8c
Added the F# programming language (#2978) devrusty
* Update _list.json

* created code_fsharp.json

* added code_fsharp

* removed extra comma
2022-05-16 22:45:09 +02:00
fehlercode03 e3360b2c87
Added the brainfck programming language (#2963)fehlercode03
* Create code_brainfck.json

* Update _list.json

* Update _groups.json

* Added 200 code snippets
2022-05-15 13:10:58 +02:00
Miodec d4f45711f3 removed contraction 2022-05-14 20:39:23 +02:00
Michael Deutsch ba25f7872c
Add additional Hebrew word lists (#2970) MichaelDeutschCoding
Add Hebrew word lists with:
  - 1,000 words
  - 5,000 words
  - 10,000 words
2022-05-12 16:21:55 +02:00
Pablo 86993752d4
Added Perl language (#2966) pablos123
* Added Perl language

* Added Perl language

Co-authored-by: psaavedra <psaavedra@educativa.com>
2022-05-12 16:21:37 +02:00
Miodec 609ab83dbd removed place names 2022-05-11 12:12:57 +02:00
Miodec 526a343e12 removed word with punctution 2022-05-10 20:05:27 +02:00
Josh Moncrieff 89f160f664 add english_contractions word list (#2914) monners
Co-authored-by: monners <josh@joshmoncrieff.com>
2022-05-03 23:49:21 +02:00
Brook Feleke b3f3c447c1
Adds a new Languages (#2915) BrookFeleke
* Add quote by Bradely Whiteford

* Add Amharic to languages 😁
2022-05-02 12:54:03 +02:00
poldoms c7b59bc101
Update slovak_10k.json (#2917)
removed curse word
2022-05-02 12:52:57 +02:00
poldoms 2c64d60c13
Update slovak_10k.json (#2900) poldoms
removed: misspelled duplicates of correctly written words, words "hannah(not a Slovak name), pobox(company name), nasa(either a company name or a duplicate)" and  a word "odomňa(it should be spelled as two words "odo mňa")" 
fixed: grammatical errors
2022-04-29 23:14:20 +02:00
poldoms e17f85aa56
Update slovak.json (#2899) poldoms
grammatical error
2022-04-29 23:05:29 +02:00
Timothy Moores f8f37b2448
add scala (#2897) 1rre
* add scala

* add a couple more words
2022-04-28 16:12:09 +02:00
Matt 933e4c7e83
Fixes Javascript typo (#2884) (#2885) 2022-04-27 14:16:52 +02:00
MrEgggga a55249925e
improved toki pono or whatever it is (#2861) MrEgggga
* toki pona ku languages

* underscore
2022-04-23 19:47:21 +02:00