Commit Graph
11 Commits
Author SHA1 Message Date
Denozordec 82ad7c633a Implement tab navigation and health check display in DashboardPage
- Added tab navigation to switch between 'Overview' and 'Health Check' sections.
- Introduced health issues count badge in the 'Health Check' tab.
- Refactored the layout to display account balances and upcoming payment expirations in a structured format.
- Enhanced user interface for better visibility of account statuses and health metrics.
2026-03-20 23:21:00 +07:00
Denozordec 93cb6422d5 Refactor inventory health calculations and enhance account mismatch detection
- Renamed and refactored `ledgerBalanceInCurrency` to `ledgerRowsInAccountCurrency` for clarity.
- Introduced `accountHasApiLedgerMismatch` function to streamline balance mismatch checks between API and ledger.
- Updated `computeInventoryHealth` and `getBalanceMismatchAccountIds` to utilize the new mismatch detection logic.
- Enhanced user feedback in `AccountsPage` regarding balance discrepancies and ledger activity.
2026-03-20 23:16:49 +07:00
Denozordec 196c5be532 Enhance database management and synchronization features
- Added new backup and restore functionality for JSON and SQLite database formats.
- Implemented notification settings for low balance alerts and sync digests in the settings page.
- Updated database schema to include new columns for balance alert thresholds and notification preferences.
- Refactored synchronization logic to provide detailed summaries and improved error handling.
- Enhanced user interface for managing accounts and settings, including new input fields for balance alerts.
- Improved sync log display to include summary information for better tracking of synchronization results.
2026-03-20 23:11:58 +07:00
Denozordec 994dde2314 Refactor forms to disable browser suggestions and improve user experience
- Integrated `noBrowserSuggestProps` across multiple pages to prevent browser autocomplete suggestions on input fields.
- Updated form elements in `AccountsPage`, `BalancePage`, `PaymentsPage`, `ProvidersPage`, `ReportsPage`, `ResourcesPage`, `SettingsPage`, `TariffsPage`, `VpsPage`, and `ProjectSuggestInput` to enhance usability.
- Ensured consistent application of `autoComplete="off"` for select elements to improve form behavior.
2026-03-20 23:00:29 +07:00
Denozordec 3fe2d2bc61 Enhance project suggestion input with dropdown menu and highlighting
- Implemented a new dropdown menu for project suggestions using Tabler styles.
- Added highlighting for matched text in suggestions to improve user experience.
- Refactored input handling to manage open/close state and keyboard navigation.
- Updated CSS for project suggestion panel and scroll behavior.
2026-03-20 22:55:24 +07:00
Denozordec 9d5b434bea Add project management features and enhance database schema
- Introduced a new `server_projects` table to manage project details.
- Updated the `vps` table to include a foreign key reference to `server_projects`.
- Enhanced the API to support project-related data retrieval and manipulation.
- Implemented project filtering in the Reports and VPS pages.
- Added project selection functionality in the UI for better resource management.
- Improved data seeding and migration scripts to accommodate new project structure.
2026-03-20 22:50:57 +07:00
Denozordec 7ce754ca90 Implement Telegram notification features for payment expiry and new tariffs
- Added functionality to send Telegram notifications for upcoming payment expirations and new tariffs.
- Enhanced `runScheduledSync` and `runScheduledSyncTariffs` to trigger notifications based on settings.
- Updated database schema to include Telegram settings and notification preferences.
- Introduced a test endpoint for verifying Telegram notification setup in the settings page.
- Improved user interface in the settings page to manage Telegram bot token and notification preferences.
2026-03-20 22:32:34 +07:00
Denozordec 8ca276c65c Refactor ReportsPage to improve data filtering and calculations
- Replaced direct filtering of VPS data with a more structured approach using a Map for account-level grouping.
- Enhanced payment and debit calculations to account for both direct and account-level entries.
- Introduced logic to calculate total expenses based on monthly and daily rates when no payments or debits are found.
- Removed unused monthKey import for cleaner code.
2026-03-17 23:54:42 +07:00
Denozordec 9717b0156c Enhance account synchronization with optional tariff syncing
- Updated `syncAccount` function to accept options for selective synchronization.
- Modified `syncFromBillmanager` to handle new options for skipping tariff syncs.
- Adjusted `TariffsPage` to utilize the new option for syncing only tariffs.
- Removed unused tariff tracking from `VpsPage` and updated sync message logic accordingly.
2026-03-17 23:52:25 +07:00
Denozordec 0dd2f0d7fa Add scheduled tariff synchronization and bulk update functionality
- Introduced `runScheduledSyncTariffs` function to handle tariff synchronization independently from VPS and payment sync.
- Updated `syncFromBillmanager` to accept options for skipping tariff and VPS payment syncs.
- Added new database columns for `syncTariffsIntervalMinutes` and `customFields` in settings.
- Enhanced settings page to configure tariff sync interval.
- Implemented bulk update functionality for VPS status and deletion in the VPS management page.
- Updated various components to support new features, including sync log display and improved payment handling.
2026-03-17 23:45:19 +07:00
Denozordec 221edcda16 init commit 2026-03-17 23:19:28 +07:00