Server IP : 104.21.93.192 / Your IP : 216.73.216.26 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/root/proc/thread-self/root/var/softaculous/flatboard/ |
Upload File : |
=== 3.6 - Release date: 2025-07-18 === I'll optimize the Unpack & Flatboard code for PHP 8.4, incorporating modern PHP features, improved type safety, and better performance. Key changes include: - Refactoring class - Using typed properties and return types - Replacing deprecated functions and syntax - Using arrow functions where appropriate - Simplifying language detection - Improving error handling with exceptions - Using modern array syntax and string functions - Removing jQuery and using vanilla JavaScript (Unpack script) - Update Russian lang pack(Thank PaulBid) RSS Optimizations Applied 1. Object-Oriented Structure Created AtomFeedGenerator class that encapsulates all logic Separated responsibilities with specialized methods Better code reusability and maintainability 2. Performance Improvements Result Limitation: Added default limit of 20 entries to prevent feed overload HTTP Caching: Added cache headers (5 minutes) to reduce server load Loop Optimization: Used array_slice() to limit processing 3. Enhanced Security Improved XML Escaping: Using ENT_XML1 | ENT_QUOTES for better security Error Handling: Added global try-catch with error logging Data Validation: Additional checks before processing 4. Readability and Maintenance Constants: Defined constants for repeated values Short Methods: Split into specialized methods under 20 lines Explicit Naming: More descriptive method and variable names Documentation: PHPDoc comments for each method 5. Specific Optimizations XML Generation: Used heredoc for better readability Reduced DB Calls: Cached results in local variables Empty Case Handling: Specialized methods for empty feeds 6. Robustness Null Checks: Systematic validation before using data Error Management: Default return values in case of issues Logging: Error recording for debugging purposes === 3.5 - Release date: 2025-02-13 === ๐ Cross-Site Scripting (XSS) - implementing a Content Security Policy to add an additional layer of security against XSS attacks. (Thank Gavin) ๐ Ensure CHARSET is defined in HTMLForm Class. ๐ Revised the Trip function by adding additional security checks in HTMLForm Class. (Thank Gavin) ๐ Securing Values in HTMLForm Class. ๐ Check user password is not empty in User::login Class. [+] ๐ขRefactoring class code: Utils, flatDB, Paginate, Asset, Captcha, Plugin and User. [+] ๐ขAdded a method to delete the flatboard_trip cookie by setting an expiration in the past for best practice. [+] ๐ขAdded a second parameter to uniqid() to get a more precise unique string, which improves token security. (CSRF.lib.php) [+] ๐ขAdded pagination in plugins list page on the top. ๐ config.php, search.php : Checks the existence of variables and array keys before using them, avoiding null access errors. === 3.2.2 - Release date: 2024-12-11 === - Require PHP 8.0 in installation file. ๐ Cross-Site Scripting (XSS) - Thank to INCIBE (Spanish National Cybersecurity Institute) ๐ FlatBBeditor v.3.2.2 === 3.2.1 - Release date: 2024-11-30 === + Bootstrap theme version update ๐ Plugins darkmod and premium bootstrap theme switcher update. ๐ Some bugs fix!