Skip to content

Commit

Permalink
Hide passwords in log. Add mwater.org
Browse files Browse the repository at this point in the history
  • Loading branch information
grassick committed Mar 10, 2014
1 parent 435ccd4 commit 2e137a6
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
22 changes: 20 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,18 @@ module.exports = function(grunt) {
}
},
deploy_map: {
command: 's3cmd sync --acl-public --guess-mime-type ' +
command: ['s3cmd sync --acl-public --guess-mime-type ' +
'--add-header "Cache-Control: no-cache, must-revalidate" ' +
'--add-header "Pragma: no-cache" ' +
'--add-header "Expires: 0" ' +
'--add-header "Content-Encoding: gzip" '+
'* s3://map.mwater.co',
's3cmd sync --acl-public --guess-mime-type ' +
'--add-header "Cache-Control: no-cache, must-revalidate" ' +
'--add-header "Pragma: no-cache" ' +
'--add-header "Expires: 0" ' +
'--add-header "Content-Encoding: gzip" '+
'* s3://map.mwater.org']
options: {
stdout: true,
execOptions: {
Expand All @@ -197,7 +203,19 @@ module.exports = function(grunt) {
'--add-header "Pragma: no-cache" ' +
'--add-header "Expires: 0" ' +
'--add-header "Content-Encoding: gzip" '+
'manifest.appcache s3://app.mwater.co'
'manifest.appcache s3://app.mwater.org',
's3cmd sync --acl-public --guess-mime-type ' +
'--add-header "Cache-Control: no-cache, must-revalidate" ' +
'--add-header "Pragma: no-cache" ' +
'--add-header "Expires: 0" ' +
'--add-header "Content-Encoding: gzip" '+
'* s3://app.mwater.org',
's3cmd put --acl-public --guess-mime-type ' +
'--add-header "Cache-Control: no-cache, no-store, must-revalidate" ' +
'--add-header "Pragma: no-cache" ' +
'--add-header "Expires: 0" ' +
'--add-header "Content-Encoding: gzip" '+
'manifest.appcache s3://app.mwater.org'
].join('&&'),
options: {
stdout: true,
Expand Down
2 changes: 1 addition & 1 deletion app/js/pages/utils.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.changeUserOrgDocs = (db, user, org, success, error) ->


exports.login = (username, password, ctx, success, error) ->
console.log "Logging in as: #{username}/#{password}"
console.log "Logging in as: #{username}/###"

url = ctx.apiUrl + 'clients'
req = $.ajax(url, {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": "",
"repository": "[email protected]:mWater/app-v3.git",
"author": "Clayton Grassick",
"license": "GPLv3",
"devDependencies": {},
Expand Down

0 comments on commit 2e137a6

Please sign in to comment.