Git Product home page Git Product logo

replugged's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

replugged's Issues

Install Plugin Links Not Working

Describe the bug
When I click a plugin install link (e.g. https://replugged.dev/install?url=https://github.com/Juby210/bdCompat), it crashes my client immediately. When I try in my browser, it doesn't open Discord and simply says that it was unreachable.

To Reproduce
Steps to reproduce the behavior:
Click link that should install a plugin.

Expected behavior
Should be further prompted to install plugin.

Desktop (please complete the following information):

  • OS: Windows 10 64-Bit (10.0.19044)
  • Replugged version: Replugged main (2318a44)

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

[Feature Request] Automatically revert to last working install

Describe the feature request
Implement a system that detects repeated crashes after installation of a plugin/theme, change of settings, Replugged update (etc.) and automatically reverts these changes to the last known working state.

This could be implemented in a system similar to A/B phones we're there's two installs of replugged (with all the plugins, themes, settings, etc. Being part of them) at all time. You're active install is for example slot A, you install a new plugin (so on slot A, the active slot) and restart. It seems this plugin is causing your Discord to crash repeatedly, Replugged detects this and switches to slot B we're these changes have yet to have been made. When slot B successfully launches it automatically overwrites the marked as broken slot A with the state from slot B (which is and stays the new active slot).

I hope that explanation makes sense, of course this could be implemented in many other ways.

This is not necessarily a very high-priority feature but would be nice for the end user to have as a sort of safeguard to prevents them from breaking their install and having to go trough the configuration files to fix it themselves (this becomes more important when things like theme/plugin stores are added allowing for full usage of Replugged without even knowing with file explorer is)

Plugin disappearing from updater list

Describe the bug
Has the title suggest the plugins keep disappearing from the updater list
whenever u click for check for Updates while having few plugins on ur list

To Reproduce
Have 2 (only tested it with replugged update) or probably more plugins which have a update and click Check for Updates this will make one or two plugins disappear from the list.

Expected behavior
All ur plugins which have a update should be in the list with the commit for update

Desktop (please complete the following information):

  • OS: Windows 10 64-bit
  • Replugged version: 86ae1cb

Additional context

  • [ x ] I checked if Discord and/or Replugged are up to date
  • [ x ] I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.

sheeesh.mp4

[Feature Request] Bring back the old "new" webpack backend.

In newer versions of Electron, Discord only works with contextIsolation enabled, and when contextIsolation (on newer versions of Electron) is enabled the powercord/webpack module doesn't work, infinitely looping and stopping replugged from loading without any errors (because webpackChunkdiscord_app isn't available in the preload script). I know this isn't a problem with a standard Discord install, for now, but I imagine it would be when Discord updates its electron version, and this would make it possible to use replugged for people who run Discord with a newer version of electron (e.g. for better wayland support on Linux)

[Plugin downloader] Specify branch

Repo links support specifying a branch name by appending /tree/<branchname> eg https://github.com/replugged-org/replugged/tree/main. Have the plugin downloader support this syntax to check out a specific branch.

Can't Paste in Quick CSS Pop-out

Describe the bug
When the Quick CSS window is popped out, I can not paste into it.

To Reproduce
Go to Settings > Themes > Quick CSS
Click Pop Out
Ctrl + V

Expected behavior
The text in the clipboard should be pasted in.

Desktop (please complete the following information):

  • OS: Windows 10 64-Bit (10.0.19043)
  • Replugged version: main (ed66152)

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.

[Feature Request] An optional toggle to update on every commit

Describe the feature request
an option to go back to the old update ways and trigger on every commit

What Plugin would it be for?
Updater Coremod

Expected behavior
when toggled to true, the Updater would notify on every plugin/theme/replugged commit instead of only version bumps

Add better plugin crash handling

Make it so if a plugin crashes, it won't completely crash your client. That way you can actually tell which plugin caused the issue and what the error was.

Validate Plugin/Theme Invites

On plugin and theme cards, if a server invite is defined, check that it's a valid invite. If not, either show an error or just don't display the button.

[Feature Request] add queue system to open modal

Describe the feature request
Add queue to openModal, right now it does have a sort of queue system but it starts mismatching data by the 2nd modal

What module would it be for?
powercord/modal module

Expected behavior
Everytime a modal is closed, it checks if another one is queued, grabs the data for the new modal and opens it

Migrate to pnpm

pnpm is a great piece of software which, as the name says, is a performant version of npm. Powercord/rePlugged's description tells us how it's supposed to be a "lightweight client mod focused on simplicity and performance", which seems to fit well with pnpm's features and functionality.

https://pnpm.io/

Enable and Disable Quick CSS

Describe the feature request
An easy way to enable and disable Quick CSS.

What Plugin would it be for?
N/A

Expected behavior
It would enable and disable Quick CSS, easily.

Discord Experiments are gone

Describe the bug
The Discord Experiments dont show up anymore

To Reproduce
Steps to reproduce the behavior:

  1. Enable Discord Experiments
  2. Restart/Reload Discord
  3. Discord Experiments are not there

Expected behavior
The Discord Dev Tools and Experiments should show up

Desktop (please complete the following information):

  • OS: WIndows
  • Replugged version: 5ffb67f

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.
image

Discord (on Linux) locks up when clicking 'Open Folder' hyperlink in settings

Describe the bug
Discord locks up when clicking 'Open folder' on any entry in the Plugins or Themes tab of settings.
I do not know whether it is OS-specific, as I have only tested it on Linux.

To Reproduce

  1. Open settings in Discord with Replugged injected
  2. Go to the Plugins or Themes tab
  3. Click the 'Open Folder' button on any plugin or theme entry
  4. See that Discord has locked up until you close the file manager window

Expected behavior
Discord should not have locked up, instead continuing to run as usual.

Desktop (please complete the following information):

  • OS: Arch Linux, latest
  • Replugged version: f93f247

Additional context

  • [ x ] I checked if Discord and/or Replugged are up to date
  • [ x ] I made sure this is not related to an external plugin or a theme

This appeared in Discord Canary, but it is likely to be present on other versions as well.
I've attached a video in hopes of making the issue more clear.

replugged.mp4

Unable to Scroll During Message Sending

Describe the bug
Upon spamming your opponent, messages will be stuck in the sending queue to avoid spam per Discord gamebook which will also make you unable to scroll.

To Reproduce
Steps to reproduce the behavior:

  1. Open a channel or DM channel where you have enough messages to be able to scroll
  2. Spam a few things (I chose Z's) until it slows down your ability to send the messages instantly
  3. Try to scroll, observe.

Screen Recording doing of reproduction:

Screen_Recording_2022-08-06_at_1.06.27_AM.mov

Expected behavior
Should be able to scroll up during message sending queue.

Desktop:

  • OS: MacOS Monterey 12.4 (21F79)
  • Replugged version: Replugged main (a80999e)

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Make plugin links look like build overrides

Describe the feature request
Use Discord’s build override component, but for plugin links. That way it hides the fairly lengthy URL and fits right in with how Discord does things. (From the thread on suggestion 32 on the Discord server)

What Plugin would it be for?
N/A

Expected behavior
N/A

Close button for announcements are invisible

Describe the bug
The X button to close the announcement is invisible, it still works, but you can't see it.

To Reproduce
Run this inside the console

powercord.api.notices.sendAnnouncement("test", {message: "Hi"})

Expected behavior
An X button to close the announcement...

Desktop (please complete the following information):

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.

Plugin detected by "Load Missing Plugins" doesn't show up until reloading menu

Describe the bug
If you add a plugin to the folder and reload your plugins in-place with "Load Missing Plugins", it will show that it located the plugin but it will not appear in the list until you exit the menu and reopen it.

Expected behavior
The plugin should appear in the list without reload.

Desktop (please complete the following information):

  • OS: Linux
  • Replugged version: a1af079

Additional context

  • [ X ] I checked if Discord and/or Replugged are up to date
  • [ X ] I made sure this is not related to an external plugin or a theme

[Feature Request] Make unused plugin/theme store button link to plugins/themes channel

Describe the feature request
Given that a plugin or a theme store probably wont exist since the channels on the discord work well enough. The button should link to #plugin-links or #theme-links instead

What Plugin would it be for?
N/A

Expected behavior
(Can be applied for themes too, not doing so to keep it simple)
Upon entering the Plugins tab within settings, you should be able to press the medium sized blue button.

If you are in the server, pressing the blue button within the Plugins tab should bring you to #plugin-links where you can explore plugins
If you arent in the server, pressing the blue button should instead give you the invite to the server to join

Replugged translator badge uses the wrong link

Describe the bug
Replugged translator user badge sends you to https://i18n.powercord.dev/projects/powercord

To Reproduce
Steps to reproduce the behavior:
Find someone with the user badge and click on it.

Expected behavior
You go to i18n.replugged.dev/

Desktop (please complete the following information):

  • OS: Arch Linux with KDE
  • Replugged version: f45fadd

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

I'm 90% sure I can fix this myself.

Cannot access plugin repositories

Describe the bug
When attempting to open any plugin's repo (under Plugins section in user settings), https://github.com/replugged-org/replugged.git is opened in the browser, which redirects to https://github.com/replugged-org/replugged.

To Reproduce

  1. Open user settings
  2. Open the Plugins section on the left hand side
  3. Locate any plugin
  4. Click on the Repository link/button
  5. Get sent to the Replugged GitHub

Expected behavior
The plugin's GitHub repo opens.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Replugged version: main aa31a70

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

This bug does not happen for the LMGTFY plugin for some reason.

Slash commands

Convert pc-commands to using slash commands instead of text commands. We can look at the source of kernel and its pc-compat to see how they did it.

Monaco CSS snippets

Describe the feature request
Instead of using the current CodeMirror implementation, it would be nice to see the css snippets editor using monaco.

Improved API

Current draft of goals:

  • Overhaul patcher and webpack APIs
  • ES module plugin architecture
  • Decrease/remove node integration
  • Warning modal for outdated plugins

Plugin/theme install deep link

Set up some kind of deep linking to initiate plugin install from the browser. Should have confirmation alert in-app similar to existing command.
Create HTML/markdown for button that can be put on github READMEs for easy install

Autocomplete not showing

Describe the bug
The autocomplete of Replugged command args is not showing.

To Reproduce
type a command that should have args, such as .disable

Expected behavior
The expected behavior would be a list of themes and plugins appears

Desktop (please complete the following information):
Windows 10 64-Bit (10.0.19043)
Replugged main (940565c)

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme
18-08-22-1994.mp4

Duplicate updates

Describe the bug
In my updater, updates from replugged were displayed under a plugin (Heyven) as well

To Reproduce
Probably installing Heyvem and waiting for a replugged update

Expected behavior
Updates are only under "replugged"

Desktop (please complete the following information):
Canary 140710 (b2e1a7b)
Host 1.0.48
Windows 11 64-Bit (10.0.25174)
Replugged main (ed66152)

Additional context

  • I checked if Discord and/or Replugged are up to date (cant be since the updater is the issue)
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.

Move settings for formerly built-in plugins

Add a migration script (see src/Powercord/migrations) to rename settings files from formerly built in plugins (eg pc-tags) to the non-pc-prefixed version.

Also update coremods and other built-in settings files to be rp-whatever instead of pc-whatever

If the target file already exists, just delete the old file.

Missing Discord status transition animations

Description
Unlike vanilla Discord, status transition animations don't seem to work on Replugged. Tested on a fresh Replugged stable branch installation. I've looked in settings, the Discord server's #known-issues channel and #misc-support's pins, GitHub issues, and searched for animation in the Replugged server. Couldn't find any mention of this issue. Same thing happened on Powercord.

Replugged.mp4

To reproduce
Change your status or start typing and look at your status. Notice the lack of Discord's normal smooth status transition animation.

Expected behavior

Discord.mp4

Desktop

  • OS: Windows 10 64-bit
  • Replugged version: 6a525c1

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

multiple git commits

Describe the bug
So when theres a new commit from the main repo instead of showing Replugged and the commit
i get different plugins which contain the same commit message from the main repo but this doesnt happen on other plugins only from replugged

To Reproduce

  1. wait for a commit from replugged
  2. done

Expected behavior
it should only show Replugged

Desktop (please complete the following information):

  • OS: Windows 10 64-Bit
  • Replugged version: f93f247

Additional context

  • [ x ] I checked if Discord and/or Replugged are up to date
  • [ x ] I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.
image

Changelog backdrop not disappearing

Describe the bug
Clicking the backdrop to close the modal, closes the modal but still keeps the backdrop shown.

To Reproduce

  1. Fresh install replugged
  2. Open the discord client
  3. Click the backdrop once

Expected behavior
The changelog modal closes entirely.

Desktop (please complete the following information):

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.

updateRemoteSettings no longer works

Describe the bug
Discord have moved the remote settings update endpoint from @me/settings to @me/settings-proto/1
This means the powercord webpack module updateRemoteSettings no longer works.
The new settings endpoint is now protobuf too.
The old endpoint still exists and works, but updateRemoteSettings doesn't seem to send the correct data to it.

To Reproduce
Either install https://github.com/hummusbird/days-until
or under electron isolated content run

await require('powercord/webpack').getModule(['updateRemoteSettings'], false).updateRemoteSettings({
	customStatus: {
		text: "test"
	}
});

Expected behavior
Your custom status should change to whatever specified in days-until, or to "test"

Desktop (please complete the following information):

  • OS: Windows 10
  • Replugged version: 6a525c1

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Crash upon enabling experiments

Describe the bug
Enabling the experiments makes me crash

To Reproduce
Steps to reproduce the behavior:

  1. Open settings
  2. General Settings
  3. Enable discord experiments
  4. Stuck in a crash bootloop

Expected behavior
Enables experiments without crashing me

Desktop (please complete the following information):

  • OS: Windows 10 21H2 19044.1865
  • Replugged version: a1af079

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Add any other context about the problem here.
I believe it might be something due to an experiment I had enabled being gone? I'm not too sure but here's my log for this session (note: the plugins at the beginning don't crash me, it's when the [GATEWAY] thing appears is when I crash, additionally having experiments disabled doesn't crash me)
Latest Log
​Video Demonstration

Replugged not detecting Clyde

Describe the bug
Error upon entering updater after erradicating Clyde on first setup, disabling most client features.

To Reproduce
Steps to reproduce the behavior:

  1. Erradicate Clyde in General Settings on setup
  2. Restart Replugged
  3. Observe in Settings -> Updater

Expected behavior
Clyde should be erradicated just fine & updater should be opened successfully
Screenshot:
image

Desktop (please complete the following information):

  • OS: MacOS Monterey 12.4

Additional context

  • I checked if Discord and/or Replugged are up to date
  • I made sure this is not related to an external plugin or a theme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.