* 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>
* Added Japanese to _groups file
* Added Japanese Hiragana and Katakana to _list.json
* Create japanese_hiragana.json
A list of the most common hiragana only words. That it's only hiragana means all of Monkeytype's features should work just fine.
Tested with custom input on the Mozc and KKC keyboard layouts. You have to press enter to bypass Kanji conversion.
* Create japanese_katakana.json
A list of loan words commonly used in Japan. Everything is in Katakana. This should work with the "Japanese (kana)" keyboard layout.
* Rewrite input system to use <input> content
* Tab/Escape, Backspace and Enter are always handled by
$(document).keydown.
* The rest of characters are handled by either $("#wordsInput").on("input")
(default) or $(document).keydown (layout emulation).
* New special handling for dead keys, compose keys and diacritics in
general with the new regex Misc.trailingComposeChars.
input-controller.js has been updated to use the above changes:
* handleBackspace() replaced with simplified backspaceToPrevious().
On PC, a space is immediately re-added to the end of the input to make
use of the browser/OS's Backspace. This lets the browser handle input-
specific things like ctrl+backspace.
* handleSpace() refactored a bit to repeat less logic when word is correct
or incorrect.
* test-ui.js updated to highlight the Misc.trailingComposeChars
correctly, and also refactored a bit to make logic easier to follow.
* AFK checking has also been simplified, now just set with a boolean
flag (TestStats.) setKeypressNotAfk() instead of checking every key and
modifier press (so incrementKeypressMod() was removed as it wasn't used
for anything else).
* Refactor input controller
New function isCharCorrect().
* Remove caps lock backspace setting
Not supported with the input rewrite anymore because we're relying on the
browser's/OS's actual backspace effects. There's no way to emulate this
keypress.
* Refactor input controller
* Reimplement opposite shift mode
* Reimplement the layout emulator
* Fix replay events for input rewrite
Now it's more flexible for a variable amount of backspacing or letter
replacing.
* Pad input with space to handle backspace on mobile
Backspace isn't fired as an event on current mobile browsers, so I worked
around that by adding a permanent space at the start of the input and
treating its removal as a fallback to Backspace to the previous word.
* Force caret to end of input on focus
Fixes initial selection on iOS.
* Use offsetTop from the DOM instead of TestUI
I didn't wanna mess too much with what happens in test-ui.js. Basically,
on a restart after having completed a test, TestUI.activeWordTop is always
wrong for some reason. This caused swipe/instant input after a restart to
always drop the first few characters.
* Prevent pasting on the input
* Revert "Reimplement opposite shift mode"
This reverts commit 9a716ad39b004f0719b05f486465ea03060430ca.
* Use key code to check opposite shift usage
Today I learned what closure actually meant.
* Accept all whitespace as word space
HTML treats newlines as whitespace and collapses it + the spaces down to
a single space which has the underline. This fixes this by tightening up
the `<span>`s
Co-authored-by: driazati <driazati@users.noreply.github.com>
Added another 70 new quotes to put it to a total of 500 over all. Don't know whether or not it is all in the right format, but I hope so. Also fixed some typos as I was already on it.
* Many corrections to british english
* Sulfur and gram changes
* Removed accidental whitespace
* Added words from #958
* Removed hyphonated words
* Removed duplicate neighbours
* removed spaces from words in csharp
* blocked escape command sooner for slower connections
* removed deprecated code
* added programme to british english
* adding periods english
* adding periods french
* adding periods italian
* adding periods spanish
* adding periods dutch
* adding periods filipino
* adding periods german
* adding periods icelandic
* adding periods indonesian
* adding periods lithuanian
* adding periods russian
* adding periods thai
* Update icelandic.json
Co-authored-by: lambda <iamlambda@protonmail.com>
* Update spanish_10k.json
changed "not words", bad words and historical figures.
* Update spanish_1k.json
removed not full words and fixed capitalization.
* Update spanish_10k.json
* removed "non-words"
* Changes to Spanish 1k
fine, I'll stop including ü
* Update spanish_1k.json
* fixed capitalization of some words, removed surnames from controversial people
* Renamed command line setting timer-progress bar
* Updated tos, privacy policy, security policy, and contributing files
* Update CONTRIBUTING.md
* typo
fixed text outside of main content div
missing closing li
* removed empty section
* changed wording
* changed h3 to p
* updated header
* updated security policy header
* changed h3 to p
updated header
added missing p tags
* moved script down, added link back to main page
* Fixed grammatical errors
Co-authored-by: Jack <bartnikjack@gmail.com>
* Renamed command line setting timer-progress bar
* Updated tos, privacy policy, security policy, and contributing files
* Update CONTRIBUTING.md
* typo
fixed text outside of main content div
missing closing li
* removed empty section
* changed wording
* changed h3 to p
* updated header
* updated security policy header
* changed h3 to p
updated header
added missing p tags
* moved script down, added link back to main page
Co-authored-by: Jack <bartnikjack@gmail.com>
* Words for tamil language
List of words for language Tamil -தமிழ்
* Update tamil.json
Fixed the last comma as you suggested :)
* Update tamil.json
I took out the words and added the alphabets of the language, so that all these only take one key strokes rather than combinations
Co-authored-by: Jack <bartnikjack@gmail.com>
* Added a delimiter switch
* Added delimiter to wordfilter
* Delimiter Switch to Delimiter Checkbox
* fixed random input fields styling
* regenerated lockfile to version 2
* brought back example.evn
* removed console logs
Co-authored-by: Jack <bartnikjack@gmail.com>
* Update turkish.json
Added 600+ new words.
Sorry for the pull request that I accidentally made a mistake on it previously(5 minutes ago), i wanted removed the "devam etmek" item from the words array because it consists of 2 words so I'm not sure about keeping it in "words" category.
* Created turkish_1k.json
Added 1000+ words!
* Update turkish.json
I add 15 qoutes some of them are under 60 character but this is arabic it's differnet from english it has more letters and diacritics (harakat) so the qoutes will be shorter
also I will add more in the future maybe 10 every few days
* Update spanish_10k.json
changed "not words", bad words and historical figures.
* Update spanish_1k.json
removed not full words and fixed capitalization.
* Update spanish_10k.json
* removed "non-words"
* Changes to Spanish 1k
fine, I'll stop including ü
* Update spanish_1k.json
* Update turkish.json
There is a typo, the word "tabi" is even has a meaning too but it's not common used in Turkish language and probably it meant to be "tabii"(means of course). I don't know is this even a problem but i wanted to notify you about that.
* Update turkish.json
Added some quotes.
* removed spaces in all entries and deleted resulting duplicate words
* added 2 more words to spanish.json to complete 200 after fix
Co-authored-by: Jorge Martínez <jorgemartinez.globant@latam.com>
* leaderboard is now responsive
* leaderboard is now responsive
* leaderboard is responsive now
* Update style.scss
* responsive on tablet/mobile
* fixed buttons
* specifying leaderboards id
placing tables underneath eachother earlier
fixed title being bound by screen width
Co-authored-by: Miodec <bartnikjack@gmail.com>
* Added list of commonly misspelled english words
* restricted list to those that also appear in english 10k list
* added new file
Co-authored-by: Arie Bates-Hermans <ariebateshermans@gmail.com>
I just briefly updated some quotes that I found some mistakes in while typing them. I don't know, if that are all now, because I might have not typed all the 200 new ones yet, but I hope that's all for now.