Commit graph

8833 commits

Author SHA1 Message Date
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 b177232710 refactor 2023-01-31 01:04:04 +01:00
Miodec 888cf9f34e added command to copy result stats to clipboard 2023-01-31 01:02:40 +01:00
Miodec 921aa94dc7 added cron job to log collection sizes 2023-01-30 16:53:12 +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
Miodec 14ad135483 updated messages 2023-01-29 15:20:04 +01:00
Miodec 2dd1baac95 added another custom error handler
changed returned code
2023-01-29 15:14:46 +01:00
Miodec 2aa95b4526 added custom error handling 2023-01-29 14:43:04 +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
Bruce Berrios dcb505e507
Fix on failure action (#3959)
* Fix on failure action

* Bad commit

* Use API token

* Another bad commit

* Fix bad commits
2023-01-27 21:07:08 -05: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
Jack dc1b217cb9
Update monkey-ci.yml 2023-01-27 01:58:25 +01:00
Rizwan Mustafa 85f52ff49e
Add typescript support for jest (#3949) rizwanmustafa
* Add typescript support for jest

* Add typescript support for jest setup-tests.ts

* Some more bug fixing
2023-01-26 14:13:14 +01:00
Oxey 6c9ee41444
Make quote actions not break with c++ language (#3925) o-x-e-y
* Make quote actions not break with c++

c++ currently obviously has `+` symbols which means stuff like quote ratings break because of the validation regex. I feel like changing `\w` straight to `.` would also be fine since languages and their names get approved manually, but this should work fine for now

* fix silly mistake

a `.regex()` got removed for whatever reason

* Fix prettier bug

* remove unnecessary spaces

Co-authored-by: Rizwan Mustafa <rizwanmustafa0000@gmail.com>
2023-01-26 14:09:11 +01:00
Miodec 33437d8fee revert commandline text color change 2023-01-26 00:00:44 +01:00
Miodec 698d43d64e more validation 2023-01-25 23:52:37 +01:00
Miodec 385fc00ea2 more regex validation 2023-01-25 23:52:28 +01:00
Miodec 6bdf6de1f6 added body validation 2023-01-25 23:41:53 +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
Jack 59b252389e
fix: backend/package.json & backend/package-lock.json to reduce vulnerabilities (#3945)
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-SIMPLEGIT-3177391

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
2023-01-25 23:21:53 +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