vines-services 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -129,15 +129,6 @@
129
129
  top: 2px;
130
130
  left: 3px;
131
131
  }
132
- #services-page #members li span.icon svg {
133
- width: 15px;
134
- height: 15px;
135
- }
136
- #services-page #members li span.server-name {
137
- max-width:65px;display:inline-block; vertical-align:middle;text-overflow: ellipsis;
138
- overflow: hidden;
139
- white-space:nowrap;
140
- }
141
132
  #services-page #members li:hover:not(.selected) {
142
133
  background-color: #ededed;
143
134
  background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#e0e0e0));
@@ -166,16 +157,15 @@
166
157
  }
167
158
  #services-page #blank-slate {
168
159
  margin-top: -65px;
169
- margin-left: -225px;
160
+ margin-left: -215px;
170
161
  text-align: center;
171
- width: 450px;
162
+ width: 430px;
172
163
  position: absolute;
173
164
  top: 50%;
174
165
  left: 50%;
175
166
  }
176
167
  #services-page #blank-slate p {
177
- color: rgba(0,0,0,0.4);
168
+ color: rgba(0, 0, 0, 0.3);
178
169
  font-size: 12pt;
179
- font-weight: bold;
180
170
  margin-bottom: 20px;
181
- }
171
+ }
@@ -74,9 +74,8 @@
74
74
  left: 50%;
75
75
  }
76
76
  #setup-page #blank-slate p {
77
- color: rgba(0,0,0,0.4);
77
+ color: rgba(0, 0, 0, 0.3);
78
78
  font-size: 12pt;
79
- font-weight: bold;
80
79
  margin-bottom: 20px;
81
80
  }
82
81
  #setup-page #permissions {
@@ -1,142 +1,158 @@
1
- #servers-page #container {
1
+ #systems-page #container {
2
2
  height: 100%;
3
3
  }
4
- #servers-page #chat-title {
5
- background: #f8f8f8;
6
- }
7
- #servers-page #messages {
4
+ #systems-page #alpha {
8
5
  background: #fff;
6
+ box-shadow: none;
7
+ left: 0;
8
+ }
9
+ #systems-page #blank-slate {
10
+ margin-top: -65px;
11
+ margin-left: -215px;
12
+ text-align: center;
13
+ width: 430px;
14
+ position: absolute;
15
+ top: 50%;
16
+ left: 50%;
17
+ }
18
+ #systems-page #blank-slate p {
19
+ color: rgba(0, 0, 0, 0.3);
20
+ font-size: 12pt;
21
+ margin-bottom: 20px;
22
+ }
23
+ #systems-page #messages {
9
24
  height: 100%;
10
25
  list-style: none;
11
- text-shadow: 0 1px 1px #ddd;
12
26
  width: 100%;
13
27
  }
14
- #servers-page #messages li {
15
- border-bottom: 1px solid #f0f0f0;
16
- min-height: 40px;
17
- padding: 10px;
28
+ #systems-page #messages li {
29
+ padding: 0 10px;
18
30
  position: relative;
19
31
  }
20
- #servers-page #messages li:hover > span .time {
21
- opacity: 0.3;
32
+ #systems-page #messages li:first-child {
33
+ padding-top: 10px;
22
34
  }
23
- #servers-page #messages li img {
24
- border: 3px solid #fff;
25
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.06) inset;
26
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.06) inset;
27
- position: absolute;
28
- top: 7px;
29
- right: 7px;
30
- height: 40px;
31
- width: 40px;
32
- }
33
- #servers-page #messages li p {
34
- line-height: 1.5;
35
- width: 90%;
36
- }
37
- #servers-page #messages li footer {
38
- font-size: 9pt;
39
- padding-right: 50px;
40
- text-align: right;
35
+ #systems-page #messages li:hover > span .time {
36
+ opacity: 0.3;
41
37
  }
42
- #servers-page #messages li footer span {
43
- color: #d8d8d8;
44
- margin-right: 0.5em;
45
- text-shadow: none;
38
+ #systems-page #messages li pre,
39
+ #systems-page #messages li footer {
40
+ font-family: Menlo, monospace;
41
+ font-size: 11px;
42
+ line-height: 1.3;
46
43
  }
47
- #servers-page #messages li footer .author::before {
48
- content: '\2014 ';
44
+ #systems-page #messages li footer {
45
+ font-weight: bold;
49
46
  }
50
- #servers-page #message-form {
51
- background: #f8f8f8;
52
- border-top: 1px solid #dfdfdf;
53
- height: 50px;
47
+ #systems-page #message-form {
48
+ height: 25px;
54
49
  position: absolute;
55
50
  bottom: 0;
56
51
  width: 100%;
57
52
  }
58
- #servers-page #message {
59
- display: block;
60
- position: relative;
61
- left: 10px;
62
- top: 10px;
63
- width: 428px;
64
- }
65
- #servers-page #roster,
66
- #servers-page #notifications {
67
- height: 100%;
68
- list-style: none;
69
- text-shadow: 0 1px 1px #fff;
70
- width: 260px;
71
- }
72
- #servers-page #roster li,
73
- #servers-page #notifications li {
53
+ #systems-page #message-label {
54
+ background: transparent;
74
55
  cursor: pointer;
75
- border-bottom: 1px solid #ddd;
76
- font-weight: bold;
77
- min-height: 42px;
78
- padding: 0 10px;
56
+ font-family: Menlo, monospace;
57
+ font-size: 11px;
58
+ padding: 0 2px 0 10px;
79
59
  position: relative;
80
- -moz-transition: background 0.3s;
81
- -o-transition: background 0.3s;
82
- -webkit-transition: background 0.3s;
83
- transition: background 0.3s;
60
+ top: -3px;
84
61
  }
85
- #servers-page #notifications li {
86
- font-weight: normal;
87
- padding: 10px 0 0 0;
62
+ #systems-page #message-label::after {
63
+ margin: 0;
64
+ content: '$';
88
65
  }
89
- #servers-page #roster li:hover:not(.selected),
90
- #servers-page #notifications li:hover {
91
- background: rgba(255, 255, 255, 1.0);
66
+ #systems-page #message-label:hover {
67
+ text-decoration: underline;
92
68
  }
93
- #servers-page #roster li.offline > * {
94
- opacity: 0.4;
69
+ #systems-page #message {
70
+ box-shadow: none;
71
+ display: inline-block;
72
+ font-family: Menlo, monospace;
73
+ font-size: 11px;
74
+ margin: 0;
75
+ padding: 0;
76
+ position: relative;
77
+ top: -3px;
95
78
  }
96
- #servers-page #roster li.selected > * {
97
- opacity: 1.0;
79
+ #systems-page #message:focus {
80
+ box-shadow: none;
98
81
  }
99
- #servers-page #roster li.selected .status-msg {
100
- color: rgba(255, 255, 255, 0.85);
82
+ #systems-page #roster {
83
+ background: #fff;
84
+ border: 1px solid #c4c4c4;
85
+ border-radius: 5px;
86
+ box-shadow: 0 10px 15px rgba(0,0,0, 0.15);
87
+ padding-top: 3px;
88
+ position: absolute;
89
+ bottom: 25px;
90
+ left: 10px;
101
91
  }
102
- #servers-page #roster .status-msg {
103
- display: block;
92
+ #systems-page #roster-items {
93
+ font-family: "Lucida Grande", Helvetica, sans-serif;
104
94
  font-size: 11px;
105
- font-weight: normal;
106
- line-height: 11px;
107
- }
108
- #servers-page #roster .unread {
109
- background: #4693FF;
110
- background: -moz-linear-gradient(#4693FF, #015de6);
111
- background: -o-linear-gradient(#4693FF, #015de6);
112
- background: -webkit-gradient(linear, left top, left bottom, from(#4693FF), to(#015de6));
113
- border-radius: 30px;
95
+ margin-bottom: 3px;
96
+ overflow-y: auto;
97
+ }
98
+ #systems-page #roster-items li {
99
+ border-top: 1px solid transparent;
100
+ border-bottom: 1px solid transparent;
101
+ line-height: 1.5;
102
+ list-style: none;
103
+ padding-right: 50px;
104
+ position: relative;
105
+ }
106
+ #systems-page #roster-items li.offline {
107
+ color: rgba(0, 0, 0, 0.25);
108
+ }
109
+ #systems-page #roster-items li:hover:not(.group) {
110
+ background: #319be7;
111
+ background: -moz-linear-gradient(#319be7, #1b78d9);
112
+ background: -ms-linear-gradient(#319be7, #1b78d9);
113
+ background: -o-linear-gradient(#319be7, #1b78d9);
114
+ background: -webkit-linear-gradient(#319be7, #1b78d9);
115
+ border-top: 1px solid #148ddf;
116
+ border-bottom: 1px solid #095bba;
114
117
  color: #fff;
118
+ cursor: pointer;
119
+ text-shadow: -1px 1px 1px hsl(210, 51%, 45%), 0px -1px 1px hsl(210, 51%, 49%);
120
+ }
121
+ #systems-page #roster-items li:not(.group) {
122
+ padding-left: 3em;
123
+ }
124
+ #systems-page #roster-items li.group {
125
+ color: #808080;
126
+ padding-left: 20px;
127
+ }
128
+ #systems-page #roster-items li .unread {
129
+ color: #c0c0c0;
115
130
  display: inline-block;
116
- font-size: 11px;
117
- font-weight: normal;
131
+ font-size: 9px;
132
+ font-weight: bold;
118
133
  line-height: 15px;
119
- padding: 0px 6px;
120
134
  position: absolute;
121
- right: 50px;
122
- top: 14px;
123
- text-shadow: none;
124
- }
125
- #servers-page #roster .vcard-img {
126
- background: #fff;
127
- border: 1px solid #fff;
128
- -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.06) inset;
129
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 40px rgba(0, 0, 0, 0.06) inset;
130
- height: 32px;
131
- width: 32px;
132
- position: absolute;
133
- top: 4px;
134
135
  right: 10px;
136
+ top: 1px;
135
137
  }
136
- #servers-page #charlie-controls {
137
- text-align: right;
138
+ #systems-page #roster-items li:hover .unread {
139
+ color: #fff;
138
140
  }
139
- #servers-page #edit-contact-jid {
140
- color: #444;
141
- margin-top: -5px;
141
+ #systems-page #roster-form {
142
+ background: #f8f8f8;
143
+ background: -moz-linear-gradient(#f8f8f8, #eee);
144
+ background: -ms-linear-gradient(#f8f8f8, #eee);
145
+ background: -o-linear-gradient(#f8f8f8, #eee);
146
+ background: -webkit-linear-gradient(#f8f8f8, #eee);
147
+ border-top: 1px solid #c4c4c4;
148
+ border-bottom-right-radius: 5px;
149
+ border-bottom-left-radius: 5px;
150
+ padding: 3px 5px;
151
+ }
152
+ #systems-page #roster-form form {
153
+ padding: 0;
154
+ border: none;
155
+ }
156
+ #systems-page #roster-filter {
157
+ width: 100%;
142
158
  }
metadata CHANGED
@@ -1,132 +1,129 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: vines-services
3
- version: !ruby/object:Gem::Version
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
4
5
  prerelease:
5
- version: 0.1.0
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - David Graham
9
- - Chris Johnson
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
-
14
- date: 2011-09-28 00:00:00 Z
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-20 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: bcrypt-ruby
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &70365285226680 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 3.0.0
20
+ - !ruby/object:Gem::Version
21
+ version: 3.0.1
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: blather
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *70365285226680
25
+ - !ruby/object:Gem::Dependency
26
+ name: blather
27
+ requirement: &70365285226160 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.5.4
31
+ - !ruby/object:Gem::Version
32
+ version: 0.5.8
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: citrus
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *70365285226160
36
+ - !ruby/object:Gem::Dependency
37
+ name: citrus
38
+ requirement: &70365285225620 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
42
+ - !ruby/object:Gem::Version
46
43
  version: 2.4.0
47
44
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: couchrest_model
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *70365285225620
47
+ - !ruby/object:Gem::Dependency
48
+ name: couchrest_model
49
+ requirement: &70365285225160 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
51
+ requirements:
55
52
  - - ~>
56
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
57
54
  version: 1.1.2
58
55
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: em-http-request
62
56
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *70365285225160
58
+ - !ruby/object:Gem::Dependency
59
+ name: em-http-request
60
+ requirement: &70365285224700 !ruby/object:Gem::Requirement
64
61
  none: false
65
- requirements:
62
+ requirements:
66
63
  - - ~>
67
- - !ruby/object:Gem::Version
64
+ - !ruby/object:Gem::Version
68
65
  version: 0.3.0
69
66
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: sqlite3
73
67
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *70365285224700
69
+ - !ruby/object:Gem::Dependency
70
+ name: sqlite3
71
+ requirement: &70365285224220 !ruby/object:Gem::Requirement
75
72
  none: false
76
- requirements:
73
+ requirements:
77
74
  - - ~>
78
- - !ruby/object:Gem::Version
75
+ - !ruby/object:Gem::Version
79
76
  version: 1.3.4
80
77
  type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: vines
84
78
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *70365285224220
80
+ - !ruby/object:Gem::Dependency
81
+ name: vines
82
+ requirement: &70365285223740 !ruby/object:Gem::Requirement
86
83
  none: false
87
- requirements:
84
+ requirements:
88
85
  - - ~>
89
- - !ruby/object:Gem::Version
90
- version: "0.3"
86
+ - !ruby/object:Gem::Version
87
+ version: '0.3'
91
88
  type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: minitest
95
89
  prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *70365285223740
91
+ - !ruby/object:Gem::Dependency
92
+ name: minitest
93
+ requirement: &70365285223360 !ruby/object:Gem::Requirement
97
94
  none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
102
99
  type: :development
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: rake
106
100
  prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *70365285223360
102
+ - !ruby/object:Gem::Dependency
103
+ name: rake
104
+ requirement: &70365285222920 !ruby/object:Gem::Requirement
108
105
  none: false
109
- requirements:
110
- - - ">="
111
- - !ruby/object:Gem::Version
112
- version: "0"
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
113
110
  type: :development
114
- version_requirements: *id009
115
- description: |-
116
- Vines Services are dynamically updated groups of systems based
111
+ prerelease: false
112
+ version_requirements: *70365285222920
113
+ description: ! 'Vines Services are dynamically updated groups of systems based
114
+
117
115
  on criteria like hostname, installed software, operating system, etc. Send a
116
+
118
117
  command to the service and it runs on every system in the group. Services, files
119
- and permissions are managed via the bundled web application.
120
- email:
118
+
119
+ and permissions are managed via the bundled web application.'
120
+ email:
121
121
  - david@negativecode.com
122
- - chris@negativecode.com
123
- executables:
122
+ executables:
124
123
  - vines-services
125
124
  extensions: []
126
-
127
125
  extra_rdoc_files: []
128
-
129
- files:
126
+ files:
130
127
  - LICENSE
131
128
  - Rakefile
132
129
  - README
@@ -185,6 +182,15 @@ files:
185
182
  - web/images/run.png
186
183
  - web/images/windows.png
187
184
  - web/index.html
185
+ - web/javascripts/api.js
186
+ - web/javascripts/app.js
187
+ - web/javascripts/commands.js
188
+ - web/javascripts/files.js
189
+ - web/javascripts/init.js
190
+ - web/javascripts/services.js
191
+ - web/javascripts/setup.js
192
+ - web/javascripts/systems.js
193
+ - web/stylesheets/app.css
188
194
  - web/stylesheets/common.css
189
195
  - web/stylesheets/files.css
190
196
  - web/stylesheets/services.css
@@ -197,32 +203,29 @@ files:
197
203
  - test/vql/vql_test.rb
198
204
  homepage: http://www.getvines.com
199
205
  licenses: []
200
-
201
206
  post_install_message:
202
207
  rdoc_options: []
203
-
204
- require_paths:
208
+ require_paths:
205
209
  - lib
206
- required_ruby_version: !ruby/object:Gem::Requirement
210
+ required_ruby_version: !ruby/object:Gem::Requirement
207
211
  none: false
208
- requirements:
209
- - - ">="
210
- - !ruby/object:Gem::Version
212
+ requirements:
213
+ - - ! '>='
214
+ - !ruby/object:Gem::Version
211
215
  version: 1.9.2
212
- required_rubygems_version: !ruby/object:Gem::Requirement
216
+ required_rubygems_version: !ruby/object:Gem::Requirement
213
217
  none: false
214
- requirements:
215
- - - ">="
216
- - !ruby/object:Gem::Version
217
- version: "0"
218
+ requirements:
219
+ - - ! '>='
220
+ - !ruby/object:Gem::Version
221
+ version: '0'
218
222
  requirements: []
219
-
220
223
  rubyforge_project:
221
224
  rubygems_version: 1.8.10
222
225
  signing_key:
223
226
  specification_version: 3
224
227
  summary: An XMPP component that broadcasts shell commands to many agents.
225
- test_files:
228
+ test_files:
226
229
  - test/config_test.rb
227
230
  - test/priority_queue_test.rb
228
231
  - test/storage/couchdb_test.rb