Commit Graph

2029 Commits

Author SHA1 Message Date
Adrian Cowan 8cd5107601 website: cleanup emoji handling, hide all unknown emojis (#1082) 2023-02-03 21:05:41 +09:00
Andreas Köpf 37d4fac904 change formatting 2023-02-03 10:19:04 +00:00
Andreas Köpf af3ec08f71 fix: not timeout for sikpped tasks 2023-02-03 09:43:19 +00:00
Andreas Köpf 6681aedd01 add P_LONELY_CHILD_EXTENSION to workflow vars 2023-02-03 09:36:44 +00:00
Andreas Köpf 03321ccc72 add lonely_children_count, p_activate_backlog_tree & min_active_rankings_per_lang to gh workflow config 2023-02-03 09:17:42 +00: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
Keith Stevens 7578cc5748 Merge pull request #1057 from notmd/911_control_email_signin
Allow to enable/disable email signin via env variable
2023-02-03 17:40:10 +09:00
Keith Stevens 880a1433d9 Merge pull request #1041 from rjmacarthy/feature/delete-message-ui
website: Add delete message feature for admins
2023-02-03 17:34:02 +09:00
Keith Stevens 98924d0b45 Merge pull request #1078 from LAION-AI/hook-types
Add TaskReply types for task hooks
2023-02-03 17:33:24 +09:00
Andreas Köpf 715127e60e change backend default config 2023-02-03 07:47:43 +00:00
AbdBarho e8e3f28665 update hooks 2023-02-03 08:30:19 +01:00
AbdBarho ae829d0e3d update tasks to use types 2023-02-03 08:30:01 +01:00
AbdBarho db5ea75796 Add response types 2023-02-03 08:29:01 +01:00
AbdBarho 95d143ce4d Merge pull request #1072 from notmd/1068_admin_system_config
System config parameter view
2023-02-03 08:08:03 +01:00
AbdBarho 94cbeb84c7 Merge pull request #1076 from GuilleHoardings/es-translation-web
Update Spanish translation of the website
2023-02-03 07:52:39 +01:00
notmd 57812498e5 fix typo 2023-02-03 13:33:20 +07: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
Andreas Köpf 776584503f add new cfg env vars 2023-02-02 22:10:14 +01:00
Guillermo Hoardings 83550b7ac6 Update Spanish translation with the new strings added to the website 2023-02-02 21:46:35 +01:00
Guillermo Hoardings 80d13bb60e Fix Spanish translation of 'dashboard' 2023-02-02 21:20:23 +01:00
Guillermo Hoardings c95bafc498 Add Spanish translations for new strings added 2023-02-02 21:20:23 +01:00
Andreas Köpf 4886626904 fix alembic migration script 2023-02-02 19:41:34 +01:00
Oliver Stanley 652b7bff04 857: Implement backend Discord authentication (#943)
* Initial code for backend auth

* Remove outdated check

* Initial separation of AuthenticatedUser

* AuthenticatedUser -> Account

* Rework for Account

* Initial code for Discord OAuth

* Remove now redundant methods

* Remove incorrect response model, add requests dep for backend

* Create Settings fields for Discord values

* Cleanup get account from Discord function

* Cleanup

* Cleanup

* Generate alembic upgrade script

* Remove unused error codes

* Update alembic script to correct down revision

* Use aiohttp over requests

* Update alembic script to latest down revision
2023-02-02 19:33:21 +01:00
Alex Ott dfd2c35276 Feat/task handler (#1056)
* move task logic to task handlers

* rename command

* remove test code

* rename classes and add missing handler creations

* switch task back to random and fetch log_channel_id from db
2023-02-02 17:28:00 +01:00
Andreas Köpf 2db3450e9a add trollboards 2023-02-02 16:10:38 +01:00
rjmacarthy e9add425e6 Add delete message feature
Remove deleted property from Message

Add dedicated route for delete_message

Pre-commit

Revert change to promp_repository fetch_message

Remove blank line
2023-02-02 13:33:22 +00:00
notmd fa9a0cc776 fix build 2023-02-02 20:26:24 +07:00
notmd 28ee771a97 System config parameter view 2023-02-02 20:23:00 +07:00
Keith Stevens fa53505369 Merge pull request #1069 from LAION-AI/flag-label-desciptions
website: show descriptions for label flags
2023-02-02 21:09:53 +09:00
Keith Stevens 242a1e6f3d Merge pull request #1066 from LAION-AI/hide_system_emojis
hide system emojis starting with '_'
2023-02-02 21:06:27 +09:00
AbdBarho 2d10c9f72b Merge pull request #1067 from notmd/side_menu_regression
fix side menu regression
2023-02-02 11:36:10 +01:00
Adrian Cowan b1d86ebc65 website: show descriptions for label flags
Desciptions are shown both via tooltips, which are easier to read on desktop browsers, and via an explain (i) button so that mobile users can get the description (though in one larger list).
2023-02-02 21:34:35 +11:00
notmd 6019b93971 update workflow env 2023-02-02 16:35:06 +07:00
Andreas Köpf c84453900f simplify destructuring
Co-authored-by: notmd <33456881+notmd@users.noreply.github.com>
2023-02-02 10:23:06 +01:00
AbdBarho e1f52c76d7 Merge pull request #1051 from notmd/bundle_analyzer
Setup bundle analyzer
2023-02-02 10:13:09 +01:00
notmd 9fa22be66e fix side menu regression 2023-02-02 16:07:45 +07:00
Vechtomov cbf3c22560 Add new datasets contribution guide (#1061)
* Add readme

* change link in CONTRIBUTING
2023-02-02 07:52:39 +01:00
Andreas Köpf aa39019e1c hide system emojis starting with '_' 2023-02-02 00:23:33 +00:00
Andreas Köpf 5f7013fb81 add '_' prefix to special emoji codes, fix skip rankings 2023-02-02 00:51:20 +01:00
Andreas Köpf f4b534eb17 no task ack check for skip 2023-02-02 00:27:27 +01:00
Andreas Köpf d33fb9ce88 fix alembic downgrade script of 7b8f0011e0b0 2023-02-02 00:15:49 +01:00
Andreas Köpf 779f522385 Skip tasks permanently based on special skip emoji codes (#1064)
* add skip emojis

* extend tree_manager queries to exclude tasks based on skip-emojis

* remove unrelated columns

* change skip_reason max_length to 512

* update down_revision to 55361f323d12
2023-02-02 00:07:08 +01:00
Andreas Köpf bbf038677c Add terms of service acceptance date to user table (#1046)
* add tos_acceptance_date column to user

* send 451 UNAVAILABLE_FOR_LEGAL_REASONS status

* add create user REST endpoint

* adapt text-frontend to ToS requirements

* set DEBUG_IGNORE_TOS_ACCEPTANCE default to True (temporary change)

* update down revision to f60958968ff8
2023-02-01 23:53:21 +01:00
Andreas Köpf e0df9f0b7c Add infty prompting + prompt-lottery (#1055)
* first bits of prompt-lottery

* add tree prompt lottery

* minor text changes
2023-02-01 23:49:21 +01:00
AbdBarho 638d8c1572 Merge pull request #1059 from occupytheweb/1058_fix__instruction_not_displayed
1058: Fix display of task instruction
2023-02-01 21:49:25 +01:00
Alan Jean 91d3045595 fix(website): fix display of task instruction
Fixes the misuse of the i18n lib which caused the task instruction not
to appear above the response text-area when an 'instruction' translation
key exists for the current task.

Fixes #1058
2023-02-01 23:00:00 +04:00
notmd 0b9b8ed927 allow to enable/disable email sigin via env variable 2023-02-02 00:29:46 +07:00
notmd ff94e3a6e0 support window 2023-02-01 20:30:04 +07:00