mirego/accent
43.9
Weak · 13 November 2026
28.4k
lines of production code
Elixir
with TypeScript
7
measurements over time
What this system is
This system is a comprehensive localization platform that manages translation workflows for software projects through a web interface, a command-line tool, and a Just-In-Place Translation kit. It supports a wide variety of file formats and integrates with external services for machine translation, AI-assisted editing, and cloud storage. The platform facilitates collaboration by handling versioning, conflict resolution, and quality assurance via configurable linting rules, while providing real-time updates and secure access control for teams.
How it got here
2018 — Architecture overhaul and platform modernization
93 changes.
This period focused on a comprehensive architectural overhaul, migrating the backend from Phoenix to Bandit, replacing custom background job systems with Oban, and implementing OpenTelemetry for observability. The project simultaneously modernized its development infrastructure with Docker and GitHub Actions, and upgraded the frontend webapp to TypeScript with a Vite-based build system. These changes were accompanied by significant feature expansions, including new cloud storage integrations, machine translation capabilities, and a robust linting system.
2019–2023 — CLI expansion and AI integration
39 changes.
This period focused on significantly expanding the CLI tooling with a monorepo structure, new workflow commands, and JIPT support, while introducing a comprehensive machine translation system with Google and DeepL providers. The platform also integrated AI-driven prompt capabilities, a configurable linting engine with LanguageTool, and robust notification hooks for Slack and Discord.
2024–2026 — GraphQL migration and cloud integrations
16 changes.
The project migrated its web application to a real-time architecture by replacing legacy data-fetching patterns with Apollo GraphQL subscriptions and global state services. Concurrently, it expanded backend capabilities by introducing execution modules for AWS S3 and Azure Storage integrations, alongside new hook events and outbound helpers for external system communication.
Features
Add ES6 module formatter with placeholder support
A new ES6 module formatter has been added to the Langue library, enabling the formatting of JavaScript files using the ES6 module syntax. The formatter identifies translation entries by parsing the file structure and supports interpolation placeholders using the \{{...}}\ pattern, allowing for dynamic content within translation strings.
_lib/langue/formatter/es6\module · high confidence
Add Go i18n JSON formatter support
Users can now format and parse Go i18n JSON files using the new Go I18n JSON formatter. This addition includes a parser that handles both singular and plural translation entries, and a serializer that correctly nests plural forms under their parent keys in the output JSON.
_lib/langue/formatter/csv, lib/langue/formatter/go\_i18n\json · high confidence
Add LanguageTool integration for spelling and grammar linting
This change introduces a new LanguageTool integration to provide accurate spelling and grammar checks. It adds a new \vendor/language\_tool\ component that vendors the LanguageTool Java library and implements a custom Kotlin application (\App.kt\) to communicate via an OTP Port. The Elixir side includes a GenServer (\LanguageTool.Server\) to manage the port lifecycle, a public API (\LanguageTool.check/3\) with caching and telemetry, and an \AnnotatedText\ module to handle HTML and placeholder masking. This enables performant, local spell-checking capabilities within the application.
_vendor/language\tool · high confidence
Add Laravel PHP and Simple PHP translation formatters
Users can now format and serialize translation entries for PHP-based projects using two new formatters: 'Laravel PHP' and 'Simple PHP'. The Laravel PHP formatter parses and serializes PHP associative arrays (using PhpAssocMap) and supports placeholder detection, replacing the previous Rails/YAML-based parser logic. The Simple PHP formatter provides a basic alternative for parsing and serializing standard PHP key-value arrays. These additions expand the platform's support for PHP localization workflows.
_lib/langue/formatter/laravel\php · high confidence
Add PSQL Extras metrics and Language Tool integration to Telemetry UI
The Telemetry UI now includes a new 'PSQL Extras' section that displays database health metrics such as table bloat, cache hit rates, connection counts, and index usage by integrating the EctoPSQLExtras library. Additionally, a 'Language Tool' section has been added to monitor spell-check performance, tracking the number of checks and their duration over time, broken down by language code.
_lib/accent/telemetry\ui · high confidence
Add RESX 2.0 format support
Users can now format RESX 2.0 files. This change introduces a new formatter identified as 'resx\_2\_0' that parses XML-based resource files into internal entries and serializes them back, including support for metadata, assembly references, and resheaders specific to the 2.0 specification.
_lib/langue/formatter/resx\_2\0 · high confidence
Add TypeScript definitions for ember-in-viewport service
Added TypeScript declaration files for the ember-in-viewport service, enabling type-safe usage of viewport detection features such as watching element entry and exit events within the application.
webapp/types/ember-in-viewport · high confidence
Add TypeScript type definitions for ember-cli-flash
The webapp now includes TypeScript declaration files for the ember-cli-flash library, providing type safety for the Flash service and its message options. This allows developers to receive compile-time checks and autocompletion when using flash message methods like success, info, and error, as well as configuring options such as timeout and sticky behavior.
webapp/types/ember-cli-flash · high confidence
Add example for handling dots in slug directories
Added a new CLI example demonstrating how to configure slug-based localization paths when directory names contain dots. The example includes English and French localizable strings and an accent.json configuration that maps source files to target paths using the %slug% placeholder, illustrating the correct handling of dot-containing directory names in the localization pipeline.
cli/examples/dot-in-slug-directory · high confidence
Add iOS CLI example with localization configuration
An example project for the iOS CLI tooling has been added, demonstrating how to configure localization file processing. The example includes a configuration file (accent.json) that defines how to map source strings files to localized targets using slugs, along with sample English and French Localizable.strings files to illustrate the expected input format.
cli/examples/ios · high confidence
Add project hook events for review completion, new conflicts, and sync operations
New hook event handlers have been added to the \lib/hook/events\ directory to trigger actions based on specific project state changes. The \complete\_review\ event fires when all translations have been reviewed, the \new\_conflicts\ event triggers when the number of conflicts increases (providing the count of new conflicts), and the \sync\ event activates during batch sync operations with multiple operations. These events allow external systems to react to these specific milestones in the project lifecycle.
lib/hook/events · high confidence
Added CLI example for core translation merging and unmerging
A new example located in cli/examples/core demonstrates how to manage bilingual (English and French) translation files using a Ruby script. The example includes a configuration file (accent.json) that defines hooks for merging separate language JSON files into a single structure and unmerging them back, along with the core.rb script implementing the merge/unmerge logic and a sample translations.json file.
cli/examples/core · high confidence
Added GitLab OAuth authentication strategy
Users can now authenticate with GitLab via the new Ueberauth strategy. This adds the necessary OAuth2 client configuration and strategy implementation to handle the authorization flow, including fetching user details and managing tokens from GitLab.
_vendor/ueberauth\_gitlab\strategy · high confidence
Added JIPT project scope example
A new example demonstrating the Just In Place Translation Kit (JIPT) has been added to the project scope. This includes an HTML entry point (\index.html\) that initializes the Accent translation service and a TypeScript entry point (\index.ts\) that bridges the service's queue to the local Accent implementation. A \tsconfig.json\ is also provided to configure the TypeScript compiler for this example, targeting ES2022 and including the relevant source and test directories.
jipt · high confidence
Added Phoenix CLI example configuration and sample translations
The repository now includes a concrete example for the Phoenix CLI tool, featuring an \accent.json\ configuration file that defines API connection details and gettext file mapping rules, alongside sample English and French \.po\ translation files to demonstrate usage.
cli/examples/phoenix · high confidence
Added dummy authentication strategy for Ueberauth
A new dummy authentication strategy has been added to the Ueberauth integration, allowing the system to accept login credentials based solely on an email parameter from the request. This strategy extracts the user's email from the connection parameters to populate the user ID, info, and extra fields, facilitating simplified or internal authentication flows without requiring a third-party provider.
lib/accent/auth/uberauth · high confidence
Added live translation mutation handling for dynamic content
The JIPT module now includes new \LiveNode\ and \Mutation\ components that actively monitor the DOM for changes. These components detect newly added nodes or modified attributes/text content, identify translation markers, and apply the corresponding translations in real-time. This ensures that dynamically injected content is automatically translated and styled consistently with the rest of the page.
jipt/src/mutation · high confidence
Added machine translations configuration manager
A new manager module has been introduced to handle the persistence of machine translation settings for projects. Users can now save or delete specific configuration parameters—including the provider, API key, enabled actions, and platform usage preference—directly through this dedicated service, which manages the underlying database transactions for these project attributes.
_lib/accent/machine\_translations\config · high confidence
CLI entry points added to support oclif-based monorepo structure
The repository now includes dedicated CLI entry point scripts (dev.cmd, dev.js, run.cmd, run.js) within the cli/bin directory. These files serve as the execution interface for the command-line tool, leveraging the @oclif/core library to handle command execution in both development and production modes. This change establishes the necessary infrastructure for the CLI to function as part of the monorepo, allowing users to run commands via standard node execution paths.
cli/bin · high confidence
Enhanced Gettext support and new XLIFF 1.2 formatter
The Gettext formatter now supports plural forms and message contexts (msgctxt), preserving newlines in translations and correctly handling plural header generation. Additionally, a new XLIFF 1.2 formatter has been added, enabling parsing and serialization of XLIFF 1.2 files for import and export workflows.
lib/langue/formatter/gettext · high confidence
Expanded GraphQL API with linting, integrations, and translation features
The GraphQL API has been significantly extended to support new product capabilities. Users can now manage API tokens and view authentication providers. Project integrations (Slack, Discord, Azure Storage, AWS S3) are exposed with detailed execution history and state tracking. A new linting system allows checking translations for spelling, style, and placeholder issues, with results exposed via dedicated fields. Machine translation and AI prompt capabilities are now queryable, including configuration and text translation. Translation objects now support additional value types (HTML, float), placeholders, locked states, and file comments. The API also introduces grouped translations, advanced filtering for documents and revisions, and a new 'translator' role.
lib/graphql/types · high confidence
Expanded GraphQL mutation capabilities for project management and integrations
This update significantly expands the GraphQL API surface in the mutations layer, introducing new operations and refining existing ones. Users can now manage API tokens (create/revoke), configure machine translation providers, and utilize AI prompts to improve text. Project settings are enhanced with support for custom branding (main color, logo) and a new 'fix lint translations' action. Version management now supports deletion and mirroring updates to the latest version via 'copy\_on\_update'. The integration layer has been refactored to support Azure Storage Container and AWS S3 with specific target version options, alongside new linting entry mutations (create, update, delete). Additionally, comment and document mutations now support updates and deletions, and translation settings can be updated directly.
lib/graphql/mutations · high confidence
Expanded translation capabilities and integration tracking
This update introduces several new data structures and schema fields to support advanced translation workflows. Users can now track integration execution history via the new \IntegrationExecution\ schema and link it to integrations. Translation entries now support plural forms, locked states, and placeholders, with corresponding fields added to the \Translation\ and \Operation\ schemas. Project-level configuration has been extended to include machine translation settings, AI prompts, and linting rules (via \ProjectLintEntry\ and \TranslationLint\). Additionally, the system now supports RTL languages, language overrides in revisions, and version sync mirroring via the \copy\_on\_update\_translation\ flag on versions. Access tokens now support global scopes and custom permissions, and collaborator emails are strictly validated for uniqueness.
lib/accent/schemas · high confidence
GraphQL API surface expanded with new queries and mutations
The webapp's GraphQL interface has been significantly expanded to support new product capabilities. New queries include \ActivityActivities\ and \ProjectActivities\ for detailed activity tracking, \Conflicts\ for conflict resolution with linting data, \IntegrationExecutions\ for monitoring service integrations (AWS S3, Azure, Slack, Discord), and \LintTranslations\ for spelling and style checks. New mutations enable version management (\VersionCreate\ with \copyOnUpdateTranslation\), project configuration (\ProjectMachineTranslationsConfigSave\, \ProjectPromptConfigSave\), and operational actions like \CorrectAllRevision\, \FixLintTranslations\, and \ApiTokenCreate\. The API now also supports managing collaborators, comments, and project prompts.
webapp/app/queries · high confidence
Introduce API token management and usage tracking
Users can now create, list, and revoke API tokens for projects. The system supports custom permissions scoped to the user's role and automatically creates a corresponding bot collaborator record. Token revocation is handled via a soft-delete mechanism using a \revoked\_at\ timestamp. Additionally, the platform now tracks API token usage by buffering access timestamps and flushing them to the database in batches every minute to minimize write overhead.
_lib/accent/api\tokens · high confidence
Introduce Just-In-Place Translation (JIPT) kit for in-app editing
Adds a new Just-In-Place Translation (JIPT) kit that allows users to translate content directly within the project's application. The implementation initializes a core Accent module that sets up a UI overlay, a frame listener for communication with the parent window, and a mutation observer to handle live DOM changes. This enables real-time translation updates and style adjustments without leaving the current page context.
jipt/src · high confidence
Introduce Just-in-Place Translation (JIPT) UI components
This change adds the core UI layer for the Just-in-Place Translation kit, introducing TypeScript-based components that enable direct translation within the application. The new \Pin\ component provides a floating action button that appears on hover to select text nodes for translation, while the \UI\ class manages the embedded editor frame, overlay, and state persistence (including a disable toggle via localStorage). Styling is handled via inline styles in \styles.ts\ to prevent conflicts with the parent window, and unique class names are generated in \random-class.ts\ to ensure isolation.
jipt/src/ui · high confidence
Introduce Simple JSON formatter with placeholder support
A new Simple JSON formatter has been added to the application, allowing users to format translation data using a simple JSON structure. This formatter leverages the existing JSON parser and serializer infrastructure but introduces specific placeholder parsing logic via the \Langue.Utils.Placeholders\ module, ensuring that placeholders are correctly handled during the parsing phase. The formatter is registered with the ID 'simple\_json' and uses the '.json' extension.
_lib/langue/formatter/simple\json · high confidence
Introduce configurable AI prompt provider system
Added a new \Accent.Prompts\ module that allows users to configure which AI provider handles prompt completions. The system supports selecting between providers (currently OpenAI) via configuration, with a fallback to a default provider defined in application settings. It also introduces a \use\_platform\ flag to determine whether to fetch provider-specific configuration from the platform defaults or use inline config, and includes telemetry tracking for completion requests.
lib/prompts · high confidence
Introduce extensible AI prompt provider architecture
The application now supports an extensible provider system for AI-driven prompt completions, allowing users to leverage external language models for text improvements. This change introduces a new \Accent.Prompts.Provider\ protocol and a concrete implementation for OpenAI, which processes user input against system instructions to suggest corrections or enhancements. A fallback \NotImplemented\ provider is also included to handle cases where no provider is active, ensuring the system remains stable even without a configured AI backend.
lib/prompts/provider · high confidence
Introduce line-by-line translation file parser and serializer
Added new parser and serializer modules to handle line-by-line processing of translation files. The parser extracts key-value pairs and comments, automatically determining the value type for each entry, while the serializer reconstructs the file format, preserving comments above their corresponding entries. This enables more granular handling of translation resources, supporting features like inline comments and specific value type detection.
_lib/langue/utils/line\_by\_line\helper · high confidence
Introduce machine translation service with Google Translate and DeepL support
Added a new machine translation capability that allows users to automatically translate text entries using external providers. The implementation in lib/machine\_translations introduces a core translation module that supports Google Translate and DeepL, handling configuration via provider settings. It includes logic to chunk large batches of entries (100 at a time), filter out untranslatable strings (empty, null, or exceeding 2000 characters), and manage language code fallbacks for split slugs (e.g., 'en-US' falling back to 'en'). The service also integrates telemetry for tracking translation actions and errors.
_lib/machine\translations · high confidence
Introduce prompt configuration and management logic
Added new modules to handle AI assistant prompt settings and prompt lifecycle operations. The PromptConfigManager allows saving and deleting project-level prompt configurations, including provider and platform usage flags. The PromptManager provides create, update, and delete operations for individual prompts, ensuring content is required and associating prompts with projects and users.
_lib/accent/prompt\config · high confidence
Machine translation integration and versioned sync support
The movement layer now supports automatic machine translation during project syncs, allowing users to have translations generated by an external provider when enabled in project settings. Additionally, the system now handles versioned translations, linking new translations to their source versions and preserving version history during sync operations. The migration process has been refactored to use batched SQL operations for improved performance, and the comparer logic now supports passive and smart merge strategies for handling conflicts during sync.
lib/movement · high confidence
New AWS S3 and Azure Storage integration execution modules
This change introduces the core execution logic for pushing translations to cloud storage providers. It adds \AWSS3\ and \AzureStorageContainer\ modules that handle uploading translated documents via HTTP PUT requests, including specific handling for AWS S3 region subdomains (e.g., \us-east-1\) and Azure SAS token authentication. A new \UploadDocuments\ module provides the shared functionality to fetch project versions, documents, and translations, render them into files, and construct the target URLs for these uploads.
lib/accent/integrations/execute · high confidence
New CLI commands for export, format, lint, stats, sync, and JIPT
The CLI now includes dedicated commands for managing translation workflows: \export\ writes files from Accent to the local filesystem with optional version and ordering flags; \format\ applies server-side formatting to local files and reports changes; \lint\ checks local files for translation errors and exits with code 1 on issues; \stats\ fetches project statistics from the API, supports version filtering, and can fail the build if review or translation percentages are not 100%; \sync\ synchronizes files between Accent and the local filesystem with options for dry-run, merge strategies, and adding translations; and \jipt\ exports JIPT (Just-In-Place Translation) files for a specified pseudo-language. All commands support a \--config\ flag to specify a custom configuration file.
cli/src/commands · high confidence
New CLI output formatting and status reporting services
The CLI now uses a dedicated set of formatter classes in \cli/src/services/formatters\ to handle user-facing console output. This includes structured logging for project sync, export, and lint operations, providing detailed status updates such as file paths, translation counts, and linting errors with specific check descriptions (e.g., placeholder mismatches, trailing spaces). A base timing utility formats operation durations in milliseconds for sync, export, format, and lint commands. Additionally, a hook runner formatter displays command execution status (success/error) and a commit operation formatter logs local file changes and translation additions with color-coded indicators.
cli/src/services/formatters · high confidence
New Discord and Slack outbound notification hooks
Added new \Accent.Hook.Outbounds.Discord\ and \Accent.Hook.Outbounds.Slack\ modules that implement the \Accent.Hook.Events\ behavior and use Oban workers to send asynchronous notifications. These hooks listen for events such as \sync\, \complete\_review\, \new\_conflicts\, and storage integration events (\integration\_execute\_azure\_storage\_container\, \integration\_execute\_aws\_s3\), formatting messages with specific templates and posting them to the respective services via HTTP.
lib/hook/outbounds · high confidence
New file and version management routes for the project scope
This change introduces new Ember route handlers for the project's file and version management areas. Specifically, it adds routes for adding translations, exporting files and versions (with various filters like revision, document format, and version), performing JIPT (Just-In-Time Translation), managing machine translations, and syncing files. It also adds routes for editing and creating new project versions. These routes handle model loading and controller reset logic, enabling users to perform these specific actions within the project scope.
webapp/app/routes/logged-in/project/files, webapp/app/routes/logged-in/project/versions · high confidence
New linting and translations route handlers for project revisions
Added route handlers for the project revision linting and translations views. The new \lint-translations\ route enables filtering and real-time updates for translation lint checks, while the \translations\ route manages the main translation list with comprehensive filtering options (such as conflict status, translation state, and sync status) and resets pagination when exiting the view.
webapp/app/routes/logged-in/project/revision · high confidence
New linting checks for text formatting and consistency
The linting system now includes several new checks to enforce text quality and consistency. These include detecting apostrophes used as single quotes in French, replacing multiple spaces with single spaces, ensuring consistent capitalization of the first letter against the master value, and replacing three dots with proper ellipsis characters. Additionally, the system now flags leading and trailing spaces, and verifies that placeholder counts and URL counts in translations match the master language values.
lib/lint/checks · high confidence
New machine translation providers (DeepL, Google Translate)
The application now supports machine translation via DeepL and Google Translate. This change introduces the provider protocol and specific implementations for these services, allowing users to configure API keys and translate content using these external providers.
_lib/machine\translations/provider · high confidence
New outbound hook helpers for URL posting and string templating
Added two new helper modules in the outbound hooks library: PostURL, which handles HTTP POST requests to integration endpoints and records execution history (including status, duration, and response body) in the IntegrationExecution model, and StringTemplate, which provides a macro for generating EEx template functions. These changes enable the system to reliably send webhook payloads to configured integrations while tracking the success or failure of each execution.
lib/hook/outbounds/helpers · high confidence
New project edit sub-routes for API tokens, badges, lint entries, and prompts
The project editing interface now includes dedicated routes for managing API tokens, badges, lint entries, machine translations, and prompts. These new Ember routes handle data fetching via GraphQL subscriptions, enabling real-time updates for API tokens, badges, lint entries (with pagination support), machine translation configurations, and prompt settings. The prompts section also includes nested routes for creating and editing individual prompts, providing a structured way to manage project-specific prompt configurations.
webapp/app/routes/logged-in/project/edit · high confidence
New project-level linting system with configurable checks
A new linting module has been introduced to validate translation entries against a set of configurable rules, including checks for first letter case, leading/trailing spaces, placeholder counts, ellipsis usage, apostrophes, double spaces, spelling, and URL counts. Users can now enable or disable specific checks per project and configure exceptions based on term keys or spelling rules, allowing for tailored quality assurance workflows that integrate with telemetry for monitoring issue counts.
lib/lint · high confidence
New storage integrations and execution tracking
The system now supports Azure Storage Container and AWS S3 integrations, allowing users to push translations to these cloud storage services. Additionally, every integration execution is now recorded in the database with a specific state (success or error) and associated results, enabling users to track the history and outcome of their integration runs.
lib/accent/integrations · high confidence
New translation sub-pages for activities, comments, editions, and settings
The translation interface now includes dedicated views for translation activities, comments, edition history, and project settings. These new routes fetch their respective data via GraphQL subscriptions and queries, enabling users to track changes, manage feedback, review translation versions, and adjust configuration directly within the project translation context.
webapp/app/routes/logged-in/project/translation · high confidence
Rails YAML formatter support and translation entry model expansion
Users can now import and export translations using the Rails YAML format, with a new parser and serializer handling nested YAML structures and Rails-style placeholders. The underlying translation entry model has been expanded to include fields for value type (boolean, integer, float, string, etc.), locked state, plural forms, and placeholders, allowing for more precise handling of translation data types and metadata.
lib/langue · high confidence
Support for Android plurals in XML translation formatter
The Android XML formatter now parses and serializes \\<plurals\>\ elements. The parser extracts plural variants (e.g., one, two, many) as distinct entries with a \plural: true\ flag, and the serializer reconstructs the \\<plurals\>\ XML structure from these entries, ensuring proper formatting and indentation in the output.
lib/langue/formatter/android · high confidence
Versioned translations can now mirror updates to the source
Users can now enable a 'copy on update' option on translation versions. When this is active, any changes made to a versioned translation are automatically mirrored to the corresponding source (latest) translation, keeping the main language up to date. This new capability is supported by updated sync and conflict-resolution builders that handle versioned data, and new slave creation that includes machine translation and placeholder support.
lib/movement/builders · high confidence
Removals
Removal of Phoenix WebSocket and channel infrastructure
The Phoenix WebSocket and channel infrastructure has been removed from the application. Specifically, the \lib/web/channels/project\_channel.ex\ module, which handled project-level subscriptions and authorization, and the \lib/web/channels/user\_socket.ex\ module, which managed WebSocket connections and user authentication via tokens, have been deleted. This eliminates real-time communication capabilities for projects and users that relied on these Phoenix channels.
lib/web/channels · high confidence
Removal of Rails YAML serializer
The Rails-specific YAML serializer has been removed from the codebase. This change eliminates the component responsible for formatting language entries into YAML files for Rails applications, meaning this output format is no longer supported.
lib/langue/formatter/rails · high confidence
Removal of dummy and Google authentication adapters
The dummy provider adapter and the Google OAuth adapter have been removed from the application. This eliminates the ability to authenticate users via the dummy provider or Google's OAuth2 token info endpoint, effectively restricting remote user authentication to other providers that may be implemented elsewhere in the system.
_lib/accent/auth/user\remote/adapters · high confidence
Removed English locale configuration and translation files
The English locale configuration file (config.js) and the main English translations file (translations.js) have been deleted from the webapp. This removes the hardcoded English pluralization rules and the extensive set of user-facing UI strings (such as dashboard labels, form placeholders, and activity messages) that were previously defined in these files.
webapp/app/locales/en · high confidence
Behavioural changes
Add file download utility and remove Phoenix WebSocket client
The webapp now includes a new \file-saver.js\ utility in the utils folder to handle client-side file downloads, supporting features like automatic BOM insertion for UTF-8 content and fallback mechanisms for browsers that do not support the native download attribute. Conversely, the vendored Phoenix JavaScript client (\phoenix.js\) has been removed from this location, eliminating the built-in WebSocket channel and socket implementation from the webapp's local utilities.
webapp/app/utils · high confidence
Added TypeScript declaration files for Ember and third-party modules
The webapp now includes TypeScript declaration files (\.d.ts\) for several dependencies, including \color\, \ember-concurrency\, \simple-fmt\, and specific Ember modules like \@ember/runloop\ and \@ember/template/-private/handlebars\. These additions enable stricter type checking and better IDE support for the codebase as it transitions to TypeScript.
webapp/types · high confidence
Authentication reworked with Ueberauth and new machine translation capabilities
The authentication system has been replaced with Ueberauth to support multiple login providers (Google, GitHub, Slack) and includes a server-side logout action that redirects to the projects page. A new machine translation feature is available via the MachineTranslationsController, allowing users to translate documents or files between languages using configured services. Additionally, the export and sync workflows now support advanced filtering (by conflict, empty text, or last sync status) and new merge/sync options like 'passive' mode and git branch tracking, while telemetry metrics have been added to track export, merge, and sync operations.
lib/web/controllers · high confidence
CLI base command now supports custom config and working directory flags
The CLI base command (cli/src/base.ts) has been updated to allow users to specify a custom configuration file via the --config (or -c) flag and a working directory via the --path flag, replacing the previous behavior of always using 'accent.json' and the current directory. The command now validates that the provided path exists and is a directory, and it pre-parses these arguments to initialize the configuration fetcher and change the process working directory before fetching project data.
cli/src · high confidence
CLI configuration and document handling refactored to TypeScript
The CLI's internal service layer has been rewritten in TypeScript, introducing a new \ConfigFetcher\ that validates configuration files (requiring \apiKey\, \apiUrl\, and \files\) and supports environment variable overrides. Document path resolution is now handled by dedicated fetchers (\DocumentPathsFetcher\ and \DocumentJiptPathsFetcher\) that support multiple naming patterns (file, fileWithSlugSuffix, parentDirectory, fileWithParentDirectory) and JIPT pseudo-language generation. The \Document\ service now manages file operations (sync, export, format, lint, add-translations) with explicit support for version tags, git branch tracking, and custom HTTP headers, while a new \HookRunner\ executes pre/post hooks for these operations.
cli/src/services · high confidence
Database schema migrations and structural updates
This update applies a comprehensive set of database migrations to the application's schema. It introduces new capabilities such as integration execution tracking (with a new \integration\_executions\ table and cascade deletes), project-level spelling dictionaries (\project\_lint\_entries\), and AI assistant prompts (\prompts\ table). It also adds support for machine translations, RTL languages, plural forms, and custom token permissions. Performance is improved via numerous new database indexes (including trigram GIN indices and partial indexes for active translations) and the addition of the \pg\_stat\_statements\ extension. The migration also enforces stricter data integrity by adding non-nullable constraints to many columns, updates the background job system (Oban) to version 14, and refines foreign key relationships to allow for proper deletion cascades.
priv/repo/migrations · high confidence
Enhanced authentication fallbacks and improved logging for web requests
The \AssignCurrentUser\ plug now supports multiple authentication methods: it falls back to the \authorization\ query parameter if the HTTP header is missing (useful for webhooks) and checks the session cookie if no token is provided. Additionally, successful authentications now log the current user's email or ID via Logger metadata. New plugs \AssignRevisionLanguage\ and \GraphQLOperationNameLogger\ have been added to automatically assign language/revision context and log GraphQL operation names, while \Session\ now uses a configurable signing salt.
lib/web/plugs · high confidence
Enhanced badge generation, explicit database adapter, and endpoint hardening
The badge generator now tracks a new 'translated' count alongside existing metrics, updating the badge labels and color logic to reflect this additional state. The database repository explicitly specifies the Postgres adapter and increases the Scrivener pagination limit to 10,000. The main endpoint is hardened with canonical host enforcement, forced SSL, a health-check ping route, and a switch from Poison to Jason for JSON parsing.
lib/accent · high confidence
Enhanced translation state tracking and batched migration operations
The migration system now supports more granular translation states and improved performance. New fields \translated\, \plural\, \locked\, and \placeholders\ are tracked on translations to better reflect their status and content. The \conflicted\ state logic has been refined to handle corrections and uncorrections more accurately, including safe access to previous translation data. Additionally, database updates are now executed via batched operations (\update\_all\, \insert\_all\) rather than individual record updates, which optimizes the handling of version syncs and bulk changes.
lib/movement/migration · high confidence
Expanded role-based permissions and email-based access restrictions
The authentication system now supports a new 'translator' role with specific read/write capabilities, refines the permissions for reviewers, developers, and admins, and introduces granular control over actions like machine translation and prompt usage based on project configuration. Additionally, a new email-based ability check allows restricting certain actions (such as project creation) to specific domains via the RESTRICTED\_DOMAIN environment variable, and the user authentication fetcher now tracks access token usage and handles custom permissions more efficiently.
lib/accent/auth · high confidence
GraphQL performance optimization and new API capabilities
This change introduces a field projection helper that skips expensive statistics computations when count fields are not requested, significantly improving query performance for documents, revisions, and projects. It also adds new GraphQL resolvers for API tokens, linting, machine translations, and AI prompts, while updating existing resolvers to use a standardized pagination and response format. Additionally, authorization logic is expanded to support new resource types, and the activity feed now supports filtering by version and includes new computed fields.
lib/graphql/resolvers · high confidence
GraphQL security hardening and new API capabilities
The GraphQL API now enforces authorization on viewer-level queries (such as listing languages, roles, and document formats) and includes new mutations for API tokens, machine translation configuration, prompts, and linting. Security is strengthened by adding AbsintheSecurity phases to limit query depth, aliases, directives, and field suggestions, alongside a new JSON scalar and error reporting middleware. The schema also exposes an application version query and adds Dataloader sources for integration executions and prompts.
lib/graphql · high confidence
GraphiQL interface upgraded to React 19 and new router structure
The GraphiQL interface has been extracted into a dedicated EEx template and upgraded to use React 19 and GraphiQL 5, replacing the previous Absinthe-provided version. The router has been restructured to use explicit pipelines for GraphQL, API authentication, and browser sessions, introducing new endpoints for machine translation file/document processing, a public metrics page via TelemetryUI, and a logout action. Security headers are now configurable, and the GraphQL endpoint enforces complexity analysis with a maximum complexity of 150.
lib/web · high confidence
Improved language data and seed script reliability
The application now supports proper plural form handling for a wide range of languages via a new \languages-plural-forms.json\ data file, ensuring correct pluralization in translations. The language registry has been updated to include distinct entries for Simplified and Traditional Chinese variants (zh-Hans/zh-Hant) alongside their regional variants, and the Spanish language slug has been standardized to 'es' to match other languages. Additionally, the database seeding process (\priv/repo/seeds.exs\) has been refactored to use the \Accent.Seeds.run\ function, replacing the previous inline script that relied on the Poison JSON library, which improves maintainability and consistency.
priv/repo · high confidence
JSON formatter switches to jsone and improves parsing/serialization
The JSON formatter now uses the jsone library instead of jiffy for encoding and decoding. Parsing now deduplicates entries by key to handle duplicate keys, and serialization outputs native UTF-8 and forward slashes without escaping, with configurable float precision and indentation.
lib/langue/formatter/json · high confidence
Java Properties and Apple .strings formatters now support placeholder interpolation
The Java Properties, Java Properties XML, and Apple .strings formatters have been updated to detect and preserve placeholders (such as ${key} in Java properties and %s in Apple .strings) during parsing and serialization. This change ensures that translation values containing variable placeholders are correctly handled and retained in the output, rather than being treated as static text.
_lib/langue/formatter/java\_properties, lib/langue/formatter/java\_properties\xml, lib/langue/formatter/strings · high confidence
Major architecture overhaul: OpenTelemetry, Oban, and OIDC integration
The application's startup and core infrastructure have been significantly restructured. Telemetry is now handled via OpenTelemetry instrumentation for Phoenix, Bandit, Absinthe, Ecto, Oban, and Dataloader, replacing the previous custom TelemetryUI setup. Background job processing has migrated from custom GenStage-based hook producers/consumers to Oban. Authentication now supports a generic OpenID Connect implementation via Ueberauth, conditionally adding an OpenID Connect worker to the supervision tree. Additionally, the GraphQL authorization plugin has been updated to accept a \target\ argument instead of \id\ for Canada.Can checks, and the SMTP mailer adapter now correctly forwards TLS options to fix network errors.
lib · high confidence
Migrate configuration loading to Embroider
The application's configuration loading mechanism has been updated to use Embroider's \@embroider/config-meta-loader\. The \environment.js\ file now imports and exports the configuration via this loader, replacing the previous static export method. This change aligns the config module with the modern Ember build pipeline, ensuring that configuration metadata is correctly loaded at runtime by the Embroider tooling.
webapp/app/config · high confidence
Migrate logged-in routes to Apollo subscriptions and global state services
The project-listing, project-detail, JIPT, and JIPT-example routes have been rewritten to use the new Apollo subscription service for data fetching and the global-state service for managing application-wide context such as permissions, main color, roles, and document formats. This change replaces previous data-loading patterns with a subscription-based model that automatically updates the UI when underlying data changes, while also introducing specific behaviors like ordering projects by recent access and handling session logout on invalid viewer data.
webapp/app/routes/logged-in · high confidence
Migrate project sub-routes to Apollo subscriptions
The route handlers for the project dashboard, activities, collaborators, comments, conflicts, files, integration executions, manage languages, revisions, service integrations, translations, and versions have been rewritten to fetch data via Apollo GraphQL subscriptions. This change ensures that these project views now receive real-time updates and maintain consistent data fetching patterns across the application.
webapp/app/routes/logged-in/project · high confidence
Migrate to TypeScript and modernize Ember application structure
The webapp has been converted from JavaScript to TypeScript, replacing legacy Ember patterns (such as \EmberObject\ and class extensions) with modern ES6+ classes and native TypeScript interfaces. This migration includes updating the application entry point to use \@embroider/virtual/compat-modules\ for resolver compatibility and refactoring the router to use class-based syntax. Additionally, new routing paths have been introduced to support Just-In-Place Translation (JIPT), machine translation management, linting entries, and integration execution tracking, alongside the removal of the legacy \index.html\ and \resolver.js\ files.
webapp/app · high confidence
Migrate to runtime configuration and replace Cowboy with Bandit
The application now uses a runtime configuration file (config/runtime.exs) to load sensitive settings like database URLs, SSL options, and authentication provider credentials from environment variables at startup, replacing the previous static compile-time configuration. This change also replaces the Cowboy web server with Bandit for improved performance and introduces a new, environment-variable-driven authentication system supporting multiple providers (Google, Slack, GitHub, GitLab, Discord, Microsoft, Auth0, and generic OIDC) alongside a dummy login option for demos. Additionally, the mailer configuration has been removed in favor of runtime environment variables, and OpenTelemetry tracing is now conditionally enabled via the OTEL\_EXPORTER\_OTLP\_ENDPOINT variable.
config · high confidence
Migrate webapp build to TypeScript, Vite, and Embroider
The webapp has been upgraded to use TypeScript for source code, replacing the previous JavaScript setup. The build system has shifted from the legacy Ember CLI Broccoli pipeline to a modern Vite-based toolchain using Embroider, which changes how assets are compiled and served. Configuration files for linting, formatting, and testing have been updated to support these new standards, and legacy tooling dependencies (such as ember-fetch and ember-cli-node-assets) have been removed.
webapp · high confidence
Migrate webapp services to TypeScript and modernize session management
The webapp's service layer has been rewritten from JavaScript to TypeScript, replacing legacy Ember object patterns with modern classes and decorators. This change introduces a new server-side session management approach, removing the previous client-side persistence via \localStorage\ (fetcher/persister/destroyer services) in favor of a \SessionCreator\ that validates the session via a GraphQL query. Additionally, the Apollo client integration has been refactored into dedicated services (\apollo\, \apollo-mutate\, \apollo-subscription\) to handle batching, mutations, and subscriptions more robustly, while other services like \exporter\, \peeker\, and \syncer\ have been updated to use the new \AuthenticatedRequest\ service for API calls.
webapp/app/services · high confidence
Modernize webapp configuration and align API paths
The webapp configuration has been updated to support the latest Ember.js standards and new product features. The app now uses history-based routing instead of auto-routing, and optional features like jQuery integration and the application template wrapper are disabled to improve performance and adhere to modern Ember practices. New configuration files have been added to set up ember-intl for locale management and define browser targets (last 2 versions of Edge, Chrome, Firefox, and Safari). The environment configuration now includes a runtime version tag, configures Sentry error tracking with environment-specific DSNs, and updates API endpoint paths to reflect new backend routes for machine translations, sync operations with passive types, and various review badges. Flash message types have been simplified to exclude 'socket', and test-specific environment settings have been streamlined.
webapp/config · high confidence
Modernized development environment and build infrastructure
The project has replaced legacy Heroku buildpacks and Travis CI with a standardized Docker-based build process and GitHub Actions. This introduces a multi-stage Dockerfile that builds the Elixir OTP release, webapp, and JIPT assets in parallel, upgrading the runtime to Elixir 1.19.5, Erlang 28.5.0.1, and Node.js 24. Development workflows are now managed via a Makefile and \.tool-versions\ file, while code quality is enforced through updated \.credo.exs\ rules, Prettier configuration, and ESLint settings.
(repo-wide) · high confidence
New linting view and enhanced error handling in web views
This change introduces a new LintView to expose linting results (including keys, text, and replacement suggestions) as JSON, enabling users to programmatically access translation quality checks. It also improves the user experience for error reporting by adding specific handling for binary error reasons in 400 and 404 JSON responses and correcting a typo in the 500 error message. Additionally, the WebappView now supports an optional configuration to remove Subresource Integrity (SRI) attributes from script and link tags via the WEBAPP\_SKIP\_SUBRESOURCE\_INTEGRITY setting, and the EmailView gains a user\_display\_name helper for better email personalization.
lib/web/views · high confidence
New passive sync comparer and updated operation text handling
A new \SyncPassive\ comparer has been added to handle passive synchronization scenarios, introducing actions such as 'new', 'renew', and 'remove' for suggested translations. The existing \Sync\ comparer has been renamed to \SyncSmart\ and refined to explicitly include the translation text in 'autocorrect' operations. Additionally, the \MergeForce\, \MergePassive\, and \MergeSmart\ comparers have been updated to ensure that the \text\ field is populated in 'noop' operations, providing more complete operation data.
lib/movement/comparers · high confidence
Optimized batched operations and added project hook notifications
The movement persister layer now processes operations in batches of 500 to prevent database parameter overflow errors during large updates. It also introduces a new background worker (ProjectHookWorker) that triggers project-level hooks after operations are persisted, providing updated statistics such as translation and review counts. Additionally, project synchronization now uses an optimistic lock on the sync version to prevent race conditions, and new versions can be configured to copy translations on update.
lib/movement/persisters · high confidence
Project creation, deletion, and update logic enhancements
Projects can now be created with a main color and logo, and updated with these same fields in addition to the name. Deleting a project now also cleans up associated operations and revisions within a transaction. The API client bot user generation logic was simplified.
lib/accent/projects · high confidence
Rate limiting added to collaborator creation
The collaborator creation process now enforces a rate limit, preventing a single user from adding more than five collaborators within a one-minute window. If this threshold is exceeded, the operation fails with a clear error message, protecting the system from rapid, potentially abusive bulk additions.
lib/accent/collaborators · high confidence
Refactor authentication and error-handling controllers for the new session service
The application's controller layer has been updated to align with the new session management architecture. The ErrorController now explicitly injects the session service to handle logout actions for unauthorized (401) and internal errors, while the NotFoundController similarly uses the session service for logout functionality. The LoginController has been refactored to inject the JIPT service and trigger login initialization in its constructor, and a new LoggedInController has been introduced to manage flash messages for authenticated states. These changes ensure that UI components correctly interact with the updated session and internationalization services.
webapp/app/controllers · high confidence
Refactor hook system to use Oban for async task execution
The hook subsystem has been re-architected to replace the previous GenStage-based event broadcasting pipeline with Oban for reliable asynchronous job processing. This change removes the \Broadcaster\, \EventProducer\, \EventConsumer\, and specific producer modules (Email, Slack, Websocket) in favor of a new \Accent.Hook\ module that builds and inserts jobs into Oban. The \Hook.Context\ struct has been updated to support deserialization from worker payloads via a new \from\_worker\ function, ensuring that context data is correctly reconstructed when jobs are executed asynchronously.
lib/hook · high confidence
Refactor secure random generation and add integer handling to pretty float
The \Accent.Utils.SecureRandom\ module has been simplified: the \base64\ and \random\_bytes\ functions were removed, and \urlsafe\_base64\ now generates random bytes directly using \:crypto.strong\_rand\_bytes\ instead of relying on the removed \base64\ helper. Additionally, \Accent.PrettyFloat\ now includes a specific clause to handle integer inputs by returning them unchanged, ensuring consistent behavior when non-float values are passed to the conversion function.
lib/utils · high confidence
Refactor translation rendering to use Langue library and support plural/locked states
The translation rendering logic has been refactored to delegate serialization to the Langue library, replacing the previous manual serializer selection and entry mapping. This change removes the dedicated \TranslationsCounter\ module, shifting the responsibility of counting active and conflicted translations to database-level queries. Additionally, the rendering process now explicitly supports plural forms and locked states for translations, and includes master value mapping to better handle translation contexts.
lib/accent/translations · high confidence
Refactored Ecto query scopes and added advanced filtering capabilities
The \lib/accent/scopes\ module has been restructured to improve query performance and expand filtering options. New scope files (\Integration\, \ProjectLintEntry\, \Search\, \TranslationsCount\) were added to handle specific query patterns, including a new \Search\ scope for flexible field-based text searches and a \TranslationsCount\ scope that uses lateral joins to efficiently calculate translation statistics (total, translated, reviewed, conflicts) for projects, documents, and revisions. The \Language\ scope now supports user-aware ordering, prioritizing languages based on the user's active collaboration projects. Additionally, the \Translation\ scope introduces granular filters for translation state (translated, empty, locked, conflicted) and edition history, while the \Version\ scope now supports semantic version requirement matching in addition to exact tag lookups.
lib/accent/scopes · high confidence
Refactored remote authentication flow and token management
The remote authentication process has been restructured to streamline user login and token issuance. The previous adapter-based fetching mechanism has been removed in favor of direct user mapping within the authenticator, which now normalizes user data (such as email casing and profile images) before persistence. The authentication pipeline no longer returns provider details alongside the user; instead, the persister handles provider association internally. Additionally, the token system now supports global access tokens for newly created users and uses explicit Ecto queries to invalidate existing tokens, ensuring a cleaner separation of concerns and more robust token lifecycle management.
_lib/accent/auth/user\remote · high confidence
Refactored revision deletion and promotion logic
The revision management logic has been consolidated into a new \Accent.RevisionManager\ module, replacing the previous \Accent.RevisionDeleter\ and \Accent.RevisionMasterPromoter\ modules. Deletion now uses a soft-delete approach (marking as deleted) and offloads the actual removal to a background worker (\DeleteWorker\) with an infinite transaction timeout, while promotion logic has been streamlined within the same manager. This change centralizes the behavior for updating, deleting, and promoting language revisions.
lib/accent/revisions · high confidence
Refactored translation parsing and serialization with new formatter interface
The translation processing pipeline has been restructured to support a new extensible formatter interface and improved data handling. A new \Langue.Formatter\ behavior and macro allow for standardized parsing and serialization of various file formats, replacing the previous \LineByLineHelper\ which has been removed. The core \NestedParserHelper\ now explicitly handles plural forms (detecting keys ending in \.zero\, \.one\, etc.) and ensures all entries have a defined value type, while the \NestedSerializerHelper\ adds support for float values. Additionally, a new \Langue.Utils.Placeholders\ module enables the extraction of placeholder variables from translation strings using regex patterns.
lib/langue/utils · high confidence
Refined operation batching logic and expanded supported actions
The operation batching system now supports 'sync' and 'merge' actions in addition to the existing 'correct\_conflict' and 'update' actions. The logic for finding existing operations to batch has been updated to also match on project\_id, ensuring more accurate grouping. Additionally, the creation of new batch operations now explicitly copies revision\_id, version\_id, project\_id, and user\id from the original operation, and the batch action name is prefixed with 'batch\'.
lib/accent/operations · high confidence
Removal of legacy Ember components and mixins
The webapp has removed a large set of legacy Ember components, mixins, and routes (including \apollo-route\, \authenticated-route\, \acc-badge\, \acc-flash-message\, \activity-item\, \commit-file\, and \conflicts-page\). This cleanup eliminates the old class-based component structure and associated styles, indicating a migration to a modern component architecture (likely AngleBracket/Ember Octane) which may alter the visual presentation and interaction patterns for project activity, file commits, and conflict resolution.
webapp/app/pods · high confidence
Removal of legacy GenStage-based hook consumers
The custom GenStage event consumers for email, Slack, and WebSocket notifications have been removed from the application. This change eliminates the previous synchronous event handling logic for these integrations, which is now replaced by an asynchronous task execution model using Oban, as indicated by the associated commit messages.
lib/hook/consumers · medium confidence
Removal of legacy SCSS component styles
The custom SCSS styles for the filters, power-select dropdowns, sub-navigation, and page wrapper components have been removed from the codebase. This deletion eliminates the manual styling overrides for these UI elements, meaning their appearance will now rely on default styles or other global theme definitions rather than the previously maintained component-specific rules.
webapp/app/styles/html-components · high confidence
Removal of legacy SCSS variable files
The application has removed several SCSS files that previously defined global style variables, including colors, dimensions, fonts, transitions, and Ember Power Select theme overrides. This change eliminates the centralized style variable definitions, likely as part of a broader refactoring or migration to a different styling approach.
webapp/app/styles/variables · high confidence
Removal of legacy form component styles
The SCSS files defining styles for the form button and label components have been removed from the codebase. This eliminates the specific visual definitions for button variants (such as bordered, filled, and color-specific states) and the inline-flex layout for labels, indicating these UI elements are no longer styled via these dedicated style sheets.
webapp/app/styles/html-components/form · high confidence
Replace SCSS architecture with consolidated CSS and highlight.js theme
The webapp's styling system has been refactored by deleting the modular SCSS files (app.scss, base.scss, classes.scss, modal.scss, reset-select.scss) and replacing them with a single, consolidated app.css file. This new file includes a comprehensive HTML5 reset and integrates the GitHub light syntax highlighting theme for code blocks, while also applying minor fixes to input element styling in the reset rules.
webapp/app/styles · high confidence
Replace shell-based CI checks with parallel Elixir runner and add Docker entrypoint
The CI check script has been rewritten from a sequential shell script (ci-check.sh) to a new Elixir-based tool (ci\_check.exs) that runs checks in parallel with a live progress spinner. The new runner executes compilation, API tests, code formatting, linting (Credo, ESLint, Prettier), and type checking (Dialyzer, TypeScript) with dependency-aware ordering. Additionally, a new Docker entrypoint (docker-entrypoint.sh) was added to run database migrations and seeding before launching the application.
priv/scripts · high confidence
Replace string-diff library and modernize Ember helpers
The application replaces the previous JavaScript-based string diffing logic with a new TypeScript implementation that uses the \diff-match-patch\ library, introducing similarity checks and improved HTML escaping for diff outputs. Several Ember helpers (\array-includes\, \field-error\, \repeat\, \truncate\, and \time-ago-in-words\) have been rewritten in TypeScript, with \time-ago-in-words\ now using \date-fns\ with locale support instead of the older \distance\_in\_words\_to\_now\ utility. Additionally, the Raven (Sentry) initializer has been updated to use the standard \raven-js\ package and modernized syntax.
webapp/app/helpers · high confidence
Replaced Ember controllers with TypeScript classes for logged-in routes
The application's logged-in route controllers have been rewritten from JavaScript to TypeScript, introducing strict typing for services, tracked properties, and query parameters across the project dashboard, JIPT interface, and project management sections. This change standardizes the codebase with modern Ember patterns, improving maintainability and reducing runtime errors for features like conflict resolution, collaborator management, and document handling.
webapp/app/controllers/logged-in · high confidence
Reworked skeleton UI with new Ember components and scoped CSS
The application's UI skeleton has been rebuilt using new Ember components (acc-avatar-img, acc-badge, acc-emoji-picker, acc-flash-message, acc-modal, acc-select, acc-wrapper) that utilize scoped CSS for styling. This change introduces a new layout structure with dedicated sidebar and content wrappers, a redesigned application footer featuring theme toggling (dark/light) and language selection, and updated components for activity items, file commits, and conflict filtering to align with the new visual design.
webapp/app/components · high confidence
Slack authentication strategy updated to support OAuth V2 API
The Slack authentication strategy has been replaced with a new implementation that supports the Slack OAuth V2 API. This change updates the authorization and token endpoints to use the V2 URLs (e.g., \https://slack.com/oauth/v2/authorize\ and \https://slack.com/api/oauth.v2.access\). The new strategy handles the V2 response structure, which returns both a bot token and a user token, ensuring that both are correctly stored and exposed in the authentication credentials. This allows users to authenticate with Slack using the modern V2 protocol, which is required for newer Slack applications and permissions.
_vendor/ueberauth\slack · high confidence
Standardize email layout rendering and URL usage
The email layout templates now use the standard \@inner\_content\ variable for rendering body content instead of the previous \render @view\_module, @view\_template, assigns\ pattern, ensuring consistent content injection. Additionally, all references to the application host have been updated from \webapp\_host()\ to \webapp\_url()\, and a minor CSS syntax correction was applied to the horizontal rule style to remove a redundant color property.
_lib/web/templates/email\layout · high confidence
Update email templates to use display names and new URL helper
The email templates for comment notifications and project invitations now display the inviter or commenter's display name instead of their email address, and all internal links use the new \webapp\_url\ helper rather than the previous \webapp\_host\ function. This ensures that users see a more personalized name in notifications and that generated links are correctly formatted with the full URL scheme.
lib/web/templates/email · high confidence
Fixes
Fix SMTP TLS configuration and add LanguageTool integration
This update addresses a network error in Bamboo SMTP by introducing a vendored adapter that correctly forwards TLS options (such as allowed versions and verification settings) to the underlying transport. Additionally, it adds a vendored LanguageTool integration, including the necessary Gradle wrapper scripts and configuration, to enable performant and accurate spelling lint checks.
vendor · high confidence
Test coverage
Added GraphQL request tests for projects, revisions, and integrations; Added and standardized test modules for movement comparers; Added and updated tests for movement persister modules; Added integration tests for language ordering and version filtering scopes; Added tests for Gettext formatter edge cases and configuration; Added tests for JSON formatter edge cases and value types; Added tests for Laravel PHP formatter parsing and serialization; Added tests for email domain restriction logic; Added tests for hook outbound integrations; Added tests for machine translation providers; Added tests for movement migration operations; Added tests for the ErrorView module; Added tests for the Go i18n JSON formatter; Added tests for the Hook module's outbound integration logic; Added tests for the Rails YAML formatter; Added tests for the linting module; Added tests for translation builder operations and factory migration; Added tests for translation settings and sorting logic; Added unit tests for the jipt frame listener and live-node mutation logic; Expanded test coverage and modernized test infrastructure for web controllers; Expanded test coverage for GraphQL resolvers; Expanded test coverage for service layer logic; Initial CLI test suite added; Migrate test infrastructure to Factori and Oban; Migrate webapp test infrastructure to Embroider and TypeScript; Refactor authentication tests to use factory pattern and update assertions; Refactor language formatter test suite structure and coverage; Refactored Android and Java Properties formatter tests; Removed legacy Ember test helpers; Removed tests for Slack hook consumers and producers; Removed unit tests for session services; Test suite refactoring and maintenance; Updated GraphQL authorization tests to use Factory and cover new viewer permissions; Updated Java Properties XML formatter tests with placeholder support; Updated Simple JSON formatter tests with placeholder support and refactored structure; Updated email tests to reflect new function signatures and URL formats; Updated string formatter tests to include placeholder support and explicit value types; Updated test suite for plug modules.
Dependencies
Major dependency upgrades and framework migrations
This release performs a comprehensive upgrade of the project's dependencies across the CLI, webapp, and core Elixir application. The CLI has been updated to version 0.19.0, migrating to oclif v4 and requiring Node.js 18+. The Just-In-Place Translation (JIPT) module has been upgraded to version 2.0.0, requiring Node.js 24 and updating its build tooling. The core Elixir application has been upgraded to version 1.31.0, requiring Elixir 1.19, and has migrated from Phoenix 1.3 to 1.4 (including Phoenix LiveView 1.0), replaced the Cowboy web server with Bandit, and upgraded key libraries such as Ecto, Plug, Bamboo, and Sentry. Additionally, the Ruby gem 'hanzo' has been replaced with 'aigu' in the Rails example.
(dependencies) · high confidence
Housekeeping
Placeholder for native integration
A .gitkeep file was added to the priv/native directory to ensure the directory is tracked in version control, serving as a placeholder for the native integration.
priv/native · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 40 → 44 (+3.4)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.
Lenses
- Code Health 63 → 77 (+13.3)
- Architecture 86 → 85 (-0.6)
- Maturity 64 → 65 (+1.1)
- Readiness 21 → 23 (+2.4)
- Security 59 → 60 (+1.1)
- Accessibility 52 → 59 (+7.1)
- Performance 60 → 60 (+0.0)
Resolved (12)
- Documentation: no project overview (README.md)
- High CVE: [GHSA redacted] (webapp/package-lock.json)
- High CVE: [GHSA redacted] (webapp/package-lock.json)
- High CVE: [GHSA redacted] (webapp/package-lock.json)
- High CVE: [GHSA redacted] (webapp/package-lock.json)
- High CVE: [GHSA redacted] (cli/package-lock.json)
- Leaked secret: hardcoded-credential (cli/package-lock.json)
- Leaked secret: high-entropy-secret (cli/examples/phoenix/accent.json)
- No ADRs found
- Rotate the exposed credentials — git history can't be un-committed
- Secret: generic-api-key (cli/examples/phoenix/accent.json)
- file-saver.fileSaver (cyclomatic 29) (webapp/app/utils/file-saver.js)
New (69)
- Edited copies of one member (3 members, 10+ corresponding lines) (lib/graphql/resolvers/comment.ex)
- Edited copies of one member (3 members, 4+ corresponding lines) (lib/web/controllers/merge_controller.ex)
- Edited copies of one member (4 members, 9+ corresponding lines) (lib/graphql/helpers/authorization.ex)
- Edited copies of one member (4 members, 9+ corresponding lines) (lib/lint/checks/double_spaces.ex)
- Edited copies of one member (8 members, 7+ corresponding lines) (lib/graphql/resolvers/api_token.ex)
- Edited copy of a member (10 corresponding lines) (lib/movement/migration/conflict.ex)
- Edited copy of a member (11 corresponding lines) (lib/graphql/resolvers/document.ex)
- Edited copy of a member (11 corresponding lines) (lib/graphql/resolvers/revision.ex)
- Edited copy of a member (11 corresponding lines) (lib/movement/builders/revision_correct_all.ex)
- Edited copy of a member (12 corresponding lines) (lib/accent/scopes/project.ex)
- Edited copy of a member (12 corresponding lines) (lib/movement/builders/rollback.ex)
- Edited copy of a member (13 corresponding lines) (lib/machine_translations/provider/deepl.ex)
- Edited copy of a member (14 corresponding lines) (lib/accent/schemas/operation.ex)
- Edited copy of a member (14 corresponding lines) (lib/graphql/resolvers/project.ex)
- Edited copy of a member (14 corresponding lines) (lib/web/controllers/merge_controller.ex)
- Edited copy of a member (15 corresponding lines) (lib/accent/machine_translations_config/machine_translations_config_manager.ex)
- Edited copy of a member (15 corresponding lines) (lib/langue/formatter/android/parser.ex)
- Edited copy of a member (16 corresponding lines) (lib/movement/persisters/new_slave.ex)
- Edited copy of a member (17 corresponding lines) (lib/movement/mappers/operation.ex)
- Edited copy of a member (19 corresponding lines) (lib/accent/scopes/language.ex)
- …and 49 more
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
mirego/accent was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit d0bda12d64b9d9cb45102dccf07990296639cf35 — the exact code this score is about.
- Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.57+preprod-8ebfb01cf4c0.