Commit Graph

2138 Commits

Author SHA1 Message Date
Andreas Köpf a272ec26c5 exclude banned users from leaderboard 2023-02-08 20:13:49 +01:00
Keith Stevens 07b58d4021 Switching username generator library to be less explicit (#1351) 2023-02-08 18:32:25 +01:00
chronikum d35220c702 Remove the automatic refreshing interval when in message tree (#1353)
Co-authored-by: Jonathan Fritz <fritz@nosc.io>
2023-02-08 18:31:11 +01:00
Jacopo Zacchigna c66c0249ed fixing typo in italian translation (#1356)
* fixing typo in italian translation

* changing double negation
2023-02-08 18:28:17 +01:00
Keith Stevens 7c5f4635d7 Force full page reload on language change (#1291) 2023-02-08 18:19:06 +01:00
Keith Stevens c9d283a1ff update the backend path to manage user status (#1294) 2023-02-08 13:41:15 +01:00
Adrian Cowan db76b0b1fa website: Use existing translations of language names (#1349)
Removed language.json translation file as we don't really need it anymore, just moved the couple of remaining items into tasks.json

I also reverted the change where I created lang_mismatch_lang and lang_mismatch_lang.explanation because we don't actually need two different strings and it was causing an issue where it would show a mix of english and the users language rather than just show the existing "Wrong language" text that is probably a better intermediate until the translations are updated. Let me know if there is a better way to handle updating the source english text for translations.
2023-02-08 19:43:50 +09:00
notmd e6b574e177 fix side meunu layout overflow (#1346) 2023-02-08 19:42:40 +09:00
Adrian Cowan b733471161 website: Fix broken page when detected language not in list. (#1345) 2023-02-08 19:42:11 +09:00
Andreas Köpf 35a2c58565 add trailing slash to text_labels post path 2023-02-08 09:34:17 +00:00
Adrian Cowan 8cbe197d1b website: "Wrong Language" -> "Not {lang}" (#1300)
Change the "Wrong Language" labelling flag to instead say "Not English", "Not French" etc depending on the messages tagged language
2023-02-08 19:23:53 +11:00
notmd 7175ce364c Hide message reaction count when user not reacted yet (#1303)
close #1252
Also add a copy message link feature
2023-02-08 15:28:37 +09:00
worldworm ab779352f0 fixes German translation typo (#1328) 2023-02-08 14:09:17 +09:00
Jordi ecc6dbab54 typos (#1330)
Co-authored-by: losnaj <losnaj@users.noreply.github.com>


I've just fixed some typos on the initial version
2023-02-08 14:09:07 +09:00
OpenEvil___ 8d8932bab0 Full Russian Translation (#1305)
Fully translated locales for "ru" in "/website/public/locales/ru/"
2023-02-08 13:59:22 +09:00
notmd a46e4a2bb1 implement trollboard UI (#1301)
* implement trollboard UI

* remove unneeded code

* add link to user

* user link in leaderboard
2023-02-08 13:49:00 +09:00
theblackcat102 59dbfea48f Merge pull request #1262 from jackapbutler/create-tokeniser-configs
Add tokenizer config classes
2023-02-08 09:34:57 +08:00
theblackcat102 45c1c146cc Merge pull request #1322 from hyunwoongko/add_gelu_fusion
Add gelu fusion
2023-02-08 09:29:25 +08:00
Andreas Köpf 5d2e8a245e fix flagged_message upsert logic 2023-02-08 00:52:05 +01:00
Graeme Harris 66b7ed2b9b 968 add flagged message table and endpoints (#1325)
* Added flagged message table

* Added alembic migration and updated imports to match style

* Added GET endpoint to query all flagged messages

* Updates from linter

* Added POST endpoint for processing flagged messages

* Added pydantic interface model and fixed limit update bug

* fixed session in admin endpoint and added require session refresh for returned update

* removed unused import
2023-02-07 22:39:24 +01:00
Andreas Köpf 1153734edb Allow to export filtered by tree state and/or only prompts (#1314)
* allow to export filtered by tree state and/or only prompts

* formatting

* add option to filter by lang code

* remove old export code

* export as list in only-deleted case
2023-02-07 22:17:36 +01:00
hyunwoongko 802c91a5af remove useless file 2023-02-08 03:51:23 +09:00
hyunwoongko cb722768f7 Apply pre-commit 2023-02-08 03:50:27 +09:00
hyunwoongko 44c555cad1 Add gelu fusion 2023-02-08 03:45:22 +09:00
Andreas Köpf 363a3a1244 Ignore up/down votes (emojis) for own messages (#1302)
* ignore up/down votes (emojis) for own messages

* add 'user_is_author' bool porperty to protocol.ConversationMessage
2023-02-07 16:40:25 +01:00
Andreas Köpf 22b7fa7152 Prevent ranking of own messages (#1267) 2023-02-07 16:39:58 +01:00
Andreas Köpf 3d0ac2c0f0 add sql snippet to get msg trees by lang in ready_for_export or growing state 2023-02-07 16:08:58 +01:00
Andrew Maguire b493256b60 Update README.md (#1277)
Add more prominent/obvious link to docs site. People can easily miss it if it's just in the readme badges.
2023-02-07 13:59:48 +01:00
Oliver Stanley 68c6751145 Clarify what README Docker instructions are for (#1276) 2023-02-07 13:55:59 +01:00
Adrian Cowan 52af7ba13b website: show language in text area (#1296)
* website: show language in text area

When the language hasn't been detected (too little text) the langauge that it will be submitted as is shown. When we detect the language is not what will be submitted we show the detected language in red. The tooltip informs the user that they don't appear to be writing in the correct language.

Note: this replaces the modal dialog that we use to popup if the language appeared to differ.

* website: Don't suggest the user change the language
2023-02-07 20:17:53 +09:00
Saifeddine ALOUI ab82da7d74 Enhanced French and arabic Locales (#1273)
I have updated the French and arabic locales by enhancing some expressions as didn't sound good when I read them in the final product.
2023-02-07 20:07:49 +09:00
Pavel Mokin 801b47949c Scroll to the top every time we get a new task (#1293) 2023-02-07 20:06:43 +09:00
AbdBarho e2327295af Fix error in user stats when loading (#1290)
there was no check for waiting the data to be fetched, worked locally, not when deployed.
2023-02-07 19:57:35 +09:00
notmd b7d0c4331c Ts strict mode (#1288)
part of #879
2023-02-07 19:56:59 +09:00
jack.butler eb1c4ada2a rename arg name to model_name 2023-02-07 09:19:24 +00:00
notmd 5d10b28b20 fix leaderboard when current user doesn't have stats (#1289) 2023-02-07 08:17:21 +01:00
AbdBarho 201a9669e0 Localize the dashboard (#1265) 2023-02-07 14:51:52 +09:00
AbdBarho 1938f4d3a7 Add missing keys to all locales (#1264) 2023-02-07 14:51:10 +09:00
notmd 952e021c88 Show current user rank in leaderboard (#1263)
close #1000 maybe #1178 too

*  Show current user rank in the leaderboard with +-1 user (only on leaderboard 
*  Extend auto_main script to use random user.
*  Support colSpan in the DataTable component (I haven't verified colSpan in header yet, leave that until we need it)
*  Refactor OasstError to include the path and request method.
2023-02-07 14:49:50 +09:00
KyattPL 931e12f31e Added Polish language locale (#1250) 2023-02-07 14:46:20 +09:00
Yichao 'Peak' Ji 8ed1451b73 Add Chinese translation (#1245) 2023-02-07 11:48:35 +09:00
AbdBarho 0ef36e81be Basic user stats in the accounts page (#1158)
Closes #747
Blocked by #1156 #1166

Very simplistic, not much styling
2023-02-07 08:10:35 +09:00
Oliver Stanley cf4c8e70ce 1184: Add dedicated export.py (#1270)
* Add export script
2023-02-06 21:29:30 +00:00
Mehdi Zibout 3d221f8925 Expose thumbs up/down buttons in the message table (#1185)
* Expose thumbs up/down buttons in the message table

* show thumbs up/down count only when its greater than 0
2023-02-06 20:59:22 +01:00
jack.butler dc7f255f01 add tokenizer config classes 2023-02-06 17:58:55 +00:00
MrlolDev 5943efceff fix: translation in spanish (#1246) 2023-02-06 18:41:07 +01:00
Jacopo Zacchigna a5d6247ef4 Adding Italian Translation (#1244)
* Adding Italian Translation

* formatting in website/next-i18next.config.js
2023-02-06 18:39:06 +01:00
Igor Kasianenko 8f19a79146 uk-UA proofread fix (#1240) 2023-02-06 20:53:00 +09:00
MrlolDev b85f7c0734 fix: removed title on the navbar in the mobile view (#1236) 2023-02-06 20:52:36 +09:00
danivfe 81167f69d5 Add Catalan Language (#1212)
* Add Catalan Language
2023-02-06 20:42:18 +09:00