Commit graph

12 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
wozzy f92b1f8b3d
fixed typos (#1828) by thienanbeou 2021-09-10 16:47:02 +01:00
wozzy e351b23b42
update vietnamese.json (#1772) by thienanbeou
added 80 more more quotes
2021-08-29 13:27:13 +01:00
Miodec ea4f3bcc5d Merge branch 'mongo' 2021-08-17 18:13:04 +01:00
George The Bot 43e3495acc
Added more quotes (#1715)
* added quotes

* fixed conflict

* Added quotes from Discord

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-08-16 15:32:55 +01:00
Miodec 8cbbe51ba7 Merge branch 'master' into mongo 2021-07-24 23:17:58 +01:00
George The Bot 459c4bfbc0
Added more quotes (#1654)
* added quotes

* fixed conflict

Co-authored-by: Jack <bartnikjack@gmail.com>
2021-07-22 14:06:13 +01:00
Mariusz Gumienny 2fca0222f8
fixed JSON structure 2021-03-23 16:30:06 +01:00
Testify a4246d2453
Update vietnamese.json 2021-03-10 00:09:04 +07:00
Testify 695955c48e
Update vietnamese.json
Added more quotes.
2021-03-10 00:02:44 +07:00
Miodec 264424de5e Merge branch 'master' into pr/Jack92829/858 2021-02-13 18:24:58 +00:00
monkeytypegeorge 44b66abb1e added quotes from discord 2021-01-21 20:59:41 +00:00