Commit graph

161 commits

Author SHA1 Message Date
Gabriel Ebner
ec916b7429 api06: Make diff uploading work again. 2008-05-12 20:43:35 +00:00
Christopher Schmidt
6f1aad0d04 add support for closing changesets 2008-05-11 21:18:42 +00:00
Christopher Schmidt
e48cbc6a5f Add support for accessing changesets as XML through the API via the
changeset controller "read" method
2008-05-11 20:03:17 +00:00
Gabriel Ebner
3d6e1c67fb api06: Preliminary support for diff uploading. This will not return anything
useful and the code will need some heavy refactoring.
2008-05-04 13:52:43 +00:00
Tom Hughes
0ef056ffbc Stick with rails 2.0.1... 2008-05-04 11:32:49 +00:00
Tom Hughes
cf304fe60f Merge 7649:7673 from trunk. 2008-05-04 11:26:36 +00:00
Tom Hughes
02efd7ba4a Go back to using user_id+k as the primary key for user preferences but
actually using the composite primary key extension this time so that it
really works.

Also stop update_one tring to render a non-existent view, and add a
delete_one method to allow preferences to be deleted.
2008-05-04 11:18:38 +00:00
Frederik Ramm
8c5638d696 initial changeset support 2008-05-04 10:41:42 +00:00
Steve Coast
ee6165bf9b ability to delete messages 2008-05-03 13:25:34 +00:00
Steve Coast
4b3c207a81 add individual user preference read/write, and default all new users to having public data 2008-05-03 12:57:48 +00:00
Tom Hughes
f1b0225b79 Reduce the expiry for OpenLayers resources (which are not subject to
rails asset tagging) to one week, and set a one week expiry for the
new static HTML page used for HTML export.
2008-05-01 07:55:23 +00:00
Richard Fairhurst
f747951714 preset typo 2008-04-29 10:34:20 +00:00
Richard Fairhurst
a2caee2a35 add turning_circle to autocomplete 2008-04-27 22:00:48 +00:00
Richard Fairhurst
6d8e6d235f must remember not to commit new version while Potlatch users are in IRC 2008-04-22 21:59:52 +00:00
Richard Fairhurst
9df6d2ac06 Potlatch 0.8b 2008-04-22 21:32:26 +00:00
Tom Hughes
d4010ff589 Revert accidental commit. 2008-04-19 10:49:54 +00:00
Tom Hughes
7ebb29d195 Don't call formatChanged() when disabling XML output as it has side effects. 2008-04-19 10:48:48 +00:00
Tom Hughes
52a6df0548 Simplify URLs a bit. 2008-04-17 17:38:48 +00:00
Tom Hughes
d13ef1db02 More work on export tab. 2008-04-14 23:46:10 +00:00
Tom Hughes
1df50231fa Commit initial work on export tab. 2008-04-07 23:23:15 +00:00
Richard Fairhurst
adf24182ff tone colours down very slightly so you can still see the points 2008-03-21 23:50:52 +00:00
Richard Fairhurst
cb0b0d9d89 Edgemaster's patch to colour routes depending on network 2008-03-21 21:33:38 +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
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
Richard Fairhurst
c3c16bf591 stop accidental cities :) 2008-02-15 13:03:14 +00:00
Richard Fairhurst
c5193fadf0 add school to presets 2008-02-10 17:33:15 +00:00
Steve Coast
63e0486ca1 Lots of documentation updates, plus split out potlatch libraries in to lib 2008-01-24 16:03:56 +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
Xin Zheng
6de965520b added application.yml, refactored map method 2008-01-23 16:43:30 +00:00
Tom Hughes
ea132b001d Rename initialiser to fix typo. 2008-01-23 14:07:14 +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
4d06426c2a Revert to rails 2.0.1 again 2008-01-22 18:00:30 +00:00
Tom Hughes
33afd6fa7e Rename requires.rb to composite_primary_keys.rb so we have one file for
each system we are initialising.
2008-01-22 17:16:08 +00:00
Xin Zheng
613325a0d0 added rspec folder/files 2008-01-22 16:55:14 +00:00
Xin Zheng
5cc239f329 changing back to rails 2.0.1 2008-01-22 16:51:07 +00:00
Xin Zheng
726836f31e extracted require statement from environment.rb to intializers/requires.rb 2008-01-22 16:50:14 +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
065d3dc16b Don't try and limit the address space if the OS does not support it. 2008-01-15 00:41:07 +00:00
Nick Whitelegg
6a7ae38d80 began callback code for feature lookup 2008-01-07 20:45:56 +00:00
Nick Whitelegg
1c7998009f began callback code for feature lookup 2008-01-07 20:44:16 +00:00
Nick Whitelegg
4f24b6de17 checked in local db config unintentioally- reversed 2008-01-07 20:26:40 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Richard Fairhurst
7acbc0c7c6 autocomplete (not compiled for now) and start of tile support 2007-12-23 12:59:59 +00:00
Tom Hughes
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00