Commit Graph
1610 Commits
Author SHA1 Message Date
rjmacarthy 3fa2e637d2 Add localization to pages, header and footer
Fix import orders for useTranslation

Apply common translations for header and footer

lint

Fix getServerSideProps messages/id
2023-01-19 19:23:29 +00:00
Andreas Köpf 2d4e38a272 remove ensure_user_is_enabled() from ACK/NACK 2023-01-19 15:36:34 +01:00
Andreas Köpf 488842c3cb purge -> purge_user in path 2023-01-19 15:12:37 +01:00
Andreas Köpf 547e355e27 add update_leaderboard..(), admin/purge/{user-id}/messages, ban param for purge_user() 2023-01-19 15:10:22 +01:00
Andreas KöpfandGitHub ef8a00e682 add GET /api/v1/admin/backend_settings/{full/public} endpoint for api-clients (#830)
* add GET /api/v1/admin/backend_settings endpoint for trusted api-clients

* add backend_settings/public for untrusted api_clients
2023-01-19 11:48:26 +00:00
Andreas KöpfandGitHub 335af5d641 add admin purge user function (#834)
* add admin purge user function

* improve comments

* minor naming changes

* ensuer user is enabled for tasks api requests

* add preview with stats to /admin/purge_user/{id} endpoint

* add update_children_counts()
2023-01-19 12:33:55 +01:00
Keith StevensandGitHub 70febaaa50 Merge pull request #843 from othrayte/is-the-message-spam
website: Change spam question to "Is the message spam?"
2023-01-19 17:24:47 +09:00
Adrian Cowan bde1639e07 website: Change spam question to "Is the message spam?" 2023-01-19 19:10:23 +11:00
Keith StevensandGitHub d228ddae30 Merge pull request #824 from LAION-AI/slider
Restyle slider thumb
2023-01-19 14:23:11 +09:00
Andreas Köpf 7e8d4f5a6e fix only_active condition of tree_message_count_stats() 2023-01-18 22:02:35 +01:00
530194de08 Fix to ranking algorithm (#826)
* fixed ranking

* fix index error

Co-authored-by: Alexander Mattick <alex.mattick@fau.de>
2023-01-18 21:27:16 +01:00
VechtomovandGitHub 9b98056001 change leaderboard ordering (#825) 2023-01-18 21:17:16 +01:00
AbdBarho 13fa1151a0 Restyle slider thumb 2023-01-18 19:10:48 +01:00
Oliver StanleyandGitHub 993ed803cf Merge pull request #807 from olliestanley/745-augment-codet
745: Add notebooks for CodeT datasets augmentation
2023-01-18 17:10:08 +00:00
Oliver b60d5ecb08 Add Colab links 2023-01-18 17:02:16 +00:00
AbdBarhoandGitHub 7a628c81f4 Merge pull request #820 from LAION-AI/web-small-test-cleanup
Moving the page tests into pages directory to simplify tab completion
2023-01-18 15:17:30 +01:00
Thierry DeruyttereandGitHub 0eb9942388 Notebook to convert the DIVERSE dataset (#784)
* Notebook to convert the DIVERSE dataset to Open-Assistant format
2023-01-18 09:09:52 +00:00
Yannic Kilcher 09792e5816 Merge branch 'production' 2023-01-18 08:54:08 +01:00
Yannic Kilcher c05ab42e94 added skip toxicity to playbook 2023-01-18 08:53:01 +01:00
AbdBarhoandGitHub 3be67e777f Merge pull request #819 from LAION-AI/797-udpate-username-web
Cleaning up the username api route and ensuring the users name is fresh
2023-01-18 08:36:28 +01:00
Keith Stevens a5d59339f9 Deleting some function arguments used for debugging 2023-01-18 15:33:27 +09:00
Keith Stevens 289d52e348 Adding a README explaining directory test structure 2023-01-18 15:32:36 +09:00
Keith Stevens 04b14bb24b Moving the test file to a different directory 2023-01-18 15:31:31 +09:00
Keith Stevens 173af6847e Moving the username handler to a ts file 2023-01-18 15:23:24 +09:00
Keith Stevens 67c820d379 Moving the page tests into the pages directory to simplify tab completion 2023-01-18 15:20:53 +09:00
Keith Stevens 5fa1155deb Deleting a decayed cypress auth check 2023-01-18 14:51:06 +09:00
Keith Stevens a15481b03d Cleaning up the username api route and ensuring the users name is fresh 2023-01-18 14:41:29 +09:00
Keith StevensandGitHub 527e1513b1 Merge pull request #779 from rjmacarthy/internal/internationalization
website: Enable i18n internationalization and refactor index page
2023-01-18 14:28:12 +09:00
Keith StevensandGitHub 940cf2617a Merge pull request #789 from rsandb/Style-500-Page
style 500 page
2023-01-18 14:26:24 +09:00
rsandb bc1fdbe89f add task empty state back as it's being used by multiple pages 2023-01-17 21:18:46 -06:00
rsandb 0c1bb8df05 update emptystate to be used in specific pages 2023-01-17 21:14:10 -06:00
Yannic Kilcher 206a667ef4 Merge branch 'main' into production 2023-01-18 01:07:29 +01:00
Andreas Köpf 0e2d52e66b Merge branch 'main' into production 2023-01-18 01:04:06 +01:00
Andreas KöpfandGitHub 718faa098e Add combined TreeManager stats endpoint (#816) 2023-01-18 00:54:19 +01:00
Andreas Köpf acaa56ebb0 fix ranking assert for 1st level children 2023-01-18 00:49:28 +01:00
Nil AndreuandGitHub 98f47f86bc Documentation FAQ (#581)
* [NEW] FAQ module
2023-01-17 22:50:03 +00:00
Yannic Kilcher 04d401d976 Merge branch 'main' into production 2023-01-17 22:46:32 +01:00
Yannic Kilcher 51a1d9a841 fixed white-space issue for messages that contain code 2023-01-17 22:33:23 +01:00
Yannic Kilcher 208ca840ac Merge branch 'main' into production 2023-01-17 22:23:48 +01:00
Yannic Kilcher 18e7eb8876 updated deploy playbook with env variables 2023-01-17 22:23:33 +01:00
Yannic Kilcher da8168c43a Merge branch 'main' into production 2023-01-17 22:00:46 +01:00
Yannic Kilcher 364790947d hacky solution to initial missing username 2023-01-17 21:47:54 +01:00
Oliver 8adc1da6f9 Add notebooks for CodeT datasets augmentation 2023-01-17 20:22:19 +00:00
Keith StevensandGitHub 0a36e459d7 Guarantee all users get a name (#800)
* Guarantee all users get a name and it is used when talking to the backend

* Small code cleanup
2023-01-17 21:12:48 +01:00
6b82b2cd13 Add api auth to user stat repo (#805)
* added api_auth to user_stats_repository

* pre_commit changes

* Remove call with dev uuid

Co-authored-by: Andreas Köpf <andreas.koepf@xamla.com>
2023-01-17 20:07:39 +00:00
Andreas Koepf 0f896d910e make sure we enter READY_FOR_EXPORT after ranking 2023-01-17 17:50:17 +00:00
Yannic Kilcher 59997a573f deploy trigger 2023-01-17 14:29:00 +01:00
Yannic Kilcher 3749791bce moved oasst-postgres 2023-01-17 12:25:26 +01:00
Yannic Kilcher 8ed80525c1 updated backup script 2023-01-17 12:23:42 +01:00
Yannic Kilcher bb032089cc Merge branch 'main' into production 2023-01-17 12:22:38 +01:00