burp_cms 1.3.31 → 1.3.32
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.
- checksums.yaml +4 -4
- data/README.markdown +131 -4
- data/Rakefile +1 -1
- data/app/assets/packages/burp/editing/css/gallery.css +5 -5
- data/app/assets/stylesheets/burp/application.less.erb +0 -1
- data/app/assets/stylesheets/burp/views/files/index.less +5 -8
- data/app/controllers/burp/static_controller.rb +4 -0
- data/app/views/burp/files/index.html.erb +6 -3
- data/app/views/burp/pages/edit.html.erb +1 -1
- data/app/views/burp/pages/index.html.erb +6 -3
- data/app/views/burp/static/about.html.erb +23 -0
- data/app/views/layouts/burp/application.html.erb +3 -2
- data/config/routes.rb +2 -1
- data/default_cms_content/menus/main.yaml +13 -0
- data/default_cms_content/pages/#root/main.html +22 -0
- data/default_cms_content/pages/#root/page.json +3 -0
- data/default_cms_content/pages/about/main.html +30 -0
- data/default_cms_content/pages/about/page.json +3 -0
- data/default_cms_content/pages/contact/main.html +8 -0
- data/default_cms_content/pages/contact/page.json +3 -0
- data/default_cms_content/pages/news/main.html +25 -0
- data/default_cms_content/pages/news/page.json +3 -0
- data/default_cms_content/pages/products/main.html +39 -0
- data/default_cms_content/pages/products/page.json +3 -0
- data/default_cms_content/uploads/1000x600.jpg +0 -0
- data/default_cms_content/uploads/150x100.jpg +0 -0
- data/default_cms_content/uploads/150x300.jpg +0 -0
- data/default_cms_content/uploads/400x200.jpg +0 -0
- data/default_cms_content/uploads/400x400.jpg +0 -0
- data/default_cms_content/uploads/600x300.jpg +0 -0
- data/default_cms_content/uploads/700x500.jpg +0 -0
- data/default_cms_content/uploads/large/1000x600.jpg +0 -0
- data/default_cms_content/uploads/large/150x100.jpg +0 -0
- data/default_cms_content/uploads/large/150x300.jpg +0 -0
- data/default_cms_content/uploads/large/400x200.jpg +0 -0
- data/default_cms_content/uploads/large/400x400.jpg +0 -0
- data/default_cms_content/uploads/large/600x300.jpg +0 -0
- data/default_cms_content/uploads/large/700x500.jpg +0 -0
- data/default_cms_content/uploads/medium/1000x600.jpg +0 -0
- data/default_cms_content/uploads/medium/150x100.jpg +0 -0
- data/default_cms_content/uploads/medium/150x300.jpg +0 -0
- data/default_cms_content/uploads/medium/400x200.jpg +0 -0
- data/default_cms_content/uploads/medium/400x400.jpg +0 -0
- data/default_cms_content/uploads/medium/600x300.jpg +0 -0
- data/default_cms_content/uploads/medium/700x500.jpg +0 -0
- data/default_cms_content/uploads/small/1000x600.jpg +0 -0
- data/default_cms_content/uploads/small/150x100.jpg +0 -0
- data/default_cms_content/uploads/small/150x300.jpg +0 -0
- data/default_cms_content/uploads/small/400x200.jpg +0 -0
- data/default_cms_content/uploads/small/400x400.jpg +0 -0
- data/default_cms_content/uploads/small/600x300.jpg +0 -0
- data/default_cms_content/uploads/small/700x500.jpg +0 -0
- data/lib/burp/engine.rb +5 -0
- data/lib/burp/version.rb +1 -1
- data/lib/tasks/burp_tasks.rake +11 -4
- metadata +42 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f328949e64d2acec6d18d5dc5ce0454ab2e951de
|
|
4
|
+
data.tar.gz: 96713b14392f7bb76bd26e3355826410b75cd907
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ec2f96ba1cbd69d9b5c2bbf223d4f31d28e493677f6ef2f33922e84beb934b72ff77aea5664a46db142b88f04968a243028f168a169f57e505bb5ad1befbc657
|
|
7
|
+
data.tar.gz: 9930e9b3a1b4ba1e07a260a6eed15649e977f3a89ae977342208e13df8e550067c752fa0e91f757784de336fad3aaafd0b43ab678095f798e497d93d6f0ef17e
|
data/README.markdown
CHANGED
|
@@ -1,11 +1,138 @@
|
|
|
1
|
-
# Burp, _A bad name for a good project_
|
|
2
1
|
|
|
3
|
-
A simple CMS for Rails.
|
|
4
2
|
|
|
5
|
-
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
# Burp
|
|
6
|
+
|
|
7
|
+
_The Big Universal Rubik's cube Processor_
|
|
8
|
+
|
|
9
|
+
Until we figure out how solve a Rubiks cube your welcome to use Burp as a CMS.
|
|
10
|
+
|
|
11
|
+
### Why Burp?
|
|
12
|
+
|
|
13
|
+
We think most CMS are some where between bad and awful!
|
|
14
|
+
|
|
15
|
+
So we created a new one in hope that we and others would like it. We have 3 guiding goals that help us stay away from bad and awful.
|
|
6
16
|
|
|
7
17
|
- Don't hinder the developer.
|
|
8
18
|
- Don't try to solve everything.
|
|
9
|
-
-
|
|
19
|
+
- Don't be ugly.
|
|
20
|
+
|
|
21
|
+
## Screenshots
|
|
22
|
+
|
|
23
|
+
**In the admin**
|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
**Adding an image**
|
|
27
|
+

|
|
28
|
+
|
|
29
|
+
**Editing text**
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
Add the gem to your Gemfile
|
|
35
|
+
|
|
36
|
+
gem 'burp_cms'
|
|
37
|
+
|
|
38
|
+
Install the gem and init burp.
|
|
39
|
+
|
|
40
|
+
bundle install
|
|
41
|
+
rake burp:init
|
|
42
|
+
|
|
43
|
+
You can find the admin on /burp/ and the default admin password in ./config/initializers/burp_access.rb.
|
|
44
|
+
|
|
45
|
+
## CMS Page's
|
|
46
|
+
|
|
47
|
+
There is a controller called CatchAll in the Rails engine that catches all requests not cought by any other rules. When a request has a path that
|
|
48
|
+
matches one of the CMS pages then that CMS page is loaded and shown.
|
|
49
|
+
|
|
50
|
+
### Snippets
|
|
51
|
+
|
|
52
|
+
An example for a sidebar snippet.
|
|
53
|
+
|
|
54
|
+
<%= @cms_page[:sidebar] %>
|
|
55
|
+
|
|
56
|
+
#### Snippets on other pages
|
|
57
|
+
|
|
58
|
+
To use snippets on pages not cought by the CatchAllController. The or part is to stop errors do to nil.
|
|
59
|
+
|
|
60
|
+
before_filter :load_cms_page
|
|
61
|
+
def load_cms_page
|
|
62
|
+
@cms_page = Burp.find_page(request.path) || Burp::Page.new(:snippets => [], :title => "", :id => request.path)
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
## Title
|
|
66
|
+
|
|
67
|
+
<title><%= @cms_page.title %></title>
|
|
68
|
+
|
|
69
|
+
## Menu
|
|
70
|
+
|
|
71
|
+
### Render the menu
|
|
72
|
+
|
|
73
|
+
<%= @menu.to_html(request) %>
|
|
74
|
+
|
|
75
|
+
Or do it manualy
|
|
76
|
+
|
|
77
|
+
<nav>
|
|
78
|
+
<ul>
|
|
79
|
+
<% @menu.children.select{|child| child.is_a?(Burp::Link) }.each do |child| %>
|
|
80
|
+
<li class="<%= child.css_class %> <%= child.current?(request) ? "active" : "" %>"><%= child.to_html %></li>
|
|
81
|
+
<% end %>
|
|
82
|
+
</ul>
|
|
83
|
+
</nav>
|
|
84
|
+
|
|
85
|
+
### Use menu on none CMS pages.
|
|
86
|
+
|
|
87
|
+
The @menu variable is only available for pages served with the catch_all controller. Do the below in the ApplicationController to have it available on all pages.
|
|
88
|
+
|
|
89
|
+
before_filter :load_menu
|
|
90
|
+
def load_menu
|
|
91
|
+
@menu = Burp::Menu.find("main")
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
## Global content like footers/headers
|
|
95
|
+
|
|
96
|
+
There is curently no builtin solution for this. Until we add this one can use the solution below to get the same as global snippets.
|
|
97
|
+
|
|
98
|
+
Add this to application_controller
|
|
99
|
+
|
|
100
|
+
helper_method :global_snippets
|
|
101
|
+
def global_snippets
|
|
102
|
+
@global_snippets ||= Burp.find_page("/global-snippets") || Burp::Page.new(:snippets => {}, :title => "Not a real page, Dont remove!", :page_id => "/global-snippets")
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
and use it like this in your views.
|
|
106
|
+
|
|
107
|
+
<html>
|
|
108
|
+
...
|
|
109
|
+
<body>
|
|
110
|
+
<header>
|
|
111
|
+
<%= global_snippets[:header] %>
|
|
112
|
+
</header>
|
|
113
|
+
....
|
|
114
|
+
<footer>
|
|
115
|
+
<%= global_snippets[:footer] %>
|
|
116
|
+
</footer>
|
|
117
|
+
</body>
|
|
118
|
+
</html>
|
|
119
|
+
|
|
120
|
+
## Authors
|
|
121
|
+
|
|
122
|
+
Authors: Björn Blomqvist
|
|
123
|
+
|
|
124
|
+
Special thanks to the following people and companies:
|
|
125
|
+
|
|
126
|
+
* [Erik Hansson](https://github.com/erikhansson/)
|
|
127
|
+
* [Christer Fahlstrom](https://www.facebook.com/christer.fahlstrom)
|
|
128
|
+
* [Ceyebr AB](http://ceyebr.com/)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
## Contributing
|
|
132
|
+
* Fork the project
|
|
133
|
+
* Send a pull request
|
|
134
|
+
* Don't touch the .gemspec, I'll do that when I release a new version
|
|
10
135
|
|
|
136
|
+
## Copyright
|
|
11
137
|
|
|
138
|
+
Copyright (c) 2012 - 2013 Björn Blomqvist. See LICENSE.txt (LGPL) for further details.
|
data/Rakefile
CHANGED
|
@@ -25,7 +25,7 @@ Jeweler::Tasks.new do |gem|
|
|
|
25
25
|
gem.description = %Q{ A CMS that tries hard to not get in your way! }
|
|
26
26
|
gem.email = "darwin@bits2life.com"
|
|
27
27
|
gem.authors = ["Darwin"]
|
|
28
|
-
gem.files = Dir["{app,config,db,lib}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
|
|
28
|
+
gem.files = Dir["{app,config,db,lib,default_cms_content}/**/*"] + ["MIT-LICENSE", "Rakefile", "README.rdoc"]
|
|
29
29
|
gem.version = Burp::VERSION
|
|
30
30
|
# dependencies defined in Gemfile
|
|
31
31
|
end
|
|
@@ -149,16 +149,16 @@
|
|
|
149
149
|
background: red;
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
body > img.movable {
|
|
152
|
+
body > img.movable.ui-draggable-dragging {
|
|
153
153
|
margin: 0px;
|
|
154
154
|
padding: 0px;
|
|
155
|
-
-webkit-box-shadow: 0
|
|
156
|
-
-moz-box-shadow: 0
|
|
157
|
-
box-shadow: 0
|
|
155
|
+
-webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
|
|
156
|
+
-moz-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
|
|
157
|
+
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
|
|
158
158
|
display: block;
|
|
159
159
|
max-height: 60px;
|
|
160
160
|
max-width: 400px;
|
|
161
|
-
opacity:
|
|
161
|
+
opacity: 1 !important;
|
|
162
162
|
position: fixed !important;
|
|
163
163
|
}
|
|
164
164
|
|
|
@@ -30,16 +30,13 @@
|
|
|
30
30
|
text-align: right;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
+
.actions {
|
|
34
|
+
text-align: center;
|
|
35
|
+
min-width: 80px;
|
|
36
|
+
}
|
|
37
|
+
|
|
33
38
|
table {
|
|
34
39
|
margin: 30px auto;
|
|
35
40
|
width: 800px;
|
|
36
41
|
}
|
|
37
|
-
|
|
38
|
-
/* td {
|
|
39
|
-
padding: 1px 30px 1px 0px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
table {
|
|
43
|
-
margin-left: 30px;
|
|
44
|
-
}*/
|
|
45
42
|
}
|
|
@@ -20,14 +20,17 @@
|
|
|
20
20
|
<th class="file-size">
|
|
21
21
|
Size
|
|
22
22
|
</th>
|
|
23
|
+
<th class="actions">
|
|
24
|
+
Actions
|
|
25
|
+
</th>
|
|
23
26
|
</thead>
|
|
24
27
|
<tbody>
|
|
25
28
|
<% @files.each do |file| %>
|
|
26
29
|
<tr>
|
|
27
30
|
<td><%= link_to file.public_path, file.public_path, :title => "Click to open" %></a></td>
|
|
28
|
-
<td class="upload-time"><%=
|
|
29
|
-
<td class="file-size"><%=
|
|
30
|
-
<td><%= link_to 'Remove', file_path(file), :confirm => 'Are you sure?', :id => 'remove-link', :title => "Click to remove file.", :method => :delete %></td>
|
|
31
|
+
<td class="upload-time"><%= file.mtime.strftime("%Y-%m-%d %H:%M") %></a></td>
|
|
32
|
+
<td class="file-size"><%= number_to_human_size(file.size, :precision => 2) %></a></td>
|
|
33
|
+
<td class="actions"><%= link_to 'Remove', file_path(file), :confirm => 'Are you sure?', :id => 'remove-link', :title => "Click to remove file.", :method => :delete %></td>
|
|
31
34
|
</tr>
|
|
32
35
|
<% end %>
|
|
33
36
|
</tbody>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<%= f.actions do %>
|
|
12
12
|
<%= f.submit(:include_cancel => false, :value => (@page.persisted? ? 'Save' : "Create"), :class => "btn btn-primary") %>
|
|
13
13
|
<%= button_tag 'Cancel', :onclick => "document.location = '#{pages_path}'; return false;", :class => 'btn' %>
|
|
14
|
-
<% if @page %>
|
|
14
|
+
<% if @page.persisted? %>
|
|
15
15
|
<%= link_to 'Remove', page_path(@page), :confirm => 'Are you sure?', :class => 'btn btn-warning', :method => :delete %>
|
|
16
16
|
<% end %>
|
|
17
17
|
<% end %>
|
|
@@ -38,13 +38,16 @@
|
|
|
38
38
|
<th>
|
|
39
39
|
Path
|
|
40
40
|
</th>
|
|
41
|
+
<th>
|
|
42
|
+
Actions
|
|
43
|
+
</th>
|
|
41
44
|
</thead>
|
|
42
45
|
<tbody>
|
|
43
46
|
<% @pages.sort{|a,b| a.path <=> b.path}.each do |page| %>
|
|
44
47
|
<tr>
|
|
45
|
-
<td><%=
|
|
46
|
-
<td><%= link_to "#{page.path}",
|
|
47
|
-
<td><%= link_to "
|
|
48
|
+
<td><%= page.title %></td>
|
|
49
|
+
<td><%= link_to "#{page.path}", page.path, :title => "Click to go to page" %></td>
|
|
50
|
+
<td><%= link_to "Edit", edit_page_path(page), :title => "Click to edit", :class => "edit-page-link" %></td>
|
|
48
51
|
</tr>
|
|
49
52
|
<% end %>
|
|
50
53
|
</tbody>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
<h1>Burp</h1>
|
|
3
|
+
<p><em>The Big Universal Rubik's cube Processor</em>.</p>
|
|
4
|
+
<p>Until we figure out how solve a Rubiks cube your welcome to use Burp as a CMS.</p>
|
|
5
|
+
|
|
6
|
+
<h3>Why Burp?</h3>
|
|
7
|
+
<p>We think most CMS are some where between bad and awful!</p>
|
|
8
|
+
<p>So we created a new one in hope that we and others would like it. We have 3 guiding goals that help us stay away from bad and awful.</p>
|
|
9
|
+
<ul>
|
|
10
|
+
<li>Don't hinder the developer.</li>
|
|
11
|
+
<li>Don't try to solve everything.</li>
|
|
12
|
+
<li>Don't be ugly.</li>
|
|
13
|
+
</ul>
|
|
14
|
+
|
|
15
|
+
<h3>Links</h3>
|
|
16
|
+
|
|
17
|
+
<ul>
|
|
18
|
+
<li><a href="https://github.com/bjornblomqvist/burp">Homepage</a></li>
|
|
19
|
+
<li><a href="https://github.com/bjornblomqvist/burp/issues">Bug reporting</a></li>
|
|
20
|
+
<li><a href="https://github.com/bjornblomqvist/burp/wiki">Wiki</a></li>
|
|
21
|
+
</ul>
|
|
22
|
+
|
|
23
|
+
<p>You are runing version <strong><%= Burp::VERSION %></strong> of Burp.</p>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<span class="icon-bar"></span>
|
|
21
21
|
<span class="icon-bar"></span>
|
|
22
22
|
</a>
|
|
23
|
-
<a class="brand" href="/
|
|
23
|
+
<a class="brand" href="/"><%= Rails.application.config.respond_to?(:site_name) ? Rails.application.config.site_name : Rails.application.class.parent_name %></a>
|
|
24
24
|
<div class="nav-collapse collapse">
|
|
25
25
|
<%= Burp::Group.bootstrap_nav(menu, request) %>
|
|
26
26
|
</div>
|
|
@@ -50,7 +50,8 @@
|
|
|
50
50
|
|
|
51
51
|
<footer>
|
|
52
52
|
<hr>
|
|
53
|
-
<p
|
|
53
|
+
<p style="float: right;"><strong>Version: <%= Burp::VERSION %></strong></p>
|
|
54
|
+
<p>Thank you for creating with <a href="/burp/about">Burp</a></p>
|
|
54
55
|
</footer>
|
|
55
56
|
|
|
56
57
|
</div>
|
data/config/routes.rb
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<h1 id="images">Images</h1><p>Images used in this dummy website where taken from <a href="http://placekitten.com/">placekitten.com</a>.</p><p>Photographers (<a href="http://placekitten.com/attribution.html">Image attribution</a>)</p><img src="/burp/files/large/150x300.jpg" class="center movable"><h1 id="exit-apta-lacu-sed">Exit apta lacu sed</h1><h2 id="est-cythereia-et-esse-mortale-aera-passu">Est Cythereia et esse mortale aera passu</h2><p>Lorem markdownum <a href="http://www.google.com/">redeunt</a> turbae robora
|
|
2
|
+
maternaque flumina duobus cervice verba flaventibus? Tamen qui habenti boves
|
|
3
|
+
lecto, illis aedificat Lelex, est illo largoque descendi herba.</p><ol>
|
|
4
|
+
<li>Lato summa</li>
|
|
5
|
+
<li>Supplex ille vivit Caesareo in hoc maris</li>
|
|
6
|
+
<li>Iter nox conscia Macareida dicta faciat</li>
|
|
7
|
+
</ol><h2 id="non-patria">Non patria</h2><img src="/burp/files/large/600x300.jpg" class="left movable"><p>Adfuit patuit et obliquos regnique. Iacebitis ulla aquatica leporem tamen est
|
|
8
|
+
contemnere gerunt ille videntur mater vindice eloquitur tumulos minus aetasque
|
|
9
|
+
<a href="http://example.com/">ore</a>. Per arcus est mittere ictibus conveniunt Meleagre!
|
|
10
|
+
Intus membra, timori ac nondum hic rudem cum vertitur ipsa premit aequore,
|
|
11
|
+
Telamon alimentaque suus Dolopum et.</p><ol>
|
|
12
|
+
<li>Vicini ut erat iussa nec aliquid manu</li>
|
|
13
|
+
<li>Vidisti loco supplex habebat Minervae virtute devovet</li>
|
|
14
|
+
<li>Timuitque finibus longe</li>
|
|
15
|
+
<li>In vicimus ramisque</li>
|
|
16
|
+
</ol><h2 id="gregis-hirsutaque-venus">Gregis hirsutaque Venus</h2><img src="/burp/files/large/150x100.jpg" class="right movable"><p>Vim tibi quaerit quae laceris votique mori altoque pluviaque currunt nec hanc
|
|
17
|
+
rigavit relicta. Alto medio in enixa: cum <em>per</em> Tritoniaca petitur obstantes
|
|
18
|
+
fluit ferarum dat atque. Refert iactor; sagittas tantae nulla vim, candore
|
|
19
|
+
tanta: vinctae ubi.</p><h2 id="illa-curvae-mixtis-alas-filia-habebat">Illa curvae mixtis alas filia habebat</h2><p>Ubi diffundi, nec est toto quae trux, haec orbe; quod alia veri humum magno
|
|
20
|
+
pudorem foresque <a href="http://www.metafilter.com/">verebor</a>. Iactanti natamque Ligdo.</p><p>Natorum est de Quid et Iunone insurgere Pelasgae nymphe. Aevumque ubi stupri
|
|
21
|
+
inrita lacrimavit confusaque fuerat <strong>a</strong> arcus iaculum obscurum nostra terrae
|
|
22
|
+
in excedere vicerat mento gerit.</p><img src="/burp/files/large/1000x600.jpg" class="center movable">
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<h1 id="deorum-petis-aeris-in-externa-triplici-et">Deorum petis aeris in externa triplici et</h1><h2 id="alipedum-porrigit-violenta-imagine">Alipedum porrigit violenta imagine</h2><p>Lorem markdownum lacertis expers peregit quercus ereptamque sensit stimulosque
|
|
2
|
+
via, cecidit. Et probat. Ad ictu ait, ter <a href="http://example.com/">humani aut</a>
|
|
3
|
+
vestemque ede teque reddere volant admiserat creditus et esto signis, est.
|
|
4
|
+
Gurgite timens cursu.</p><p>> Ore poenae Arcadiae inpar. <a href="http://stoneship.org/">Frigus cum</a>!</p><h2 id="easdem-vota">Easdem vota</h2><p>Qui dum rotatis quia semper infamia, una omnia. Suam prodidit perlucidus oraque
|
|
5
|
+
sed repulsae quantum resupino Minervae vinclis quod rumorum cuius amans sumpto.
|
|
6
|
+
Adstitit subdita egerat?</p><h2 id="sic-instat-longam-nimiumque-facinus-est-tuorum">Sic instat longam nimiumque facinus est tuorum</h2><p>Conchae quo avidi oblitus atris quidem frondente corpore numina blanditias
|
|
7
|
+
<strong>simillimus quod ululatibus</strong>. Oculis praesagaque, tegitur ripae placidi perque
|
|
8
|
+
<em>spes mortalia</em> in mitto clamore nymphe altum. Quoniam multum vultus, duro
|
|
9
|
+
quantum adest madefactaque minax <strong>Oeagrius</strong> trucis loricaeque potest.
|
|
10
|
+
Superasse illo evanescere crepuscula talis, factum: umbras sed. <strong>Cerae vultu
|
|
11
|
+
vix</strong> spes potenti poenas: in non segnibus morti pristina antiquas haeret Solis
|
|
12
|
+
totoque.</p><ul>
|
|
13
|
+
<li>In equidem meque</li>
|
|
14
|
+
<li>Terris iras fuerat</li>
|
|
15
|
+
<li>Quae tempestiva</li>
|
|
16
|
+
<li>Si oris cumque</li>
|
|
17
|
+
<li>Te mediam</li>
|
|
18
|
+
</ul><h2 id="tuo-micantes-celare">Tuo micantes celare</h2><p>Ab patitur, alta tulit conceptus moveri letum parentem et relinquo tenuavit
|
|
19
|
+
igni? Meae Quid miles, qua meo egit manus, cepit mei consensu effugit excessere
|
|
20
|
+
ramos, o. Lanugine tremulo.</p><h2 id="scelus-obuncis">Scelus obuncis</h2><p>Nam tali, desinere petit, de supplex aequore Pachyne tardarunt nocturnae dederas
|
|
21
|
+
inmunis. Ubi inerant donec Acesten, tela Est absens Arethusae denique <a href="http://www.thesecretofinvisibility.com/">natalis
|
|
22
|
+
quantam</a> aderat luteave putares.
|
|
23
|
+
Precibus factis siccis factis astra cadendum ligari hunc pugnae res deprendimur,
|
|
24
|
+
presso oris.</p><p>> Floribus et delapsam, qua vultus puro barbarica guttae quo ipsa Hecateidos
|
|
25
|
+
> latuit non. Nihil clamantem liquidum, adspexit fuit trahit dum alis narrare
|
|
26
|
+
> truncaeque captus animam! Nilus suo nostri ait fessi thalami aurora hoc
|
|
27
|
+
> longius undas ambarum armis sacrata, quid signo saucius.</p><p>Teneri dura Troiae agmina deceptus oppressos molem venit in trahar flexi
|
|
28
|
+
sequitur Aricinae poenae, inpugnante. Inter positaque Dixerat per decidit,
|
|
29
|
+
prement domestice. Quod filia nam ille postquam Achivi renovata et pes lumina
|
|
30
|
+
adspicere forte sua Pallante ferebat finis.</p>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<h1 id="inops-quae-est-trepidare-tollens">Inops quae est trepidare tollens</h1><p>Lorem markdownum talia innitens eligit ab candidus Achille; sic vulnera intra
|
|
2
|
+
timidum. Sumere forte <a href="http://landyachtz.com/">esse est</a> veniret levia ducis
|
|
3
|
+
paelex accusoque eget. Unam tamen propiore vidit praecessit fulmina imo somno
|
|
4
|
+
uva auctor longos, Argolicis de colore oculos iussi. More gemini in finita
|
|
5
|
+
viscera crurorem: naufragus <em>Erectheus</em>, quam ut forti; ut.</p><h2 id="in-sic">In sic</h2><p>Miguel D. Crumley<br>
|
|
6
|
+
1667 Joes Road<br>
|
|
7
|
+
Johnstown, NY 12095</p><p><strong>Phone:</strong> 518-762-7551<br>
|
|
8
|
+
<strong>Email Address:</strong> MiguelDCrumley@teleworm.us</p>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<h2 id="crudelia-dentes">Crudelia dentes</h2><p>Lorem markdownum vestra sanguinis manu Semiramio totaque a quoque? Sunt nomine,
|
|
2
|
+
et vires o placare usta summae solem specto. Caput concordia puniceo plaga
|
|
3
|
+
velamina, est o bracchia, cetera cura alma in tempus et. Mori moxque, Berecyntia
|
|
4
|
+
segnibus, enim primoque membra pontus pervidet ad. Amoris urbem suspirat Iove
|
|
5
|
+
mihi iugales.</p><p>Quique vel promissa nepotemque fugam Lichan suarum ducere, profugi paene.
|
|
6
|
+
Sedebat vati o ni et serum verrit inportuna et foedari ducit.</p><p>Tamen novissima reccidat nihil nuper, sic cruore Palladias ieiunia paruerit
|
|
7
|
+
nescit, attulerat ignavi. Sonus est facienda, adhaesit despicit quam, facta et
|
|
8
|
+
ripis prensantem nostra magnos anguigenae faventum venit erat palmis <strong>parte</strong>.</p><p><strong>2013-02-23</strong></p><hr><h2 id="morte-inmissos-quae-delusum-osculaque-occiderat-peccare">Morte inmissos quae delusum osculaque occiderat peccare</h2><img src="/burp/files/large/150x100.jpg" class="right movable"><p>Lorem markdownum <strong>ille</strong> partu, volucrum, tota valuit et aliquid. Adducere
|
|
9
|
+
<a href="http://haskell.org/">natorum</a>, usus Italico arboris agitabitur regem aurata et
|
|
10
|
+
rubor pisces <em>dissimiles</em>: pone proxima. Suum tangit referemus ducta coloni:
|
|
11
|
+
fudi at: qua truncat, navis venit. Marinae tota.</p><ul>
|
|
12
|
+
<li>Iamdudum nec igne pondera draconem sagittas nondum</li>
|
|
13
|
+
<li>Palluerat ignes longa</li>
|
|
14
|
+
<li>Spolia trementi opposui videre licet cygnis</li>
|
|
15
|
+
</ul><p><strong>2011-11-12</strong></p><hr><h2 id="potest-pone-littera-deceptus-a-leporem-india">Potest pone littera deceptus a leporem India</h2><p>Adhuc nefas tibi bis mille, aut dixit venit capillos, sed? Auditur pollens
|
|
16
|
+
manusque non et glandes venerat opiferque luctus dumque, celeri qua deorum
|
|
17
|
+
leves? Pectora tantique cupiere successit eras videri ducunt.</p><p>> Crudele daedalus sanguine <em>nulla</em>. Si Baccho tum ore Dictynna serpentis
|
|
18
|
+
> sustulit superbus facundia iterque. Popularis Iove, aut ignava salva sic
|
|
19
|
+
> Amphitryon illic laceranda; disposuit vetusto <strong>posset</strong> tetigere. Perculit
|
|
20
|
+
> nempe eget <strong>lacrimis graniferumque genitor</strong> tuorum, sed nec ore qua
|
|
21
|
+
> penetrabit praesentem dedit.</p><p><strong>Linquit</strong> queror ad umbra spondet tota Achivos herbas! Haec unda draconibus
|
|
22
|
+
florente, Aries vestes furto miliaque spemque, in vixque, divinante virgas rogus
|
|
23
|
+
arbor. Cesserunt naides gemitus; nigra matri Belides agmina Nonacrinas Polyxena,
|
|
24
|
+
rude propter ore munus, nemora! Enim post ferire <em>iuro</em>, sinu dant fatum marito
|
|
25
|
+
concipit?</p><p><strong>2011-09-12</strong></p>
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
<h1 id="lilia-vox">Lilia vox</h1><h2 id="fugisse-ille-non">Fugisse ille non</h2><p>Lorem <strong>markdownum de</strong> mandata nequiquam cum. Bos adversi profundo tenuit quo
|
|
2
|
+
cervice dexteriore, coeperat carentia spicula <strong>tu</strong> vetat amensque satis magnae
|
|
3
|
+
arma Telephon haud. Edita <em>limen</em> verba serpentis dives Tiberinaque et nemus
|
|
4
|
+
poteratque arcumque, ferocis, proles et silvarum Clitorio rorantia memini.
|
|
5
|
+
Intabescitque solverat cum festum iunctum per <em>locis blandita gaudia</em> sinit per
|
|
6
|
+
reliquit <strong>nubila</strong> sacra, <strong>paranti</strong>.</p><ul>
|
|
7
|
+
<li>Musco vana tamen nomine</li>
|
|
8
|
+
<li>Per pabula exarsit inter apertum resilire</li>
|
|
9
|
+
<li>Oranti legesque et ventis</li>
|
|
10
|
+
<li>Atrides indoluit momorderat et concava Hector sequentur</li>
|
|
11
|
+
<li>Fluere functus</li>
|
|
12
|
+
<li>Non quo necis non regia fui tenui</li>
|
|
13
|
+
</ul><p>Et quis rivus <strong>Cyllenide sortis</strong> vocant vulnera rogat Lichan et fuit plebe
|
|
14
|
+
erravit, nostra tum nectare sit? Freto <em>tollitur</em> sagittifera caret notat abiit
|
|
15
|
+
in Telamon <a href="http://www.raynelongboards.com/">funera</a>, nutricis. Et suoque huic
|
|
16
|
+
timidusque.</p><img src="/burp/files/large/400x200.jpg" class="left movable"><ol>
|
|
17
|
+
<li>Ignis erat flammis serpens candidus et signum</li>
|
|
18
|
+
<li>Vindicat fibra</li>
|
|
19
|
+
<li>Scorpius obstitit stratosque</li>
|
|
20
|
+
<li>Adsimulavit iuvenem an late insiluit adversi Hippomenes</li>
|
|
21
|
+
<li>Haec atque pudori et</li>
|
|
22
|
+
</ol><h2 id="phoronide-moenia">Phoronide moenia</h2><img src="/burp/files/large/1000x600.jpg" class="center movable"><p>Arcus famem quam dedit hic flumina partes. Est pedes hoc cum <em>ignotas</em> movere
|
|
23
|
+
modo dici sex est <strong>voce</strong> Phrygiis colla parte portus, nubere manant atque non.
|
|
24
|
+
Nymphas corpora vocavit genetrici capellae studioque si unus?</p><p>> Hos litus <a href="http://hipstermerkel.tumblr.com/">lacrimante</a> pugnatque sive.
|
|
25
|
+
> Detinet aut: corpus religatam ad fonte tinguebat semina crudelia Amyntor
|
|
26
|
+
> <strong>consolenturne</strong> nostras umquam auctoribus sub. Praebuimus <em>metu est</em>
|
|
27
|
+
> trahebat, suique rapiuntque stirpis vertice; sic depresso quibus, nam spem.
|
|
28
|
+
> Celanda mea posuit Lernaeae in laeta <em>nec massa</em> victoremque corpora rudis,
|
|
29
|
+
> geniti longi sole?</p><p>Moveoque non ille ater violentior quam <em>tamen</em> Inachides quisque <em>quae imitatur
|
|
30
|
+
urbes</em> sequenti adimit si qui. Puta Iove? Matremque armat cum quidem aquarum.
|
|
31
|
+
Ille taedae, manus manibusque nabat in probarunt minorem canes puppimque mixtum,
|
|
32
|
+
et vertice expellitur. Extulit natalibus differt dixit, vulgatum.</p><p>> In <em>per</em> munus sorte humana tibi, dea tractu, res bis aquarum illi. Solis
|
|
33
|
+
> tenenti quamquam iacebat inhaesit caelo dedissent albam num carina luna adest,
|
|
34
|
+
> quid confertur obligor <a href="http://html9responsiveboilerstrapjs.com/">agant si</a>
|
|
35
|
+
> quaerens fluminis!</p><p>Qua medios aliturque dubitor conprecor habet, et tegens! Pellibus Saturnia fecit
|
|
36
|
+
perluit semine maesta te tuli vulnus tu erumpit umbrosaque alto. Quae auro suo
|
|
37
|
+
profuit quaerit esset volucrumque sorte Elinque caede domos; et agmen.
|
|
38
|
+
<strong>Decoris</strong> oraque Byblis sortemque copia, in Aegeus. Quo in igne illa gentis
|
|
39
|
+
noceat cannis iunguntur eris Phobetora.</p>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
data/lib/burp/engine.rb
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
module Burp
|
|
2
2
|
class Engine < ::Rails::Engine
|
|
3
|
+
|
|
4
|
+
# These require are need so that jquery and jquery-ui are included into the asset pipeline.
|
|
5
|
+
require 'jquery-rails'
|
|
6
|
+
require 'jquery-ui-rails'
|
|
7
|
+
|
|
3
8
|
isolate_namespace Burp
|
|
4
9
|
|
|
5
10
|
config.autoload_paths << File.expand_path("../../../app/lib", __FILE__)
|
data/lib/burp/version.rb
CHANGED
data/lib/tasks/burp_tasks.rake
CHANGED
|
@@ -33,6 +33,7 @@ namespace :burp do
|
|
|
33
33
|
desc "Ads directories and confiugartion needed by burp"
|
|
34
34
|
task :init do
|
|
35
35
|
|
|
36
|
+
add_default_cms_content = false
|
|
36
37
|
cms_root = "#{Rails.root}/app/cms"
|
|
37
38
|
|
|
38
39
|
puts "\n\tBurp init\n\n"
|
|
@@ -43,6 +44,7 @@ namespace :burp do
|
|
|
43
44
|
else
|
|
44
45
|
FileUtils.mkdir_p(cms_root)
|
|
45
46
|
BurpRakeHelper.print_green " OK"
|
|
47
|
+
add_default_cms_content = true
|
|
46
48
|
end
|
|
47
49
|
|
|
48
50
|
print "\t#{cms_root}/.git"
|
|
@@ -53,10 +55,6 @@ namespace :burp do
|
|
|
53
55
|
BurpRakeHelper.print_green " OK"
|
|
54
56
|
end
|
|
55
57
|
|
|
56
|
-
BurpRakeHelper.write('/app/cms/menus/main.yaml') do |file|
|
|
57
|
-
file.write("---\n:name: root\n:children:\n")
|
|
58
|
-
end
|
|
59
|
-
|
|
60
58
|
BurpRakeHelper.write('/app/assets/javascripts/burp.js') do |file|
|
|
61
59
|
file.write("// Includes burp related javascript.\n//\n//= require 'burp/editing'\n//= require 'burp/cms_helper'")
|
|
62
60
|
end
|
|
@@ -80,6 +78,15 @@ Rails.application.config.burp_password = "#{('a'..'z').to_a.shuffle[0,6].join}"
|
|
|
80
78
|
})
|
|
81
79
|
end
|
|
82
80
|
|
|
81
|
+
puts ""
|
|
82
|
+
puts "\tCopying default CMS content"
|
|
83
|
+
puts ""
|
|
84
|
+
|
|
85
|
+
default_cms_content_dir = File.expand_path(File.dirname(__FILE__)+"/../../default_cms_content/")
|
|
86
|
+
|
|
87
|
+
result = `cp -rvn #{default_cms_content_dir}/* #{Rails.root}/app/cms/`
|
|
88
|
+
puts "\t" + result.gsub(/\n/,"\n\t")
|
|
89
|
+
|
|
83
90
|
puts ""
|
|
84
91
|
end
|
|
85
92
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: burp_cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.32
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Darwin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2013-11-
|
|
11
|
+
date: 2013-11-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jquery-rails
|
|
@@ -376,12 +376,52 @@ files:
|
|
|
376
376
|
- app/views/burp/menus/index.html.erb
|
|
377
377
|
- app/views/burp/pages/edit.html.erb
|
|
378
378
|
- app/views/burp/pages/index.html.erb
|
|
379
|
+
- app/views/burp/static/about.html.erb
|
|
379
380
|
- app/views/burp/static/help.html.erb
|
|
380
381
|
- app/views/burp/static/index.html.erb
|
|
381
382
|
- app/views/layouts/burp/application.html.erb
|
|
382
383
|
- config/cucumber.yml
|
|
383
384
|
- config/initializers/init.rb
|
|
384
385
|
- config/routes.rb
|
|
386
|
+
- default_cms_content/menus/main.yaml
|
|
387
|
+
- default_cms_content/pages/#root/main.html
|
|
388
|
+
- default_cms_content/pages/#root/page.json
|
|
389
|
+
- default_cms_content/pages/about/main.html
|
|
390
|
+
- default_cms_content/pages/about/page.json
|
|
391
|
+
- default_cms_content/pages/contact/main.html
|
|
392
|
+
- default_cms_content/pages/contact/page.json
|
|
393
|
+
- default_cms_content/pages/news/main.html
|
|
394
|
+
- default_cms_content/pages/news/page.json
|
|
395
|
+
- default_cms_content/pages/products/main.html
|
|
396
|
+
- default_cms_content/pages/products/page.json
|
|
397
|
+
- default_cms_content/uploads/1000x600.jpg
|
|
398
|
+
- default_cms_content/uploads/150x100.jpg
|
|
399
|
+
- default_cms_content/uploads/150x300.jpg
|
|
400
|
+
- default_cms_content/uploads/400x200.jpg
|
|
401
|
+
- default_cms_content/uploads/400x400.jpg
|
|
402
|
+
- default_cms_content/uploads/600x300.jpg
|
|
403
|
+
- default_cms_content/uploads/700x500.jpg
|
|
404
|
+
- default_cms_content/uploads/large/1000x600.jpg
|
|
405
|
+
- default_cms_content/uploads/large/150x100.jpg
|
|
406
|
+
- default_cms_content/uploads/large/150x300.jpg
|
|
407
|
+
- default_cms_content/uploads/large/400x200.jpg
|
|
408
|
+
- default_cms_content/uploads/large/400x400.jpg
|
|
409
|
+
- default_cms_content/uploads/large/600x300.jpg
|
|
410
|
+
- default_cms_content/uploads/large/700x500.jpg
|
|
411
|
+
- default_cms_content/uploads/medium/1000x600.jpg
|
|
412
|
+
- default_cms_content/uploads/medium/150x100.jpg
|
|
413
|
+
- default_cms_content/uploads/medium/150x300.jpg
|
|
414
|
+
- default_cms_content/uploads/medium/400x200.jpg
|
|
415
|
+
- default_cms_content/uploads/medium/400x400.jpg
|
|
416
|
+
- default_cms_content/uploads/medium/600x300.jpg
|
|
417
|
+
- default_cms_content/uploads/medium/700x500.jpg
|
|
418
|
+
- default_cms_content/uploads/small/1000x600.jpg
|
|
419
|
+
- default_cms_content/uploads/small/150x100.jpg
|
|
420
|
+
- default_cms_content/uploads/small/150x300.jpg
|
|
421
|
+
- default_cms_content/uploads/small/400x200.jpg
|
|
422
|
+
- default_cms_content/uploads/small/400x400.jpg
|
|
423
|
+
- default_cms_content/uploads/small/600x300.jpg
|
|
424
|
+
- default_cms_content/uploads/small/700x500.jpg
|
|
385
425
|
- lib/burp/capistrano.rb
|
|
386
426
|
- lib/burp/engine.rb
|
|
387
427
|
- lib/burp/version.rb
|