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

Support for Slack Shortcuts, Modals, & Celery Beat Scheduled Tasks #4

Merged
merged 7 commits into from
Feb 11, 2023

Conversation

MLBZ521
Copy link
Owner

@MLBZ521 MLBZ521 commented Feb 11, 2023

  • Added support for Slack Shortcuts
    • Also included support for External data sources to pull lists into Slack options/options groups
  • Added support for Slack Modals
  • Added support for scheduled tasks using Celery's Beat feature
  • Updated and improved all Slack response messages and notifications
  • Other minor cleanup and standardizations
    • Ability to enable/disable Slack Slash Commands and Shortcuts via pkgbot_config.yaml

Major refactor
  * Moved core logic out of API modules
  * Initialization of both the FastAPI App and Celery App improved
Improved Login Experience
  * Appropriate verbose message based on the situation
  * Values are required in the username and password fields before clicking submit
  * Includes bug fix for new users not being able to login
ChatBot/SlackBot Changes
  * Added (potential) initial support for other chat bot services
  * Moved Slack Bot message creation outside of main project directories so that it can be overridden if desired
  * Added support for Slack API rate-limiting in the `delete_message` method
    * Plan to add support to additional methods in the future
Celery
  * Using `@shared_task` decorator to call Tasks
  * Overall improvements and standardization to when calling Tasks
Other minor improvements and changes:
  * Set Default AutoPkgCMD Verb when using `/autopkg/` API endpoints
  * Allow the timezone to be overridden
Not sure what I what I did originally that was causing issue and lead to the why it was previously, but this is now working...

Was also getting random Timeout errors using the old method...
+ Added support for Slack Shortcuts
  + Also included support for External data sources to pull lists into Slack options/options groups
+ Added support for Slack Modals
+ Added support for scheduled tasks using Celery's Beat feature
+ Updated and improved all Slack response messages and notifications
+ Other minor cleanup and standardizations
  + Ability to enable/disable Slack Slash Commands and Shortcuts via pkgbot_config.yaml
This is mainly just so `None` isn't displayed in the web view for these fields.
@MLBZ521 MLBZ521 merged commit 4a379bd into main Feb 11, 2023
@MLBZ521 MLBZ521 changed the title Support for Slack Shortcuts, Models, & Celery Beat Scheduled Tasks Support for Slack Shortcuts, Modals, & Celery Beat Scheduled Tasks Feb 11, 2023
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