cortex-reaver 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/cortex_reaver +7 -2
- data/lib/cortex_reaver.rb +51 -71
- data/lib/cortex_reaver/config.rb +23 -7
- data/lib/cortex_reaver/controller/admin.rb +6 -8
- data/lib/cortex_reaver/controller/comment.rb +17 -17
- data/lib/cortex_reaver/controller/config.rb +3 -2
- data/lib/cortex_reaver/controller/controller.rb +22 -0
- data/lib/cortex_reaver/controller/documentation.rb +1 -3
- data/lib/cortex_reaver/controller/journal.rb +13 -12
- data/lib/cortex_reaver/controller/main.rb +36 -29
- data/lib/cortex_reaver/controller/page.rb +15 -11
- data/lib/cortex_reaver/controller/photograph.rb +21 -15
- data/lib/cortex_reaver/controller/project.rb +16 -13
- data/lib/cortex_reaver/controller/tag.rb +16 -14
- data/lib/cortex_reaver/controller/user.rb +11 -13
- data/lib/cortex_reaver/helper/attachments.rb +18 -12
- data/lib/cortex_reaver/helper/auth.rb +2 -2
- data/lib/cortex_reaver/helper/canonical.rb +2 -2
- data/lib/cortex_reaver/helper/crud.rb +78 -38
- data/lib/cortex_reaver/helper/feeds.rb +2 -5
- data/lib/cortex_reaver/helper/form.rb +1 -1
- data/lib/cortex_reaver/helper/navigation.rb +1 -1
- data/lib/cortex_reaver/helper/photographs.rb +12 -3
- data/lib/cortex_reaver/helper/template.rb +37 -0
- data/lib/cortex_reaver/{view/blank_layout.rhtml → layout/blank.rhtml} +1 -1
- data/lib/cortex_reaver/{view/text_layout.rhtml → layout/text.rhtml} +1 -1
- data/lib/cortex_reaver/migrations/013_draft.rb +17 -0
- data/lib/cortex_reaver/model/comment.rb +64 -53
- data/lib/cortex_reaver/model/journal.rb +23 -21
- data/lib/cortex_reaver/model/model.rb +9 -0
- data/lib/cortex_reaver/model/page.rb +24 -42
- data/lib/cortex_reaver/model/photograph.rb +17 -17
- data/lib/cortex_reaver/model/project.rb +21 -18
- data/lib/cortex_reaver/model/tag.rb +12 -8
- data/lib/cortex_reaver/model/user.rb +79 -41
- data/lib/cortex_reaver/public/css/main.css +4 -0
- data/lib/cortex_reaver/snippets/numeric.rb +15 -0
- data/lib/cortex_reaver/snippets/ramaze/cache/memcached.rb +14 -0
- data/lib/cortex_reaver/support/attachments.rb +113 -105
- data/lib/cortex_reaver/support/cached_rendering.rb +65 -62
- data/lib/cortex_reaver/support/canonical.rb +82 -85
- data/lib/cortex_reaver/support/comments.rb +57 -51
- data/lib/cortex_reaver/support/cortex_reaver_validation_helpers.rb +13 -0
- data/lib/cortex_reaver/support/sequenceable.rb +202 -203
- data/lib/cortex_reaver/support/tags.rb +103 -94
- data/lib/cortex_reaver/support/timestamps.rb +27 -21
- data/lib/cortex_reaver/support/viewable.rb +17 -0
- data/lib/cortex_reaver/version.rb +3 -3
- data/lib/cortex_reaver/view/admin/index.rhtml +2 -2
- data/lib/cortex_reaver/view/comments/comment.rhtml +4 -1
- data/lib/cortex_reaver/view/comments/list.rhtml +1 -1
- data/lib/cortex_reaver/view/comments/post_form.rhtml +1 -1
- data/lib/cortex_reaver/view/journals/form.rhtml +3 -1
- data/lib/cortex_reaver/view/journals/journal.rhtml +6 -4
- data/lib/cortex_reaver/view/journals/list.rhtml +2 -2
- data/lib/cortex_reaver/view/journals/show.rhtml +1 -1
- data/lib/cortex_reaver/view/pages/form.rhtml +2 -1
- data/lib/cortex_reaver/view/pages/list.rhtml +2 -2
- data/lib/cortex_reaver/view/pages/show.rhtml +1 -1
- data/lib/cortex_reaver/view/photographs/form.rhtml +7 -3
- data/lib/cortex_reaver/view/photographs/list.rhtml +1 -1
- data/lib/cortex_reaver/view/photographs/show.rhtml +7 -7
- data/lib/cortex_reaver/view/projects/form.rhtml +1 -0
- data/lib/cortex_reaver/view/projects/list.rhtml +3 -3
- data/lib/cortex_reaver/view/projects/show.rhtml +5 -2
- data/lib/cortex_reaver/view/tags/list.rhtml +6 -2
- data/lib/cortex_reaver/view/tags/show.rhtml +10 -5
- data/lib/cortex_reaver/view/users/form.rhtml +1 -1
- data/lib/cortex_reaver/view/users/list.rhtml +5 -2
- data/lib/cortex_reaver/view/users/login.rhtml +1 -1
- data/lib/cortex_reaver/view/users/show.rhtml +5 -1
- metadata +159 -149
- data/lib/cortex_reaver/public/dispatch.fcgi +0 -11
- data/lib/cortex_reaver/snippets/ramaze/dispatcher/file.rb +0 -37
- data/lib/cortex_reaver/support/pagination.rb +0 -38
- data/lib/cortex_reaver/view/error.rhtml +0 -72
- data/lib/cortex_reaver/view/photographs/short.rhtml +0 -3
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="page <%= @page.tags.map {|t| 'tagged_' + t.name}.join(' ')%>" id="page_<%= @page.name %>">
|
1
|
+
<div class="page <%= @page.tags.map {|t| 'tagged_' + t.name}.join(' ')%> <%= @page.draft ? 'draft' : ''%>" id="page_<%= @page.name %>">
|
2
2
|
<div class="body">
|
3
3
|
<%= @page.body_cache %>
|
4
4
|
<div class="clear"></div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<%= errors_on @photograph %>
|
4
4
|
|
5
|
-
<form class="edit-form" action="<%=
|
5
|
+
<form class="edit-form" action="<%= rs @form_action %>" method="post" enctype="multipart/form-data">
|
6
6
|
<%= form_p :title, :model => @photograph %>
|
7
7
|
<%= live_name_field @photograph %>
|
8
8
|
<%= live_tags_field @photograph %>
|
@@ -11,9 +11,13 @@
|
|
11
11
|
<input id="image" name="image" size="30" type="file" />
|
12
12
|
</p>
|
13
13
|
<p>
|
14
|
-
|
14
|
+
|
15
|
+
<%= form_p :draft, :model => @photograph, :type => 'checkbox', :description => 'This is a draft' %>
|
16
|
+
|
17
|
+
<p>
|
15
18
|
<input id="infer_date" name="infer_date" type="checkbox" value="1" checked="checked" />
|
19
|
+
<label class="checkbox" for="infer_date">Infer date from EXIF tag?</label>
|
16
20
|
</p>
|
17
21
|
|
18
|
-
<input type="submit" name="submit"
|
22
|
+
<p><input type="submit" name="submit" /></p>
|
19
23
|
</form>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
<%= page_nav CortexReaver::Photograph, @page %>
|
3
3
|
<% end %>
|
4
4
|
|
5
|
-
<%=
|
5
|
+
<%= CortexReaver::PhotographController.render_view('grid', :photographs => @photographs) %>
|
6
6
|
|
7
7
|
<% if @page %>
|
8
8
|
<%= page_nav CortexReaver::Photograph, @page %>
|
@@ -12,7 +12,7 @@
|
|
12
12
|
<ul class="actions">
|
13
13
|
<% if previous_photo = @photograph.previous %>
|
14
14
|
<li>
|
15
|
-
|
15
|
+
<a href="<%= previous_photo.url %>">« Previous</a>
|
16
16
|
</li>
|
17
17
|
<% end %>
|
18
18
|
<li>
|
@@ -20,12 +20,12 @@
|
|
20
20
|
</li>
|
21
21
|
<% if user.can_edit? @photograph %>
|
22
22
|
<li>
|
23
|
-
<%=
|
23
|
+
<%= a('Edit', r(:edit, @photograph.id)) %>
|
24
24
|
</li>
|
25
25
|
<% end %>
|
26
26
|
<% if next_photo = @photograph.next %>
|
27
27
|
<li>
|
28
|
-
|
28
|
+
<a href="<%= next_photo.url %>">Next »</a>
|
29
29
|
</li>
|
30
30
|
<% end %>
|
31
31
|
</ul>
|
@@ -42,11 +42,11 @@
|
|
42
42
|
|
43
43
|
<h2>
|
44
44
|
<% if previous_photo %>
|
45
|
-
|
45
|
+
<a href="<%= previous_photo.url %>">«</a>
|
46
46
|
<% end %>
|
47
47
|
<%=h @photograph.title %>
|
48
48
|
<% if next_photo %>
|
49
|
-
|
49
|
+
<a href="<%= next_photo.url %>">»</a>
|
50
50
|
<% end %>
|
51
51
|
</h2>
|
52
52
|
<div class="byline">
|
@@ -78,7 +78,7 @@
|
|
78
78
|
<div class="comments">
|
79
79
|
<a id="comments"></a>
|
80
80
|
<% @photograph.comments_dataset.order(:created_on).all.each do |comment| %>
|
81
|
-
<%=
|
81
|
+
<%= CortexReaver::CommentController.render_view :comment, 'comment' => comment %>
|
82
82
|
<% end %>
|
83
83
|
</div>
|
84
84
|
|
@@ -102,7 +102,7 @@
|
|
102
102
|
<tr>
|
103
103
|
<td class="border_left"></td>
|
104
104
|
<td class="content">
|
105
|
-
<%=
|
105
|
+
<%= CortexReaver::CommentController.render_view :post_form, 'comment' => @new_comment %>
|
106
106
|
</td>
|
107
107
|
<td class="border_right"></td>
|
108
108
|
</tr>
|
@@ -9,5 +9,6 @@
|
|
9
9
|
<%= form_p :description, :model => @project %>
|
10
10
|
<%= form_p :body, :model => @project, :type => 'textarea' %>
|
11
11
|
<%= attachment_form @project %>
|
12
|
+
<%= form_p :draft, :model => @project, :type => 'checkbox', :description => 'This is a draft' %>
|
12
13
|
<input type="submit" name="submit" />
|
13
14
|
</form>
|
@@ -16,13 +16,13 @@
|
|
16
16
|
<tbody>
|
17
17
|
<% @projects.each do |project| %>
|
18
18
|
<tr>
|
19
|
-
<td><%=
|
19
|
+
<td><%= CortexReaver::ProjectController.a(project.title, project.name) %></td>
|
20
20
|
<td><%= project.description %></td>
|
21
21
|
<% if user.can_edit? project %>
|
22
|
-
<td><a href="
|
22
|
+
<td><a href="<%= CortexReaver::ProjectController.r(:edit, project.id) %>">Edit</a></td>
|
23
23
|
<% end %>
|
24
24
|
<% if user.can_delete? project %>
|
25
|
-
<td
|
25
|
+
<td><a href="<%= CortexReaver::ProjectController.r(:delete, project.id) %>" onclick="return confirm('Are you sure you want to delete this project?');" >Delete</a></td>
|
26
26
|
<% end %>
|
27
27
|
</tr>
|
28
28
|
<% end %>
|
@@ -21,7 +21,10 @@
|
|
21
21
|
</a></li>
|
22
22
|
<% end %>
|
23
23
|
<% if user.can_delete? @project %>
|
24
|
-
<li
|
24
|
+
<li>
|
25
|
+
<a href="<%= CortexReaver::ProjectController.r(:delete, @project.id) %>" onclick="return confirm('Are you sure you want to delete this project?');" >
|
26
|
+
<img src="/images/delete.gif" class="icon" alt="delete" /> Delete
|
27
|
+
</a>
|
25
28
|
<% end %>
|
26
29
|
</ul>
|
27
30
|
</div>
|
@@ -34,6 +37,6 @@
|
|
34
37
|
<% end %>
|
35
38
|
</div>
|
36
39
|
|
37
|
-
<%=
|
40
|
+
<%= CortexReaver::CommentController.render_view 'post_form', 'comment' => @new_comment %>
|
38
41
|
<% end %>
|
39
42
|
</div>
|
@@ -18,12 +18,16 @@
|
|
18
18
|
<% max_count = top_tag ? top_tag.count : 1 %>
|
19
19
|
<% @tags.each do |tag| %>
|
20
20
|
<tr>
|
21
|
-
<td class="title"><%=
|
21
|
+
<td class="title"><%= CortexReaver::TagController.a(tag.title, :show, tag.name) %></td>
|
22
22
|
<% if user.can_edit? tag %>
|
23
23
|
<td><a href="/tags/edit/<%= tag.id %>">Edit</a></td>
|
24
24
|
<% end %>
|
25
25
|
<% if user.can_delete? tag %>
|
26
|
-
|
26
|
+
<td>
|
27
|
+
<a href="<%= CortexReaver::TagController.r(:delete, tag.id) %>" onclick="return confirm('Are you sure you want to delete this tag?');">
|
28
|
+
<img src="/images/delete.gif" class="icon" alt="delete" /> Delete
|
29
|
+
</a>
|
30
|
+
</td>
|
27
31
|
<% end %>
|
28
32
|
<td class="count" style="width: <%= admin? ? 60 : 80 %>%"><div class="percent-bar" style="width: <%= tag.count.to_f / max_count * 100 %>%"><%= tag.count %></div></td>
|
29
33
|
</tr>
|
@@ -6,7 +6,7 @@
|
|
6
6
|
<h3>Pages</h3>
|
7
7
|
<ul>
|
8
8
|
<% pages.each do |page| %>
|
9
|
-
<li
|
9
|
+
<li><a href="<%=page.url%>"><%= h page.title %></a></li>
|
10
10
|
<% end %>
|
11
11
|
</ul>
|
12
12
|
</div>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
<h3>Projects</h3>
|
17
17
|
<ul>
|
18
18
|
<% projects.each do |project| %>
|
19
|
-
<li
|
19
|
+
<li><a href="<%= project.url%>"><%= h project.title %></a></li>
|
20
20
|
<% end %>
|
21
21
|
</ul>
|
22
22
|
</div>
|
@@ -26,7 +26,7 @@
|
|
26
26
|
<h3>Journals</h3>
|
27
27
|
<ul>
|
28
28
|
<% journals.each do |journal| %>
|
29
|
-
<li
|
29
|
+
<li><a href="<%= journal.url %>"><%=h journal.title%></a></li>
|
30
30
|
<% end %>
|
31
31
|
</ul>
|
32
32
|
</div>
|
@@ -34,7 +34,7 @@
|
|
34
34
|
<% unless (photographs = CortexReaver::Photograph.tagged_with(@tags)).empty? %>
|
35
35
|
<div class="photographs">
|
36
36
|
<h3>Photographs</h3>
|
37
|
-
<%=
|
37
|
+
<%= CortexReaver::PhotographController.render_view :grid, :photographs => photographs %>
|
38
38
|
</div>
|
39
39
|
<% end %>
|
40
40
|
</div>
|
@@ -46,7 +46,12 @@
|
|
46
46
|
</a></li>
|
47
47
|
<% end %>
|
48
48
|
<% if @tags.size == 1 and user.can_delete? @tags.first %>
|
49
|
-
<li
|
49
|
+
<li>
|
50
|
+
<a href="<%= CortexReaver::TagController.r(:delete, @tags.first.id) %>"
|
51
|
+
onclick="return confirm('Are you sure you want to delete this tag?');">
|
52
|
+
<img src="/images/delete.gif" class="icon" alt="delete" /> Delete
|
53
|
+
</a>
|
54
|
+
</li>
|
50
55
|
<% end %>
|
51
56
|
</ul>
|
52
57
|
</div>
|
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
<%= errors_on @user %>
|
4
4
|
|
5
|
-
<form class="edit-form" action="<%=
|
5
|
+
<form class="edit-form" action="<%= rs(@form_action) %>" method="post">
|
6
6
|
<%= form_p :login, :model => @user %>
|
7
7
|
<%= form_p 'name', :model => @user %>
|
8
8
|
<%= form_p 'http', :description => 'HTTP', :model => @user %>
|
@@ -18,7 +18,7 @@
|
|
18
18
|
<tbody>
|
19
19
|
<% @users.each do |user| %>
|
20
20
|
<tr>
|
21
|
-
<td><%=
|
21
|
+
<td><%= a user.login, user.url %></td>
|
22
22
|
<td><%= h user.name %></td>
|
23
23
|
<% if session[:user].can_edit? user %>
|
24
24
|
<td>
|
@@ -29,7 +29,10 @@
|
|
29
29
|
<% end %>
|
30
30
|
<% if session[:user].can_delete? user %>
|
31
31
|
<td>
|
32
|
-
|
32
|
+
<a href="/users/delete/<%=user.id%>"
|
33
|
+
onclick="return confirm('Are you sure you wish to delete this user?');">
|
34
|
+
<img src="/images/delete.gif" class="icon" alt="delete" /> Delete
|
35
|
+
</a>
|
33
36
|
</td>
|
34
37
|
<% end %>
|
35
38
|
</tr>
|
@@ -27,7 +27,11 @@
|
|
27
27
|
<li><a href="/users/edit/<%= @user.id %>">
|
28
28
|
<img src="/images/edit.gif" class="icon" alt="comment" /> Edit
|
29
29
|
</a></li>
|
30
|
-
<li
|
30
|
+
<li>
|
31
|
+
<a href="/users/delete/<%=@user.id%>"
|
32
|
+
onclick="return confirm('Are you sure you wish to delete this user?');">
|
33
|
+
<img src="/images/delete.gif" class="icon" alt="delete" /> Delete
|
34
|
+
</a>
|
31
35
|
<% end %>
|
32
36
|
</ul>
|
33
37
|
</div>
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cortex-reaver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
7
|
+
- Kyle Kingsbury
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-06-07 00:00:00 -05:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -20,7 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: "2009.
|
23
|
+
version: "2009.05"
|
24
24
|
version:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: builder
|
@@ -70,7 +70,17 @@ dependencies:
|
|
70
70
|
requirements:
|
71
71
|
- - ~>
|
72
72
|
- !ruby/object:Gem::Version
|
73
|
-
version:
|
73
|
+
version: 3.0.0
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: sequel_notnaughty
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ~>
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 0.6.2
|
74
84
|
version:
|
75
85
|
- !ruby/object:Gem::Dependency
|
76
86
|
name: thin
|
@@ -112,176 +122,176 @@ extra_rdoc_files: []
|
|
112
122
|
|
113
123
|
files:
|
114
124
|
- bin/cortex_reaver
|
115
|
-
- lib/
|
116
|
-
- lib/proto/cortex_reaver.yaml
|
125
|
+
- lib/cortex_reaver.rb
|
117
126
|
- lib/cortex_reaver
|
118
|
-
- lib/cortex_reaver/
|
119
|
-
- lib/cortex_reaver/
|
120
|
-
- lib/cortex_reaver/
|
121
|
-
- lib/cortex_reaver/helper/activity.rb
|
122
|
-
- lib/cortex_reaver/helper/attachments.rb
|
123
|
-
- lib/cortex_reaver/helper/crud.rb
|
124
|
-
- lib/cortex_reaver/helper/photographs.rb
|
125
|
-
- lib/cortex_reaver/helper/date.rb
|
126
|
-
- lib/cortex_reaver/helper/auth.rb
|
127
|
-
- lib/cortex_reaver/helper/pages.rb
|
128
|
-
- lib/cortex_reaver/helper/workflow.rb
|
129
|
-
- lib/cortex_reaver/helper/navigation.rb
|
130
|
-
- lib/cortex_reaver/helper/error.rb
|
131
|
-
- lib/cortex_reaver/helper/tags.rb
|
132
|
-
- lib/cortex_reaver/helper/canonical.rb
|
133
|
-
- lib/cortex_reaver/helper/feeds.rb
|
134
|
-
- lib/cortex_reaver/controller
|
135
|
-
- lib/cortex_reaver/controller/config.rb
|
136
|
-
- lib/cortex_reaver/controller/comment.rb
|
137
|
-
- lib/cortex_reaver/controller/project.rb
|
138
|
-
- lib/cortex_reaver/controller/user.rb
|
139
|
-
- lib/cortex_reaver/controller/main.rb
|
140
|
-
- lib/cortex_reaver/controller/journal.rb
|
141
|
-
- lib/cortex_reaver/controller/documentation.rb
|
142
|
-
- lib/cortex_reaver/controller/photograph.rb
|
143
|
-
- lib/cortex_reaver/controller/admin.rb
|
144
|
-
- lib/cortex_reaver/controller/page.rb
|
145
|
-
- lib/cortex_reaver/controller/tag.rb
|
146
|
-
- lib/cortex_reaver/support
|
147
|
-
- lib/cortex_reaver/support/attachments.rb
|
148
|
-
- lib/cortex_reaver/support/sequenceable.rb
|
149
|
-
- lib/cortex_reaver/support/comments.rb
|
150
|
-
- lib/cortex_reaver/support/tags.rb
|
151
|
-
- lib/cortex_reaver/support/cached_rendering.rb
|
152
|
-
- lib/cortex_reaver/support/timestamps.rb
|
153
|
-
- lib/cortex_reaver/support/renderer.rb
|
154
|
-
- lib/cortex_reaver/support/canonical.rb
|
155
|
-
- lib/cortex_reaver/support/renderers
|
156
|
-
- lib/cortex_reaver/support/pagination.rb
|
157
|
-
- lib/cortex_reaver/view
|
158
|
-
- lib/cortex_reaver/view/users
|
159
|
-
- lib/cortex_reaver/view/users/register.rhtml
|
160
|
-
- lib/cortex_reaver/view/users/login.rhtml
|
161
|
-
- lib/cortex_reaver/view/users/show.rhtml
|
162
|
-
- lib/cortex_reaver/view/users/user.rhtml
|
163
|
-
- lib/cortex_reaver/view/users/list.rhtml
|
164
|
-
- lib/cortex_reaver/view/users/form.rhtml
|
165
|
-
- lib/cortex_reaver/view/admin
|
166
|
-
- lib/cortex_reaver/view/admin/index.rhtml
|
167
|
-
- lib/cortex_reaver/view/admin/update_tags.rhtml
|
168
|
-
- lib/cortex_reaver/view/text_layout.rhtml
|
169
|
-
- lib/cortex_reaver/view/pages
|
170
|
-
- lib/cortex_reaver/view/pages/show.rhtml
|
171
|
-
- lib/cortex_reaver/view/pages/list.rhtml
|
172
|
-
- lib/cortex_reaver/view/pages/form.rhtml
|
173
|
-
- lib/cortex_reaver/view/adminbox.rhtml
|
174
|
-
- lib/cortex_reaver/view/error.rhtml
|
175
|
-
- lib/cortex_reaver/view/config
|
176
|
-
- lib/cortex_reaver/view/config/form.rhtml
|
177
|
-
- lib/cortex_reaver/view/projects
|
178
|
-
- lib/cortex_reaver/view/projects/show.rhtml
|
179
|
-
- lib/cortex_reaver/view/projects/list.rhtml
|
180
|
-
- lib/cortex_reaver/view/projects/form.rhtml
|
181
|
-
- lib/cortex_reaver/view/photographs
|
182
|
-
- lib/cortex_reaver/view/photographs/show.rhtml
|
183
|
-
- lib/cortex_reaver/view/photographs/grid.rhtml
|
184
|
-
- lib/cortex_reaver/view/photographs/sidebar.rhtml
|
185
|
-
- lib/cortex_reaver/view/photographs/atom_fragment.rhtml
|
186
|
-
- lib/cortex_reaver/view/photographs/list.rhtml
|
187
|
-
- lib/cortex_reaver/view/photographs/short.rhtml
|
188
|
-
- lib/cortex_reaver/view/photographs/form.rhtml
|
189
|
-
- lib/cortex_reaver/view/tags
|
190
|
-
- lib/cortex_reaver/view/tags/show.rhtml
|
191
|
-
- lib/cortex_reaver/view/tags/list.rhtml
|
192
|
-
- lib/cortex_reaver/view/tags/form.rhtml
|
193
|
-
- lib/cortex_reaver/view/comments
|
194
|
-
- lib/cortex_reaver/view/comments/list.rhtml
|
195
|
-
- lib/cortex_reaver/view/comments/form.rhtml
|
196
|
-
- lib/cortex_reaver/view/comments/post_form.rhtml
|
197
|
-
- lib/cortex_reaver/view/comments/comment.rhtml
|
198
|
-
- lib/cortex_reaver/view/journals
|
199
|
-
- lib/cortex_reaver/view/journals/show.rhtml
|
200
|
-
- lib/cortex_reaver/view/journals/journal.rhtml
|
201
|
-
- lib/cortex_reaver/view/journals/list.rhtml
|
202
|
-
- lib/cortex_reaver/view/journals/short.rhtml
|
203
|
-
- lib/cortex_reaver/view/journals/form.rhtml
|
204
|
-
- lib/cortex_reaver/view/blank_layout.rhtml
|
205
|
-
- lib/cortex_reaver/view/documentation
|
206
|
-
- lib/cortex_reaver/view/documentation/users.rhtml
|
207
|
-
- lib/cortex_reaver/view/documentation/formatting.rhtml
|
208
|
-
- lib/cortex_reaver/plugin.rb
|
209
|
-
- lib/cortex_reaver/model
|
210
|
-
- lib/cortex_reaver/model/comment.rb
|
211
|
-
- lib/cortex_reaver/model/project.rb
|
212
|
-
- lib/cortex_reaver/model/user.rb
|
213
|
-
- lib/cortex_reaver/model/journal.rb
|
214
|
-
- lib/cortex_reaver/model/photograph.rb
|
215
|
-
- lib/cortex_reaver/model/page.rb
|
216
|
-
- lib/cortex_reaver/model/tag.rb
|
127
|
+
- lib/cortex_reaver/layout
|
128
|
+
- lib/cortex_reaver/layout/text.rhtml
|
129
|
+
- lib/cortex_reaver/layout/blank.rhtml
|
217
130
|
- lib/cortex_reaver/public
|
131
|
+
- lib/cortex_reaver/public/css
|
132
|
+
- lib/cortex_reaver/public/css/custom.css
|
133
|
+
- lib/cortex_reaver/public/css/text.css
|
134
|
+
- lib/cortex_reaver/public/css/form.css
|
135
|
+
- lib/cortex_reaver/public/css/admin.css
|
136
|
+
- lib/cortex_reaver/public/css/photo.css
|
137
|
+
- lib/cortex_reaver/public/css/main.css
|
138
|
+
- lib/cortex_reaver/public/css/ramaze_error.css
|
139
|
+
- lib/cortex_reaver/public/css/code.css
|
218
140
|
- lib/cortex_reaver/public/images
|
219
|
-
- lib/cortex_reaver/public/images/
|
141
|
+
- lib/cortex_reaver/public/images/border_top.png
|
142
|
+
- lib/cortex_reaver/public/images/border_bottom_right.png
|
143
|
+
- lib/cortex_reaver/public/images/sections_highlight.png
|
220
144
|
- lib/cortex_reaver/public/images/atom-xml-icon.png
|
145
|
+
- lib/cortex_reaver/public/images/tag.gif
|
146
|
+
- lib/cortex_reaver/public/images/border_top_right.png
|
147
|
+
- lib/cortex_reaver/public/images/border_left.png
|
221
148
|
- lib/cortex_reaver/public/images/header.png
|
222
149
|
- lib/cortex_reaver/public/images/header_background.png
|
223
|
-
- lib/cortex_reaver/public/images/
|
224
|
-
- lib/cortex_reaver/public/images/
|
150
|
+
- lib/cortex_reaver/public/images/delete.gif
|
151
|
+
- lib/cortex_reaver/public/images/indicator.gif
|
225
152
|
- lib/cortex_reaver/public/images/border_bottom.png
|
226
|
-
- lib/cortex_reaver/public/images/sections.png
|
227
153
|
- lib/cortex_reaver/public/images/header.xcf
|
228
|
-
- lib/cortex_reaver/public/images/border_top.png
|
229
154
|
- lib/cortex_reaver/public/images/parent.gif
|
155
|
+
- lib/cortex_reaver/public/images/rss-xml-icon.png
|
230
156
|
- lib/cortex_reaver/public/images/border_top_left.png
|
231
|
-
- lib/cortex_reaver/public/images/
|
232
|
-
- lib/cortex_reaver/public/images/
|
157
|
+
- lib/cortex_reaver/public/images/body.png
|
158
|
+
- lib/cortex_reaver/public/images/CortexReaver.gif
|
233
159
|
- lib/cortex_reaver/public/images/dark_trans.png
|
234
160
|
- lib/cortex_reaver/public/images/border_bottom_left.png
|
235
|
-
- lib/cortex_reaver/public/images/tag.gif
|
236
161
|
- lib/cortex_reaver/public/images/comment.gif
|
237
|
-
- lib/cortex_reaver/public/images/
|
238
|
-
- lib/cortex_reaver/public/images/
|
162
|
+
- lib/cortex_reaver/public/images/edit.gif
|
163
|
+
- lib/cortex_reaver/public/images/sections.png
|
239
164
|
- lib/cortex_reaver/public/images/border_right.png
|
240
|
-
- lib/cortex_reaver/public/images/sections_highlight.png
|
241
|
-
- lib/cortex_reaver/public/images/CortexReaver.gif
|
242
|
-
- lib/cortex_reaver/public/images/rss-xml-icon.png
|
243
165
|
- lib/cortex_reaver/public/js
|
244
|
-
- lib/cortex_reaver/public/js/jquery.js
|
245
|
-
- lib/cortex_reaver/public/js/
|
166
|
+
- lib/cortex_reaver/public/js/jquery.dimensions.js
|
167
|
+
- lib/cortex_reaver/public/js/cookie.js
|
246
168
|
- lib/cortex_reaver/public/js/admin.js
|
247
|
-
- lib/cortex_reaver/public/js/photo.js
|
248
169
|
- lib/cortex_reaver/public/js/jquery.autocomplete.js
|
249
170
|
- lib/cortex_reaver/public/js/jquery.autocompletefb.js
|
250
|
-
- lib/cortex_reaver/public/js/jquery.
|
251
|
-
- lib/cortex_reaver/public/js/
|
252
|
-
- lib/cortex_reaver/public/
|
253
|
-
- lib/cortex_reaver/
|
254
|
-
- lib/cortex_reaver/
|
255
|
-
- lib/cortex_reaver/
|
256
|
-
- lib/cortex_reaver/
|
257
|
-
- lib/cortex_reaver/
|
258
|
-
- lib/cortex_reaver/
|
259
|
-
- lib/cortex_reaver/
|
260
|
-
- lib/cortex_reaver/
|
261
|
-
- lib/cortex_reaver/
|
262
|
-
- lib/cortex_reaver/
|
263
|
-
- lib/cortex_reaver/
|
264
|
-
- lib/cortex_reaver/public/dispatch.fcgi
|
171
|
+
- lib/cortex_reaver/public/js/jquery.js
|
172
|
+
- lib/cortex_reaver/public/js/jquery.bgiframe.min.js
|
173
|
+
- lib/cortex_reaver/public/js/photo.js
|
174
|
+
- lib/cortex_reaver/model
|
175
|
+
- lib/cortex_reaver/model/project.rb
|
176
|
+
- lib/cortex_reaver/model/tag.rb
|
177
|
+
- lib/cortex_reaver/model/model.rb
|
178
|
+
- lib/cortex_reaver/model/comment.rb
|
179
|
+
- lib/cortex_reaver/model/photograph.rb
|
180
|
+
- lib/cortex_reaver/model/journal.rb
|
181
|
+
- lib/cortex_reaver/model/user.rb
|
182
|
+
- lib/cortex_reaver/model/page.rb
|
183
|
+
- lib/cortex_reaver/plugin.rb
|
184
|
+
- lib/cortex_reaver/version.rb
|
265
185
|
- lib/cortex_reaver/snippets
|
266
|
-
- lib/cortex_reaver/snippets/
|
267
|
-
- lib/cortex_reaver/snippets/ramaze/dispatcher
|
268
|
-
- lib/cortex_reaver/snippets/ramaze/dispatcher/file.rb
|
186
|
+
- lib/cortex_reaver/snippets/numeric.rb
|
269
187
|
- lib/cortex_reaver/snippets/array.rb
|
188
|
+
- lib/cortex_reaver/snippets/ramaze
|
189
|
+
- lib/cortex_reaver/snippets/ramaze/cache
|
190
|
+
- lib/cortex_reaver/snippets/ramaze/cache/memcached.rb
|
191
|
+
- lib/cortex_reaver/view
|
192
|
+
- lib/cortex_reaver/view/journals
|
193
|
+
- lib/cortex_reaver/view/journals/short.rhtml
|
194
|
+
- lib/cortex_reaver/view/journals/form.rhtml
|
195
|
+
- lib/cortex_reaver/view/journals/list.rhtml
|
196
|
+
- lib/cortex_reaver/view/journals/show.rhtml
|
197
|
+
- lib/cortex_reaver/view/journals/journal.rhtml
|
198
|
+
- lib/cortex_reaver/view/users
|
199
|
+
- lib/cortex_reaver/view/users/form.rhtml
|
200
|
+
- lib/cortex_reaver/view/users/login.rhtml
|
201
|
+
- lib/cortex_reaver/view/users/list.rhtml
|
202
|
+
- lib/cortex_reaver/view/users/show.rhtml
|
203
|
+
- lib/cortex_reaver/view/users/register.rhtml
|
204
|
+
- lib/cortex_reaver/view/users/user.rhtml
|
205
|
+
- lib/cortex_reaver/view/comments
|
206
|
+
- lib/cortex_reaver/view/comments/form.rhtml
|
207
|
+
- lib/cortex_reaver/view/comments/comment.rhtml
|
208
|
+
- lib/cortex_reaver/view/comments/list.rhtml
|
209
|
+
- lib/cortex_reaver/view/comments/post_form.rhtml
|
210
|
+
- lib/cortex_reaver/view/documentation
|
211
|
+
- lib/cortex_reaver/view/documentation/users.rhtml
|
212
|
+
- lib/cortex_reaver/view/documentation/formatting.rhtml
|
213
|
+
- lib/cortex_reaver/view/admin
|
214
|
+
- lib/cortex_reaver/view/admin/index.rhtml
|
215
|
+
- lib/cortex_reaver/view/admin/update_tags.rhtml
|
216
|
+
- lib/cortex_reaver/view/projects
|
217
|
+
- lib/cortex_reaver/view/projects/form.rhtml
|
218
|
+
- lib/cortex_reaver/view/projects/list.rhtml
|
219
|
+
- lib/cortex_reaver/view/projects/show.rhtml
|
220
|
+
- lib/cortex_reaver/view/photographs
|
221
|
+
- lib/cortex_reaver/view/photographs/form.rhtml
|
222
|
+
- lib/cortex_reaver/view/photographs/sidebar.rhtml
|
223
|
+
- lib/cortex_reaver/view/photographs/list.rhtml
|
224
|
+
- lib/cortex_reaver/view/photographs/grid.rhtml
|
225
|
+
- lib/cortex_reaver/view/photographs/show.rhtml
|
226
|
+
- lib/cortex_reaver/view/photographs/atom_fragment.rhtml
|
227
|
+
- lib/cortex_reaver/view/config
|
228
|
+
- lib/cortex_reaver/view/config/form.rhtml
|
229
|
+
- lib/cortex_reaver/view/pages
|
230
|
+
- lib/cortex_reaver/view/pages/form.rhtml
|
231
|
+
- lib/cortex_reaver/view/pages/list.rhtml
|
232
|
+
- lib/cortex_reaver/view/pages/show.rhtml
|
233
|
+
- lib/cortex_reaver/view/tags
|
234
|
+
- lib/cortex_reaver/view/tags/form.rhtml
|
235
|
+
- lib/cortex_reaver/view/tags/list.rhtml
|
236
|
+
- lib/cortex_reaver/view/tags/show.rhtml
|
237
|
+
- lib/cortex_reaver/view/adminbox.rhtml
|
270
238
|
- lib/cortex_reaver/migrations
|
271
|
-
- lib/cortex_reaver/migrations/
|
239
|
+
- lib/cortex_reaver/migrations/003_journals.rb
|
240
|
+
- lib/cortex_reaver/migrations/009_mysql.rb
|
272
241
|
- lib/cortex_reaver/migrations/011_user_roles.rb
|
273
242
|
- lib/cortex_reaver/migrations/002_pages.rb
|
274
|
-
- lib/cortex_reaver/migrations/005_projects.rb
|
275
243
|
- lib/cortex_reaver/migrations/006_tags.rb
|
276
|
-
- lib/cortex_reaver/migrations/
|
244
|
+
- lib/cortex_reaver/migrations/005_projects.rb
|
277
245
|
- lib/cortex_reaver/migrations/010_pageparents.rb
|
246
|
+
- lib/cortex_reaver/migrations/008_config.rb
|
247
|
+
- lib/cortex_reaver/migrations/012_created_by_edited_by.rb
|
278
248
|
- lib/cortex_reaver/migrations/007_comments.rb
|
279
|
-
- lib/cortex_reaver/migrations/
|
249
|
+
- lib/cortex_reaver/migrations/013_draft.rb
|
280
250
|
- lib/cortex_reaver/migrations/001_users.rb
|
281
|
-
- lib/cortex_reaver/migrations/
|
282
|
-
- lib/cortex_reaver/
|
283
|
-
- lib/cortex_reaver/
|
284
|
-
- lib/cortex_reaver.rb
|
251
|
+
- lib/cortex_reaver/migrations/004_photographs.rb
|
252
|
+
- lib/cortex_reaver/controller
|
253
|
+
- lib/cortex_reaver/controller/project.rb
|
254
|
+
- lib/cortex_reaver/controller/tag.rb
|
255
|
+
- lib/cortex_reaver/controller/main.rb
|
256
|
+
- lib/cortex_reaver/controller/comment.rb
|
257
|
+
- lib/cortex_reaver/controller/admin.rb
|
258
|
+
- lib/cortex_reaver/controller/photograph.rb
|
259
|
+
- lib/cortex_reaver/controller/journal.rb
|
260
|
+
- lib/cortex_reaver/controller/user.rb
|
261
|
+
- lib/cortex_reaver/controller/documentation.rb
|
262
|
+
- lib/cortex_reaver/controller/controller.rb
|
263
|
+
- lib/cortex_reaver/controller/config.rb
|
264
|
+
- lib/cortex_reaver/controller/page.rb
|
265
|
+
- lib/cortex_reaver/config.rb
|
266
|
+
- lib/cortex_reaver/support
|
267
|
+
- lib/cortex_reaver/support/attachments.rb
|
268
|
+
- lib/cortex_reaver/support/cortex_reaver_validation_helpers.rb
|
269
|
+
- lib/cortex_reaver/support/sequenceable.rb
|
270
|
+
- lib/cortex_reaver/support/viewable.rb
|
271
|
+
- lib/cortex_reaver/support/canonical.rb
|
272
|
+
- lib/cortex_reaver/support/tags.rb
|
273
|
+
- lib/cortex_reaver/support/timestamps.rb
|
274
|
+
- lib/cortex_reaver/support/comments.rb
|
275
|
+
- lib/cortex_reaver/support/renderer.rb
|
276
|
+
- lib/cortex_reaver/support/cached_rendering.rb
|
277
|
+
- lib/cortex_reaver/helper
|
278
|
+
- lib/cortex_reaver/helper/feeds.rb
|
279
|
+
- lib/cortex_reaver/helper/workflow.rb
|
280
|
+
- lib/cortex_reaver/helper/attachments.rb
|
281
|
+
- lib/cortex_reaver/helper/template.rb
|
282
|
+
- lib/cortex_reaver/helper/navigation.rb
|
283
|
+
- lib/cortex_reaver/helper/crud.rb
|
284
|
+
- lib/cortex_reaver/helper/photographs.rb
|
285
|
+
- lib/cortex_reaver/helper/pages.rb
|
286
|
+
- lib/cortex_reaver/helper/canonical.rb
|
287
|
+
- lib/cortex_reaver/helper/tags.rb
|
288
|
+
- lib/cortex_reaver/helper/auth.rb
|
289
|
+
- lib/cortex_reaver/helper/form.rb
|
290
|
+
- lib/cortex_reaver/helper/activity.rb
|
291
|
+
- lib/cortex_reaver/helper/date.rb
|
292
|
+
- lib/cortex_reaver/helper/error.rb
|
293
|
+
- lib/proto
|
294
|
+
- lib/proto/cortex_reaver.yaml
|
285
295
|
- LICENSE
|
286
296
|
- README
|
287
297
|
has_rdoc: true
|
@@ -306,7 +316,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
306
316
|
requirements: []
|
307
317
|
|
308
318
|
rubyforge_project: cortex-reaver
|
309
|
-
rubygems_version: 1.
|
319
|
+
rubygems_version: 1.3.1
|
310
320
|
signing_key:
|
311
321
|
specification_version: 2
|
312
322
|
summary: A dangerous Ruby blog engine, with a photographic memory.
|