browsercms 3.5.4 → 3.5.5
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/COPYRIGHT.txt +1 -1
- data/README.markdown +1 -1
- data/app/helpers/cms/form_builder.rb +5 -1
- data/app/views/cms/blocks/edit.html.erb +1 -1
- data/app/views/cms/blocks/index.html.erb +1 -1
- data/app/views/cms/blocks/usages.html.erb +1 -1
- data/app/views/cms/connectors/new.html.erb +1 -1
- data/app/views/cms/content/no_page.html.erb +1 -1
- data/app/views/cms/file_blocks/_form.html.erb +1 -1
- data/app/views/cms/image_blocks/_form.html.erb +1 -1
- data/app/views/cms/sessions/new.html.erb +4 -4
- data/bin/bcms +1 -1
- data/db/migrate/20080815014337_browsercms_3_0_0.rb +1 -1
- data/doc/release_notes.md +15 -0
- data/lib/cms/commands/actions.rb +1 -1
- data/lib/cms/version.rb +1 -1
- metadata +3 -3
data/COPYRIGHT.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
All BrowserCMS code is Copyright (C) 1998-
|
1
|
+
All BrowserCMS code is Copyright (C) 1998-2013 by BrowserMedia, LLC.
|
2
2
|
|
3
3
|
This program is free software: you can redistribute it and/or modify
|
4
4
|
it under the terms of the GNU Lesser General Public License as published by
|
data/README.markdown
CHANGED
@@ -28,7 +28,7 @@ Here's a quick overview of some of the more notable features:
|
|
28
28
|
See the [Getting Started](https://github.com/browsermedia/browsercms/wiki/Getting-Started) guide for instructions on how to install and start a project with BrowserCMS.
|
29
29
|
|
30
30
|
## License
|
31
|
-
BrowserCMS is released under a LGPL license, and is copyright 1998-
|
31
|
+
BrowserCMS is released under a LGPL license, and is copyright 1998-2013 BrowserMedia. The complete copyright can be found in COPYRIGHT.txt, and copy of the license can be found in LICENSE.txt.
|
32
32
|
|
33
33
|
## Documentation / Support
|
34
34
|
The user documentation and guides for this version of the application can be found at:
|
@@ -66,12 +66,16 @@ class Cms::FormBuilder < ActionView::Helpers::FormBuilder
|
|
66
66
|
#
|
67
67
|
# @param [Symbol] method The name of the model this form upload is associated with
|
68
68
|
# @param [Hash] options
|
69
|
-
# @option options [String] :label (
|
69
|
+
# @option options [String] :label (method) If no label is specified, the human readable name for method will be used.
|
70
70
|
# @option options [String] :instructions (blank) Helpful tips for the person entering the field, appears blank if nothing is specified.
|
71
71
|
# @option options [Boolean] :edit_path (false) If true, render a text field to allow users to edit path for this file.
|
72
72
|
# @option options [Boolean] :edit_section (false) If true, render a select box which allows users to choose which section this attachment should be placed in.
|
73
73
|
def cms_file_field(method, options={})
|
74
74
|
@object.ensure_attachment_exists if @object.respond_to?(:ensure_attachment_exists)
|
75
|
+
|
76
|
+
unless options[:label]
|
77
|
+
options[:label] = method.to_s.humanize
|
78
|
+
end
|
75
79
|
render_form_field("file_field", method, options)
|
76
80
|
end
|
77
81
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
<%= stylesheet_link_tag('cms/content_library') %>
|
4
4
|
<% end %>
|
5
5
|
<% page_title "Content Library / Edit #{content_type.display_name}" %>
|
6
|
-
<% @toolbar_title = "Edit #{content_type.display_name} '#{@block.name}'" %>
|
6
|
+
<% @toolbar_title = "Edit #{content_type.display_name} '#{@block.name}'".html_safe %>
|
7
7
|
<%= content_for :functions, render(:partial => 'cms/blocks/toolbar') %>
|
8
8
|
|
9
9
|
<% if @block.respond_to?(:deleted) && @block.deleted %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<% page_title "Content Library / View Usages" %>
|
2
|
-
<% @toolbar_title = "Pages Using #{content_type.display_name} '#{ @block.name }'" %>
|
2
|
+
<% @toolbar_title = "Pages Using #{content_type.display_name} '#{ @block.name }'".html_safe %>
|
3
3
|
<%= content_for :html_head do %>
|
4
4
|
<%= stylesheet_link_tag("cms/content_library") %>
|
5
5
|
<%= javascript_tag do %>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<% @toolbar_title = @page_title = "Add Existing Content to '#{@page.page_title}' Page" %>
|
1
|
+
<% @toolbar_title = @page_title = "Add Existing Content to '#{@page.page_title}' Page".html_safe %>
|
2
2
|
|
3
3
|
<%= content_for :html_head do %>
|
4
4
|
<%= stylesheet_link_tag("cms/content_library") %>
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<%= f.cms_text_field :name %>
|
2
|
-
<%= f.cms_file_field :file, :
|
2
|
+
<%= f.cms_file_field :file, :instructions=>"Select a file to upload.", edit_path: true, edit_section: true %>
|
3
3
|
<%= f.cms_tag_list %>
|
4
4
|
|
5
5
|
|
@@ -1,3 +1,3 @@
|
|
1
1
|
<%= f.cms_text_field :name %>
|
2
|
-
<%= f.cms_file_field :file, :label => "
|
2
|
+
<%= f.cms_file_field :file, :label => "Image", :instructions=>"Select a file to upload.", edit_path: true, edit_section: true %>
|
3
3
|
<%= f.cms_tag_list %>
|
@@ -3,11 +3,11 @@
|
|
3
3
|
<%= javascript_tag do %>
|
4
4
|
jQuery(function($){
|
5
5
|
$('#login_button').hover(function(){
|
6
|
-
$('#login_button').css('background-image', 'url(
|
7
|
-
$('#login_button > input').css('background-image', 'url(
|
6
|
+
$('#login_button').css('background-image', 'url(<%= asset_path "cms/buttons/button_cap_h.png" %>)');
|
7
|
+
$('#login_button > input').css('background-image', 'url(<%= asset_path "cms/buttons/button_h.png" %>)');
|
8
8
|
}, function(){
|
9
|
-
$('#login_button').css('background-image', 'url(
|
10
|
-
$('#login_button > input').css('background-image', 'url(
|
9
|
+
$('#login_button').css('background-image', 'url(<%= asset_path "cms/buttons/button_cap.png" %>)');
|
10
|
+
$('#login_button > input').css('background-image', 'url(<%= asset_path "cms/buttons/button.png" %>)');
|
11
11
|
})});
|
12
12
|
<% end %>
|
13
13
|
<% end %>
|
data/bin/bcms
CHANGED
@@ -193,7 +193,7 @@ Cms.table_prefix = "cms_"
|
|
193
193
|
def configure_mail_server
|
194
194
|
[
|
195
195
|
"# Configure your mail server's address below",
|
196
|
-
"config.action_mailer.smtp_settings = {:address => 'mail.yourmailserver.com', :domain => config.cms.site_domain}
|
196
|
+
"config.action_mailer.smtp_settings = {:address => 'mail.yourmailserver.com', :domain => config.cms.site_domain}\n"
|
197
197
|
].reverse.each do |line|
|
198
198
|
environment line, :env => "production"
|
199
199
|
end
|
data/doc/release_notes.md
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
v3.5.5
|
2
|
+
======
|
3
|
+
|
4
|
+
Community contributed bug fixes, including making it easier to start contributing to the project.
|
5
|
+
|
6
|
+
* [#561] Fix invalid code in generated production.rb file (Thanks RoopeHakulinen)
|
7
|
+
* [#557] Fix extra column on blocks index page (Thanks metalon)
|
8
|
+
* [#543] Allow cms_file_field to use default label (Thanks josiahivey)
|
9
|
+
* [#563] Continuous Integration - Get Travis CI up and working for the project.
|
10
|
+
* [#539] Fix missing assets on CMS Login page (Thanks korin)
|
11
|
+
* [#537] Better support core contributions by removing database.yml from checkin. Run `rake project:setup[mysql]` to create a database.yml for your local database. (Thanks josiahivey)
|
12
|
+
* [#564] Update to Rails 3.2.12 - Ensure tests to pass (there appeared to be some changes in inflection and html_safe between 3.2.5 and 3.2.8)
|
13
|
+
|
14
|
+
See https://github.com/browsermedia/browsercms/issues?milestone=18&page=1&state=closed for more details.
|
15
|
+
|
1
16
|
v3.5.4
|
2
17
|
======
|
3
18
|
|
data/lib/cms/commands/actions.rb
CHANGED
data/lib/cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: browsercms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.5.
|
4
|
+
version: 3.5.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-02-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -776,7 +776,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
776
776
|
version: '0'
|
777
777
|
segments:
|
778
778
|
- 0
|
779
|
-
hash:
|
779
|
+
hash: -1146009963062196291
|
780
780
|
requirements: []
|
781
781
|
rubyforge_project:
|
782
782
|
rubygems_version: 1.8.24
|