Skip to content

Commit

Permalink
Launch v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yiays committed Dec 9, 2024
1 parent 8990835 commit a3ad490
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 7 deletions.
18 changes: 11 additions & 7 deletions config/config.factory.ini
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ themecolor = 0x000000
voteurl =
tos_url =
beta = False
ver = 2.6.3
ver = 2.7.0
creator =

[intents]
Expand Down Expand Up @@ -177,13 +177,17 @@ changelog = > 1.0.0
- Removed all traces of /botmod and /imagesupport
- Reduced errors and improved guidance messages
> 2.6.2
- Fixed an elusive bug where confessions were ending up with the wrong Anon-IDs, or even in the wrong server.
- Fixed an issue where untraceable messages would still have colours - or traceable messages would not have colours.
- Confession Reporting was not working for some time, this has also been fixed.
- Error logging has been drastically improved to help catch issues like this faster in the future.
- Fixed an elusive bug where confessions were ending up with the wrong Anon-IDs, or even in the wrong server
- Fixed an issue where untraceable messages would still have colours - or traceable messages would not have colours
- Confession Reporting was not working for some time, this has also been fixed
- Error logging has been drastically improved to help catch issues like this faster in the future
> 2.6.3
- Improved support for custom channel types which require a custom command. (Like Marketplace channels requiring `/sell`)
- Fixed some issues that would lead to approving a confession doing nothing.
- Improved support for custom channel types which require a custom command (Like Marketplace channels requiring `/sell`)
- Fixed some issues that would lead to approving a confession doing nothing
> 2.7.0
- This update was created in response to an independant security audit
- Anon-IDs generation has been improved and is now more secure
- Encryption for sensitive user data has been improved
[premium]
icon =
Expand Down
20 changes: 20 additions & 0 deletions migrations/v2_7_0_security.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""
This script deletes all shuffles so that the new system is always used
"""

from __future__ import annotations

from typing import TYPE_CHECKING

if TYPE_CHECKING:
from config import Config


def migrate(config:Config):
print(" - Deleting all server shuffle & ban data...")

for key in config['confessions']:
if key.endswith('_shuffle') or key.endswith('_banned'):
config.remove_option('confessions', key)

print(" - Shuffle deletion complete!")

0 comments on commit a3ad490

Please sign in to comment.