Vonic
4eb6ed18d6
Epic 5 Complete: Billing, Subscriptions, and Admin Features
...
Resolve all 5 deferred items from Epic 5 adversarial code review:
- Migration 124: Add CASCADE to subscriptionstatus enum drop (prevent orphaned references)
- Stripe rate limiting: In-memory per-user limiter (20 calls/60s) on verify-checkout-session
- Subscription request cooldown: 24h cooldown before resubmitting rejected requests
- Token reset date: Initialize on first subscription activation
- Checkout URL validation: Confirmed HTTPS-only (Stripe always returns HTTPS)
Implement Story 5.4 (Usage Tracking & Rate Limit Enforcement):
- Page quota pre-check at HTTP upload layer
- Extend UserRead schema with token quota fields
- Frontend 402 error handling in document upload
- Quota indicator in dashboard sidebar
Story 5.5 (Admin Seed & Approval Flow):
- Seed admin user migration with default credentials warning
- Subscription approval/rejection routes with admin guard
- 24h rejection cooldown enforcement
Story 5.6 (Admin-Only Model Config):
- Global model config visible across all search spaces
- Per-search-space model configs with user access control
- Superuser CRUD for global configs
Additional fixes from code review:
- PageLimitService: PAST_DUE subscriptions enforce free-tier limits
- TokenQuotaService: PAST_DUE subscriptions enforce free-tier limits
- Config routes: Fixed user_id.is_(None) filter on mutation endpoints
- Stripe webhook: Added guard against silent plan downgrade on unrecognized price_id
All changes formatted with Ruff (Python) and Biome (TypeScript).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 03:54:45 +07:00
CREDO23
a95bf58c8f
Make Vision LLM opt-in for uploads and connectors
2026-04-10 16:45:51 +02:00
CREDO23
7e14df6012
Fix button-in-button hydration error in mobile upload drop zone
2026-04-09 16:40:55 +02:00
CREDO23
7851db7928
fix: add i18n keys for folder upload strings
2026-04-09 13:42:57 +02:00
CREDO23
57ae2bd5af
feat: preserve folder structure on web folder upload
2026-04-09 11:18:56 +02:00
DESKTOP-RTLN3BA\$punk
5891dfa4d0
Merge commit ' fe6f830eab' into dev_mod
2026-04-08 16:21:36 -07:00
DESKTOP-RTLN3BA\$punk
c6e1a04169
chore: linting
2026-04-08 16:14:26 -07:00
Anish Sarkar
56c5809170
chore: ran linting
2026-04-08 18:23:03 +05:30
Anish Sarkar
3f2602165a
feat: enhance dialog components with improved styling and structure for document upload and folder watch functionalities
2026-04-08 18:14:20 +05:30
Anish Sarkar
37c52ce7ea
feat: implement indexing progress management in local folder indexing process and enhance related test coverage
2026-04-08 18:01:55 +05:30
Anish Sarkar
f3aa514240
feat: integrate subtree ID retrieval in local folder cleanup process and enhance UI component styling for folder selection
2026-04-08 17:25:18 +05:30
Anish Sarkar
ae98f64760
feat: enhance folder indexing with metadata management and improve folder structure handling in UI components
2026-04-08 16:48:40 +05:30
Anish Sarkar
5eada7bcab
fix: update button variant in FolderWatchDialog and refine metadata type in folder.types
2026-04-08 15:55:37 +05:30
Anish Sarkar
5f5954e932
feat: implement upload-based folder indexing and synchronization features
2026-04-08 15:46:52 +05:30
DESKTOP-RTLN3BA\$punk
0af6b3882a
refactor: replace button with div for improved accessibility in DocumentUploadTab
...
- Changed the button element to a div with role="button" to enhance keyboard accessibility.
- Updated event handling for click and keydown events to ensure consistent behavior across devices.
- Maintained existing styling and functionality while improving semantic structure.
2026-04-07 17:23:46 -07:00
Anish Sarkar
8455451ce1
chore: ran linting
2026-04-08 05:20:03 +05:30
Anish Sarkar
6038f6dfc0
Merge remote-tracking branch 'upstream/dev' into feat/azure-ocr
2026-04-08 05:00:32 +05:30
Anish Sarkar
b7c9077fb2
feat: enhance folder watching experience by adding initial folder selection and updating state management in DocumentsSidebar and FolderWatchDialog
2026-04-08 04:42:07 +05:30
Anish Sarkar
3832bdbb91
refactor: replace FolderOpen icon with FolderClock in DocumentsSidebar and update button text in FolderWatchDialog
2026-04-08 04:12:54 +05:30
Anish Sarkar
078f735e3a
feat: improve folder watching functionality with UI dialog for selecting and managing watched folders
2026-04-08 04:11:49 +05:30
Anish Sarkar
20fa93f0ba
refactor: make Azure Document Intelligence an internal LLAMACLOUD accelerator instead of a standalone ETL service
2026-04-08 03:26:24 +05:30
Anish Sarkar
1fa8d1220b
feat: add support for Azure Document Intelligence in ETL pipeline
2026-04-08 00:59:12 +05:30
DESKTOP-RTLN3BA\$punk
91ea293fa2
chore: linting
2026-04-07 03:10:06 -07:00
DESKTOP-RTLN3BA\$punk
82b5c7f19e
Merge commit ' 056fc0e7ff' into dev_mod
2026-04-07 02:56:46 -07:00
DESKTOP-RTLN3BA\$punk
49441233e7
feat: enhance keyboard shortcut management and improve app responsiveness
...
- Updated the development script to include a build step before launching the app.
- Refactored the registration of quick ask and autocomplete functionalities to be asynchronous, ensuring proper initialization.
- Introduced IPC channels for getting and setting keyboard shortcuts, allowing users to customize their experience.
- Enhanced the platform module to support better interaction with the Electron API for clipboard operations.
- Improved the user interface for managing keyboard shortcuts in the settings dialog, providing a more intuitive experience.
2026-04-07 00:43:40 -07:00
Anish Sarkar
0a26a6c5bb
chore: ran linting
2026-04-07 05:55:39 +05:30
Anish Sarkar
e7beeb2a36
refactor: unify file skipping logic across Dropbox, Google Drive, and OneDrive connectors by replacing classification checks with a centralized service-based approach, enhancing maintainability and consistency in file handling
2026-04-07 02:19:31 +05:30
Rohan Verma
3dba11d532
Merge pull request #1110 from mvanhorn/fix/upload-progress-interval-cleanup
...
fix: clear upload progress interval on unmount
2026-04-03 08:08:38 -07:00
Anish Sarkar
5068a6b4f3
style: update button variant and improve drag-and-drop UI in DocumentUploadTab
2026-04-03 17:52:59 +05:30
Anish Sarkar
b7f916c4df
chore: ran linting
2026-04-03 17:24:34 +05:30
Anish Sarkar
1c50106c81
refactor: simplify file upload logic in DocumentUploadTab by removing file count and size limits; update file size limit messages in multiple languages
2026-04-03 17:24:06 +05:30
Anish Sarkar
c964b47f99
style: enhance folder selection UI in DocumentUploadTab
2026-04-03 13:59:33 +05:30
Anish Sarkar
746c730b2e
chore: ran linting
2026-04-03 13:14:40 +05:30
Matt Van Horn
134beec392
fix: clear upload progress interval on unmount
...
Store the progress setInterval ID in a ref and clear it in a
useEffect cleanup. Previously the interval was stored in a local
variable and only cleared in onSuccess/onError callbacks, leaking
if the component unmounted mid-upload.
Fixes #1090
2026-04-03 00:05:06 -07:00
Anish Sarkar
388811194e
feat: update DocumentUploadTab to use a dropdown for file and folder selection, enhancing user experience; also update upload limits and file size messages in multiple languages
2026-04-03 12:33:47 +05:30
Anish Sarkar
62b44889d1
Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync
2026-04-03 11:42:43 +05:30
Anish Sarkar
9a65163fe4
feat: improve DocumentUploadTab UI with updated styles, enhanced file size limit messages
2026-04-03 09:20:44 +05:30
DESKTOP-RTLN3BA\$punk
eb17850274
chore: linting
2026-04-02 19:45:28 -07:00
DESKTOP-RTLN3BA\$punk
62e698d8aa
refactor: streamline document upload limits and enhance handling of mentioned documents
...
- Updated maximum file size limit to 500 MB per file.
- Removed restrictions on the number of files per upload and total upload size.
- Enhanced handling of user-mentioning documents in the knowledge base search middleware.
- Improved document reading and processing logic to accommodate new features and optimizations.
2026-04-02 19:39:10 -07:00
Anish Sarkar
bd21c2842d
feat: enhance document upload and folder synchronization UI with improved processing state indicators and responsive design adjustments
2026-04-03 04:14:09 +05:30
Anish Sarkar
530db10539
refactor: remove unused Electron API check and update search space ID handling in document upload
2026-04-03 02:56:24 +05:30
Anish Sarkar
b46c5532b3
feat: add unified file and folder browsing functionality with IPC channel integration
2026-04-03 00:28:24 +05:30
Anish Sarkar
f53e6b3948
refactor: update Alert component styles and structure for improved consistency across connector forms
2026-03-10 19:33:36 +05:30
Anish Sarkar
0a1d0035e6
refactor: update DocumentUploadTab to ensure unique file IDs are generated using a fallback method for compatibility
2026-03-08 21:11:54 +05:30
Anish Sarkar
a65fda359a
chore: ran linting
2026-03-08 20:57:29 +05:30
Anish Sarkar
0b028bab49
refactor: update DocumentUploadTab to manage files with unique IDs using UUIDs
2026-03-08 19:48:38 +05:30
Anish Sarkar
77dc6b7c91
feat: implement user settings page with profile and API key management components
2026-03-08 19:36:12 +05:30
Anish Sarkar
c02207e911
refactor: simplify DocumentUploadTab component by removing motion animations and enhancing file display logic for improved performance and readability
2026-03-07 12:31:55 +05:30
DESKTOP-RTLN3BA\$punk
d959a6a6c8
feat: optimize document upload process and enhance memory management
...
- Increased maximum file upload limit from 10 to 50 to improve user experience.
- Implemented batch processing for document uploads to avoid proxy timeouts, splitting files into manageable chunks.
- Enhanced garbage collection in chat streaming functions to prevent memory leaks and improve performance.
- Added memory delta tracking in system snapshots for better monitoring of resource usage.
- Updated LLM router and service configurations to prevent unbounded internal accumulation and improve efficiency.
2026-02-28 17:22:34 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9
feat: added configable summary calculation and various improvements
...
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00