Commit graph

1417 commits

Author SHA1 Message Date
Shaun McDonald
0ec26f14a0 adding some version reading for the nodes 2008-09-29 16:28:51 +00:00
Shaun McDonald
56c972577b fixing hard coded images/scripts, so that the site works better when deploy as a sub directory using passenger phusion. 2008-09-26 15:17:30 +00:00
Shaun McDonald
d9e070e069 Doing a resync from mainline 8633:10895. There was one simple to resolve conflict on app/models/node.rb. Also moving the migrations for API0.6 to new sequence numbers since there was some new migrations added to mainline, where the migration numbers would conflict if not moved. 2008-09-25 15:06:05 +00:00
Tom Hughes
c2854a8056 Get rails to do asset tagging for the SWF file. 2008-09-25 03:58:18 +00:00
Richard Fairhurst
98d49ed144 Potlatch 0.10c... part two 2008-09-20 12:07:48 +00:00
Tom Hughes
d6b05a8da9 Run web authorisation for all non-api requests. Closes #1152. 2008-09-07 15:07:44 +00:00
Tom Hughes
34189cf761 Add basic support for logically deleting a user. 2008-08-24 16:53:42 +00:00
Tom Hughes
791062569d Tidy up diary code a bit. 2008-08-24 15:12:20 +00:00
Richard Fairhurst
3b6d2c5336 edit diary entries 2008-08-21 21:40:23 +00:00
Tom Hughes
967f44ffac Don't user flash[:notice] when we're not redirecting as it will
persist to the next request and cause confusion.
2008-08-13 11:44:53 +00:00
Tom Hughes
64ecd02f0b Allow users to change their email address. Closes #546. 2008-08-13 11:39:33 +00:00
Tom Hughes
f8367c3ee1 Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.
2008-08-13 10:45:49 +00:00
Tom Hughes
6d7e69d4d3 Make the location of the GPX traces configurable. 2008-08-07 11:31:42 +00:00
Richard Fairhurst
b0f0a2627d Potlatch 0.10b 2008-07-31 22:48:12 +00:00
Tom Hughes
8dbaf76e7c Ignore any files in an __MACOSX folder in a zip file, as these are
metadata files added by the MAC OS X zip tool.
2008-07-31 08:06:09 +00:00
Frederik Ramm
64fa7e8f2b add "non-exclusively" to new user signup message 2008-07-30 13:20:33 +00:00
Tom Hughes
fb5f6bb4a2 Rework GPX import daemon to use libxml2 for speed. 2008-07-30 08:37:05 +00:00
Richard Fairhurst
35ace2607b Potlatch 0.10a 2008-07-29 00:33:33 +00:00
Shaun McDonald
a5336e68a3 Show whether a trace is public or private in the trace list, so that a user can easily find traces that are private, when they really wanted them to be public. Only show 'in ...tags...', if there are some tags. Improve indentation. 2008-07-23 14:33:45 +00:00
Tom Hughes
a0545ba4e5 Render nothing on a successful delete. 2008-07-22 14:16:07 +00:00
Tom Hughes
9e2f4a1638 Enable JPEG export from Osmarender again. 2008-07-22 08:53:34 +00:00
Tom Hughes
d69e9533d1 Fix thinko. 2008-07-19 23:02:04 +00:00
Tom Hughes
c933a4222c Improve error handling. 2008-07-19 22:59:59 +00:00
Tom Hughes
5d5f72b927 More warning fixes. 2008-07-18 22:23:26 +00:00
Tom Hughes
9f8600877b Stop rails moaning. 2008-07-18 21:42:13 +00:00
Shaun McDonald
1bcc2242c0 Make sure that there is a sender and a recipient of a message. New test to make sure that there a message also has a sender and a recipient, as the validates_associated doesn't do anything if they are nil. 2008-07-18 16:44:14 +00:00
Tom Hughes
b9fc5e662b Cope with being asked to find relations for any empty set of objects. 2008-07-18 13:13:28 +00:00
Tom Hughes
509b8ec62a Merged 8899:9136 and 9145 from trunk. 2008-07-18 11:18:39 +00:00
Tom Hughes
db66d47e42 Merge potlatch_010 branch to head. 2008-07-18 11:02:10 +00:00
Tom Hughes
d6e047d7d4 Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.
2008-07-16 23:42:59 +00:00
Tom Hughes
66b0dd135e Tidy up AMF controller and optimise a few rails things. 2008-07-16 23:10:32 +00:00
Tom Hughes
6cf1c82c63 Remove SOTM advert. 2008-07-16 15:27:25 +00:00
Tom Hughes
911e030911 Disable JPEG exports from Osmarender as they are not currently
supported by the MapOf call in the new tiles@home server.
2008-07-16 13:21:16 +00:00
Tom Hughes
34d9360bee Minor tidyups. 2008-07-15 18:23:00 +00:00
Tom Hughes
6fa8647855 Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
and rework it to be a bit tidier.
2008-07-15 18:18:37 +00:00
Tom Hughes
50c0333ea6 Revert Potlatch 0.10 from the trunk - we will keep it on the potlatch_010
branch for now until it has been reviewed.
2008-07-09 23:31:00 +00:00
Richard Fairhurst
62a1ec4748 Potlatch 0.10 2008-07-09 22:19:48 +00:00
Shaun McDonald
c9a171c745 Removing the in_world test from the model since it is included in the geo_record library. Adding visible and version to the nodes and current_nodes fixtures. Adding old node test. Slightly different comparisions. 2008-07-08 18:17:08 +00:00
Shaun McDonald
b2515ec75e Sorts out a problem with the description field and adding users. 2008-07-08 13:43:56 +00:00
Tom Hughes
6644f115c9 Add bounds to map responses. Closes #1011. 2008-07-08 09:52:08 +00:00
Tom Hughes
1e98eb9950 Allow users to remove their image. Closes #1010. 2008-07-07 23:26:41 +00:00
Tom Hughes
700da2b347 Tidy up a bit after shaun's merge... 2008-07-07 16:16:05 +00:00
Shaun McDonald
64a5e21f53 Fixing the resync that I had done wrong at the end of last week on the nodes. All unit tests now do work. More assertions added. Using a scaling factor as a constant, so that the nodes are stored in the db correctly. Using the same scaling factor in the georecord library, to make code more readable, and reduce errors. Removing duplicate code that is in the GeoRecord include library. 2008-07-07 14:20:27 +00:00
Tom Hughes
9c580277ef Sanitize user descriptions properly. 2008-07-07 08:06:56 +00:00
Tom Hughes
953599970e Capitalise German message correctly. 2008-07-05 23:45:15 +00:00
Tom Hughes
36203ebe26 Don't hardcode the API version in the data browser. 2008-07-04 18:15:42 +00:00
Shaun McDonald
5f8ab9e924 Merge changes from trunk 7673:8632. 2008-07-03 13:06:24 +00:00
Shaun McDonald
0a459023d3 Now all the unit tests work 2008-07-03 10:56:17 +00:00
Tom Hughes
08d1f5aaab Quote default when used as a key in a hash as it is a keyword... 2008-06-28 09:59:47 +00:00
Tom Hughes
97aefa23d0 Merge data browser branch to trunk. 2008-06-27 23:09:05 +00:00