Commit graph

1383 commits

Author SHA1 Message Date
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
Miodec 2263c5d069 regenerating word if it contains punctutaion but punctuation is disabled 2022-05-30 18:00:26 +02:00
Shibin Thomas e82dbff2b1
Added more malayalam quotes (#3045) itsmeshibintmz
* add more quotes

* unique id

* removed new line tag

* add more quotes

* add more quotes

* add 1 more quote

* remove new line tag

* add quote

* add more quotes

* quotes with length>60

replaced quotes with length greater than 60

* added malayalam quotes

created malayalam language quotes file and added some quotes.

* Revert "added malayalam quotes"

This reverts commit a16de20e8e.

* added Malayalam quotes

created Malayalam quotes file and added some quotes.

* added malayalam quote

* started malayalam

* added quote

* length fix

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 17:55:23 +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
wizpizz 7deb789224
Added quotes from Hamilton (#3038)
* Added quotes from Hamilton

* Fixed lengths and non-ASCII chars

* Removed inappropriate quotes and edited ids

* lengths

* length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 17:52:31 +02:00
Miodec 7104ed1f2d quote lengths 2022-05-30 16:52:15 +02:00
Miodec 9b1008581c fixed quotes, removed unapproriate quotes, short quotes 2022-05-30 16:52:00 +02:00
Miodec 05373649e6 fix quote lengths 2022-05-30 15:59:03 +02:00
Shibin Thomas 87591ff830
Added more english quotes & added malayalam quotes (#3021) itsmeshibintmz
* add more quotes

* unique id

* removed new line tag

* add more quotes

* add more quotes

* add 1 more quote

* remove new line tag

* add quote

* add more quotes

* quotes with length>60

replaced quotes with length greater than 60

* added malayalam quotes

created malayalam language quotes file and added some quotes.

* Revert "added malayalam quotes"

This reverts commit a16de20e8e.

* added Malayalam quotes

created Malayalam quotes file and added some quotes.

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-30 15:42:40 +02:00
George The Bot 3e0b437034
Added quote to english.json (#3042) 2022-05-30 15:38:46 +02:00
jaguar3217 34ca492b1b
Fix punctuation and spelling mistakes on Morshu's quote. (#3039) jaguar3217
* Fix punctuation and spelling mistakes on Morshu's quote.

* Fix length error.
2022-05-30 15:34:29 +02:00
Miodec 60e2226cc9 added popup to remove google auth 2022-05-29 14:34:45 +02:00
Miodec 8f28a9c04b removed function to remove google auth through the console 2022-05-29 14:34:28 +02:00
Miodec bb5886f3a7 prefering password auth if its enabled 2022-05-29 14:28:29 +02:00
Miodec ece7737105 typos 2022-05-29 14:27:49 +02:00
Miodec b0343adfde fix quote lengths 2022-05-28 17:14:55 +02:00
Miodec e1674524dc quote reports 2022-05-28 17:10:28 +02:00
Bruce Berrios 0ef52ed9da
Add daily leaderboards (#3023) bruception
* Setup daily leaderboards backend (#2987) bruception

* Setup daily leaderboards backend

* Add enabled checks

* Consistent naming

* Add initial unit tests

* Use more flexible daily leaderboard rule logic

* Fix seed rule

* Add LRU Cache + Rank Calculation

* Use native functions

* Optional daily leaderboard rank

* Proper status code for invalid lb mode

* Add result criteria check

* Make daily leaderboard cache size configurable

* Add Ape endpoint for daily leaderboard (#2997)

* support for switching to viewing daily lbs

* test

* buttons

* only checking daily if user has more than 2 hours typed

* updated structure

* setting rank if its undefined

* only when daily

* storing uid

* fixed media queries

* Daily leaderboards pagination (#3006)

* Pagination

* Remove with scores

* Add daily leaderboard rank (#3014) Bruception

* Add daily leaderboard rank

* Remove unused import

* Use object instead

* Add client logic

* Add limit checks

* Announce top daily leaderboard results (#3017)

* Add rank in daily leaderboard results (#3022)

* not showing lb memory and top % on daily

* Fix rank pagination

* Actual fix

* showing new rank

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-26 16:30:11 +02:00
Evan 66c912e817
use interfaces instead of types (#3002) ferotiq
* use interfaces instead of types

* Update custom-text.ts
2022-05-26 12:19:01 +02:00
Miodec b05535a381 fixed cookie popup blocking extensions causing weird behaviour 2022-05-24 18:02:55 +02:00
Miodec 4166003f21 allowing tab navigation on login page 2022-05-24 16:08:51 +02:00
Miodec c12579eb4a removed wrapper 2022-05-24 16:06:16 +02:00
Miodec 784e49bfa8 automatically wrapping input in wrapper
changing padding when indicator is visible
2022-05-24 16:05:32 +02:00
Miodec 2fcea65d68 added functions to disable certain components instead of all at once 2022-05-24 16:03:54 +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
Rizwan Mustafa d7812d1b1b
Disable signup button by default and enable only on all correct checks (#3020) rizwanmustafa
* Disable signup button by default and enable only on all correct checks

* Refactor code

* remove debug log

* null when hidden

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-24 15:29:22 +02:00
Miodec 45722c0c5a goat 2022-05-24 00:29:36 +02:00
yingzhehe 30916937f6
Add more long english quotes (#3015) yingzhehe
* Update english.json

* add more long / thicc english quotes

* merge

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-23 23:53:41 +02:00
George The Bot c2e8a00aac
Added more quotes (#3016)
* Added quote to english.json

* Added quote to english.json

* Added quote to english.json
2022-05-23 23:50:24 +02:00
Rizwan Mustafa 9c5652113c
Add checks for password and email on signup and add field indicators for them (#3011) rizwanmustafa
* Add password length and strength check

* Change regex

* Add indicator

* Fix bug

* Revert autocomplete change

* Add indicator for verify password

* Add indicator for emails

* Reorder code

* Remove indicators when fields are empty

* Show notification when email invalid on signup
2022-05-23 23:48:09 +02:00
Rizwan Mustafa 44419bdb60
Fix bug (#3012) rizwanmustafa
* Fix bug

* base 10

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-23 22:10:04 +02:00
Miodec 48fffe1b99 created input indicator class to be used in many places 2022-05-23 22:04:06 +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 bde38219a5 fixed cookie popup not showing up 2022-05-23 13:37:45 +02:00
Miodec 1bc8c395ed removed more dupes 2022-05-22 00:56:49 +02:00
Miodec 145493be6d lowered threshold 2022-05-22 00:50:40 +02:00
Miodec 411ebab487 logic typo 2022-05-21 01:35:56 +02:00
Miodec 42d984981a 2 hours minimum to be placed on the lb 2022-05-21 01:32:09 +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 9811f3f1e5 lowered threshold, not comparing using rounded percentage 2022-05-21 01:02:37 +02:00
Miodec b621c2a988 word duplicates reject validation with error 2022-05-21 00:59:48 +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
Miodec 81703b900e fixed count 2022-05-21 00:36:43 +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
Max Kronenbürger f5412b6e8e
replace german ß accent with ss as it was used prior to the german spelling reform (#2992) tmuplayer33
Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
2022-05-19 11:29:03 +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
Miodec 6fff446c61 added more checks for cookie popup blocking extensions 2022-05-17 15:51:26 +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
Miodec e4c2b55907 fixed arrows not scrolling tape. closes #2986 2022-05-16 22:41:12 +02:00
Miodec 51ae5ef36a storing state in variable. closes #2985 2022-05-16 22:17:28 +02:00
Miodec 986de64359 preventing default when cookie poopup is visible 2022-05-16 22:15:19 +02:00
Miodec 71564c30f8 updated dino theme 2022-05-16 18:53:58 +02:00
aNOOBis 69810de9e0
Proper addition of something like tag display in alerts (#2982)
* 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

Co-authored-by: Miodec <bartnikjack@gmail.com>
Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
2022-05-16 18:49:33 +02:00
DINOTICK 57ce7554ef
Dinosaur Theme (#2981) dinotick-dev
* made dino.css

added dino.css lol

* Update _list.json

* Update dino.css

* Update _list.json
2022-05-16 18:47:06 +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 e2aff9d73b defaulting word and time to -1 2022-05-15 03:22:40 +02:00
Miodec d4f45711f3 removed contraction 2022-05-14 20:39:23 +02:00
Miodec 3491701f4e removed todo 2022-05-14 20:37:45 +02:00
Miodec 83cc9848e6 missing result visible check 2022-05-14 20:28:55 +02:00
Miodec 2a116763ed moved quote repeat logic to the test restart function 2022-05-14 20:24:38 +02:00
Miodec 96a624f9d4 rewrote that mess 2022-05-14 20:23:50 +02:00
Miodec 81a7b8a273 importing leaderboards 2022-05-14 20:23:24 +02:00
Miodec e504e107b5 checking if any fields are undefined 2022-05-14 18:55:59 +02:00
Miodec ac7a00495b fixed caret positioning 2022-05-14 16:03:04 +02:00
Miodec 465e9cec71 always scrolling tape when emulator is enabled
fixes #2974
2022-05-13 10:04:49 +02:00
Miodec 6dc291a4d4 console logs 2022-05-13 09:55:28 +02:00
Miodec d38f739c63 added protection 2022-05-13 09:54:52 +02:00
Miodec cc004de147 added function for users that got stuck with a google account that no longer exists 2022-05-13 09:53:12 +02:00
Miodec 699ddd8737 renamed field 2022-05-13 09:41:41 +02:00
George The Bot 8eb2149483
Added more quotes (#2975)
* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* Added quote to english.json

* fixed ids

* fixed length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-13 09:39:51 +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 aab9bd263b updated the contributors list 2022-05-12 16:21:02 +02:00
Miodec c1f32bf5a6 only showing notification when changing setting manually 2022-05-11 14:22:41 +02:00
Miodec 603dde93f8 disabled ads 2022-05-11 14:21:26 +02:00
Miodec 2e95c618a5 Merge remote-tracking branch 'origin/master' 2022-05-11 14:14:17 +02:00
CarlFabian 60486d2f8b
Added english quotes (#2960)
* Update english.json

Added quotes from Xavier: Renegade Angel and The Master and Margarita

* fixed spacing on length
2022-05-11 14:13:43 +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
Miodec 521a1f94eb removed das banner, added das to support links 2022-05-10 20:02:38 +02:00
Miodec 865dd3d734 typos 2022-05-08 20:45:00 +02:00
Miodec d1d64ffc03 showing banner and info if user needs to change name 2022-05-08 20:42:10 +02:00
Miodec d20122d9f0 catching issues with google sign in 2022-05-08 17:58:34 +02:00
Miodec 616d068e2f needsToUpdateName > needsToChangeName 2022-05-08 16:59:45 +02:00
Miodec 9e500172c3 reduced number of page changes to avoid double changes and hard to understand logic 2022-05-08 15:01:26 +02:00
Miodec 857a0e15c8 made page change async
added force param to force page change even if page is the same
setting page to account if page is login and user is signed in
2022-05-08 15:01:00 +02:00
Miodec 4926ec2949 added search override to url handlers 2022-05-08 14:57:47 +02:00
Miodec ef49c6dcc8 setting quote length to all if user signed out 2022-05-08 13:44:43 +02:00
Miodec 3fbfc83fd0 added needsToUpdateName to frontend 2022-05-08 13:29:10 +02:00
Bruce Berrios 9026893571
Add favorite quotes mode (#2945) bruception
* Add favorite quotes mode

* Remove unnecessary repeated fn call

* resetting quote length to -1 when no favorites found

* fixed quote favoriting broken

* starting hidden

* showing/hiding button depending on login state

* added command to commandline

* removed comment

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-08 11:58:58 +02:00
Miodec c9bfb00008 Merge branch 'master' of https://github.com/Miodec/monkeytype 2022-05-08 09:53:19 +02:00
Miodec 78914ab91c moved average update lower 2022-05-08 09:53:13 +02:00
aNOOBis 5395cdf9f3
Create preset addition in presets in command line (#2957) aNOOBisTheGod
* 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

Co-authored-by: Vasiliy Novozhilov <vasya@192.168.1.3>
Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-08 09:35:49 +02:00
sillyangel 8aae6a1d57
I made a new Theme called "peach blossom" (#2959) sillyangel 2022-05-08 09:28:01 +02:00
Miodec 9b9960628e updated message 2022-05-06 23:39:02 +02:00
Abdullah Omar 9b4a833d78
make the bg color a bit darker* 🕳 (#2936) abod1960 2022-05-06 18:56:53 +02:00
Dione 03917a17ec
Add quote from IT Crowd (#2949)
* Add quote from IT Crowd

* corrected quote

* updated length after correcting quote

* make id value number instead of string

* updated length to also be a number
2022-05-06 11:14:18 -04:00
Michael 2f603ed19d
Fix spelling in german.json (#2947) kemonprogrammer
* Fix spelling in german.json

* Fix length from previous fix

Co-authored-by: Jack <jack@monkeytype.com>
2022-05-06 13:32:40 +02:00
Miodec ee739eb45a reduced margin 2022-05-06 12:57:04 +02:00
aNOOBis f9e8f5cc39
Convert Spaces to Underscores for Preset and Tag Names (#2938) 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

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-06 12:42:00 +02:00
Miodec 89c9557475 definitely didnt forget about those 2022-05-05 23:35:40 +02:00
Miodec 9e2bd5a3fb fixed script names 2022-05-05 23:25:03 +02:00
Mark Stosberg 96fea28d7b
quotes:code_javascript: Add regex-heavy quote. (#2929) markstos
* quotes:code_javascript: Add regex-heavy quote.

This quote contains a long regex that will be a workout for typing
symbols and numbers.

Source code can be confirmed to available under an open source license
here: https://github.com/markstos/parse-coordinates/blob/master/index.js

* fixed length

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-05-05 23:23:32 +02:00
Miodec d2f6dcd92d fixed todo 2022-05-04 12:27:16 +02:00
Miodec 998120bea7 fixed type 2022-05-04 02:18:51 +02:00
Miodec 3adfabfe20 removed any 2022-05-04 02:18:37 +02:00
Miodec 0430c7f9c7 removed any 2022-05-04 02:14:09 +02:00
Miodec 8a3631170d removed any 2022-05-04 02:09:47 +02:00
Miodec 037fbf8e8f removed unnecessary any 2022-05-04 02:09:20 +02:00
Miodec eabb7d857e unnecessary todos 2022-05-04 01:41:37 +02:00
Miodec fdc362dc0d removed unnecessary type casting 2022-05-04 01:36:58 +02:00
Miodec a03ef7dd84 removed unnecessary type 2022-05-04 01:36:35 +02:00
Miodec bf941ab02b removed unnecessary code 2022-05-04 01:35:39 +02:00
Miodec 6804b76d46 removed todo 2022-05-04 01:34:56 +02:00
Miodec 68efde15b2 removed todo 2022-05-04 01:33:50 +02:00
Miodec 4fda636a08 added auto name check to the register page 2022-05-04 01:04:04 +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
Miodec 52ffeb3da9 rebuilding remplate on save
(still doesnt work with auto refersh)
2022-05-03 18:57:33 +02:00
aNOOBis 2faf097307
windows webpack error fix (#2923)
* index.html => main.html for windows users to avoid webpack error

* uploading example

Co-authored-by: Jack <jack@monkeytype.com>
2022-05-03 17:08:58 +02:00
Miodec 0415be5d2d fixed next random theme being available when random theme is off 2022-05-03 16:44:29 +02:00
Miodec bb1dd154b6 fixed file location 2022-05-03 16:34:17 +02:00
Miodec 9fa615bc8b test modes notice now wraps 2022-05-03 15:49:54 +02:00
Miodec 4e7ae53cbe fixed custom theme loading from url not working 2022-05-03 14:14:13 +02:00
Miodec 68a3724066 removed console logs 2022-05-03 14:11:51 +02:00
Miodec 7e07ba6e97 Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-05-03 14:10:38 +02:00
Miodec 9aab7e33c4 fixed caret showing up in the wrong position on refocus 2022-05-03 14:10:28 +02:00
aNOOBis d9dc65096c
load challenge bug fix (#2921) aNOOKisTheGod
Now, when user loads challenge, website navigate him to the test mode, so challenge loads properly now
2022-05-03 14:01:44 +02:00
huzqy 3fd285b728
Create husqy.css (#2905)
* Create husqy.css

new theme based on what people keep asking me for, named husqy so that people can easily search for it and i think it's a cool name for a theme :D

* Update _list.json
2022-05-03 14:00:06 +02:00
Miodec 96b5395a2e Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-05-03 13:59:45 +02:00
Miodec ccef26527e added dots to 58008 with punctuation 2022-05-03 13:59:37 +02:00
Miodec 6820dbcb03 removed leading zeros 2022-05-03 13:58:45 +02:00
Rizwan Mustafa 0dac742efb
Update some document links (#2919)
* Update some document links

* Updated repo link
2022-05-03 13:44:39 +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
Miodec 4db569fbff added colemak dh iso wide 2022-04-30 16:10:16 +02:00
Brook Feleke 4322bf5825
Add quote by Bradely Whiteford (#2913) brookfeleke 2022-04-30 11:39:10 +02:00
eisthefifthletter 2aeffd57b5
add new English quotes (#2906) eisthefifthletter
* modify quotes

* copyediting on quotes

* add English quotes

* ce

Co-authored-by: Miodec <bartnikjack@gmail.com>
2022-04-29 23:21:32 +02:00
Miodec 1cd40a23bc Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-04-29 23:20:00 +02:00
Zephyr Jones 469285a72d
Added James Baldwin quote! (#2904) zphyrj 2022-04-29 23:16:33 +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
Miodec 2b1bfcd0b7 fixed spacing 2022-04-29 22:58:02 +02:00
Miodec b953978ce5 showing error if leaderboards are updating
closes #2902
2022-04-29 17:09:27 +02:00
Miodec 7bcc953504 fixed footer dissapearing
closes #2901
2022-04-29 16:40:43 +02:00
Miodec c43c6f6bcd fixed cookie popup showing up on screenshots 2022-04-29 16:34:02 +02:00
Miodec 3d5a9c0b94 updated source 2022-04-28 22:17:26 +02:00
Miodec 18295d9bcd setting cookie popup to highest zindex 2022-04-28 16:15:44 +02:00
Timothy Moores f8f37b2448
add scala (#2897) 1rre
* add scala

* add a couple more words
2022-04-28 16:12:09 +02:00
DKparadox cd9a8c6cbf
Update romanian.json (#2896)
* Update romanian.json

* Update romanian.json

* Update romanian.json
2022-04-28 16:07:04 +02:00
Miodec a41bcad72d further stripping results of empty / zero values and then resetting them back to default when downloading results 2022-04-28 16:05:53 +02:00
Miodec 7446649780 only scrolling tape if on test screen 2022-04-28 15:58:33 +02:00
Miodec 15f97c339e setting default quote length if not defined 2022-04-28 15:58:20 +02:00
Miodec ebea7078bd removed quote length if result is not quote
closes #2898
2022-04-28 15:57:50 +02:00
Miodec 6c7930d18f centering key hints below letters
closes #2894
2022-04-28 12:02:09 +02:00
Miodec 537d25b7c0 Revert "updated when scolltape is called"
This reverts commit a3500adb97.
2022-04-27 21:33:31 +02:00
Miodec 9ebf824e7a added section about advertisers 2022-04-27 20:47:51 +02:00
Miodec 51a5febae5 focusing words after closing cookie popup
closes #2888
2022-04-27 20:38:29 +02:00
Miodec a3500adb97 updated when scolltape is called 2022-04-27 20:36:40 +02:00
Miodec fe0e8c0cd4 scrolling tape on resize 2022-04-27 20:36:16 +02:00
Miodec 2a518a8707 fixed circular dependency added in the previous commit 2022-04-27 20:33:21 +02:00
Miodec f60d194bc7 added result to stats object 2022-04-27 20:26:03 +02:00
MyBeansAreBaked 35f63c3973
Defaults analytics to be unchecked (#2891)
To conform with GDPR, tracking MUST be opt-in, and disabled by default.
2022-04-27 16:59:59 +02:00
Miodec fa9c4a417b Merge branch 'dev' of https://github.com/Miodec/monkeytype into dev 2022-04-27 16:04:41 +02:00
Miodec 4f8c5bb941 fixed error when there are no words in history
closes #2879
2022-04-27 16:04:34 +02:00
Miodec 34659f471d corrected return type 2022-04-27 16:03:59 +02:00
Max Kronenbürger 692f83ddb2
fixed typo in Windows word (#2889) tmuplayer33
Co-authored-by: Maximilian Kronenbürger <maximilian.kronenbuerger@1und1.de>
2022-04-27 15:58:24 +02:00
Tobias Kendlbacher 6ec8645b8c
Fix a typo (#2887)
In settings: changed 'conset' to 'consent'
2022-04-27 07:46:53 -05:00
Matt 933e4c7e83
Fixes Javascript typo (#2884) (#2885) 2022-04-27 14:16:52 +02:00
DKparadox 3a8a5d5010 Update romanian.json (#2852) DKparadox 2022-04-27 14:12:01 +02:00
DKparadox 9abb8c13de Create romanian quotes (#2846) DKparadox
* Create romanian

* Add files via upload

* Rename romanian quotes.json to romanian.json

* Delete romanian

* Update romanian.json
2022-04-27 14:11:56 +02:00
Miodec 593b30c39f fixed indicate typos below requiring more space below words 2022-04-26 15:41:13 +02:00
Miodec 11d83e6213 fixed commandline not highlighting active font size
closes #2882
2022-04-26 15:26:11 +02:00
Miodec 48c1c882bc reduced multiplier 2022-04-26 15:24:35 +02:00
Miodec d3e0ff654d added aliases 2022-04-26 15:22:27 +02:00
Miodec 5cbc7c6646 fixed wide carets moved too far left 2022-04-26 15:08:25 +02:00
Miodec 374251bc39 showing requested styles and client version on no css warning 2022-04-26 15:03:09 +02:00
Miodec 96f64039e7 added more classes that should be picked up by cookie popup blocking extensions 2022-04-26 14:43:54 +02:00
Miodec 875413afc4 added function to check if a popup is visible
using computed style instead of hidden class
2022-04-26 14:43:31 +02:00
Miodec 0f347e9100 added hidden message about cookie popup blocking extensions 2022-04-26 14:21:10 +02:00
Miodec 2428ed0c7b increased height of word wrapper slightly when using tape mode to allow for typo indication
closes #2873
2022-04-25 19:25:56 +02:00
Miodec 028e155be9 only reacting to config events when test page is active
fixes #2876
2022-04-25 17:03:29 +02:00
Miodec a4ee31a4bb changed background color 2022-04-25 16:17:46 +02:00
Miodec a585adae24 added cookie popup 2022-04-25 16:11:24 +02:00
Miodec 32a31b0d48 stopping input when a popup is visible 2022-04-25 16:11:06 +02:00
Miodec 22e3b97f4e hiding caret during resize 2022-04-25 00:40:38 +02:00
Miodec a45fb91300 using gradient mask around edges when using tape mode 2022-04-25 00:16:05 +02:00
Miodec 4bd5c9ecba added a better error message
closes #2872
2022-04-24 21:45:01 +02:00
Miodec bd5bcf075d fixed tape mode not working with new lines 2022-04-24 21:42:05 +02:00
Evan f584d683bb
Rename scripts to ts (#2869) ferotiq
* Rename scripts to ts

* Update config.base.js

* Delete firebase-config.ts
2022-04-24 17:20:30 +02:00
Jack 4d365802a1
Added popup to share test settings through url (#2870)
* added package for compressing strings

* added popup to share test settings

* added function to parse test settings from url

* returning if no settings were applied

* removed pointless try catches

* added type for shared setings instead of casting

* small refactor

* unnecessary ??
2022-04-24 17:05:04 +02:00
Jack 9ca477da54
Added tape mode (#2862)
* added config param for tape mode

* added settings section

* added commands

* moving caret to the correct place with tape mode is active

* only jumping line when not using tape mode

* prettier

* scrolling tape

* restarting test when tape mode changed

* showing one line when tape mode is active

* added function for scrolling words horizontally

* scrolling tape when layout emulator is enabled

* removed left margin when tape is active

* disable tape for some challenges

* fixed incorrect caret position when going back to a previous word

* ignoring no-this-alias

* fixed lines scrolling to often when tape mode was disabled

* storing caret width in a variable

* not allowing tape mode and show all lines together

* removed unnecessary comment
2022-04-24 17:04:46 +02:00