Tom Hughes
07ebb40ebb
Don't show feed icons for friend and nearby user lists
2012-01-07 12:48:09 +00:00
Tom Hughes
13289d4041
Switch from Prototype to jQuery
2011-11-26 00:22:31 +00:00
Tom Hughes
716262f211
Serve OpenLayers through the asset pipeline
2011-11-25 20:07:50 +00:00
Tom Hughes
be8164cf15
Generate correct URLs for changeset feeds
2011-11-19 12:42:37 +00:00
Peter Gray
95d899786a
Refactor bounding box code
...
Moved duplicated code into the BoundingBox class, and pass around
BoundingBox objects instead of lists of bounds.
2011-11-14 09:42:57 +00:00
Tom Hughes
b63ce5d460
Mark some locale lookups as raw
2011-11-14 09:42:52 +00:00
Tom Hughes
22594361d5
Mark some strings that shouldn't be escaped as raw
2011-11-14 09:42:41 +00:00
Tom Hughes
e5c80c80ad
Use num_changes to detect empty changesets instead of the bbox
2011-07-12 15:55:17 +01:00
Tom Hughes
7e4ceec192
Wait for dom:loaded to fire before initialising the map
...
Also very all our use of window.onload and switch to using dom:loaded
instead where we can - the main case where we can't is when using a
vector layer as IE will fail unless the page is completely loaded.
2011-07-07 10:02:42 +01:00
Tom Hughes
e120e59fc0
Handle large bounding box changesets better
...
If the bounding box of a changeset is much larger than the map then
there seem to be problems with OL not rendering the feature correctly
so reduce the highlight to just be the extent of the map plus a small
margin in that case.
2011-05-13 17:27:12 +01:00
Tom Hughes
bdee581d44
Improve highlighting of changesets in the changeset list
2011-05-05 20:25:57 +01:00
Tom Hughes
e098d52424
Rearrange changeset list page to put the map beside the list
2011-05-05 20:25:53 +01:00
Tom Hughes
1635c16560
Tidy up code for adding a map to the changeset list page
2011-05-02 15:30:10 +01:00
Mikel Maron
48929e8781
Add a map to the changeset list page
...
Add a map to the changeset list page, with a bounding box for each
changeset and highighting when the mouse is placed over either a box
on the map or a row of the table.
2011-05-01 22:55:28 +01:00
Tom Hughes
ba639159dd
Handle changesets with an empty string as the comment
2011-03-25 22:51:39 +00:00
Tom Hughes
2adcfc1a72
Don't allow paging of the changeset atom feed
...
Make any request for a changeset feed with a page argument redirect
to the version with no page argument and ensure that any RSS links on
the HTML version of the changeset list don't have a page argument.
2010-08-09 13:47:21 +01:00
Tom Hughes
cf682f49b3
Add a timeout to the change list pages
2010-05-21 20:21:41 +01:00
Tom Hughes
d963aa30b7
Add rel=nofollow to links in tags. Closes #2555 .
2009-12-14 09:09:32 +00:00
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
Ævar Arnfjörð Bjarmason
da28349f51
So the way [17620] did it sucked but [17624] broke it unless you
...
didn't have any changes because .item_count is the number of edits,
not pages.
Using .page_count works though, Whee!
2009-09-14 23:36:21 +00:00
Ævar Arnfjörð Bjarmason
835e12925e
auto_link() changeset comments in the global/user/bbox/etc history too
...
(as well as in changeset detail & atom feeds)
2009-09-14 23:26:36 +00:00
Tom Hughes
26bd59a1da
Output tags to the feed as raw HTML so that links are not escaped (any
...
real HTML in the tag has already been escaped). Closes #2264 .
2009-09-14 23:17:52 +00:00
Tom Hughes
9200520395
Escape tag values - there is no reason at all to render things which
...
might look like HTML tags in a tag value.
2009-09-14 23:17:02 +00:00
Tom Hughes
253e8a272d
Improve handling of the case where there is only one page of changesets.
2009-09-14 23:04:06 +00:00
Ævar Arnfjörð Bjarmason
466f640138
While we don't have the sanitizing backend to safely solve ticket
...
#2264 I'm going to remove the auto_link feature of changeset tags. The
links are broken in all conforming Atom readers at the moment.
2009-09-14 21:08:17 +00:00
Ævar Arnfjörð Bjarmason
332f8d3a4f
Now when all the entries fit on one page a trailing slash won't be
...
included after "Showing page %d (%d of %d)"
2009-09-14 19:42:32 +00:00
Tom Hughes
096459404c
Format dates in the changeset list so the year is shown. Closes #2232 .
2009-08-28 07:55:34 +00:00
Ævar Arnfjörð Bjarmason
fc9768f34c
Add type="html" to <title> so a <title> with "<" will be displayed
...
as "<" and not literally as "<".
See section 3.1.1 in RFC 4287
2009-08-07 12:17:02 +00:00
Ævar Arnfjörð Bjarmason
a6f190eabe
Include the changeset comment in the <title> of the Atom feeds if
...
there's a changeset comment.
I'm not doing any snipping of the comment so they could run to 255
characters (the max size in the database), but from testing a few feed
clients it looks like they do this pretty well at the client side.
2009-08-07 00:59:01 +00:00
Tom Hughes
e477f68a6c
Render the links using partial so we can do the appropriate rendering
...
for HTML and Atom versions and hopefully get the escaping right in the
feed. Closes #2135 .
2009-08-05 23:39:24 +00:00
Tom Hughes
4afacf3410
Fix the changeset feed to put the description in as raw HTML so we
...
can include links instead of having to create a separate link free
version of it.
2009-07-30 11:25:33 +00:00
Ævar Arnfjörð Bjarmason
b06b6c2ce9
Atom readers (Firefox/Liferea) don't like when we embed XHTML anchors
...
in the description. So adjust the code that creates the changeset
browser title/description to emit a XHTML and plaintext version with
the HTML and Atom output can use, respectively.
Also:
* Split up @title into @title and @heading as elsewhere
* Turn the username on the user / user+bbox browser into a link to the userpage
* Say "Changesets" instead of "Recent changes". Unlike Wikipedia the changes on OSM aren't guaranteed to be recent, they're just going to be the latest
2009-07-29 18:44:51 +00:00
Ævar Arnfjörð Bjarmason
e2abf1254b
* Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>
...
changeset.id). Some languages may have a different numeric
indicator than the ASCII pound symbol
* Instead of including a column on :user/edits with a "more" link
make the changeset ID link to the changeset page.
2009-07-29 11:05:17 +00:00
Ævar Arnfjörð Bjarmason
6c034ee9fe
use I18n.l() instead of strftime(): Changeset dates will now appear localized
2009-07-29 10:43:03 +00:00
Tom Hughes
2c5f5a0114
Fix changeset paging.
2009-07-15 11:33:21 +00:00
Tom Hughes
50f78e52e8
Style the table in the feed content.
2009-07-07 23:30:04 +00:00
Tom Hughes
5198500d48
More improvements to Atom feeds.
2009-07-06 00:03:33 +00:00
Tom Hughes
d63f605893
Add some more detail to the changeset Atom feeds.
2009-07-05 23:46:28 +00:00
Tom Hughes
0348316d0b
Make subtitle an HTML element.
2009-07-04 12:15:29 +00:00
Tom Hughes
b450ce9d85
Fix links to changeset feeds.
2009-07-04 12:12:05 +00:00
Tom Hughes
336d40f2c5
Switch to using ATOM for changeset feeds.
2009-07-04 11:34:23 +00:00
Thomas Wood
ff03138a97
merge 15807:16012 from rails_port
2009-06-19 22:53:16 +00:00
Matt Amos
09c2725fc9
Fixed typo in 'big changeset' display.
2009-06-15 14:16:19 +00:00
Tom Hughes
3828fa6f9f
Really get the links right this time.
2009-06-09 22:06:48 +00:00
Tom Hughes
073faf8950
Use correct format for RSS link.
2009-06-09 22:04:20 +00:00
Tom Hughes
edaddbedae
Merge 15722:15806 from head and adjust new views to rails 2 style names.
2009-06-09 21:50:37 +00:00
Tom Hughes
2e2f212472
Rename views to rails 2 style names.
2009-06-09 20:50:14 +00:00
Tom Hughes
3578506797
Add a title to the changeset lists. Closes #1938 .
2009-06-08 20:10:09 +00:00
Ævar Arnfjörð Bjarmason
5d471088b4
Wrap 'changeset.changeset.no_comment' in italics with <i></i>. Right
...
now it's not possible to distinguish between a changeset that has no
comment and one whose comment is equivalent to the text of
'changeset.changeset.no_comment'.
2009-06-08 13:24:29 +00:00