Commit graph

507 commits

Author SHA1 Message Date
Tom Hughes
dcad582741 Learn to spell. 2007-09-21 08:14:01 +00:00
Tom Hughes
734697ebb6 Check API status correctly. 2007-09-21 08:13:17 +00:00
Tom Hughes
9c01c4cb63 Allow the API to be taken offline completely as well as being put into
readonly mode,
2007-09-20 23:51:11 +00:00
Tom Hughes
27d8f2ef63 Include a reply link in email notifications of messages. 2007-09-19 10:37:32 +00:00
Tom Hughes
4c00efd678 Cope with change in number of decimals for GPS point positions. 2007-09-19 09:18:59 +00:00
Tom Hughes
9afb35449b Change the gps_points table to store latitude and longitude values to
seven decimal places to given a worse case precision of about 1cm.
2007-09-18 23:29:47 +00:00
Tom Hughes
62dfa5ff45 Make the tile ID column unsigned as intended. 2007-09-18 23:06:40 +00:00
Tom Hughes
f67fae73ce Limit the size that a rails process can grow to. 2007-09-16 23:14:40 +00:00
Dan Karran
78ef65aff7 Include message body in notification emails for convenience. 2007-09-16 14:52:50 +00:00
Richard Fairhurst
f58b242b0d v0.3, includes Douglas-Peucker for GPS tracks 2007-09-14 17:41:35 +00:00
Tom Hughes
349413a520 Allow column names in area conditions to be qualified, and do so for
the SWF queries which sometimes reference more than one table with
columns named latitude and longitude.
2007-09-14 11:16:25 +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
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
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
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
Tom Hughes
e583ead8f8 Make the search URLs include a marker. 2007-08-29 22:41:02 +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
Tom Hughes
22bcfb1240 Replace the old session cleanup daemon with a new script to be run from
cron periodically.
2007-08-25 09:53:07 +00:00
Tom Hughes
e376f3c009 Include a general location from GeoNames in the reverse geocode description. 2007-08-24 22:50:34 +00:00
Tom Hughes
3db77411b8 Don't break when the user isn't logged in... 2007-08-24 19:06:25 +00:00