-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from khakers/feature/config-rewrite
Rewrite config for Gestalt
- Loading branch information
Showing
34 changed files
with
744 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Changelog | ||
|
||
Based on [common changelog spec](https://common-changelog.org/) | ||
|
||
## [Unreleased] | ||
|
||
_If you are upgrading: please see [`UPGRADING.md`](UPGRADING.md)._ | ||
|
||
|
||
### Changed | ||
|
||
- **Breaking:** Migrate configuration system to Gestalt. | ||
- **Breaking:** Change default http port to 7080. | ||
- **Breaking:** Change default https port to 7443. | ||
|
||
### Added | ||
|
||
### Removed | ||
|
||
- **Breaking:** Remove support for automatic secret key generation. You must always provide a valid key when using authentication. | ||
- **Breaking:** Deprecate support for `MODMAIL_VIEWER_ANALYTICS_BASE64` configuration key. Use `MODMAIL_VIEWER_ANALYTICS` with ${base64Decode:}. | ||
|
||
### Fixed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## [UNRELEASED] - 2023-8-18 | ||
|
||
All configuration keys have been changed with the migration of the configuration system. | ||
See below for a list of keys and their new values. | ||
|
||
| Previous Key | New Key | | ||
|--------------------------------------------|---------------------------------------------| | ||
| MODMAIL_VIEWER_URL | MODMAIL_VIEWER_APP_URL | | ||
| MODMAIL_VIEWER_MONGODB_URI | MODMAIL_VIEWER_APP_MONGODB_URI | | ||
| MODMAIL_VIEWER_DISCORD_OAUTH_CLIENT_ID | MODMAIL_VIEWER_APP_DISCORD_CLIENT_ID | | ||
| MODMAIL_VIEWER_DISCORD_OAUTH_CLIENT_SECRET | MODMAIL_VIEWER_APP_DISCORD_CLIENT_SECRET | | ||
| MODMAIL_VIEWER_DISCORD_GUILD_ID | MODMAIL_VIEWER_APP_DISCORD_GUILD_ID | | ||
| MODMAIL_VIEWER_SECRETKEY | MODMAIL_VIEWER_APP_AUTH_SECRETKEY | | ||
| MODMAIL_VIEWER_DEV | MODMAIL_VIEWER_APP_DEV | | ||
| MODMAIL_VIEWER_AUTH_ENABLED | MODMAIL_VIEWER_APP_AUTH_ENABLED | | ||
| MODMAIL_VIEWER_SSL | MODMAIL_VIEWER_APP_SSL_ENABLED | | ||
| MODMAIL_VIEWER_HTTPS_ONLY | MODMAIL_VIEWER_APP_SSL_HTTPS_ONLY | | ||
| MODMAIL_VIEWER_SSL_CERT | MODMAIL_VIEWER_APP_SSL_CERT | | ||
| MODMAIL_VIEWER_SSL_KEY | MODMAIL_VIEWER_APP_SSL_KEY | | ||
| MODMAIL_VIEWER_HTTP_PORT | MODMAIL_VIEWER_APP_PORT_HTTP | | ||
| MODMAIL_VIEWER_HTTPS_PORT | MODMAIL_VIEWER_APP_PORT_HTTPS | | ||
| MODMAIL_VIEWER_SNI | MODMAIL_VIEWER_APP_SSL_SNI | | ||
| MODMAIL_VIEWER_STS | MODMAIL_VIEWER_APP_SSL_STS | | ||
| MODMAIL_VIEWER_INSECURE | MODMAIL_VIEWER_APP_SECURE_COOKIES | | ||
| MODMAIL_VIEWER_BRANDING | **AWAITING MIGRATION** | | ||
| MODMAIL_VIEWER_LOG_LEVEL | **NO CHANGE** | | ||
| MODMAIL_VIEWER_ANALYTICS | **AWAITING MIGRATION** | | ||
| MODMAIL_VIEWER_ANALYTICS_BASE64 | **DEPRECATED** | | ||
| MODMAIL_VIEWER_BOT_ID | MODMAIL_VIEWER_APP_BOT_ID | | ||
| MODMAIL_VIEWER_CSP | MODMAIL_VIEWER_APP_CSP_OVERRIDE | | ||
| MODMAIL_VIEWER_CSP_SCRIPT_SRC_ELEM_EXTRA | MODMAIL_VIEWER_APP_CSP_EXTRA_SCRIPT_SOURCES | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
203 changes: 0 additions & 203 deletions
203
src/main/java/com/github/khakers/modmailviewer/Config.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.