Skip to content

v0.2.1

Choose a tag to compare

@ppouria ppouria released this 29 Dec 23:32
· 65 commits to main since this release

The latest version of the project is now live! πŸŽ‰ This release introduces significant updates and new features, enhancing the efficiency, security, and capabilities of the project. Below are the detailed release notes:


New Features and Changes:

πŸ—ƒοΈ Database Structure Updates:

  1. New Columns Added to admin_settings Table:
    • hashed_password_before for storing the hashed password before restrictions.
    • last_expiry_notification for tracking the last notification sent for time limits.
    • last_traffic_notification and last_traffic_notify for managing traffic usage limits.
  2. Changes in user_states Table:
    • Added template_index column for handling message templates.
  3. Changes in user_temporaries Table:
    • Added the value column for storing temporary user data.

βš™οΈ Traffic Usage Limits Management:

  1. Automated Notifications:
    • Alerts when remaining traffic drops to 300GB, 200GB, and 100GB.
    • Final warning at 50GB, followed by access suspension.
  2. Account Reactivation:
    • Restores access and reactivates users if traffic is renewed.
  3. Multilingual Notifications:
    • Notifications are available in three languages (English, Persian, and Russian).

⏳ User Limit Management:

  1. Nightly Warnings:
    • Notifications sent at midnight if fewer than 5 user slots remain available.
  2. User Limit Enforcement:
    • Prevents creating new users if the user limit is reached.

πŸ–±οΈ Traffic Management Features:

  1. Adjust Traffic Quota:
    • Add or reduce traffic with pre-set options (+500GB, +1TB, +5TB, etc.).
    • Manage custom traffic limits for admin accounts.

πŸ“… Automated Cron Jobs:

  1. Automatically checks and adds cron jobs for necessary scripts if not already set.
  2. Ensures essential operations run smoothly every minute.

πŸ”’ Security and Stability:

  1. Optimized Password Management:
    • Ensures secure handling of hashed passwords during time and traffic restrictions.
  2. Enhanced Logging:
    • Improved logging mechanisms for better issue identification.
  3. Efficient Notification Management:
    • Avoids redundant notifications, ensuring a clean user experience.

Additional Updates:

  1. Fixed bugs related to traffic and time limits.
  2. Improved messaging logic for more precise notifications.
  3. Streamlined code for better performance and reduced complexity.