Commit graph

6860 commits

Author SHA1 Message Date
Frederik Ramm
6d44c78407 fixed "full" and "relationships_for_object" modes 2007-09-13 11:08:15 +00:00
Frederik Ramm
922a000b19 added tests for way and relation controllers 2007-09-13 11:06:33 +00:00
Frederik Ramm
dbdb0bec59 fixed ways_for_node call 2007-09-13 00:05:13 +00:00
Tom Hughes
ebef7b8009 Add a migration to upgrade gps_points for quad tile support. 2007-09-12 17:59:48 +00:00
Tom Hughes
b1a0e5ae8b Make the MySQL tile_for_point function take arguments in the same order
as the ruby version.
2007-09-12 17:46:03 +00:00
Tom Hughes
d19ca7c44b Fill in the tile ID before saving a trace point. Also add appropriate
validation to the tracepoint model.
2007-09-12 14:33:37 +00:00
Gabriel Ebner
7958b37bc9 rails_port_0.5/006_remove_segments_helper: Ignore more tags when deciding which segments to convert. 2007-09-12 14:08:42 +00:00
Tom Hughes
c3f0e12491 Dropping duplicate GPS points is very expensive and rarely finds
anything much to drop, so don't bother.
2007-09-12 13:49:58 +00:00
Tom Hughes
0423884184 Use QuadTiling in GPS point queries. 2007-09-12 12:14:45 +00:00
Richard Fairhurst
1fcd5f5593 Potlatch v0.2a: display GPS traces, some bugfixes 2007-09-12 10:07:26 +00:00
Tom Hughes
33a65a90c9 QuadTile infrastructure. 2007-09-11 23:55:25 +00:00
Dan Karran
285d61bf4c Send an email notification out when a new message is waiting on the site for you. 2007-09-05 22:27:22 +00:00
Tom Hughes
a287d24f12 Use BETWEEN for the node selection in the map API call as MySQL seems to
process it more efficiently.
2007-09-05 17:20:09 +00:00
Dan Karran
37317b8295 Hiding new diary entry map by default to save some space, allowing people to expand it if desired. 2007-09-05 17:18:18 +00:00
Tom Hughes
4954f65061 Don't bother deleting points which don't exist before importing a
trace - this avoids locking the table in the common case where there
are no points to delete.
2007-09-04 16:22:03 +00:00
Steve Coast
2c0cd2730c a few message prettyness things 2007-09-04 14:20:42 +00:00
Tom Hughes
9fa8aab9f2 Revert SteveC's edit as blank title are now banned. 2007-09-04 14:08:17 +00:00
Tom Hughes
d3b42fef34 Add extra validation to messages and diary entries. 2007-09-04 14:05:13 +00:00
Steve Coast
c04e9ccf95 link to 'no subject' if message title/subject is blank 2007-09-04 13:43:31 +00:00
Dan Karran
9554ef289e Adding geo microformat to trace viewing pages. 2007-09-03 22:40:04 +00:00
Dan Karran
b78d25a3a8 Allow people to add coordinates to diary entries, add them to the RSS feeds and diary display pages using geo microformat. 2007-09-03 22:37:42 +00:00
Dan Karran
c81c31775b Adding 'New diary post' link to main Users' diaries page to help logged-in users find how to post. 2007-09-03 20:46:34 +00:00
Richard Fairhurst
53f58825b0 latest Yahoo Maps API seems to be more reliable 2007-09-02 17:51:03 +00:00
Richard Fairhurst
e1744de4d4 typo 2007-09-02 13:55:51 +00:00
Richard Fairhurst
393c2cdff2 fix dragging, add some new pois (already!) 2007-09-02 13:42:47 +00:00
Richard Fairhurst
9ff9996667 Potlatch v0.2 with POI editing 2007-09-02 13:09:10 +00:00
Tom Hughes
603d1be4bd Get the timestamp outside the transactionso everything can see it. 2007-09-01 06:48:59 +00:00
Tom Hughes
b948dd6d52 Fix typo. 2007-09-01 06:39:10 +00:00
Tom Hughes
5fe7a5bbbc Split the transaction used for ways so that we recover more cleanly
without leaving rubbish in the database.
2007-08-31 23:10:33 +00:00
Frederik Ramm
6d07f5661a changed from nd id=... to nd ref=... 2007-08-31 22:33:27 +00:00
Tom Hughes
ac98587141 Add the deadlock_retry plugin. 2007-08-31 18:37:22 +00:00
Tom Hughes
e15916ad5b Let exceptions propagate to the default handler for ways so they are logged. 2007-08-31 18:10:44 +00:00
Tom Hughes
ed8b7fde42 Don't allow Potlatch to be started with a zoom below 11. 2007-08-31 12:57:32 +00:00
Tom Hughes
18453600aa Split the createuniquenodes query in two as MySQL was choosing a very
bad execution plan for it with the OR condition.
2007-08-31 11:14:40 +00:00
Tom Hughes
0975858cdb Allow exceptions processing node and segment requests to propagate and
be handled by the default handler so they are logged.
2007-08-31 10:11:15 +00:00
Gabriel Ebner
3e18c51695 rails_port_0.5: 006_remove_segments:
- Don't run the helper if there are no segments.
- s/DELETE FROM/TRUNCATE/
2007-08-30 17:23:34 +00:00
Gabriel Ebner
8947ff2181 rails_port: Fix warnings in 006_remove_segments_helper. 2007-08-30 14:54:36 +00:00
Tom Hughes
786bc55209 The search help has now moved to the Search page on the wiki, which
previously contained out of date information on searching.
2007-08-30 10:59:02 +00:00
Tom Hughes
50ba644602 Setup the layers before adding any marker so that the marker layer
will get turned on if it was off in the layers string.
2007-08-30 10:42:32 +00:00
Gabriel Ebner
37cfb17809 Merge commit 'git-svn' 2007-08-30 09:29:34 +00:00
Frederik Ramm
0c2ea2915f renamed entity leftovers 2007-08-30 09:23:50 +00:00
Frederik Ramm
603af36a83 some changes suggested by SteveC / yet untested 2007-08-29 23:08:13 +00:00
Frederik Ramm
60e990790d some changes suggested by TomH / yet untested 2007-08-29 23:07:54 +00:00
Tom Hughes
e583ead8f8 Make the search URLs include a marker. 2007-08-29 22:41:02 +00:00
Frederik Ramm
78b440ffc1 preliminary commit 0.5 API with relations / untested after entity-relation rename, some changes still in queue 2007-08-29 22:00:26 +00:00
Frederik Ramm
02451061ce segment stuff removed 2007-08-29 21:38:38 +00:00
Frederik Ramm
270902bc8e initial copy for 0.5 branch (drop segments & add relationships) 2007-08-29 21:23:01 +00:00
Tom Hughes
3e6329718b Provide proper URLs in search results. 2007-08-29 09:16:58 +00:00
Tom Hughes
11bd2a4ddc Link trace owner to their user page. 2007-08-26 23:04:17 +00:00
Tom Hughes
a7f00eefc4 Correct calculation of reciprocal angles. 2007-08-25 22:33:46 +00:00