diff --git a/CHANGELOG.md b/CHANGELOG.md index a91c5fd9..43c820f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ This changelog starts with the restructured 1.0.0 release that happened after context isolation changes. The changelogs here should more-or-less mirror the ones that get shown in the client but probably with less formatting and pizzazz. -## Unreleased +## 1.1.0 ### Added - Added an option to prevent Discord from hijacking the media keys. @@ -13,6 +13,7 @@ This changelog starts with the restructured 1.0.0 release that happened after co - Added a basic core updater to hopefully prevent the need for future installs. - Added an option to log out all console logs to file for developers. - Added an option to disable Discord's console warning. +- Added translations for the following languages: French, Slovak, Polish, Portuguese (BR), Chinese (Traditional), Chinese (Simplified) ### Removed - Class normalizer was removed as it does more harm than good. @@ -39,6 +40,7 @@ This changelog starts with the restructured 1.0.0 release that happened after co - Fixed multiple error modals showing on startup if multiple plugins had errors. - Fixed incorrect styling on emotes. - Fixed system editor edit buttons using an old Electron API (`openItem` vs `openPath`) +- Fixed an issue for those using exclusively server folders ## 1.0.0 diff --git a/package.json b/package.json index 0f468b25..c73c7256 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "betterdiscord", - "version": "1.0.0", + "version": "1.1.0", "description": "Enhances Discord by adding functionality and themes.", "main": "src/index.js", "scripts": { diff --git a/renderer/package-lock.json b/renderer/package-lock.json index f1c5d9db..5f74afca 100644 --- a/renderer/package-lock.json +++ b/renderer/package-lock.json @@ -7498,9 +7498,9 @@ "dev": true }, "ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.2.tgz", + "integrity": "sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==", "dev": true, "requires": { "figgy-pudding": "^3.5.1" @@ -9075,9 +9075,9 @@ "dev": true }, "y18n": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", - "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", "dev": true }, "yallist": { diff --git a/renderer/src/data/changelog.js b/renderer/src/data/changelog.js index f1466c82..42bca04f 100644 --- a/renderer/src/data/changelog.js +++ b/renderer/src/data/changelog.js @@ -1,41 +1,41 @@ export default { - video: "https://cdn.discordapp.com/attachments/769669826120777739/777059779368976394/b0cs2x.mp4", - poster: "https://i.imgur.com/P50xFON.png", - description: "The rewrite you didn't even know about is finally here.", + description: "BetterDiscord is now accepting translations. If you'd like to contribute reach out to an admin about getting access to POEditor.", changes: [ { - title: "What's New?", + title: "New Features", + type: "added", items: [ - "**Everything** is entirely rewritten, for better or worse.", - "**Emotes and Custom CSS** can be completely turned off for those not interested. It saves on memory too by not loading those components.", - "**Floating editors** for both custom css and plugins/themes are now available.", - "**Monaco** is now used as the main CSS editor, in place of Ace.", - "**Settings panels** are completely new and sleek. They are also highly extensible for potential future features :eyes:", - "**Translations** are now integrated starting with only a couple languages, but feel free to contribute your own!", - "**Public servers** got a new makeover thanks to some design help from Tropical and Gibbu!", - "We added settings to hide the **Gif Picker** and the **Nitro Gift** buttons in the textarea." + "**Media Keys** can now be optionally prevented from being hijacked by Discord in settings.", + "The plugin **RemoveMinimumSize** was absorbed into BetterDiscord and can be enabled in settings.", + "**Update checks** should now happen within BetterDiscord so you won't have to reinstall when BetterDiscord updates.", + "Addon error modals got a __makeover__ thanks to Strencher (https://github.com/Strencher) and Tropical (https://github.com/Tropix126)", + "**Translations** were added thanks to help from the community! Languages include: French, Slovak, Polish, Portuguese (BR), Chinese (Traditional), Chinese (Simplified)" ] }, { - title: "Minor Stuff", + title: "Power Users & Developers", type: "improved", items: [ - "**Patcher API** was added to `BdApi` under `BdApi.Patcher`. The old `BdApi.monkeyPatch` was patched to use the Patcher as well. This allows plugins and patches to play nice with one another.", - "**jQuery** usage was totally eliminated and is now ___deprecated___ for plugins.", - "**General performance** improvements throughout the app, from startup to emotes to addons.", - "**Exporting** by plugins is now highly encouraged over trying to match your meta name and class name.", - "**Plugins and Themes** pages have more options for sorting, views and more. The entire panel got a facelift!", - "**Blankslates** have been added all over for that added UX.", - "**Several unused UI features** have been removed for a more performant and usable experience.", - "**Debugger Hotkey** is now a built-in feature!" + "There is a now a command-line option to launch Discord without BetterDiscord injecting itself. Just use `--vanilla`.", + "`ctrl`+`shift`+`c` can now be used globally to activate inspect element, even with devtools closed.", + "Added emote blocklist to `BdApi` via `BdApi.Emotes.blocklist`", + "All console logs can now be logged into the BetterDiscord folder (`BetterDiscord/data//debug.log`) by flipping the switch in settings.", + "The repeated console warnings can be completely removed in Developer Settings." ] }, { title: "Fixes", type: "fixed", items: [ - "**Minimal mode** has been redesigned from the ground up and now works as intended.", - "**Emote menus** are fixed and now use React Patching to properly integrate into the new Emoji Picker. (Thanks Strencher#1044!)" + "**Colored Text**, **Hide GIF Button**, **Hide Gift Button**, and **PublicServers** should all work again", + "Older themes should work with BetterDiscord again.", + "Certain issues with plugins crashing should be fixed.", + "More folders are automatically created to help for those attempting manual or 3rd-party installs.", + "Fixed an issue with an incorrect path being used on Mac.", + "Solved a bug that caused multiple error modals to occur on startup instead of consolidating to one.", + "Emote system should be functional, and the styling has been updating to match Discord's.", + "Using system editor to edit plugins/themes should work instead of causing an error.", + "Fixed a startup issue for users that had all their servers in collapsed folders." ] } ] diff --git a/renderer/src/modules/componentpatcher.js b/renderer/src/modules/componentpatcher.js index b5ee386f..3424797d 100644 --- a/renderer/src/modules/componentpatcher.js +++ b/renderer/src/modules/componentpatcher.js @@ -36,7 +36,7 @@ export default new class ComponentPatcher { const newOne = function() { const returnVal = original(...arguments); returnVal.props.children.push( - DiscordModules.React.createElement(Anchor, {className: "bd-social-link", href: "https://twitter.com/BandagedBD", title: "BetterDiscord", target: "_blank"}, + DiscordModules.React.createElement(Anchor, {className: "bd-social-link", href: "https://twitter.com/_BetterDiscord_", title: "BetterDiscord", target: "_blank"}, DiscordModules.React.createElement(BDLogo, {size: "16px", className: "bd-social-logo"}) ) ); diff --git a/renderer/src/ui/modals.js b/renderer/src/ui/modals.js index 907c62dc..4fe3d8aa 100644 --- a/renderer/src/ui/modals.js +++ b/renderer/src/ui/modals.js @@ -160,7 +160,7 @@ export default class Modals { click.preventDefault(); click.stopPropagation(); ModalStack.pop(); - DiscordModules.InviteActions.acceptInviteAndTransitionToInviteChannel("2HScm8j"); + DiscordModules.InviteActions.acceptInviteAndTransitionToInviteChannel("0Tmfo5ZbORCRqbAd"); }; const supportLink = Anchor ? ce(Anchor, {onClick: joinSupportServer}, "Join our Discord Server.") : ce("a", {className: `${AnchorClasses.anchor} ${AnchorClasses.anchorUnderlineOnHover}`, onClick: joinSupportServer}, "Join our Discord Server."); const defaultFooter = ce(TextElement, {size: TextElement.Sizes.SMALL, color: TextElement.Colors.STANDARD}, "Need support? ", supportLink);