Plugin Directory

Changeset 2954190


Ignore:
Timestamp:
08/16/2023 06:48:22 AM (3 years ago)
Author:
mikepsinn
Message:

Update to version 0.6.6 from GitHub

Location:
quantimodo
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • quantimodo/tags/0.6.6/README.md

    r2946898 r2954190  
    33Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health
    44Requires at least: 4.3
    5 Stable tag: 0.6.5
     5Stable tag: 0.6.6
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • quantimodo/tags/0.6.6/includes/access_token.php

    r2946898 r2954190  
    99    $accessToken = get_user_meta($wpUserId, 'qm_access_token', true);
    1010    if($accessToken){
    11         qm_error("Returning access token from user meta");
     11        //qm_error("Returning access token from user meta");
    1212        return $accessToken;
    1313    }
  • quantimodo/tags/0.6.6/includes/core.php

    r2946898 r2954190  
    5050function qm_api_hostname(): string
    5151{
     52    //return "https://local.quantimo.do";
    5253    $apiHostName = "https://app.quantimo.do";
    5354    $env = (isset($_SERVER["HTTP_REFERER"])) ? $_SERVER["HTTP_REFERER"] : getenv('APP_HOST_NAME');
  • quantimodo/tags/0.6.6/includes/shortcode.php

    r2946898 r2954190  
    22
    33function quantimodo_iframe_func($atts) {
     4
     5    $qmAccessToken = get_qm_access_token();
     6    $defaultParams = array(
     7        'qmAccessToken' => $qmAccessToken,
     8        'clientId' => qm_api_client_id(),
     9    );
    410    // Extract the attributes
    511    $atts = shortcode_atts(
    6         array(), // Default values for attributes
     12        $defaultParams, // Default values for attributes
    713        $atts,
    814        'quantimodo_iframe' // Shortcode name
    915    );
    1016
    11     $qmAccessToken = get_qm_access_token();
    1217    // Base URL
    13     $url = qm_api_hostname()."/app/public/#?qmAccessToken=" . $qmAccessToken;
     18    $url = qm_api_hostname()."/app/public/#?";
    1419
    1520    // Add any extra parameters from the shortcode attributes
  • quantimodo/tags/0.6.6/quantimodo.php

    r2946898 r2954190  
    22/*
    33 * Plugin Name: QuantiModo
    4  * Version: 0.6.5
     4 * Version: 0.6.6
    55 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data.
    66 * Author: QuantiModo
  • quantimodo/trunk/README.md

    r2946898 r2954190  
    33Tags: social, science, quantified self, mood tracking, digital health, healthcare, mental health
    44Requires at least: 4.3
    5 Stable tag: 0.6.5
     5Stable tag: 0.6.6
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • quantimodo/trunk/includes/access_token.php

    r2946898 r2954190  
    99    $accessToken = get_user_meta($wpUserId, 'qm_access_token', true);
    1010    if($accessToken){
    11         qm_error("Returning access token from user meta");
     11        //qm_error("Returning access token from user meta");
    1212        return $accessToken;
    1313    }
  • quantimodo/trunk/includes/core.php

    r2946898 r2954190  
    5050function qm_api_hostname(): string
    5151{
     52    //return "https://local.quantimo.do";
    5253    $apiHostName = "https://app.quantimo.do";
    5354    $env = (isset($_SERVER["HTTP_REFERER"])) ? $_SERVER["HTTP_REFERER"] : getenv('APP_HOST_NAME');
  • quantimodo/trunk/includes/shortcode.php

    r2946898 r2954190  
    22
    33function quantimodo_iframe_func($atts) {
     4
     5    $qmAccessToken = get_qm_access_token();
     6    $defaultParams = array(
     7        'qmAccessToken' => $qmAccessToken,
     8        'clientId' => qm_api_client_id(),
     9    );
    410    // Extract the attributes
    511    $atts = shortcode_atts(
    6         array(), // Default values for attributes
     12        $defaultParams, // Default values for attributes
    713        $atts,
    814        'quantimodo_iframe' // Shortcode name
    915    );
    1016
    11     $qmAccessToken = get_qm_access_token();
    1217    // Base URL
    13     $url = qm_api_hostname()."/app/public/#?qmAccessToken=" . $qmAccessToken;
     18    $url = qm_api_hostname()."/app/public/#?";
    1419
    1520    // Add any extra parameters from the shortcode attributes
  • quantimodo/trunk/quantimodo.php

    r2946898 r2954190  
    22/*
    33 * Plugin Name: QuantiModo
    4  * Version: 0.6.5
     4 * Version: 0.6.6
    55 * Description: Allow your users to record, aggregate, analyze and visualize their health and life-tracking data.
    66 * Author: QuantiModo
Note: See TracChangeset for help on using the changeset viewer.