aboutsummaryrefslogtreecommitdiff
path: root/internal
Commit message (Collapse)AuthorAgeFilesLines
* feat: Add all remaining monitor options to group defaultsFuwn2026-01-201-0/+50
| | | | | | | | | | | | Support defaulting any monitor option at group level: - expected_content, body (HTTP/HTTPS) - ping_count (ICMP) - dns_server, record_type (DNS) - graphql_query, graphql_variables (GraphQL) - db_type (Database) Only name, type, target, link, reset_on_next_check, expected_ips, and expected_cname remain monitor-specific (not defaultable).
* feat: Expand group-level defaults with more monitor optionsFuwn2026-01-201-13/+56
| | | | | | | | | Add support for setting these options at group level: - hide_ssl_days, hide_ping, round_response_time, round_uptime - method, user_agent, headers, expected_status This allows configuring common settings once per group instead of repeating them on every monitor.
* fix: Support disable_uptime_tooltip in group defaultsFuwn2026-01-201-5/+10
|
* feat: Add disable_uptime_tooltip optionFuwn2026-01-203-44/+47
|
* fix: Use correct column name error_message in last failure queryFuwn2026-01-201-5/+7
|
* feat: Add uptime tooltip showing last failure time and reasonFuwn2026-01-203-45/+111
|
* feat: Add custom_head option for injecting HTML into headFuwn2026-01-203-5/+9
|
* fix: Use generic error message for unknown error typesFuwn2026-01-201-5/+1
|
* fix: Remove detailed error from tooltip to prevent URL leakageFuwn2026-01-201-1/+1
|
* fix: Simplify error messages in monitor displayFuwn2026-01-202-3/+50
|
* style: Update tab title format to show up/down countsFuwn2026-01-201-1/+1
|
* style: Use arrow icons for tab title statusFuwn2026-01-201-1/+1
|
* feat: Add status indicator to browser tab titleFuwn2026-01-202-4/+21
|
* fix: Auto-select first item in command paletteFuwn2026-01-201-4/+3
|
* fix: Scroll selected item into view in command paletteFuwn2026-01-201-0/+8
|
* feat: Add command palette for quick navigationFuwn2026-01-202-1/+328
|
* fix: Hide ping in tooltips when hide_ping is enabledFuwn2026-01-202-6/+30
|
* feat: Add hide_ping option to hide response timeFuwn2026-01-203-1/+4
|
* fix: Add database type to config validationFuwn2026-01-201-2/+5
|
* feat: Add database connection monitoring typeFuwn2026-01-203-1/+534
|
* feat: Add configurable UI scale optionFuwn2026-01-204-9/+26
|
* fix: Allow non-HTTP URL schemes in monitor linksFuwn2026-01-201-2/+2
|
* style: Remove default link underline stylingFuwn2026-01-202-2/+7
|
* feat: Add clickable link option for monitor namesFuwn2026-01-203-1/+4
|
* refactor: Use CSS prefers-color-scheme instead of JS-based theme toggleFuwn2026-01-205-130/+89
|
* fix: Prevent flash of light mode on page loadFuwn2026-01-202-33/+36
| | | | | | | - Default to dark mode by setting class="dark" on html element - Move theme CSS before external stylesheet to prevent flash - Only remove dark class if light mode is explicitly preferred - Add !important to theme variable overrides for precedence
* fix: Prevent flash of light mode on page loadFuwn2026-01-201-6/+6
| | | | | | | Move theme detection script to the very top of <head>, before any stylesheets load. This ensures the 'dark' class is added to <html> before the browser starts rendering with CSS, eliminating the flash of unstyled/wrong-theme content.
* fix: Use consistent CSS selectors for theme variable overridesFuwn2026-01-201-2/+4
| | | | | | | | Match the same selectors used in GenerateCSS(): - Light mode: :root, :root.light - Dark mode: :root.dark This ensures the override specificity matches the theme variable definitions.
* refactor: Use CSS variable overrides for proper theme integrationFuwn2026-01-202-178/+49
| | | | | | | | | | | | | | | | Instead of trying to override individual Tailwind classes (which was fragile and incomplete), now properly override Kaze's root CSS variables (--bg-primary, --status-ok, etc.) to use OpenCode theme values. This works because style.css already maps all Tailwind classes to these CSS variables, so overriding the variables automatically themes everything. The theme flow is now: 1. OpenCode theme defines: --theme-background, --theme-success, etc. 2. Override CSS redefines: --bg-primary = var(--theme-background), etc. 3. style.css classes use: background: var(--bg-primary), etc. This approach is much cleaner and ensures complete, consistent theming.
* feat: Improve theme CSS mappings for comprehensive stylingFuwn2026-01-201-40/+108
| | | | | | | | | | | | | | | | | Rewrite Tailwind class overrides to be much more comprehensive and accurate: - Page backgrounds (main, panels, cards, badges) - All text colors (primary, muted, status-specific) - Border colors and dividers - Status colors for all states (up, degraded, down, unknown) - Status banners with proper color-mixed backgrounds - Interactive hover states (group headers, monitor cards) - SVG icon colors - Tooltip styling with theme colors - Status indicator dots with proper colors Uses color-mix() for subtle background tints on status banners. Targets exact Tailwind classes used in the actual HTML output.
* fix: Support both single-color and dual-mode theme formatsFuwn2026-01-191-10/+24
| | | | | | | | | Update theme parser to handle both OpenCode theme formats: 1. Dual-mode: {"dark": "color", "light": "color"} - opencode.json 2. Single-color: "color" - ayu.json and other dark-only themes When a single color is provided, use it for both light and dark modes. Fixes parsing error when loading themes like ayu.json.
* feat: Add OpenCode-compatible theme loaderFuwn2026-01-194-2/+312
| | | | | | | | | | | | | | | | | | | | Add support for loading and applying OpenCode-compatible themes via URL. Fetches theme JSON, resolves color references, generates CSS variables and Tailwind class overrides to apply the theme seamlessly. Features: - Add theme_url config field under site section - Fetch and parse OpenCode theme.json format - Generate CSS custom properties (--theme-*) for all theme colors - Generate Tailwind class overrides to apply theme colors - Support both light and dark modes - Template.CSS type for safe CSS injection Example usage: site: theme_url: "https://raw.githubusercontent.com/anomalyco/opencode/.../opencode.json" Theme schema: https://opencode.ai/theme.json
* fix: Remove duplicate monitor name validation across groupsFuwn2026-01-191-5/+0
| | | | | | | | | | Previously, monitors with the same name in different groups would fail validation. This restriction has been removed to allow duplicate names across groups, restoring the original behavior. Note: Monitors with duplicate names will share the same data in the database since MonitorName is used as the identifier. A future enhancement could use group+name as a composite key.
* feat: Add ICMP, DNS, and GraphQL monitor typesFuwn2026-01-196-6/+672
| | | | | | | | | | | | | | | | | | Add three new monitor types with full support: - ICMP: Ping monitoring with configurable packet count, tracks packet loss and average RTT. Marks degraded on partial packet loss. - DNS: DNS resolution monitoring supporting A, AAAA, CNAME, MX, and TXT records. Optional custom DNS server and validation of expected IPs/CNAME. - GraphQL: GraphQL endpoint monitoring with query execution, variable support, error detection, and content validation. All new monitors include retry support, response time tracking, and integrate with existing display options (round_response_time, etc). GraphQL monitors also support SSL certificate tracking.
* feat: Add disable_ping_tooltips option to hide ping hover detailsFuwn2026-01-193-37/+45
| | | | | | Add monitor-level option to disable hover tooltips on individual ping bars. Can be set at group defaults or per-monitor. When enabled, visual appearance remains unchanged but tooltips no longer appear on hover.
* fix: Preserve config formatting when updating reset flagFuwn2026-01-191-22/+53
| | | | | | Use line-based approach instead of YAML unmarshal/marshal to prevent config file rewriting with zero values. This ensures monitors that omit fields like interval and timeout continue to inherit from group defaults.
* feat: Add configurable user_agent to bypass bot detectionFuwn2026-01-192-1/+8
|
* feat: Change default favicon to wind chime emoji (🎐)Fuwn2026-01-191-1/+1
|
* feat: Add wind emoji (💨) as default faviconFuwn2026-01-191-1/+5
|
* feat: Add round_uptime option to round uptime percentagesFuwn2026-01-195-0/+25
|
* feat: Add group defaults, content checking, SSL tracking for Gemini, ↵Fuwn2026-01-195-75/+197
| | | | hide/round options
* feat: Add reset_on_next_check flag to wipe monitor historyFuwn2026-01-193-22/+122
|
* feat: Add Gemini protocol supportFuwn2026-01-193-2/+227
|
* feat: Add retry option for monitor checksFuwn2026-01-195-1/+52
|
* feat: Add browser timezone option for client-side time displayFuwn2026-01-192-21/+177
|
* fix: Implement response buffering to prevent broken pipe errorsFuwn2026-01-191-5/+15
|
* fix: Remove superfluous WriteHeader call in template error handlingFuwn2026-01-191-1/+1
|
* feat: Terminal aestheticFuwn2026-01-171-242/+210
|
* feat: StyleFuwn2026-01-171-51/+73
|
* feat: Initial commitFuwn2026-01-179-0/+3130