You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/04/16 02:31:05 UTC
[01/11] git commit: Fixed the hiding for engines on packagedetails
page. Removed font/styles.css for being unused.
Repository: cordova-registry-web
Updated Branches:
refs/heads/master b839e62d4 -> 6ee901970
Fixed the hiding for engines on packagedetails page. Removed font/styles.css for being unused.
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/3ceaf008
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/3ceaf008
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/3ceaf008
Branch: refs/heads/master
Commit: 3ceaf008bdfc78b55ac2ba5795bd7a2607858e5b
Parents: 715b592
Author: Josh Bavari <jo...@raisemore.com>
Authored: Sun Mar 30 19:29:54 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Sun Mar 30 19:29:54 2014 -0500
----------------------------------------------------------------------
attachments/index.html | 1 -
attachments/partials/views/packageDetails.html | 4 ++--
2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3ceaf008/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index bc8a527..be46156 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -13,7 +13,6 @@
<!-- <link rel="stylesheet" type="text/css" href="css/topcoat-mobile-light.min.css" /> -->
<!-- <link rel="stylesheet" type="text/css" href="css/grid.min.css"> -->
<link href="css/styles.css" rel="stylesheet" type="text/css">
- <link href="font/styles.css" rel="stylesheet" type="text/css">
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
<script src="http://localhost:35729/livereload.js"></script>
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/3ceaf008/attachments/partials/views/packageDetails.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/packageDetails.html b/attachments/partials/views/packageDetails.html
index a1a4efa..f47a6f7 100644
--- a/attachments/partials/views/packageDetails.html
+++ b/attachments/partials/views/packageDetails.html
@@ -117,7 +117,7 @@
{{currentVersion}}
</div>
</div>
- <div class="row">
+ <div class="row" ng-show="lastupdated">
<div class="package-label column-12--hand">
Last Updated
</div>
@@ -127,7 +127,7 @@
{{lastupdated}}
</div>
</div>
- <div class="row">
+ <div class="row" ng-show="engines">
<div class="package-label column-12--hand">
Engine Number
</div>
[11/11] git commit: CB-6283: fixed download sorting
Posted by st...@apache.org.
CB-6283: fixed download sorting
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/6ee90197
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/6ee90197
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/6ee90197
Branch: refs/heads/master
Commit: 6ee901970d2978ddc18c0ea61bc7128ae57ad17d
Parents: 55da27c
Author: Steven Gill <st...@gmail.com>
Authored: Tue Apr 15 17:30:44 2014 -0700
Committer: Steven Gill <st...@gmail.com>
Committed: Tue Apr 15 17:30:44 2014 -0700
----------------------------------------------------------------------
attachments/js/controllers/packageDetails.js | 3 ++-
attachments/js/controllers/viewAll.js | 11 +++++++----
attachments/js/directives/pluginlist.js | 2 --
attachments/js/directives/topbar.js | 10 +++++++++-
attachments/partials/directives/pluginlist.html | 6 +++---
5 files changed, 21 insertions(+), 11 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/6ee90197/attachments/js/controllers/packageDetails.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/packageDetails.js b/attachments/js/controllers/packageDetails.js
index 0af56a1..5466c91 100644
--- a/attachments/js/controllers/packageDetails.js
+++ b/attachments/js/controllers/packageDetails.js
@@ -13,7 +13,7 @@ angular.module('registry.controllers').controller('PackageDetailsController', ['
$scope.lastupdated = null;
$scope.downloads = null;
$scope.latestVersion = null;
- $scope.currentVersion = "0.2.6";
+ $scope.currentVersion = null;
$scope.platforms = null;
$scope.keywords = null;
@@ -51,6 +51,7 @@ angular.module('registry.controllers').controller('PackageDetailsController', ['
// console.log(data);
// console.log($scope.versions);
$scope.readme = marked($scope.data.readme);
+ $scope.englishdoc = marked($scope.data.versions[$scope.currentVersion].englishdoc);
}).
error(function(data, status){
if (status === 404){
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/6ee90197/attachments/js/controllers/viewAll.js
----------------------------------------------------------------------
diff --git a/attachments/js/controllers/viewAll.js b/attachments/js/controllers/viewAll.js
index c7b81a4..827854d 100644
--- a/attachments/js/controllers/viewAll.js
+++ b/attachments/js/controllers/viewAll.js
@@ -5,12 +5,15 @@ angular.module('registry.controllers').controller('ViewAllController', ['$rootSc
$scope.getPlugins = function(){
$http({method: 'GET', url:('/api/_all_docs?include_docs=true&skip=3')}).
success(function(data, status, headers, config) {
- console.log(data);
$scope.plugins = data.rows;
$scope.loading = false;
- // console.log($scope.plugins);
- // console.log($scope.plugins[0].doc.description);
- // console.log($scope.plugins[0].doc['dist-tags'].latest);
+ $scope.plugins.forEach(function(element, index, array){
+ if(!($scope.downloads[element.id])){
+ array[index].downloads = 0;
+ }else{
+ array[index].downloads = $scope.downloads[element.id];
+ }
+ });
}).
error(function(data, status){
if (status === 404){
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/6ee90197/attachments/js/directives/pluginlist.js
----------------------------------------------------------------------
diff --git a/attachments/js/directives/pluginlist.js b/attachments/js/directives/pluginlist.js
index 6731d39..d961606 100644
--- a/attachments/js/directives/pluginlist.js
+++ b/attachments/js/directives/pluginlist.js
@@ -4,7 +4,6 @@ angular.module('registry.controllers').directive('pluginlist', function () {
templateUrl: '/partials/directives/pluginlist.html',
controller:['$scope', '$rootScope', 'Downloads', function($scope, $rootScope, Downloads){
Downloads.getDownloads().then(function(obj){
- console.log(obj);
$scope.downloads = obj.data;
$scope.downloadsArray = obj.arrData;
});
@@ -13,7 +12,6 @@ angular.module('registry.controllers').directive('pluginlist', function () {
$scope.orderValue = 'key';
$scope.setOrderBy = function setOrderBy (value) {
- console.log(value);
$scope.orderValue = value;
$scope.reverse = !$scope.reverse;
};
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/6ee90197/attachments/js/directives/topbar.js
----------------------------------------------------------------------
diff --git a/attachments/js/directives/topbar.js b/attachments/js/directives/topbar.js
index 9f1c1dc..3d35ae3 100644
--- a/attachments/js/directives/topbar.js
+++ b/attachments/js/directives/topbar.js
@@ -21,8 +21,16 @@ angular.module('registry.controllers').directive('topbar', ['$http', '$location'
$http.get('/_list/search/search?startkey='+JSON.stringify(term)+'&endkey='+JSON.stringify(term+'ZZZZZZZZZZZZZZ')+'&limit=25').
success(function(data, status, headers, config){
$scope.plugins = data.rows;
+ $scope.plugins.forEach(function(element, index, array){
+ if(!($scope.downloads[element.key])){
+ array[index].downloads = 0;
+ }else{
+ array[index].downloads = $scope.downloads[element.key];
+ }
+ });
+
//todo: save this in session storage instead of object?
- searchResults[term] = data.rows;
+ searchResults[term] = $scope.plugins;
}).
error(function(data,status){
console.log(data);
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/6ee90197/attachments/partials/directives/pluginlist.html
----------------------------------------------------------------------
diff --git a/attachments/partials/directives/pluginlist.html b/attachments/partials/directives/pluginlist.html
index 4599805..c45394c 100644
--- a/attachments/partials/directives/pluginlist.html
+++ b/attachments/partials/directives/pluginlist.html
@@ -9,8 +9,8 @@
Version
</div>
<div class="column-2--hand center invisible--hand visible--lap">
- <a ng-click="setOrderBy('downloads[key]')">Downloads</a>
- <span ng-show="orderValue == 'downloads[plugin.key]' "><i ng-show="reverse" class="icon-up-dir"></i><i ng-hide="reverse" class="icon-down-dir"></i></span>
+ <a ng-click="setOrderBy('downloads')">Downloads</a>
+ <span ng-show="orderValue == 'downloads' "><i ng-show="reverse" class="icon-up-dir"></i><i ng-hide="reverse" class="icon-down-dir"></i></span>
</div>
</div>
<div ng-repeat="plugin in plugins | platformFilter: selectedPlatforms() | orderBy:orderValue:reverse" class="row pluginItem">
@@ -22,7 +22,7 @@
<div class="pluginItemVersion">{{((plugin.value['dist-tags'].latest)||(plugin.doc['dist-tags'].latest))}}</div>
</div>
<div class="column-2--hand invisible--hand visible--lap center">
- <div class="pluginItemDownloads">{{downloads[plugin.key]}}</div>
+ <div class="pluginItemDownloads">{{plugin.downloads}}</div>
</div>
</div>
</div>
[09/11] git commit: Adding in preprocess directives to remove the
livereload script on pushing out to prod
Posted by st...@apache.org.
Adding in preprocess directives to remove the livereload script on pushing out to prod
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/8691cd96
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/8691cd96
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/8691cd96
Branch: refs/heads/master
Commit: 8691cd965c63e38dbb8ec646eeef65581d3502ef
Parents: 518e10e
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 17:13:08 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 17:13:08 2014 -0500
----------------------------------------------------------------------
.gitignore | 1 +
Gruntfile.js | 21 ++++++++++++++++++---
attachments/index.html | 4 ++--
package.json | 3 ++-
4 files changed, 23 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/8691cd96/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 9daa824..6e3a08a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
.DS_Store
node_modules
+tmp
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/8691cd96/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 8372351..506f80c 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -88,13 +88,23 @@ module.exports = function(grunt) {
livereloadout: {
options: {
context: {
- LIVERELOAD: true
+ PRODUCTION: true
}
},
files: {
'attachments/index.html' : 'attachments/index.html'
}
}
+ },
+ copy: {
+ after: {
+ src: './tmp/index.html',
+ dest: 'attachments/index.html'
+ },
+ before: {
+ src: 'attachments/index.html',
+ dest: './tmp/index.html'
+ }
}
});
@@ -113,15 +123,20 @@ module.exports = function(grunt) {
grunt.registerTask('cloudant', function (target) {
grunt.task.run([
'less',
- 'preprocess:livereloadout',
+ 'copy:before', //Copy index.html to tmp, to save the preprocess directives
+ 'preprocess', //Preprocess out the livereload script.
+ 'copy:after', //Copy index.html back to attachments, with the preprocess directives as seved.
'shell:cloudant'
]);
});
grunt.registerTask('iriscouch', function (target) {
grunt.task.run([
'less',
- 'preprocess:livereloadout',
+ 'copy:before', //Copy index.html to tmp, to save the preprocess directives
+ 'preprocess', //Preprocess out the livereload script.
+ 'copy:after', //Copy index.html back to attachments, with the preprocess directives as seved.
'shell:iriscouch'
]);
});
+ grunt.registerTask('pre', ['copy:before', 'preprocess']);
};
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/8691cd96/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index 094c1d4..c50d426 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -15,8 +15,8 @@
<link href="css/styles.css" rel="stylesheet" type="text/css">
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
- <!-- @ifndef LIVERELOAD -->
- <script src="http://localhost:35729/livereload.js"></script>
+ <!-- @ifndef PRODUCTION -->
+ <script src="http://localhost:35729/livereload.js"></script>
<!-- @endif -->
</head>
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/8691cd96/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 987d898..e8bf715 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,7 @@
"grunt-contrib-less": "~0.9.0",
"grunt-connect-proxy": "^0.1.8",
"grunt-contrib-connect": "^0.7.1",
- "grunt-preprocess": "~4.0.0"
+ "grunt-preprocess": "~4.0.0",
+ "grunt-contrib-copy": "~0.5.0"
}
}
[03/11] git commit: Merged with latest changes
Posted by st...@apache.org.
Merged with latest changes
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/c7bdc265
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/c7bdc265
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/c7bdc265
Branch: refs/heads/master
Commit: c7bdc26582a18ec599b9c650e8dcd5a3e30652a8
Parents: 216c566 f7c9519
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 15:40:15 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 15:40:15 2014 -0500
----------------------------------------------------------------------
Gruntfile.js | 1 +
README.md | 2 ++
attachments/js/controllers/packageDetails.js | 7 ++++++-
attachments/partials/views/packageDetails.html | 2 +-
attachments/partials/views/viewAll.html | 4 ++--
5 files changed, 12 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/c7bdc265/attachments/partials/views/packageDetails.html
----------------------------------------------------------------------
[02/11] git commit: Removing the min.map files for the angular.min.js
files
Posted by st...@apache.org.
Removing the min.map files for the angular.min.js files
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/216c566f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/216c566f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/216c566f
Branch: refs/heads/master
Commit: 216c566fc160f8d64e0dc2bd7b41a8153b007cc6
Parents: 3ceaf00
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 15:39:10 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 15:39:10 2014 -0500
----------------------------------------------------------------------
attachments/js/lib/angular-route.min.js | 3 +--
attachments/js/lib/angular-sanitize.min.js | 3 +--
attachments/js/lib/angular.min.js | 3 +--
3 files changed, 3 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/216c566f/attachments/js/lib/angular-route.min.js
----------------------------------------------------------------------
diff --git a/attachments/js/lib/angular-route.min.js b/attachments/js/lib/angular-route.min.js
index 5cdb6a8..2e739f9 100644
--- a/attachments/js/lib/angular-route.min.js
+++ b/attachments/js/lib/angular-route.min.js
@@ -10,5 +10,4 @@ a.length-1):a+"/";k[b]=e.extend({redirectTo:a},q(b,c))}return this};this.otherwi
(r.current=d)&&d.redirectTo&&(e.isString(d.redirectTo)?c.path(u(d.redirectTo,d.params)).search(d.params).replace():c.url(d.redirectTo(d.pathParams,c.path(),c.search())).replace()),f.when(d).then(function(){if(d){var a=e.extend({},d.resolve),c,b;e.forEach(a,function(d,c){a[c]=e.isString(d)?n.get(d):n.invoke(d)});e.isDefined(c=d.template)?e.isFunction(c)&&(c=c(d.params)):e.isDefined(b=d.templateUrl)&&(e.isFunction(b)&&(b=b(d.params)),b=l.getTrustedResourceUrl(b),e.isDefined(b)&&(d.loadedTemplateUrl=
b,c=q.get(b,{cache:v}).then(function(a){return a.data})));e.isDefined(c)&&(a.$template=c);return f.all(a)}}).then(function(c){d==r.current&&(d&&(d.locals=c,e.copy(d.params,b)),a.$broadcast("$routeChangeSuccess",d,m))},function(c){d==r.current&&a.$broadcast("$routeChangeError",d,m,c)})}function t(){var a,b;e.forEach(k,function(f,k){var p;if(p=!b){var s=c.path();p=f.keys;var l={};if(f.regexp)if(s=f.regexp.exec(s)){for(var g=1,q=s.length;g<q;++g){var n=p[g-1],r="string"==typeof s[g]?decodeURIComponent(s[g]):
s[g];n&&r&&(l[n.name]=r)}p=l}else p=null;else p=null;p=a=p}p&&(b=h(f,{params:e.extend({},c.search(),a),pathParams:a}),b.$$route=f)});return b||k[null]&&h(k[null],{params:{},pathParams:{}})}function u(a,c){var b=[];e.forEach((a||"").split(":"),function(a,d){if(0===d)b.push(a);else{var e=a.match(/(\w+)(.*)/),f=e[1];b.push(c[f]);b.push(e[2]||"");delete c[f]}});return b.join("")}var x=!1,r={routes:k,reload:function(){x=!0;a.$evalAsync(g)}};a.$on("$locationChangeSuccess",g);return r}]});h.provider("$routeParams",
-function(){this.$get=function(){return{}}});h.directive("ngView",u);h.directive("ngView",z);u.$inject=["$route","$anchorScroll","$animate"];z.$inject=["$compile","$controller","$route"]})(window,window.angular);
-//# sourceMappingURL=angular-route.min.js.map
+function(){this.$get=function(){return{}}});h.directive("ngView",u);h.directive("ngView",z);u.$inject=["$route","$anchorScroll","$animate"];z.$inject=["$compile","$controller","$route"]})(window,window.angular);
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/216c566f/attachments/js/lib/angular-sanitize.min.js
----------------------------------------------------------------------
diff --git a/attachments/js/lib/angular-sanitize.min.js b/attachments/js/lib/angular-sanitize.min.js
index 040a1bb..cbe329d 100644
--- a/attachments/js/lib/angular-sanitize.min.js
+++ b/attachments/js/lib/angular-sanitize.min.js
@@ -10,5 +10,4 @@ a.replace(b[0],""),g=!1}else if(J.test(a)){if(b=a.match(z))a=a.substring(b[0].le
c(B(a))}}}var L=h.$$minErr("$sanitize"),A=/^<\s*([\w:-]+)((?:\s+[\w:-]+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)\s*>/,z=/^<\s*\/\s*([\w:-]+)[^>]*>/,G=/([\w:-]+)(?:\s*=\s*(?:(?:"((?:[^"])*)")|(?:'((?:[^'])*)')|([^>\s]+)))?/g,K=/^</,J=/^<\s*\//,H=/\x3c!--(.*?)--\x3e/g,y=/<!DOCTYPE([^>]*?)>/i,I=/<!\[CDATA\[(.*?)]]\x3e/g,N=/([^\#-~| |!])/g,w=k("area,br,col,hr,img,wbr");p=k("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr");q=k("rp,rt");var v=h.extend({},q,p),t=h.extend({},p,k("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")),
u=h.extend({},q,k("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),x=k("script,style"),C=h.extend({},w,t,u,v),D=k("background,cite,href,longdesc,src,usemap"),O=h.extend({},D,k("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width")),
n=document.createElement("pre"),M=/^(\s*)([\s\S]*?)(\s*)$/;h.module("ngSanitize",[]).provider("$sanitize",function(){this.$get=["$$sanitizeUri",function(a){return function(e){var d=[];F(e,s(d,function(c,b){return!/^unsafe/.test(a(c,b))}));return d.join("")}}]});h.module("ngSanitize").filter("linky",["$sanitize",function(a){var e=/((ftp|https?):\/\/|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>]/,d=/^mailto:/;return function(c,b){function g(a){a&&m.push(E(a))}function f(a,c){m.push("<a ");h.isDefined(b)&&
-(m.push('target="'),m.push(b),m.push('" '));m.push('href="');m.push(a);m.push('">');g(c);m.push("</a>")}if(!c)return c;for(var l,k=c,m=[],n,p;l=k.match(e);)n=l[0],l[2]==l[3]&&(n="mailto:"+n),p=l.index,g(k.substr(0,p)),f(n,l[0].replace(d,"")),k=k.substring(p+l[0].length);g(k);return a(m.join(""))}}])})(window,window.angular);
-//# sourceMappingURL=angular-sanitize.min.js.map
+(m.push('target="'),m.push(b),m.push('" '));m.push('href="');m.push(a);m.push('">');g(c);m.push("</a>")}if(!c)return c;for(var l,k=c,m=[],n,p;l=k.match(e);)n=l[0],l[2]==l[3]&&(n="mailto:"+n),p=l.index,g(k.substr(0,p)),f(n,l[0].replace(d,"")),k=k.substring(p+l[0].length);g(k);return a(m.join(""))}}])})(window,window.angular);
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/216c566f/attachments/js/lib/angular.min.js
----------------------------------------------------------------------
diff --git a/attachments/js/lib/angular.min.js b/attachments/js/lib/angular.min.js
index 4871dd5..3ec01f8 100644
--- a/attachments/js/lib/angular.min.js
+++ b/attachments/js/lib/angular.min.js
@@ -198,5 +198,4 @@ k(e,f,m,p)}}}}],Ie=["$interpolate",function(a){var c={addOption:w,removeOption:w
Je=$({restrict:"E",terminal:!0});(Da=Z.jQuery)?(A=Da,t(Da.fn,{scope:Ga.scope,isolateScope:Ga.isolateScope,controller:Ga.controller,injector:Ga.injector,inheritedData:Ga.inheritedData}),xb("remove",!0,!0,!1),xb("empty",!1,!1,!1),xb("html",!1,!1,!0)):A=O;Ca.element=A;(function(a){t(a,{bootstrap:Zb,copy:fa,extend:t,equals:ua,element:A,forEach:q,injector:$b,noop:w,bind:cb,toJson:qa,fromJson:Vb,identity:Ba,isUndefined:z,isDefined:B,isString:D,isFunction:L,isObject:X,isNumber:sb,isElement:Qc,isArray:K,
version:Sd,isDate:La,lowercase:x,uppercase:Ia,callbacks:{counter:0},$$minErr:F,$$csp:Ub});Ua=Vc(Z);try{Ua("ngLocale")}catch(c){Ua("ngLocale",[]).provider("$locale",sd)}Ua("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:Cd});a.provider("$compile",jc).directive({a:Xd,input:Mc,textarea:Mc,form:Yd,script:Ee,select:He,style:Je,option:Ie,ngBind:ie,ngBindHtml:ke,ngBindTemplate:je,ngClass:le,ngClassEven:ne,ngClassOdd:me,ngCloak:oe,ngController:pe,ngForm:Zd,ngHide:ye,ngIf:qe,ngInclude:re,
ngInit:te,ngNonBindable:ue,ngPluralize:ve,ngRepeat:we,ngShow:xe,ngStyle:ze,ngSwitch:Ae,ngSwitchWhen:Be,ngSwitchDefault:Ce,ngOptions:Ge,ngTransclude:De,ngModel:de,ngList:fe,ngChange:ee,required:Nc,ngRequired:Nc,ngValue:he}).directive({ngInclude:se}).directive(Ob).directive(Oc);a.provider({$anchorScroll:dd,$animate:Ud,$browser:fd,$cacheFactory:gd,$controller:jd,$document:kd,$exceptionHandler:ld,$filter:Bc,$interpolate:qd,$interval:rd,$http:md,$httpBackend:od,$location:ud,$log:vd,$parse:yd,$rootScope:Bd,
-$q:zd,$sce:Fd,$sceDelegate:Ed,$sniffer:Gd,$templateCache:hd,$timeout:Hd,$window:Id})}])})(Ca);A(Q).ready(function(){Tc(Q,Zb)})})(window,document);!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}</style>');
-//# sourceMappingURL=angular.min.js.map
+$q:zd,$sce:Fd,$sceDelegate:Ed,$sniffer:Gd,$templateCache:hd,$timeout:Hd,$window:Id})}])})(Ca);A(Q).ready(function(){Tc(Q,Zb)})})(window,document);!angular.$$csp()&&angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide{display:none !important;}ng\\:form{display:block;}</style>');
\ No newline at end of file
[05/11] git commit: Getting rid of the SVG image for the PNG version
Posted by st...@apache.org.
Getting rid of the SVG image for the PNG version
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/762b2bf2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/762b2bf2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/762b2bf2
Branch: refs/heads/master
Commit: 762b2bf2d9c7665b0bde09dbff1c63fdaaad96e7
Parents: f682bf7
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 16:21:34 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 16:21:34 2014 -0500
----------------------------------------------------------------------
attachments/css/layout.less | 2 +-
attachments/css/styles.css | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/762b2bf2/attachments/css/layout.less
----------------------------------------------------------------------
diff --git a/attachments/css/layout.less b/attachments/css/layout.less
index e1b4eb7..bcc8384 100644
--- a/attachments/css/layout.less
+++ b/attachments/css/layout.less
@@ -47,7 +47,7 @@ a.dep-link {
}
.pluggy-logo {
- background: transparent url('../img/pluggy.svg') no-repeat top left;
+ background: transparent url('../img/pluggy.png') no-repeat top left;
background-size: contain;
}
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/762b2bf2/attachments/css/styles.css
----------------------------------------------------------------------
diff --git a/attachments/css/styles.css b/attachments/css/styles.css
index 792a268..123baf9 100644
--- a/attachments/css/styles.css
+++ b/attachments/css/styles.css
@@ -2453,7 +2453,7 @@ a.dep-link {
color: #fff;
}
.pluggy-logo {
- background: transparent url('../img/pluggy.svg') no-repeat top left;
+ background: transparent url('../img/pluggy.png') no-repeat top left;
background-size: contain;
}
.top-logo {
[08/11] git commit: Adding in grunt preprocess to remove the
livereload script when its going to production
Posted by st...@apache.org.
Adding in grunt preprocess to remove the livereload script when its going to production
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/518e10e2
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/518e10e2
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/518e10e2
Branch: refs/heads/master
Commit: 518e10e214c134a83d673d3c73f7ea73318a80de
Parents: 552c64e
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 16:43:00 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 16:43:00 2014 -0500
----------------------------------------------------------------------
Gruntfile.js | 14 ++++++++++++++
attachments/index.html | 4 ++++
package.json | 3 ++-
3 files changed, 20 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/518e10e2/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 537aad6..8372351 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -83,6 +83,18 @@ module.exports = function(grunt) {
},
}
}
+ },
+ preprocess: {
+ livereloadout: {
+ options: {
+ context: {
+ LIVERELOAD: true
+ }
+ },
+ files: {
+ 'attachments/index.html' : 'attachments/index.html'
+ }
+ }
}
});
@@ -101,12 +113,14 @@ module.exports = function(grunt) {
grunt.registerTask('cloudant', function (target) {
grunt.task.run([
'less',
+ 'preprocess:livereloadout',
'shell:cloudant'
]);
});
grunt.registerTask('iriscouch', function (target) {
grunt.task.run([
'less',
+ 'preprocess:livereloadout',
'shell:iriscouch'
]);
});
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/518e10e2/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index f9b774a..094c1d4 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -15,6 +15,10 @@
<link href="css/styles.css" rel="stylesheet" type="text/css">
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
+ <!-- @ifndef LIVERELOAD -->
+ <script src="http://localhost:35729/livereload.js"></script>
+ <!-- @endif -->
+
</head>
<body ng-app="registry">
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/518e10e2/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 908cc88..987d898 100644
--- a/package.json
+++ b/package.json
@@ -17,6 +17,7 @@
"load-grunt-tasks": "~0.2.1",
"grunt-contrib-less": "~0.9.0",
"grunt-connect-proxy": "^0.1.8",
- "grunt-contrib-connect": "^0.7.1"
+ "grunt-contrib-connect": "^0.7.1",
+ "grunt-preprocess": "~4.0.0"
}
}
[10/11] git commit: Fixing the pre command
Posted by st...@apache.org.
Fixing the pre command
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/55da27cb
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/55da27cb
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/55da27cb
Branch: refs/heads/master
Commit: 55da27cb20628c470fa3ed78b1a095e6a256b8a4
Parents: 8691cd9
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 17:13:48 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 17:13:48 2014 -0500
----------------------------------------------------------------------
Gruntfile.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/55da27cb/Gruntfile.js
----------------------------------------------------------------------
diff --git a/Gruntfile.js b/Gruntfile.js
index 506f80c..fd74c35 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -138,5 +138,5 @@ module.exports = function(grunt) {
'shell:iriscouch'
]);
});
- grunt.registerTask('pre', ['copy:before', 'preprocess']);
+ grunt.registerTask('pre', ['copy:before', 'preprocess', 'copy:after']);
};
[07/11] git commit: Added the search bar on the package details page
Posted by st...@apache.org.
Added the search bar on the package details page
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/552c64ee
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/552c64ee
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/552c64ee
Branch: refs/heads/master
Commit: 552c64ee3b8d1c587cdfbf14b641dd6475f15146
Parents: 00f8788
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 16:27:56 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 16:27:56 2014 -0500
----------------------------------------------------------------------
attachments/partials/views/packageDetails.html | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/552c64ee/attachments/partials/views/packageDetails.html
----------------------------------------------------------------------
diff --git a/attachments/partials/views/packageDetails.html b/attachments/partials/views/packageDetails.html
index 5317962..03764d3 100644
--- a/attachments/partials/views/packageDetails.html
+++ b/attachments/partials/views/packageDetails.html
@@ -1,6 +1,8 @@
+ <topbar></topbar>
<div class="viewContainer row package-detail-rows">
<div class="column-8--lap column-12--hand offset-2--lap">
+
<div class="top-button">
<a ng-click="backToSearch()"><i class="icon-left-dir"></i>Back to search results</a>
</div>
[04/11] git commit: Merge branch 'refactor'
Posted by st...@apache.org.
Merge branch 'refactor'
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/f682bf77
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/f682bf77
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/f682bf77
Branch: refs/heads/master
Commit: f682bf77a13c890525de9bf14e673cc8b0a5e617
Parents: b839e62 c7bdc26
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 16:21:11 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 16:21:11 2014 -0500
----------------------------------------------------------------------
attachments/index.html | 1 -
attachments/js/lib/angular-route.min.js | 3 +--
attachments/js/lib/angular-sanitize.min.js | 3 +--
attachments/js/lib/angular.min.js | 3 +--
attachments/partials/views/packageDetails.html | 4 ++--
5 files changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
[06/11] git commit: Removing livereload
Posted by st...@apache.org.
Removing livereload
Project: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/commit/00f87882
Tree: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/tree/00f87882
Diff: http://git-wip-us.apache.org/repos/asf/cordova-registry-web/diff/00f87882
Branch: refs/heads/master
Commit: 00f87882d3781f02d8b1175084f01c6926e0f7dd
Parents: 762b2bf
Author: Josh Bavari <jo...@raisemore.com>
Authored: Tue Apr 8 16:22:11 2014 -0500
Committer: Josh Bavari <jo...@raisemore.com>
Committed: Tue Apr 8 16:22:11 2014 -0500
----------------------------------------------------------------------
attachments/index.html | 2 --
1 file changed, 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-registry-web/blob/00f87882/attachments/index.html
----------------------------------------------------------------------
diff --git a/attachments/index.html b/attachments/index.html
index be46156..f9b774a 100644
--- a/attachments/index.html
+++ b/attachments/index.html
@@ -15,8 +15,6 @@
<link href="css/styles.css" rel="stylesheet" type="text/css">
<link href="images/favicon.ico" rel="shortcut icon" type="image/x-icon">
- <script src="http://localhost:35729/livereload.js"></script>
-
</head>
<body ng-app="registry">