diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 00000000..67150012
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,3 @@
+## 2.5
+
+- Initial release
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 00000000..ffbf1223
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,92 @@
+# Contributing to Metamaps
+
+Active involvement from the community is essential to help make Metamaps as beneficial for communities as it can be. You can help by reporting bugs, fixing bugs, adding features, contributing new modules and by providing feedback.
+
+
+## Reporting bugs and other issues
+
+If you think you've encountered a bug, do the following:
+
+1. Make sure you are working with the latest version of the Metamaps `master` branch.
+2. Browse through the [issues][metamaps-issues] to check if
+ anyone else has already reported. If someone has, feel free to add more
+ information to that issue to help us solve it.
+3. If no one has yet submitted the issue you are encountering, add it in! Please be sure
+ to include as much information as possible, include errors, warnings,
+ screenshots, links to a video showing the problem or code that can reproduce
+ the issue.
+
+
+## Contributing code
+
+Metamaps is made possible by open source
+contributors like you. We're very interested in getting help from the greater
+community, but before you start it's important that you become acquainted with
+our workflow. Following these guidelines below will make collaboration much
+smoother and increase the chances that we will accept your pull request without
+hiccups.
+
+
+### Development Process
+
+Our development process is very similar to the approach
+described in the well-known article [A Successful Git Branching Model by Vincent
+Driessen][git-branching-model]. Here's an overview:
+
+* Our `master` branch is the branch upon which
+ Metamaps developers should be basing their work on. The `master` branch is not guaranteed to be stable.
+* All commits intended for `master` should take place on your own personal
+ fork, and be submitted via pull request when ready.
+* Only maintainers can accept pull requests from forks into the core Famo.us
+ repository.
+* Please squash your commits into a single commit before making a pull request.
+
+### Getting started
+
+1. Make sure you have a [GitHub account](https://github.com/signup/free)
+2. [Fork metamaps][fork-metamaps]
+3. Keep your fork up to date. Metamaps is a fast moving project, and things are
+ changing all the time. It's important that any changes you make are based on
+ the most recent version of metamaps, since it's possible that something may
+ have changed that breaks your pull request or invalidates its need.
+4. Make sure you have a [Contributor License Agreement][cla] on file.
+5. Read on ...
+
+
+### Contributor License Agreement
+
+Before we can accept any contributions to Metamaps, we first require that all
+individuals or companies agree to our Contributor License Agreement (CLA). The e-mail
+address used in the pull request will be used to check if a CLA has already been
+filed, so be sure to list all email addresses that you might use to submit your
+pull requests when filling it out. Our CLA can be found [here][cla].
+
+### Testing and Linting
+
+TODO
+
+
+### Branch grouping tokens
+
+All pull requests submitted to Famo.us should occur on a new branch. For these
+branches, we at metamaps use a short token indicating the nature of the branch in
+question followed by a solidus (`/`) and a kebab-cased string describing the
+branch. We are using the following tokens:
+
+ bug // bug fixes
+ wip // work in progress
+ feat // feature
+
+Bug fixes follow a [slightly different format](#bug-fixes).
+
+### Bug fixes
+
+If you'd like to contribute a fix for a bug you've encountered, first read up on
+[how to report a bug](#reporting-bugs-and-other-issues) and report it so we are
+aware of the issue. By filing the issue first, we may be able to provide you
+with some insight that guides you in the right direction.
+
+[metamaps-issues]: https://github.com/Connoropolous/metamaps_gen002/issues
+[git-branching-model]: http://nvie.com/posts/a-successful-git-branching-model/
+[fork-metamaps]: https://github.com/Connoropolous/metamaps_gen002/fork
+[cla]: http://metamaps.cc/cla
diff --git a/Gemfile b/Gemfile
index 65988ca4..f720116a 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,12 +1,16 @@
source 'https://rubygems.org'
+#ruby '1.9.3'
gem 'rails', '3.2.17'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
+#gem 'watir'
+#gem 'phantomjs'
+
gem 'devise'
-gem 'redis'
+gem 'redis', '2.2.2'
gem 'pg'
gem 'cancan'
gem 'formula'
@@ -14,6 +18,11 @@ gem 'formtastic'
gem 'json'
gem 'rails3-jquery-autocomplete'
gem 'best_in_place'
+gem 'kaminari' # pagination
+
+gem 'paperclip'
+gem 'aws-sdk'
+
#gem 'therubyracer' #optional
#gem 'rb-readline'
@@ -29,6 +38,10 @@ group :assets do
gem 'uglifier', '>= 1.0.3'
end
+group :production do #this is used on heroku
+ #gem 'rmagick'
+end
+
gem 'jquery-rails', '2.1.2'
# To use ActiveModel has_secure_password
diff --git a/Gemfile.lock b/Gemfile.lock
index 3346fa26..ee449288 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -29,6 +29,9 @@ GEM
i18n (~> 0.6, >= 0.6.4)
multi_json (~> 1.0)
arel (3.0.3)
+ aws-sdk (1.44.0)
+ json (~> 1.4)
+ nokogiri (>= 1.4.4)
bcrypt (3.1.7)
bcrypt (3.1.7-x86-mingw32)
best_in_place (2.1.0)
@@ -36,6 +39,10 @@ GEM
rails (~> 3.1)
builder (3.0.4)
cancan (1.6.10)
+ climate_control (0.0.3)
+ activesupport (>= 3.0)
+ cocaine (0.5.4)
+ climate_control (>= 0.0.3, < 1.0)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
@@ -64,12 +71,25 @@ GEM
railties (>= 3.1.0, < 5.0)
thor (~> 0.14)
json (1.8.1)
+ kaminari (0.16.1)
+ actionpack (>= 3.0.0)
+ activesupport (>= 3.0.0)
mail (2.5.4)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.25.1)
+ mini_portile (0.6.0)
multi_json (1.10.0)
+ nokogiri (1.6.2.1)
+ mini_portile (= 0.6.0)
+ nokogiri (1.6.2.1-x86-mingw32)
+ mini_portile (= 0.6.0)
orm_adapter (0.5.0)
+ paperclip (4.1.1)
+ activemodel (>= 3.0.0)
+ activesupport (>= 3.0.0)
+ cocaine (~> 0.5.3)
+ mime-types
pg (0.17.1)
pg (0.17.1-x86-mingw32)
polyglot (0.3.4)
@@ -100,7 +120,7 @@ GEM
rake (10.3.2)
rdoc (3.12.2)
json (~> 1.4)
- redis (3.0.7)
+ redis (2.2.2)
sass (3.3.7)
sass-rails (3.2.6)
railties (~> 3.2.0)
@@ -129,6 +149,7 @@ PLATFORMS
x86-mingw32
DEPENDENCIES
+ aws-sdk
best_in_place
cancan
coffee-rails (~> 3.2.1)
@@ -138,9 +159,11 @@ DEPENDENCIES
jbuilder (= 0.8.2)
jquery-rails (= 2.1.2)
json
+ kaminari
+ paperclip
pg
rails (= 3.2.17)
rails3-jquery-autocomplete
- redis
+ redis (= 2.2.2)
sass-rails
uglifier (>= 1.0.3)
diff --git a/Gemfile~ b/Gemfile~
deleted file mode 100644
index 9e2acc35..00000000
--- a/Gemfile~
+++ /dev/null
@@ -1,47 +0,0 @@
-source 'https://rubygems.org'
-
-gem 'rails', '3.2.17'
-
-# Bundle edge Rails instead:
-# gem 'rails', :git => 'git://github.com/rails/rails.git'
-
-gem 'devise'
-gem 'redis'
-gem 'pg'
-gem 'cancan'
-gem 'formula'
-gem 'formtastic'
-gem 'json'
-gem 'rails3-jquery-autocomplete'
-gem 'best_in_place'
-gem 'therubyracer' #optional
-#gem 'rb-readline'
-
-# Gems used only for assets and not required
-# in production environments by default.
-group :assets do
- gem 'sass-rails'
- gem 'coffee-rails', '~> 3.2.1'
-
- # See https://github.com/sstephenson/execjs#readme for more supported runtimes
- # gem 'therubyracer'
-
- gem 'uglifier', '>= 1.0.3'
-end
-
-gem 'jquery-rails', '2.1.2'
-
-# To use ActiveModel has_secure_password
-# gem 'bcrypt-ruby', '~> 3.0.0'
-
-# To use Jbuilder templates for JSON
- gem 'jbuilder', '0.8.2'
-
-# Use unicorn as the web server
-# gem 'unicorn'
-
-# Deploy with Capistrano
-# gem 'capistrano'
-
-# To use debugger
-# gem 'ruby-debug19', :require => 'ruby-debug'
diff --git a/Metamaps AGPL License.txt b/LICENSE
similarity index 93%
rename from Metamaps AGPL License.txt
rename to LICENSE
index c5a113d7..58777e31 100644
--- a/Metamaps AGPL License.txt
+++ b/LICENSE
@@ -1,7 +1,7 @@
- GNU AFFERO GENERAL PUBLIC LICENSE
+GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
- Copyright (C) 2007 Free Software Foundation, Inc. [http://fsf.org/]
+ Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
@@ -617,4 +617,45 @@ Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
-
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published
+ by the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU AGPL, see
+.
diff --git a/MacInstallation.md b/MacInstallation.md
new file mode 100644
index 00000000..a6e47436
--- /dev/null
+++ b/MacInstallation.md
@@ -0,0 +1,40 @@
+install homebrew
+
+ \curl -sSL https://get.rvm.io | bash -s stable --rails
+
+ rvm install 1.9.3 --with-gcc=clang
+
+ rvm use 1.9.3
+
+ gem install lunchy
+
+(http://www.moncefbelyamani.com/how-to-install-postgresql-on-a-mac-with-homebrew-and-lunchy/)
+
+
+ brew install postgresql
+ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
+ createuser metamaps -P -s -d
+
+set a password
+
+ lunchy start postgres
+
+
+cd into the metamaps directory
+
+ bundle install
+
+
+copy the database.yml.default file and rename it database.yml
+make sure the username and password match the POSTGRES username and password you set
+
+
+http://nodejs.org/ hit install, download, open, install
+
+
+ rake db:create
+ rake db:schema:load
+ rake db:fixtures:load
+ rails s
+
+( to start the server)
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..af6e92c4
--- /dev/null
+++ b/README.md
@@ -0,0 +1,55 @@
+Metamaps
+=======
+
+Welcome to the Metamaps GitHub repo.
+
+## About
+
+Metamaps is a free and AGPL open source technology for changemakers, innovators, educators and students. It enables individuals and communities to build and visualize their shared knowledge and unlock their collective intelligence. You can find out about more about the project at the [blog][site-blog].
+
+You can find a version of this software running at [metamaps.cc][site-beta], where the technology is being tested in a private beta.
+
+Metamaps is created and maintained by a distributed, nomadic community comprised of technologists, artists and storytellers. You can get in touch with us at team@metamaps.cc or @metamapps on twitter.
+
+To get connected with the community interested in Metamaps, join our [Google+ community][community].
+
+## Installation
+
+Depending on which OS you are using, the instructions for getting set up with a local installation of the Metamaps software will vary. Because the software has both Node.js components, and RubyOnRails, getting set up with your local copy can take 1 to 2 hours.
+- [For Windows][windows-installation]
+- [For Ubuntu][ubuntu-installation]
+- [For Mac][mac-installation]
+
+## Contributing
+
+Cloning this repository directly is primarily for those wishing to contribute to our codebase. Check out our [contributing instructions][contributing] to get involved.
+
+## Documentation
+
+- TODO
+
+## Community
+
+- If you would like to report a bug, please check the [issues][contributing-issues] section in our [contributing instructions][contributing].
+- To participate in discussions and a public forum about Metamaps, join the [Google+ community][community]
+- For contributors, read more instructions in [CONTRIBUTING.md][contributing].
+
+## Licensing information
+This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
+
+The license can be read [here][license].
+
+Copyright (c) 2014 Connor Turland
+
+
+[site-blog]: http://blog.metamaps.cc
+[site-beta]: http://metamaps.cc
+[community]: https://plus.google.com/u/0/communities/115060009262157699234
+[license]: https://github.com/Connoropolous/metamaps_gen002/blob/master/LICENSE
+[contributing]: https://github.com/Connoropolous/metamaps_gen002/blob/master/CONTRIBUTING.md
+[contributing-issues]: https://github.com/Connoropolous/metamaps_gen002/blob/master/CONTRIBUTING.md#reporting-bugs-and-other-issues
+[windows-installation]: https://github.com/Connoropolous/metamaps_gen002/blob/master/WindowsInstallation.md
+[mac-installation]: https://github.com/Connoropolous/metamaps_gen002/blob/master/MacInstallation.md
+[ubuntu-installation]: https://github.com/Connoropolous/metamaps_gen002/blob/master/UbuntuInstallation.md
diff --git a/README.rdoc b/README.rdoc
deleted file mode 100644
index c90f8df3..00000000
--- a/README.rdoc
+++ /dev/null
@@ -1,89 +0,0 @@
-== Metamaps
-Metamaps is a free and open source technology for changemakers, innovators, educators and students. It enables individuals and communities to build and visualize their shared knowledge and unlock their collective intelligence. You can find out about more about the project at http://blog.metamaps.cc.
-
-You can find a version of this software running at http://metamaps.cc, where the technology is being beta tested in a private beta, if you're not up to the task of running your own version.
-
-Metamaps is created and maintained by a distributed, nomadic community comprised of technologists, artists and storytellers. You can get in touch with us at team@metamaps.cc or @metamapps on twitter.
-
-To get connected with the community interested in Metamaps, join our G+ community. https://plus.google.com/u/0/communities/115060009262157699234
-
-To contribute to Metamaps, fork this repository, and submit a pull request!
-
-==Running Metamaps On Your Local Machine
-
-First off, Metamaps runs on Ruby On Rails. Ruby 1.9.3 and Rails 3.2. You'll need to get Ruby and Rails installed on your computer if you don't already have it. We recommend using the Rails Installer, which you can download from Mac or Windows at http://railsinstaller.org/en (see the notes below about Ubuntu). This will get you set up perfectly with the right versions of Ruby, and Rails for running your local version of Metamaps.
-
-It uses postgreSQL 9.2 as a database. You can install that for your computer from here: http://www.enterprisedb.com/products-services-training/pgdownload . During installation you can choose whatever database password you like. Make sure to note it down!
-
-Once you install those, open a 'command prompt with ruby and rails'.
-
-Navigate to the folder that you want to download the metamaps files to and run the following: (use your forked git repository address if it's different than this repo. You will also need to go to your Github account settings and add the SSH key that was placed in your clipboard earlier)
- git clone git@github.com:Connoropolous/metamaps_gen002.git
- cd metamaps_gen002
-
-Now you're in the main directory.
-
-Install all the gems needed for Metamaps by running
- $ bundle install
-
-Setting up the database:
-
-1) Copy /config/database.yml.default and rename the copy to /config/database.yml then edit database.yml with your text editor and set the password to whatever you chose when you set up the PostGres database.
-
-2) In a terminal:
- $ rake db:create
- $ rake db:schema:load
- $ rake db:fixtures:load
-
-Running the server:
-
- $rails s #runs the server
-
-Navigate your browser to localhost:3000 once you have the server running
-
-Sign in with the default account
-
-email: user@user.com
-
-password: toolsplusconsciousness
-
-OR create a new account at /users/sign_up, and use access code 'qwertyui'
-
-Start mapping and programming!
-
-
-==Installing on Ubuntu
-
-There can be trouble installing on Ubuntu
-
-Try installing postgresql and libpq-dev.
-
-It's also recommended using Ruby Version Manager (rvm)
- $rvm reinstall ruby-1.9.3-p125
-
-execjs might complain there is no runtime, if so add gem 'therubyracer' to the Gemfile
-
-
-== Finding Your Way Around The Code
-
-Here are the important folders/files:
-
-config/database.yml: This file is your database configuration. If it doesn't exist, copy it from config/database.yml.default and then get it set up. config/database.yml is in .gitignore
-
-app/assets/javascripts/application.js: Global Javascript
-
-app/assets/javascripts/Jit/*: These files handle all code that uses the Javascript Infovis Toolkit, so realistically, most code for laying stuff out is in here.
-
-app/assets/controllers/*: These files define actions you can do on the different database objects. So for instance, what happens when you edit a Synapse? Check in app/assets/controllers/synapse_controller.rb, in the edit block
-
-app/assets/views/*.html.erb: Files in here define either html that is displayed when a certain action is called (like edit, or create) on a thing. E.G. app/assets/views/topic/new.html.erb would have a form for creating a new topic. We don't use that way very much anymore though. "Partial" views can be called elsewhere in ruby code and are prefixed with an underscore. So we focus more on the files starting with an underscore. Read through the comments at the top of each file to understand what they all do.
-
-app/assets/views/*.js.erb: Javascript that is called in response to, e.g., editing or creating a topic, synapse, etc.
-
-
-== Licensing Information
-This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
-
-This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
-
-You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses.
diff --git a/Rakefile b/Rakefile
index b21a66b9..30cf58f5 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,4 +4,4 @@
require File.expand_path('../config/application', __FILE__)
-ISSAD::Application.load_tasks
+Metamaps::Application.load_tasks
diff --git a/Ubuntu README.md b/UbuntuInstallation.md
similarity index 55%
rename from Ubuntu README.md
rename to UbuntuInstallation.md
index beefc79f..348ad5c1 100644
--- a/Ubuntu README.md
+++ b/UbuntuInstallation.md
@@ -1,101 +1,109 @@
Firstly this walkthrough is done with a 14.04 32bit install of Ubuntu.
-All Commands are quoted with "" which are not to be included in the command.
-
All commands that I could are terminal based.
Lets check if all updates for the system are installed first
in terminal type
-"sudo apt-get update"
+ sudo apt-get update
now we need to install git
-"sudo apt-get install git"
+ sudo apt-get install git
lets get our RVM installed (Ruby Version Manager) now this is fun because the package you will get from apt-get is outdated.
so we are going to use CURL to get RVM
-"sudo apt-get install curl"
+ sudo apt-get install curl
then lets install RVM with curl like this
-"curl -L get.rvm.io | bash -s stable"
+ curl -L get.rvm.io | bash -s stable
-"PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting"
+ PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
-"[[ -s "$HOME/.profile" ]] && source "$HOME/.profile""
+ [[ -s "$HOME/.profile" ]] && source "$HOME/.profile"
-"[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm""
+ [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
-"source ~/.rvm/scripts/rvm"
+ source ~/.rvm/scripts/rvm
now we can actually install RVM
-"rvm requirements"
+ rvm requirements
running this will check your system for requirements as well so you will need to put your system password in.
alright now we can download metamaps from the master using git
-"git clone https://github.com/Connoropolous/metamaps_gen002.git"
+ git clone https://github.com/Connoropolous/metamaps_gen002.git
now there is a couple other things we are going to need which is nodejs, postgresql, libpq-dev and redis-server
-"sudo apt-get install nodejs"
+ sudo apt-get install nodejs
-"sudo apt-get install postgresql"
+ sudo apt-get install postgresql
-"sudo apt-get install libpq-dev"
+ sudo apt-get install libpq-dev
-"sudo apt-get install redis-server"
+ sudo apt-get install redis-server
Install the specific version of ruby needed this will take some time *Note you will get a warning about this being an outdated version*
-"rvm install ruby-1.9.3-p125"
+ rvm install ruby-1.9.3-p125
-Now we also need to rename your database file which is in ./config/database.yml.default to database.yml
+Now we also need to rename your database file which is in ./config/database.default.yml to database.yml
now run inside your metamaps_gen002 folder
-"bundle install"
+ bundle install
in your top lvl directory for metamaps this is a lengthy process so you might want to go and make a coffee or something :)
alright now we need to make sure your postgres password is the same as it is listed in the DB file so we are going to set it by
-"sudo -u postgres psql"
+ sudo -u postgres psql
Select postgres like this
-"\password postgres;"
+ \password postgres
set the password to 3112
Then to quit
-"\q;"
+ \q
now we can run the rake install and db creation
-"rake db:create"
+ rake db:create
-"rake db:schema:load"
+ rake db:schema:load
+
+ rake db:fixtures:load
-"rake db:fixtures:load"
-
-Execute the server : "rails s"
+Execute the server:
+
+ rails s
and dont forget to run realtime too open a new terminal
navigate to ./realtime and run
-"nodejs realtime-server.js"
+ nodejs realtime-server.js
-Now your all set enjoy your personal server of metamaps :)
+Now you're all set enjoy your personal server of metamaps :)
+Navigate your browser to localhost:3000 once you have the server running
+Sign in with the default account
+email: user@user.com
+password: toolsplusconsciousness
+
+OR create a new account at /join, and use access code 'qwertyui'
+
+Start mapping and programming!
diff --git a/WindowsInstallation.md b/WindowsInstallation.md
new file mode 100644
index 00000000..0e8dcd4e
--- /dev/null
+++ b/WindowsInstallation.md
@@ -0,0 +1,42 @@
+First off, Metamaps runs on Ruby On Rails. Ruby 1.9.3 and Rails 3.2. You'll need to get Ruby and Rails installed on your computer if you don't already have it. We recommend using the Rails Installer, which you can download from Mac or Windows at http://railsinstaller.org/en (see the notes below about Ubuntu). This will get you set up perfectly with the right versions of Ruby, and Rails for running your local version of Metamaps.
+
+It uses postgreSQL 9.2 as a database. You can install that for your computer from here: http://www.enterprisedb.com/products-services-training/pgdownload . During installation you can choose whatever database password you like. Make sure to note it down!
+
+Once you install those, open a 'command prompt with ruby and rails'.
+
+Navigate to the folder that you want to download the metamaps files to and run the following: (use your forked git repository address if it's different than this repo. You will also need to go to your Github account settings and add the SSH key that was placed in your clipboard earlier)
+
+ git clone https://github.com/Connoropolous/metamaps_gen002.git
+ cd metamaps_gen002
+
+Now you're in the main directory.
+
+Install all the gems needed for Metamaps by running
+
+ bundle install
+
+Setting up the database:
+
+1) Copy /config/database.yml.default and rename the copy to /config/database.yml then edit database.yml with your text editor and set the password to whatever you chose when you set up the PostGres database.
+
+2) In a terminal:
+
+ rake db:create
+ rake db:schema:load
+ rake db:fixtures:load
+
+Running the server:
+
+ rails s
+
+Navigate your browser to localhost:3000 once you have the server running
+
+Sign in with the default account
+
+email: user@user.com
+
+password: toolsplusconsciousness
+
+OR create a new account at /join, and use access code 'qwertyui'
+
+Start mapping and programming!
diff --git a/app/assets/images/MMCCicon_add.png b/app/assets/images/MMCCicon_add.png
deleted file mode 100644
index fdb4045f..00000000
Binary files a/app/assets/images/MMCCicon_add.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_add_map.png b/app/assets/images/MMCCicon_add_map.png
deleted file mode 100644
index ded32adc..00000000
Binary files a/app/assets/images/MMCCicon_add_map.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_admin.png b/app/assets/images/MMCCicon_admin.png
deleted file mode 100644
index a3b9a767..00000000
Binary files a/app/assets/images/MMCCicon_admin.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_center.png b/app/assets/images/MMCCicon_center.png
deleted file mode 100644
index c009d99d..00000000
Binary files a/app/assets/images/MMCCicon_center.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_commons.png b/app/assets/images/MMCCicon_commons.png
deleted file mode 100644
index 1eed3c5b..00000000
Binary files a/app/assets/images/MMCCicon_commons.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_commons_black.png b/app/assets/images/MMCCicon_commons_black.png
deleted file mode 100644
index 4f06fed8..00000000
Binary files a/app/assets/images/MMCCicon_commons_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_delete_black.png b/app/assets/images/MMCCicon_delete_black.png
deleted file mode 100644
index 017a1adf..00000000
Binary files a/app/assets/images/MMCCicon_delete_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_delete_grey.png b/app/assets/images/MMCCicon_delete_grey.png
deleted file mode 100644
index 4ba2b136..00000000
Binary files a/app/assets/images/MMCCicon_delete_grey.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_edit_permission_black.png b/app/assets/images/MMCCicon_edit_permission_black.png
deleted file mode 100644
index e87d006e..00000000
Binary files a/app/assets/images/MMCCicon_edit_permission_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_filter.png b/app/assets/images/MMCCicon_filter.png
deleted file mode 100644
index afb23324..00000000
Binary files a/app/assets/images/MMCCicon_filter.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_filter2.png b/app/assets/images/MMCCicon_filter2.png
deleted file mode 100644
index 5b50ffdd..00000000
Binary files a/app/assets/images/MMCCicon_filter2.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_go.png b/app/assets/images/MMCCicon_go.png
deleted file mode 100644
index e35a0f87..00000000
Binary files a/app/assets/images/MMCCicon_go.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_help.png b/app/assets/images/MMCCicon_help.png
deleted file mode 100644
index 16cd1894..00000000
Binary files a/app/assets/images/MMCCicon_help.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_hide.png b/app/assets/images/MMCCicon_hide.png
deleted file mode 100644
index 80ea7276..00000000
Binary files a/app/assets/images/MMCCicon_hide.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_info.png b/app/assets/images/MMCCicon_info.png
deleted file mode 100644
index 4594cba0..00000000
Binary files a/app/assets/images/MMCCicon_info.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_invite.png b/app/assets/images/MMCCicon_invite.png
deleted file mode 100644
index 347ddc02..00000000
Binary files a/app/assets/images/MMCCicon_invite.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_left_arrow.png b/app/assets/images/MMCCicon_left_arrow.png
deleted file mode 100644
index 23cd9559..00000000
Binary files a/app/assets/images/MMCCicon_left_arrow.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_link.png b/app/assets/images/MMCCicon_link.png
deleted file mode 100644
index 8bd1ee24..00000000
Binary files a/app/assets/images/MMCCicon_link.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_logout.png b/app/assets/images/MMCCicon_logout.png
deleted file mode 100644
index 5f22796f..00000000
Binary files a/app/assets/images/MMCCicon_logout.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_map.png b/app/assets/images/MMCCicon_map.png
deleted file mode 100644
index e1a61d89..00000000
Binary files a/app/assets/images/MMCCicon_map.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_map_black.png b/app/assets/images/MMCCicon_map_black.png
deleted file mode 100644
index abefa2a1..00000000
Binary files a/app/assets/images/MMCCicon_map_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_mapper.png b/app/assets/images/MMCCicon_mapper.png
deleted file mode 100644
index 0e9c3207..00000000
Binary files a/app/assets/images/MMCCicon_mapper.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_mapper_black.png b/app/assets/images/MMCCicon_mapper_black.png
deleted file mode 100644
index a324b3a9..00000000
Binary files a/app/assets/images/MMCCicon_mapper_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_maximize_arrow.png b/app/assets/images/MMCCicon_maximize_arrow.png
deleted file mode 100644
index 1fe42d26..00000000
Binary files a/app/assets/images/MMCCicon_maximize_arrow.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_maximize_arrow_black.png b/app/assets/images/MMCCicon_maximize_arrow_black.png
deleted file mode 100644
index 5196c38e..00000000
Binary files a/app/assets/images/MMCCicon_maximize_arrow_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_metacode_set.png b/app/assets/images/MMCCicon_metacode_set.png
deleted file mode 100644
index 98aea34a..00000000
Binary files a/app/assets/images/MMCCicon_metacode_set.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_metacode_set_change.png b/app/assets/images/MMCCicon_metacode_set_change.png
deleted file mode 100644
index 56279526..00000000
Binary files a/app/assets/images/MMCCicon_metacode_set_change.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_minimize_arrow.png b/app/assets/images/MMCCicon_minimize_arrow.png
deleted file mode 100644
index 2aad516c..00000000
Binary files a/app/assets/images/MMCCicon_minimize_arrow.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_minimize_arrow_black.png b/app/assets/images/MMCCicon_minimize_arrow_black.png
deleted file mode 100644
index cb1a83b7..00000000
Binary files a/app/assets/images/MMCCicon_minimize_arrow_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_pop-out.png b/app/assets/images/MMCCicon_pop-out.png
deleted file mode 100644
index ca3ecd45..00000000
Binary files a/app/assets/images/MMCCicon_pop-out.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_pop-out_black.png b/app/assets/images/MMCCicon_pop-out_black.png
deleted file mode 100644
index 7db39126..00000000
Binary files a/app/assets/images/MMCCicon_pop-out_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_private.png b/app/assets/images/MMCCicon_private.png
deleted file mode 100644
index 50e98e18..00000000
Binary files a/app/assets/images/MMCCicon_private.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_private_black.png b/app/assets/images/MMCCicon_private_black.png
deleted file mode 100644
index 076205f6..00000000
Binary files a/app/assets/images/MMCCicon_private_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_public.png b/app/assets/images/MMCCicon_public.png
deleted file mode 100644
index e8b51410..00000000
Binary files a/app/assets/images/MMCCicon_public.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_public_black.png b/app/assets/images/MMCCicon_public_black.png
deleted file mode 100644
index 950c49e4..00000000
Binary files a/app/assets/images/MMCCicon_public_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_realtime_blue.png b/app/assets/images/MMCCicon_realtime_blue.png
deleted file mode 100644
index 98bd1982..00000000
Binary files a/app/assets/images/MMCCicon_realtime_blue.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_realtime_junto.png b/app/assets/images/MMCCicon_realtime_junto.png
deleted file mode 100644
index 587065b4..00000000
Binary files a/app/assets/images/MMCCicon_realtime_junto.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_remove_from_map_black.png b/app/assets/images/MMCCicon_remove_from_map_black.png
deleted file mode 100644
index 9ddc204f..00000000
Binary files a/app/assets/images/MMCCicon_remove_from_map_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_remove_from_map_grey.png b/app/assets/images/MMCCicon_remove_from_map_grey.png
deleted file mode 100644
index 0e863158..00000000
Binary files a/app/assets/images/MMCCicon_remove_from_map_grey.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_right_arrow.png b/app/assets/images/MMCCicon_right_arrow.png
deleted file mode 100644
index 5b57c191..00000000
Binary files a/app/assets/images/MMCCicon_right_arrow.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_save_layout.png b/app/assets/images/MMCCicon_save_layout.png
deleted file mode 100644
index d163dfb5..00000000
Binary files a/app/assets/images/MMCCicon_save_layout.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_save_new_map.png b/app/assets/images/MMCCicon_save_new_map.png
deleted file mode 100644
index ac6d5e95..00000000
Binary files a/app/assets/images/MMCCicon_save_new_map.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_settings.png b/app/assets/images/MMCCicon_settings.png
deleted file mode 100644
index ae56c5a9..00000000
Binary files a/app/assets/images/MMCCicon_settings.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_synapse.png b/app/assets/images/MMCCicon_synapse.png
deleted file mode 100644
index 9fea87f0..00000000
Binary files a/app/assets/images/MMCCicon_synapse.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_synapse_black.png b/app/assets/images/MMCCicon_synapse_black.png
deleted file mode 100644
index 1f96a7e9..00000000
Binary files a/app/assets/images/MMCCicon_synapse_black.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_topic.png b/app/assets/images/MMCCicon_topic.png
deleted file mode 100644
index 90457c0b..00000000
Binary files a/app/assets/images/MMCCicon_topic.png and /dev/null differ
diff --git a/app/assets/images/MMCCicon_wand.png b/app/assets/images/MMCCicon_wand.png
deleted file mode 100644
index 409d1948..00000000
Binary files a/app/assets/images/MMCCicon_wand.png and /dev/null differ
diff --git a/app/assets/images/MMSocial-51.png b/app/assets/images/MMSocial-51.png
deleted file mode 100644
index d31ecc9f..00000000
Binary files a/app/assets/images/MMSocial-51.png and /dev/null differ
diff --git a/app/assets/images/MMSocial-52.png b/app/assets/images/MMSocial-52.png
deleted file mode 100644
index 2396356a..00000000
Binary files a/app/assets/images/MMSocial-52.png and /dev/null differ
diff --git a/app/assets/images/MMSocial-53.png b/app/assets/images/MMSocial-53.png
deleted file mode 100644
index e78ab067..00000000
Binary files a/app/assets/images/MMSocial-53.png and /dev/null differ
diff --git a/app/assets/images/about_sprite.png b/app/assets/images/about_sprite.png
new file mode 100755
index 00000000..58eafff7
Binary files /dev/null and b/app/assets/images/about_sprite.png differ
diff --git a/app/assets/images/addtopic_sprite.png b/app/assets/images/addtopic_sprite.png
new file mode 100755
index 00000000..14213bf5
Binary files /dev/null and b/app/assets/images/addtopic_sprite.png differ
diff --git a/app/assets/images/arrow_sprite.png b/app/assets/images/arrow_sprite.png
new file mode 100755
index 00000000..d033c784
Binary files /dev/null and b/app/assets/images/arrow_sprite.png differ
diff --git a/app/assets/images/arrowdown_sprite.png b/app/assets/images/arrowdown_sprite.png
new file mode 100755
index 00000000..1353452d
Binary files /dev/null and b/app/assets/images/arrowdown_sprite.png differ
diff --git a/app/assets/images/arrowperms_sprite.png b/app/assets/images/arrowperms_sprite.png
new file mode 100644
index 00000000..eff00341
Binary files /dev/null and b/app/assets/images/arrowperms_sprite.png differ
diff --git a/app/assets/images/arrowright_sprite.png b/app/assets/images/arrowright_sprite.png
new file mode 100755
index 00000000..5fb67803
Binary files /dev/null and b/app/assets/images/arrowright_sprite.png differ
diff --git a/app/assets/images/background2-for-repeating.jpg b/app/assets/images/background2-for-repeating.jpg
deleted file mode 100644
index 946cfa6b..00000000
Binary files a/app/assets/images/background2-for-repeating.jpg and /dev/null differ
diff --git a/app/assets/images/background2.jpg b/app/assets/images/background2.jpg
deleted file mode 100644
index 9d9a3c7c..00000000
Binary files a/app/assets/images/background2.jpg and /dev/null differ
diff --git a/app/assets/images/beta_gen002.png b/app/assets/images/beta_gen002.png
deleted file mode 100644
index 550e9e4b..00000000
Binary files a/app/assets/images/beta_gen002.png and /dev/null differ
diff --git a/app/assets/images/bg.png b/app/assets/images/bg.png
deleted file mode 100644
index 681d441c..00000000
Binary files a/app/assets/images/bg.png and /dev/null differ
diff --git a/app/assets/images/compass_arrow.png b/app/assets/images/compass_arrow.png
new file mode 100644
index 00000000..e688df79
Binary files /dev/null and b/app/assets/images/compass_arrow.png differ
diff --git a/app/assets/images/context_sprite.png b/app/assets/images/context_sprite.png
new file mode 100755
index 00000000..df724cb9
Binary files /dev/null and b/app/assets/images/context_sprite.png differ
diff --git a/app/assets/images/edit.png b/app/assets/images/edit.png
new file mode 100755
index 00000000..ead97a43
Binary files /dev/null and b/app/assets/images/edit.png differ
diff --git a/app/assets/images/exploremaps_sprite.png b/app/assets/images/exploremaps_sprite.png
new file mode 100755
index 00000000..16535918
Binary files /dev/null and b/app/assets/images/exploremaps_sprite.png differ
diff --git a/app/assets/images/extents_sprite.png b/app/assets/images/extents_sprite.png
new file mode 100755
index 00000000..583d2c7c
Binary files /dev/null and b/app/assets/images/extents_sprite.png differ
diff --git a/app/assets/images/feedback_sprite.png b/app/assets/images/feedback_sprite.png
new file mode 100755
index 00000000..fc7998d3
Binary files /dev/null and b/app/assets/images/feedback_sprite.png differ
diff --git a/app/assets/images/help_sprite.png b/app/assets/images/help_sprite.png
new file mode 100755
index 00000000..da171b68
Binary files /dev/null and b/app/assets/images/help_sprite.png differ
diff --git a/app/assets/images/home_dark.png b/app/assets/images/home_dark.png
new file mode 100755
index 00000000..0008b5b4
Binary files /dev/null and b/app/assets/images/home_dark.png differ
diff --git a/app/assets/images/home_light.png b/app/assets/images/home_light.png
new file mode 100755
index 00000000..de4291da
Binary files /dev/null and b/app/assets/images/home_light.png differ
diff --git a/app/assets/images/junto24_sprite.png b/app/assets/images/junto24_sprite.png
new file mode 100755
index 00000000..24e1a1af
Binary files /dev/null and b/app/assets/images/junto24_sprite.png differ
diff --git a/app/assets/images/labelCheckbox.png b/app/assets/images/labelCheckbox.png
deleted file mode 100644
index 8f6a6e5e..00000000
Binary files a/app/assets/images/labelCheckbox.png and /dev/null differ
diff --git a/app/assets/images/link_sprite.png b/app/assets/images/link_sprite.png
new file mode 100755
index 00000000..fdfec698
Binary files /dev/null and b/app/assets/images/link_sprite.png differ
diff --git a/app/assets/images/linkedmedia.png b/app/assets/images/linkedmedia.png
new file mode 100755
index 00000000..2009b7a3
Binary files /dev/null and b/app/assets/images/linkedmedia.png differ
diff --git a/app/assets/images/map.png b/app/assets/images/map.png
deleted file mode 100644
index 1137c4ad..00000000
Binary files a/app/assets/images/map.png and /dev/null differ
diff --git a/app/assets/images/map32_sprite.png b/app/assets/images/map32_sprite.png
new file mode 100755
index 00000000..33c8ee6c
Binary files /dev/null and b/app/assets/images/map32_sprite.png differ
diff --git a/app/assets/images/mapInfoLine.png b/app/assets/images/mapInfoLine.png
deleted file mode 100644
index e73a2339..00000000
Binary files a/app/assets/images/mapInfoLine.png and /dev/null differ
diff --git a/app/assets/images/mapinfo_sprite.png b/app/assets/images/mapinfo_sprite.png
new file mode 100755
index 00000000..9429ab30
Binary files /dev/null and b/app/assets/images/mapinfo_sprite.png differ
diff --git a/app/assets/images/menu_icon_32.png b/app/assets/images/menu_icon_32.png
deleted file mode 100644
index 811f4af3..00000000
Binary files a/app/assets/images/menu_icon_32.png and /dev/null differ
diff --git a/app/assets/images/metacode-watermark.png b/app/assets/images/metacode-watermark.png
deleted file mode 100644
index 2196e907..00000000
Binary files a/app/assets/images/metacode-watermark.png and /dev/null differ
diff --git a/app/assets/images/metacodesettings_sprite.png b/app/assets/images/metacodesettings_sprite.png
new file mode 100755
index 00000000..6b64c74e
Binary files /dev/null and b/app/assets/images/metacodesettings_sprite.png differ
diff --git a/app/assets/images/metamap16.png b/app/assets/images/metamap16.png
new file mode 100755
index 00000000..923dbc4e
Binary files /dev/null and b/app/assets/images/metamap16.png differ
diff --git a/app/assets/images/metamap32c.png b/app/assets/images/metamap32c.png
new file mode 100755
index 00000000..36c3282a
Binary files /dev/null and b/app/assets/images/metamap32c.png differ
diff --git a/app/assets/images/metamap36c.png b/app/assets/images/metamap36c.png
new file mode 100755
index 00000000..5917fb6f
Binary files /dev/null and b/app/assets/images/metamap36c.png differ
diff --git a/app/assets/images/permissions32_sprite.png b/app/assets/images/permissions32_sprite.png
new file mode 100755
index 00000000..dd1e175e
Binary files /dev/null and b/app/assets/images/permissions32_sprite.png differ
diff --git a/app/assets/images/permissions36_sprite.png b/app/assets/images/permissions36_sprite.png
new file mode 100755
index 00000000..422022c5
Binary files /dev/null and b/app/assets/images/permissions36_sprite.png differ
diff --git a/app/assets/images/permissions64sprite.png b/app/assets/images/permissions64sprite.png
new file mode 100755
index 00000000..2f9d189d
Binary files /dev/null and b/app/assets/images/permissions64sprite.png differ
diff --git a/app/assets/images/photo.png b/app/assets/images/photo.png
new file mode 100755
index 00000000..ba283a57
Binary files /dev/null and b/app/assets/images/photo.png differ
diff --git a/app/assets/images/remove.png b/app/assets/images/remove.png
new file mode 100755
index 00000000..9f44bea2
Binary files /dev/null and b/app/assets/images/remove.png differ
diff --git a/app/assets/images/search.png b/app/assets/images/search.png
new file mode 100755
index 00000000..b7e53cb7
Binary files /dev/null and b/app/assets/images/search.png differ
diff --git a/app/assets/images/search_icon_32x32.png b/app/assets/images/search_icon_32x32.png
deleted file mode 100644
index 00a6dc34..00000000
Binary files a/app/assets/images/search_icon_32x32.png and /dev/null differ
diff --git a/app/assets/images/settings.png b/app/assets/images/settings.png
deleted file mode 100644
index d3348a38..00000000
Binary files a/app/assets/images/settings.png and /dev/null differ
diff --git a/app/assets/images/share_sprite.png b/app/assets/images/share_sprite.png
new file mode 100755
index 00000000..5486daef
Binary files /dev/null and b/app/assets/images/share_sprite.png differ
diff --git a/app/assets/images/shattered_@2X.png b/app/assets/images/shattered_@2X.png
new file mode 100644
index 00000000..19322777
Binary files /dev/null and b/app/assets/images/shattered_@2X.png differ
diff --git a/app/assets/images/spinner.gif b/app/assets/images/spinner.gif
deleted file mode 100644
index e17b93cd..00000000
Binary files a/app/assets/images/spinner.gif and /dev/null differ
diff --git a/app/assets/images/synapse16.png b/app/assets/images/synapse16.png
new file mode 100755
index 00000000..d88b0a06
Binary files /dev/null and b/app/assets/images/synapse16.png differ
diff --git a/app/assets/images/synapse32.png b/app/assets/images/synapse32.png
new file mode 100755
index 00000000..d56080eb
Binary files /dev/null and b/app/assets/images/synapse32.png differ
diff --git a/app/assets/images/synapse32_sprite.png b/app/assets/images/synapse32_sprite.png
new file mode 100755
index 00000000..53c593d5
Binary files /dev/null and b/app/assets/images/synapse32_sprite.png differ
diff --git a/app/assets/images/synapsedirectionleft_sprite.png b/app/assets/images/synapsedirectionleft_sprite.png
new file mode 100755
index 00000000..df9f11ee
Binary files /dev/null and b/app/assets/images/synapsedirectionleft_sprite.png differ
diff --git a/app/assets/images/synapsedirectionright_sprite.png b/app/assets/images/synapsedirectionright_sprite.png
new file mode 100755
index 00000000..8ecebd60
Binary files /dev/null and b/app/assets/images/synapsedirectionright_sprite.png differ
diff --git a/app/assets/images/synapsestar.png b/app/assets/images/synapsestar.png
new file mode 100755
index 00000000..ba9a7dd3
Binary files /dev/null and b/app/assets/images/synapsestar.png differ
diff --git a/app/assets/images/topbg.png b/app/assets/images/topbg.png
deleted file mode 100644
index f56313e3..00000000
Binary files a/app/assets/images/topbg.png and /dev/null differ
diff --git a/app/assets/images/topbg2.png b/app/assets/images/topbg2.png
deleted file mode 100644
index a433e648..00000000
Binary files a/app/assets/images/topbg2.png and /dev/null differ
diff --git a/app/assets/images/topic16.png b/app/assets/images/topic16.png
new file mode 100755
index 00000000..18f6ee7a
Binary files /dev/null and b/app/assets/images/topic16.png differ
diff --git a/app/assets/images/topic32.png b/app/assets/images/topic32.png
new file mode 100755
index 00000000..53e34702
Binary files /dev/null and b/app/assets/images/topic32.png differ
diff --git a/app/assets/images/topright_sprite.png b/app/assets/images/topright_sprite.png
new file mode 100755
index 00000000..938c6a0b
Binary files /dev/null and b/app/assets/images/topright_sprite.png differ
diff --git a/vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png b/app/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
similarity index 100%
rename from vendor/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
rename to app/assets/images/ui-bg_flat_0_aaaaaa_40x100.png
diff --git a/vendor/assets/images/ui-bg_flat_75_ffffff_40x100.png b/app/assets/images/ui-bg_flat_75_ffffff_40x100.png
similarity index 100%
rename from vendor/assets/images/ui-bg_flat_75_ffffff_40x100.png
rename to app/assets/images/ui-bg_flat_75_ffffff_40x100.png
diff --git a/vendor/assets/images/ui-bg_glass_55_fbf9ee_1x400.png b/app/assets/images/ui-bg_glass_55_fbf9ee_1x400.png
similarity index 100%
rename from vendor/assets/images/ui-bg_glass_55_fbf9ee_1x400.png
rename to app/assets/images/ui-bg_glass_55_fbf9ee_1x400.png
diff --git a/vendor/assets/images/ui-bg_glass_65_ffffff_1x400.png b/app/assets/images/ui-bg_glass_65_ffffff_1x400.png
similarity index 100%
rename from vendor/assets/images/ui-bg_glass_65_ffffff_1x400.png
rename to app/assets/images/ui-bg_glass_65_ffffff_1x400.png
diff --git a/vendor/assets/images/ui-bg_glass_75_dadada_1x400.png b/app/assets/images/ui-bg_glass_75_dadada_1x400.png
similarity index 100%
rename from vendor/assets/images/ui-bg_glass_75_dadada_1x400.png
rename to app/assets/images/ui-bg_glass_75_dadada_1x400.png
diff --git a/vendor/assets/images/ui-bg_glass_75_e6e6e6_1x400.png b/app/assets/images/ui-bg_glass_75_e6e6e6_1x400.png
similarity index 100%
rename from vendor/assets/images/ui-bg_glass_75_e6e6e6_1x400.png
rename to app/assets/images/ui-bg_glass_75_e6e6e6_1x400.png
diff --git a/vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png b/app/assets/images/ui-bg_glass_95_fef1ec_1x400.png
similarity index 100%
rename from vendor/assets/images/ui-bg_glass_95_fef1ec_1x400.png
rename to app/assets/images/ui-bg_glass_95_fef1ec_1x400.png
diff --git a/vendor/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/app/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
similarity index 100%
rename from vendor/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
rename to app/assets/images/ui-bg_highlight-soft_75_cccccc_1x100.png
diff --git a/vendor/assets/images/ui-icons_222222_256x240.png b/app/assets/images/ui-icons_222222_256x240.png
similarity index 100%
rename from vendor/assets/images/ui-icons_222222_256x240.png
rename to app/assets/images/ui-icons_222222_256x240.png
diff --git a/vendor/assets/images/ui-icons_2e83ff_256x240.png b/app/assets/images/ui-icons_2e83ff_256x240.png
similarity index 100%
rename from vendor/assets/images/ui-icons_2e83ff_256x240.png
rename to app/assets/images/ui-icons_2e83ff_256x240.png
diff --git a/vendor/assets/images/ui-icons_454545_256x240.png b/app/assets/images/ui-icons_454545_256x240.png
similarity index 100%
rename from vendor/assets/images/ui-icons_454545_256x240.png
rename to app/assets/images/ui-icons_454545_256x240.png
diff --git a/vendor/assets/images/ui-icons_888888_256x240.png b/app/assets/images/ui-icons_888888_256x240.png
similarity index 100%
rename from vendor/assets/images/ui-icons_888888_256x240.png
rename to app/assets/images/ui-icons_888888_256x240.png
diff --git a/vendor/assets/images/ui-icons_cd0a0a_256x240.png b/app/assets/images/ui-icons_cd0a0a_256x240.png
similarity index 100%
rename from vendor/assets/images/ui-icons_cd0a0a_256x240.png
rename to app/assets/images/ui-icons_cd0a0a_256x240.png
diff --git a/app/assets/images/upload_sprite.png b/app/assets/images/upload_sprite.png
new file mode 100755
index 00000000..563be4b4
Binary files /dev/null and b/app/assets/images/upload_sprite.png differ
diff --git a/app/assets/images/user.png b/app/assets/images/user.png
new file mode 100755
index 00000000..67239052
Binary files /dev/null and b/app/assets/images/user.png differ
diff --git a/app/assets/images/user_sprite.png b/app/assets/images/user_sprite.png
new file mode 100755
index 00000000..72bcafac
Binary files /dev/null and b/app/assets/images/user_sprite.png differ
diff --git a/app/assets/images/xlightbox.png b/app/assets/images/xlightbox.png
new file mode 100755
index 00000000..48932848
Binary files /dev/null and b/app/assets/images/xlightbox.png differ
diff --git a/app/assets/images/zoom_sprite.png b/app/assets/images/zoom_sprite.png
new file mode 100755
index 00000000..b03bdeec
Binary files /dev/null and b/app/assets/images/zoom_sprite.png differ
diff --git a/app/assets/javascripts/Jit/excanvas.js b/app/assets/javascripts/Jit/excanvas.js
deleted file mode 100644
index 00b316ca..00000000
--- a/app/assets/javascripts/Jit/excanvas.js
+++ /dev/null
@@ -1,1416 +0,0 @@
-// Copyright 2006 Google Inc.
-//
-// Licensed 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.
-
-
-// Known Issues:
-//
-// * Patterns only support repeat.
-// * Radial gradient are not implemented. The VML version of these look very
-// different from the canvas one.
-// * Clipping paths are not implemented.
-// * Coordsize. The width and height attribute have higher priority than the
-// width and height style values which isn't correct.
-// * Painting mode isn't implemented.
-// * Canvas width/height should is using content-box by default. IE in
-// Quirks mode will draw the canvas using border-box. Either change your
-// doctype to HTML5
-// (http://www.whatwg.org/specs/web-apps/current-work/#the-doctype)
-// or use Box Sizing Behavior from WebFX
-// (http://webfx.eae.net/dhtml/boxsizing/boxsizing.html)
-// * Non uniform scaling does not correctly scale strokes.
-// * Optimize. There is always room for speed improvements.
-
-// Only add this code if we do not already have a canvas implementation
-if (!document.createElement('canvas').getContext) {
-
-(function() {
-
- // alias some functions to make (compiled) code shorter
- var m = Math;
- var mr = m.round;
- var ms = m.sin;
- var mc = m.cos;
- var abs = m.abs;
- var sqrt = m.sqrt;
-
- // this is used for sub pixel precision
- var Z = 10;
- var Z2 = Z / 2;
-
- var IE_VERSION = +navigator.userAgent.match(/MSIE ([\d.]+)?/)[1];
-
- /**
- * This funtion is assigned to the