Changeset 2495860
- Timestamp:
- 03/15/2021 11:42:44 AM (5 years ago)
- Location:
- mwa-zoom-meetup/trunk
- Files:
-
- 8 edited
-
admin/inc/handler/deletemeeting.php (modified) (2 diffs)
-
admin/inc/handler/deluserformail.php (modified) (1 diff)
-
admin/inc/handler/tokensave.php (modified) (1 diff)
-
admin/libs/js/custom-js.js (modified) (2 diffs)
-
changelog.txt (modified) (1 diff)
-
mwa-wp-zoom.php (modified) (1 diff)
-
readme.txt (modified) (4 diffs)
-
uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mwa-zoom-meetup/trunk/admin/inc/handler/deletemeeting.php
r2486824 r2495860 23 23 $result_host = $wpdb->get_row( $wpdb->prepare( "SELECT `meetingid` FROM `$tbl_host` WHERE `id`=%d",$meet_did ), OBJECT ); 24 24 $meetingid = $result_host->meetingid; 25 26 $client = new GuzzleHttp\Client(['base_uri' => 'https://api.zoom.us']); 25 26 try{ 27 $client = new GuzzleHttp\Client(['base_uri' => 'https://api.zoom.us']); 27 28 28 $response = $client->request('DELETE', '/v2/meetings/'.$meetingid, [ 29 "headers" => [ 30 "Authorization" => "Bearer $only_accessToken" 31 ] 32 ]); 33 $json = json_decode($response, TRUE); 34 if($json['code']==124){ 35 /*Get Token ID for auth id*/ 29 $response = $client->request('DELETE', '/v2/meetings/'.$meetingid, [ 30 "headers" => [ 31 "Authorization" => "Bearer $only_accessToken" 32 ] 33 ]); 34 $wpdb->query( $wpdb->prepare( "DELETE FROM `$tbl_host` WHERE `id` = %d",$meet_did ) ); 35 $send_json_array_meetdel = array( "success_meet_del" => 1 ); 36 wp_send_json($send_json_array_meetdel); 37 //$json = json_decode($response, TRUE); 38 } catch(Exception $e) { 36 39 $tbl_tok = $wpdb->prefix."mwa_zoom_token"; 37 40 $result_tok = $wpdb->get_row( "SELECT `authid` FROM `$tbl_tok`", OBJECT ); … … 48 51 $send_json_array_meetdel = array( "success_meet_del" => 0 ,"failed_url" => $home_url); 49 52 wp_send_json($send_json_array_meetdel); 50 }else{ 51 $wpdb->query( $wpdb->prepare( "DELETE FROM `$tbl_host` WHERE `id` = %d",$meet_did ) ); 52 $send_json_array_meetdel = array( "success_meet_del" => 1 ); 53 wp_send_json($send_json_array_meetdel); 54 }// else close 53 } 54 55 55 }// else close 56 56 die(); -
mwa-zoom-meetup/trunk/admin/inc/handler/deluserformail.php
r2488303 r2495860 13 13 } 14 14 else { 15 if(isset($_POST['delid'])){ 16 $delid = isset($_POST['delid']) ? sanitize_text_field($_POST['delid']) : ""; 17 $multi_delid_comp = isset($_POST['multi_delid']) ? sanitize_text_field($_POST['multi_delid']) : ""; 15 $table_name = $wpdb->prefix . "mwa_zoom_email_users"; 16 $del_type = isset($_POST['del_type']) ? sanitize_text_field($_POST['del_type']) : ""; 18 17 19 $table_name = $wpdb->prefix . "mwa_zoom_email_users"; 20 $res = $wpdb->delete($table_name, array('id' => $delid ), array('%d')); 18 if($del_type=="multi"){ 19 $multi_delid_comp = isset($_POST['multi_delid']) ? sanitize_text_field($_POST['multi_delid']) : ""; 20 21 $remove_stripslash_str = stripslashes($multi_delid_comp); 22 $remove_other_char_str = str_replace( array('[',']','"') , '' , $remove_stripslash_str ); 23 $final_multi_delid_arr = explode (",", $remove_other_char_str); 21 24 22 if($res){ 23 $send_json_array_del = array( "success_msg_del" => 1 ); 24 wp_send_json($send_json_array_del); 25 }else{ 26 $send_json_array_del = array( "success_msg_del" => 0 ); 27 wp_send_json($send_json_array_del); 25 foreach($final_multi_delid_arr as $multi_delid){ 26 if( $multi_delid != "on" ){ 27 $res_multi = $wpdb->delete($table_name, array('id' => $multi_delid ), array('%d')); 28 } 28 29 } 29 }else if(isset($multi_delid_comp)){ 30 /* Multiple User email Delete By Admin*/ 31 foreach($multi_delid_comp as $multi_delid){ 32 $table_name = $wpdb->prefix . "mwa_zoom_email_users"; 33 $res_multi = $wpdb->delete($table_name, array('id' => $multi_delid ), array('%d')); 34 } 30 }else if($del_type=="single"){ 31 $delid = isset($_POST['delid']) ? sanitize_text_field($_POST['delid']) : ""; 32 $res_multi = $wpdb->delete($table_name, array('id' => $delid ), array('%d')); 33 } 35 34 36 if($res_multi){ 37 $send_json_array_del = array( "success_msg_del" => 1 ); 38 wp_send_json($send_json_array_del); 39 }else{ 40 $send_json_array_del = array( "success_msg_del" => 0 ); 41 wp_send_json($send_json_array_del); 42 } 43 } 35 if($res_multi){ 36 $send_json_array_del = array( "success_msg_del" => 1 ); 37 wp_send_json($send_json_array_del); 38 }else{ 39 $send_json_array_del = array( "success_msg_del" => 0 ); 40 wp_send_json($send_json_array_del); 41 } 44 42 } 45 43 die(); -
mwa-zoom-meetup/trunk/admin/inc/handler/tokensave.php
r2488303 r2495860 15 15 } 16 16 else { 17 18 $aura_factory = MWA_WP_ZOOM_DIR_PATH . 'libs/aura/vendor/autoload.php'; 19 include($aura_factory); 20 21 $session_factory = new \Aura\Session\SessionFactory; 22 $session = $session_factory->newInstance($_COOKIE); 23 24 /*get a _Segment_ object*/ 25 $segment = $session->getSegment('Vendor\Package\ClassName'); 26 27 /*Empty the session segment*/ 28 $segment->set('client', ""); 29 $segment->set('secret', ""); 30 $segment->set('authid', ""); 31 $segment->set('reduri', ""); 17 32 18 33 $uac = isset($_POST['uac']) ? sanitize_text_field( $_POST['uac'] ) : "" ; -
mwa-zoom-meetup/trunk/admin/libs/js/custom-js.js
r2477068 r2495860 222 222 delid:delid, 223 223 nonce_deluserdata:get_nonce, 224 del_type: "single", 224 225 }, 225 226 success: function(response_del) { … … 314 315 data : { 315 316 action: "deluser", 316 multi_delid: multi_delid,317 multi_delid:JSON.stringify(multi_delid), 317 318 nonce_deluserdata:get_muldelusernonce, 319 del_type: "multi", 318 320 }, 319 321 success: function(response_del_multi) { -
mwa-zoom-meetup/trunk/changelog.txt
r2490538 r2495860 5 5 This file contains older changelog entries, so we can keep the size of the standard WordPress readme.txt file reasonable. 6 6 For the latest changes, please see the "Changelog" section of the [readme.txt file](https://plugins.svn.wordpress.org/mwa-zoom-meetup/trunk/readme.txt). 7 8 = 2.2 = 9 *Release Date - 04 March 2021* 10 * Updated code for more security 11 * Tested upto Wordpress 5.6.2 7 12 8 13 = 2.1 = -
mwa-zoom-meetup/trunk/mwa-wp-zoom.php
r2490538 r2495860 8 8 * Plugin URI: https://wordpress.org/plugins/mwa-zoom-meetup/ 9 9 * Description: Video Conferencing - Zoom Meetings is capable to manage Zoom Meetings, Video Conferencing, Schedule Video Conferences and Record meetings directly from WordPress Dashboard 10 * Version: 2. 410 * Version: 2.5 11 11 * Author: MyWebApp 12 12 * Author URI: https://mywebapp.in/ -
mwa-zoom-meetup/trunk/readme.txt
r2490538 r2495860 5 5 Tags: zoom, meeting, video conference, e-commerce, video, zoom booking, woocommerce zoom, zoom meeting, zoom calender, zoom video conference, web conferencing, remote meeting 6 6 Requires at least: 4.9 7 Tested up to: 5. 6.28 Stable tag: 2. 47 Tested up to: 5.7 8 Stable tag: 2.5 9 9 Requires PHP: 5.2 10 10 License: GPLv2 or later … … 13 13 The plugin is capable to manage Zoom Meetings, Video Conferencing, Schedule Video Conferences and Record meetings directly from WordPress Dashboard. 14 14 15 15 16 == Description == 17 18 https://www.youtube.com/watch?v=jO1Wht3ZDQs 16 19 17 20 Today’s workforce prioritizes mobility, flexibility and modern forms of communication over private offices, corporates, organizations, startups and seclusion. Video conferencing is a choice and need of today and future. Zoom is the leader of modern video communications with a reliable cloud platform for audio and video conferencing. MyWebApp Team develops a plugin which makes you capable to use all Zoom Video Conference functions and features from your WordPress Dashboard. … … 102 105 == Changelog == 103 106 107 = 2.5 = 108 *Release Date - 09 March 2021* 109 * Tested upto Wordpress 5.7 110 * Minor bug fixed 111 104 112 = 2.4 = 105 113 *Release Date - 09 March 2021* … … 111 119 * Minor Bug Fixed 112 120 * Update bootstrap library 113 114 = 2.2 =115 *Release Date - 04 March 2021*116 * Updated code for more security117 * Tested upto Wordpress 5.6.2118 121 119 122 == Upgrade Notice == -
mwa-zoom-meetup/trunk/uninstall.php
r2490538 r2495860 2 2 /** 3 3 * 4 * @since 2. 44 * @since 2.5 5 5 * 6 6 * @package mwa-zoom-meetup
Note: See TracChangeset
for help on using the changeset viewer.