tawork 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +45 -58
- data/app/assets/stylesheets/bootstrap_and_overrides.sass +20 -0
- data/app/views/layouts/_nav_header.html.haml +2 -2
- data/app/views/layouts/application.html.haml +4 -4
- data/app/views/wiki/pages/_display.html.haml +5 -0
- data/app/views/wiki/pages/index.html.haml +1 -1
- data/app/views/wiki/spaces/_space_list.html.haml +1 -1
- data/db/schema.rb +1 -1
- data/lib/tawork/version.rb +1 -1
- metadata +8 -4
- checksums.yaml +0 -15
data/Gemfile
CHANGED
@@ -3,7 +3,7 @@ source 'https://rails-assets.org'
|
|
3
3
|
|
4
4
|
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
5
5
|
# gem 'rails', '4.1.0.beta1'
|
6
|
-
gem 'rails', github: 'rails/rails'
|
6
|
+
gem 'rails', "4.0.3" #github: 'rails/rails'
|
7
7
|
|
8
8
|
# Use mysql as the database for Active Record
|
9
9
|
gem 'mysql2'
|
@@ -72,7 +72,7 @@ end
|
|
72
72
|
group :development do
|
73
73
|
gem "better_errors"
|
74
74
|
gem "binding_of_caller"
|
75
|
-
gem 'rack-mini-profiler'
|
75
|
+
# gem 'rack-mini-profiler'
|
76
76
|
gem 'foreman'
|
77
77
|
gem "thin"
|
78
78
|
gem 'jazz_hands'
|
data/Gemfile.lock
CHANGED
@@ -1,49 +1,3 @@
|
|
1
|
-
GIT
|
2
|
-
remote: git://github.com/rails/rails.git
|
3
|
-
revision: 6ef0569b0bf6e13d63f6c51790745b2007b92973
|
4
|
-
specs:
|
5
|
-
actionmailer (4.1.0.beta1)
|
6
|
-
actionpack (= 4.1.0.beta1)
|
7
|
-
actionview (= 4.1.0.beta1)
|
8
|
-
mail (~> 2.5.4)
|
9
|
-
actionpack (4.1.0.beta1)
|
10
|
-
actionview (= 4.1.0.beta1)
|
11
|
-
activesupport (= 4.1.0.beta1)
|
12
|
-
rack (~> 1.5.2)
|
13
|
-
rack-test (~> 0.6.2)
|
14
|
-
actionview (4.1.0.beta1)
|
15
|
-
activesupport (= 4.1.0.beta1)
|
16
|
-
builder (~> 3.1)
|
17
|
-
erubis (~> 2.7.0)
|
18
|
-
activemodel (4.1.0.beta1)
|
19
|
-
activesupport (= 4.1.0.beta1)
|
20
|
-
builder (~> 3.1)
|
21
|
-
activerecord (4.1.0.beta1)
|
22
|
-
activemodel (= 4.1.0.beta1)
|
23
|
-
activesupport (= 4.1.0.beta1)
|
24
|
-
arel (~> 5.0.0)
|
25
|
-
activesupport (4.1.0.beta1)
|
26
|
-
i18n (~> 0.6, >= 0.6.9)
|
27
|
-
json (~> 1.7, >= 1.7.7)
|
28
|
-
minitest (~> 5.1)
|
29
|
-
thread_safe (~> 0.1)
|
30
|
-
tzinfo (~> 1.1)
|
31
|
-
rails (4.1.0.beta1)
|
32
|
-
actionmailer (= 4.1.0.beta1)
|
33
|
-
actionpack (= 4.1.0.beta1)
|
34
|
-
actionview (= 4.1.0.beta1)
|
35
|
-
activemodel (= 4.1.0.beta1)
|
36
|
-
activerecord (= 4.1.0.beta1)
|
37
|
-
activesupport (= 4.1.0.beta1)
|
38
|
-
bundler (>= 1.3.0, < 2.0)
|
39
|
-
railties (= 4.1.0.beta1)
|
40
|
-
sprockets-rails (~> 2.0.0)
|
41
|
-
railties (4.1.0.beta1)
|
42
|
-
actionpack (= 4.1.0.beta1)
|
43
|
-
activesupport (= 4.1.0.beta1)
|
44
|
-
rake (>= 0.8.7)
|
45
|
-
thor (>= 0.18.1, < 2.0)
|
46
|
-
|
47
1
|
GIT
|
48
2
|
remote: git://github.com/rusanu/blockuijs-rails.git
|
49
3
|
revision: 5deb1d36a861327dd54002d559fcd0e6197a3c83
|
@@ -72,10 +26,34 @@ GEM
|
|
72
26
|
specs:
|
73
27
|
RedCloth (4.2.9)
|
74
28
|
aasm (3.0.23)
|
29
|
+
actionmailer (4.0.3)
|
30
|
+
actionpack (= 4.0.3)
|
31
|
+
mail (~> 2.5.4)
|
32
|
+
actionpack (4.0.3)
|
33
|
+
activesupport (= 4.0.3)
|
34
|
+
builder (~> 3.1.0)
|
35
|
+
erubis (~> 2.7.0)
|
36
|
+
rack (~> 1.5.2)
|
37
|
+
rack-test (~> 0.6.2)
|
38
|
+
activemodel (4.0.3)
|
39
|
+
activesupport (= 4.0.3)
|
40
|
+
builder (~> 3.1.0)
|
41
|
+
activerecord (4.0.3)
|
42
|
+
activemodel (= 4.0.3)
|
43
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
44
|
+
activesupport (= 4.0.3)
|
45
|
+
arel (~> 4.0.0)
|
46
|
+
activerecord-deprecated_finders (1.0.3)
|
47
|
+
activesupport (4.0.3)
|
48
|
+
i18n (~> 0.6, >= 0.6.4)
|
49
|
+
minitest (~> 4.2)
|
50
|
+
multi_json (~> 1.3)
|
51
|
+
thread_safe (~> 0.1)
|
52
|
+
tzinfo (~> 0.3.37)
|
75
53
|
ancestry (2.0.0)
|
76
54
|
activerecord (>= 3.0.0)
|
77
55
|
ansi (1.4.3)
|
78
|
-
arel (
|
56
|
+
arel (4.0.2)
|
79
57
|
atomic (1.1.14)
|
80
58
|
awesome_print (1.2.0)
|
81
59
|
bcrypt-ruby (3.1.2)
|
@@ -84,9 +62,9 @@ GEM
|
|
84
62
|
erubis (>= 2.7.0)
|
85
63
|
binding_of_caller (0.7.2)
|
86
64
|
debug_inspector (>= 0.0.1)
|
87
|
-
bootstrap-sass (3.
|
65
|
+
bootstrap-sass (3.1.1.0)
|
88
66
|
sass (~> 3.2)
|
89
|
-
builder (3.
|
67
|
+
builder (3.1.4)
|
90
68
|
charlock_holmes (0.6.9.4)
|
91
69
|
coderay (1.0.8)
|
92
70
|
coffee-rails (4.0.1)
|
@@ -182,7 +160,7 @@ GEM
|
|
182
160
|
method_source (0.8.2)
|
183
161
|
mime-types (1.25.1)
|
184
162
|
mini_portile (0.5.2)
|
185
|
-
minitest (
|
163
|
+
minitest (4.7.5)
|
186
164
|
multi_json (1.8.4)
|
187
165
|
mysql2 (0.3.14)
|
188
166
|
nokogiri (1.6.1)
|
@@ -196,7 +174,7 @@ GEM
|
|
196
174
|
orm_adapter (0.5.0)
|
197
175
|
plupload-rails (1.1.0)
|
198
176
|
rails (>= 3.1)
|
199
|
-
polyglot (0.3.
|
177
|
+
polyglot (0.3.4)
|
200
178
|
posix-spawn (0.3.8)
|
201
179
|
pry (0.9.12.4)
|
202
180
|
coderay (~> 1.0)
|
@@ -229,13 +207,19 @@ GEM
|
|
229
207
|
posix-spawn (~> 0.3.6)
|
230
208
|
yajl-ruby (~> 1.1.0)
|
231
209
|
rack (1.5.2)
|
232
|
-
rack-mini-profiler (0.1.23)
|
233
|
-
rack (>= 1.1.3)
|
234
210
|
rack-openid (1.3.1)
|
235
211
|
rack (>= 1.1.0)
|
236
212
|
ruby-openid (>= 2.1.8)
|
237
213
|
rack-test (0.6.2)
|
238
214
|
rack (>= 1.0)
|
215
|
+
rails (4.0.3)
|
216
|
+
actionmailer (= 4.0.3)
|
217
|
+
actionpack (= 4.0.3)
|
218
|
+
activerecord (= 4.0.3)
|
219
|
+
activesupport (= 4.0.3)
|
220
|
+
bundler (>= 1.3.0, < 2.0)
|
221
|
+
railties (= 4.0.3)
|
222
|
+
sprockets-rails (~> 2.0.0)
|
239
223
|
rails-assets-backbone (1.1.0)
|
240
224
|
rails-assets-highlightjs (7.5.0)
|
241
225
|
rails-assets-jquery (2.0.3)
|
@@ -247,6 +231,11 @@ GEM
|
|
247
231
|
rails-timeago (2.8.0)
|
248
232
|
actionpack (>= 3.1)
|
249
233
|
activesupport (>= 3.1)
|
234
|
+
railties (4.0.3)
|
235
|
+
actionpack (= 4.0.3)
|
236
|
+
activesupport (= 4.0.3)
|
237
|
+
rake (>= 0.8.7)
|
238
|
+
thor (>= 0.18.1, < 2.0)
|
250
239
|
rake (10.1.1)
|
251
240
|
rdoc (3.12.2)
|
252
241
|
json (~> 1.4)
|
@@ -256,7 +245,7 @@ GEM
|
|
256
245
|
ruby-openid (2.3.0)
|
257
246
|
sanitize (2.0.6)
|
258
247
|
nokogiri (>= 1.4.4)
|
259
|
-
sass (3.2
|
248
|
+
sass (3.3.2)
|
260
249
|
sass-rails (4.0.1)
|
261
250
|
railties (>= 4.0.0, < 5.0)
|
262
251
|
sass (>= 3.1.10)
|
@@ -299,8 +288,7 @@ GEM
|
|
299
288
|
polyglot (>= 0.3.1)
|
300
289
|
turbolinks (2.0.0)
|
301
290
|
coffee-rails
|
302
|
-
tzinfo (
|
303
|
-
thread_safe (~> 0.1)
|
291
|
+
tzinfo (0.3.39)
|
304
292
|
uglifier (2.3.2)
|
305
293
|
execjs (>= 0.3.0)
|
306
294
|
json (>= 1.8.0)
|
@@ -339,8 +327,7 @@ DEPENDENCIES
|
|
339
327
|
omniauth-openid
|
340
328
|
plupload-rails
|
341
329
|
public_activity
|
342
|
-
|
343
|
-
rails!
|
330
|
+
rails (= 4.0.3)
|
344
331
|
rails-assets-backbone
|
345
332
|
rails-assets-highlightjs
|
346
333
|
rails-assets-jquery-autosize
|
@@ -8,6 +8,26 @@ body
|
|
8
8
|
font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif
|
9
9
|
font-size: 15px
|
10
10
|
line-height: 1.428571429
|
11
|
+
padding-top: 60px
|
12
|
+
|
13
|
+
/* Hide for mobile, show later */
|
14
|
+
.sidebar
|
15
|
+
display: none
|
16
|
+
|
17
|
+
@media (min-width: 768px)
|
18
|
+
.sidebar
|
19
|
+
position: fixed
|
20
|
+
top: 51px
|
21
|
+
bottom: 0
|
22
|
+
left: 0
|
23
|
+
z-index: 1000
|
24
|
+
display: block
|
25
|
+
padding: 0px
|
26
|
+
overflow-x: hidden
|
27
|
+
overflow-y: auto // Scrollable contents if viewport is shorter than content. */
|
28
|
+
// background-color: #f5f5f5
|
29
|
+
background-color: #ecf0f1
|
30
|
+
border-right: 1px solid #eee
|
11
31
|
|
12
32
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6
|
13
33
|
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif
|
@@ -1,5 +1,5 @@
|
|
1
|
-
.navbar.navbar-inverse.navbar-
|
2
|
-
.container
|
1
|
+
.navbar.navbar-inverse.navbar-fixed-top.main-navbar
|
2
|
+
.container-fluid
|
3
3
|
.navbar-header
|
4
4
|
%button.navbar-toggle{"data-target" => "#bs-example-navbar-collapse-1", "data-toggle" => "collapse", type: "button"}
|
5
5
|
%span.sr-only Toggle navigation
|
@@ -14,15 +14,15 @@
|
|
14
14
|
%body
|
15
15
|
= render 'layouts/nav_header'
|
16
16
|
|
17
|
-
.container
|
17
|
+
.container-fluid
|
18
18
|
- if notice.present?
|
19
19
|
.alert.alert-success= notice
|
20
20
|
- if alert.present?
|
21
21
|
.alert.alert-error= alert
|
22
22
|
|
23
|
-
.container
|
23
|
+
.container-fluid
|
24
24
|
.row
|
25
|
-
.col-md-3
|
25
|
+
.col-md-3.sidebar
|
26
26
|
- if current_user.present?
|
27
27
|
= render 'layouts/spaces'
|
28
28
|
|
@@ -36,5 +36,5 @@
|
|
36
36
|
%li
|
37
37
|
= link_to new_project_path do
|
38
38
|
%i.fa.fa-plus
|
39
|
-
.col-md-9
|
39
|
+
.col-md-9.col-md-offset-3
|
40
40
|
= yield
|
@@ -34,6 +34,11 @@
|
|
34
34
|
tools: "inserttable"
|
35
35
|
menubar: "edit insert format table tools"
|
36
36
|
toolbar: "undo redo | styleselect forecolor backcolor | bold italic | alignleft aligncenter alignright alignjustify | hr bullist numlist outdent indent | link image"
|
37
|
+
removeformat : [
|
38
|
+
{selector : 'b,strong,em,i,font,u,strike,sub,sup,h1,h2,h3,h4,h5,h6', remove : 'all', split : true, expand : false, block_expand : true, deep : true},
|
39
|
+
{selector : 'span', attributes : ['style', 'class'], remove : 'empty', split : true, expand : false, deep : true},
|
40
|
+
{selector : '*', attributes : ['style', 'class'], split : false, expand : false, deep : true}
|
41
|
+
]
|
37
42
|
style_formats: [
|
38
43
|
{title: 'Headers', items: [
|
39
44
|
{title: 'Header 1', format: 'h1'},
|
@@ -1,4 +1,4 @@
|
|
1
1
|
- end_page ||= nil
|
2
|
-
%ul{class: "#{page.has_children? ? 'nav-list-sub' : 'nav-list'}"}
|
2
|
+
%ul.list-unstyled{class: "#{page.has_children? ? 'nav-list-sub' : 'nav-list'}"}
|
3
3
|
- page.children.order("position asc").each do |child|
|
4
4
|
= render 'wiki/spaces/page_list_item', page: child, end_page: end_page
|
data/db/schema.rb
CHANGED
data/lib/tawork/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tawork
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Adnan Ali
|
@@ -13,6 +14,7 @@ dependencies:
|
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: rails
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - ~>
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - ~>
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -287,26 +290,27 @@ files:
|
|
287
290
|
homepage: ''
|
288
291
|
licenses:
|
289
292
|
- MIT
|
290
|
-
metadata: {}
|
291
293
|
post_install_message:
|
292
294
|
rdoc_options: []
|
293
295
|
require_paths:
|
294
296
|
- lib
|
295
297
|
required_ruby_version: !ruby/object:Gem::Requirement
|
298
|
+
none: false
|
296
299
|
requirements:
|
297
300
|
- - ! '>='
|
298
301
|
- !ruby/object:Gem::Version
|
299
302
|
version: '0'
|
300
303
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
304
|
+
none: false
|
301
305
|
requirements:
|
302
306
|
- - ! '>='
|
303
307
|
- !ruby/object:Gem::Version
|
304
308
|
version: '0'
|
305
309
|
requirements: []
|
306
310
|
rubyforge_project:
|
307
|
-
rubygems_version:
|
311
|
+
rubygems_version: 1.8.23
|
308
312
|
signing_key:
|
309
|
-
specification_version:
|
313
|
+
specification_version: 3
|
310
314
|
summary: Wiki and Tickets
|
311
315
|
test_files: []
|
312
316
|
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
YWM2ZDBmNTQ0MTVjNjZjZDA1NWFkYWJjMTAzMWZjZjU3MzY1YWFhNQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZTZhYmY5NTg4YzJkNzFlY2YyYWJkYTdhZTdkY2NmZWUxMDhjZDdkYg==
|
7
|
-
SHA512:
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
YTM1ZDFmNjRhNThkY2VlYjE5YjMwNjgzNWNhMjY2MThkMTRjZTcwNzFjNTRj
|
10
|
-
ODhhZWZlYWUxZjliMjJjYzg3NTk2NTU5NWQwZGI1MWJhNjZiZDI5NTBiNDk0
|
11
|
-
MWEwMjliNWFiZDU3OTc2MjNiNzdiZDk1NzlhOGYwNDNiNjMwODY=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NDIxYmIzNTcyNzMwYmQ2ZjkxNTgwOGE0MDhmYjkwNmE3MDkyNTFkYTljNjBi
|
14
|
-
YzA0MzY1MTc3ZTcxZGJmYzMyZTdjYzExNzExZWE1N2UwMWYzMjYwYzZlYmFi
|
15
|
-
YTBmNmZiNWZhYmUyNmU2MmQ3NDY3ZjA0MTRiZGEwZTM4YjIxZmE=
|