Commit Graph

16 Commits

Author SHA1 Message Date
AbdBarho 86eac87c19 Add ToS/License Agreement to Website (#1080)
* add new apis to oasst client

* add tos handler

* Add ToS to Dashboard

* use Provider for ToS

* simplify provider

* fix error

* Inject into JWT

* primitive error handling

* update comment

* address review
2023-02-03 20:53:20 +01:00
Keith Stevens 9b611c9f71 Merge pull request #1079 from GuilleHoardings/es-translation-web
Translate strings that were not using i18n yet
2023-02-03 18:07:16 +09:00
notmd 2d2ea2039c Merge branch 'main' into 911_control_email_signin 2023-02-03 13:31:18 +07:00
Guillermo Hoardings 602799881a Translate strings that were not using i18n yet
Only English and Spanish translations have been included.
2023-02-03 01:53:04 +01:00
Andreas Köpf d5c0adba5f fix typo SERCERT -> SECRET 2023-02-02 22:10:50 +00:00
notmd 0b9b8ed927 allow to enable/disable email sigin via env variable 2023-02-02 00:29:46 +07:00
notmd 599d70962e Merge branch 'main' into 911_sigin_captcha 2023-01-29 23:34:04 +07:00
notmd fb26a52c2c allow to enable/disable email signin captcha via env variable 2023-01-29 23:28:26 +07:00
Adrian Cowan ab4dce3f60 website: Support new widget types for labelling (#966)
* website: Support new widget types for labelling

Adds proper support for yes/no spam style questions as well as a simple interface for flag style labels.

Also cleaned up the Task component to fix some rerender issues.

* website: Fix some UI text, adjust yes/no button alignment

* website: Remove left over console.log

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>

---------

Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-01-28 17:07:43 +01:00
Adrian Cowan 356fd775e9 Add emoji reactions and reporting for messages (website) (#952)
* website: Move labelling to message ... menu and add reporting and emoji reactions

We can add more emoji easily in future, we just need to pick ones that we have consistent icons for.

Also added "open in new tab" option so that messages can be navigated to from tasks on mobile.

* website: Make new label and report strings translatable.

* website: Move report api call to oasst client

* small fixes

* pre-commit

---------

Co-authored-by: AbdBarho <ka70911@gmail.com>
2023-01-27 20:52:40 +01:00
notmd 3c9e5388ba add captcha to signin page 2023-01-26 01:00:31 +07:00
notmd a6fcf0dc1e wip 2023-01-25 17:44:59 +07:00
rjmacarthy 54cc7827b6 Add localisation to tasks and dashboard
Fix i18n merge issues

Add blank line dashboard.json

Remove console.log

Alphabeticalise

Pre-commit

Fix i18n key warnings add util function

Fix Task.storties.tsx

Revert pass duplicate prop
2023-01-24 10:41:12 +00:00
notmd 80a7ad0154 typesafe i18n 2023-01-22 23:28:27 +07:00
Keith Stevens b02429c1f7 Tag in the user table when they are new and include it in the user session 2023-01-14 18:55:28 +09:00
Keith Stevens 7e517db934 Fixing the type errors when updating the jwt and session with a role 2023-01-06 20:19:02 +09:00