From 99716cb3e74264989ff2d52559ff9b2565040488 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 15:46:36 +0000 Subject: [PATCH 01/30] Fixed a typo. --- wp-app-kit/app/lang/theme-messages.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/app/lang/theme-messages.js b/wp-app-kit/app/lang/theme-messages.js index b49e8a6..992233b 100644 --- a/wp-app-kit/app/lang/theme-messages.js +++ b/wp-app-kit/app/lang/theme-messages.js @@ -7,7 +7,7 @@ define( function ( require ) { return { error_remote_connexion_failed : 'Remote connection to website failed', - error_occured_undefined : 'Oops, an error occured...', + error_occured_undefined : 'Oops, an error occurred...', info_no_content : "The application couldn't retrieve any content, please check your internet connection!", info_network_online : "Internet connection ok", info_network_offline : "Internet connection lost", From d70cd6794f26f8f6640ff20b9e34806114a319cb Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 19:24:42 +0000 Subject: [PATCH 02/30] Corrected some grammar. (- : --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 4bcbe3e..9e486d0 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -132,7 +132,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { $main_infos = self::get_app_main_infos( $post->ID ); ?>
- They are required when exporting the App to Phonegap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?> + They are required when exporting the App to Phonegap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?>

:
From aef7dfb96b0ff99738e8e6fc28918970646393f5 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 19:31:43 +0000 Subject: [PATCH 03/30] Made comment easier to read. --- wp-app-kit/app/core/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/app/core/app.js b/wp-app-kit/app/core/app.js index 523121d..981965b 100644 --- a/wp-app-kit/app/core/app.js +++ b/wp-app-kit/app/core/app.js @@ -896,7 +896,7 @@ define(function (require) { }; //-------------------------------------------------------------------------- - //Network : handle network state if the Network phonegap plugin is available + //Network : handle network state if the Network PhoneGap plugin is available app.onOnline = function(){ vent.trigger('network:online'); From c64ca8106fc624652c1300ffbaa8ade3fa7f7a29 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 19:33:31 +0000 Subject: [PATCH 04/30] Corrected PhoneGap branding in plugin description. --- wp-app-kit/wp-app-kit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/wp-app-kit.php b/wp-app-kit/wp-app-kit.php index f820cb1..ad9cdf1 100644 --- a/wp-app-kit/wp-app-kit.php +++ b/wp-app-kit/wp-app-kit.php @@ -2,7 +2,7 @@ /* Plugin Name: WP App Kit - Description: Build Phonegap Mobile apps based on your WordPress contents + Description: Build PhoneGap Mobile apps based on your WordPress contents Version: 0.1 */ From f2b89aa62b0ffa4ff4e810dc4fa6e7fa48627e29 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 19:34:42 +0000 Subject: [PATCH 05/30] Corrected PhoneGap branding in build.php --- wp-app-kit/lib/apps/build.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-app-kit/lib/apps/build.php b/wp-app-kit/lib/apps/build.php index 7d6cd29..502b308 100644 --- a/wp-app-kit/lib/apps/build.php +++ b/wp-app-kit/lib/apps/build.php @@ -25,7 +25,7 @@ public static function add_meta_boxes() { add_meta_box( 'wpak_export_box', - __( 'Phonegap ready App export', WpAppKit::i18n_domain ), + __( 'PhoneGap ready App export', WpAppKit::i18n_domain ), array( __CLASS__, 'inner_export_box' ), 'wpak_apps', 'side', @@ -69,7 +69,7 @@ public static function inner_export_box( $post, $current_box ) { $available_themes = WpakThemes::get_available_themes(); $current_theme = WpakThemesStorage::get_current_theme( $app_id ); ?> - :
+ :




From 40a49139329e74d23804625c24b8f217a59372dd Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:18:20 +0000 Subject: [PATCH 06/30] Changed to capital 'T'; looks more professional now like other plugins. --- wp-app-kit/lang/wp-app-kit-fr_FR.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lang/wp-app-kit-fr_FR.po b/wp-app-kit/lang/wp-app-kit-fr_FR.po index 08a3255..dc8b215 100644 --- a/wp-app-kit/lang/wp-app-kit-fr_FR.po +++ b/wp-app-kit/lang/wp-app-kit-fr_FR.po @@ -929,7 +929,7 @@ msgid "Application title (displayed in app top bar)" msgstr "Titre de l'application (affiché dans la top bar)" #: ../lib/themes/upload-themes.php:18 -msgid "Upload themes" +msgid "Upload Themes" msgstr "Télécharger des thèmes" #: ../lib/themes/upload-themes.php:26 From 3f0eb987b7812dbe5b2fec8e36561adb5cd271df Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:24:38 +0000 Subject: [PATCH 07/30] Fixed another PhoneGap branding mention and begun to capitalize meta boxes in the application config area to look professional like other plugins. --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 9e486d0..9e03835 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -91,7 +91,7 @@ public static function add_phonegap_meta_box() { add_meta_box( 'wpak_app_phonegap_data', - __( 'Phonegap config.xml data', WpAppKit::i18n_domain ), + __( 'PhoneGap config.xml Data', WpAppKit::i18n_domain ), array( __CLASS__, 'inner_phonegap_infos_box' ), 'wpak_apps', 'normal', From 9556e56d8de315cfaa3c37c6a417a3244ac4192b Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:27:47 +0000 Subject: [PATCH 08/30] Removed unnecessary exclamation mark. --- wp-app-kit/lib/apps/build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/build.php b/wp-app-kit/lib/apps/build.php index 502b308..b7abd50 100644 --- a/wp-app-kit/lib/apps/build.php +++ b/wp-app-kit/lib/apps/build.php @@ -91,7 +91,7 @@ public static function inner_export_box( $post, $current_box ) { - ! + ID, 'wpak-nonce-export-data' ) ?> From df81f81c99a9c8dd9f8dc5af947cc7c08c3a52d9 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:30:14 +0000 Subject: [PATCH 09/30] Corrected PhoneGap branding mention in apps.php --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 9e03835..7307e10 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -163,7 +163,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) {

:
- Example : to include the "In App Browser" plugin for a Phonegap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?> + Example : to include the "In App Browser" plugin for a Phonegap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?>

:
From d7ed8d6e13ae33cebb5637863670f86bce8608e3 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:31:14 +0000 Subject: [PATCH 10/30] Corrected another mention of PhoneGap branding --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 7307e10..ce6659d 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -163,7 +163,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) {

:
- Example : to include the "In App Browser" plugin for a Phonegap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?> + Example : to include the "In App Browser" plugin for a PhoneGap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?>

:
From 286b2306033452f0d2d89eb86d3d4f22a7199113 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:33:45 +0000 Subject: [PATCH 11/30] Fixed another mention of the PhoneGap brand --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index ce6659d..8a864f2 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -132,7 +132,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { $main_infos = self::get_app_main_infos( $post->ID ); ?>
- They are required when exporting the App to Phonegap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?> + They are required when exporting the App to PhoneGap, but are not used for App debug and simulation in browsers.', WpAppKit::i18n_domain ) ?>

:
From 424a036f50ea68cfdf843618dcb0b51195360d2e Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:35:24 +0000 Subject: [PATCH 12/30] Corrected mention of JavaScript brand --- wp-app-kit/lib/apps/build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/build.php b/wp-app-kit/lib/apps/build.php index b7abd50..bf5fe3e 100644 --- a/wp-app-kit/lib/apps/build.php +++ b/wp-app-kit/lib/apps/build.php @@ -44,7 +44,7 @@ public static function inner_simulation_box( $post, $current_box ) { -
+


From 76a51a53c26bd61aad4e0c4231cb87938d283ae8 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:36:44 +0000 Subject: [PATCH 13/30] Changed 'id' to caps for better aesthetics --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 8a864f2..c97aedc 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -140,7 +140,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { :


- :
+ :


:
From c4b9f27f868bc7ac59d3b42a016d11711e9bd25c Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:37:42 +0000 Subject: [PATCH 14/30] Fixed a mention of the PhoneGap brand in apps.php --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index c97aedc..6c80b95 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -149,7 +149,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { :


- :
+ :


:
From 7ec88dbbf3937161eef7a4353b2cbbe6748c0179 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:41:11 +0000 Subject: [PATCH 15/30] Fixed more PhoneGap brand mentions --- wp-app-kit/lang/wp-app-kit-fr_FR.pot | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/wp-app-kit/lang/wp-app-kit-fr_FR.pot b/wp-app-kit/lang/wp-app-kit-fr_FR.pot index 6460d18..f2d4d9d 100644 --- a/wp-app-kit/lang/wp-app-kit-fr_FR.pot +++ b/wp-app-kit/lang/wp-app-kit-fr_FR.pot @@ -83,7 +83,7 @@ msgstr "" #: ../lib/apps/apps.php:131 msgid "" "PhoneGap config.xml informations that are going to be displayed on App " -"Stores.
They are required when exporting the App to Phonegap, but are " +"Stores.
They are required when exporting the App to PhoneGap, but are " "not used for App debug and simulation in browsers." msgstr "" @@ -114,7 +114,7 @@ msgstr "" # @ wp-app-kit #: ../lib/apps/apps.php:148 -msgid "Phonegap version" +msgid "PhoneGap version" msgstr "" # @ wp-app-kit @@ -134,14 +134,14 @@ msgstr "" # @ wp-app-kit #: ../lib/apps/apps.php:160 -msgid "Phonegap plugins" +msgid "PhoneGap plugins" msgstr "" # @ wp-app-kit #: ../lib/apps/apps.php:162 msgid "" -"Write the phonegap plugins tags as defined in the PhoneGap documentation.
Example : to include the \"In App Browser\" plugin for a Phonegap Build " +"Write the PhoneGap plugins tags as defined in the PhoneGap documentation.
Example : to include the \"In App Browser\" plugin for a PhoneGap Build " "compilation, enter <gap:plugin name=\"org.apache.cordova.inappbrowser\" " "version=\"0.3.3\" /> directly in the textarea." msgstr "" @@ -212,7 +212,7 @@ msgstr "" # @ wp-app-kit #: ../lib/apps/build.php:28 -msgid "Phonegap ready App export" +msgid "PhoneGap ready App export" msgstr "" # @ wp-app-kit @@ -270,7 +270,7 @@ msgstr "" # @ wp-app-kit #: ../lib/apps/build.php:72 msgid "" -"Phonegap exports are Zip files created in the WordPress uploads directory" +"PhoneGap exports are Zip files created in the WordPress uploads directory" msgstr "" # @ wp-app-kit From 99bbeb67b6822ca7a807613149ea7e21b33fa423 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:47:51 +0000 Subject: [PATCH 16/30] Capitalized 'c' for better aesthetics and readability --- wp-app-kit/lib/components/components-bo-settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/components/components-bo-settings.php b/wp-app-kit/lib/components/components-bo-settings.php index 6c47410..5c9b917 100644 --- a/wp-app-kit/lib/components/components-bo-settings.php +++ b/wp-app-kit/lib/components/components-bo-settings.php @@ -32,7 +32,7 @@ public static function admin_enqueue_scripts() { public static function add_meta_boxes() { add_meta_box( 'wpak_app_components', - __( 'App components', WpAppKit::i18n_domain ), + __( 'App Components', WpAppKit::i18n_domain ), array( __CLASS__, 'inner_components_box' ), 'wpak_apps', 'normal', From cb995a670ada57cefdc3f13745dfe2a5324da712 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:50:43 +0000 Subject: [PATCH 17/30] Capitalized the 'p' for better aesthetics and readability --- wp-app-kit/lang/wp-app-kit-fr_FR.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lang/wp-app-kit-fr_FR.po b/wp-app-kit/lang/wp-app-kit-fr_FR.po index dc8b215..1fb9ec5 100644 --- a/wp-app-kit/lang/wp-app-kit-fr_FR.po +++ b/wp-app-kit/lang/wp-app-kit-fr_FR.po @@ -139,7 +139,7 @@ msgstr "Email de l'auteur" # @ wp-app-kit #: ../lib/apps/apps.php:164 -msgid "Phonegap plugins" +msgid "Phonegap Plugins" msgstr "Plugins Phonegap" # @ wp-app-kit From 520514635d6fb6f1043d815de565f480bc652f78 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:52:33 +0000 Subject: [PATCH 18/30] Capitalized the 'p' for better aesthetics and readability in apps.php --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 6c80b95..5f376b1 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -161,7 +161,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { :


- :
+ :
Example : to include the "In App Browser" plugin for a PhoneGap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?>

From 319a0fb6b646ddff59bea655dcfa398ddeacfce0 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 20:54:43 +0000 Subject: [PATCH 19/30] Capitalized 'a' in title for better aesthetics and readability --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 5f376b1..6cb3c38 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -44,7 +44,7 @@ public static function apps_custom_post_type() { 'add_new' => __( 'Add', WpAppKit::i18n_domain ), 'add_new_item' => __( 'Add an application', WpAppKit::i18n_domain ), 'edit' => __( 'Edit', WpAppKit::i18n_domain ), - 'edit_item' => __( 'Edit application', WpAppKit::i18n_domain ), + 'edit_item' => __( 'Edit Application', WpAppKit::i18n_domain ), 'new_item' => __( 'New application', WpAppKit::i18n_domain ), 'not_found' => __( 'No application found', WpAppKit::i18n_domain ), ) From 8972a9e3b37de2caf9bb98078d687c36a3808dc6 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 21:11:24 +0000 Subject: [PATCH 20/30] Corrected another mention of the PhoneGap branding in apps.php --- wp-app-kit/lib/apps/apps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/apps.php b/wp-app-kit/lib/apps/apps.php index 6cb3c38..5c08b2d 100644 --- a/wp-app-kit/lib/apps/apps.php +++ b/wp-app-kit/lib/apps/apps.php @@ -161,7 +161,7 @@ public static function inner_phonegap_infos_box( $post, $current_box ) { :


- :
+ :
Example : to include the "In App Browser" plugin for a PhoneGap Build compilation, enter <gap:plugin name="org.apache.cordova.inappbrowser" version="0.3.3" /> directly in the textarea.', WpAppKit::i18n_domain ) ?>

From 6108e918e06fe5c88093ce38e722035de725707d Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 21:13:51 +0000 Subject: [PATCH 21/30] Corrected stray exclamation mark --- wp-app-kit/lib/apps/build.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-app-kit/lib/apps/build.php b/wp-app-kit/lib/apps/build.php index bf5fe3e..65a8c1c 100644 --- a/wp-app-kit/lib/apps/build.php +++ b/wp-app-kit/lib/apps/build.php @@ -80,7 +80,7 @@ public static function inner_export_box( $post, $current_box ) { - ! +
From 7fe7575086f01aecdbbccff1688bc59ca267ded7 Mon Sep 17 00:00:00 2001 From: Hammy Havoc Date: Thu, 4 Dec 2014 21:19:57 +0000 Subject: [PATCH 22/30] Fixed web services synchronization formatting bug --- wp-app-kit/lib/simulator/simulator.php | 31 ++++++++++++++++++-------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/wp-app-kit/lib/simulator/simulator.php b/wp-app-kit/lib/simulator/simulator.php index 613fdcb..c3c9375 100644 --- a/wp-app-kit/lib/simulator/simulator.php +++ b/wp-app-kit/lib/simulator/simulator.php @@ -76,15 +76,28 @@ public static function settings_panel() {
-
-

- -

- -

-

:

- : -
+
+

+ " target="_blank"> + +

+ +

+ + +

+ +

+

+ : +

+

+ :

"> + +