2021-03-10 02:44:51 +08:00
|
|
|
{
|
|
|
|
"language": "thai",
|
|
|
|
"groups": [
|
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-11 05:46:35 +08:00
|
|
|
[0, 100],
|
|
|
|
[101, 300],
|
|
|
|
[301, 600],
|
|
|
|
[601, 9999]
|
2021-03-10 02:44:51 +08:00
|
|
|
],
|
|
|
|
"quotes": [
|
|
|
|
{
|
|
|
|
"text": "ข้อ 1 มนุษย์ทั้งหลายเกิดมามีอิสระและเสมอภาคกันในเกียรติศักด[เกียรติศักดิ์]และสิทธิ ต่างมีเหตุผลและมโนธรรม และควรปฏิบัติต่อกันด้วยเจตนารมณ์แห่งภราดรภาพ",
|
|
|
|
"source": "Universal Declaration of Human Rights",
|
|
|
|
"length": 150,
|
|
|
|
"id": 1
|
2021-03-18 10:43:53 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": "ข้อ 2 ทุกคนย่อมมีสิทธิและอิสรภาพบรรดาที่กำหนดไว้ในปฏิญญานี้ โดยปราศจากความแตกต่างไม่ว่าชนิดใด ๆ ดังเช่น เชื้อชาติ ผิว เพศ ภาษา ศาสนา ความคิดเห็นทางการเมืองหรือทางอื่น เผ่าพันธุ์แห่งชาติ หรือสังคม ทรัพย์สิน กำเนิด หรือสถานะอื่น ๆ\\nอนึ่งจะไม่มีความแตกต่างใด ๆ ตามมูลฐานแห่งสถานะทางการเมือง ทางการศาล หรือทางการระหว่างประเทศของประเทศหรือดินแดนที่บุคคลสังกัด ไม่ว่าดินแดนนี้จะเป็นเอกราช อยู่ในความพิทักษ์มิได้ปกครองตนเอง หรืออยู่ภายใต้การจำกัดอธิปไตยใด ๆ ทั้งสิ้น",
|
|
|
|
"source": "Universal Declaration of Human Rights",
|
|
|
|
"length": 459,
|
|
|
|
"id": 2
|
2021-09-03 20:53:53 +08:00
|
|
|
},
|
|
|
|
{
|
2021-09-11 07:25:55 +08:00
|
|
|
"text": "ข้อ 3 ทุกคนมีสิทธิในชีวิต เสรีภาพ และความมั่นคงของบุคคล.",
|
2021-09-03 20:53:53 +08:00
|
|
|
"source": "Universal Declaration of Human Rights",
|
|
|
|
"length": 55,
|
|
|
|
"id": 3
|
|
|
|
},
|
|
|
|
{
|
2021-09-11 07:25:55 +08:00
|
|
|
"text": "ข้อ 4 ห้ามมิให้ผู้ใดถูกคุมขังเป็นทาสหรือเป็นทาส ห้ามมิให้ค้าทาสและการค้าทาสในทุกรูปแบบ.",
|
2021-09-03 20:53:53 +08:00
|
|
|
"source": "Universal Declaration of Human Rights",
|
|
|
|
"length": 88,
|
|
|
|
"id": 4
|
2021-03-10 02:44:51 +08:00
|
|
|
}
|
|
|
|
]
|
2021-09-03 20:53:53 +08:00
|
|
|
}
|