Skip to content
Browse files

Mark a few service hook's password fields as such.

  • Loading branch information...
1 parent 97450b7 commit 45a2e6f2eb3c609036d0bf07acb92566909dbcb4 @shawndavenport shawndavenport committed
Showing with 11 additions and 6 deletions.
  1. +2 −1 services/CodePorting-C#2Java.rb
  2. +3 −2 services/email.rb
  3. +2 −1 services/icescrum.rb
  4. +2 −1 services/mqtt.rb
  5. +2 −1 services/scrumdo.rb
View
3 services/CodePorting-C#2Java.rb
@@ -1,5 +1,6 @@
class Service::CodePortingCSharp2Java < Service
- string :project_name, :repo_key, :target_repo_key, :username, :password
+ string :project_name, :repo_key, :target_repo_key, :username
+ password :password
string :userid
self.title = 'CodePorting-C#2Java'
View
5 services/email.rb
@@ -10,8 +10,9 @@ def mailfrom(from_addr)
end
class Service::Email < Service
- string :address, :secret
- boolean :send_from_author
+ string :address
+ password :secret
+ boolean :send_from_author
white_list :address
def receive_push
View
3 services/icescrum.rb
@@ -1,5 +1,6 @@
class Service::IceScrum < Service
- string :base_url, :username, :project_key, :password
+ string :base_url, :username, :project_key
+ password :password
def receive_push
raise_config_error "Invalid username" if data['username'].to_s.empty?
View
3 services/mqtt.rb
@@ -1,5 +1,6 @@
class Service::MqttPub < Service
- string :broker, :port, :topic, :clientid, :user, :pass
+ string :broker, :port, :topic, :clientid, :user
+ password :pass
require 'mqtt'
View
3 services/scrumdo.rb
@@ -1,5 +1,6 @@
class Service::ScrumDo < Service
- string :username, :password, :project_slug
+ string :username, :project_slug
+ password :password
white_list :project_slug, :username
def receive_push

0 comments on commit 45a2e6f

Please sign in to comment.
Something went wrong with that request. Please try again.