Giter Club home page Giter Club logo

ep_push2delete's Introduction

1 click to delete your etherpad

It's as easy as that. There'll be a button. Push it. Confirm it. ZAPP, your pad will be deleted. Removed. Gone, with all its history... :')

Screenshot

Install

On the command line, run npm install ep_push2delete.

Alternatively, browse to http://<etherpad>/admin/plugins, search for ep_push2delete and click install.

The plugin takes effect, after restarting the server.

License

MIT

ep_push2delete's People

Contributors

marcelklehr avatar johnmclear avatar

Stargazers

Björn Johansson avatar Michael Anthony avatar The Dod avatar

Watchers

James Cloos avatar  avatar Michael Anthony avatar

ep_push2delete's Issues

Error during update-process

Hello,

if I try to update ep_push2delete I'm getting the following error:

"An error occurred while installing ep_push2delete
ENOENT, open '/tmp/npg-18819-8e95addc/unpack-d88c63324284cd/package.json'.

This file does not exist - there's only a file called index.js.

Can't load push2delete

Hi,

it seems, that the actuall version of etherpad can't load push2delte:
"Failed to load 'ep_push2delete/static/js/delete_button' for 'ep_push2delete/pushbutton/client_hooks/documentReady': Error: The module at "ep_etherpad-lite/static/js/pad_modals.js" does not exist."

On Button press i got:
TypeError: $(...).closest(...).get(...) is undefined
Syntax-Error

Etherpad is a fresh 'git pull'

Thank and regards,
Benedikt

Plugins is broken with latest etherpad version

Hi! i'am using etherpad git version (rev 5c31d1f)

When i try to use your plugin, the button doesn't work. I get the following error in js console:

Failed to load 'ep_push2delete/static/js/delete_button.js' for 'ep_push2delete/pushbutton/client_hooks/documentReady': Error: The module at "ep_push2delete/static/js/delete_button.js" does not exist.

Can you fix this? thanks!

Errors in Etherpad

When installed the following error pops up:

[ERROR] console - DOUBLE SETTLE BUG IN HOOK FUNCTION (plugin: ep_push2delete, function name: /opt/etherpad-lite/node_modules/ep_push2delete/index:handleMessage, hook: handleMessage): Attempt to resolve via returned value but it already resolved via callback. Ignoring this attempt to resolve.

as well as

Jul 19 09:43:17 jitsi-v2 node[113989]: [2022-07-19 09:43:17.586] [WARN] console - padRemove padID context property is deprecated; use pad.id instead
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Object.get padID [as padID] (/opt/etherpad-lite/src/node/db/Pad.js:567:9)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Object.exports.padRemove [as hook_fn] (/opt/etherpad-lite/node_modules/ep_comments_page/index.js:20:49)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at /opt/etherpad-lite/src/static/js/pluginfw/hooks.js:272:18
Jul 19 09:43:17 jitsi-v2 node[113989]:     at new Promise (<anonymous>)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at callHookFnAsync (/opt/etherpad-lite/src/static/js/pluginfw/hooks.js:235:16)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at /opt/etherpad-lite/src/static/js/pluginfw/hooks.js:350:54
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Array.map (<anonymous>)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Object.exports.aCallAll (/opt/etherpad-lite/src/static/js/pluginfw/hooks.js:350:13)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Pad.remove (/opt/etherpad-lite/src/node/db/Pad.js:565:18)
Jul 19 09:43:17 jitsi-v2 node[113989]:     at Object.exports.handleMessage [as hook_fn] (/opt/etherpad-lite/node_modules/ep_push2delete/index.js:39:9)

Are you open for PR or is this not maintained anymore?

confirm dialog

thanks for the plugin, but some confirm dialog would be nice, like
"DO You really want to delete this Pad...forever?"

Delete button do nothing

Hello,

I've installed ep_push2delete 0.1.3 on my etherpad instance, I've restart the service, however, when I cilc on the button, it do nothing, and the pad is still here.

Any ideas?

Button does not work using Firefox

Hello,

actually this is a very useful plugin, which works fine on Chrome, Vivaldi and Safari, but unfortunately I can not remove pads using the button on Firefox.

I do not get any error in my browser's error console - the click does not have any effect.

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.