Commit graph

15433 commits

Author SHA1 Message Date
Richard Fairhurst
84b67e00a0 fix problematic merge 2007-07-07 13:26:17 +00:00
Tom Hughes
55d8bc5256 Disable asset tagging to get better caching of assets. 2007-07-06 13:47:13 +00:00
Tom Hughes
4bb7ed0291 Add OpenSearch search plugins from Jono to the site. Fixes #506. 2007-07-05 18:00:30 +00:00
Tom Hughes
60817dedf0 Restore favicon. 2007-07-05 15:36:21 +00:00
Tom Hughes
2788050685 Handle public flag for GPX creation properly. 2007-07-02 23:38:13 +00:00
Tom Hughes
aacc7ae3e0 Refactor GPX creation routines to share common code. 2007-07-02 23:33:28 +00:00
Tom Hughes
743cb57e51 Remove scripts for old slippy map which are no longer used. 2007-06-30 16:30:28 +00:00
Tom Hughes
37e74fc5cb Make the slippy map work properly on IE7 at last! 2007-06-30 15:47:35 +00:00
Tom Hughes
b92e1b0584 Fix some HTML validation issue. 2007-06-30 12:09:28 +00:00
Tom Hughes
48a3a317bc Use Math.PI instead of defining it ourselves (and sometimes forgetting). 2007-06-30 11:25:53 +00:00
Tom Hughes
4235bdf162 Bring some sort of sanity to sequence numbers for segments in a
way - now everything starts counting at one again and nothing starts
at zero.
2007-06-29 23:00:27 +00:00
Tom Hughes
2804e77cc3 With much assistance from kleptog, make the map wrap when zoomed right out. 2007-06-29 15:43:14 +00:00
Tom Hughes
4358a6adcb Only do mappam for www.openstreetmap.org and openstreetmap.org to stop
the annoying "wrong API key" errors popping up all the time on my test
environment.
2007-06-29 14:54:55 +00:00
Tom Hughes
344fced9a6 Remove require_user for the api_details method as that uses HTTP authentication.
Also set the content type for API responses.
2007-06-29 10:33:14 +00:00
Steve Coast
5a66dbf907 add mappam... also stuff in user controller that must have been done by TomH? 2007-06-29 10:18:08 +00:00
Tom Hughes
7901811752 Make sure we clear the tags and segments for a way when it is deleted.
Also remove some redundant setting of timestamps that will be overwritten
by the model when saving.
2007-06-27 23:44:40 +00:00
Tom Hughes
97d5d1d385 Make passwords with a colon in them work. 2007-06-27 18:46:23 +00:00
Tom Hughes
fcc485725d Make negative caching of users work. 2007-06-27 18:16:04 +00:00
Tom Hughes
9b67da24c0 Fix deprecation warning. 2007-06-27 18:09:31 +00:00
Tom Hughes
67224fe828 More search fixes... 2007-06-27 17:48:05 +00:00
Tom Hughes
cd72ee9a66 Fix way search. 2007-06-27 17:45:00 +00:00
Tom Hughes
dcad29dad0 Split the rest action into sparate read, update and delete actions thus
allowing authorization to be done on a per-action basis without worring
about the method. This should make the user API work.

Also do a lot of cleanup of the controllers.
2007-06-27 17:27:10 +00:00
Richard Fairhurst
9d6ae5baae use render proc to write out results, see if that makes things faster 2007-06-27 10:18:55 +00:00
Tom Hughes
1845b54f66 Fix breakage. 2007-06-27 07:54:09 +00:00
Tom Hughes
a424b6282f Add more logging... 2007-06-27 07:52:58 +00:00
Tom Hughes
dcac9dfeca Treat a timestamp that can't be parse as if it didn't exist. 2007-06-26 23:21:20 +00:00
Tom Hughes
d77fb110fb Enhance logging. 2007-06-26 22:54:21 +00:00
Tom Hughes
be95e9c9db Create XML documents properly. 2007-06-26 17:43:24 +00:00
Tom Hughes
e976a6df5a Restrict object IDs to numbers to make search methods route correctly. 2007-06-26 17:39:00 +00:00
Tom Hughes
2c5ffbaaaf Fix typo. 2007-06-26 15:42:52 +00:00
Tom Hughes
b03a3f8889 Add some logging. 2007-06-26 15:42:05 +00:00
Richard Fairhurst
7ac774b00e fixing version problem for way_tags 2007-06-26 12:42:28 +00:00
Tom Hughes
c4307c7f04 Set the log level correctly for the custom logger. 2007-06-25 23:33:55 +00:00
Tom Hughes
7cf62a982a Implement a custom log class to make the log more readable. 2007-06-25 23:26:10 +00:00
Richard Fairhurst
d7c17fb0b5 more accurate unwayed segments display; warning icon flashes and has a Helpful Tooltip 2007-06-24 16:23:12 +00:00
Tom Hughes
69f364bb78 Enhacements to the migration library code. 2007-06-24 16:00:46 +00:00
Richard Fairhurst
9b5f875a15 better SQL in putway, plus trap any 0/1-length ways that Potlatch may try to upload 2007-06-24 15:22:56 +00:00
Tom Hughes
a3ad9912d5 Primary keys can't have names so don't pretend otherwise. 2007-06-24 11:38:35 +00:00
Tom Hughes
f042a797c6 Move common support code from the base migration to a library file where
it can be used by other migrations.
2007-06-24 11:25:26 +00:00
Tom Hughes
18d40684ca Remove old create_database.sql script as it no longers matches the
database and everything should be done with migrations now.
2007-06-24 11:14:29 +00:00
Tom Hughes
71606b34f0 Make sure we get the list of tags and segments to save before we do the
corresponding delete, as otherwise we might not have read them from the
database yet.
2007-06-24 11:12:52 +00:00
Tom Hughes
91461927d4 Fix bogus SQL. 2007-06-24 10:53:37 +00:00
Tom Hughes
a4647430aa Allow all trackpoints to be fetched, not just those from public traces and
the user's own traces. Also restore the 0.3 API functionality that eliminate
duplicate points.
2007-06-24 10:51:29 +00:00
Tom Hughes
b3d6d4291e Use a multi-pass approach to parsing GPX files to keep memory usage down. 2007-06-24 10:38:31 +00:00
Tom Hughes
b383517d2b Fix the segs and tags methods for old_ways so they work. 2007-06-23 23:21:35 +00:00
Tom Hughes
c184b20f9f Make sure the associations with segments and old ways are properly ordered. 2007-06-23 23:06:48 +00:00
Tom Hughes
5fcedc1bf4 Unconfuse OpenLayer's base location detection. 2007-06-23 18:35:04 +00:00
Tom Hughes
9619dfdb4b Factor out javascript code to support OpenLayers maps into a common file
that is shared by both the (current) pages that display maps.
2007-06-23 18:29:01 +00:00
Tom Hughes
9ec1b1bea5 Make sure the diary link in the LHS navigation goes to the global diary. 2007-06-23 12:46:18 +00:00
Tom Hughes
a97522a3b3 Fix up routes for diary entry changes in r3302. 2007-06-23 12:44:22 +00:00