Commit graph

389 commits

Author SHA1 Message Date
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
Jack 66074c8314
Inventory badge selection (#3210) bruception miodec
* Fixed badges not showing on all time leaderboards

* updated types to support inventory and single badge id

* Add badge selection

* Fix bug

* Remove unnecessary prefill

* using new inventory system

* added no balloon option

* updated text color

* not showing balloon

* updated styling for showing badges selection

* Add badge selection

Co-authored-by: Bruception <bberr022@fiu.edu>
2022-06-23 18:00:53 +02:00
Miodec e3ab059e70 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 16:21:26 +02:00
Miodec 5d18c68fd9 quote reports 2022-06-23 16:21:18 +02:00
Jack d26d7d0555
Converted badges to inventory (#3209)
* added inventory type

* new badges

* fixed badges not showing on all time leaderboards

* sending the selected badge id to daily lb

* returning inventory in profiles

* updated types to support inventory and single badge id

* fixed all badges not showing on profile page

* removed await

* smol refactor
2022-06-23 15:47:15 +02:00
Miodec 005eb4cc68 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-23 00:34:36 +02:00
Miodec d8a246c8f0 showing all badges on profile 2022-06-23 00:33:12 +02:00
Cody Bloemhard cce4cd34e6
Fix type in language code_haskell (#3203) codybloemhard
Fix `loopup` to `lookup`.
2022-06-23 00:21:16 +02:00
Miodec 5fd131480d Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-22 15:13:40 +02:00
Miodec de37ca7cbe added note about avatars to the edit profile popup 2022-06-22 15:12:50 +02:00
R0merol 50b26b0934
Fixed punctuation and quote length (#3193) R0merol
* Fixed punctuation (id: 163)

* Fixed quote length (id: 163)
2022-06-22 12:13:14 +02:00
Miodec 9d2dfa9754 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-22 12:12:24 +02:00
Miodec 1545ecc1b2 disabled autorole 2022-06-22 12:12:18 +02:00
aria 5b4dfce534
Added 8 more English quotes (#3166) holyhearted
* 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

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-22 12:08:11 +02:00
smunky 3e614d3984
replaced edit with save (#3191) 2022-06-21 19:25:28 -04:00
Miodec 4ef5cda7ca fix quote lengths 2022-06-21 20:59:17 +02:00
Miodec b82e6dc0bb addressed user quote reports 2022-06-21 18:43:40 +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
smunky df2a9e7f01
fixed typos (#3160) devkennyy
* fixed punctuation

* fixed last updated date

* replaced un-permitted with prohibited

* fixed last updated date
2022-06-20 13:45:20 +02:00
Miodec 6e34ebf5c1 fixed quote 2022-06-20 13:38:15 +02:00
smunky 5180dc64f5
added missing challenge (#3159) devkennyy
* added look at me i am the developer now challenge

* fixed accuracy challenge

* added message for accuracy challenges

* moved i am the developer now challenge with other script challenges

* added script for challenge
2022-06-20 13:04:46 +02:00
Miodec 9923a0e6e6 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-20 13:02:13 +02:00
Miodec 86082d9eba updated contributors 2022-06-20 13:00:53 +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
Miodec d527b2359e Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-20 12:35:13 +02:00
aria 709d141aa6
more english quotes (#3153)
* 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

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-19 11:12:07 -04:00
Miodec 27d2dd3746 updated supporter name 2022-06-19 02:21:10 +02:00
Miodec 50581d317b Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-18 15:26:15 +02:00
R0merol dd886223ba
Add 40 more Indonesian quotes, 171-210 (#3146)
* Added 20 more quotes (151-170)

* Fixed quote length (id: 155, 157)

* Add 40 more Indonesian quotes, 171-210

* Fixed "groups" formatting back to original

Co-authored-by: Evan <64989416+Ferotiq@users.noreply.github.com>
2022-06-18 09:21:13 -04:00
Miodec 58654fecb6 added contributor 2022-06-18 00:34:11 +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
Miodec b5397d9d56 added supporters 2022-06-17 17:48:39 +02:00