feat: add custom SSO, optimize login UI, and fix non-Latin search - #7
Open
csbde wants to merge 16 commits into
Open
feat: add custom SSO, optimize login UI, and fix non-Latin search#7csbde wants to merge 16 commits into
csbde wants to merge 16 commits into
Conversation
- Add SSOProvider with OIDC discovery, PKCE, nonce/at_hash validation - Add encrypted client secret storage via Encryptor - Add auth_sso_enabled and sso_auto_provision_enabled settings - Add SSO config fields (issuer, scopes, button_label, disable_pkce, require_verified_email) - Add SSO button to login page with custom label support from public settings - Add SSO configuration UI to SystemAuthenticationPage with all OIDC fields - Add SSO error keys (sso_email_missing, sso_email_unverified, sso_account_not_provisioned) - Add i18n translations for SSO across all 9 locales - Add oauthConfigError utility for localized OAuth config error messages
- Add PageHeader, EmptyState, LoadingState reusable components - Optimize core pages (ProjectList, WorkItemList, etc.) - Unify dark mode border colors (gray-700 → gray-600) - Replace unnecessary shadows with borders - Standardize font hierarchy and spacing - Improve Chinese typography (line-height, font-size)
- Create Dockerfile.all-in-one bundling API, worker, and frontend - Add nginx configuration for single-port deployment (port 80) - Add supervisord configuration to manage all processes - Add Chinese mirror Dockerfiles (.cn variants) for faster builds - Update README.md with all-in-one deployment option - Update MANUAL_INSTALL.md with detailed all-in-one instructions - Improve Chinese translations in zh.json
- Add docker-compose.all-in-one.yml with taskwondo + nats services - Remove migration call from worker to prevent concurrent migration conflicts in all-in-one deployment
- Auto-recover dirty migration state in database.Migrate() - Make pgvector extension optional (migrations 000033-000036) - Make pgcrypto extension optional (migration 000061) - Graceful degradation when embeddings table is unavailable - Change SeedDefaultNamespace failure from fatal to warn on fresh DB
CJK glyphs fill the whole em box, so the 17.6px root font size tuned for Latin scripts makes Chinese/Japanese/Korean text look oversized and heavy. - Set <html lang> alongside dir so browsers and CSS can adapt per script - Scale the root font size down ~9% for zh/ja (7% for ko) via --app-font-scale, keeping the user font-size preference intact - Name local CJK font faces per language instead of generic fallback, with emoji fonts ordered before the CJK stack
- Add pg_trgm GIN indexes (migration 000063, optional/guarded) on work_items, teams, queues and milestones - Repository search paths (item list, global FTS, inbox, teams/queues/ milestones) now OR an escaped ILIKE substring match when the query contains CJK characters, which Postgres' whitespace tokenizer cannot split into lexemes - Lower the frontend entity-search floor to a single CJK character via meetsSearchFloor, applied to palette, mention, picker and user search - Add repository helper tests and a Playwright CJK search spec
- Drop shadow-sm from text inputs, selects, and picker triggers so they match the borderless ui/Input - Give work item / queue / watchlist table containers an explicit border color: a bare `border` falls back to currentColor under Tailwind v4, rendering near-black borders in light mode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
This PR introduces a new Custom SSO feature and includes several improvements to the UI, internationalization, and search functionality. It also ensures compatibility when running on standard PostgreSQL.
Changes
Impact
Testing