muck-oauth 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +6 -0
- data/VERSION +1 -1
- data/app/controllers/oauth_consumers_controller.rb +12 -8
- data/app/helpers/muck_oauth_helper.rb +37 -0
- data/app/views/oauth/authorize.html.erb +4 -3
- data/app/views/oauth/authorize_failure.html.erb +1 -1
- data/app/views/oauth/authorize_success.html.erb +1 -1
- data/app/views/oauth_clients/_form.html.erb +4 -4
- data/app/views/oauth_clients/edit.html.erb +4 -4
- data/app/views/oauth_clients/index.html.erb +11 -11
- data/app/views/oauth_clients/new.html.erb +2 -2
- data/app/views/oauth_clients/show.html.erb +8 -8
- data/app/views/oauth_consumers/_oauth_available_services.html.erb +12 -0
- data/app/views/oauth_consumers/_oauth_current_services.html.erb +14 -0
- data/app/views/oauth_consumers/_oauth_fancybox_scripts.html.erb +10 -0
- data/app/views/oauth_consumers/index.html.erb +4 -29
- data/app/views/oauth_consumers/show.html.erb +3 -5
- data/lib/muck_oauth/tasks.rb +3 -1
- data/lib/muck_oauth.rb +3 -0
- data/locales/ar.yml +52 -0
- data/locales/bg.yml +52 -0
- data/locales/ca.yml +52 -0
- data/locales/cs.yml +52 -0
- data/locales/da.yml +52 -0
- data/locales/de.yml +52 -0
- data/locales/el.yml +52 -0
- data/locales/en.yml +53 -7
- data/locales/es.yml +52 -0
- data/locales/et.yml +52 -0
- data/locales/fa.yml +52 -0
- data/locales/fi.yml +52 -0
- data/locales/fr.yml +52 -0
- data/locales/gl.yml +52 -0
- data/locales/hi.yml +52 -0
- data/locales/hr.yml +52 -0
- data/locales/hu.yml +52 -0
- data/locales/id.yml +52 -0
- data/locales/it.yml +52 -0
- data/locales/iw.yml +52 -0
- data/locales/ja.yml +52 -0
- data/locales/ko.yml +52 -0
- data/locales/lt.yml +52 -0
- data/locales/lv.yml +52 -0
- data/locales/mt.yml +52 -0
- data/locales/nl.yml +52 -0
- data/locales/no.yml +53 -0
- data/locales/pl.yml +52 -0
- data/locales/pt-PT.yml +52 -0
- data/locales/ro.yml +52 -0
- data/locales/ru.yml +52 -0
- data/locales/sk.yml +52 -0
- data/locales/sl.yml +52 -0
- data/locales/sq.yml +52 -0
- data/locales/sr.yml +52 -0
- data/locales/sv.yml +52 -0
- data/locales/th.yml +52 -0
- data/locales/tl.yml +52 -0
- data/locales/tr.yml +52 -0
- data/locales/uk.yml +52 -0
- data/locales/vi.yml +52 -0
- data/locales/zh-CN.yml +52 -0
- data/locales/zh-TW.yml +52 -0
- data/locales/zh.yml +52 -0
- data/muck-oauth.gemspec +67 -3
- metadata +109 -3
- data/test/rails_root/public/system/locals/000/000/026/original/deploy-1.rb +0 -75
data/locales/zh-CN.yml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
zh-CN:
|
3
|
+
muck:
|
4
|
+
oauth:
|
5
|
+
access_token_url: 访问令牌网址
|
6
|
+
application: 应用程序
|
7
|
+
application_developers: 应用开发商
|
8
|
+
are_you_sure: 你确定吗?
|
9
|
+
authorize_access: 授权使用您的帐户
|
10
|
+
authorize_access_label: 授权访问
|
11
|
+
authorize_access_question: "你想授权{{name}} ({{link}})访问您的帐户?"
|
12
|
+
authorize_url: 授权网址
|
13
|
+
back: 后面
|
14
|
+
back_label: 后面
|
15
|
+
callback_label: 回调网址*
|
16
|
+
consume_key: 消费者的关键:
|
17
|
+
consume_secret: 消费者的秘密:
|
18
|
+
delete: 删除
|
19
|
+
destroyed_successfully: 摧毁了客户端应用程序的注册
|
20
|
+
disconnect: 断开
|
21
|
+
disconnect_or_reconnect: "{{disconnect}}或{{reconnect}}如果你遇到了问题。"
|
22
|
+
do_you_have_an_application_to_register: "你有一个应用程序您想与我们使用的注册使用{{link}}标准?"
|
23
|
+
edit: 编辑
|
24
|
+
edit_application: 编辑您的应用程序
|
25
|
+
edit_label: 编辑
|
26
|
+
issued: 分
|
27
|
+
main_application_label: "主要应用程序的URL *"
|
28
|
+
name_label: 姓名*
|
29
|
+
oauth_client_applications: OAuth客户端应用程序
|
30
|
+
or: 或
|
31
|
+
reconnect: 重新连接
|
32
|
+
register: 注册
|
33
|
+
register_a_new_application: 注册一个新的应用程序
|
34
|
+
register_your_application: 注册您的应用程序
|
35
|
+
registered_successfully: 注册成功的信息
|
36
|
+
request_allowed: 您已允许这一要求
|
37
|
+
request_disallowed: 你否决了这一要求
|
38
|
+
request_token_url: 请求令牌网址
|
39
|
+
revoke: 撤销!
|
40
|
+
services: 服务
|
41
|
+
show_label: 显示
|
42
|
+
support_url_label: 支持URL
|
43
|
+
tokens_issued: 以下标记已发出你的名义申请
|
44
|
+
updated_successfully: 更新的客户端信息成功
|
45
|
+
we_support_hmac_sha: "我们支持HMAC - SHA1算法(推荐),以及在SSL模式纯文本。"
|
46
|
+
wrong_id: 错误的应用程序ID
|
47
|
+
you_are_already_connected_to: "你已经连接到{{service}}"
|
48
|
+
you_are_connected_to_the_following_services: 您连接到以下服务:
|
49
|
+
you_are_currently_not_connected_to_any_external_services: 您目前尚未连接到任何外部服务。
|
50
|
+
you_can_connect_to_the_following_services: 您可以连接到以下服务:
|
51
|
+
you_have_the_following_client_applications_registered: 您有以下客户端应用程序的注册:
|
52
|
+
you_must_register_your_web_application: 您必须注册您的Web应用程序,才能够OAuth要求这项服务
|
data/locales/zh-TW.yml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
zh-TW:
|
3
|
+
muck:
|
4
|
+
oauth:
|
5
|
+
access_token_url: 訪問令牌網址
|
6
|
+
application: 應用程序
|
7
|
+
application_developers: 應用開發商
|
8
|
+
are_you_sure: 你確定嗎?
|
9
|
+
authorize_access: 授權使用您的帳戶
|
10
|
+
authorize_access_label: 授權訪問
|
11
|
+
authorize_access_question: "你想授權{{name}} ({{link}})訪問您的帳戶?"
|
12
|
+
authorize_url: 授權網址
|
13
|
+
back: 後面
|
14
|
+
back_label: 後面
|
15
|
+
callback_label: 回調網址*
|
16
|
+
consume_key: 消費者的關鍵:
|
17
|
+
consume_secret: 消費者的秘密:
|
18
|
+
delete: 刪除
|
19
|
+
destroyed_successfully: 摧毀了客戶端應用程序的註冊
|
20
|
+
disconnect: 斷開
|
21
|
+
disconnect_or_reconnect: "{{disconnect}}或{{reconnect}}如果你遇到了問題。"
|
22
|
+
do_you_have_an_application_to_register: "你有一個應用程序你想註冊使用我們使用{{link}}標準?"
|
23
|
+
edit: 編輯
|
24
|
+
edit_application: 編輯您的應用程序
|
25
|
+
edit_label: 編輯
|
26
|
+
issued: 分
|
27
|
+
main_application_label: "主要應用程序的URL *"
|
28
|
+
name_label: 姓名*
|
29
|
+
oauth_client_applications: OAuth客戶端應用程序
|
30
|
+
or: 或
|
31
|
+
reconnect: 重新連接
|
32
|
+
register: 註冊
|
33
|
+
register_a_new_application: 註冊一個新的應用程序
|
34
|
+
register_your_application: 註冊您的應用程序
|
35
|
+
registered_successfully: 註冊成功的信息
|
36
|
+
request_allowed: 您已允許這一要求
|
37
|
+
request_disallowed: 你否決了這一要求
|
38
|
+
request_token_url: 請求令牌網址
|
39
|
+
revoke: 撤銷!
|
40
|
+
services: 服務
|
41
|
+
show_label: 顯示
|
42
|
+
support_url_label: 支持URL
|
43
|
+
tokens_issued: 以下標記已發出申請,你的名字
|
44
|
+
updated_successfully: 更新的客戶端信息成功
|
45
|
+
we_support_hmac_sha: "我們支持HMAC - SHA1算法(推薦),以及純文本SSL模式。"
|
46
|
+
wrong_id: 錯誤的應用程序ID
|
47
|
+
you_are_already_connected_to: "你已經連接到{{service}}"
|
48
|
+
you_are_connected_to_the_following_services: 您連接到以下服務:
|
49
|
+
you_are_currently_not_connected_to_any_external_services: 您目前尚未連接到任何外部服務。
|
50
|
+
you_can_connect_to_the_following_services: 您可以連接到以下服務:
|
51
|
+
you_have_the_following_client_applications_registered: 您有以下客戶端應用程序的註冊:
|
52
|
+
you_must_register_your_web_application: 您必須註冊您的Web應用程序,才能夠OAuth要求這項服務
|
data/locales/zh.yml
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
---
|
2
|
+
zh:
|
3
|
+
muck:
|
4
|
+
oauth:
|
5
|
+
access_token_url: 访问令牌网址
|
6
|
+
application: 应用程序
|
7
|
+
application_developers: 应用开发商
|
8
|
+
are_you_sure: 你确定吗?
|
9
|
+
authorize_access: 授权使用您的帐户
|
10
|
+
authorize_access_label: 授权访问
|
11
|
+
authorize_access_question: "你想授权{{name}} ({{link}})访问您的帐户?"
|
12
|
+
authorize_url: 授权网址
|
13
|
+
back: 后面
|
14
|
+
back_label: 后面
|
15
|
+
callback_label: 回调网址*
|
16
|
+
consume_key: 消费者的关键:
|
17
|
+
consume_secret: 消费者的秘密:
|
18
|
+
delete: 删除
|
19
|
+
destroyed_successfully: 摧毁了客户端应用程序的注册
|
20
|
+
disconnect: 断开
|
21
|
+
disconnect_or_reconnect: "{{disconnect}}或{{reconnect}}如果你遇到了问题。"
|
22
|
+
do_you_have_an_application_to_register: "你有一个应用程序您想与我们使用的注册使用{{link}}标准?"
|
23
|
+
edit: 编辑
|
24
|
+
edit_application: 编辑您的应用程序
|
25
|
+
edit_label: 编辑
|
26
|
+
issued: 分
|
27
|
+
main_application_label: "主要应用程序的URL *"
|
28
|
+
name_label: 姓名*
|
29
|
+
oauth_client_applications: OAuth客户端应用程序
|
30
|
+
or: 或
|
31
|
+
reconnect: 重新连接
|
32
|
+
register: 注册
|
33
|
+
register_a_new_application: 注册一个新的应用程序
|
34
|
+
register_your_application: 注册您的应用程序
|
35
|
+
registered_successfully: 注册成功的信息
|
36
|
+
request_allowed: 您已允许这一要求
|
37
|
+
request_disallowed: 你否决了这一要求
|
38
|
+
request_token_url: 请求令牌网址
|
39
|
+
revoke: 撤销!
|
40
|
+
services: 服务
|
41
|
+
show_label: 显示
|
42
|
+
support_url_label: 支持URL
|
43
|
+
tokens_issued: 以下标记已发出你的名义申请
|
44
|
+
updated_successfully: 更新的客户端信息成功
|
45
|
+
we_support_hmac_sha: "我们支持HMAC - SHA1算法(推荐),以及在SSL模式纯文本。"
|
46
|
+
wrong_id: 错误的应用程序ID
|
47
|
+
you_are_already_connected_to: "你已经连接到{{service}}"
|
48
|
+
you_are_connected_to_the_following_services: 您连接到以下服务:
|
49
|
+
you_are_currently_not_connected_to_any_external_services: 您目前尚未连接到任何外部服务。
|
50
|
+
you_can_connect_to_the_following_services: 您可以连接到以下服务:
|
51
|
+
you_have_the_following_client_applications_registered: 您有以下客户端应用程序的注册:
|
52
|
+
you_must_register_your_web_application: 您必须注册您的Web应用程序,才能够OAuth要求这项服务
|
data/muck-oauth.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-oauth}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball"]
|
12
|
-
s.date = %q{2009-12-
|
12
|
+
s.date = %q{2009-12-21}
|
13
13
|
s.description = %q{A simple wrapper for the oauth and oauth-plugin gems so that it is faster to include oauth in muck based applications.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -26,6 +26,7 @@ Gem::Specification.new do |s|
|
|
26
26
|
"app/controllers/oauth_clients_controller.rb",
|
27
27
|
"app/controllers/oauth_consumers_controller.rb",
|
28
28
|
"app/controllers/oauth_controller.rb",
|
29
|
+
"app/helpers/muck_oauth_helper.rb",
|
29
30
|
"app/models/access_token.rb",
|
30
31
|
"app/models/client_application.rb",
|
31
32
|
"app/models/consumer_token.rb",
|
@@ -40,6 +41,9 @@ Gem::Specification.new do |s|
|
|
40
41
|
"app/views/oauth_clients/index.html.erb",
|
41
42
|
"app/views/oauth_clients/new.html.erb",
|
42
43
|
"app/views/oauth_clients/show.html.erb",
|
44
|
+
"app/views/oauth_consumers/_oauth_available_services.html.erb",
|
45
|
+
"app/views/oauth_consumers/_oauth_current_services.html.erb",
|
46
|
+
"app/views/oauth_consumers/_oauth_fancybox_scripts.html.erb",
|
43
47
|
"app/views/oauth_consumers/index.html.erb",
|
44
48
|
"app/views/oauth_consumers/show.html.erb",
|
45
49
|
"config/initializers/oauth_consumers.rb",
|
@@ -49,7 +53,50 @@ Gem::Specification.new do |s|
|
|
49
53
|
"lib/muck_oauth.rb",
|
50
54
|
"lib/muck_oauth/initialize_routes.rb",
|
51
55
|
"lib/muck_oauth/tasks.rb",
|
56
|
+
"locales/ar.yml",
|
57
|
+
"locales/bg.yml",
|
58
|
+
"locales/ca.yml",
|
59
|
+
"locales/cs.yml",
|
60
|
+
"locales/da.yml",
|
61
|
+
"locales/de.yml",
|
62
|
+
"locales/el.yml",
|
52
63
|
"locales/en.yml",
|
64
|
+
"locales/es.yml",
|
65
|
+
"locales/et.yml",
|
66
|
+
"locales/fa.yml",
|
67
|
+
"locales/fi.yml",
|
68
|
+
"locales/fr.yml",
|
69
|
+
"locales/gl.yml",
|
70
|
+
"locales/hi.yml",
|
71
|
+
"locales/hr.yml",
|
72
|
+
"locales/hu.yml",
|
73
|
+
"locales/id.yml",
|
74
|
+
"locales/it.yml",
|
75
|
+
"locales/iw.yml",
|
76
|
+
"locales/ja.yml",
|
77
|
+
"locales/ko.yml",
|
78
|
+
"locales/lt.yml",
|
79
|
+
"locales/lv.yml",
|
80
|
+
"locales/mt.yml",
|
81
|
+
"locales/nl.yml",
|
82
|
+
"locales/no.yml",
|
83
|
+
"locales/pl.yml",
|
84
|
+
"locales/pt-PT.yml",
|
85
|
+
"locales/ro.yml",
|
86
|
+
"locales/ru.yml",
|
87
|
+
"locales/sk.yml",
|
88
|
+
"locales/sl.yml",
|
89
|
+
"locales/sq.yml",
|
90
|
+
"locales/sr.yml",
|
91
|
+
"locales/sv.yml",
|
92
|
+
"locales/th.yml",
|
93
|
+
"locales/tl.yml",
|
94
|
+
"locales/tr.yml",
|
95
|
+
"locales/uk.yml",
|
96
|
+
"locales/vi.yml",
|
97
|
+
"locales/zh-CN.yml",
|
98
|
+
"locales/zh-TW.yml",
|
99
|
+
"locales/zh.yml",
|
53
100
|
"muck-oauth.gemspec",
|
54
101
|
"rails/init.rb",
|
55
102
|
"test/rails_root/.gitignore",
|
@@ -1746,7 +1793,6 @@ Gem::Specification.new do |s|
|
|
1746
1793
|
"test/rails_root/features/support/paths.rb",
|
1747
1794
|
"test/rails_root/lib/daemons/amazonaws.rb",
|
1748
1795
|
"test/rails_root/public/dispatch.rb",
|
1749
|
-
"test/rails_root/public/system/locals/000/000/026/original/deploy-1.rb",
|
1750
1796
|
"test/rails_root/script/create_project.rb",
|
1751
1797
|
"test/rails_root/spec/controllers/oauth_clients_controller_spec.rb",
|
1752
1798
|
"test/rails_root/spec/controllers/oauth_controller_spec.rb",
|
@@ -1771,15 +1817,33 @@ Gem::Specification.new do |s|
|
|
1771
1817
|
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
1772
1818
|
s.add_runtime_dependency(%q<oauth>, [">= 0"])
|
1773
1819
|
s.add_runtime_dependency(%q<oauth-plugin>, [">= 0"])
|
1820
|
+
s.add_runtime_dependency(%q<twitter>, [">= 0"])
|
1821
|
+
s.add_runtime_dependency(%q<portablecontacts>, [">= 0"])
|
1822
|
+
s.add_runtime_dependency(%q<agree2>, [">= 0"])
|
1823
|
+
s.add_runtime_dependency(%q<fireeagle>, [">= 0"])
|
1824
|
+
s.add_runtime_dependency(%q<muck-engine>, [">= 0"])
|
1825
|
+
s.add_runtime_dependency(%q<muck-users>, [">= 0"])
|
1774
1826
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
1775
1827
|
else
|
1776
1828
|
s.add_dependency(%q<oauth>, [">= 0"])
|
1777
1829
|
s.add_dependency(%q<oauth-plugin>, [">= 0"])
|
1830
|
+
s.add_dependency(%q<twitter>, [">= 0"])
|
1831
|
+
s.add_dependency(%q<portablecontacts>, [">= 0"])
|
1832
|
+
s.add_dependency(%q<agree2>, [">= 0"])
|
1833
|
+
s.add_dependency(%q<fireeagle>, [">= 0"])
|
1834
|
+
s.add_dependency(%q<muck-engine>, [">= 0"])
|
1835
|
+
s.add_dependency(%q<muck-users>, [">= 0"])
|
1778
1836
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
1779
1837
|
end
|
1780
1838
|
else
|
1781
1839
|
s.add_dependency(%q<oauth>, [">= 0"])
|
1782
1840
|
s.add_dependency(%q<oauth-plugin>, [">= 0"])
|
1841
|
+
s.add_dependency(%q<twitter>, [">= 0"])
|
1842
|
+
s.add_dependency(%q<portablecontacts>, [">= 0"])
|
1843
|
+
s.add_dependency(%q<agree2>, [">= 0"])
|
1844
|
+
s.add_dependency(%q<fireeagle>, [">= 0"])
|
1845
|
+
s.add_dependency(%q<muck-engine>, [">= 0"])
|
1846
|
+
s.add_dependency(%q<muck-users>, [">= 0"])
|
1783
1847
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
1784
1848
|
end
|
1785
1849
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-oauth
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-12-
|
12
|
+
date: 2009-12-21 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -32,6 +32,66 @@ dependencies:
|
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: "0"
|
34
34
|
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: twitter
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: "0"
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: portablecontacts
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: agree2
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: "0"
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: fireeagle
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: "0"
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: muck-engine
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: "0"
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: muck-users
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: "0"
|
94
|
+
version:
|
35
95
|
- !ruby/object:Gem::Dependency
|
36
96
|
name: shoulda
|
37
97
|
type: :development
|
@@ -61,6 +121,7 @@ files:
|
|
61
121
|
- app/controllers/oauth_clients_controller.rb
|
62
122
|
- app/controllers/oauth_consumers_controller.rb
|
63
123
|
- app/controllers/oauth_controller.rb
|
124
|
+
- app/helpers/muck_oauth_helper.rb
|
64
125
|
- app/models/access_token.rb
|
65
126
|
- app/models/client_application.rb
|
66
127
|
- app/models/consumer_token.rb
|
@@ -75,6 +136,9 @@ files:
|
|
75
136
|
- app/views/oauth_clients/index.html.erb
|
76
137
|
- app/views/oauth_clients/new.html.erb
|
77
138
|
- app/views/oauth_clients/show.html.erb
|
139
|
+
- app/views/oauth_consumers/_oauth_available_services.html.erb
|
140
|
+
- app/views/oauth_consumers/_oauth_current_services.html.erb
|
141
|
+
- app/views/oauth_consumers/_oauth_fancybox_scripts.html.erb
|
78
142
|
- app/views/oauth_consumers/index.html.erb
|
79
143
|
- app/views/oauth_consumers/show.html.erb
|
80
144
|
- config/initializers/oauth_consumers.rb
|
@@ -84,7 +148,50 @@ files:
|
|
84
148
|
- lib/muck_oauth.rb
|
85
149
|
- lib/muck_oauth/initialize_routes.rb
|
86
150
|
- lib/muck_oauth/tasks.rb
|
151
|
+
- locales/ar.yml
|
152
|
+
- locales/bg.yml
|
153
|
+
- locales/ca.yml
|
154
|
+
- locales/cs.yml
|
155
|
+
- locales/da.yml
|
156
|
+
- locales/de.yml
|
157
|
+
- locales/el.yml
|
87
158
|
- locales/en.yml
|
159
|
+
- locales/es.yml
|
160
|
+
- locales/et.yml
|
161
|
+
- locales/fa.yml
|
162
|
+
- locales/fi.yml
|
163
|
+
- locales/fr.yml
|
164
|
+
- locales/gl.yml
|
165
|
+
- locales/hi.yml
|
166
|
+
- locales/hr.yml
|
167
|
+
- locales/hu.yml
|
168
|
+
- locales/id.yml
|
169
|
+
- locales/it.yml
|
170
|
+
- locales/iw.yml
|
171
|
+
- locales/ja.yml
|
172
|
+
- locales/ko.yml
|
173
|
+
- locales/lt.yml
|
174
|
+
- locales/lv.yml
|
175
|
+
- locales/mt.yml
|
176
|
+
- locales/nl.yml
|
177
|
+
- locales/no.yml
|
178
|
+
- locales/pl.yml
|
179
|
+
- locales/pt-PT.yml
|
180
|
+
- locales/ro.yml
|
181
|
+
- locales/ru.yml
|
182
|
+
- locales/sk.yml
|
183
|
+
- locales/sl.yml
|
184
|
+
- locales/sq.yml
|
185
|
+
- locales/sr.yml
|
186
|
+
- locales/sv.yml
|
187
|
+
- locales/th.yml
|
188
|
+
- locales/tl.yml
|
189
|
+
- locales/tr.yml
|
190
|
+
- locales/uk.yml
|
191
|
+
- locales/vi.yml
|
192
|
+
- locales/zh-CN.yml
|
193
|
+
- locales/zh-TW.yml
|
194
|
+
- locales/zh.yml
|
88
195
|
- muck-oauth.gemspec
|
89
196
|
- rails/init.rb
|
90
197
|
- test/rails_root/.gitignore
|
@@ -1803,7 +1910,6 @@ test_files:
|
|
1803
1910
|
- test/rails_root/features/support/paths.rb
|
1804
1911
|
- test/rails_root/lib/daemons/amazonaws.rb
|
1805
1912
|
- test/rails_root/public/dispatch.rb
|
1806
|
-
- test/rails_root/public/system/locals/000/000/026/original/deploy-1.rb
|
1807
1913
|
- test/rails_root/script/create_project.rb
|
1808
1914
|
- test/rails_root/spec/controllers/oauth_clients_controller_spec.rb
|
1809
1915
|
- test/rails_root/spec/controllers/oauth_controller_spec.rb
|
@@ -1,75 +0,0 @@
|
|
1
|
-
# Please install the Engine Yard Capistrano gem
|
2
|
-
# gem install eycap --source http://gems.engineyard.com
|
3
|
-
require "eycap/recipes"
|
4
|
-
|
5
|
-
set :keep_releases, 5
|
6
|
-
set :application, 'topic'
|
7
|
-
set :repository, 'git@github.com:jbasdf/topic.git'
|
8
|
-
set :deploy_to, "/data/#{application}"
|
9
|
-
set :deploy_via, :export
|
10
|
-
set :monit_group, "#{application}"
|
11
|
-
set :scm, :git
|
12
|
-
set :git_enable_submodules, 1
|
13
|
-
# This is the same database name for all environments
|
14
|
-
set :production_database,'topic_production'
|
15
|
-
|
16
|
-
set :environment_host, 'localhost'
|
17
|
-
set :deploy_via, :remote_cache
|
18
|
-
|
19
|
-
# uncomment the following to have a database backup done before every migration
|
20
|
-
# before "deploy:migrate", "db:dump"
|
21
|
-
|
22
|
-
# comment out if it gives you trouble. newest net/ssh needs this set.
|
23
|
-
ssh_options[:paranoid] = false
|
24
|
-
default_run_options[:pty] = true
|
25
|
-
ssh_options[:forward_agent] = true
|
26
|
-
default_run_options[:pty] = true # required for svn+ssh:// andf git:// sometimes
|
27
|
-
|
28
|
-
# This will execute the Git revision parsing on the *remote* server rather than locally
|
29
|
-
set :real_revision, lambda { source.query_revision(revision) { |cmd| capture(cmd) } }
|
30
|
-
|
31
|
-
|
32
|
-
task :production do
|
33
|
-
role :web, '174.129.202.127'
|
34
|
-
role :app, '174.129.202.127'
|
35
|
-
role :db, '174.129.202.127', :primary => true
|
36
|
-
set :environment_database, Proc.new { production_database }
|
37
|
-
set :dbuser, 'muck'
|
38
|
-
set :dbpass, 'KFrTfTKW0R'
|
39
|
-
set :user, 'muck'
|
40
|
-
set :password, 'KFrTfTKW0R'
|
41
|
-
set :runner, 'muck'
|
42
|
-
set :rails_env, 'production'
|
43
|
-
end
|
44
|
-
|
45
|
-
|
46
|
-
# TASKS
|
47
|
-
# Don't change unless you know what you are doing!
|
48
|
-
|
49
|
-
after "deploy", "deploy:cleanup"
|
50
|
-
after "deploy:migrations", "deploy:cleanup"
|
51
|
-
after "deploy:update_code","deploy:symlink_configs"
|
52
|
-
|
53
|
-
namespace :nginx do
|
54
|
-
task :start, :roles => :app do
|
55
|
-
sudo "nohup /etc/init.d/nginx start > /dev/null"
|
56
|
-
end
|
57
|
-
|
58
|
-
task :restart, :roles => :app do
|
59
|
-
sudo "nohup /etc/init.d/nginx restart > /dev/null"
|
60
|
-
end
|
61
|
-
end
|
62
|
-
|
63
|
-
namespace :deploy do
|
64
|
-
task :start, :roles => :app do
|
65
|
-
run "touch #{current_release}/tmp/restart.txt"
|
66
|
-
end
|
67
|
-
|
68
|
-
task :stop, :roles => :app do
|
69
|
-
# Do nothing.
|
70
|
-
end
|
71
|
-
|
72
|
-
task :restart, :roles => :app do
|
73
|
-
run "touch #{current_release}/tmp/restart.txt"
|
74
|
-
end
|
75
|
-
end
|