Permalink
Browse files

missed stuff out of last commit

  • Loading branch information...
timdiggins committed Feb 18, 2009
1 parent 536f066 commit b8e80ba40d7111e10b263abff2c1f18222de3bcc
View
@@ -17,4 +17,5 @@ db/*.sqlite3
.loadpath
.project
doc/coverage
-coverage
+coverage
+attachment_fu_plugin.sqlite3.db
View
7 README
@@ -1,8 +1,9 @@
-The Connected Website is the opensource code behind http://nokahuna.com/projects/142
+The Connected Website is the opensource code behind http://nokahuna.com/projects/142 and other
-The project exists primarily to develop a new version of The Connected Republic, the public web-space where people interested in the use of connectivity to tackle public problems can find each other and share ideas.
-Development sponsored by Cisco IBSG Public Sector
+The project started to develop a new version of The Connected Republic, the public web-space where people interested in the use of connectivity to tackle public problems can find each other and share ideas.
+
+Initial development sponsored by Cisco IBSG Public Sector
Current version: http://www.theconnectedrepublic.org/
Contact tim@red56.co.uk for further information
@@ -10,6 +10,7 @@ def tag_cloud(tags, classes)
max = tag.count if tag.count > max
min = tag.count if min==nil || tag.count < min
end
+ return if min.nil?
divisor = ((max-min) / classes.size) + 1
tags.each do |tag|
index = ((tag.count - min) / divisor).to_i
View
@@ -12,7 +12,7 @@ def forgot_password(user, url)
def comment_created(comment, recipient)
@from = "#{APP_NAME} notifications <do-not-reply@#{APP_DOMAIN}>"
- @subject = "[Connected Republic] New comment on #{comment.post}"
+ @subject = "[wminarch] New comment on #{comment.post}"
@sent_on = Time.now
@recipients = [ recipient ]
@body[:comment] = comment
@@ -1,6 +1,7 @@
-<h2>Selected discussion events
+<% if !@latest_event.nil?%><h2>Selected discussion events
<%= link_to "latest event #{time_ago_in_words(@latest_event.created_at)} ago", events_url, :class => "recent" %>
</h2>
+<% end %>
<div class="events">
<ul>
<% for event in @events %>
@@ -5,7 +5,7 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<%= javascript_include_tag :all, :cache => true %>
- <%= stylesheet_link_tag :all, :cache => true %>
+ <%= stylesheet_link_tag 'wminarch', :cache => true %>
<%= auto_discovery_link_tag(:rss, formatted_posts_url(:format => :rss), :title => "All Posts") %>
<%= auto_discovery_link_tag(:rss, formatted_featured_posts_url(:format => :rss), :title => "Featured Posts") %>
@@ -1,20 +1,20 @@
development:
adapter: mysql
- database: republic_development
+ database: wminarch_development
username: root
password:
host: localhost
encoding: utf8
test:
adapter: mysql
- database: republic_test
+ database: wminarch_test
username: root
password:
host: localhost
encoding: utf8
production:
adapter: mysql
- database: republic_development
+ database: wminarch_development
username: root
password:
host: localhost
View
@@ -10,7 +10,7 @@
config.load_paths << "#{Rails.root}/app/models/events"
config.action_controller.session = {
- :session_key => '_republic_site_session',
+ :session_key => '_wminarch_site_session',
:secret => (RAILS_ENV == 'production') ? File.read(File.join(File.dirname(__FILE__), 'cookie_secret')) : 'e7bcf1669a4848dff6245564f4c31323e2877fe1ad6b069e7574a48eaed2396363a676d9288530656ff39048ccb7d9723c93874d0674f2057465a759c6d57e04'
}
@@ -1,5 +1,5 @@
-APP_DOMAIN = Rails.env == 'production' ? "theconnectedrepublic.org" : "republic.dev"
+APP_DOMAIN = Rails.env == 'production' ? "wminarch.org" : "website.dev"
APP_PORT = Rails.env == 'production' ? "" : ":3000"
APP_HOST = APP_DOMAIN + APP_PORT
-APP_NAME = "The Connected Republic"
+APP_NAME = "University of Westminster - Architecture - Open Studios"
View
@@ -1,3 +1,3 @@
useful for checking:
download sql backup from amazon s3
-import into republic_development using mysql republic_development < ~/Desktop/...
+import into wminarch_development using mysql wminarch_development < ~/Desktop/...
@@ -1,15 +1,3 @@
-/* @override
- http://localhost:3000/stylesheets/default.css?1226349891
- http://localhost:3000/stylesheets/default.css?1226361882
- http://localhost:3000/stylesheets/default.css?1226399346
- http://localhost:3004/stylesheets/default.css?1226665314
- http://localhost:3000/stylesheets/republic.css?1227890664
- http://localhost:3004/stylesheets/republic.css?1227888734
- http://10.211.55.2:3004/stylesheets/republic.css?1227905223
- http://10.211.55.2:3004/stylesheets/republic.css?1233269850
- http://localhost:3000/stylesheets/republic.css?1233270926
-*/
-
body {
font-family: arial, sans-serif;
font-size: 0.8em;
View
@@ -21,7 +21,7 @@ def new_session(&block)
open_session do | session |
session.extend(BasicsDsl)
session.extend(RepublicDsl)
- session.host!("republic.dev")
+ session.host!("website.dev")
session.instance_eval(&block) if block
session
end

0 comments on commit b8e80ba

Please sign in to comment.