v2.0.0
Release Notes for 9/18/2020
2020.9.18
Several changes on moodleapi following by new commands and functionalities
[ GENERAL ]
- Created Cogs to modularize commands.
- Added moodle
, general
, general2
and fun
Cogs.
- Reduction of main
functions to only loading Cogs.
- Created settings
to storage all csv paths and allowed channels.
- Created utilities
to setup Bot messages
- Created utilities_moodle
to setup assignmentsdata
dictionary.
- Added new information to csv files.
- Created encryption.key
file for storage the encryption key.
- Changed Project version according to SemVer
[ COMMANDS ]
- Changed Bot prefix to mack
.
- Added Get
to get assignments from assignments.csv
and send it embeded to the text chat.
- Added Check
to check if the assignments were done.
- Added GetToken
to create or access your MoodleAPI token decrypted.
- Added GetData
background task to update all events every 12 hours.
- Added Chat_permission
to allow or revoke the bot permission in that specific chat.
- Increased Clear
performance.
- Added Print
to print embed messages in chat.
- Added Cipher
that prints Caesar's Cipher.
[ CORE ]
- Init: changed lastest and stable version to 2.0.0.
- Init: added security
and token
to __all__
packages.
- Request: added two new exceptions for HTTP protocols.
- Security: created Security
package liable to encrypt, decrypt and generate encryption key.
- Settings: added two new functions to func
dict: course_contents
and course_subjects
keys.
- Settings: added Discipline teacher
, Discipline ID
, Month names
and Week Day names
dictionaries.
- Token: created Token
package responsable to create or get MoodleAPI Token.
- Version: added one more digit to version number and changed 2.0.0 to final version.
[ DATA ]
- Calendar: increased filter
performance.
- Calendar: created _verify
to verify and return assignments informations.
- Calendar: created _check_time
to check if an event given is expired.
- Calendar: created _time
to setup the submit date by transforming epoch time.
- Calendar: created _clean
to remove all HTML elements that comes with data.
- Course: created Course
module responsable to get data by given courseid.
- Course: created contents
to filter all data recived.
- Course: created get_subjects
responsable for get professor's name and their respective courseid.
- Course: created filter
to filter only assignments by all information recived from contents.
- Export: created Export
module for export data (only for csv currently).
- Export: created to_csv
liable to export data for csv file with style parameter.
[ MISC ]
- Added new libraries to requirements.txt
.
- Added files to .gitignore.
- Removed LICENSE.
More features coming soon...