You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kibble.apache.org by hu...@apache.org on 2017/12/03 12:43:18 UTC
[kibble] branch master updated (4ce4299 -> d0215f9)
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git.
from 4ce4299 don't display future dates
new f3452c6 tweak example value
new 4bb6813 if auth is required, display that it is
new 348a66e add twitter handle as a valid source
new b675692 regen JS
new 4aa0180 add twitter logo
new 05ceb5f source can also be an ID, not always a URL
new d0215f9 auth is required for these, really
The 7 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
api/yaml/sourcetypes.yaml | 14 ++++++++++++++
ui/images/sourcetypes/twitter.png | Bin 0 -> 3678 bytes
ui/js/coffee/sources.coffee | 4 ++--
ui/js/kibble.v1.js | 4 ++--
4 files changed, 18 insertions(+), 4 deletions(-)
create mode 100644 ui/images/sourcetypes/twitter.png
--
To stop receiving notification emails like this one, please contact
['"commits@kibble.apache.org" <co...@kibble.apache.org>'].
[kibble] 02/07: if auth is required, display that it is
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 4bb68135e93d3010b7d30131b3cf0f38c4b2c754
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:40:50 2017 +0100
if auth is required, display that it is
---
ui/js/coffee/sources.coffee | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/coffee/sources.coffee b/ui/js/coffee/sources.coffee
index 622096b..9e0f6a2 100644
--- a/ui/js/coffee/sources.coffee
+++ b/ui/js/coffee/sources.coffee
@@ -306,7 +306,7 @@ sourceadd = (json, state) ->
obj.inject(keyValueForm('textarea', 'source', 'Source URL:', "For example: " + el.example + ". You can add multiple sources, one per line."))
if el.optauth
- obj.inject("Optional authentication options:")
+ obj.inject((if el.authrequired then "Required" else "Optional") + " authentication options:")
for abit in el.optauth
obj.inject(keyValueForm('text', "#{abit}", abit))
btn = new HTML('input', {class: "btn btn-primary btn-block", type: "button", onclick: "addSources('#{type}', this.form);", value: "Add source(s)"})
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 01/07: tweak example value
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit f3452c65643482887227c39ce8037c6e27511c4a
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:38:50 2017 +0100
tweak example value
---
ui/js/coffee/sources.coffee | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/coffee/sources.coffee b/ui/js/coffee/sources.coffee
index 5cde2e1..622096b 100644
--- a/ui/js/coffee/sources.coffee
+++ b/ui/js/coffee/sources.coffee
@@ -303,7 +303,7 @@ sourceadd = (json, state) ->
div.inject(opt)
div.inject(lbl)
obj.inject(new HTML('p', {}, el.description or ""))
- obj.inject(keyValueForm('textarea', 'source', 'Source URL:', el.example + "\nYou can add multiple sources, one per line."))
+ obj.inject(keyValueForm('textarea', 'source', 'Source URL:', "For example: " + el.example + ". You can add multiple sources, one per line."))
if el.optauth
obj.inject("Optional authentication options:")
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 03/07: add twitter handle as a valid source
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 348a66eba639457e4d8a0dd266e1f7816742ea3f
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:41:03 2017 +0100
add twitter handle as a valid source
---
api/yaml/sourcetypes.yaml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/api/yaml/sourcetypes.yaml b/api/yaml/sourcetypes.yaml
index cd139e0..97dd6f9 100644
--- a/api/yaml/sourcetypes.yaml
+++ b/api/yaml/sourcetypes.yaml
@@ -55,3 +55,14 @@ gerrit:
regex: "https?://.+/r/.+"
example: https://review.rdoproject.org/r/puppet/puppet-designate
+twitter:
+ title: "Twitter Handle"
+ regex: (@.+)
+ example: "@ApacheKibble"
+ authrequired: true
+ optauth:
+ - token
+ - token_secret
+ - consumer_key
+ - consumer_secret
+
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 06/07: source can also be an ID, not always a URL
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 05ceb5f32ff3418c80488b354d22fa4f07db5d25
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:42:20 2017 +0100
source can also be an ID, not always a URL
---
ui/js/coffee/sources.coffee | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/js/coffee/sources.coffee b/ui/js/coffee/sources.coffee
index 9e0f6a2..c001237 100644
--- a/ui/js/coffee/sources.coffee
+++ b/ui/js/coffee/sources.coffee
@@ -303,7 +303,7 @@ sourceadd = (json, state) ->
div.inject(opt)
div.inject(lbl)
obj.inject(new HTML('p', {}, el.description or ""))
- obj.inject(keyValueForm('textarea', 'source', 'Source URL:', "For example: " + el.example + ". You can add multiple sources, one per line."))
+ obj.inject(keyValueForm('textarea', 'source', 'Source URL/ID:', "For example: " + el.example + ". You can add multiple sources, one per line."))
if el.optauth
obj.inject((if el.authrequired then "Required" else "Optional") + " authentication options:")
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 05/07: add twitter logo
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit 4aa0180f8641af6412d38a7583fcf1be126f17fe
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:41:18 2017 +0100
add twitter logo
---
ui/images/sourcetypes/twitter.png | Bin 0 -> 3678 bytes
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/ui/images/sourcetypes/twitter.png b/ui/images/sourcetypes/twitter.png
new file mode 100644
index 0000000..4e25842
Binary files /dev/null and b/ui/images/sourcetypes/twitter.png differ
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 04/07: regen JS
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit b675692c7e7af93d6f8c8f5225b38200a4ce9b66
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:41:10 2017 +0100
regen JS
---
ui/js/kibble.v1.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ui/js/kibble.v1.js b/ui/js/kibble.v1.js
index 36404c1..799938f 100644
--- a/ui/js/kibble.v1.js
+++ b/ui/js/kibble.v1.js
@@ -4353,9 +4353,9 @@ sourceadd = function(json, state) {
div.inject(opt);
div.inject(lbl);
obj.inject(new HTML('p', {}, el.description || ""));
- obj.inject(keyValueForm('textarea', 'source', 'Source URL:', el.example + "\nYou can add multiple sources, one per line."));
+ obj.inject(keyValueForm('textarea', 'source', 'Source URL:', "For example: " + el.example + ". You can add multiple sources, one per line."));
if (el.optauth) {
- obj.inject("Optional authentication options:");
+ obj.inject((el.authrequired ? "Required" : "Optional") + " authentication options:");
ref = el.optauth;
for (q = 0, len = ref.length; q < len; q++) {
abit = ref[q];
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.
[kibble] 07/07: auth is required for these, really
Posted by hu...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kibble.git
commit d0215f962f417654b75c53e46b9019ce46cf56b4
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Sun Dec 3 13:43:02 2017 +0100
auth is required for these, really
---
api/yaml/sourcetypes.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/api/yaml/sourcetypes.yaml b/api/yaml/sourcetypes.yaml
index 97dd6f9..8ad82bd 100644
--- a/api/yaml/sourcetypes.yaml
+++ b/api/yaml/sourcetypes.yaml
@@ -12,6 +12,7 @@ github:
description: "This is GitHub repositories with issues and pull requests. For non-GitHub repos, please use the plain 'git' source type"
regex: "https://github.com/.+/.+"
example: "https://github.com/apache/kibble.git"
+ authrequired: true
optauth:
- username
- password
@@ -25,6 +26,7 @@ jira:
description: "This is a JIRA project. It requires a user account with read credentials to operate optimally."
regex: "https://.+/browse/[A-Z0-9-]+"
example: "https://issues.apache.org/jira/browse/ZEST"
+ authrequired: true
optauth:
- username
- password
@@ -42,6 +44,7 @@ ponymail:
description: "A Pony Mail archive - add lists one by one. Requires a session cookie to operate optimally."
regex: "https?://.+/list.html?.+@.+"
example: "https://lists.apache.org/list.html?dev@spamassassin.apache.org"
+ authrequired: true
optauth:
- cookie
--
To stop receiving notification emails like this one, please contact
"commits@kibble.apache.org" <co...@kibble.apache.org>.