Steve Coast
ec264a935e
nicer fix I think for nil / [] issue
2008-03-21 20:30:16 +00:00
Steve Coast
1f857565a6
more madness
2008-03-21 20:21:49 +00:00
Richard Fairhurst
740511066f
fix problem with blank areas throwing a 500
2008-03-21 20:17:56 +00:00
Richard Fairhurst
112950ca3a
various relations fixes
2008-03-21 19:00:39 +00:00
Richard Fairhurst
ae142c554b
Potlatch 0.8 - be afraid, be very, very afraid
2008-03-19 01:03:51 +00:00
Tom Hughes
c0d2ad40c3
Work round ruby's half assed Tempfile class which, because for some
...
reason it is implemented by delegating to File (by inheriting from
DelegateClass(File)) rather than by inheriting from it, does not
actually look like a File, and hence does not look like an IO (in
that it does not respond to kind_of? IO calls).
In ruby 1.8.5 this doesn't matter as REXML checks that the source
it has been given responds to the methods it wants (using respond_to?
which is handled properly by DelegateClass) but in 1.8.4 which we
are running on rails2 REXML uses kind_of? to see if the source is
one it can use.
2008-03-06 12:43:10 +00:00
Steve Coast
d1f2b4ece9
remove deleteway logic from amf_controller (yay!) TomH: check with RichardF this is sane before deploying. worksforme.
2008-02-23 16:05:45 +00:00
Steve Coast
cacf1879c3
user images
2008-02-23 15:18:59 +00:00
Steve Coast
2e44f9ccf3
User prference system basically done
2008-02-23 13:37:36 +00:00
Steve Coast
e13337354d
preference stuff
2008-02-23 11:12:42 +00:00
Tom Hughes
5fbc8ad3f4
Send email notifications when people comment on diary entries. Closes #655 .
2008-02-04 00:15:28 +00:00
Tom Hughes
962573431e
Move in_world? to GeoRecord model and correct comment.
2008-02-03 15:38:44 +00:00
Tom Hughes
d04c6d6ccd
Optimise the Potlatch whichways and getway calls a bit.
2008-02-03 12:56:25 +00:00
Richard Fairhurst
da76d64e93
Potlatch 0.7
2008-02-01 17:19:11 +00:00
Tom Hughes
b8f87e0466
Fix typo.
2008-01-28 08:44:03 +00:00
Steve Coast
a855d20ba4
Most of a method to delete a way and all its nodes - but I'm waiting on splitting node tags out to their own table before finishing it.
2008-01-25 15:24:04 +00:00
Steve Coast
bbd769304c
dont eager load tags (false primary key fucks all sorts of things up) and move delete way logic to model so that amf_controller can use it (plan is to do this with all of the methods. sigh.)
2008-01-25 14:32:45 +00:00
Xin Zheng
e7087af6bc
minor changes
2008-01-25 13:57:42 +00:00
Steve Coast
9328e84ba1
Some node documentation
2008-01-24 13:04:04 +00:00
Steve Coast
3bd92c1670
move potlatch presets to only be generated once, and allow pulling in way_tags in a way via a false primary key
2008-01-24 10:52:10 +00:00
Tom Hughes
07e8449625
Allow a GPX to be fetched in XML format by fetching data.xml instead
...
of data (the data method returns it in the format it is stored in).
Closes #534 .
2008-01-23 13:40:47 +00:00
Tom Hughes
bee38e63a3
Make things work with multipart keys.
2008-01-23 09:53:35 +00:00
Steve Coast
1c6ac719e6
replace whichways with rails-friendly code
2008-01-22 16:44:17 +00:00
Steve Coast
ddd5b4cf19
make amf_controller use rails objects, and stuff, in the getway method. You need to install the multipart keys plugin now, see the README.
2008-01-22 15:00:54 +00:00
Tom Hughes
8181cb4bf7
Add support for commenting on, and replying to, diary entries.
2008-01-17 23:12:25 +00:00
Tom Hughes
b416597507
Make the message reply link prefill the title with "Re: original title".
...
Closes #634 .
2008-01-15 19:05:17 +00:00
Tom Hughes
425b3654d7
Mark mails as auto submitted. Closes #627 .
2008-01-06 13:21:50 +00:00
Richard Fairhurst
914cad0aa2
show nearest 10 users (request by Blackadder)
2007-11-28 22:07:24 +00:00
Tom Hughes
cb330ffd7a
Force new users to enter their email address twice to try and avoid so
...
many incorrect email addresses with typos in...
2007-11-25 12:38:48 +00:00
Tom Hughes
144640c9ed
Fix tag splitting.
2007-11-24 01:00:53 +00:00
Mikel Maron
d736a158be
message outbox
2007-11-21 18:24:29 +00:00
Tom Hughes
9ec8ef0220
Add escaping of semicolon and equals in node tags.
...
Based on patch from Dave Stubbs.
2007-11-21 13:30:55 +00:00
Tom Hughes
3aa8ffbcb8
Tidy up mail notifiers and make them more rails style rather then
...
relying on ActionMailer implementation details.
2007-10-30 00:48:45 +00:00
Frederik Ramm
8a69ef115a
way history needs to reference nodes with ref=... not id=...
2007-10-26 18:14:48 +00:00
Dan Karran
eeeb13e4e4
Actually showing the closest neighbours instead of a fixed number of people within the search radius
2007-10-11 18:47:30 +00:00
Tom Hughes
dd33fc633c
Factor out common code for models which deal with geographic points
...
into a base class.
2007-10-10 23:00:25 +00:00
Dan Karran
60d8673e30
Reduce number of nearby people listed to the closest 5 by default, and show friends ahead of nearby people.
2007-10-10 19:22:16 +00:00
Dan Karran
d320673cc7
Improving friend capabilities so you can now add and remove friends as you wish. Friends will be notified when you add them. You can view a list of friends on your profile page (which has been reorganised a little).
2007-10-08 22:21:15 +00:00
Gabriel Ebner
26fb51c86e
rails_port_0.5: Merge rails_port.
2007-09-29 17:44:17 +00:00
Tom Hughes
6595f97c53
Make the name of the lon/lng virtual attribute on trace points consistent.
2007-09-28 23:19:19 +00:00
Gabriel Ebner
e03ea17a22
rails_port_0.5: Merge rails_port r4643
2007-09-22 19:55:33 +00:00
Tom Hughes
df31fe13a5
Use quadtiling for the node tables.
2007-09-21 13:43:43 +00:00
Gabriel Ebner
cfbdd3f7e1
Merge rails_port as of r4613 & fix tests.
2007-09-20 14:37:29 +00:00
Tom Hughes
27d8f2ef63
Include a reply link in email notifications of messages.
2007-09-19 10:37:32 +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
Dan Karran
78ef65aff7
Include message body in notification emails for convenience.
2007-09-16 14:52:50 +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
0423884184
Use QuadTiling in GPS point queries.
2007-09-12 12:14:45 +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
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