Commit graph

2132 commits

Author SHA1 Message Date
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