open_porch 0.5.1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -3
- data/VERSION +1 -1
- data/app/models/area.rb +2 -2
- data/app/views/registrations/index.html.haml +1 -1
- data/config/initializers/open_porch.rb +1 -1
- data/open_porch.gemspec +1 -2
- metadata +2 -3
- data/db/seeds.rb +0 -7
data/README.md
CHANGED
@@ -11,7 +11,7 @@ Open Porch design is based on experienced gained by operating the successful Fro
|
|
11
11
|
|
12
12
|
Front Porch Forum's mission is to help nearby neighbors connect and build community. It does that by hosting regional networks of small online neighborhood forums. By early 2011, 24,000 households subscribed to its Vermont pilot, including half of those in Burlington. People make great use of FPF to find lost cats, report car break-ins, borrow ladders, recommend plumbers, debate school budgets, announce a blood drive, organize a block party and much more. Since each posting is shared among clearly identified nearby neighbors, people report that over time they feel more connected to neighbors and better informed about what's going on around them. This leads eventually, for many, to get more involved in local issues and fulfills FPF's mission.
|
13
13
|
|
14
|
-
Front Porch Forum's new platform is based on Open Porch. Open Porch is a Ruby on Rails gem released under
|
14
|
+
Front Porch Forum's new platform is based on Open Porch. Open Porch is a Ruby on Rails gem released under the [GNU General Public License, version 3 (GPLv3)](http://www.opensource.org/licenses/gpl-3.0).
|
15
15
|
|
16
16
|
**The Knight News Challenge:** KNC is a media innovation contest that aims to advance the future of news by funding new ways to digitally inform communities.
|
17
17
|
|
@@ -58,7 +58,8 @@ Front Porch Forum's new platform is based on Open Porch. Open Porch is a Ruby o
|
|
58
58
|
* Areas can be searched by name or location using the admin interface.
|
59
59
|
* Each area maintains records of it's activity regarding number of new users, quitters, new posts and new issues which can be visualized in a chart and filtered by date.
|
60
60
|
|
61
|
-
|
61
|
+
* **Advertising:**
|
62
|
+
* Ads can be added to both the forum pages and the e-newsletter issues.
|
62
63
|
|
63
64
|
* * *
|
64
65
|
## Installation
|
@@ -141,7 +142,7 @@ To enable this functionality fill in the respective section in `config/open_porc
|
|
141
142
|
|
142
143
|
### Advertisement with OpenX
|
143
144
|
|
144
|
-
Open Porch displays ads on
|
145
|
+
Open Porch displays ads on both the forum pages and the e-newsletter issues.
|
145
146
|
|
146
147
|
To enable this functionality create an OpenX account and fill in the respective section in `config/open_porch.yml`
|
147
148
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
1.0.0
|
data/app/models/area.rb
CHANGED
@@ -151,9 +151,9 @@ class Area < ActiveRecord::Base
|
|
151
151
|
when :newsletter_text
|
152
152
|
url = URI.parse(openx_url)
|
153
153
|
res = Net::HTTP.start(url.host, url.port) {|http|
|
154
|
-
http.get("/afr.php?zoneid=#{OPEN_PORCH_ZONES[zone_name.to_s]}®ion=#{self.slug}&cb=#{time}
|
154
|
+
http.get("/afr.php?zoneid=#{OPEN_PORCH_ZONES[zone_name.to_s]}®ion=#{self.slug}&cb=#{time}")
|
155
155
|
}
|
156
|
-
res.body.gsub("\n", '').gsub(/.*<body>(.*)<div id='beacon.*/, '\1')
|
156
|
+
res.body.gsub("\n", '').gsub(/.*<body>(.*)<div id='beacon.*/, '\1')
|
157
157
|
else
|
158
158
|
%{
|
159
159
|
<a href="#{openx_url}/ck.php?cb=#{time}&n=a8417ca6", class="ad #{zone_name}" target="_blank">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
.intro
|
2
2
|
%h1 <em>Open</em>Porch #{OPEN_PORCH_VERSION}
|
3
|
-
%p Updated March
|
3
|
+
%p Updated March 23, 2011
|
4
4
|
%h3 <em>Open Porch</em> is a <strong>community-building tool for neighborhoods.</strong> People who are well connected to their neighbors and plugged into local conversation are typically more interested in local news and more civically engaged.
|
5
5
|
|
6
6
|
%h5= link_to "Download OpenPorch #{OPEN_PORCH_VERSION}", 'https://github.com/FrontPorchForum/open_porch'
|
data/open_porch.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{open_porch}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "1.0.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["The Working Group Inc"]
|
@@ -161,7 +161,6 @@ Gem::Specification.new do |s|
|
|
161
161
|
"db/migrate/20110215213802_create_email_messages.rb",
|
162
162
|
"db/migrate/20110217165018_change_send_mode_to_string.rb",
|
163
163
|
"db/migrate/20110223160609_denormalize_user_info_in_posts.rb",
|
164
|
-
"db/seeds.rb",
|
165
164
|
"doc/README_FOR_APP",
|
166
165
|
"lib/generators/open_porch_generator.rb",
|
167
166
|
"lib/open_porch.rb",
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: open_porch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 1.0.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- The Working Group Inc
|
@@ -308,7 +308,6 @@ files:
|
|
308
308
|
- db/migrate/20110215213802_create_email_messages.rb
|
309
309
|
- db/migrate/20110217165018_change_send_mode_to_string.rb
|
310
310
|
- db/migrate/20110223160609_denormalize_user_info_in_posts.rb
|
311
|
-
- db/seeds.rb
|
312
311
|
- doc/README_FOR_APP
|
313
312
|
- lib/generators/open_porch_generator.rb
|
314
313
|
- lib/open_porch.rb
|
@@ -401,7 +400,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
401
400
|
requirements:
|
402
401
|
- - ">="
|
403
402
|
- !ruby/object:Gem::Version
|
404
|
-
hash:
|
403
|
+
hash: -3753342640567149782
|
405
404
|
segments:
|
406
405
|
- 0
|
407
406
|
version: "0"
|
data/db/seeds.rb
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
# This file should contain all the record creation needed to seed the database with its default values.
|
2
|
-
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
3
|
-
#
|
4
|
-
# Examples:
|
5
|
-
#
|
6
|
-
# cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }])
|
7
|
-
# Mayor.create(:name => 'Daley', :city => cities.first)
|