Giter Site home page Giter Site logo

mozilla / wp-web-push Goto Github PK

View Code? Open in Web Editor NEW
39.0 10.0 16.0 16.13 MB

Web Push plugin for WordPress - no longer actively maintained

Home Page: https://wordpress.org/plugins/web-push/

License: Other

PHP 75.02% JavaScript 18.87% Makefile 1.39% Shell 2.33% CSS 2.39%

wp-web-push's Introduction

Note: this project is no longer actively maintained.

wp-web-push

Web Push plugin for WordPress.

Build Status WordPress Plugin Plugin Version Plugin Downloads Wordpress Rating

Running tests

Install dependencies:

./install-wp-tests.sh MYSQL_DATABASE_NAME MYSQL_USER MYSQL_PASSWORD localhost latest

Run tests:

make test

Credits

"Bell" icon designed by Juliette WAGNER from the Noun Project.

wp-web-push's People

Contributors

darkwing avatar delapuente avatar groovecoder avatar lukasag avatar marco-c avatar mykmelez avatar navigatrum avatar

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-web-push's Issues

Fix warning in wp-web-push-main.php

Warning: Invalid argument supplied for foreach() in /var/www/html/wordpress/wp-content/plugins/wp-web-push/wp-web-push-main.php on line 144

Send message with payload

Implementing push payload encryption with PHP isn't an easy task (because the standard PHP openssl library is missing a lot of functionality).
We could implement this with a GET request in the push event.

Check if we can support WP versions >= 3.0.1 < 3.5

See also #33.

I've run into a few issues while installing those WP versions on my system, perhaps the plugin wasn't working because of that.

There's a problem in the HTTP class on WP 3.0, so if we want to support it we need to write our own class.

Improve default behavior on 'notificationclick'

Currently, we focus a page of the blog if there is one open or we open a new tab to the home page of the blog.
This could be confusing to users, we should only focus/open the page of the newly published post.

Add some screenshots to the readme.txt file

  • Prompt from Firefox
  • Prompt from Chrome on Android
  • Notification from Firefox on Linux
  • Notification from Firefox on Windows
  • Notification from Firefox on Mac
  • Notification from Chrome on Android
  • Dashboard

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.