Repository navigation
Releases
Releases · CodePagol/ISP-Mikrotik-Billing
Release v3.0.0 - Developer Plugin Architecture, Smart Dual-Engine Updater & UI Responsiveness
Release v3.0.0 - Developer Plugin Architecture, Smart Dual-Engine Updater & UI Responsiveness
Latest
🌟 Major Release Highlights (v3.0.0)
🔌 Extensible Developer Plugin Architecture & Ecosystem
- Modular Decoupled Design: Developers can now build, publish, and monetize custom extensions independently inside
plugins/{slug}/without modifying core system files. - Standardized Plugin Manifest & Lifecycle: Support for standard
plugin.json(metadata, author, version, dependencies, license requirement, GitHub repository) andPlugin.php(hooks forboot(),register(), anduninstall()). - Autonomous Database & Routing: Plugins support their own database migrations (
plugins/{slug}/database/migrations), dedicated routes (web.php,api.php), and Blade views. - 3 Modular Installation Methods for Admins & Developers:
- ZIP Archive Upload: Upload pre-packaged plugins directly via admin UI.
- GitHub / Git URL Clone: Instant 1-click clone from any public or private Git repository with custom branch selection.
- Composer Package Installation: Install official or third-party extensions directly through Composer.
- In-App Developer Guide: Embedded documentation tab inside Plugin Manager → Developer Guide with starter templates, directory hierarchy, and hook references.
- Commercial Licensing Guard: Built-in licensing validation system for developers to safeguard commercial and proprietary extensions.
- Independent Plugin Versioning & 1-Click Updates: Plugins in standalone repositories (e.g.,
ISP-Billing-inventory-manager) can be versioned and updated independently via the update engine without requiring a core system redeployment.
⚡ Smart Dual-Engine Update System
- Automated detection of Git vs cPanel / Shared Hosting environments.
- Git Mode: Ultra-fast, bandwidth-saving diff-only update via
git pull origin main. - cPanel Safe ZIP Fallback Mode: Seamless 1-click update without Git CLI using native PHP
ZipArchive. - Zero-Loss Data Protection: Strictly guards
.env,storage/(customer files, logs, backups),plugins/, and database configurations during core updates.
🔔 Auto-Updating Super Admin Notification Engine
- Real-time notification badge in the header navbar alerting Super Admins when new versions are published on GitHub.
- Interactive popup modal displaying release notes and changelog before updating.
🧹 Dependency Clean & Vendor Optimization
- Removed dead/unused packages (
laravel/socialite,laravel/pennant,laravel/scout,phpoffice/phpspreadsheet,spatie/laravel-backup-server,pestphp/pest-plugin, and orphanedPluginsnamespace). - Cleaned
composer.lockachieving 0 warnings oncomposer validate.
📱 100% Responsive Adaptive UI Across All Modals
- Pin-fixed header & sticky footer architecture with smooth scrolling bodies (
min-height: 0,overflow-y: auto). - Dynamic viewport height support (
100dvh) eliminating overflow and zoom issues on mobile/tablet devices.
🚀 নতুন ফিচার ও উন্নয়ন (বাংলায়)
- ডেভেলপার প্লাগইন সিস্টেম: ডেভেলপারদের জন্য সম্পূর্ণ নতুন প্লাগইন ফ্রেমওয়ার্ক তৈরি করা হয়েছে। এখন যে কেউ সহজেই জিপ আপলোড, গিট ক্লোন বা কম্পোজারের মাধ্যমে কাস্টম প্লাগইন বানাতে এবং ইনস্টল করতে পারবেন। প্লাগইনের সাথে অটো-মাইগ্রেশন, কাস্টম রুট এবং লাইসেন্সিং গার্ড যুক্ত রয়েছে।
- স্মার্ট ডুয়াল-ইঞ্জিন আপডেট: সাধারণ হোস্টিং বা cPanel-এ Git না থাকলেও স্বয়ংক্রিয়ভাবে ZIP প্যাকেজ ডাউনলোড করে ১-ক্লিকেই সফটওয়্যার আপডেট হবে। একইসাথে ইউজারের ডাটাবেস কনফিগারেশন (
.env) এবং কাস্টমার আপলোড ফাইলসমূহ (storage/) ১০০% সুরক্ষিত থাকবে। - সুপার অ্যাডমিন নোটিফিকেশন: নতুন কোনো রিলিজ আসলেই অ্যাডমিন প্যানেল হেডারে অটোমেটিক ব্যাজ চলে আসবে এবং চেঞ্জলগ দেখে এক ক্লিকে আপডেট করা যাবে।
- রেস্পন্সিভ মডাল: সব মডালের সেভ বাটন এখন ফিক্সড থাকবে এবং স্ক্রিন ছোট হলেও কেটে যাবে না।
Full Changelog: v2.0.0...v3.0.0
Release v2.0.0 - Pay-Bridge Integration, Security Hardening & Bug Fixes
🚀 New Features & Enhancements
- Pay-Bridge Payment Gateway Integration: Fully integrated the modern
codepagol/pay-bridgepayment package along with updated configuration structures (config/payment.php) and controllers. - Universal Storage Symlink Manager: Enhanced the storage linking action in Main Site Setup > System Utilities > Storage Link. It now automatically detects and generates symbolic links across:
- Standard environments (VPS, Docker, Localhost/Laragon)
- cPanel primary domain (
public_html/storage) - cPanel Addon domains & Subdomains via dynamic webroot detection (
$_SERVER['DOCUMENT_ROOT']) - Optional custom public webroot input override.
- Standalone cPanel Helper: Added
scripts/cpanel-storage-link.phpfor seamless initial setup before first admin login on shared hosting.
🛡️ Security Hardening
- bKash IPN Forgery Mitigation: Closed unauthenticated webhook forgery risks by adding a robust 6-layer security gate:
- Gateway enabled state validation
- HMAC-SHA256 signature verification via
X-Bkash-Signature - Strict status validation
- Collection idempotency pre-check
- Server-side fallback Query Payment API verification against bKash servers
- Added API route rate limiting (
throttle:30,1).
- Eliminated Obfuscated Code (
eval): Completely removed alleval(openssl_decrypt(...))calls from middleware and service providers, replacing them with a safe, transparent Attribution Guard system under AGPL-3.0 compliance.
🐛 Bug Fixes & Code Cleanup
- Console Scheduler Exception Fixed: Resolved the Laravel scheduler
LogicException: A scheduled event name is required to prevent overlappingby assigning unique descriptive names (->name(...)) to all closure events inroutes/console.php. - Hotspot Analytics Date Bug: Fixed an issue in
HotspotManagerwhere multiple calls to Carbon'ssubDays()mutated the base date object, resolving analytics calculation and chart generation errors. - Repository Cleanup:
- Removed deprecated and unused root
BkashController.php. - Removed orphaned and unreferenced Laravel Telescope assets (~1.9 MB of dead JS/CSS).
- Removed insecure public script
public/link.php.
- Removed deprecated and unused root
🚀 নতুন ফিচার (New Features)
- Pay-Bridge Payment Gateway Integration: নতুন ও আধুনিক পেমেন্ট গেটওয়ে সিস্টেম
codepagol/pay-bridgeসম্পূর্ণভাবে ইন্টিগ্রেট করা হয়েছে। - Universal Storage Symlink Support: অ্যাডমিন প্যানেলের (
Main Site Setup > System Utilities > Storage Link) মাধ্যমে এখন সাধারণ VPS, লোকাল সার্ভার এবং cPanel-এর মেইন ডোমেন (public_html), Addon Domain ও Subdomain-এর জন্য এক ক্লিকেই স্বয়ংক্রিয়ভাবে সিমলিংক তৈরি করা যাবে। এছাড়াও কাস্টম পাথ স্পেসিফাই করার অপশন যুক্ত করা হয়েছে। - Standalone cPanel Utility: সার্ভারে প্রথমবার ডিপ্লয় করার সুবিধার্থে
scripts/cpanel-storage-link.phpইউটিলিটি স্ক্রিপ্ট যোগ করা হয়েছে।
🛡️ নিরাপত্তা ও লাইসেন্সিং উন্নয়ন (Security & License Improvements)
- bKash IPN Forgery Vulnerability Resolved: বিকাশ আইপিএন ওয়েবহুক এন্ডপয়েন্টে HMAC-SHA256 সিগনেচার ভেরিফিকেশন, সার্ভার-টু-সার্ভার Query Payment রি-ভেরিফিকেশন, রেট লিমিটিং (
throttle:30,1) এবং আইডেমপোটেন্সি চেক যুক্ত করে জাল পেমেন্ট রিকোয়েস্ট তৈরি বন্ধ করা হয়েছে। - Legacy eval() Removed: পূর্বে ব্যবহৃত ক্ষতিকর ও অপ্রচলিত
eval(openssl_decrypt(...))মেকানিজম সম্পূর্ণরূপে মুছে ফেলে নিরাপদ ও স্বচ্ছ Attribution Guard সিস্টেম চালু করা হয়েছে।
🐛 ফিক্স ও অপ্টিমাইজেশন (Bug Fixes & Optimizations)
- Console Scheduler Fix:
routes/console.php-এwithoutOverlapping()ব্যবহারের কারণে সার্ভারে আসাLogicException: A scheduled event name is requiredসমস্যাটি সব শিডিউল ইভেন্টে ইউনিক নাম যোগ করে সমাধান করা হয়েছে। - Hotspot Analytics Date Bug:
HotspotManager-এ Carbon অবজেক্ট মিউটেশন সমস্যার কারণে চার্ট ও রেভিনিউ হিসেব সংক্রান্ত ত্রুটি দূর করা হয়েছে। - Repo Cleanup: পূর্বে থাকা অব্যবহৃত ও ডামি
BkashController.php, প্রায় ১.৯ মেগাবাইটের এতিম (Orphaned)telescopeঅ্যাসেট ফাইলসমূহ এবং অনিরাপদpublic/link.phpমুছে প্রজেক্ট ক্লিন করা হয়েছে।
Developed with ❤️ by CodePagol
Full Changelog: v1.0.1...v2.0.0
Router OS v7 configure
Full Changelog: https://github.com/CodePagol/ISP-Mikrotik-Billing/commits/v1.0.1
Here, the major update is the router os v7 command. and some minor bugs.