monkeytype/static/quotes
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
..
albanian.json Merge branch 'master' into mongo 2021-07-24 23:17:58 +01:00
arabic.json Arabic and Turkish quotes (#1888) by HasanTheSyrian 2021-09-20 21:20:44 +01:00
code_c++.json Merge branch 'master' into pr/Jack92829/858 2021-02-13 18:24:58 +00:00
code_c.json Resolved merge conflicts 2021-01-19 11:28:40 +11:00
code_java.json adding additional quotes for Java 2021-05-10 21:20:52 -04:00
code_javascript.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
code_python.json Merge branch 'master' into pr/monkeytypegeorge/1300 2021-04-25 00:52:28 +01:00
code_rust.json Fix line endings in code_rust 2021-05-08 07:55:45 +10:00
czech.json Merge branch 'master' into pr/Jack92829/858 2021-02-13 18:24:58 +00:00
danish.json added a few danish quotes 2021-07-28 13:29:28 +01:00
dutch.json well, periods.... (#1836) by iamlambda 2021-09-11 00:25:55 +01:00
english.json capital I 2021-10-03 20:41:35 +01:00
filipino.json well, periods.... (#1836) by iamlambda 2021-09-11 00:25:55 +01:00
french.json Update french.json (#1981) by p4tpr0 2021-10-10 16:40:32 +01:00
german.json fix typo 2021-10-10 16:06:02 +01:00
icelandic.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
indonesian.json fixed indonesian quotes 2021-09-23 22:56:38 +01:00
irish.json well, periods.... (#1836) by iamlambda 2021-09-11 00:25:55 +01:00
italian.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
lithuanian.json well, periods.... (#1836) by iamlambda 2021-09-11 00:25:55 +01:00
malagasy.json Merge branch 'master' into mongo 2021-07-24 23:17:58 +01:00
polish.json fixed quote typo 2021-06-09 20:00:54 +01:00
portuguese.json typo 2021-09-17 13:01:45 +01:00
russian.json well, periods.... (#1836) by iamlambda 2021-09-11 00:25:55 +01:00
serbian.json Merge branch 'master' into pr/Jack92829/858 2021-02-13 18:24:58 +00:00
slovak.json Added quotes from Discord 2021-03-24 11:27:43 +00:00
spanish.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
swedish.json Added quotes from Discord 2021-03-31 01:41:20 +00:00
thai.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
turkish.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00
vietnamese.json Quote submission (#1984) 2021-10-10 22:46:35 +01:00