Plugin Directory

Changeset 3037249


Ignore:
Timestamp:
02/17/2024 07:45:18 PM (2 years ago)
Author:
andaniel05
Message:

version 1.0.2

Location:
sms-gateway-press
Files:
9 added
2 deleted
4 edited
11 copied

Legend:

Unmodified
Added
Removed
  • sms-gateway-press/tags/1.0.2/plugin.php

    r3037119 r3037249  
    44 * Plugin URI:   https://www.sms-gateway-press.com
    55 * Description:  Self-hosted SMS Gateway. Send SMS with your own Android devices across your WordPress site.
    6  * Version:      1.0.1
     6 * Version:      1.0.2
    77 * Requires PHP: 7.3
    88 * Author:       Andy Daniel Navarro Taño
  • sms-gateway-press/tags/1.0.2/private/custom-post-type/class-sms.php

    r3036929 r3037249  
    405405            } elseif ( is_array( $log ) && isset( $log['time'] ) && isset( $log['text'] ) ) {
    406406                $time = ( new DateTime() )->setTimestamp( $log['time'] );
    407                 echo esc_attr( '<p><strong>' . $time->format( 'Y-m-d H:i:s' ) . ':</strong>' . $log['text'] . '</p>' );
     407                echo '<p><strong>' . esc_html( $time->format( 'Y-m-d H:i:s' ) ) . ':</strong>' . esc_html( $log['text'] ) . '</p>';
    408408            }
    409409        }
  • sms-gateway-press/tags/1.0.2/readme.txt

    r3036929 r3037249  
    55Requires at least: 6.0
    66Tested up to: 6.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88Requires PHP: 7.3
    99License: GPLv2 or later
     
    2626== Get Started ==
    2727
    28 1. Install this plugin.
     28Visit the Official Website to get started.
    2929
    30 2. Create one device from "Devices" > "Add New" in the WordPress admin. Define only a title and publish the post. Once the post is published, a QR code will appear that you must scan from the app to connect the device.
    31 
    32 3. Install the Android app client.
    33 
    34 4. Open the installed app and press the "Edit Credentials" button. Then press "Scan QR" and focus on the QR of the device. Once the scan has been completed satisfactorily, you can press the "Test Connection" button to test the connection. If successful, it will indicate below the device's QR that it has already been connected. Then press "Save". Then press "Connect" in the app and some information about the recent connection activity will be displayed below.
     30[www.sms-gateway-press.com](https://www.sms-gateway-press.com)
    3531
    3632== Frequently Asked Questions ==
     
    3834= Where to get the Android app? =
    3935
    40 The Android app may be downloaded from: https://www.sms-gateway-press.com/download
     36The Android app may be downloaded [from here](https://www.sms-gateway-press.com/sdc_download/288/?key=gsajg40lttpcr5ycxbwoojvk3angq1)
    4137
    42 = How to send SMS manually? =
     38= How to send SMS? =
    4339
    44 Simply create a new SMS type entry from the menu and indicate the required parameters such as the destination number, text and time restrictions. Once said entry is published, the SMS will be delivered to the first connected device that is free for sending. Once the submission process begins, a debugging box will display the process.
    45 
    46 = How to send SMS via API? =
    47 
    48 To use the API endpoints, it is first necessary to create an application password to authorize the user.
    49 
    50 Once you have done this you will be able to send with API calls similar to the following:
    51 
    52 `curl -X POST --user <username>:"<password>" https://<your-domain>/wp-json/wp-sms-gateway/v1/send -d phone_number=123456789 -d text="Hi World"`
    53 
    54 The response will contain information about the new SMS.
    55 
    56 = How to check the status of an SMS via API? =
    57 
    58 `curl -X GET --user <username>:"<password>" https://<your-domain>/wp-json/wp-sms-gateway/v1/sms/<id>`
     40[Read this guide](https://www.sms-gateway-press.com/como-enviar-un-sms/)
    5941
    6042== Screenshots ==
     
    67496. screenshot-6.png Edit credentials.
    68507. screenshot-7.png App running.
    69 
    70 == Changelog ==
    71 
    72 TODO
  • sms-gateway-press/trunk/plugin.php

    r3037119 r3037249  
    44 * Plugin URI:   https://www.sms-gateway-press.com
    55 * Description:  Self-hosted SMS Gateway. Send SMS with your own Android devices across your WordPress site.
    6  * Version:      1.0.1
     6 * Version:      1.0.2
    77 * Requires PHP: 7.3
    88 * Author:       Andy Daniel Navarro Taño
  • sms-gateway-press/trunk/private/custom-post-type/class-sms.php

    r3036929 r3037249  
    405405            } elseif ( is_array( $log ) && isset( $log['time'] ) && isset( $log['text'] ) ) {
    406406                $time = ( new DateTime() )->setTimestamp( $log['time'] );
    407                 echo esc_attr( '<p><strong>' . $time->format( 'Y-m-d H:i:s' ) . ':</strong>' . $log['text'] . '</p>' );
     407                echo '<p><strong>' . esc_html( $time->format( 'Y-m-d H:i:s' ) ) . ':</strong>' . esc_html( $log['text'] ) . '</p>';
    408408            }
    409409        }
  • sms-gateway-press/trunk/readme.txt

    r3036929 r3037249  
    55Requires at least: 6.0
    66Tested up to: 6.4
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88Requires PHP: 7.3
    99License: GPLv2 or later
     
    2626== Get Started ==
    2727
    28 1. Install this plugin.
     28Visit the Official Website to get started.
    2929
    30 2. Create one device from "Devices" > "Add New" in the WordPress admin. Define only a title and publish the post. Once the post is published, a QR code will appear that you must scan from the app to connect the device.
    31 
    32 3. Install the Android app client.
    33 
    34 4. Open the installed app and press the "Edit Credentials" button. Then press "Scan QR" and focus on the QR of the device. Once the scan has been completed satisfactorily, you can press the "Test Connection" button to test the connection. If successful, it will indicate below the device's QR that it has already been connected. Then press "Save". Then press "Connect" in the app and some information about the recent connection activity will be displayed below.
     30[www.sms-gateway-press.com](https://www.sms-gateway-press.com)
    3531
    3632== Frequently Asked Questions ==
     
    3834= Where to get the Android app? =
    3935
    40 The Android app may be downloaded from: https://www.sms-gateway-press.com/download
     36The Android app may be downloaded [from here](https://www.sms-gateway-press.com/sdc_download/288/?key=gsajg40lttpcr5ycxbwoojvk3angq1)
    4137
    42 = How to send SMS manually? =
     38= How to send SMS? =
    4339
    44 Simply create a new SMS type entry from the menu and indicate the required parameters such as the destination number, text and time restrictions. Once said entry is published, the SMS will be delivered to the first connected device that is free for sending. Once the submission process begins, a debugging box will display the process.
    45 
    46 = How to send SMS via API? =
    47 
    48 To use the API endpoints, it is first necessary to create an application password to authorize the user.
    49 
    50 Once you have done this you will be able to send with API calls similar to the following:
    51 
    52 `curl -X POST --user <username>:"<password>" https://<your-domain>/wp-json/wp-sms-gateway/v1/send -d phone_number=123456789 -d text="Hi World"`
    53 
    54 The response will contain information about the new SMS.
    55 
    56 = How to check the status of an SMS via API? =
    57 
    58 `curl -X GET --user <username>:"<password>" https://<your-domain>/wp-json/wp-sms-gateway/v1/sms/<id>`
     40[Read this guide](https://www.sms-gateway-press.com/como-enviar-un-sms/)
    5941
    6042== Screenshots ==
     
    67496. screenshot-6.png Edit credentials.
    68507. screenshot-7.png App running.
    69 
    70 == Changelog ==
    71 
    72 TODO
Note: See TracChangeset for help on using the changeset viewer.