Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2 - Cypher #47

Merged
merged 93 commits into from
Dec 31, 2023
Merged

v2 - Cypher #47

merged 93 commits into from
Dec 31, 2023

Conversation

Itz-fork
Copy link
Owner

@Itz-fork Itz-fork commented Dec 28, 2023

Mega.nz-Bot - Cypher

Get ready to experience a major transformation in your bot's capabilities ✨!

Here's what's new:

  • Rebuilt from the Ground Up ️🏢
    The codebase has been completely rewritten and organized for enhanced performance and maintainability.

  • Effortless Configuration ⚙️

    • Managing settings is now a breeze with .env files and environment variables.
    • Don't want to configure everything? Choose and use what you want from options
  • Network Control 🌐

    • Speed limiting 🛑
    • Parallel download connections ⚡
    • Proxy support for bypassing ️‍♂️
  • Multi-User Authentication 👨‍👩‍👦

    • Everyone can now securely login with their own accounts!
    • Enjoy personalized experiences and privacy.
  • Enhanced Security 🛡

    • Private mode keeps your activities discreet.
    • Data encryption shields your information. ️
    • Anonymous file transfers safeguard sensitive files (can be disabled by admins).
  • Extendable 🧩

    • Extend the bot's functionalities with additional libraries and helper utilities.

Ready to use Cypher? Deploy a new instance or Update existing one!

Itz-fork and others added 30 commits November 18, 2023 22:05
Updated regex to support all the mega.nz links
- Added progress bar for downloading and uploading from telegram
- Updated text message strings
- Added support for private file/folder download
- Fixed fs errors in megatools.download function
- changed docker image to fedora
- updated regexs
- root perms for package installer
- updated readme
- added config vars info in readme
- added copyright header
- renamed cors.py to sysfncs.py
file_info function can be used to get basic file info such as name and size of the file
return with a message saying user hasn't logged if the task is account bound and user isn't logged in currently
- added support for global mode (set AUTH_USERS to "*")
- better authorization logic
- added ban / unban features
- update database schema to keep track of files a user has downloaded / uploaded
- database: update database schema to only use "users" collection for everything including bans
- privacy: support for private, public and global mode with admins
- admin: added info command

some other minor changes
- added group chat support
- fixed megatools not working without login
- cancellable upload tasks
- limit 1 process per user at a time
- fixed MeganzClient.full_cleanup throwing error when msg_id is None or not in glob_tmp
- prevent admins from getting banned
- prevent users from logging in public chats
- some text string updates
- added support for folder info
- pre compile regexes
- use asyncio.subprocess instead of subprocess
- added some missing exceptions to __checkErrors function
- minor bug fixes
- added user account info method
- store env in a variable instead of calling copy method on each request
- paste folder struct to nekobin to avoid message too long errors
- added proxy support for megadl
- added user account info command
- renamed database to CypherDB
- fixed database resetting everytime a user starts the bot
- fixed folder info error
- moved additional functions to bonus.py
- updated message strings
@Itz-fork Itz-fork merged commit 976bbc8 into main Dec 31, 2023
2 checks passed
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.

1 participant