Tom Hughes
e53b34b80a
Make traces/mine redirect to the user's traces page instead of rendering
...
it itself. Also make sure the traces page for a user includes the upload
form if the requestor is logged in as that user.
2010-01-10 09:16:18 +00:00
Tom Hughes
314b734aa5
Introduce some caching for diary views.
2010-01-09 16:43:38 +00:00
Tom Hughes
e0e849c91c
Add a 30 second timeout to all data browser requests to avoid attempts
...
to browse very large and/or complicated objects blocking other requests.
2010-01-07 16:09:44 +00:00
Tom Hughes
fcebfd1fe7
Drop Namefinder from search results.
2010-01-06 00:31:03 +00:00
Tom Hughes
4f23e718b4
Add a "More results" link to Nominatim search results.
2010-01-06 00:30:29 +00:00
Shaun McDonald
1df4ad819c
Rather than just say public or private for each GPS trace in the list, instead state the new permission levels. Green colour means that it will be shown in the trace list to other users. Red means that other users won't see the trace in the list. Have added two new translations for the other trace permissions.
2009-12-31 00:10:10 +00:00
Matt Amos
b3f4637a42
Fixed copy-n-paste bug in querying for closed changesets and added a test for it.
2009-12-26 21:29:43 +00:00
Frederik Ramm
1fb6325630
fix half-baked comment. this needs way more thought before it is... um ;-)
2009-12-15 22:56:37 +00:00
Tom Hughes
5451310d3c
Revert half baked attempt at poi api call - this needs much more
...
thought before it's ready.
2009-12-14 22:19:51 +00:00
Frederik Ramm
fb912fba71
this is kind of a "suggested change" for the API controller to
...
support an additional "restriction" parameter for the "map"
call (only value currently supported: nodes_only to return only
nodes). i would have liked to implement "tagged_nodes_only" as
well but was unsure how to do that best. feel free to make up
some other way instead to improve node access for POI editors,
or drop this altogether if you have some other grand plan.
2009-12-14 21:29:00 +00:00
Tom Hughes
0f5646d7f0
Add ability to take GPX storage offline.
2009-12-12 13:06:56 +00:00
Shaun McDonald
43a28065b1
Change the way that the changeset parsing is done, so that it is in line with the nodes/ways/relations and gives much nicer error messages. Adding some tests too to back up those changes.
2009-12-06 02:13:30 +00:00
Tom Hughes
ef2cca8bd0
Refactor nominatim translation a bit more.
2009-11-24 14:02:08 +00:00
Tom Hughes
e83b793437
Improve translatability of nominatim results. Closes #2498 .
2009-11-24 13:53:39 +00:00
Richard Fairhurst
117b8d1a6b
Potlatch 1.3
2009-11-23 01:04:02 +00:00
Tom Hughes
261a93fbbc
Replace the existing pagination of changesets in the browser with a
...
simple next/previous pagination that avoids the need to count the total
number of matches.
2009-11-18 20:21:54 +00:00
Tom Hughes
57a05a40fc
Make diary comment creation work again.
2009-11-15 11:00:54 +00:00
Tom Hughes
634565c5d3
Add support for logical deletion of diary entries and comments.
2009-11-14 15:57:08 +00:00
Tom Hughes
a6c9fed920
More tweaking.
2009-11-11 14:40:39 +00:00
Tom Hughes
64e0c0794b
Tweak nominatim results a bit.
2009-11-11 14:37:31 +00:00
Tom Hughes
c6eb4d5856
Make nominatim live.
2009-11-11 14:22:21 +00:00
Tom Hughes
b3d37581ad
Send the language string to nominatim.
2009-11-10 15:05:23 +00:00
Tom Hughes
e19c04c7a7
Pass the viewbox to nominatim when possible.
2009-11-10 14:37:46 +00:00
Tom Hughes
7dd06b4f88
Fix a few nominatim issues.
2009-11-10 13:35:58 +00:00
Tom Hughes
ea2652a211
Rename twain geocoder to nominatim.
2009-11-09 09:06:52 +00:00
Tom Hughes
e23744bd8d
Add :warning and :error flash messages which can be styled separately to
...
the existing :notice messages.
Also reviewd all existing flash messages and changed them to be errors or
warnings when appropriate and checked that those which are not followed by
a redirect are done as flash.now[] instead of flash[].
2009-11-01 13:07:46 +00:00
Tom Hughes
2541ad0f09
We don't need the @notice hack - we can use flash.now to achieve the same thing.
2009-11-01 12:32:31 +00:00
Tom Hughes
81d47fe50d
Limit the rate at which messages can be sent.
2009-10-31 00:24:36 +00:00
Tom Hughes
639a994c9b
Experimental support for reverse geocoding using the new geocoder.
2009-10-30 11:12:55 +00:00
Richard Fairhurst
dd9999dc43
Move render :text to write out each result as it's received, rather than assembling them into a big array and writing this at the end. Theoretically this should permit streaming, but Rails appears not to be that clever. Nonetheless it reduces memory usage when assembling a big bunch of getways and that has to be worthwhile
2009-10-20 22:14:32 +00:00
Tom Hughes
17e0753962
Use bounding box information to zoom to search results when possible.
2009-10-15 09:27:21 +00:00
Ævar Arnfjörð Bjarmason
e0eb2b79b7
[18163] commited by me yesterday (and reverted in [18165]) was
...
broken. I didn't restart rails when testing it because I thought lib/
was auto-refreshed as well and that:
ruby -e 'x = []; x[0]["foo"] = "bar"'
Would work and autovify like it does in Perl. But no, you have to do:
ruby -e 'x = [{}]; x[0]["foo"] = "bar"'
This commit is equivalent to [18163] aside from that fix to lib/potlatch.rb
2009-10-15 08:21:57 +00:00
Tom Hughes
d0c63b6d5d
Revert r18163 as it is completely broken.
2009-10-15 07:46:54 +00:00
Tom Hughes
a35b194330
Attempt to unbreak Potlatch.
2009-10-15 07:40:47 +00:00
Ævar Arnfjörð Bjarmason
cc9a9ee399
Make the preset list at the bottom of the screen (Airport, Bus stop,
...
...) translatable
2009-10-14 23:42:09 +00:00
Tom Hughes
4a05c9a8f6
Add experimental support (disabled by default) for new geocoder.
2009-10-14 14:42:09 +00:00
Ævar Arnfjörð Bjarmason
9bdade37af
Add the language the user is using to Potlatch's created_by string. Like JOSM
2009-10-12 15:52:51 +00:00
Matt Amos
16b79f9964
Added a :display_name option for the changesets query code.
2009-10-12 10:12:12 +00:00
Tom Hughes
a8cc053bcc
Add some administrator only actions to the user page.
2009-10-12 08:00:59 +00:00
Tom Hughes
0189bce496
Test that the user has cookies enabled at critical points where we
...
are about to require them and warn the user if they are not enabled.
2009-10-09 08:47:47 +00:00
Matt Amos
3429f016c2
Adding blocking to user auth bits of amf_controller. Or, at least, the bits I could find.
2009-10-02 10:49:03 +00:00
Matt Amos
1009788043
Fix wrong comment.
2009-10-02 10:46:19 +00:00
Tom Hughes
54649a39a0
Correct comment.
2009-10-01 20:22:52 +00:00
Matt Amos
1e3b3c1f10
Refactored user_role and controller. Now much more DRY.
2009-10-01 17:15:34 +00:00
Matt Amos
77851bac7b
Added better messages and error handling in a couple of places. Added integration checks to ensure that the blocking is actually working. Tests FTW.
2009-09-30 17:39:42 +00:00
Matt Amos
95c3d640a4
Tried to DRY the user_blocks controller. Moved the configuration of the blocking periods into application.yml.
2009-09-30 15:44:29 +00:00
Matt Amos
ca06b3c7b1
New migration to add better auditing to user_roles and better column names there and on user_blocks. Added a helper for displaying block status messages.
2009-09-29 16:44:03 +00:00
Matt Amos
09c5740b5b
Merging 17824:17845 from trunk to blocking branch.
2009-09-29 10:23:31 +00:00
Thomas Wood
ec26e06706
5 character patch to only output duplicated nodes once in a way/full call
...
Unit tests not run - problems on this system
Fixes #2327
2009-09-29 02:55:35 +00:00
Matt Amos
30d5e783e4
Added a confirmation step to the process of granting and revoking user roles.
2009-09-28 17:35:39 +00:00