Commit graph

1383 commits

Author SHA1 Message Date
Miodec 3f1a369d2f set time to 60s 2022-07-14 18:48:17 +02:00
Miodec be7ccd6a54 Revert "initialising at the beginning"
This reverts commit 67ef6085ce.
2022-07-14 15:51:42 +02:00
Miodec 814cf150d2 removed bottom margin 2022-07-14 15:38:19 +02:00
Miodec 67ef6085ce initialising at the beginning 2022-07-14 15:19:13 +02:00
Miodec b38b0594ef removed comment 2022-07-14 15:18:44 +02:00
Miodec 3457324f39 removed console logs 2022-07-14 11:33:11 +02:00
Miodec a642ee474a loading ads after the page has changed 2022-07-12 23:37:44 +02:00
Miodec ab33865088 video ad callbacks 2022-07-12 22:45:35 +02:00
Miodec c37c43526c remove unused param 2022-07-12 13:30:21 +02:00
Miodec b9973f1277 ads 2022-07-12 13:01:26 +02:00
Miodec 2393451985 using arabic-indic numbers
closes #3334
2022-07-11 22:44:30 +02:00
Miodec 36cdebfa60 added kurdish punctuation
part of #3334
2022-07-11 22:37:46 +02:00
Miodec f630091152 moved check to a function 2022-07-11 22:29:35 +02:00
Miodec e1cc4716b8 reverted part of #3318 to fix #3336 and #3335 2022-07-11 22:20:28 +02:00
Oscar MacKenzie fbfb164ac4
Rewrite input system to use composition events (#3318) omackenzie
* Rewrite input system to use composition events

* updating word ui if needed

* allowing ^ once more

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-07-11 15:03:55 +02:00
Miodec 4b863d6502 repeating repeated test if restarted during the test
closes #3331
2022-07-11 14:11:07 +02:00
Miodec 06b17cb09e opening profile links in a new tab
closes #3325
2022-07-11 14:05:59 +02:00
Paul Hoerenz 2b8e203e0a
Update German Quotes (#3329) xp4u1
* Fix typos

* Add two new quotes
2022-07-11 13:39:41 +02:00
Jan Reggie Dela Cruz 749c181f93
add more Filipino quotes; changed Rizal quote to falsely attributed (#3321) janreggie
* add more Filipino quotes; changed first quote to falsely attributed instead of disputed

* update filipino quote len

* update dash to be only one hyphen
2022-07-11 13:36:23 +02:00
Miodec c0e0bc2f13 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-07-10 18:44:31 +02:00
lestherll 706a49ba2b
Add code julia quotes (#3319) lestherll
* Add code julia quotes

* Fix quote lengths fof code_julia
2022-07-09 14:19:12 +02:00
Jan Reggie Dela Cruz 993c5ef3d0
spanish quotes: replaced en dash with - (#3322)
* spanish quotes: changed en dash U+2013 (untypable on most keyboards) to two hyphens

* update spanish quote len

* update dash to be only one hyphen
2022-07-09 14:16:15 +02:00
Aaron c1c7b97127
Update Links to Use New Org Name (#3327)
* Renamed command line setting timer-progress bar

* Use new org name
2022-07-09 14:14:42 +02:00
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
Miodec 47df65807b fixed funbox styles persisting on pages other than test 2022-07-09 00:06:50 +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 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
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
Miodec 8f5f607da6 removed notification 2022-07-03 00:46:09 +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
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 b7d5c7709a removed adtest from config 2022-06-29 12:05:10 +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 bda7788bb2 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-28 13:26:19 +02:00
Miodec 8192e13deb moved psa to ready instead of account controller
fixes #3257
2022-06-28 13:25:41 +02:00
aNOOBis 8ec8bc7231
custom themes command line fix (#3255)
Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2022-06-28 13:16:29 +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 35e25b5a64 removing trailing slashes 2022-06-27 15:24:09 +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 c2fa14a3ea removed unnecessary const
fixed #3247
2022-06-27 12:57:01 +02:00
Miodec 99ff416cba fixed paths causing issues when test restarted while on a different page
closes #3241
2022-06-27 12:40:16 +02:00
Miodec fb539ddd19 checking if snapshot exists
updating random theme list if its empty
closes #3248
2022-06-27 12:30:10 +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
smunky ffa1f6f7de
remove fullstops from alerts (#3245) devkennyy
* test

* Revert "test"

This reverts commit c1d05d50b1.

* remove fullstops

* remove fullstops

* more punctuation
2022-06-27 12:00:04 +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
aNOOBis b74215a683
custom theme edit fix (#3236) 2022-06-26 07:55:26 -05:00
smunky 4092d45887
fix random characters showing on screenshot (#3238) devkennyy
* hide nocss and noscript elements when taking screenshot

* remove hidden class from elements
2022-06-26 14:24:13 +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
aNOOBis 9a12e3c674
View account page fix (#3234) 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.

* themes popup small fix

* using &&

* some typos fixed

* view account page fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-26 12:25:36 +02:00
Miodec 4173298f5f not splicing keydata
also splicing burst and raw history
2022-06-26 12:13:37 +02:00
Miodec c540ac2def Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-26 00:38:13 +02:00
Miodec 50ca65a135 fixed "go to page" commands not working 2022-06-26 00:38:07 +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
smunky 872460eade
replaced theme generation method (#3195) rizwanmustafa devkennyy miodec
* replaced theme generation method

* Relocate variable declaration

* storing theme list when changing rando themes setting

* resetting index to 0 when changing list

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 20:45:29 +02:00
Miodec 6fe1a31eb1 added param to disable theme applying when previewing 2022-06-25 20:10:44 +02:00
Bruce Berrios 349a032e54
Add content creator badge (#3225)
* Add content creator badge

* Change check -> video
2022-06-25 11:51:21 -04:00
Miodec 1575595d0d fixed missing loading icon
closes #3228
2022-06-25 16:48:48 +02:00
Miodec 3349181dd7 forcing update 2022-06-25 16:42:33 +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
smunky 60247ff15e
fix popup style inconsistencies (#3227) devkennyy miodec
* fix popup style inconsistencies

* missing style for preset edit popup

* reduced gap in contact popup

* updated style for support popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-25 15:37:18 +02:00
Miodec 4f5db9deec removed from dev config 2022-06-25 15:27:02 +02:00
Miodec e944a3684e changing public path in base config instead of just dev 2022-06-25 15:26:41 +02:00
Miodec 31cfeef2a9 removed leaderboards route for now 2022-06-25 12:31:31 +02:00
Miodec 390bb89af0 fixed click event not firing 2022-06-25 12:23:19 +02:00
Rizwan Mustafa 0330f831d4
Fix circular dep between leaderboard.ts and route-controller.ts (#3226)
* Fix circular dep

* Make query more specific
2022-06-25 12:15:32 +02:00
Miodec ef37b580c3 showing loader if theme loading takes more than 100ms
fallback append to head if elements gets lost due to fast theme changes/previews
2022-06-25 01:17:01 +02:00
Miodec 253ae8848b moving auto switch theme loading into setThemes function to fix initial page load 2022-06-25 01:07:29 +02:00
Miodec 27b9c441b5 fixed double theme change 2022-06-25 01:01:35 +02:00
Miodec 7c82bf6e82 removed console log 2022-06-25 01:01:20 +02:00
Miodec 5674d493bd keeping previous theme applied until new one is fully loaded
closes #3222
2022-06-25 00:56:48 +02:00
Miodec c8c4f28695 removed unnecessary click event listener 2022-06-24 23:03:06 +02:00
Miodec 277604d26b fixed test config animation incorrect length 2022-06-24 22:50:54 +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
Miodec 7782b11b12 flooring instead of rounding 2022-06-24 20:22:13 +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 1c8f037a04 updated badge colors 2022-06-23 16:22:18 +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
Bruce Berrios 8144ea9077
Refactor some code (#3205) 2022-06-23 02:01:48 +02:00
Bruce Berrios 4a0db5c14e
Fix bug (#3204) 2022-06-23 01:54:13 +02:00
Miodec b2cab171b8 showing website name instead of full url 2022-06-23 01:36:22 +02:00
Miodec 38dc115e60 fixed name not scaling on the profile page
closes #3196
2022-06-23 01:16:54 +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
Miodec adf02e7c90 added monkey supporter 2022-06-23 00:31:46 +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 26a9ff5930 fixed closing div in the wrong spot 2022-06-23 00:13:17 +02:00
smunky 79d1071b3e
added bug hunter and white hat badges (#3202)
* added bug hunter and white hat badges

* corrected 'in the code' to 'on the site'

* edited descriptions

* changed white hat icon

* changed spotted to reported
2022-06-23 00:07:28 +02:00
Miodec aad79660af allowing html 2022-06-22 23:47:24 +02:00
Miodec 3274bf8bbb new line 2022-06-22 21:03:22 +02:00
Miodec 3ab1e4d796 made the psa fail message less techy 2022-06-22 20:53:45 +02:00
Miodec bf1664e49e added notext option to get badge html 2022-06-22 17:51:26 +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
Bruce Berrios daa7529f3d
Webpack configs housekeeping (#3179) bruception 2022-06-22 12:11:14 +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
Bruce Berrios 4fa24c0bc3
Fix rank scrolling (#3187)
* Fix rank scrolling

* Add await
2022-06-21 22:44:54 +02:00
Bruce Berrios af34ccaa56
Add ñ as an accent (#3188) 2022-06-21 22:36:01 +02:00
Bruce Berrios 7f26f33445
Fix consistency bug (#3189) 2022-06-21 22:35:43 +02:00
Miodec e196f3f6be fixed no column definition 2022-06-21 21:47:21 +02:00
Miodec 801b6763b0 width 100% 2022-06-21 21:03:43 +02:00
Miodec 4ef5cda7ca fix quote lengths 2022-06-21 20:59:17 +02:00
Bruce Berrios ba111e6764
Fix leaderboard avatars (#3181) Bruception, zachstence
* Fix leaderboard avatars

* Allow HTML

* Use function notation

* Use utility

* Fix

* larger image

* not that large

* requesting png

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-21 20:50:33 +02:00
Miodec b82e6dc0bb addressed user quote reports 2022-06-21 18:43:40 +02:00
Miodec 2aed8d4603 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-21 18:04:48 +02:00
Miodec ea004365c9 typo 2022-06-21 18:04:42 +02:00
Bruce Berrios 11740a5399
Fix webpack config (#3178) 2022-06-21 16:36:09 +02:00
Miodec 4eec1db25f changed banner message when using localhost 2022-06-21 12:09:23 +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 5bf7caf3df
fix webpack reloading twice (#3176) devkennyy 2022-06-21 11:56:50 +02:00
Jack ae300bfa94
Disabled time typing requirement on dev (#3169)
* checking if mode is dev when adding to daily lb

* disabled time typing check on dev when recalculating leaderboards

* not replacing footer on localhost

* using ternary

* modified logic
2022-06-20 15:06:35 +02:00
Bruce Berrios 6668575cea
Refactor webpack configs (#3170)
* Refactor webpack configs

* Remove unused import
2022-06-20 15:06:22 +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
smunky 3ef606ffbc
create supporter and sugar daddy badges (#3156) devkennyy
* create supporter and sugar daddy badges

* modify descriptions and colors

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-20 12:58:31 +02:00
karimk123 a09849752d
Adjusted Caps warning position (#3148) karimk123 miodec
* Adjusted Caps warning position

the caps warning div was blocking the test modes text so i moved it up a little.

* animating based on the focus state instead to always stay at the correct distance from the content below

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-20 12:56:00 +02:00
Rizwan Mustafa a6f8f54cbf
Fix escapeHTML not working properly and create allowHTML parameter for Notifications. (#3168) rizwanmustafa
* Modify config to allow hot reload on html

* Now inject monkeytype.js bundle only in development mode

* Remove asset injunction in production

* Modify method of escapeHTML

* add parameter for allowing html

* Allow html for the banner

* remove debug log
2022-06-20 12:48:10 +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
Rizwan Mustafa 629c15941b
Fix webpack hot reload not working on html file changes. (#3167) rizwanmustafa devkennyy
* Modify config to allow hot reload on html

* Now inject monkeytype.js bundle only in development mode

* Remove asset injunction in production
2022-06-20 12:43:27 +02:00
Miodec d527b2359e Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-20 12:35:13 +02:00
Zach Stence f2e8225f59
fix: hide account icon when using discord avatar (#3162)
* fix: hide account icon when using discord avatar

* fix: only use discord avatar if it loads successfully

* fix: set usingAvatar on successful avatar load only

* chore: use arrow function
2022-06-19 20:55:28 -04:00
smunky bc58cbf613
added psa request failed notification (#3155)
* added psa request failed notification

* fixed prettier issues
2022-06-19 19:19:08 -04: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
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
kenny bb31d75c4b
removed swapEscAndTab, replaced quickTab with quickRestart (#3139) devkennyy
* Add leaderboard language selection (#3124) bruception

* Adds leaderboard language selection

* Update mesage

* fixed disabled select2 styling

* changed button positioning

* fixed media queries

* Add languages

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

* remove references of swapEscToTab

* Custom Filters [FrontEnd] (#3106) nocommentcode

* Add Create and Delete functions for Filter Presets to `Users` ape endpoint
- deleteFilterPreset
- addFilterPreset

* Added name and _id fields to the `ResultFilter` interface in the front end

This matches the `ResultFilter` interface in the backend
Added the new fields for the default filter
Added checks in result-filter.ts to not update the ui based on these fields

* Added new-filter-preset-popup

This popup is displayed when creating a new filter preset
It allows the user to select a name.

* Added Filter Preset Buttons in account page html

- Added the Filter Preset button
- Added the filter preset region
- Added the new and delete buttons

* Added Filter Presets to DB Snapshot

* Implemented Custom Fileter Creation, Selection and Deletion flow

- Users can now create a custom filter based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any custom filter and the current filter will be updated
- User can delete a custom filter while it is selected

* Implemented Filter Preset Creation, Selection and Deletion flow

- Users can now create a filter preset based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any filter preset and the current filter will be updated
- User can delete a filter preset while it is selected

* adjusted styling

* removed margin

* removed icon

* added media query

* popup wording

* automatically replacing _ when displaying and creating preset

* using loader and notifications

* fixed bork

* fixed sometimes not being able to delete preset

* make preset popup look like tags popup

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

* added pace caret: last closes #3113

* Add rate limits to forgot password (#3129) mehdidev

* Added New Quotes

* Add More Quotes

* Add rate limit to forgot password

* Use Prettier

* Change canCall to let so that lint doesn't flag me for the 69th time

* change forgotPassword() to async & remove console.log's

* If this doesn't fix everything idk what to do

* reduced nesting, using function to create error message

* updated notification

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

* added: code_opencl language (#3132) codybloemhard

* added: code_opencl language;

* fixed: duplicate word in code_opencl;

* fixed: another duplicate in code_opencl;

* Include language in notification (#3134)

* Add 20 more Indonesian quotes, 151-170 (#3136) R0merol

* Added 20 more quotes (151-170)

* Fixed quote length (id: 155, 157)

* using completed events language instead of current config

* add hedge theme (#3137) devkennyy

* create hedge theme

* update _list.json

* fixed sub alt color issues

* update colors

* updated colors

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

* replaced quickTab with quickRestart

* updated keytips and statements

* update keytips

* moved keytip update to ui module

* not opening command line if quick restart is esc

* calling update keytips when changing quick restart

* handling restarting with quick restart escape

* updated settings page to reflect new quick restart setting

* swapping legacy values

* removed line which caused circular dependencies

* reordered files to fix event not firing

* handling closing with escape before opening

* not doing anything if a modal is visible

Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Malo Hamon <hamon.malo@gmail.com>
Co-authored-by: Mehdi Hussain <mehdi@mehdi.us>
Co-authored-by: Cody Bloemhard <cblmhrd@live.nl>
Co-authored-by: R0merol <farisfrontiers@gmail.com>
2022-06-16 23:57:34 +02:00
Miodec 44d4f81afd Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-16 19:00:23 +02:00
Miodec 3fe1df4370 added function to escapeHTML 2022-06-16 19:00:16 +02:00
aria e6712e98e3
Added a bunch of quotes (#3103)
* 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

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-16 12:41:00 -04:00
Gabriel Fleury 1cf8af1e8c
Added more portuguese quotes (#3140) 2022-06-16 12:39:31 -04:00
kenny cc0f991d47
add hedge theme (#3137) devkennyy
* create hedge theme

* update _list.json

* fixed sub alt color issues

* update colors

* updated colors

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-16 11:37:31 +02:00
Miodec 44d996fe6c using completed events language instead of current config 2022-06-16 11:12:04 +02:00
R0merol 64047a0057
Add 20 more Indonesian quotes, 151-170 (#3136) R0merol
* Added 20 more quotes (151-170)

* Fixed quote length (id: 155, 157)
2022-06-16 11:10:05 +02:00
Bruce Berrios c8e3c2fbbc
Include language in notification (#3134) 2022-06-16 11:09:35 +02:00
Miodec ece2aa4273 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-15 19:35:11 +02:00
Miodec 3da4eb45c0 added pace caret: last closes #3113 2022-06-15 19:35:01 +02: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
Mehdi Hussain c3296929da
Add rate limits to forgot password (#3129) mehdidev
* Added New Quotes

* Add More Quotes

* Add rate limit to forgot password

* Use Prettier

* Change canCall to let so that lint doesn't flag me for the 69th time

* change forgotPassword() to async & remove console.log's

* If this doesn't fix everything idk what to do

* reduced nesting, using function to create error message

* updated notification

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 15:19:03 +02:00
Malo Hamon f02649ae9f
Custom Filters [FrontEnd] (#3106) nocommentcode
* Add Create and Delete functions for Filter Presets to `Users` ape endpoint
- deleteFilterPreset
- addFilterPreset

* Added name and _id fields to the `ResultFilter` interface in the front end

This matches the `ResultFilter` interface in the backend
Added the new fields for the default filter
Added checks in result-filter.ts to not update the ui based on these fields

* Added new-filter-preset-popup

This popup is displayed when creating a new filter preset
It allows the user to select a name.

* Added Filter Preset Buttons in account page html

- Added the Filter Preset button
- Added the filter preset region
- Added the new and delete buttons

* Added Filter Presets to DB Snapshot

* Implemented Custom Fileter Creation, Selection and Deletion flow

- Users can now create a custom filter based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any custom filter and the current filter will be updated
- User can delete a custom filter while it is selected

* Implemented Filter Preset Creation, Selection and Deletion flow

- Users can now create a filter preset based on the current settings
- Users will be prompted to select a name for the filter
- User can click on any filter preset and the current filter will be updated
- User can delete a filter preset while it is selected

* adjusted styling

* removed margin

* removed icon

* added media query

* popup wording

* automatically replacing _ when displaying and creating preset

* using loader and notifications

* fixed bork

* fixed sometimes not being able to delete preset

* make preset popup look like tags popup

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 14:47:52 +02:00
Miodec 8e96570b7e Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-15 01:46:25 +02:00
Miodec b9fe94db1b removed the punctuation check for custom mode
closes #3127
2022-06-15 01:46:19 +02:00
Bruce Berrios 0f7a25422a
Add leaderboard language selection (#3124) bruception
* Adds leaderboard language selection

* Update mesage

* fixed disabled select2 styling

* changed button positioning

* fixed media queries

* Add languages

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-15 01:30:46 +02:00
Miodec 56c9c91fff z index on the configure api 2022-06-14 22:24:52 +02:00
Miodec ad207525cb removed the desaturation effect due to popular demand 2022-06-14 22:08:58 +02:00
SarkarKurdish 7ef0da92d5
New kurdish words (#3126) 2022-06-14 16:27:01 +02:00
Ayush 2780cc46d5
Added additional Nepali quotes (#3121) 2022-06-13 13:05:51 -04: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
kenny 20599bd971
add turkish quotes, 61-69 (#3112)
* added quotes 61-69

* added missing closing bracket

* removed misplaced bracket

* fixed quote lengths
2022-06-13 07:52:27 -04:00
Ihor Kos 9cca6b585b
Fixed mistake in ukrainian word (#3117) inununit 2022-06-13 12:26:23 +02:00
Bruce Berrios 37861447b9
Fix yesterday toggle button (#3107) 2022-06-12 18:19:37 +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
Jitesh Kumar Sahoo 9e0017bd43
Added one english quote (#3109)
* added one english quote

* added one english quote

* updated the quote id 6095

* Added english quote id 6096
2022-06-11 22:11:41 -04:00
Jitesh Kumar Sahoo 111bf387e3
added one english quote (#3094)
* added one english quote

* added one english quote

* updated the quote id 6095
2022-06-10 23:31:26 -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
FEZfan 4866dcf2bf
Fix typos (#3098) 2022-06-09 21:17:43 -05:00
Miodec fc012c459b resetting scroll position when updating leaderboard. should fix Fix leaderboard scrolling #3083 2022-06-09 21:18:10 +02:00
Miodec f495fb3f36 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-09 21:09:15 +02:00
Miodec 2add689859 showing placeholder underneath incase image is not found 2022-06-09 21:09:09 +02:00
Bruce Berrios 603455d6eb
Add logic to handle fetching previous daily leaderboards (#3087)
* Add logic to handle fetching previous daily leaderboards

* Add basic select controls for time range

* Fix issue

* updated styling

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-09 21:04:10 +02:00
Bruce Berrios 071043f08e
Refactor avatar logic and badges (#3086) 2022-06-09 20:25:55 +02:00
aNOOBis df3980d745
small fix for themes popup (#3085) 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.

* themes popup small fix

* using &&

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-06-09 20:25:21 +02:00
Miodec c7e33dac68 updated badge 2022-06-08 12:33:49 +02:00
Miodec 1bc720585c faking leaderboard avatar if its not yet stored in the database 2022-06-08 03:04:24 +02:00
Miodec af3e3274b0 added badge controller
added bades to leaderboards
updated media queries to accomodate badges
2022-06-08 02:02:14 +02:00
Miodec 929fb6d9fb added rgb animation 2022-06-08 01:52:26 +02:00
Miodec 26d359a168 added avatars to leaderboards 2022-06-07 23:38:46 +02:00
Bruce Berrios c96956c9f1
Use maximum tf norm (#3077) Bruception 2022-06-07 23:14:21 +02:00
Bruce Berrios b25ac99527
Add leaderboard avatars and badges (#3069) bruception
* Add leaderboard avatars and badges

* Add discord id

* badges -> badgeIds
2022-06-07 23:10:58 +02: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
cjjj 9de5fce63a
added "tron_orange" theme (#3071) kevinwcj2004 2022-06-07 14:13:02 +02:00
Bruce Berrios f2998b1d28
Add server configuration panel (#3070) bruception
* Add server configuration panel

* Remove unnecessaary check

* Remove break

* styling changes
showing when configuration was saved

* changing color based on response

* Remove comment

* Changes

* Add support for arrays

* Arbitrary nesting

* Add array item controls

* added button to quickly open the configuration panel

* removed excessive padding

* text inputs same height and style as checkboxes

* monkey stylng

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-07 14:06:15 +02:00
Miodec 5ed1f166dd added boon font 2022-06-07 13:17:00 +02:00
nmcassa 1d4813e9e1
Added Quote (#3076) 2022-06-06 21:21:00 -04:00
Max Harmony 57833fdd6f
update security.txt expiry date (#3074) 2022-06-06 16:27:37 -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
Miodec f202f5c5d4 updating as soon as response is received 2022-06-03 20:06:06 +02:00
Miodec 115e434ce9 keeping default icon under the image 2022-06-03 19:53:23 +02:00
Bruce Berrios 4dc6f1e791
Update discord avatar (#3068)
* Update avatar

* Remove linking notification

* fixed spacing

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-06-03 19:42:00 +02:00
Miodec 398d4eb63c showing discord avatar in menu if avatar hash is saved in the db 2022-06-03 17:46:04 +02:00
Bruce Berrios 90b5d6bb8b
Add get avatar endpoint (#3060) bruception
* Add get avatar endpoint

* Change API

* Fix response message

* Fix udpate
2022-06-03 16:53:00 +02:00
Miodec 3726ec08e3 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-03 15:47:31 +02:00
Miodec 92f204e412 always showing edge warning since the check is not correct 2022-06-03 15:47:25 +02:00
Bruce Berrios b8b43e1a4f
Re-write ape (#3064) bruception
* Re-write ape

* apeClient -> httpClient
2022-06-03 14:31:51 +02:00
Miodec e0cb73cc10 using İ instead of I in turkish punctuation. closes #3062 2022-06-03 14:11:46 +02:00
Miodec 7aef1863ef Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-06-03 14:09:59 +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
Miodec 2e83d9b4a6 grammar 2022-06-03 11:58:03 +02:00
Bruce Berrios defa9a3f55
Save discord avatar uri on link (#3059)
* Initial avatars

* Only store hash

* avatarHash -> discordAvatar
2022-06-01 15:36:22 -04:00
Rizwan Mustafa 4e0a545f12
Create docker-compose.yaml file for frontend (#3058)
* Create docker-compose.yaml file for frontend

* Move docker-compose.yaml file

* change name

* Add docker instructions

* Add docker installation link
2022-06-01 14:04:00 -04:00
Bruce Berrios 0e3acfce8e
Change from port 5000 to 3000 for dev frontend serve (#3055) 2022-06-01 18:43:13 +02:00
wizpizz 62898856e6
Changed dark magic girl caret color for visibility issues (#3050) wizpizz 2022-06-01 17:18:37 +02:00
Shibin Thomas 777c4a5975
Added more english quotes (#3048) itsmeshibintmz
* added english quote

* added quote

* added quote

* added quotes

* add quotes

* quotes

* replaced single quotes

* fix quote length

* fix quote length

* replace missed single quote

* add more quotes

* Update english.json

* added more quotes

* added quote

* added quote

* add more quotes

* added more quotes
2022-06-01 14:33:40 +02:00
Miodec e2b40a3f51 added bit of padding to avoid lines being cut off 2022-06-01 14:15:27 +02:00
Miodec 385f234828 setting instead of pushing. closes #3053 2022-06-01 14:08:08 +02:00
Miodec 3644f9996e checking if current langauge is the same as random quote language
fixes #3054
2022-06-01 13:41:00 +02:00
Shibin Thomas b9c1f1219c
added english quote (#3046) 2022-05-30 18:18:37 +02:00
George The Bot a2000deb3e
Added quote to english.json (#3047)
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 18:16:14 +02:00
Miodec dc96308f94 fixed last result not begin saved when using google sign in. closes #3040 2022-05-30 18:10:01 +02:00