Code Monkey home page Code Monkey logo

zarafa-webapp-notifications's Introduction

zarafa-webapp-notifications

Plugin to enable desktop like notifications for webapp (only tested in chrome and firefox in windows os)

How to install

  1. If you want to use this plugin with production / debug version of webapp then please download package from community
  2. If you want to use this plugin with source copy of webapp then you can just download this whole project
  3. Extract contents of this plugin to <webapp_path>/plugins directory
  4. Give read permissions to apache for <webapp_path>/plugins/desktopnotifications directory
  5. Restart apache, reload webapp after clearing cache
  6. If you want to enable this plugin by default for all users then edit config.php file and change PLUGIN_DESKTOPNOTIFICATION_USER_DEFAULT_ENABLE setting to true

How to enable

  1. Go to settings section
  2. Go to Plugins tab
  3. Enable desktop notifications plugin and reload webapp
  4. Go to Desktop Notifications tab of settings section
  5. Click on request permission button
  6. Click allow in popup that is shown by browser
  7. One more step would be to select checkboxes for which you like to enable this functionality and then apply settings
  8. Bingo! you are ready to use cool desktop notifications

How to disable

  1. If you ever intend not to use this plugin then perform below steps to restore normal process
  2. Uncheck both checkboxes to revert to default notifications of webapp
  3. Disable plugin from plugins tab of settings section, apply settings
  4. Revoke permissions from browser for showing desktop notifications (check with google)

Troubleshooting

  • make sure to clear cache when upgrading this plugin

Notes

  • Currently only new mail & reminder notifications are supported
  • Feedback/Bug Reports are welcome
  • if anyone is good at creating icons then please help me add a good icon to desktop notifications tab (credits will be given)

zarafa-webapp-notifications's People

Contributors

silentsakky avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

jelly

zarafa-webapp-notifications's Issues

Request permissions button is grayed out

Hi,

nice plugin!

I installed zarafa-webapp-desktopnotifications_1.0.31-28.2_all on latest Zarafa 7.2.3.657/WebApp 2.2.0.414-185.1 and read your zarafa community post as well. The web server has read permissions:

root@box:/usr/share/zarafa-webapp/plugins# ls -l
total 4
drwxr-xr-x 5 root root 4096 Mai 12 10:01 desktopnotifications
root@box:/usr/share/zarafa-webapp/plugins# 

It's not possible to activate the notifications, as the button is grayed out.
not
Tested it on lastest Chomium and FF (both 64bit) on Arch linux.

Thanks.

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.