Giter Site home page Giter Site logo

plugin-api's People

Contributors

jmattheis avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

plugin-api's Issues

Subscribing to incoming messages from a plugin

I was thinking about writing a plugin to send a E-Mail containing a receieved notfication, but the current APIs exposed to plugins do not seem to support the subscription to incoming messages. I.e. it is not possible to have a plugin act as a client. At least that's what I'm concluding from your docs.

I therefore want to ask if such a feature is planned for the future.

Allow plugins to create multiple apps

Is your feature request related to a problem? Please describe.
I recently started using gotify-smtp to allow applications that don't natively support Gotify to still notify me. Sadly, everything sent to it enters in the "SMTP" app, making it hard to tell from which app the notification came.

Describe the solution you'd like
It would be nice if a plugin could generate multiple apps, so it could scale up like 1 SMTP plugin being useful for multiple SMTP senders.

Describe alternatives you've considered
The ability to run the same plugin multiple times would also make that possible, if the app name could be configured per plugin. There would however also need to be a way to prevent multiple instances of the same plugin from binding to the same path (in the SMTP plugin's case, port 1025), so this would seem more complex and harder to scale to me.

User/Plugin authentication

I'd love to have an API that allows plugins to check authentication tokens/passwords against Gotify itself.

A good example is using my gotify-smtp plugin, it'd be great to validate the app token as a password and allow it to be a bit more secure rather than forcing users to firewall it properly.

Unraid Plugin Not working

Does anyone know or having any experience in getting the pluggings installed on the Unraid Gotify container? I can't figure out what I am doing wrong and have not had any type of success getting the plugins installed. the only one I really need is the webhook plugin.
I know someone will be reading this and say
image
but while you say that please help me. the tutorials I read are not working. so far I was able to install GO inside the docker image but when I try to install the plugin by using Go Build command it says

# command-line-arguments
./webhook.go:7:2: undefined: Plugin

then I try to run it as root and instead of building it I run it by using the command
su root ./webhook.go and I get this error

./webhook.go: line 1: package: not found
./webhook.go: line 3: import: not found
./webhook.go: line 5: //: Permission denied
Webhooker: not found
interface: not found
{ is a shell keyword
./webhook.go: line 7: Plugin: not found
./webhook.go: line 8: //: Permission denied
./webhook.go: line 9: syntax error: unexpected word (expecting ")")

image
If you charge for your time and the price is not high I might be able to pay you just let me know.

Configurer comments not working.

This is a two-part issue.
The first is that I cannot get any comments on my YAML config at all using any common trick.

When I finally use YAML nodes, the whole node structure is displayed with all the right contents(over 100 lines of it) for only a 4 line piece of information. Could it be an unmarshaling issue?
I also notice that the API manages to display nicely commented YAML file? Can I do the same thing if possible?

Allow plugins to delete messages

Allowing plugins to either delete individual messages or all messages of their respective application would add significant flexibility.

To be able to delete individual messages the SendMessage would also have to return some kind of message ID, so that the plugin knows which message to delete.

Together with gotify/server#266 this could be utilized so that a plugin can discard a message on all connected clients given some certain event.

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.