mirror of
https://github.com/hanzoai/team.git
synced 2026-09-30 01:57:35 +00:00
* AutoTranslate config settings * comment out Agents provider * Add auto translate timeout config validation * i18n messages for autotranslation config validation * fix test * validate url for libreTranslate * Feedback review * Admin Console UI for Auto-Translation * fix admin console conditional section display * i18n * removed unintentional change * update admin.general.localization.autoTranslateProviderDescription newline * fix lint * Fix types * UX feedback review * fix typo in i18n * Fix AutoTranslation feature flag * feedback review * Fix test default values * feedback review * re-add isHidden property to feature discovery * Database Migrations, Indexes and Methods for Auto-Translation * i18n * fix retrylayer and storetest * Fix search query * fix lint * remove the request.CTX and modify Translation model * fix lint and external url * Add settings to playwright * Add empty as a valid value for the Provider * Update jsonb queries * Fix queries and add model methods * fix go lint * go lint fix 2 * fix db migrations * feedback review + store cache * increase migration number * cleanup autotranslation store cache * use NULL as objectType for posts * fix bad merge * fix tests * add missing i18n * Active WebSocket Connection User Tracking * copilot feedback and fix styles * remove duplicate calls * remove early return to mitigate timing attacks * Switch prop bags column to boolean * fix lint * fix tests * Remove database search * use Builder methods * review feedback * AutoTranslation interface with Core Translation Logic * update timeouts to use short/medium/long translations * external exports * add configured languages to autotranslations * added post prop for detected language * fix bugs for storing translation and call translation service * clean up interface * add translations to GetPost repsonses and in the create post response * use metadata for translation information and add new column for state of a translation * change websocket event name * change metadata to a map * single in memory queue in the cluster leader * remove unused definition * Revert "remove unused definition" This reverts commit8634f53bef. * remove webhub changes * remove last webhub bit * tidy up interface * Frontend integration * tidy up * fix api response for translations * Add Agents provider for auto translations (#34706) * Add LLM backed autotranslation support * Remove AU changes * Remove orphaned tests for deleted GetActiveUserIDsForChannel The GetActiveUserIDsForChannel function was removed from PlatformService as part of the autotranslations refactoring, but its tests were left behind causing linter/vet errors. This removes the orphaned test code: - BenchmarkGetActiveUserIDsForChannel - TestGetActiveUserIDsForChannel - waitForActiveConnections helper * Add missing i18n translations and fix linter errors - Add 17 missing translation strings for autotranslation feature - Fix shadow variable declarations in post.go and autotranslation.go - Remove unused autoQueueMaxAge constant - Remove unused setupWithFastIteration test function - Use slices.Contains instead of manual loop - Use maps.Copy instead of manual loop - Remove empty if branch * Fix tests * Fixes for PR review * add files * Update webapp/channels/src/components/admin_console/localization/localization.scss * fixes * Fixes * Didn't save * Add a translation * Fix translations * Fix shadow err --------- * tidy up code for review * add support for editing posts * i18n-extract * i18n * Rename show translations and add util to get message * Fix get posts, migrations, websockets and configuration styles * Fix CI * i18n-extract * Fix webapp tests * Address UX feedback * i18n-extract * Fix lint * updated shimmer animation, fixed issue with the width on compact icon buttons * fix migrations * fix markdown masking for bold, italics and strikethrough * Address feedback * Add missing changes * Fix and add tests * Fix circular dependencies * lint * lint * lint and i18n * Fix lint * Fix i18n * Minor changes * Add check for whether the channel is translated or not for this user * Fix lint and add missing change * Fix lint * Fix test * Remove uneeded console log * Fix duplicated code * Fix small screen show translation modal * Remove interactions on show translation modal * Disable auto translation when the language is not supported * Fix typo * Fix copy text * Fix updating autotranslation for normal users * Fix autotranslate button showing when it shouldn't * Fix styles * Fix test * Fix frontend member related changes * Revert post improvements and remove duplicated code from bad merge * Address feedback * Fix test and i18n * Fix e2e tests * Revert lingering change from post improvements * Fix lint --------- (cherry picked from commit507a93a0f6) Co-authored-by: Daniel Espino García <[email protected]> Co-authored-by: Elias Nahum <[email protected]> Co-authored-by: BenCookie95 <[email protected]> Co-authored-by: Nick Misasi <[email protected]> Co-authored-by: Matthew Birtch <[email protected]> Co-authored-by: Hanzo Dev <[email protected]>