Commit graph

5403 commits

Author SHA1 Message Date
Miodec cd7e771b95 fixed timer style switching in the middle of a test not working correctly 2021-10-12 00:36:12 +01:00
Miodec 13c1b40e13 fixed project not running correctly if git could not be initialised 2021-10-11 23:45:17 +01:00
Jack 3e64f30b6a fixed pb tables popup not styled correctly 2021-10-11 19:23:12 +01:00
Jack 9ed2855aa4 added supporter 2021-10-11 16:47:30 +01:00
Jack 50aec0b9e7 added captcha to quote submission 2021-10-11 16:02:27 +01:00
Jack 57c94e7249 removed line height override from inputs and textareas 2021-10-11 15:54:23 +01:00
Jack 83a5cb4639 fixed cpm issues. closes #1990 2021-10-11 14:49:28 +01:00
Jack bb490fca9d fixed tags and preset popups not being styled. closes #1988 2021-10-11 14:41:58 +01:00
Jack 5719158aec checking language aswell 2021-10-11 14:32:57 +01:00
Jack c27efc1545 typo causing quick tab to not work 2021-10-11 00:45:53 +01:00
Jack c518778573 submitting on enter
handing errors correctly
2021-10-11 00:36:53 +01:00
Jack ab955b102e checking if fields are empty 2021-10-11 00:27:00 +01:00
Jack b7d5e64239 allowing tab in quote submit 2021-10-11 00:26:04 +01:00
Jack e0922034c2 removed forced seconds from notifications 2021-10-11 00:25:54 +01:00
Jack f6debfaab3 hooked up quote refuse button 2021-10-11 00:09:30 +01:00
Jack dfe38a7bc0 hiding quote submission if not logged in 2021-10-10 23:44:29 +01:00
Jack 5275e16f34 added warning message to quote submission form 2021-10-10 23:44:13 +01:00
Jack f021ff1374 overwriting message on failed login 2021-10-10 23:36:49 +01:00
Jack 34277e2098 checking if new quotes are visible 2021-10-10 23:30:55 +01:00
Jack 5cc3982a9c rerunning npm i 2021-10-10 23:30:29 +01:00
Jack aa51808777 removed console log 2021-10-10 23:02:57 +01:00
Jack cf8d258400
Quote submission (#1984)
* added new-quotes get and add routes

* added new-quotes/approve route to api

* Added front-end for quote submission

* fix language typo, force lowercase language

* Check for duplicate quote

* added unknown language handling to quote-submit

* npm i

* npm i

* language dropdown instead of input field

* mouse down instead click

* styling changes

* moved quotemod check to the controller,
added refuse endpoint,
added ability to approve and edit

* limiting quotes

* added log to quote approve

* added approve quotes button

* typo

* using the correct function, lowered limit

* added quote approve popup

* getting quotes and showing them

* error checking

* error checking

* removed console log

* stylng changes,
added refresh list button

* added disabled class

* styling changes

* handling button clicks
showing langauge and timestamp

* check if user is a quote mod

* approve button handling

* handling quote edit

* showing short quotes in red

* post, not get

* not parsing quote id to int

* parsing to objectid

* updated styling

* fixed lint warnings

* fixed up new quotes dao

* showing loader

* calling function correctly

* typo fix

* fixed wrong path,
fix broken newid,
saving file when file exists,
searching for the quote correctly when attempting to delete

* showing message

* blocking buttons and inputs when waiting for response,
unlocking after response

* deleted workflow

Co-authored-by: lukew3 <lukew25073@gmail.com>
2021-10-10 22:46:35 +01:00
Jack 2773ad4f8a
Delete feature_request.md 2021-10-10 22:26:06 +01:00
Jack 273be2161f updated extension 2021-10-10 22:25:15 +01:00
Jack ecf8af8f66
Create config.yaml 2021-10-10 22:24:15 +01:00
Jack 6178ed504f security update 2021-10-10 22:12:44 +01:00
Azirine 2fb29739d0
Update english_5k.json (#1983) by Azirine
Removed duplicates.
2021-10-10 21:48:01 +01:00
Jack c558f126a2 small fixes to the template 2021-10-10 17:30:29 +01:00
Jack 0e629ebce0 new bug report template format 2021-10-10 17:25:54 +01:00
Jack b00148e481 updated the 5k list to use the oxford 5000. closes #1974 2021-10-10 16:52:41 +01:00
Jack b0db2c47bd Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:44:34 +01:00
Jack 115148323f updated the 5k word list slightly. thanks
impranav16
2021-10-10 16:43:06 +01:00
patpro dd59f05184
Update french.json (#1981) by p4tpr0
typos, spelling, grammar corrections.
2021-10-10 16:40:32 +01:00
Jack 0b495d8911 Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:40:06 +01:00
Jack c13a83cff5 removed workflow 2021-10-10 16:40:02 +01:00
Typeacode 468110ef7c
layouts.js (#1982) by Typeacode
I made a keyboard layout for Indonesian where Indonesian doesn't have a keyboard layout.  I named this keyboard layout ina because the most letters in Indonesia are a, n, and i.  thank you for reading and seeing my keyboard layout, thank you very much🙏
2021-10-10 16:39:33 +01:00
Jack 224024b7fe Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:22:37 +01:00
Jack 747abee4aa added eslint github formatter 2021-10-10 16:22:34 +01:00
SeerLite d7b5483561
Make emulator even more obvious (#1978) by seerlite
* Prefix layout notice with "emulating"

Makes it clearer for people that might have set it to use the emulator
before but haven't noticed the name change in the settings/command line.

* Replace _ in layout name with spaces in notice
2021-10-10 16:10:24 +01:00
SeerLite 23a9915495
Add .editorconfig (#1976)
EditorConfig is a configuration file to standardize file format settings
across editors.

See https://editorconfig.org/ for more information.
2021-10-10 16:09:32 +01:00
Jack 69bae070eb Merge branch 'master' of https://github.com/Miodec/monkey-type 2021-10-10 16:06:06 +01:00
Jack 4783c1ebe4 fix typo 2021-10-10 16:06:02 +01:00
Josh Moncrieff 2092439729
Update CONTRIBUTING.md (#1977)
fix typo in language guidelines example
2021-10-09 23:19:36 +01:00
Miodec 42d4d6f88b fixed settings group reacting to a button press even when some of the parameters were undefined 2021-10-09 15:24:49 +01:00
Miodec 51de7cde4a updated the result styling on smaller widths 2021-10-09 13:17:06 +01:00
Miodec a5b4b433cc fixed backspace deleting 2 characgters when layout emulator was enabled. closes #1972 2021-10-09 13:03:26 +01:00
Miodec 94075b7083 showing decimal places even if wpm is round 2021-10-09 12:53:56 +01:00
huzqy fcbb446f8e
Add ISRT Angle Mod (#1970) 2021-10-08 17:39:44 +01:00
Miodec 9e6e49ad21 changed the timeout to actually be 10 seconds not 1... 2021-10-08 10:04:26 +01:00
Jack 3bfad6b181 changed the global timeout limit to 10 seconds 2021-10-07 20:12:38 +01:00