The Rails application that powers OpenStreetMap
Find a file
Tom Hughes 90048d87d6 Ignore exceptions clearing sessions
Rails 3 sessions can't be loaded by rails 4 but reset_session also
fails because it tries to clear the session, which tries to load it
in to clear it.

So monkey patch the session to ignore exceptions during clear so
that out normal reset-on-exception logic will reset the session.
2013-09-22 10:33:31 +01:00
app Allow iD and Potlatch 2 to load assets outside the asset pipeline 2013-09-22 10:33:31 +01:00
config Ignore exceptions clearing sessions 2013-09-22 10:33:31 +01:00
db Fix rails 4 compatibility issues in migrations 2013-09-21 12:03:53 +01:00
doc changed component name in trac 2009-07-25 11:47:39 +00:00
lib Replace deprecated finder methods 2013-09-21 11:35:46 +01:00
public Allow iD and Potlatch 2 to load assets outside the asset pipeline 2013-09-22 10:33:31 +01:00
script Remove session cleanup code from cleanup script 2013-08-09 17:39:00 +01:00
test Always allow %{attribute} in model validation error messages 2013-09-21 12:03:53 +01:00
vendor Fix sizing of scale control 2013-09-13 16:02:38 +01:00
.gitignore Improve installation documentation and add contributor instructions 2013-09-09 16:45:33 +01:00
.mailmap Update mailmap 2013-06-11 01:42:30 +01:00
config.ru Update to rails 3 2011-11-14 09:42:40 +00:00
CONFIGURE.md Improve installation documentation and add contributor instructions 2013-09-09 16:45:33 +01:00
CONTRIBUTING.md Improve installation documentation and add contributor instructions 2013-09-09 16:45:33 +01:00
Gemfile Update to rails 4.0.0 2013-09-21 11:35:45 +01:00
Gemfile.lock Update to rails 4.0.0 2013-09-21 11:35:45 +01:00
INSTALL.md Improve installation documentation and add contributor instructions 2013-09-09 16:45:33 +01:00
LICENSE Add GPLv2 license file and mention in README 2012-02-23 18:55:39 +00:00
Rakefile Update to rails 3 2011-11-14 09:42:40 +00:00
README.md Improve installation documentation and add contributor instructions 2013-09-09 16:45:33 +01:00
Vendorfile Compact user menu 2013-08-21 17:20:04 -07:00

"The Rails Port"

This is The Rails Port, the Ruby on Rails application that powers the OpenStreetMap website and API. The software is also known as "openstreetmap-website".

This repository consists of:

  • The web site, including user accounts, diary entries, user-to-user messaging
  • The XML-based editing API
  • The integrated versions of the Potlatch, Potlatch 2 and iD editors
  • The Browse pages - a web front-end to the OpenStreetMap data
  • The GPX uploads, browsing and API.

A fully-functional Rails Port installation depends on other services, including map tile servers and geocoding services, that are provided by other software. The default installation uses publically-available services to help with development and testing.

License

This software is licensed under the GNU General Public License 2.0, a copy of which can be found in the LICENSE file.

Installation

The Rails Port is a Ruby on Rails application that uses PostgreSQL as its database, and has a large number of dependencies for installation. For full details please see INSTALL.md

Development

We're always keen to have more developers! Pull requests are very welcome.

  • Bugs are recorded in the issue tracker.
  • Some bug reports are also found on the OpenStreetMap trac system, in the "website" and "api" components
  • Translation is managed by Translatewiki
  • There is a rails-dev@openstreetmap.org mailing list for development discussion.
  • IRC - there is the #osm-dev channel on irc.oftc.net.
  • There are also weekly meetings of the OpenStreetMap Foundation Engineering Working Group (EWG) on Mondays at 1700 UTC on the #osm-ewg channel.

More details on contributing to the code are in the CONTRIBUTING.md file.