Giter Club home page Giter Club logo

nodewatcher's People

Contributors

jplitza avatar rubo77 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

freifunk-kiel

nodewatcher's Issues

Match contact methods everywhere in the contact string

In a string like "http://website-of-owner.com by [email protected]", we wouldn't currently recognize the address. Also, the IRC notifier would understand ",isnick" at the end of the URI to signal that the recipient is a user and not a channel, but this will never reach him because it is stripped away.

We could simply leave the string as it is (making #2 obsolete) and match without ^ and $ everywhere. However, to still catch mail addresses without mailto: but also not try to send mails to XMPP addresses, we would have to introduce priorities on the notifier plugins.

Enable logging

Please add some example how to enable logging to a file in the example config

Limit amount of messages

Twitter imposes a limit of 250 direct messages per day, and we wouldn't want to hit that offhand. Other kinds of messages might need limitation as well.

Make set of plugins configurable

It should be configurable which plugins to load/use.

Most notifier plugins won't work if they are not configured properly. Instead of failing with an exception because of missing config variables, they could then be disabled in the config and wouldn't even be executed.

Clean up contact model in DB

Currently, multiple contact possibilities are stored as comma-separated string in the database. The cleaner solution would obviously be to have a separate table contacts and a joining table node_contacts. That could give the source plugins the responsibility to split their format into multiple contacts.

Implement IRCNotifier

IRC is a common media of communication in the Freifunk community, thus notification via IRC is reasonable.

Channels as well as individuals should be notified via PRIVMSG. FTR, the (most common) URI for individuals is irc://irc.example.org/Nickname,isnick, for channels irc://irc.example.org/channel (Source)

Instantiate plugins on demand

Currently, the PluginManager instantiates each plugin when loading it. This is sub-optimal. For example, the XMPPNotifier doesn't need to connect to the XMPP server (and tear it down eventually) if nobody is notified via XMPP.

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.