Commit graph

11 commits

Author SHA1 Message Date
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
iamlambda db22512191
well, periods.... (#1836) by iamlambda
* 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>
2021-09-11 00:25:55 +01:00
marcoferrari2409 6816a22be6
update italian json (#1782) by marcoferrari2409
* update italian json

* Update italian.json
2021-09-01 16:13:49 +01:00
Jack 3f81cc09f9 fixed new italian quotes indentation 2021-05-17 23:37:44 +01:00
marcoferrari2409 4d5fe1fb6b
new json
got the new file
2021-05-17 22:09:51 +02:00
monkeytypegeorge 091209fc88 Added quotes from Discord 2021-03-09 18:44:51 +00:00
monkeytypegeorge 21a23fd92d Merge remote-tracking branch 'upstream/master' 2021-02-27 15:07:52 +00:00
monkeytypegeorge cdefbea1e3 added quotes 2021-02-27 15:07:43 +00:00
Bendik Samseth aa6797a019
Merge remote-tracking branch 'upstream/master' 2021-02-18 09:22:54 +01:00
monkeytypegeorge 5993907c43 Added quotes from Discord 2021-02-17 22:18:05 +00:00
monkeytypegeorge d361d42f88 quotes 2021-02-16 20:56:41 +00:00