diff --git a/appinfo/info.xml b/appinfo/info.xml index 1309b04..7ca806d 100755 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,7 +4,7 @@ Piwik/Matomo Tracking Track users with Piwik/Matomo Track users with Piwik/Matomo - 0.6.0 + 0.7.0 agpl Klaus Herberth tools diff --git a/build/appinfo/info.xml b/build/appinfo/info.xml index c4241ce..7ca806d 100644 --- a/build/appinfo/info.xml +++ b/build/appinfo/info.xml @@ -4,7 +4,7 @@ Piwik/Matomo Tracking Track users with Piwik/Matomo Track users with Piwik/Matomo - 0.6.0 + 0.7.0 agpl Klaus Herberth tools @@ -14,7 +14,7 @@ https://github.com/sualko/cloud_piwik.git - + diff --git a/build/js/settings/admin.min.js b/build/js/settings/admin.min.js index 5ec4252..9dc5a91 100644 --- a/build/js/settings/admin.min.js +++ b/build/js/settings/admin.min.js @@ -1,2 +1,2 @@ -$(function(){function showRequestResult(element,result){"checkbox"===element.attr("type")&&(element=$('label[for="'+element.attr("id")+'"]')),element.removeClass("piwik-success piwik-error"),element.addClass("piwik-"+result);var timeout=element.data("timeout");timeout&&clearTimeout(timeout),timeout=setTimeout(function(){element.removeClass("piwik-success piwik-error")},1e3),element.data("timeout",timeout)}$("#piwikAdblockerWarning").hide(),$("#piwikUrl").attr("placeholder","e.g. //"+window.location.host+"/piwik/"),$("#piwikSettings input").change(function(){var element=$(this),key=$(this).attr("name"),value="checkbox"===$(this).attr("type")?$(this).prop("checked"):$(this).val();$.ajax({method:"PUT",url:OC.generateUrl("apps/piwik/settings/"+key),data:{value:value},success:function(response){showRequestResult(element,response.status)},error:function(){showRequestResult(element,"error")}})})}); +$(function(){function showRequestResult(element,timeout){"checkbox"===element.attr("type")&&(element=$('label[for="'+element.attr("id")+'"]')),element.removeClass("piwik-success piwik-error"),element.addClass("piwik-"+timeout);timeout=element.data("timeout");timeout&&clearTimeout(timeout),timeout=setTimeout(function(){element.removeClass("piwik-success piwik-error")},1e3),element.data("timeout",timeout)}$("#piwikAdblockerWarning").hide(),$("#piwikUrl").attr("placeholder","e.g. //"+window.location.host+"/piwik/"),$("#piwikSettings input").change(function(){var element=$(this),key=$(this).attr("name"),value="checkbox"===$(this).attr("type")?$(this).prop("checked"):$(this).val();$.ajax({method:"PUT",url:OC.generateUrl("apps/piwik/settings/"+key),data:{value:value},success:function(response){showRequestResult(element,response.status)},error:function(){showRequestResult(element,"error")}})})}); //# sourceMappingURL=admin.min.js.map \ No newline at end of file diff --git a/build/js/settings/admin.min.js.map b/build/js/settings/admin.min.js.map index b1f3db7..8917c73 100644 --- a/build/js/settings/admin.min.js.map +++ b/build/js/settings/admin.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["../../../js/settings/admin.js"],"names":["$","showRequestResult","element","result","attr","removeClass","addClass","timeout","data","clearTimeout","setTimeout","hide","window","location","host","change","this","key","value","prop","val","ajax","method","url","OC","generateUrl","success","response","status","error"],"mappings":"AAEAA,EAAE,WAGC,SAASC,kBAAkBC,QAASC,QACJ,aAAzBD,QAAQE,KAAK,UACdF,QAAUF,EAAE,cAAgBE,QAAQE,KAAK,MAAQ,OAGpDF,QAAQG,YAAY,6BACpBH,QAAQI,SAAS,SAAWH,QAE5B,IAAII,QAAUL,QAAQM,KAAK,WAEvBD,SACDE,aAAaF,SAGhBA,QAAUG,WAAW,WAClBR,QAAQG,YAAY,8BACpB,KAEHH,QAAQM,KAAK,UAAWD,SApB3BP,EAAE,0BAA0BW,OAuB5BX,EAAE,aAAaI,KAAK,cAAe,UAAYQ,OAAOC,SAASC,KAAO,WAEtEd,EAAE,wBAAwBe,OAAO,WAC9B,IAAIb,QAAUF,EAAEgB,MACZC,IAAMjB,EAAEgB,MAAMZ,KAAK,QACnBc,MAAiC,aAAzBlB,EAAEgB,MAAMZ,KAAK,QAAyBJ,EAAEgB,MAAMG,KAAK,WAAanB,EAAEgB,MAAMI,MAEpFpB,EAAEqB,KAAK,CACJC,OAAQ,MACRC,IAAKC,GAAGC,YAAY,uBAAyBR,KAC7CT,KAAM,CACHU,MAAOA,OAEVQ,QAAS,SAASC,UACf1B,kBAAkBC,QAASyB,SAASC,SAEvCC,MAAO,WACJ5B,kBAAkBC,QAAS","file":"admin.min.js"} \ No newline at end of file +{"version":3,"file":"admin.min.js","sources":["../../../js/settings/admin.js"],"names":["$","showRequestResult","element","result","attr","removeClass","addClass","timeout","data","clearTimeout","setTimeout","hide","window","location","host","change","this","key","value","prop","val","ajax","method","url","OC","generateUrl","success","response","status","error"],"mappings":"AAEAA,EAAE,WAGC,SAASC,kBAAkBC,QAASC,SACJ,aAAzBD,QAAQE,KAAK,UACdF,QAAUF,EAAE,cAAgBE,QAAQE,KAAK,MAAQ,OAGpDF,QAAQG,YAAY,6BACpBH,QAAQI,SAAS,SAAWH,SAExBI,QAAUL,QAAQM,KAAK,WAEvBD,SACDE,aAAaF,SAGhBA,QAAUG,WAAW,WAClBR,QAAQG,YAAY,8BACpB,KAEHH,QAAQM,KAAK,UAAWD,SApB3BP,EAAE,0BAA0BW,OAuB5BX,EAAE,aAAaI,KAAK,cAAe,UAAYQ,OAAOC,SAASC,KAAO,WAEtEd,EAAE,wBAAwBe,OAAO,WAC9B,IAAIb,QAAUF,EAAEgB,MACZC,IAAMjB,EAAEgB,MAAMZ,KAAK,QACnBc,MAAiC,aAAzBlB,EAAEgB,MAAMZ,KAAK,QAAyBJ,EAAEgB,MAAMG,KAAK,WAAanB,EAAEgB,MAAMI,MAEpFpB,EAAEqB,KAAK,CACJC,OAAQ,MACRC,IAAKC,GAAGC,YAAY,uBAAyBR,KAC7CT,KAAM,CACHU,MAAOA,OAEVQ,QAAS,SAASC,UACf1B,kBAAkBC,QAASyB,SAASC,SAEvCC,MAAO,WACJ5B,kBAAkBC,QAAS"} \ No newline at end of file diff --git a/build/js/track.js b/build/js/track.js index 8003d2e..31ee5d4 100644 --- a/build/js/track.js +++ b/build/js/track.js @@ -1,5 +1,5 @@ /*! - * cloud_piwik v0.6.0 - 2020-08-14 + * cloud_piwik v0.7.0 - 2020-10-05 * * Copyright (c) 2020 Klaus Herberth
* Released under the MIT license @@ -7,7 +7,7 @@ * Please see https://github.com/sualko/cloud_piwik * * @author Klaus Herberth - * @version 0.6.0 + * @version 0.7.0 * @license MIT */ diff --git a/package.json b/package.json index 2266ffc..90d310b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cloud_piwik", - "version": "0.6.0", + "version": "0.7.0", "description": "Track Nextcloud users with piwik/matomo", "repository": { "type": "git",