Commit graph

1586 commits

Author SHA1 Message Date
Tom Hughes
d794f665a5 Preserve parameters in pagination links. 2009-11-19 00:20:19 +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
41dfa42edd Sanitize any user supplied HTML before doing link detection or the
sanitizer will strip the rel=nofollow attributes.
2009-11-14 16:31:51 +00:00
Tom Hughes
17445a44da Make rel=nofollow actually work - when in doubt trust the source as
the rails documentation speaks with forked tongue.
2009-11-14 16:15:26 +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
6bfa897cfc Add nofollow to user provided links. 2009-11-14 15:11:57 +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
daf8c80161 Use the bbox to build the URL if there is one. 2009-11-09 09:28:46 +00:00
Tom Hughes
ea2652a211 Rename twain geocoder to nominatim. 2009-11-09 09:06:52 +00:00
Tom Hughes
8b5847f7e3 Remove "do not reply" banner from message and comment notifications. 2009-11-06 16:08:35 +00:00
Tom Hughes
19e6486870 Quote the from address explicitly as rails seems to be failing to do
it, though it looks like it should from a quick glance at the source.
2009-11-06 16:03:19 +00:00
Tom Hughes
23b8672bc9 Add support for processing incoming mail messages in reply to message
notifications and diary comment notifications, turning the maill messages
into reply messages through the site messaging system.
2009-11-05 23:16:20 +00:00
Tom Hughes
a5d8839abf Point blog link at the aggregator. 2009-11-02 19:42:33 +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
Ævar Arnfjörð Bjarmason
2d7fa37bd2 Make messages relating to public editing translatable 2009-10-30 17:41:22 +00:00
Ævar Arnfjörð Bjarmason
501adefb3b stop referencing a non-existant translation 2009-10-30 17:28:27 +00:00
Tom Hughes
639a994c9b Experimental support for reverse geocoding using the new geocoder. 2009-10-30 11:12:55 +00:00
Tom Hughes
e0cbfe24a5 Escape non-ascii characters in exported HTML. Closes #2075. 2009-10-27 00:59:38 +00:00
Tom Hughes
59a1543ad0 Removed bogus space from translation token. Closes #2389. 2009-10-26 08:43:28 +00:00
Ævar Arnfjörð Bjarmason
843d601b0a Add title="" to "Where am I?" in the search box 2009-10-23 11:53:22 +00:00
Tom Hughes
0166abe88a Merge 18123:18249 from trunk. 2009-10-21 23:37:05 +00:00
Tom Hughes
fc4e72dc35 Improve handling of signup and login forms on small displays. 2009-10-20 23:57:39 +00:00
Tom Hughes
6ce5986a52 Set method and action on the search box to something that works so that
the "Add keyword for..." feature in Fierefox works.
2009-10-20 23:20:07 +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
27a3dc447c Mention the OSM blob and twitter in the signup message. 2009-10-18 14:02:13 +00:00
Tom Hughes
e5803ecc11 Link to the foundation blog from the sidebar. 2009-10-16 10:31:55 +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
Ævar Arnfjörð Bjarmason
f68ca9ebc2 Improve the UI of the /user/forgot-password page
* Align the submit button like on the rest of the /user/* pages
 * Tabindex
 * Help text to explain what the page does
2009-10-14 19:49:20 +00:00
Ævar Arnfjörð Bjarmason
4c2b591bbf Reduce choice anxiety when signing up for a new user by explaining
that the display name can be changed later.
2009-10-14 19:39:19 +00:00
Tom Hughes
4a05c9a8f6 Add experimental support (disabled by default) for new geocoder. 2009-10-14 14:42:09 +00:00
Tom Hughes
3244635aa1 Merge 17130 from trunk. 2009-10-13 20:27:38 +00:00
Tom Hughes
eb0f9ff63d Merged 17073:17076 from trunk. 2009-10-13 20:25:11 +00:00
Tom Hughes
7b384f03ab Merged 17047 from trunk. 2009-10-13 20:20:13 +00:00
Tom Hughes
20a861392e Merge 17067 from trunk. 2009-10-13 20:16:03 +00:00
Tom Hughes
ef40b61ff4 Merged 17256:18123 from trunk. 2009-10-13 20:06:24 +00:00
Matt Amos
2a7f689f1f Fixed merge fail - this branch doesn't have javascript_strings. 2009-10-13 14:36:15 +00:00
Matt Amos
42cdcce858 Another version of the media-queries CSS stuff. Works better for more pages now. 2009-10-13 14:23:20 +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