Skip to content

Commit

Permalink
SVN connected
Browse files Browse the repository at this point in the history
  • Loading branch information
imtiyajmalek committed Feb 19, 2025
1 parent 9081702 commit 369e54b
Show file tree
Hide file tree
Showing 15 changed files with 55 additions and 9 deletions.
10 changes: 10 additions & 0 deletions .distignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
LICENSE
resource/
README.md
.git/
.github/
/.wordpress-org
/.git
/.github
.distignore
.gitignore
33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Deploy to WordPress.org

on:
release:
types: [ released ]

jobs:
tag:
name: New release
runs-on: ubuntu-24.04
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: WordPress Plugin Deploy
id: deploy
uses: 10up/action-wordpress-plugin-deploy@stable
with:
generate-zip: true
env:
SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}
SLUG: push-notifications-for-web

- name: Upload release asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{github.workspace}}/push-notifications-for-web.zip
asset_name: ${{ github.event.repository.name }}.zip
asset_content_type: application/zip
Binary file added .wordpress-org/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-722x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-772x250.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .wordpress-org/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions assets/js/firebase-messaging-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ importScripts("https://www.gstatic.com/firebasejs/8.2.4/firebase-messaging.js");
// Initialize the Firebase app in the service worker by passing in the
// messagingSenderId.
var firebaseConfig = {
apiKey: "AIzaSyCMNCXtjS712IgSJmoWHfLXbEMH4WI-sPY",
projectId: "push-5f8e1",
messagingSenderId: "921309169685",
appId: "1:921309169685:web:0ee2114f0e17c7be76a61c",
apiKey: "Enter api key from your firebase app configuration",
projectId: "Enter project id from your firebase app configuration",
messagingSenderId: "Enter messaging sender id from your firebase app configuration",
appId: "Enter app id from your firebase app configuration",
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
Contributors: zealopensource
Tags: web push notifications, push notifications, push notification, chrome push, firefox push
Requires at least: 6.3
Tested up to: 6.5
Tested up to: 6.7
Requires PHP: 5.6
Stable tag: 1.5
Stable tag: 1.6
License: GPLv3 or later License
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -54,6 +54,9 @@ That's it! Just configure your settings as you see fit, and you're on your way t

== Upgrade Notice ==

= 1.6 =
- Minor workflow adjustments

= 1.5 =
- Backend Bugs Resolved and Improved compatibility with WordPress VIP platform by refactoring code to adhere to VIP coding standards.

Expand Down
6 changes: 3 additions & 3 deletions zealpush.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Push Notifications For Web
* Plugin URL: https://wordpress.org/plugin-url/
* Description: Best platform for sending web push notifications.
* Version: 1.5
* Version: 1.6
* Author: ZealousWeb
* Author URI: https://www.zealousweb.com
* Developer: The Zealousweb Team
Expand All @@ -23,11 +23,11 @@
* Basic plugin definitions
*
* @package Web Push Notification
* @since 1.1
* @since 1.6
*/

if ( !defined( 'ZPN_VERSION' ) ) {
define( 'ZPN_VERSION', '1.5' ); // Version of plugin
define( 'ZPN_VERSION', '1.6' ); // Version of plugin
}

if ( !defined( 'ZPN_FILE' ) ) {
Expand Down

0 comments on commit 369e54b

Please sign in to comment.