Changeset 2216797
- Timestamp:
- 12/23/2019 09:17:43 AM (6 years ago)
- Location:
- wepos/trunk
- Files:
-
- 5 edited
-
languages/wepos.pot (modified) (3 diffs)
-
lib/appsero/src/Client.php (modified) (3 diffs)
-
lib/appsero/src/Insights.php (modified) (7 diffs)
-
readme.txt (modified) (3 diffs)
-
wepos.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wepos/trunk/languages/wepos.pot
r2208388 r2216797 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.1. 0\n"5 "Project-Id-Version: wePOS - Point Of Sale (POS) for WooCommerce 1.1.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wepos\n" 7 "POT-Creation-Date: 2019-12- 09 09:11:32+00:00\n"7 "POT-Creation-Date: 2019-12-23 09:13:19+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" … … 375 375 376 376 #: assets/js/frontend.min.js:1 assets/src/frontend/components/Home.vue:277 377 #: lib/appsero/src/Insights.php:76 5377 #: lib/appsero/src/Insights.php:764 378 378 msgid "Cancel" 379 379 msgstr "" … … 705 705 msgstr "" 706 706 707 #: lib/appsero/src/Insights.php:38 0707 #: lib/appsero/src/Insights.php:381 708 708 msgid "Allow" 709 709 msgstr "" 710 710 711 #: lib/appsero/src/Insights.php:38 1711 #: lib/appsero/src/Insights.php:382 712 712 msgid "No thanks" 713 713 msgstr "" 714 714 715 #: lib/appsero/src/Insights.php:74 9715 #: lib/appsero/src/Insights.php:747 716 716 msgid "If you have a moment, please let us know why you are deactivating:" 717 717 msgstr "" 718 718 719 #: lib/appsero/src/Insights.php:762 720 msgid "I rather wouldn't say" 721 msgstr "" 722 719 723 #: lib/appsero/src/Insights.php:763 720 msgid "I rather wouldn't say"721 msgstr ""722 723 #: lib/appsero/src/Insights.php:764724 724 msgid "Submit & Deactivate" 725 725 msgstr "" -
wepos/trunk/lib/appsero/src/Client.php
r2208388 r2216797 14 14 * @var string 15 15 */ 16 public $version = '1.1. 7';16 public $version = '1.1.9'; 17 17 18 18 /** … … 67 67 */ 68 68 public $type; 69 70 /** 71 * textdomain 72 * 73 * @var string 74 */ 75 public $textdomain; 69 76 70 77 /** … … 155 162 $this->project_version = $plugin_data['Version']; 156 163 $this->type = 'plugin'; 164 $this->textdomain = $this->slug; 157 165 158 166 } else { -
wepos/trunk/lib/appsero/src/Insights.php
r2208388 r2216797 277 277 * @return bool 278 278 */ 279 p rivatefunction tracking_allowed() {279 public function tracking_allowed() { 280 280 $allow_tracking = get_option( $this->client->slug . '_allow_tracking', 'no' ); 281 281 … … 298 298 */ 299 299 private function notice_dismissed() { 300 $hide_notice = get_option( $this->client->slug . '_tracking_notice', 'no');300 $hide_notice = get_option( $this->client->slug . '_tracking_notice', null ); 301 301 302 302 if ( 'hide' == $hide_notice ) { … … 367 367 368 368 if ( empty( $this->notice ) ) { 369 $notice = sprintf( __( 'Want to help make <strong>%1$s</strong> even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', 'textdomain'), $this->client->name );369 $notice = sprintf( __( 'Want to help make <strong>%1$s</strong> even more awesome? Allow %1$s to collect non-sensitive diagnostic data and usage information.', $this->client->textdomain ), $this->client->name ); 370 370 } else { 371 371 $notice = $this->notice; 372 372 } 373 373 374 $notice .= ' (<a class="' . $this->client->slug . '-insights-data-we-collect" href="#">' . __( 'what we collect', 'textdomain' ) . '</a>)'; 375 $notice .= '<p class="description" style="display:none;">' . implode( ', ', $this->data_we_collect() ) . '. No sensitive data is tracked.</p>'; 374 $notice .= ' (<a class="' . $this->client->slug . '-insights-data-we-collect" href="#">' . __( 'what we collect', $this->client->textdomain ) . '</a>)'; 375 $notice .= '<p class="description" style="display:none;">' . implode( ', ', $this->data_we_collect() ) . '. No sensitive data is tracked. '; 376 $notice .= 'We are using Appsero to collect your data. <a href="https://appsero.com/privacy-policy/">Learn more</a> about how Appsero collects and handle your data.</p>'; 376 377 377 378 echo '<div class="updated"><p>'; 378 379 echo $notice; 379 380 echo '</p><p class="submit">'; 380 echo ' <a href="' . esc_url( $optin_url ) . '" class="button-primary button-large">' . __( 'Allow', 'textdomain') . '</a>';381 echo ' <a href="' . esc_url( $optout_url ) . '" class="button-secondary button-large">' . __( 'No thanks', 'textdomain') . '</a>';381 echo ' <a href="' . esc_url( $optin_url ) . '" class="button-primary button-large">' . __( 'Allow', $this->client->textdomain ) . '</a>'; 382 echo ' <a href="' . esc_url( $optout_url ) . '" class="button-secondary button-large">' . __( 'No thanks', $this->client->textdomain ) . '</a>'; 382 383 echo '</p></div>'; 383 384 … … 386 387 jQuery(this).parents('.updated').find('p.description').slideToggle('fast'); 387 388 }); 388 jQuery.getJSON('https://api.ipify.org?format=jsonp&callback=?', function(json) {389 json.ip;390 } );391 389 </script> 392 390 "; … … 747 745 <div class="wd-dr-modal-wrap"> 748 746 <div class="wd-dr-modal-header"> 749 <h3><?php _e( 'If you have a moment, please let us know why you are deactivating:', 'domain'); ?></h3>747 <h3><?php _e( 'If you have a moment, please let us know why you are deactivating:', $this->client->textdomain ); ?></h3> 750 748 </div> 751 749 … … 758 756 <?php } ?> 759 757 </ul> 758 <p class="wd-dr-modal-reasons-bottom">We share your data with <a href="https://appsero.com/">Appsero</a> to troubleshoot problems & make product improvements. <a href="https://appsero.com/privacy-policy/">Learn more</a> about how Appsero handles your data.</p> 760 759 </div> 761 760 762 761 <div class="wd-dr-modal-footer"> 763 <a href="#" class="dont-bother-me"><?php _e( 'I rather wouldn\'t say', 'domain'); ?></a>764 <button class="button-secondary"><?php _e( 'Submit & Deactivate', 'domain'); ?></button>765 <button class="button-primary"><?php _e( 'Cancel', 'domain'); ?></button>762 <a href="#" class="dont-bother-me"><?php _e( 'I rather wouldn\'t say', $this->client->textdomain ); ?></a> 763 <button class="button-secondary"><?php _e( 'Submit & Deactivate', $this->client->textdomain ); ?></button> 764 <button class="button-primary"><?php _e( 'Cancel', $this->client->textdomain ); ?></button> 766 765 </div> 767 766 </div> … … 813 812 padding: 12px 20px; 814 813 text-align: right; 814 } 815 .wd-dr-modal-reasons-bottom { 816 margin: 15px 0 0 0; 815 817 } 816 818 </style> -
wepos/trunk/readme.txt
r2208388 r2216797 4 4 Tags: WooCommerce POS, point of sale, free pos, pos plugin, woocommerce point of sale 5 5 Requires at least: 4.4 6 Tested up to: 5.3. 06 Tested up to: 5.3.2 7 7 WC requires at least: 3.0 8 8 WC tested up to: 3.8.1 … … 27 27 = Shortcut / Hotkey Support = 28 28 wePOS has shortcut key support that lets you use its features faster. This is very important for any physical store so that the sales executive can read the Barcodes and process the orders with pace. 29 30 = Privacy Policy = 31 wePOS uses [Appsero](https://appsero.com) SDK to collect some telemetry data upon user's confirmation. This helps us to troubleshoot problems faster & make product improvements. 32 33 Appsero SDK **does not gather any data by default.** The SDK only starts gathering basic telemetry data **when a user allows it via the admin notice**. We collect the data to ensure great user experience for all our users. 34 35 Integrating Appsero SDK **DOES NOT IMMEDIATELY** start gathering data, **without confirmation from users in any case.** 29 36 30 37 = Contribute = … … 53 60 54 61 == Changelog == 62 63 = v1.1.1 -> 23 December, 2019 = 64 ---------------------------- 65 - **Tweak** Appser client updated 55 66 56 67 = v1.1.0 -> 09 December, 2019 = -
wepos/trunk/wepos.php
r2208388 r2216797 4 4 Plugin URI: https://wedevs.com/wepos 5 5 Description: A beautiful and fast Point of Sale (POS) system for WooCommerce 6 Version: 1.1. 06 Version: 1.1.1 7 7 Author: weDevs 8 8 Author URI: https://wedevs.com/ … … 56 56 * @var string 57 57 */ 58 public $version = '1.1. 0';58 public $version = '1.1.1'; 59 59 60 60 /**
Note: See TracChangeset
for help on using the changeset viewer.