You are viewing a plain text version of this content. The canonical link for it is here.
Posted to olio-commits@incubator.apache.org by sh...@apache.org on 2009/04/02 03:50:34 UTC
svn commit: r761158 [2/4] - in /incubator/olio/webapp:
php/trunk/public_html/css/ php/trunk/public_html/js/
php/trunk/public_html/js/tiny_mce/ php/trunk/views/ rails/trunk/
rails/trunk/app/views/addresses/ rails/trunk/app/views/comments/
rails/trunk/ap...
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/_requests_link.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/_requests_link.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/_requests_link.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/_requests_link.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="requests_link">
<% if session[:friend_requests].to_i > 0 -%>
<%= link_to "friendship requests (#{session[:friend_requests]})", user_path(session[:user_id], :anchor => 'incoming_requests') %>
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/_revoke_link.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/_revoke_link.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/_revoke_link.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/_revoke_link.html.erb Thu Apr 2 03:50:29 2009
@@ -1 +1,19 @@
-<%= render :partial => 'friends/remove_link', :locals => {:user => user, :target => target, :friend_action => 'revoke invite' } %>
\ No newline at end of file
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
+<%= render :partial => 'friends/remove_link', :locals => {:user => user, :target => target, :friend_action => 'revoke invite' } %>
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/create.js.rjs
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/create.js.rjs?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/create.js.rjs (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/create.js.rjs Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
page["add_friend_#{@target.id}".to_sym].replace :partial => 'friends/revoke_link', :locals => {:user => @user, :target => @target}
-page.refresh_messages
\ No newline at end of file
+page.refresh_messages
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/destroy.js.rjs
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/destroy.js.rjs?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/destroy.js.rjs (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/destroy.js.rjs Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# on deletes, rejects, and revokes
rm_link = "#{@friend_action}_friend_#{@target.id}"
@@ -30,4 +47,4 @@
page[:requests_link].reload
page['friend_cloud'].reload
-page.refresh_messages
\ No newline at end of file
+page.refresh_messages
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/index.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/index.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/index.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/index.html.erb Thu Apr 2 03:50:29 2009
@@ -1 +1,19 @@
-<%= render :partial => 'list' %>
\ No newline at end of file
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
+<%= render :partial => 'list' %>
Modified: incubator/olio/webapp/rails/trunk/app/views/friends/update.js.rjs
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/friends/update.js.rjs?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/friends/update.js.rjs (original)
+++ incubator/olio/webapp/rails/trunk/app/views/friends/update.js.rjs Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
approve_link = "approve_friend_#{@target.id}"
reject_link = "reject_invite_friend_#{@target.id}"
incoming_request = "incoming_friend_request_#{@target.id}" # only from logged in users profile page
@@ -19,4 +36,4 @@
page[:requests_link].reload
page['friend_cloud'].reload
-page.refresh_messages
\ No newline at end of file
+page.refresh_messages
Modified: incubator/olio/webapp/rails/trunk/app/views/layouts/_messages.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/layouts/_messages.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/layouts/_messages.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/layouts/_messages.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="messages">
<% if flash[:notice] -%><p style="color: green"><%= flash[:notice] %></p><% end -%>
<% if flash[:error] -%><p style="color: red"><%= flash[:error] %></p><% end -%>
Modified: incubator/olio/webapp/rails/trunk/app/views/layouts/site.rhtml
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/layouts/site.rhtml?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/layouts/site.rhtml (original)
+++ incubator/olio/webapp/rails/trunk/app/views/layouts/site.rhtml Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Modified: incubator/olio/webapp/rails/trunk/app/views/users/_change.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/_change.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/_change.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/_change.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<fieldset id="user_form">
<legend>User Details</legend>
<%= render :partial => 'form' %>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/_form.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/_form.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/_form.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/_form.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<%= error_messages_for 'user' %>
<%= error_messages_for 'address' %>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/_login.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/_login.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/_login.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/_login.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<% form_tag login_users_path do -%>
<%= error_messages_for 'users' %>
<label for="users_username">Username</label>
@@ -5,4 +23,4 @@
<label for="users_password">Password</label>
<%= password_field 'users', 'password', :size => 12 %>
<%= submit_tag "Login" %>
-<% end -%>
\ No newline at end of file
+<% end -%>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/_user_search_results.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/_user_search_results.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/_user_search_results.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/_user_search_results.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="user_search_results">
<% if @users.nil? or @users.empty? -%>
<em class="subliminal">No users match your query.</em>
@@ -25,4 +43,4 @@
<% end -%>
<%= will_paginate @users %>
-</div>
\ No newline at end of file
+</div>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/edit.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/edit.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/edit.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/edit.html.erb Thu Apr 2 03:50:29 2009
@@ -1,7 +1,25 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<h1>Editing user</h1>
<% form_tag( user_path, :method => :put, :multipart => true) do %>
<%= render :partial => 'change' %>
<%= submit_tag 'Submit' %>
<input type='reset' value='Reset' />
-<% end %>
\ No newline at end of file
+<% end %>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/index.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/index.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/index.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/index.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<h1>All Users</h1>
<div id="user_table">
@@ -18,4 +36,4 @@
<br />
<%= will_paginate @users %>
-</div>
\ No newline at end of file
+</div>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/new.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/new.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/new.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/new.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<h1>New user</h1>
<% form_tag users_path, :multipart => true do %>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/posted_events.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/posted_events.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/posted_events.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/posted_events.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="posted">
<% unless @posted.empty? -%>
<h1>Your Posted Events</h1>
@@ -8,4 +26,4 @@
</ol>
<% end -%>
<%= will_paginate @posted %>
-</div>
\ No newline at end of file
+</div>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/search.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/search.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/search.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/search.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<h1 id="search_header">
<% if @query.nil? or @query.empty? -%>
Search Users
@@ -15,4 +33,4 @@
<% unless @query.nil? or @query.empty? -%>
<%= render :partial => 'user_search_results' %>
-<% end -%>
\ No newline at end of file
+<% end -%>
Modified: incubator/olio/webapp/rails/trunk/app/views/users/search.js.rjs
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/search.js.rjs?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/search.js.rjs (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/search.js.rjs Thu Apr 2 03:50:29 2009
@@ -1,6 +1,23 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
page << "if($('user_search_results')) {"
page[:user_search_results].reload
page << "} else {"
page.insert_html :after, :search_results_separator, :partial => 'user_search_results'
page << "}"
-page[:search_header].replace_html search_results_header
\ No newline at end of file
+page[:search_header].replace_html search_results_header
Modified: incubator/olio/webapp/rails/trunk/app/views/users/show.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/show.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/show.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/show.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="user_header">
<div id="user_thumbnail"><%= thumbnail(@image) %></div>
<div id="main_user_details">
Modified: incubator/olio/webapp/rails/trunk/app/views/users/upcoming_events.html.erb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/app/views/users/upcoming_events.html.erb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/app/views/users/upcoming_events.html.erb (original)
+++ incubator/olio/webapp/rails/trunk/app/views/users/upcoming_events.html.erb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,21 @@
+<!--
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ *
+-->
<div id="upcoming_events">
<% unless @upcoming.empty? -%>
<h1>Your Upcoming Events</h1>
@@ -9,4 +27,4 @@
<% end -%>
<%= will_paginate @upcoming %>
-</div>
\ No newline at end of file
+</div>
Modified: incubator/olio/webapp/rails/trunk/config/amazon_s3.yml
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/amazon_s3.yml?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/amazon_s3.yml (original)
+++ incubator/olio/webapp/rails/trunk/config/amazon_s3.yml Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
development:
bucket_name: appname_development
access_key_id:
Modified: incubator/olio/webapp/rails/trunk/config/boot.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/boot.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/boot.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/boot.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Don't change this file!
# Configure your app in config/environment.rb and config/environments/*.rb
Modified: incubator/olio/webapp/rails/trunk/config/database.yml.template
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/database.yml.template?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/database.yml.template (original)
+++ incubator/olio/webapp/rails/trunk/config/database.yml.template Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Install the MySQL driver:
@@ -16,7 +33,7 @@
database: olio
username: olio
password: olio
- hostname: localhost
+ host: localhost
# Warning: The database defined as 'test' will be erased and
# re-generated from your development database when you run 'rake'.
@@ -26,11 +43,11 @@
database: olio-test
username: olio
password: olio
- hostname: localhost
+ host: localhost
production:
adapter: mysql
database: olio
username: olio
password: olio
- hostname: localhost
+ host: localhost
Modified: incubator/olio/webapp/rails/trunk/config/deploy.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/deploy.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/deploy.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/deploy.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
set :application, "perf"
set :user, 'cs198-gb'
set :local_user, 'wsobel'
Modified: incubator/olio/webapp/rails/trunk/config/environment.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/environment.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/environment.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/environment.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Be sure to restart your web server when you modify this file.
# Uncomment below to force Rails into production mode when
@@ -70,7 +87,7 @@
# Include your application configuration below
require 'uploadable'
require 'will_paginate'
-require RAILS_ROOT + '/test/selenium_helper' if defined? SeleniumOnRails::FixtureLoader
+#require RAILS_ROOT + '/test/selenium_helper' if defined? SeleniumOnRails::FixtureLoader
require 'geolocation'
Geolocation.url = 'http://localhost:8080/geocoder/geocode?appid=gsd5f'
Modified: incubator/olio/webapp/rails/trunk/config/environments/development.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/environments/development.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/environments/development.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/environments/development.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Settings specified here will take precedence over those in config/environment.rb
# In the development environment your application's code is reloaded on
Modified: incubator/olio/webapp/rails/trunk/config/environments/production.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/environments/production.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/environments/production.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/environments/production.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Settings specified here will take precedence over those in config/environment.rb
# The production environment is meant for finished, "live" apps.
Modified: incubator/olio/webapp/rails/trunk/config/environments/test.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/environments/test.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/environments/test.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/environments/test.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Settings specified here will take precedence over those in config/environment.rb
# The test environment is used exclusively to run your application's
@@ -16,4 +33,4 @@
# Tell ActionMailer not to deliver emails to the real world.
# The :test delivery method accumulates sent emails in the
# ActionMailer::Base.deliveries array.
-config.action_mailer.delivery_method = :test
\ No newline at end of file
+config.action_mailer.delivery_method = :test
Modified: incubator/olio/webapp/rails/trunk/config/initializers/inflections.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/initializers/inflections.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/initializers/inflections.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/initializers/inflections.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format
Modified: incubator/olio/webapp/rails/trunk/config/initializers/mime_types.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/initializers/mime_types.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/initializers/mime_types.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/initializers/mime_types.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
# Be sure to restart your server when you modify this file.
# Add new mime types for use in respond_to blocks:
Modified: incubator/olio/webapp/rails/trunk/config/routes.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/config/routes.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/config/routes.rb (original)
+++ incubator/olio/webapp/rails/trunk/config/routes.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
ActionController::Routing::Routes.draw do |map|
map.resources :events, :collection => { :rss => :get,
Modified: incubator/olio/webapp/rails/trunk/db/example_data.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/example_data.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/example_data.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/example_data.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
module FixtureReplacement
attributes_for :address do |a|
a.street1 = String.random(32)
@@ -77,4 +94,4 @@
a.password = 'kitty'
a.username = 'bob'
end
-end
\ No newline at end of file
+end
Modified: incubator/olio/webapp/rails/trunk/db/migrate/001_create_users.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/001_create_users.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/001_create_users.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/001_create_users.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateUsers < ActiveRecord::Migration
def self.up
create_table :users do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/002_create_addresses.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/002_create_addresses.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/002_create_addresses.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/002_create_addresses.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateAddresses < ActiveRecord::Migration
def self.up
create_table :addresses do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/003_create_foreign_keys.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/003_create_foreign_keys.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/003_create_foreign_keys.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/003_create_foreign_keys.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateForeignKeys < ActiveRecord::Migration
def self.up
add_column :users, :address_id, :integer
Modified: incubator/olio/webapp/rails/trunk/db/migrate/004_create_events.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/004_create_events.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/004_create_events.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/004_create_events.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateEvents < ActiveRecord::Migration
def self.up
create_table :events, :force => true do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/005_add_tag_support.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/005_add_tag_support.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/005_add_tag_support.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/005_add_tag_support.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class AddTagSupport < ActiveRecord::Migration
def self.up
create_table :tags do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/006_event_attendance.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/006_event_attendance.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/006_event_attendance.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/006_event_attendance.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class EventAttendance < ActiveRecord::Migration
def self.up
create_table :events_users, :id => false do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/007_create_friendships.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/007_create_friendships.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/007_create_friendships.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/007_create_friendships.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateFriendships < ActiveRecord::Migration
def self.up
create_table :friendships do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/008_create_images.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/008_create_images.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/008_create_images.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/008_create_images.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateImages < ActiveRecord::Migration
def self.up
create_table :images do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/009_create_documents.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/009_create_documents.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/009_create_documents.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/009_create_documents.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateDocuments < ActiveRecord::Migration
def self.up
create_table :documents do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/010_edit_events_for_uploads.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/010_edit_events_for_uploads.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/010_edit_events_for_uploads.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/010_edit_events_for_uploads.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class EditEventsForUploads < ActiveRecord::Migration
def self.up
rename_column :events, :image_url, :image_id
Modified: incubator/olio/webapp/rails/trunk/db/migrate/011_create_comments_old.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/011_create_comments_old.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/011_create_comments_old.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/011_create_comments_old.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateCommentsOld < ActiveRecord::Migration
def self.up
create_table :comments do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/012_change_event_column_types.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/012_change_event_column_types.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/012_change_event_column_types.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/012_change_event_column_types.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class ChangeEventColumnTypes < ActiveRecord::Migration
def self.up
change_column :events, :image_id, :integer
Modified: incubator/olio/webapp/rails/trunk/db/migrate/013_modify_user_table.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/013_modify_user_table.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/013_modify_user_table.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/013_modify_user_table.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class ModifyUserTable < ActiveRecord::Migration
def self.up
rename_column :users, :imageurl, :image_id
Modified: incubator/olio/webapp/rails/trunk/db/migrate/014_create_comments.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/014_create_comments.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/014_create_comments.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/014_create_comments.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateComments < ActiveRecord::Migration
def self.up
drop_table :comments
Modified: incubator/olio/webapp/rails/trunk/db/migrate/015_remove_old_user_images.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/015_remove_old_user_images.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/015_remove_old_user_images.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/015_remove_old_user_images.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class RemoveOldUserImages < ActiveRecord::Migration
def self.up
remove_column :users, :image_id
Modified: incubator/olio/webapp/rails/trunk/db/migrate/016_create_invites.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/016_create_invites.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/016_create_invites.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/016_create_invites.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateInvites < ActiveRecord::Migration
def self.up
create_table :invites do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/017_remove_old_friendships.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/017_remove_old_friendships.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/017_remove_old_friendships.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/017_remove_old_friendships.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class RemoveOldFriendships < ActiveRecord::Migration
def self.up
drop_table :friendships
Modified: incubator/olio/webapp/rails/trunk/db/migrate/018_edit_users_for_uploads.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/018_edit_users_for_uploads.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/018_edit_users_for_uploads.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/018_edit_users_for_uploads.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class EditUsersForUploads < ActiveRecord::Migration
def self.up
add_column :users, :image_id, :integer
Modified: incubator/olio/webapp/rails/trunk/db/migrate/019_add_event_thumbnails.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/019_add_event_thumbnails.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/019_add_event_thumbnails.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/019_add_event_thumbnails.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class AddEventThumbnails < ActiveRecord::Migration
def self.up
add_column :events, :thumbnail, :integer
Modified: incubator/olio/webapp/rails/trunk/db/migrate/020_default_invite_accepted.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/020_default_invite_accepted.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/020_default_invite_accepted.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/020_default_invite_accepted.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class DefaultInviteAccepted < ActiveRecord::Migration
def self.up
change_column :invites, :is_accepted, :boolean, :default => false
Modified: incubator/olio/webapp/rails/trunk/db/migrate/021_shorter_event_descriptions.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/021_shorter_event_descriptions.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/021_shorter_event_descriptions.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/021_shorter_event_descriptions.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class ShorterEventDescriptions < ActiveRecord::Migration
def self.up
change_column :events, :description, :string, :limit => 100
Modified: incubator/olio/webapp/rails/trunk/db/migrate/022_event_description_summary.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/022_event_description_summary.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/022_event_description_summary.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/022_event_description_summary.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class EventDescriptionSummary < ActiveRecord::Migration
def self.up
change_column :events, :description, :string, :limit => 500
Modified: incubator/olio/webapp/rails/trunk/db/migrate/023_create_geolocations.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/023_create_geolocations.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/023_create_geolocations.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/023_create_geolocations.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class CreateGeolocations < ActiveRecord::Migration
def self.up
create_table :geolocations do |t|
Modified: incubator/olio/webapp/rails/trunk/db/migrate/024_populate_geolocations.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/024_populate_geolocations.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/024_populate_geolocations.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/024_populate_geolocations.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class PopulateGeolocations < ActiveRecord::Migration
def self.up
r = Rails::Configuration.new
@@ -20,4 +37,4 @@
def self.down
execute "TRUNCATE geolocations"
end
-end
\ No newline at end of file
+end
Modified: incubator/olio/webapp/rails/trunk/db/migrate/025_removing_time_zones.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/025_removing_time_zones.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/025_removing_time_zones.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/025_removing_time_zones.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class RemovingTimeZones < ActiveRecord::Migration
def self.up
remove_column :events, :timezone
Modified: incubator/olio/webapp/rails/trunk/db/migrate/026_add_indexes.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/026_add_indexes.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/026_add_indexes.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/026_add_indexes.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class AddIndexes < ActiveRecord::Migration
def self.up
add_index :comments, :event_id
Modified: incubator/olio/webapp/rails/trunk/db/migrate/20090226193152_improve_indexes.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/20090226193152_improve_indexes.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/20090226193152_improve_indexes.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/20090226193152_improve_indexes.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class ImproveIndexes < ActiveRecord::Migration
def self.up
add_index :addresses, :zip
Modified: incubator/olio/webapp/rails/trunk/db/migrate/20090302210151_increase_db_field_sizes.rb
URL: http://svn.apache.org/viewvc/incubator/olio/webapp/rails/trunk/db/migrate/20090302210151_increase_db_field_sizes.rb?rev=761158&r1=761157&r2=761158&view=diff
==============================================================================
--- incubator/olio/webapp/rails/trunk/db/migrate/20090302210151_increase_db_field_sizes.rb (original)
+++ incubator/olio/webapp/rails/trunk/db/migrate/20090302210151_increase_db_field_sizes.rb Thu Apr 2 03:50:29 2009
@@ -1,3 +1,20 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
class IncreaseDbFieldSizes < ActiveRecord::Migration
def self.up
change_column :events, :description, :text