Commit graph

10 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
HasanTheSyrian a96ae52454
Arabic and Turkish quotes (#1888) by HasanTheSyrian 2021-09-20 21:20:44 +01:00
Yultax 1e1d835228
Added some quotes and fixed a typo. (#1730)
* 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.
2021-08-18 12:26:07 +01:00
Oscar MacKenzie 1a2eb6f219
Fix line endings 2021-05-08 07:53:01 +10:00
Oscar MacKenzie 8fa497e832
Fix formatting issues and revert ID changes 2021-05-07 07:47:51 +10:00
Oscar MacKenzie 800192db6c
Remove duplicate quotes 2021-05-06 20:27:39 +10:00
yekta 35d19c9f14 Source of a Turkish quote fixed 2021-05-04 22:33:37 +03:00
yekta d6c435b56f 39 Turkish quotes of various lengths added 2021-05-04 22:25:49 +03:00
Jack92829 6d0c627b6f Resolved merge conflicts 2021-01-19 11:28:40 +11:00
monkeytypegeorge 8de5cba502 Added quote to turkish.json 2021-01-17 12:48:47 +00:00