Repository navigation
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