diff --git a/assets/js/build/dashboard.js b/assets/js/build/dashboard.js
index ee2fc3fe5..7681129cd 100644
--- a/assets/js/build/dashboard.js
+++ b/assets/js/build/dashboard.js
@@ -60,7 +60,7 @@
/******/ __webpack_require__.p = "/";
/******/
/******/ // Load entry module and return exports
-/******/ return __webpack_require__(__webpack_require__.s = 214);
+/******/ return __webpack_require__(__webpack_require__.s = 216);
/******/ })
/************************************************************************/
/******/ ([
@@ -1919,7 +1919,7 @@
try {
oldLocale = globalLocale._abbr;
var aliasedRequire = require;
- __webpack_require__(284)("./" + name);
+ __webpack_require__(304)("./" + name);
getSetGlobalLocale(oldLocale);
} catch (e) {}
}
@@ -4670,7 +4670,7 @@
})));
-/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(283)(module)))
+/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(303)(module)))
/***/ }),
/* 1 */
@@ -17945,7 +17945,12 @@ exports.default = new _vuex2.default.Store({
* @category New Cron System
*/
rop_cron_remote: ropApiSettings.rop_cron_remote,
- dom_updated: false
+ dom_updated: false,
+ notifications: {
+ twitter_limit: ropApiSettings.twitter_limit ? ropApiSettings.twitter_limit : false,
+ twitter_limit_close_url: ropApiSettings.twitter_limit_close ? ropApiSettings.twitter_limit_close : false,
+ twitter_limit_promotion_close_url: ropApiSettings.twitter_limit_promotion_close ? ropApiSettings.twitter_limit_promotion_close : false
+ }
},
mutations: {
setTabView: function setTabView(state, view) {
@@ -18091,6 +18096,12 @@ exports.default = new _vuex2.default.Store({
case 'exclude_post':
case 'exclude_post_batch':
+ break;
+ case 'close_twitter_limit_notification':
+ state.notifications.twitter_limit = false;
+ break;
+ case 'close_twitter_limit_promotion':
+ state.notifications.twitter_limit_promotion_close_url = false;
break;
default:
_vue2.default.$log.error('No state request for ', requestName);
@@ -20988,7 +20999,7 @@ if (false) {(function () { module.hot.accept()
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require("vue"), true)
if (!hotAPI.compatible) return
- var id = "/var/www/html/codeinwp/wp-content/plugins/tweet-old-post/vue/src/vue-elements/reusables/multiple-select.vue"
+ var id = "/Users/robert/Desktop/sites/dev/app/public/wp-content/plugins/tweet-old-post/vue/src/vue-elements/reusables/multiple-select.vue"
if (!module.hot.data) {
hotAPI.createRecord(id, module.exports)
} else {
@@ -21944,7 +21955,7 @@ if (false) {(function () { module.hot.accept()
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require("vue"), true)
if (!hotAPI.compatible) return
- var id = "/var/www/html/codeinwp/wp-content/plugins/tweet-old-post/vue/src/vue-elements/reusables/button-checkbox.vue"
+ var id = "/Users/robert/Desktop/sites/dev/app/public/wp-content/plugins/tweet-old-post/vue/src/vue-elements/reusables/button-checkbox.vue"
if (!module.hot.data) {
hotAPI.createRecord(id, module.exports)
} else {
@@ -21968,8 +21979,8 @@ if(content.locals) module.exports = content.locals;
if(false) {
// When the styles change, update the
+
+/***/ }),
+/* 247 */
+/***/ (function(module, exports) {
+
+module.exports = "\n
\n";
+
+/***/ }),
+/* 248 */
+/***/ (function(module, exports) {
+
+module.exports = "\n \n \n \n";
+
+/***/ }),
+/* 249 */
+/***/ (function(module, exports, __webpack_require__) {
+
+// style-loader: Adds some css to the DOM by adding a
+ //
+
+}; //
+//
+// {{ message }} Upgrade Now
+//
+//
+//
+//
+//
+//
+//
+
+/***/ }),
+/* 255 */
+/***/ (function(module, exports) {
+
+module.exports = "\n\t\t\n\t\t\t\t
\n\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t \n\t\t\t\t \n\t\t
\n";
+
+/***/ }),
+/* 256 */
+/***/ (function(module, exports) {
+
+module.exports = "\n\t\n\t\t{{ message }} Upgrade Now \n\t \n";
+
+/***/ }),
+/* 257 */
+/***/ (function(module, exports, __webpack_require__) {
+
+var __vue_script__, __vue_template__
+__webpack_require__(258)
+__vue_script__ = __webpack_require__(260)
+__vue_template__ = __webpack_require__(266)
+module.exports = __vue_script__ || {}
+if (module.exports.__esModule) module.exports = module.exports.default
+if (__vue_template__) { (typeof module.exports === "function" ? module.exports.options : module.exports).template = __vue_template__ }
+if (false) {(function () { module.hot.accept()
+ var hotAPI = require("vue-hot-reload-api")
+ hotAPI.install(require("vue"), true)
+ if (!hotAPI.compatible) return
+ var id = "/Users/robert/Desktop/sites/dev/app/public/wp-content/plugins/tweet-old-post/vue/src/vue-elements/utils/upsell-popup.vue"
+ if (!module.hot.data) {
+ hotAPI.createRecord(id, module.exports)
+ } else {
+ hotAPI.update(id, module.exports, __vue_template__)
+ }
+})()}
+
+/***/ }),
+/* 258 */
+/***/ (function(module, exports, __webpack_require__) {
+
+// style-loader: Adds some css to the DOM by adding a
+//
+
+/***/ }),
+/* 261 */
+/***/ (function(module, exports, __webpack_require__) {
+
+var __vue_script__, __vue_template__
+__webpack_require__(262)
+__vue_script__ = __webpack_require__(264)
+__vue_template__ = __webpack_require__(265)
+module.exports = __vue_script__ || {}
+if (module.exports.__esModule) module.exports = module.exports.default
+if (__vue_template__) { (typeof module.exports === "function" ? module.exports.options : module.exports).template = __vue_template__ }
+if (false) {(function () { module.hot.accept()
+ var hotAPI = require("vue-hot-reload-api")
+ hotAPI.install(require("vue"), true)
+ if (!hotAPI.compatible) return
+ var id = "/Users/robert/Desktop/sites/dev/app/public/wp-content/plugins/tweet-old-post/vue/src/vue-elements/reusables/popup.vue"
+ if (!module.hot.data) {
+ hotAPI.createRecord(id, module.exports)
+ } else {
+ hotAPI.update(id, module.exports, __vue_template__)
+ }
+})()}
+
+/***/ }),
+/* 262 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a
+//
/***/ }),
-/* 245 */
+/* 265 */
/***/ (function(module, exports) {
-module.exports = "\n \n";
+module.exports = "\n\t\n";
/***/ }),
-/* 246 */
+/* 266 */
/***/ (function(module, exports) {
-module.exports = "\n \n \n \n";
+module.exports = "\n\t\n";
/***/ }),
-/* 247 */
+/* 267 */
/***/ (function(module, exports) {
-module.exports = "\n \n
\n
\n\n
\n
\n
\n
\n
\n
0\" _v-3bf341cd=\"\">\n
\n \n
\n
{{labels.no_accounts}}
\n
{{labels.no_accounts_desc}}
\n
\n
0\" _v-3bf341cd=\"\">\n \n \n
\n
0\" id=\"rop-add-account-button\" _v-3bf341cd=\"\">\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n";
+module.exports = "\n \n
\n\t
\n\t
\n
\n
\n
\n
\n
0\" _v-1495f6cb=\"\">\n
\n \n
\n
{{labels.no_accounts}}
\n
{{labels.no_accounts_desc}}
\n
\n
0\" _v-1495f6cb=\"\">\n \n \n
\n
0\" id=\"rop-add-account-button\" _v-1495f6cb=\"\">\n
\n
\n
\n
\n
\n
\n \n
\n\n
\n";
/***/ }),
-/* 248 */
+/* 268 */
/***/ (function(module, exports, __webpack_require__) {
var __vue_script__, __vue_template__
-__webpack_require__(249)
-__vue_script__ = __webpack_require__(251)
-__vue_template__ = __webpack_require__(257)
+__webpack_require__(269)
+__vue_script__ = __webpack_require__(271)
+__vue_template__ = __webpack_require__(277)
module.exports = __vue_script__ || {}
if (module.exports.__esModule) module.exports = module.exports.default
if (__vue_template__) { (typeof module.exports === "function" ? module.exports.options : module.exports).template = __vue_template__ }
@@ -36888,7 +37613,7 @@ if (false) {(function () { module.hot.accept()
var hotAPI = require("vue-hot-reload-api")
hotAPI.install(require("vue"), true)
if (!hotAPI.compatible) return
- var id = "/var/www/html/codeinwp/wp-content/plugins/tweet-old-post/vue/src/vue-elements/settings-tab-panel.vue"
+ var id = "/Users/robert/Desktop/sites/dev/app/public/wp-content/plugins/tweet-old-post/vue/src/vue-elements/settings-tab-panel.vue"
if (!module.hot.data) {
hotAPI.createRecord(id, module.exports)
} else {
@@ -36897,13 +37622,13 @@ if (false) {(function () { module.hot.accept()
})()}
/***/ }),
-/* 249 */
+/* 269 */
/***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a
//
-}; //
-//
-//
-//
-//
-//
-//
-//
-// {{labels.clear_btn}}
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
{{labels.no_logs}}
-//
-//
-//
-//
-//
{{formatDate ( data.time ) }}
-//
{{data.message}}
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
{{labels.add_account_to_use_instant_share}}
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
-//
+//
+//
+//
+//
+//
{{labels.add_account_to_use_instant_share}}
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
+//
diff --git a/vue/src/vue-elements/logs-tab-panel.vue b/vue/src/vue-elements/logs-tab-panel.vue
index 5d6aed772..7bd7a5565 100644
--- a/vue/src/vue-elements/logs-tab-panel.vue
+++ b/vue/src/vue-elements/logs-tab-panel.vue
@@ -1,6 +1,7 @@
+
@@ -37,6 +38,7 @@
diff --git a/vue/src/vue-elements/reusables/snackbar-notice.vue b/vue/src/vue-elements/reusables/snackbar-notice.vue
new file mode 100644
index 000000000..78986029a
--- /dev/null
+++ b/vue/src/vue-elements/reusables/snackbar-notice.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
diff --git a/vue/src/vue-elements/sign-in-btn.vue b/vue/src/vue-elements/sign-in-btn.vue
index a14b5da08..d29e1e50b 100644
--- a/vue/src/vue-elements/sign-in-btn.vue
+++ b/vue/src/vue-elements/sign-in-btn.vue
@@ -51,7 +51,7 @@
{{labels.gmb_app_signin_btn}}
-
+
{{labels.vk_app_signin_btn}}
@@ -81,7 +81,7 @@
-
+
@@ -126,7 +126,7 @@
siteAdminUrl: ropAuthAppData.adminUrl,
appUniqueId: ropAuthAppData.authToken,
appSignature: ropAuthAppData.authSignature,
- windowParameters: 'top=20,left=100,width=560,height=670',
+ windowParameters: 'top=20,left=100,width=560,height=670,popup=true',
authPopupWindow: null,
showLiAppBtn: ropApiSettings.show_li_app_btn,
showTmblrAppBtn: ropApiSettings.show_tmblr_app_btn,
@@ -397,9 +397,9 @@
});
},
getChildWindowMessage: function (event) {
-
+
if (~event.origin.indexOf(this.appOrigin)) {
-
+
if ('Twitter' === this.modal.serviceName) {
this.addAccountTW(JSON.parse(event.data));
} else if ('Facebook' === this.modal.serviceName) {
@@ -545,7 +545,7 @@
isPinterest() {
return this.modal.serviceName === 'Pinterest';
},
-
+
isAllowedTumblr: function () {
let showButton = true;
if (!this.showTmblrAppBtn) {
diff --git a/vue/src/vue-elements/utils/twitter-notification.vue b/vue/src/vue-elements/utils/twitter-notification.vue
new file mode 100644
index 000000000..ec6da4f69
--- /dev/null
+++ b/vue/src/vue-elements/utils/twitter-notification.vue
@@ -0,0 +1,72 @@
+
+
+ {{ message }} Upgrade Now
+
+
+
+
+
+
diff --git a/vue/src/vue-elements/utils/upsell-popup.vue b/vue/src/vue-elements/utils/upsell-popup.vue
new file mode 100644
index 000000000..84d3dd53a
--- /dev/null
+++ b/vue/src/vue-elements/utils/upsell-popup.vue
@@ -0,0 +1,114 @@
+
+
+
+
+
+
+