Skip to content

Releases: cubicbyte/dteubot

3.0.0 - Go rewrite

28 Nov 15:02
48b05d3
Compare
Choose a tag to compare

This is the first version of the bot in the Go programming language.

Added

  • Added icons showing the type of lesson
  • Added new type of classes notifications: Next classes part
  • Added command aliases
  • Added support for selecting a group via its name: /group ФІТ 3-8

Changed

  • The commands have been reworked a bit
  • Improved the page with additional lesson info
  • Reworked bot database, added selection of postgresql/file system DB type
  • The /left command now scans 7 days instead of 1
  • Removed Easter statistics menu called via /empty_1 command

What's Changed

Full Changelog: v2.3.0...3.0.0

2.3.0 - Latest major v2 release

28 Nov 14:41
a8e644f
Compare
Choose a tag to compare

This is the latest python version of the bot, before a complete rewrite to the Go language.

Since the last release such global things have been added:

  • Classes notifications
  • Students list menu
  • Menu of additional information in the timetable
  • Links to teachers profiles

Smaller changes

  • Added api error specific pages: For 403 and 404
  • The group name is now visible in the settings menu
  • Support for /select <group_id> command arguments.

And also the stability of the bot was maximized, a lot of small changes, a ton of code refactoring and also the bot was rewritten on a different framework.

Pull requests

Full Changelog: v2.2.0...v2.3.0

v2.2.0

07 Mar 12:13
Compare
Choose a tag to compare

Added

  • If the user selects a language that is already set - the settings menu opens
  • Added caching of the entire content of some messages, which should speed up the bot a bit
  • The "Info" menu now displays the current version of the API, as well as the supported version of the API
  • Added an alias button to /left in the "More" menu (Not for long)
  • Not bot sends important logs to me in Telegram so now I can detect critical errors faster

Fixed

  • The bot now again calculates the time to the break
  • Fixed all potential bugs related to lack of proper escaping
  • Bot can't start without loaded cache
  • Bot can't use negative values in next ENV fields:
    • API_REQUEST_TIMEOUT
    • API_CACHE_EXPIRES

Changed

  • Min python version is now 3.8
  • Reworked the text of the menu with an error about the wrong group
  • Removed emoji before "Bot creator" in the "Info" menu in the English localization
  • The "Change lang" button has been renamed "Change language"
  • Changed bot creator credits in the Info menu
  • Updateв the Telegram Markdown version to V2
  • Change message.id to message.message_id to support older versions of pyTelegramBotApi
  • Changed settings menu
  • Changed the default language definition mechanism
    Previously: the bot set its language based on the language of the user interface
    Now: the bot sets a fixed language selected in env

Improved

  • Improved localization files
  • Improved requirements
  • The api library has been significantly improved
  • Lots of code improvements

Full Changelog: v2.1.1...v2.2.0

v2.1.1

18 Feb 15:48
Compare
Choose a tag to compare

Changed

  • Instead of just skipping days without lessons (which was confusing to users before), now they see a menu that says the number of days without lessons.

Fixed

  • Fixed broken linux scripts

Improved

  • Refactored bot/pages/schedule.py file

Full Changelog: v2.1.0...v2.1.1

v2.1.0

13 Feb 18:21
bebde59
Compare
Choose a tag to compare

Added

  • A link to the source code has been added to the "Info" menu
  • The enable_http field was added to the CachedApi class constructor, fixing a bug where the "API not available" message was displayed when the site was down

Changed

  • Now empty days are skipped when navigating
  • Changed emoji in the welcome message
  • Repository name changed from "sute-schedule-bot" to "dteubot

Changes

Full Changelog: v2.0.0...v2.1.0

v2.0.0

10 Feb 11:02
Compare
Choose a tag to compare

In this update, the cacher was integrated into the bot, which loads all the necessary data from the university, allowing the bot to work offline.

Added

  • An introductory greeting was added
  • Added cache_reader library for reading cache
  • Created a script for loading the cacher
  • Created a script for loading the cache

Changed

  • The headings in the group selection menu are now bold
  • Now the API returns not a Response object, but a final result
  • Renamed the "command" group to "page" in lang files

Fixed

  • Fixed typo in the info menu
  • Fixed wrong parameters passed to API by bot
  • The following unfinished API methods have been fixed:
    • list_teachers_by_chair
    • list_students_by_group
  • Fixed validation of API_REQUEST_TIMEOUT, API_CACHE_EXPIRES environment variables values

Improved

  • Slightly improved README
  • Code improvements
  • Updated libraries

Full Changelog: v1.6.0...v2.0.0

v1.6.0

06 Jan 11:05
Compare
Choose a tag to compare

Fixed

  • Fixed the debug line that breaks the group selection menu
  • Fixed a critical bug, in which an error occurred the first time a user interacts with the bot. Reason: Incorrect saving of the config

Changed

  • Simplified buttons in the menu
  • Removed the display of time to the end of the classes
  • The logs are now stored in a single file
  • Changed my username (Angron42 → cubicbyte)
  • Updated libraries to the latest version

Added

  • Added buttons for getting and clearing logs for the admin

Improved

  • Improved logging for easier error detection
  • Code and project structure improvements

Full Changelog: v1.5.1...v1.6.0

v1.5.1

02 Dec 16:54
6b718bb
Compare
Choose a tag to compare

Added

  • Added docker support
  • Added bot resistance to non-200 API response codes

Changed

  • Changed the navigation buttons in the schedule menu
  • Manual implementation of bot.polling() replaced with built-in bot.infinity_polling()
  • Updated README

Improved

  • Improved project file structure

New commits

Full Changelog: v1.5.0...v1.5.1

v1.5.0

22 Nov 16:39
c025e31
Compare
Choose a tag to compare

Added

  • Now, if the schedule record is expired and the site is down, a "Received from cache" note is shown

Changed

  • Now checking for admin is performed for the user, not the chat
  • Now the user is thrown to the menu if the button query is outdated

Fixed

  • Fixed old university name in menu

Improvements

  • Improved button query structure & handlers
  • Now chat configs are updated after each bot launch
  • Improved structure of chat configs
  • Changed logging method in the chat configs updating script

Full Changelog: v1.4.2...v1.5.0

v1.4.2

18 Nov 07:22
1a7d206
Compare
Choose a tag to compare

Added

  • Admin panel has been added
  • Added command /admin
  • Added menu "Access denied"
  • Clear cache buttons have been added to the admin panel
  • The /calls command has been added to the README

Fixed

  • Title in call schedule menu was not bold
  • Python version is README was updated
  • Fixed non-expiring api cache
  • Fixed broken request timeout in api

Changed

  • Changed the text in the schedule menu when there are no lessons

Improvements

  • Now the chat configs update script takes arguments
  • Now, when the bot is updated on the server, chat-configs is automatically updated

What's Changed

Full Changelog: v1.4.1...v1.4.2