]> git.openstreetmap.org Git - rails.git/log
rails.git
16 years agoAllow users to change their email address. Closes #546.
Tom Hughes [Wed, 13 Aug 2008 11:39:33 +0000 (11:39 +0000)]
Allow users to change their email address. Closes #546.

16 years agoAllow a user's email address to be marked invalid, and suppress most
Tom Hughes [Wed, 13 Aug 2008 10:45:49 +0000 (10:45 +0000)]
Allow a user's email address to be marked invalid, and suppress most
notification mails for such users.

16 years agoAdd an administrator flag to the user table.
Tom Hughes [Wed, 13 Aug 2008 08:12:09 +0000 (08:12 +0000)]
Add an administrator flag to the user table.

16 years agoMake the cleanup script work a chunk at a time so we don't run out of
Tom Hughes [Fri, 8 Aug 2008 15:49:29 +0000 (15:49 +0000)]
Make the cleanup script work a chunk at a time so we don't run out of
memory when there are lots of sessions.

16 years agoImport the output_compression plugin as the SVN external never works.
Tom Hughes [Thu, 7 Aug 2008 17:59:27 +0000 (17:59 +0000)]
Import the output_compression plugin as the SVN external never works.

16 years agoImport the daemon generator as the SVN external never works.
Tom Hughes [Thu, 7 Aug 2008 17:46:34 +0000 (17:46 +0000)]
Import the daemon generator as the SVN external never works.

16 years agoMake the location of the GPX traces configurable.
Tom Hughes [Thu, 7 Aug 2008 11:31:42 +0000 (11:31 +0000)]
Make the location of the GPX traces configurable.

16 years agoLink to user pages.
Tom Hughes [Sun, 3 Aug 2008 20:58:58 +0000 (20:58 +0000)]
Link to user pages.

16 years agoPotlatch 0.10b
Richard Fairhurst [Thu, 31 Jul 2008 22:48:12 +0000 (22:48 +0000)]
Potlatch 0.10b

16 years agoIgnore any files in an __MACOSX folder in a zip file, as these are
Tom Hughes [Thu, 31 Jul 2008 08:06:09 +0000 (08:06 +0000)]
Ignore any files in an __MACOSX folder in a zip file, as these are
metadata files added by the MAC OS X zip tool.

16 years agoCorrect versions of z12/13 keys
Steve Chilton [Wed, 30 Jul 2008 14:37:55 +0000 (14:37 +0000)]
Correct versions of z12/13 keys

16 years agonew versions of map keys to z12 and z13
Steve Chilton [Wed, 30 Jul 2008 14:19:15 +0000 (14:19 +0000)]
new versions of map keys to z12 and z13

16 years agoadd "non-exclusively" to new user signup message
Frederik Ramm [Wed, 30 Jul 2008 13:20:33 +0000 (13:20 +0000)]
add "non-exclusively" to new user signup message

16 years agoRework GPX import daemon to use libxml2 for speed.
Tom Hughes [Wed, 30 Jul 2008 08:37:05 +0000 (08:37 +0000)]
Rework GPX import daemon to use libxml2 for speed.

16 years agoPotlatch 0.10a
Richard Fairhurst [Tue, 29 Jul 2008 00:33:33 +0000 (00:33 +0000)]
Potlatch 0.10a

16 years agoRemoving rspec from svn externals, as it isn't being used.
Shaun McDonald [Fri, 25 Jul 2008 10:35:59 +0000 (10:35 +0000)]
Removing rspec from svn externals, as it isn't being used.

16 years agoRemoving rspec from svn, as it isn't being used.
Shaun McDonald [Fri, 25 Jul 2008 10:22:52 +0000 (10:22 +0000)]
Removing rspec from svn, as it isn't being used.

16 years agoStarting to test the output of the xml to make sure that it is what we expect to...
Shaun McDonald [Thu, 24 Jul 2008 10:56:29 +0000 (10:56 +0000)]
Starting to test the output of the xml to make sure that it is what we expect to be returned by teh api for ways tests.

16 years agoShow whether a trace is public or private in the trace list, so that a user can easil...
Shaun McDonald [Wed, 23 Jul 2008 14:33:45 +0000 (14:33 +0000)]
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.

16 years agoRender nothing on a successful delete.
Tom Hughes [Tue, 22 Jul 2008 14:16:07 +0000 (14:16 +0000)]
Render nothing on a successful delete.

16 years agoNow just got one test to sort on the functional tests. All other tests are working...
Shaun McDonald [Tue, 22 Jul 2008 14:06:53 +0000 (14:06 +0000)]
Now just got one test to sort on the functional tests. All other tests are working and pass. Plenty more to write though.

16 years agoEnable JPEG export from Osmarender again.
Tom Hughes [Tue, 22 Jul 2008 08:53:34 +0000 (08:53 +0000)]
Enable JPEG export from Osmarender again.

16 years agoTry and improve libxml error handling.
Tom Hughes [Sun, 20 Jul 2008 17:08:27 +0000 (17:08 +0000)]
Try and improve libxml error handling.

16 years agoFix thinko.
Tom Hughes [Sat, 19 Jul 2008 23:02:04 +0000 (23:02 +0000)]
Fix thinko.

16 years agoImprove error handling.
Tom Hughes [Sat, 19 Jul 2008 22:59:59 +0000 (22:59 +0000)]
Improve error handling.

16 years agoMore warning fixes.
Tom Hughes [Fri, 18 Jul 2008 22:23:26 +0000 (22:23 +0000)]
More warning fixes.

16 years agoStop rails moaning.
Tom Hughes [Fri, 18 Jul 2008 21:42:13 +0000 (21:42 +0000)]
Stop rails moaning.

16 years agoFirst current node tag test
Shaun McDonald [Fri, 18 Jul 2008 17:10:24 +0000 (17:10 +0000)]
First current node tag test

16 years agoMake sure that there is a sender and a recipient of a message. New test to make sure...
Shaun McDonald [Fri, 18 Jul 2008 16:44:14 +0000 (16:44 +0000)]
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.

16 years agoAdding message tests. Adding some international UTF-8 chars for the display name...
Shaun McDonald [Fri, 18 Jul 2008 16:26:21 +0000 (16:26 +0000)]
Adding message tests. Adding some international UTF-8 chars for the display name and email address tests.

16 years agoCope with being asked to find relations for any empty set of objects.
Tom Hughes [Fri, 18 Jul 2008 13:13:28 +0000 (13:13 +0000)]
Cope with being asked to find relations for any empty set of objects.

16 years agomove status message up a bit when Yahoo layer is displayed, so as not to obscure...
Richard Fairhurst [Fri, 18 Jul 2008 11:42:45 +0000 (11:42 +0000)]
move status message up a bit when Yahoo layer is displayed, so as not to obscure (c) notice

16 years agoMerge potlatch_010 properly.
Tom Hughes [Fri, 18 Jul 2008 11:23:34 +0000 (11:23 +0000)]
Merge potlatch_010 properly.

16 years agoRevert broken attempt at potlatch_010 merge.
Tom Hughes [Fri, 18 Jul 2008 11:20:04 +0000 (11:20 +0000)]
Revert broken attempt at potlatch_010 merge.

16 years agoMerged 8899:9136 and 9145 from trunk.
Tom Hughes [Fri, 18 Jul 2008 11:18:39 +0000 (11:18 +0000)]
Merged 8899:9136 and 9145 from trunk.

16 years agomake sure preset menu is removed on deselect
Richard Fairhurst [Fri, 18 Jul 2008 11:06:02 +0000 (11:06 +0000)]
make sure preset menu is removed on deselect

16 years agoMerge potlatch_010 branch to head.
Tom Hughes [Fri, 18 Jul 2008 11:02:10 +0000 (11:02 +0000)]
Merge potlatch_010 branch to head.

16 years agosome tweaking to the user fixtures so that there is 2 near each other. new users...
Shaun McDonald [Thu, 17 Jul 2008 15:08:00 +0000 (15:08 +0000)]
some tweaking to the user fixtures so that there is 2 near each other. new users nearby and friends with tests.

16 years agonew friends with test. Fix to the display name valid tests to make sure that they...
Shaun McDonald [Thu, 17 Jul 2008 11:18:33 +0000 (11:18 +0000)]
new friends with test. Fix to the display name valid tests to make sure that they don't test the length

16 years agotesting the display name
Shaun McDonald [Thu, 17 Jul 2008 10:44:06 +0000 (10:44 +0000)]
testing the display name

16 years agoOptimise finding of relations, partially reversing change #8443 but in
Tom Hughes [Wed, 16 Jul 2008 23:42:59 +0000 (23:42 +0000)]
Optimise finding of relations, partially reversing change #8443 but in
a more rails like way.

16 years agoTidy up AMF controller and optimise a few rails things.
Tom Hughes [Wed, 16 Jul 2008 23:10:32 +0000 (23:10 +0000)]
Tidy up AMF controller and optimise a few rails things.

16 years agoDefault to using rails.
Tom Hughes [Wed, 16 Jul 2008 22:59:10 +0000 (22:59 +0000)]
Default to using rails.

16 years agoRemove SOTM advert.
Tom Hughes [Wed, 16 Jul 2008 15:27:25 +0000 (15:27 +0000)]
Remove SOTM advert.

16 years agoDisable JPEG exports from Osmarender as they are not currently
Tom Hughes [Wed, 16 Jul 2008 13:21:16 +0000 (13:21 +0000)]
Disable JPEG exports from Osmarender as they are not currently
supported by the MapOf call in the new tiles@home server.

16 years agoRemove no longer needed PHP extension.
Tom Hughes [Wed, 16 Jul 2008 13:04:05 +0000 (13:04 +0000)]
Remove no longer needed PHP extension.

16 years agoRemote Potlatch projection routines as they are no longer needed.
Tom Hughes [Tue, 15 Jul 2008 23:15:53 +0000 (23:15 +0000)]
Remote Potlatch projection routines as they are no longer needed.

16 years agoMinor tidyups.
Tom Hughes [Tue, 15 Jul 2008 18:23:00 +0000 (18:23 +0000)]
Minor tidyups.

16 years agoRename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
Tom Hughes [Tue, 15 Jul 2008 18:18:37 +0000 (18:18 +0000)]
Rename unique_nodes to unshared_node_ids to make it's purpose a bit clearer
and rework it to be a bit tidier.

16 years agoMove Potlatch configuration to a separate initialiser file.
Tom Hughes [Tue, 15 Jul 2008 18:05:22 +0000 (18:05 +0000)]
Move Potlatch configuration to a separate initialiser file.

16 years agofixing the new display name test
Shaun McDonald [Tue, 15 Jul 2008 18:04:35 +0000 (18:04 +0000)]
fixing the new display name test

16 years agoCheck to see if the e-mail test works
Shaun McDonald [Tue, 15 Jul 2008 17:51:26 +0000 (17:51 +0000)]
Check to see if the e-mail test works

16 years agoCheck to see if the e-mail test works
Shaun McDonald [Tue, 15 Jul 2008 16:36:43 +0000 (16:36 +0000)]
Check to see if the e-mail test works

16 years agoCan now run tests that use composite_primary_keys in the fixtures. Adding a new test...
Shaun McDonald [Tue, 15 Jul 2008 15:51:45 +0000 (15:51 +0000)]
Can now run tests that use composite_primary_keys in the fixtures. Adding a new test to check that you can't add duplicate user preferences, and the display name of the user is guaranteed to be unique.

16 years agoRevert Potlatch 0.10 from the trunk - we will keep it on the potlatch_010
Tom Hughes [Wed, 9 Jul 2008 23:31:00 +0000 (23:31 +0000)]
Revert Potlatch 0.10 from the trunk - we will keep it on the potlatch_010
branch for now until it has been reviewed.

16 years agoBranch the rails code for Potlatch 0.10 support.
Tom Hughes [Wed, 9 Jul 2008 23:27:33 +0000 (23:27 +0000)]
Branch the rails code for Potlatch 0.10 support.

16 years agoPotlatch 0.10
Richard Fairhurst [Wed, 9 Jul 2008 22:19:48 +0000 (22:19 +0000)]
Potlatch 0.10

16 years agoRemoving the in_world test from the model since it is included in the geo_record...
Shaun McDonald [Tue, 8 Jul 2008 18:17:08 +0000 (18:17 +0000)]
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.

16 years agonode unit tests with inside limits now.
Shaun McDonald [Tue, 8 Jul 2008 15:38:31 +0000 (15:38 +0000)]
node unit tests with inside limits now.

16 years agoSorts out a problem with the description field and adding users.
Shaun McDonald [Tue, 8 Jul 2008 13:43:56 +0000 (13:43 +0000)]
Sorts out a problem with the description field and adding users.

16 years agoAdd bounds to map responses. Closes #1011.
Tom Hughes [Tue, 8 Jul 2008 09:52:08 +0000 (09:52 +0000)]
Add bounds to map responses. Closes #1011.

16 years agoAllow users to remove their image. Closes #1010.
Tom Hughes [Mon, 7 Jul 2008 23:26:41 +0000 (23:26 +0000)]
Allow users to remove their image. Closes #1010.

16 years agoTidy up a bit after shaun's merge...
Tom Hughes [Mon, 7 Jul 2008 16:16:05 +0000 (16:16 +0000)]
Tidy up a bit after shaun's merge...

16 years agoFixing the resync that I had done wrong at the end of last week on the nodes. All...
Shaun McDonald [Mon, 7 Jul 2008 14:20:27 +0000 (14:20 +0000)]
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.

16 years agoSanitize user descriptions properly.
Tom Hughes [Mon, 7 Jul 2008 08:06:56 +0000 (08:06 +0000)]
Sanitize user descriptions properly.

16 years agoCapitalise German message correctly.
Tom Hughes [Sat, 5 Jul 2008 23:45:15 +0000 (23:45 +0000)]
Capitalise German message correctly.

16 years agoDon't hardcode the API version in the data browser.
Tom Hughes [Fri, 4 Jul 2008 18:15:42 +0000 (18:15 +0000)]
Don't hardcode the API version in the data browser.

16 years agoMerge changes from trunk 7673:8632.
Shaun McDonald [Thu, 3 Jul 2008 13:06:24 +0000 (13:06 +0000)]
Merge changes from trunk 7673:8632.

16 years agoNow all the unit tests work
Shaun McDonald [Thu, 3 Jul 2008 10:56:17 +0000 (10:56 +0000)]
Now all the unit tests work

16 years agoQuote default when used as a key in a hash as it is a keyword...
Tom Hughes [Sat, 28 Jun 2008 09:59:47 +0000 (09:59 +0000)]
Quote default when used as a key in a hash as it is a keyword...

16 years agoMerge data browser branch to trunk.
Tom Hughes [Fri, 27 Jun 2008 23:09:05 +0000 (23:09 +0000)]
Merge data browser branch to trunk.

16 years agoRefactor to remove some code duplication.
Tom Hughes [Thu, 26 Jun 2008 23:01:55 +0000 (23:01 +0000)]
Refactor to remove some code duplication.

16 years agoDisable the data browswer when the database is not available.
Tom Hughes [Thu, 26 Jun 2008 17:36:21 +0000 (17:36 +0000)]
Disable the data browswer when the database is not available.

16 years agoMinor correction to German translation.
Tom Hughes [Wed, 25 Jun 2008 16:46:25 +0000 (16:46 +0000)]
Minor correction to German translation.

16 years agoHandle international idiots in a reasonable selection of languages.
Tom Hughes [Wed, 25 Jun 2008 15:18:07 +0000 (15:18 +0000)]
Handle international idiots in a reasonable selection of languages.

16 years agoTry and make message and comment notifications more idiot proof.
Tom Hughes [Wed, 25 Jun 2008 14:41:37 +0000 (14:41 +0000)]
Try and make message and comment notifications more idiot proof.

16 years agoRailsify relation selection (aka ripping out the f***in SQL).
Tom Hughes [Tue, 24 Jun 2008 23:42:39 +0000 (23:42 +0000)]
Railsify relation selection (aka ripping out the f***in SQL).

16 years agoImprove the layout of the object browser views.
Tom Hughes [Tue, 24 Jun 2008 16:44:45 +0000 (16:44 +0000)]
Improve the layout of the object browser views.

16 years agoMerge 8381:8390 from trunk.
Tom Hughes [Sun, 22 Jun 2008 15:24:12 +0000 (15:24 +0000)]
Merge 8381:8390 from trunk.

16 years agoMake GeoRecord inject class methods correctly when included.
Tom Hughes [Sun, 22 Jun 2008 15:22:13 +0000 (15:22 +0000)]
Make GeoRecord inject class methods correctly when included.

16 years agoMerge 8377:8381 from trunk.
Tom Hughes [Sun, 22 Jun 2008 14:46:46 +0000 (14:46 +0000)]
Merge 8377:8381 from trunk.

16 years agoMake the polymorphic relation association work properly.
Tom Hughes [Sun, 22 Jun 2008 14:44:34 +0000 (14:44 +0000)]
Make the polymorphic relation association work properly.

16 years agoMerge 7922:8377 from trunk.
Tom Hughes [Sun, 22 Jun 2008 12:23:43 +0000 (12:23 +0000)]
Merge 7922:8377 from trunk.

16 years agoAdd support for putting the site in an offline mode where it operates
Tom Hughes [Sun, 22 Jun 2008 12:10:32 +0000 (12:10 +0000)]
Add support for putting the site in an offline mode where it operates
without a database but with most features disabled.

16 years agoUse a polymorphic association to model relation members and add
Tom Hughes [Sat, 21 Jun 2008 17:38:17 +0000 (17:38 +0000)]
Use a polymorphic association to model relation members and add
associations for upward links from objects to relations that they
are a part of.

16 years agoRemoved bogus belongs_to user declaration.
Tom Hughes [Sat, 21 Jun 2008 16:19:36 +0000 (16:19 +0000)]
Removed bogus belongs_to user declaration.

16 years agotrap for #971 until I can work out why it's doing it
Richard Fairhurst [Wed, 11 Jun 2008 14:45:36 +0000 (14:45 +0000)]
trap for #971 until I can work out why it's doing it

16 years agoReplacing the non existant image with a pending text on the trace page
Shaun McDonald [Tue, 10 Jun 2008 17:17:32 +0000 (17:17 +0000)]
Replacing the non existant image with a pending text on the trace page

16 years agoWork around the fact that exists? no longer works for models with
Tom Hughes [Sat, 7 Jun 2008 22:40:39 +0000 (22:40 +0000)]
Work around the fact that exists? no longer works for models with
no primary key.

16 years agoLet's have one last try...
Tom Hughes [Sat, 7 Jun 2008 00:03:27 +0000 (00:03 +0000)]
Let's have one last try...

16 years agoMagic foo to make composite_primary_keys work.
Tom Hughes [Fri, 6 Jun 2008 23:53:20 +0000 (23:53 +0000)]
Magic foo to make composite_primary_keys work.

16 years agoGo back to rails 2.0.2 for now as 2.1.0 doesn't quite work...
Tom Hughes [Fri, 6 Jun 2008 23:32:21 +0000 (23:32 +0000)]
Go back to rails 2.0.2 for now as 2.1.0 doesn't quite work...

16 years agoSwitch to rails 2.1.0 release.
Tom Hughes [Fri, 6 Jun 2008 23:17:56 +0000 (23:17 +0000)]
Switch to rails 2.1.0 release.

16 years agoDon't use comma to separate values in the location cookie, as rails 2.0.2 will
Tom Hughes [Thu, 5 Jun 2008 23:27:52 +0000 (23:27 +0000)]
Don't use comma to separate values in the location cookie, as rails 2.0.2 will
treat comma (as well as semicolon) as a cookie separate. Also change the name
of the location cookie to avoid problems parsing old ones.

16 years agoSwitch to rails 2.0.2 as Debian/Ubuntu is able to handle it now.
Tom Hughes [Thu, 5 Jun 2008 23:06:29 +0000 (23:06 +0000)]
Switch to rails 2.0.2 as Debian/Ubuntu is able to handle it now.

16 years agoMake sure the diary tab always links to the global diary rather than
Tom Hughes [Thu, 5 Jun 2008 21:20:30 +0000 (21:20 +0000)]
Make sure the diary tab always links to the global diary rather than
a specific user's diary. Closes #956.

16 years agoRemoving id's so that the ids are generated, and it makes it easier to deal with...
Shaun McDonald [Wed, 4 Jun 2008 16:35:00 +0000 (16:35 +0000)]
Removing id's so that the ids are generated, and it makes it easier to deal with referential tests. Now have messages and users with basic tests. Using http://api.rubyonrails.com/classes/Fixtures.html.

16 years agoimproved messages fixtures. Additional user fixture (for sending messages between...
Shaun McDonald [Wed, 4 Jun 2008 06:48:49 +0000 (06:48 +0000)]
improved messages fixtures. Additional user fixture (for sending messages between the users). Checking that an empty message fails.

16 years agoCope with not having a layer configuration at all.
Tom Hughes [Tue, 3 Jun 2008 15:12:46 +0000 (15:12 +0000)]
Cope with not having a layer configuration at all.

16 years agoAdding some additional node fixtures to test edge cases. Having a bit of an issue...
Shaun McDonald [Mon, 2 Jun 2008 17:27:32 +0000 (17:27 +0000)]
Adding some additional node fixtures to test edge cases. Having a bit of an issue as the too far north and south tests aren't working as expected, even so the too far east and west ones are.