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

Tracking Pull Request (Dashboard 0.1.9a) #82

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

NeuroAssassin
Copy link
Collaborator

@NeuroAssassin NeuroAssassin commented Mar 10, 2023

This PR will serve for tracking for release 0.1.9a for Dashboard web server. This PR is not compatible with the current released version for Dashboard cog (0.1.8a).

Disclaimer

This PR is subject to being updated. Configuration files and their data structures are likely to be updated, which will break any systems that previously install this PR. This PR is not for public use.

Focus

The focus of this update/PR is to create more independence between the web server and the dashboard cog. To accomplish this, data structures that previously relied on constant on web socket communication are becoming dynamic, and permanently stored. A full breakdown can be seen below, under the list of changes.

This update/PR also aims to clean more of the backend code, to improve readability and establish routes for possible third party routes in the future.

Timeline

This is a large overhaul of the backend web server, and as such may have a long timeline. Any users/developers that have forked this project should expect to have large merge conflicts.

Changes

  • Multiple instance configurations are now supported, which will support connecting to different bots based upon arguments passed at startup.
  • Instance configurations, UI preferences, bot data and more are now stored in configuration files located under App Directories. This should be stored in (and defaults to) a place close to the Red-DiscordBot data directory.
  • Fixed issue with locale picker not recognizing Norwegian Bokmål
  • Security keys now persist between startups; users will not need to re-authorize at every restart
  • Increased user timeout to 1 hour
  • Improved authorization success and failure pages
  • Created dynamic sidebar (customizable via Administrator page)
  • [PAUSED] Adding paging to guild loading on the /dashboard URI
  • Created Administrator page
    • Moved UI customization commands to Administrator page
    • Customize sidebar by locking pages, adding/removing pages, requiring authorization, and more
    • Added security features to help protect Dashboard
  • Addressed multiple CSS issues
  • Deprecated remnants of older discord.py and Red versions
  • Locked dependencies at functioning versions

Relevant issues/PRs

Closes #71
Closes #70
Closes #77
Closes #73
Closes #72
Closes #69

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.

Flask fails to import "escape" from Jinja2 Unknown locale 'no_NO'
1 participant