Changeset 2954190
- Timestamp:
- 08/16/2023 06:48:22 AM (3 years ago)
- Location:
- quantimodo
- Files:
-
- 10 edited
- 1 copied
-
tags/0.6.6 (copied) (copied from quantimodo/trunk)
-
tags/0.6.6/README.md (modified) (1 diff)
-
tags/0.6.6/includes/access_token.php (modified) (1 diff)
-
tags/0.6.6/includes/core.php (modified) (1 diff)
-
tags/0.6.6/includes/shortcode.php (modified) (1 diff)
-
tags/0.6.6/quantimodo.php (modified) (1 diff)
-
trunk/README.md (modified) (1 diff)
-
trunk/includes/access_token.php (modified) (1 diff)
-
trunk/includes/core.php (modified) (1 diff)
-
trunk/includes/shortcode.php (modified) (1 diff)
-
trunk/quantimodo.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
quantimodo/tags/0.6.6/README.md
r2946898 r2954190 3 3 Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health 4 4 Requires at least: 4.3 5 Stable tag: 0.6. 55 Stable tag: 0.6.6 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
quantimodo/tags/0.6.6/includes/access_token.php
r2946898 r2954190 9 9 $accessToken = get_user_meta($wpUserId, 'qm_access_token', true); 10 10 if($accessToken){ 11 qm_error("Returning access token from user meta");11 //qm_error("Returning access token from user meta"); 12 12 return $accessToken; 13 13 } -
quantimodo/tags/0.6.6/includes/core.php
r2946898 r2954190 50 50 function qm_api_hostname(): string 51 51 { 52 //return "https://local.quantimo.do"; 52 53 $apiHostName = "https://app.quantimo.do"; 53 54 $env = (isset($_SERVER["HTTP_REFERER"])) ? $_SERVER["HTTP_REFERER"] : getenv('APP_HOST_NAME'); -
quantimodo/tags/0.6.6/includes/shortcode.php
r2946898 r2954190 2 2 3 3 function quantimodo_iframe_func($atts) { 4 5 $qmAccessToken = get_qm_access_token(); 6 $defaultParams = array( 7 'qmAccessToken' => $qmAccessToken, 8 'clientId' => qm_api_client_id(), 9 ); 4 10 // Extract the attributes 5 11 $atts = shortcode_atts( 6 array(), // Default values for attributes12 $defaultParams, // Default values for attributes 7 13 $atts, 8 14 'quantimodo_iframe' // Shortcode name 9 15 ); 10 16 11 $qmAccessToken = get_qm_access_token();12 17 // Base URL 13 $url = qm_api_hostname()."/app/public/#? qmAccessToken=" . $qmAccessToken;18 $url = qm_api_hostname()."/app/public/#?"; 14 19 15 20 // Add any extra parameters from the shortcode attributes -
quantimodo/tags/0.6.6/quantimodo.php
r2946898 r2954190 2 2 /* 3 3 * Plugin Name: QuantiModo 4 * Version: 0.6. 54 * Version: 0.6.6 5 5 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data. 6 6 * Author: QuantiModo -
quantimodo/trunk/README.md
r2946898 r2954190 3 3 Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health 4 4 Requires at least: 4.3 5 Stable tag: 0.6. 55 Stable tag: 0.6.6 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
quantimodo/trunk/includes/access_token.php
r2946898 r2954190 9 9 $accessToken = get_user_meta($wpUserId, 'qm_access_token', true); 10 10 if($accessToken){ 11 qm_error("Returning access token from user meta");11 //qm_error("Returning access token from user meta"); 12 12 return $accessToken; 13 13 } -
quantimodo/trunk/includes/core.php
r2946898 r2954190 50 50 function qm_api_hostname(): string 51 51 { 52 //return "https://local.quantimo.do"; 52 53 $apiHostName = "https://app.quantimo.do"; 53 54 $env = (isset($_SERVER["HTTP_REFERER"])) ? $_SERVER["HTTP_REFERER"] : getenv('APP_HOST_NAME'); -
quantimodo/trunk/includes/shortcode.php
r2946898 r2954190 2 2 3 3 function quantimodo_iframe_func($atts) { 4 5 $qmAccessToken = get_qm_access_token(); 6 $defaultParams = array( 7 'qmAccessToken' => $qmAccessToken, 8 'clientId' => qm_api_client_id(), 9 ); 4 10 // Extract the attributes 5 11 $atts = shortcode_atts( 6 array(), // Default values for attributes12 $defaultParams, // Default values for attributes 7 13 $atts, 8 14 'quantimodo_iframe' // Shortcode name 9 15 ); 10 16 11 $qmAccessToken = get_qm_access_token();12 17 // Base URL 13 $url = qm_api_hostname()."/app/public/#? qmAccessToken=" . $qmAccessToken;18 $url = qm_api_hostname()."/app/public/#?"; 14 19 15 20 // Add any extra parameters from the shortcode attributes -
quantimodo/trunk/quantimodo.php
r2946898 r2954190 2 2 /* 3 3 * Plugin Name: QuantiModo 4 * Version: 0.6. 54 * Version: 0.6.6 5 5 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data. 6 6 * Author: QuantiModo
Note: See TracChangeset
for help on using the changeset viewer.