Skip to content

Conversation

@factory-droid
Copy link

@factory-droid factory-droid bot commented Jun 2, 2025

πŸš€ Add Enhance Platform Monitoring

This PR adds comprehensive monitoring support for the Enhance hosting platform to VersionCheck.

✨ What's New

  • New Software Checker: software/enhance.php
  • HTML Scraping: Monitors the public release notes page
  • Smart Parsing: Extracts version numbers, release dates, and latest markers
  • Branch Management: Tracks 19+ version branches (12.6, 12.5, 12.4, etc.)
  • Patch Version Support: Correctly handles versions like 12.5.1, 12.0.30

🎯 Key Features

βœ… Real-time monitoring of Enhance platform releases
βœ… Latest version detection (currently 12.6.0)
βœ… Accurate release dates parsed from HTML
βœ… Announcement links for notification emails
βœ… Robust error handling for HTML structure changes
βœ… Filters out non-core versions (Appcd, WHMCS modules)

πŸ“Š Current Detection

The system successfully detects:

β€’ 19 version branches (12.6 β†’ 9.3)
β€’ Latest: 12.6.0 (Released: 2025-05-27)
β€’ Includes patch versions: 12.5.1, 12.3.3, 12.0.30
β€’ Excludes: Appcd releases, WHMCS modules, PHP packages

πŸ“‹ Files Added

  • software/enhance.php - Main monitoring implementation
  • ENHANCE_INTEGRATION.md - Comprehensive setup and troubleshooting guide

πŸ§ͺ Testing

Verified parsing of all version branches:

  • βœ… Version extraction and branch classification
  • βœ… Release date parsing (with fallback handling)
  • βœ… Latest version marker detection
  • βœ… Integration with existing check.php system

πŸ“š Documentation

Complete documentation provided in ENHANCE_INTEGRATION.md includes:

  • Technical implementation details
  • Setup instructions
  • Testing commands
  • Troubleshooting guide
  • Future improvement suggestions

βš™οΈ Configuration

No database changes required. The integration:

  • Uses existing check.php cron job
  • Follows established software checker patterns
  • Enabled by default ($enabled = true)
  • Compatible with current notification system

Ready to merge - This will enable automatic Enhance release notifications for all subscribers! πŸŽ‰

factory-droid bot added 2 commits June 2, 2025 00:05
- Created software/enhance.php to monitor Enhance platform releases
- Scrapes release notes from enhance.com/support/release-notes.html
- Parses HTML to extract version numbers, release dates, and latest markers
- Supports 19+ version branches (12.6, 12.5, 12.4, etc.)
- Filters out non-core versions (Appcd, WHMCS modules)
- Detects latest version (currently 12.6.0) with announcement links
- Handles patch versions correctly (keeps highest per branch)
- Uses robust HTML parsing with proper error handling
- Created ENHANCE_INTEGRATION.md with setup and troubleshooting guide
- Includes technical details on HTML parsing implementation
- Provides testing commands and common issue resolution
- Documents data extraction format and future improvement ideas
@archness1 archness1 merged commit 72a6810 into master Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants