Update version and repo links
This commit is contained in:
parent
f35b82c69e
commit
65dc214ffe
19
CHANGELOG.md
19
CHANGELOG.md
|
@ -2,6 +2,25 @@
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
## 1.2.0
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- `openDialog` function added to `BdApi` to enable save/load of files.
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Emote menu now more seamlessly integrates with Discord.
|
||||||
|
- Support for other chrome profiles added when using React DevTools. (Thanks [CrizGames](https://github.com/CrizGames))
|
||||||
|
- Console errors from plugins should now properly map to the local file.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- Fixed several crashing issues related to voice and video chats.
|
||||||
|
- Fixed the incompatibility with Canary/PTB
|
||||||
|
- Fixed missing class names on guild elements.
|
||||||
|
- Fixed minimal mode for new Discovery tab. (Thanks [dav1312](https://github.com/dav1312))
|
||||||
|
|
||||||
|
|
||||||
## 1.1.1
|
## 1.1.1
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "betterdiscord",
|
"name": "betterdiscord",
|
||||||
"version": "1.1.1",
|
"version": "1.2.0",
|
||||||
"description": "Enhances Discord by adding functionality and themes.",
|
"description": "Enhances Discord by adding functionality and themes.",
|
||||||
"main": "src/index.js",
|
"main": "src/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -1,21 +1,24 @@
|
||||||
export default {
|
export default {
|
||||||
description: "This version is a hotfix mainly to fix the settings issue.",
|
description: "Most of these fixes in this update come from Strencher (https://github.com/Strencher).",
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
title: "Fixes",
|
title: "Fixes",
|
||||||
type: "fixed",
|
type: "fixed",
|
||||||
items: [
|
items: [
|
||||||
"Fixed an issue with the settings patch failing",
|
"Fixed several crashing issues related to voice and video chats.",
|
||||||
"Fixed an issue with hiding GIF and Gift buttons",
|
"Fixed the incompatibility with Canary/PTB",
|
||||||
"Fixed certain plugin patches not returning values",
|
"Fixed missing class names on guild elements.",
|
||||||
"Updated links to new website"
|
"Fixed minimal mode for new Discovery tab. Thanks, dav1312 (https://github.com/dav1312)."
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Power Users & Developers",
|
title: "Power Users & Developers",
|
||||||
type: "improved",
|
type: "improved",
|
||||||
items: [
|
items: [
|
||||||
"Certain patches done using `monkeyPatch` instead of `Patcher` now properly return values."
|
"Console errors from plugins should now properly map to the local file.",
|
||||||
|
"Support for other chrome profiles added when using React DevTools. Thanks, CrizGames (https://github.com/CrizGames).",
|
||||||
|
"Emote menu handling is improved.",
|
||||||
|
"`openDialog` added to `BdApi`."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -18,7 +18,7 @@ const Developers = [
|
||||||
|
|
||||||
const DeveloperBadge = function DeveloperBadge({type, size = 16}) {
|
const DeveloperBadge = function DeveloperBadge({type, size = 16}) {
|
||||||
return React.createElement(Tooltip, {color: "primary", position: "top", text: "BetterDiscord Developer"},
|
return React.createElement(Tooltip, {color: "primary", position: "top", text: "BetterDiscord Developer"},
|
||||||
props => React.createElement(Anchor, Object.assign({className: `bd-${type}-badge`, href: "https://github.com/rauenzi/BetterDiscordApp", title: "BetterDiscord", target: "_blank"}, props),
|
props => React.createElement(Anchor, Object.assign({className: `bd-${type}-badge`, href: "https://github.com/BetterDiscord/BetterDiscord", title: "BetterDiscord", target: "_blank"}, props),
|
||||||
React.createElement(BDLogo, {size, className: "bd-logo"})
|
React.createElement(BDLogo, {size, className: "bd-logo"})
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
|
@ -104,7 +104,7 @@ export default new class Core {
|
||||||
}
|
}
|
||||||
|
|
||||||
async checkForUpdate() {
|
async checkForUpdate() {
|
||||||
const resp = await fetch(`https://api.github.com/repos/rauenzi/BetterDiscordApp/releases/latest`,{
|
const resp = await fetch(`https://api.github.com/repos/BetterDiscord/BetterDiscord/releases/latest`,{
|
||||||
method: "GET",
|
method: "GET",
|
||||||
headers: {
|
headers: {
|
||||||
"Accept": "application/json",
|
"Accept": "application/json",
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* Patcher that can patch other functions allowing you to run code before, after or
|
* Patcher that can patch other functions allowing you to run code before, after or
|
||||||
* instead of the original function. Can also alter arguments and return values.
|
* instead of the original function. Can also alter arguments and return values.
|
||||||
*
|
*
|
||||||
* This is from Zerebos' library {@link https://github.com/JsSucks/BetterDiscordApp/blob/master/client/src/modules/patcher.js}
|
* This is from Zerebos' library {@link https://github.com/rauenzi/BDPluginLibrary}
|
||||||
*
|
*
|
||||||
* @module Patcher
|
* @module Patcher
|
||||||
* @version 0.0.2
|
* @version 0.0.2
|
||||||
|
|
|
@ -27,10 +27,10 @@ const BdApi = {
|
||||||
if (!group) return undefined;
|
if (!group) return undefined;
|
||||||
return new Proxy(group, {
|
return new Proxy(group, {
|
||||||
get(cat, emote) {return group[emote];},
|
get(cat, emote) {return group[emote];},
|
||||||
set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}
|
set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");}
|
set() {Logger.warn("BdApi.emotes", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
get version() {return Config.version;}
|
get version() {return Config.version;}
|
||||||
|
|
|
@ -5,7 +5,7 @@ import DOM from "./domtools";
|
||||||
export default class Utilities {
|
export default class Utilities {
|
||||||
|
|
||||||
static repoUrl(path) {
|
static repoUrl(path) {
|
||||||
return `https://cdn.staticaly.com/gh/rauenzi/BetterDiscordApp/${Config.hash}/${path}`;
|
return `https://cdn.staticaly.com/gh/BetterDiscord/BetterDiscord/${Config.hash}/${path}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -156,7 +156,7 @@ export default class Utilities {
|
||||||
const descriptor = descriptors[name];
|
const descriptor = descriptors[name];
|
||||||
descriptor.configurable = false;
|
descriptor.configurable = false;
|
||||||
descriptor.enumerable = false;
|
descriptor.enumerable = false;
|
||||||
if (Object.prototype.hasOwnProperty.call(descriptor, "get")) descriptor.set = () => Logger.warn("protectPrototype", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");
|
if (Object.prototype.hasOwnProperty.call(descriptor, "get")) descriptor.set = () => Logger.warn("protectPrototype", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");
|
||||||
if (Object.prototype.hasOwnProperty.call(descriptor, "value") && typeof(descriptor.value) === "function") descriptor.value.bind(Component.prototype);
|
if (Object.prototype.hasOwnProperty.call(descriptor, "value") && typeof(descriptor.value) === "function") descriptor.value.bind(Component.prototype);
|
||||||
if (Object.prototype.hasOwnProperty.call(descriptor, "writable")) descriptor.writable = false;
|
if (Object.prototype.hasOwnProperty.call(descriptor, "writable")) descriptor.writable = false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,6 @@ const originalRender = ErrorBoundary.prototype.render;
|
||||||
Object.defineProperty(ErrorBoundary.prototype, "render", {
|
Object.defineProperty(ErrorBoundary.prototype, "render", {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false,
|
configurable: false,
|
||||||
set: function() {Logger.warn("ErrorBoundary", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");},
|
set: function() {Logger.warn("ErrorBoundary", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");},
|
||||||
get: () => originalRender
|
get: () => originalRender
|
||||||
});
|
});
|
|
@ -178,6 +178,6 @@ const originalRender = AddonCard.prototype.render;
|
||||||
Object.defineProperty(AddonCard.prototype, "render", {
|
Object.defineProperty(AddonCard.prototype, "render", {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false,
|
configurable: false,
|
||||||
set: function() {Logger.warn("AddonCard", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");},
|
set: function() {Logger.warn("AddonCard", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");},
|
||||||
get: () => originalRender
|
get: () => originalRender
|
||||||
});
|
});
|
|
@ -209,6 +209,6 @@ const originalRender = AddonList.prototype.render;
|
||||||
Object.defineProperty(AddonList.prototype, "render", {
|
Object.defineProperty(AddonList.prototype, "render", {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false,
|
configurable: false,
|
||||||
set: function() {Logger.warn("AddonList", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");},
|
set: function() {Logger.warn("AddonList", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");},
|
||||||
get: () => originalRender
|
get: () => originalRender
|
||||||
});
|
});
|
|
@ -75,6 +75,6 @@ const originalRender = Group.prototype.render;
|
||||||
Object.defineProperty(Group.prototype, "render", {
|
Object.defineProperty(Group.prototype, "render", {
|
||||||
enumerable: false,
|
enumerable: false,
|
||||||
configurable: false,
|
configurable: false,
|
||||||
set: function() {Logger.warn("Group", "Addon policy for plugins #5 https://github.com/rauenzi/BetterDiscordApp/wiki/Addon-Policies#plugins");},
|
set: function() {Logger.warn("Group", "Addon policy for plugins #5 https://github.com/BetterDiscord/BetterDiscord/wiki/Addon-Policies#plugins");},
|
||||||
get: () => originalRender
|
get: () => originalRender
|
||||||
});
|
});
|
Loading…
Reference in New Issue