Commit graph

2214 commits

Author SHA1 Message Date
Miodec 5183963dc4 missing flags 2023-02-23 14:15:10 +01:00
Miodec d18e930840 showing if language supports zipf or not 2023-02-23 14:10:10 +01:00
Miodec 083d2c80ff added a flag if list supports frequency 2023-02-23 13:55:09 +01:00
Miodec 90f14cd8d6 updated english 10k list 2023-02-23 13:52:58 +01:00
Miodec 76f7d42fc6 added orderedbyrequency property 2023-02-23 13:49:48 +01:00
Albert 2b8690bf20
Add word filter presets (#4018) albertying
* Add word filter presets

* updated structure and styling

* updated button classes and click handlers

* removed timeouts to fix annoying jumping

* typescript fixes

* renamed function

* converted file to using single object that defines presets

* using spread

* added right hand preset
using spread
added key position B to the right hand preset

* removed line

* changed text

* Finish rewriting presets in new format

* added home keys filter preset

* removed comment

* Fix home keys preset

---------

Co-authored-by: Miodec <jack@monkeytype.com>
2023-02-21 22:57:31 +01:00
Miodec 702c36189c stop on word only inserts spaces if input length is greater than 0 2023-02-21 16:18:31 +01:00
Sebastian Michaelsen 0abb1fb2a1
Add rel="me" attributes to links on profile page (#4015) smichaelsen
This indicates, that the linked resources belong to the person, that the current page is about.

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/rel/me
2023-02-21 14:24:19 +01:00
Miodec 58d2a3dfbd custom theme media queries 2023-02-21 14:23:17 +01:00
Miodec 8a2fa437e6 removed p
wider columns
2023-02-21 14:21:12 +01:00
Miodec 2249932331 using css setup that is esier to modify in media queries 2023-02-21 14:19:13 +01:00
Miodec bb4687f2c7 quote reports 2023-02-21 13:28:22 +01:00
Miodec 6ed5a9422d added zipf funbox 2023-02-21 13:14:36 +01:00
Miodec e36c57c047 missing properties 2023-02-21 13:14:10 +01:00
Miodec c4a036b7cd removed duplicate 2023-02-20 15:27:03 +01:00
Miodec 452e886a6d quote reports 2023-02-20 12:49:18 +01:00
Rob Sassack 8f14a943a9
changed event on hiding popups to be mousedown (#4010) robsassack 2023-02-20 11:55:06 +01:00
Rob Sassack 3deb2809a1
Added binary mode to funbox (#4005) robsassack
* Added binary mode to funbox

* changed description and added punctionation off for binary funbox
2023-02-19 13:02:45 +01:00
Aaron 259a36e57a
Made wording better (#4007) unrealapex
* Renamed command line setting timer-progress bar

* Make account config input an `input` so it takes up less space

* Revert "Make account config input an `input` so it takes up less space"

* Better wording

---------

Co-authored-by: Aaron <79121360+hazyboba@users.noreply.github.com>
2023-02-19 12:56:17 +01:00
github-actions[bot] 388067316a
Prettier fix (#4006)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-02-18 19:28:19 -05:00
Miodec 9157b42e2c updated russian list 2023-02-18 23:03:39 +01:00
Miodec b3d6988cab typo 2023-02-18 16:50:08 +01:00
Miodec d1a6136853 removed quote 2023-02-17 22:46:27 +01:00
Miodec 6f90305fcf added another version of a single quote 2023-02-17 22:23:31 +01:00
Miodec ce9f5b1956 quote lengths 2023-02-17 13:45:17 +01:00
Miodec 8ff06113b9 quote reports 2023-02-17 13:44:55 +01:00
Miodec 4a90877735 fixed account graphs not updating on filter change
closes #4001
2023-02-17 13:28:03 +01:00
Miodec 58cad70f6d added command to clear all notifications
closes #4002
2023-02-17 11:18:44 +01:00
Miodec 528c0e79a2 hiding notifications when typing
part of #4002
2023-02-17 11:13:18 +01:00
Miodec e582cc9b51 fixed spacing for texticon 2023-02-16 17:54:43 +01:00
Miodec 3dc603d2bb showing stop on error on the result page 2023-02-15 13:39:53 +01:00
Miodec d85663eba1 rounding data points 2023-02-15 13:39:53 +01:00
Miao4382 1ccbb49346
Added one quote in English (#3997) miao4382 2023-02-15 13:36:35 +01:00
Peter Gessler c0373dfc1f
fix: Add about page supporter/contributor references (#3994) gesslerpd 2023-02-14 11:27:04 +01:00
Miodec 384ec9bf44 updated email addresses 2023-02-14 00:22:37 +01:00
Miodec 4781755fef replaced email address 2023-02-13 23:55:08 +01:00
Miodec ea491efefe added last updated paragraph 2023-02-13 22:55:23 +01:00
Miodec 76451ff8c6 added section about the advertising a/b test 2023-02-13 22:47:18 +01:00
Miodec f232cc8ff9 allowing up to 420 in words 10
closes #3989
2023-02-13 15:35:02 +01:00
Jack 1ca0fd1b23
Custom email (#3964)
* added nodemailer and mjml

* added email template

* basic email util file

* added email queue

* email worker

* renamed folder

* showing which queues and workers were initialized

* initializing email on server boot
added some test code

* renamed to email worker

* type fix

* renamed queue

* added queue to list

* added worker to list

* logging when config was verified

* handling send mail result

* not minifying (not supported anymore)
using .html property
returning correct value

* dont send me emails

* added port to .env

* updated example

* updated test email

* using env email

* parseint base

* message

* refactor

* message

* rename

* moved email templates

* using async file read

* typo

* using mustache

* moved file
renamed to email client

* logging with prometheus

* added social links

* line

* using stronger types (object instead of array of any[])
moved prometheus logging into email client
added function to send mail using a template

* fixed templates not working

* removed console log

* name change

* rename

* moved templates

* rename

* string interpolation

* string interpolation

* moved to dev dependencies, exact versions

* moved types

* removed function, remove unnecessary if

* update template params

* updated name

* fixed button not clickable

* throwing

* moved template metadata to one place

* rename

* sending email on account creation

* removed test code
removed await

* fixed button

* not stopping the server if email client validation failed

* added metric for queue lengths

* exposing getjobcounts

* added job to log queue lengths

* added endpoint to request verification email

* using send verification email that calls api instead of firebase built in

* updated route

* renamed function

* recording time to complete

* returning 400 if email already verified

* setting transport initialized to true earlier, setting it to false if caught error

* moved forgot password flow to a simple popup, added new endpoint to ape

* added forgotpasswordemail route

* added email tempalte

* setting transport to false if caught error

* added email queue function

* moved try higher

* fixed log
2023-02-13 13:24:43 +01:00
Piyush Sahu 8d965a7cf1
quote - NaD (#3988) sahupr 2023-02-13 13:09:24 +01:00
Bianco Da Costa Oliveira cd31a5c9cd
Update portuguese.json (#3987) Ocnaibill
frases adicionadas.
2023-02-13 13:01:20 +01:00
Pratham Purohit a1c26c96aa
Adding a light color theme "slambook". (#3982) prathammpurohit
* Create pale_page.css

* Update pale_page.css

Added a pale yellow page-like interface. Added newer error colours as well.

* Update _list.json

Added theme "pale_page".

* Update pale_page.css

Added a new colour theme.

* Update _list.json

Added a new theme "pale_page".

* Delete pale_page.css

* Create slambook.css

Added a new theme "slambook".

* Update _list.json

Added a new theme "slambook".

* Update slambook.css

fixed color scheme

* Update _list.json

* Update slambook.css

Updated theme
2023-02-13 13:00:14 +01:00
Miodec 9f8ff40a36 fix quote lengths 2023-02-13 12:55:41 +01:00
Miodec 06bd540d61 quote reports 2023-02-13 12:54:42 +01:00
Miodec af38c4ee2d removed words 2023-02-12 22:20:58 +01:00
Miodec 68474368e1 longer notification time 2023-02-12 00:02:50 +01:00
Miodec 89a6e9ff02 updated message 2023-02-12 00:02:50 +01:00
Jerry Zhou da9b691bb1
New Sound on Click - Pentatonic Scale (#3970)
* added scale function

* cleaned up merge

* cleaned up scale implementation and created closure for previewing scales

* finalized changes

* fixed ci/de

* switched to upper camel case

* undid accidental changes

* updates

* fixed indexing bug and audioCtxt being intialized

* removed mapping

* updated schema with non-inclusive range for two new sound-on-clicks

---------

Co-authored-by: Bruce Berrios <bberr022@fiu.edu>
Co-authored-by: Bruce Berrios <58147810+Bruception@users.noreply.github.com>
2023-02-10 18:11:52 -05:00
Dainternetdude dba84c3253
add sturdy ortho keyboard layout (#3979) Dainternetdude
* add sturdy ortho keyboard layout

* remove random extra double quote

oops lmao

* move sturdy ortho to be with the rest of the sturdy family
2023-02-09 12:46:01 +01:00
Miodec 9a9699b445 fixed buttons not appearing
closes #3980
2023-02-09 12:43:22 +01:00
Miodec 87b4114532 checking if there is still input to be pushed
moved the check into one place
fixes #3981
2023-02-09 12:32:19 +01:00
Vladislav Dietrich 8f26f5f60a
Add nord light theme (#3978) ithelor
Co-authored-by: Vladislav Dietrich <v.ditrih@taptima.ru>
2023-02-07 11:29:14 +01:00
hanabo-mk f92c63fd64
Added 10 new quotes to the German pool (#3975) hanabo-mk
* quotes added

* lenghts fixed
2023-02-07 11:27:59 +01:00
Joonas acb4d666b5
added estonian quotes (#3974) KlopZzz
* added estonian quotes

* Fixed quote length

---------

Co-authored-by: KlopZ <none>
2023-02-06 14:14:12 +01:00
Ziyodulla Muydinjanov e625b37d6c
fixed typos in uzbek 1k (#3977) zieu
* fixed typos in uzbek 1k

Some words were missing the last character and few words didn't make sense so I altered them to the closest similar word.

* fixed typos and removed duplicates

* Update uzbek_1k.json

* Update uzbek_1k.json
2023-02-06 12:32:11 +01:00
Liewe Gutter 51ebf96fcb
improve password length check (#3973) lgutter
integratie check for too long passwords into isPasswordStrong, and
consistently check for it wherever passwords can be created / changed.

Co-authored-by: Liewe Gutter <liewegutter@gmail.com>
2023-02-06 12:30:33 +01:00
Jerry Zhou 801be2fc55
Fixed issue #3971 - active theme selection is properly removed (#3972)
* fixed issue #3971

* removed debug statement
2023-02-06 12:19:22 +01:00
Rephael Congmon d9120b47c2
Update all-time-stats.ts (#3976)
These 2 if statements can be combined
2023-02-05 19:30:33 -05:00
Miodec 9c58ec2808 fixed more issues with cookie popup blocking extensions 2023-02-05 22:32:06 +01:00
Miodec 198111d7f3 quote report 2023-02-01 12:07:08 +01:00
Miodec ed56dff53e removed bad words 2023-01-31 16:07:04 +01:00
Miodec 23ba234c16 added fulllogo 2023-01-31 01:59:40 +01:00
Miodec 888cf9f34e added command to copy result stats to clipboard 2023-01-31 01:02:40 +01:00
Miodec 2b0ccbe44c added islocalhost function to misc 2023-01-30 16:34:36 +01:00
Miodec e1c23538a7 quote reports,
quote lengths
2023-01-30 13:10:34 +01:00
Miodec 9cdfa9c191 fixed filter preset buttons not showing up 2023-01-30 12:56:41 +01:00
Miodec 6c9e3baf5b quote reports 2023-01-30 12:40:16 +01:00
github-actions[bot] 85835334d1
Prettier fix (#3960)
Co-authored-by: monkeytypegeorge <monkeytypegeorge@gmail.com>
2023-01-29 01:34:29 +01:00
Miodec 0d2af80a80 fixed tags not showing up in the account page filters 2023-01-29 01:01:08 +01:00
Miodec 26a19a87b0 fixed error if 8008 is the active theme
should fix #3957
2023-01-28 19:50:35 +01:00
Miodec 4cc8ed5e91 fixed theme buttons not showing up if user has favorites 2023-01-28 19:50:03 +01:00
Miodec bc4651d2b7 fixed active entry icon color not changing 2023-01-28 19:46:06 +01:00
Miodec c90ccf05be removed console logs 2023-01-27 23:33:15 +01:00
Miodec c0cb29c80f added a resetState parameter
not resetting textarea state if user is about to save the custom text
should help with #3958 and #3955
2023-01-27 23:32:39 +01:00
Miodec 79659a6e42 removed duplicate click handler 2023-01-27 23:31:15 +01:00
Miodec e94364f269 lots of missing function calls causing results failing to save for everyone
i am stupid
2023-01-27 17:36:30 +01:00
Miodec 2206677f83 fixed typo 2023-01-27 15:33:38 +01:00
Miodec d9e101c452 throwing error if challenge failed to fetch 2023-01-27 15:32:22 +01:00
Miodec 81afc92022 returning if word is undefined 2023-01-27 15:28:08 +01:00
Miodec 2abd0e69fe calling line jump on resize event
triggering resize event on font size change to trigger this event handler
closes #3937
2023-01-27 15:24:45 +01:00
Jack 6647a81ad1
Structure (#3951)
* created file which holds skeletons for popups

* using skeleton

* saving skeleton after the events are bound

* moved click event to a static element

* using skeleton

* added hide and show functions
using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* fixed a bug where updating the preset name would not immediately show the update

* using skeleton

* shorter link transition

* using skeleton

* using skeleton

* using skeleton

* fixed a bug where accounts with no pbs would cause misplaced "show all pbs" button

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* fixed quote mod not being sent to the client

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using state object instead of html attributes
fixed a bug where no tags text would persist even when tags were added to the test
using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* removed unused code

* unnecessary import

* unused code

* using skeleton

* changed click handling element
only hiding and restarting the test if init returned true

* using skeleton
returning boolean from init function

* removed console log

* added function to check if a popup is visible

* better visibility check

* rewrote alerts to use state object instead of pushing straight to dom
using skeleton

* better visibility check

* not using skeleton for now

* using skeleton
using state object
better visibility check

* added parent override

* unnecessary code

* changed function to a more generic one

* fixed cookie popup text possibly overflowing popup

* using "isPopupVisible" function instead of a "hasClass" check
added some missing escape key handlers

* using skeleton

* using skeleton

* using skeleton

* using skeleton

* standard popup animation length

* consistent animation timing

* using iselementvisible function

* removed unused function

* using isElementVisible

* proper show and hide functions, added callback funciton on hide,
added noAnim params

* fixed no animation on the logo sub text

* reordered click handlers

* moved code to a fill function

* using proper show and hide functions
added callback on hide param
added no anim and no callback parameters

* added no anim parameter
callback func is optional

* also applying noanimation to hiding animation

* using proper hide and show functions

* using iselementvisible

* using skeleton

* missing space

* storing text area state in custom text

* using skeleton

* setting state on show instead of on hide

* moved click handler

* unused code

* missing parent override

* using skeleton

* no longer waiting for document to be ready

* settings using skeleton

* profile search using skeleton

* page profile using skeleton

* navigating to account if already logged in

* using skeleton

* using skeleton

* emptying result replay and words history on restart

* optimised theme picker

* optimised settings page fill

* performance optimisation

* awaiting promises

* brought back code that was accidentally removed

* async

* addad param to avoid duplicate group update on settings page load

* added main thread yields to remove long tasks

* optimising performance of about page loading

* not awaiting

* breaking up long tasks to optimise performance

* optimised button appending

* fixed avatar being too big

* optimisation
splitting up code
added yields to split tasks

* fixed merge

* removed sleep

* missing chart color update

* updating main chart first

* disabling animation during update

* updating chart colors once instead of on every update

* added one more sleep

* removed sleep causing graphical issues

* update chart regardless if it has data or not

* hiding estimated words typed when no data was found
2023-01-27 15:10:07 +01:00
Miodec 707575546c fixed safari not supporting rounded outlines 2023-01-27 15:03:12 +01:00
Dioswilson d9ac83a1a4
Added 7 quotes on spanish (#3953) dioswilson
* Updated spanish.json with 11 quotes

Added 11 quotes in spanish

* Fixed typos

Fixed typos I made on the previous quotes I made on spanish

* Last typo i found on the quotes

* Added more 7 quotes to spanish

Added 7 quotes to spanish and deleted one word that was wrong from a prevoius quote

* Changed quotation marks

One quote uses quotation marks, now it is as \", not sure if that's the correct way

* Updated quote's lenght which was wrong

* Changed swear from last quote.

Changed the swear on quote 126, new translation:
This "New Era" that everyone is talking about is trash. the time where pirates dreams have ended?! People dreams never end!
2023-01-27 14:49:44 +01:00
Tobin Richard 51593ebd46
Additional Latin quotes. (#3947) toholio
Co-authored-by: Tobin Richard <tobin.richard@megabus.com.au>
2023-01-27 13:48:03 +01:00
tilde-nya 8dd77860f3
Three Portal 2 quotes (#3954) tilde-nya
Cave Johnson - Lemons rant
GLaDOS - Test results
GLaDOS - Differences
2023-01-27 13:46:27 +01:00
Miodec 33437d8fee revert commandline text color change 2023-01-26 00:00:44 +01:00
Miodec cb3f1ee1b0 lowered outline width 2023-01-25 23:41:53 +01:00
Miodec 25f8d4a2ce revert input outline change 2023-01-25 23:41:53 +01:00
Dioswilson 3072bfd492
Typos i made (#3946)
* Updated spanish.json with 11 quotes

Added 11 quotes in spanish

* Fixed typos

Fixed typos I made on the previous quotes I made on spanish

* Last typo i found on the quotes
2023-01-25 23:41:08 +01:00
Miodec edd69c17aa using box shadow instead of outline to fix stupid safari not supporting rounded outlines
consistent outline thickness
2023-01-25 22:26:45 +01:00
Simon Fernandez a68d163f8d
Fix french punctuation typo - missing space (#3944) pantoofle
* Fix french punctuation typo - missing space

In french, there is always a space character before ! ? or : signs. Fixing the few quotes missing this space character.

* Fix invalid quote length
2023-01-25 21:11:57 +01:00
Dioswilson 2b3d06e79a
Updated spanish.json with 11 quotes (#3942) Dioswilson
Added 11 quotes in spanish
2023-01-25 21:03:32 +01:00
Miodec a6eab83e9b using text color for commandline entries to increase readability 2023-01-25 18:18:33 +01:00
Shriram Khandbahale 7adbccf7db
add backup font-family "sans-serif" (#3943) ShriramKhandbahale
In some cases when the styles are not loaded yet, the fonts are rolled back to the default 'serif' family which looks very ugly
2023-01-25 18:00:49 +01:00
Miodec 1e60dc53cd updated settings page
added icons
updated button and text alignment
2023-01-25 17:43:01 +01:00
Miodec 7df53b700d using feather icon 2023-01-25 17:42:09 +01:00
Miodec 3a89f0099a fixed favtheme section spacing 2023-01-25 17:19:22 +01:00
Miodec 597229918c fixed a small bug where a "quick restart is disabled" message would show up when changing pages 2023-01-25 12:51:42 +01:00
Miodec 0003c7651d updated notifications styling
no longer using main, sub or error color as background
using outline instead to symbolise level
using text color on sub alt background to maximise readability
2023-01-25 12:48:42 +01:00