Tom Hughes
6fb8570200
Merge branch 'master' into openstreetbugs
...
Conflicts:
config/environment.rb
config/routes.rb
2010-09-06 12:51:50 +01:00
Tom Hughes
f07819d81a
Rework application configuration
...
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.
The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00
Kai Krueger
59a6ed0e20
Don't limit get map_bugs to a small Area, by disabling the quadtile index for those searches
...
The volumn of bugs seem small enough to get away with normal or GiST indexes (not included yet)
Also includes some other fixes
2010-03-20 11:59:23 +00:00
Tom Hughes
40e920bd52
Create a proper exception class for invalid bounding box exceptions.
2009-05-26 23:47:45 +00:00
Shaun McDonald
b45dd63283
cover the other extreme in the map bounary sanitizeation. Ading some documentation, which is parsed when running rake doc:app. Fixing up a couple of tests.
2008-10-26 23:43:37 +00:00
Shaun McDonald
e13b35e0cb
making it clearer when a test case fails, as to which test case it is that is failing. Adding some more bboxes for testing.
2008-10-21 14:28:52 +00:00
Tom Hughes
8516ad87b3
Add missing sanitise_boundaries method that the API controller was
...
trying to call.
2008-02-03 15:38:02 +00:00
Xin Zheng
a59b23a18d
added module
2008-01-24 11:07:46 +00:00