Plugin Directory

Changeset 3037549


Ignore:
Timestamp:
02/18/2024 06:05:43 PM (22 months ago)
Author:
Lwangaman
Message:

Update to version 7.7 from GitHub

Location:
bibleget-io
Files:
500 added
14 deleted
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • bibleget-io/tags/7.7/bibleget-io.php

    r3037525 r3037549  
    22/*
    33 * Plugin Name: BibleGet I/O
    4  * Version: 7.6
     4 * Version: 7.7
    55 * Plugin URI: https://www.bibleget.io/
    66 * Description: Easily insert Bible quotes from a choice of Bible versions into your articles or pages with the "Bible quote" block or with the shortcode [bibleget].
     
    2929
    3030
    31 define("BIBLEGETPLUGINVERSION", "v7_6");
     31define("BIBLEGETPLUGINVERSION", "v7_7");
    3232
    3333if (!defined('ABSPATH')) {
  • bibleget-io/tags/7.7/js/admin.js

    r3037525 r3037549  
    154154    let wpFsErrors = JSON.parse(gfontsBatch.job.gfontsAPI_errors);
    155155    if (Array.isArray(wpFsErrors) && wpFsErrors.length > 0) {
    156       console.log(wpFsErrors);
     156      //console.log(wpFsErrors);
    157157      jQuery("#googlefontsapi_key")
    158158        .closest("td")
     
    316316          returndataJSON.errorinfo.length > 0
    317317        ) {
    318           console.log(
    319             "Some errors were returned from ajax process run " + thisRun
    320           );
    321           console.log(returndataJSON.errorinfo);
     318          //console.log(
     319          //  "Some errors were returned from ajax process run " + thisRun
     320          //);
     321          //console.log(returndataJSON.errorinfo);
    322322          if (
    323323            (returndataJSON.hasOwnProperty("httpStatus2") &&
     
    342342
    343343              if (thisRun && thisRun < postdata.numRuns) {
    344                 console.log(
    345                   "gfontsBatchRun was asked to do run " +
    346                     postdata.currentRun +
    347                     ", and has let us know that it has in fact completed run " +
    348                     thisRun +
    349                     ", now starting the next run"
    350                 );
     344                // console.log(
     345                //   "gfontsBatchRun was asked to do run " +
     346                //     postdata.currentRun +
     347                //     ", and has let us know that it has in fact completed run " +
     348                //     thisRun +
     349                //     ", now starting the next run"
     350                // );
    351351                //check if we're doing the last run or not
    352352                if (++postdata.currentRun == postdata.numRuns) {
     
    358358                gfontsBatchRun(postdata);
    359359              } else {
    360                 console.log(
    361                   "We seem to have finished our job ahead of time? Please double check: numRuns= " +
    362                     postdata.numRuns +
    363                     ", thisRun = " +
    364                     thisRun
    365                 );
     360                // console.log(
     361                //   "We seem to have finished our job ahead of time? Please double check: numRuns= " +
     362                //     postdata.numRuns +
     363                //     ", thisRun = " +
     364                //     thisRun
     365                // );
    366366              }
    367367              break;
     
    369369              $gfontsBatchRunProgressbar.progressbar("value", 100);
    370370
    371               if (thisRun == postdata.numRuns) {
    372                 console.log("gfontsBatchRun has finished the job!");
    373               } else {
    374                 console.log(
    375                   "gfontsBatchRun is telling us that we have finished our job, but this might not be the case: numRuns= " +
    376                     postdata.numRuns +
    377                     ", thisRun = " +
    378                     thisRun
    379                 );
    380               }
     371              // if (thisRun == postdata.numRuns) {
     372              //   console.log("gfontsBatchRun has finished the job!");
     373              // } else {
     374              //   console.log(
     375              //     "gfontsBatchRun is telling us that we have finished our job, but this might not be the case: numRuns= " +
     376              //       postdata.numRuns +
     377              //       ", thisRun = " +
     378              //       thisRun
     379              //   );
     380              // }
    381381              break;
    382382          }
    383         } else {
    384           console.log(
    385             "gfontsBatchRun: Now why do we not have any stateful info?"
    386           );
     383        // } else {
     384        //   console.log(
     385        //     "gfontsBatchRun: Now why do we not have any stateful info?"
     386        //   );
    387387        }
    388       } else {
    389         console.log(
    390           "gfontsBatchRun: Now why do we not have any kind of feedback from the server side script?"
    391         );
     388      // } else {
     389      //   console.log(
     390      //     "gfontsBatchRun: Now why do we not have any kind of feedback from the server side script?"
     391      //   );
    392392      }
    393393    },
  • bibleget-io/tags/7.7/js/customizer-preview.js

    r3037525 r3037549  
    275275        }
    276276        case 'VERSETEXTSTYLES_ITALIC': {
    277             console.log('we are dealing with the italics styling');
     277            //console.log('we are dealing with the italics styling');
    278278            let fontstyle = BGET.VERSETEXTSTYLES_ITALIC ? 'italic' : 'normal';
    279279            jQuery('.bibleQuote.results .versesParagraph').css('font-style', fontstyle);
     
    332332    && BibleGetGlobal.hasOwnProperty('BGET')
    333333) {
    334     console.log('BibleGetGlobal is defined!');
     334    //console.log('BibleGetGlobal is defined!');
    335335    if(
    336336        typeof BibleGetGlobal.BGETProperties === 'object'
     
    338338        && typeof BibleGetGlobal.BGET === 'object'
    339339    ) {
    340         console.log('BibleGet has properties BGETProperties, BGETConstants and BGET');
     340        //console.log('BibleGet has properties BGETProperties, BGETConstants and BGET');
    341341        const { BGETProperties, BGET } = BibleGetGlobal;
    342342        for(const key in BGETProperties ){
     
    358358                    }
    359359                    else if( key.startsWith('VERSETEXTSTYLES') ) {
    360                         console.log('we are dealing with a verse text style setting');
     360                        //console.log('we are dealing with a verse text style setting');
    361361                        handleVerseTextStyles(BibleGetGlobal,key);
    362362                    }
  • bibleget-io/tags/7.7/js/gutenberg.js

    r2517296 r3037549  
    209209      options: filteredOptions,
    210210      onFilterValueChange: inputValue => {
    211         console.log('onFilterValueChange: inputValue = ' + inputValue);
     211        //console.log('onFilterValueChange: inputValue = ' + inputValue);
    212212        setTimeout(() => {
    213213          //console.log('we found ' + jQuery('.BGET_FONTPICKER ul').length + ' BGET_FONTPICKER dropdown lists');
     
    14711471
    14721472      const setFontFamily = PARAGRAPHSTYLES_FONTFAMILY => {
    1473         console.log('setFontFamily was called');
     1473        //console.log('setFontFamily was called');
    14741474        let fontType = 'websafe';
    14751475        if ( BibleGetGlobal.haveGFonts === "SUCCESS"
     
    19261926            },
    19271927            error: function (jqXHR, textStatus, errorThrown) {
    1928               console.log(
    1929                 "there has been an error: " + textStatus + " :: " + errorThrown
    1930               );
     1928              // console.log(
     1929              //   "there has been an error: " + textStatus + " :: " + errorThrown
     1930              // );
    19311931            },
    19321932          });
  • bibleget-io/trunk/bibleget-io.php

    r3037525 r3037549  
    22/*
    33 * Plugin Name: BibleGet I/O
    4  * Version: 7.6
     4 * Version: 7.7
    55 * Plugin URI: https://www.bibleget.io/
    66 * Description: Easily insert Bible quotes from a choice of Bible versions into your articles or pages with the "Bible quote" block or with the shortcode [bibleget].
     
    2929
    3030
    31 define("BIBLEGETPLUGINVERSION", "v7_6");
     31define("BIBLEGETPLUGINVERSION", "v7_7");
    3232
    3333if (!defined('ABSPATH')) {
  • bibleget-io/trunk/js/admin.js

    r3037525 r3037549  
    154154    let wpFsErrors = JSON.parse(gfontsBatch.job.gfontsAPI_errors);
    155155    if (Array.isArray(wpFsErrors) && wpFsErrors.length > 0) {
    156       console.log(wpFsErrors);
     156      //console.log(wpFsErrors);
    157157      jQuery("#googlefontsapi_key")
    158158        .closest("td")
     
    316316          returndataJSON.errorinfo.length > 0
    317317        ) {
    318           console.log(
    319             "Some errors were returned from ajax process run " + thisRun
    320           );
    321           console.log(returndataJSON.errorinfo);
     318          //console.log(
     319          //  "Some errors were returned from ajax process run " + thisRun
     320          //);
     321          //console.log(returndataJSON.errorinfo);
    322322          if (
    323323            (returndataJSON.hasOwnProperty("httpStatus2") &&
     
    342342
    343343              if (thisRun && thisRun < postdata.numRuns) {
    344                 console.log(
    345                   "gfontsBatchRun was asked to do run " +
    346                     postdata.currentRun +
    347                     ", and has let us know that it has in fact completed run " +
    348                     thisRun +
    349                     ", now starting the next run"
    350                 );
     344                // console.log(
     345                //   "gfontsBatchRun was asked to do run " +
     346                //     postdata.currentRun +
     347                //     ", and has let us know that it has in fact completed run " +
     348                //     thisRun +
     349                //     ", now starting the next run"
     350                // );
    351351                //check if we're doing the last run or not
    352352                if (++postdata.currentRun == postdata.numRuns) {
     
    358358                gfontsBatchRun(postdata);
    359359              } else {
    360                 console.log(
    361                   "We seem to have finished our job ahead of time? Please double check: numRuns= " +
    362                     postdata.numRuns +
    363                     ", thisRun = " +
    364                     thisRun
    365                 );
     360                // console.log(
     361                //   "We seem to have finished our job ahead of time? Please double check: numRuns= " +
     362                //     postdata.numRuns +
     363                //     ", thisRun = " +
     364                //     thisRun
     365                // );
    366366              }
    367367              break;
     
    369369              $gfontsBatchRunProgressbar.progressbar("value", 100);
    370370
    371               if (thisRun == postdata.numRuns) {
    372                 console.log("gfontsBatchRun has finished the job!");
    373               } else {
    374                 console.log(
    375                   "gfontsBatchRun is telling us that we have finished our job, but this might not be the case: numRuns= " +
    376                     postdata.numRuns +
    377                     ", thisRun = " +
    378                     thisRun
    379                 );
    380               }
     371              // if (thisRun == postdata.numRuns) {
     372              //   console.log("gfontsBatchRun has finished the job!");
     373              // } else {
     374              //   console.log(
     375              //     "gfontsBatchRun is telling us that we have finished our job, but this might not be the case: numRuns= " +
     376              //       postdata.numRuns +
     377              //       ", thisRun = " +
     378              //       thisRun
     379              //   );
     380              // }
    381381              break;
    382382          }
    383         } else {
    384           console.log(
    385             "gfontsBatchRun: Now why do we not have any stateful info?"
    386           );
     383        // } else {
     384        //   console.log(
     385        //     "gfontsBatchRun: Now why do we not have any stateful info?"
     386        //   );
    387387        }
    388       } else {
    389         console.log(
    390           "gfontsBatchRun: Now why do we not have any kind of feedback from the server side script?"
    391         );
     388      // } else {
     389      //   console.log(
     390      //     "gfontsBatchRun: Now why do we not have any kind of feedback from the server side script?"
     391      //   );
    392392      }
    393393    },
  • bibleget-io/trunk/js/customizer-preview.js

    r3037525 r3037549  
    275275        }
    276276        case 'VERSETEXTSTYLES_ITALIC': {
    277             console.log('we are dealing with the italics styling');
     277            //console.log('we are dealing with the italics styling');
    278278            let fontstyle = BGET.VERSETEXTSTYLES_ITALIC ? 'italic' : 'normal';
    279279            jQuery('.bibleQuote.results .versesParagraph').css('font-style', fontstyle);
     
    332332    && BibleGetGlobal.hasOwnProperty('BGET')
    333333) {
    334     console.log('BibleGetGlobal is defined!');
     334    //console.log('BibleGetGlobal is defined!');
    335335    if(
    336336        typeof BibleGetGlobal.BGETProperties === 'object'
     
    338338        && typeof BibleGetGlobal.BGET === 'object'
    339339    ) {
    340         console.log('BibleGet has properties BGETProperties, BGETConstants and BGET');
     340        //console.log('BibleGet has properties BGETProperties, BGETConstants and BGET');
    341341        const { BGETProperties, BGET } = BibleGetGlobal;
    342342        for(const key in BGETProperties ){
     
    358358                    }
    359359                    else if( key.startsWith('VERSETEXTSTYLES') ) {
    360                         console.log('we are dealing with a verse text style setting');
     360                        //console.log('we are dealing with a verse text style setting');
    361361                        handleVerseTextStyles(BibleGetGlobal,key);
    362362                    }
  • bibleget-io/trunk/js/gutenberg.js

    r2517296 r3037549  
    209209      options: filteredOptions,
    210210      onFilterValueChange: inputValue => {
    211         console.log('onFilterValueChange: inputValue = ' + inputValue);
     211        //console.log('onFilterValueChange: inputValue = ' + inputValue);
    212212        setTimeout(() => {
    213213          //console.log('we found ' + jQuery('.BGET_FONTPICKER ul').length + ' BGET_FONTPICKER dropdown lists');
     
    14711471
    14721472      const setFontFamily = PARAGRAPHSTYLES_FONTFAMILY => {
    1473         console.log('setFontFamily was called');
     1473        //console.log('setFontFamily was called');
    14741474        let fontType = 'websafe';
    14751475        if ( BibleGetGlobal.haveGFonts === "SUCCESS"
     
    19261926            },
    19271927            error: function (jqXHR, textStatus, errorThrown) {
    1928               console.log(
    1929                 "there has been an error: " + textStatus + " :: " + errorThrown
    1930               );
     1928              // console.log(
     1929              //   "there has been an error: " + textStatus + " :: " + errorThrown
     1930              // );
    19311931            },
    19321932          });
Note: See TracChangeset for help on using the changeset viewer.