Andreas Köpf
effbde407a
increase db pool size
2023-02-04 18:28:17 +01:00
AbdBarho
b724b37d4c
Fix ToS page in dark mode ( #1091 )
2023-02-04 14:39:50 +01:00
Andreas Köpf
af0711e505
include initial prompt review in user stats
2023-02-04 14:36:29 +01:00
Andreas Köpf
f547aa07fa
retain completed tasks after expiry
2023-02-04 14:02:54 +01:00
Keith Stevens
ef5b9d7757
Fixing the way we generate the backenduser object during jwt creation ( #1090 )
2023-02-04 08:18:19 +01:00
Andreas Köpf
ad6c39b81a
Auto-moderation & remaining v1 fixes ( #1089 )
...
* add expiry date for tasks and periodic removal, fix purge user messages sibling ranking counts
* add auto-moderation feature
* fix doc strings
* fix bad message query
* add debug log on insert message
* fix >= comparison
2023-02-03 23:48:45 +01:00
Andreas Köpf
323432c150
update LAION's address
2023-02-03 22:31:39 +00:00
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
Richard Macarthy
d17c87155d
Fix ssr locale issue with side menu ( #1086 )
...
Remove unused key Success
2023-02-03 17:13:18 +01:00
Andreas Köpf
49e4a38191
fix incomplete rankings query
2023-02-03 14:27:34 +00:00
Adrian Cowan
0a9f0aea92
website: Fix bug introduced into optimised build in recent emoji cleanup ( #1085 )
...
The issue was the omtimised build was optimising the "+1" object key name to just "1" causing the context menu to try to shown an undefined emoji icon.
2023-02-03 14:21:13 +01:00
Richard Nagyfi
f38897614e
Added Hungarian locale for website ( #1081 )
...
- added localization files
- ran pre-commit to ensure the JSONs are correctly formatted
- updated next-i18.next.config.js as advised on discord
2023-02-03 21:06:33 +09:00
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