b202f10e1a
- Add 3 new config fields for browser SDK sample rates:
sentry_js_traces_sample_rate (default 0.0),
sentry_js_replay_session_sample_rate (default 0.0),
sentry_js_replay_on_error_sample_rate (default 0.1)
- Expose Sentry config to Jinja2 templates via _inject_global_context;
empty-string DSN normalized to None so {% if sentry_dsn %} guard works
- Load Sentry Browser SDK bundle.tracing.replay.min.js from the official
Sentry CDN in base.html when SENTRY_DSN is configured, with Sentry.init()
for error capture, browser tracing and session replay
- Register new JS settings fields in SETTING_METADATA so they appear on the
admin Settings → Observability page
- Update .env.demo with commented-out examples for SENTRY_JS_* variables
- Update docs/ConfigurationGuide.md and docs/SentrySetup.md with full
browser SDK documentation, env-specific examples and troubleshooting
- Add TestSentryJsTemplateContext (5 tests) and TestSentryJsConfig (4 tests)
Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/christianlouis/DocuElevate/sessions/4a945567-67df-4264-aaed-75eb2e236e9c
DocuElevate Documentation
Welcome to the DocuElevate documentation. This directory contains comprehensive guides to help you install, configure, and use DocuElevate effectively.
Available Documentation
Getting Started
- Setup Wizard Guide - First-run wizard walkthrough and initial configuration
- User Guide - How to use DocuElevate's features and interface
- Browser Extension - Send files and clip web pages directly from your browser
Deployment
- Deployment Guide - Docker Compose and Kubernetes/Helm deployment
- Kubernetes Deployment Guide - Detailed Kubernetes/Helm reference
- Production Readiness Guide - Checklist to go from "it works" to production-hardened
Configuration
- Configuration Overview - Overview of configuration options, including:
- Configuration Guide - Complete list of all available configuration parameters
- Settings Management - Web-based settings UI and API reference
- Database Configuration - SQLite, PostgreSQL, migrations, and optimization
- Google Drive Setup - How to set up Google Drive integration
- Dropbox Setup - How to set up Dropbox integration
- OneDrive Setup - How to set up Microsoft OneDrive/Graph integration
- SharePoint Setup - How to set up Microsoft SharePoint Online integration
- Amazon S3 Setup - How to set up Amazon S3 integration
- Authentication Setup - How to set up user authentication
- Notifications Setup - How to set up system notifications
Security
- Credential Rotation Guide - Procedures for rotating API keys, passwords, and OAuth tokens
Reference
- API Documentation - Complete API reference for developers
- Configuration Troubleshooting - Solutions to common configuration issues
- Troubleshooting - General troubleshooting and solutions to common issues
- Licensing & Compliance - License information and third-party dependency compliance
Additional Resources
- Contributing Guide - How to contribute to DocuElevate development
- License Information - Apache License 2.0 details
Support
If you need additional assistance beyond what's covered in these guides:
- Check the GitHub repository for updates and issues
- Contact the developer through the information provided on the About page



