Commit graph

3152 commits

Author SHA1 Message Date
Tom Hughes
168a9fc327 Replace various Leaflet extensions with new builtin methods 2013-06-27 21:53:26 +01:00
Tom Hughes
15423c2130 Update Leaflet.zoomslider 2013-06-26 18:20:06 +01:00
Tom Hughes
ac1f210736 Replace the spam observer with simple after_save callbacks 2013-06-25 21:54:02 +01:00
Tom Hughes
2dc7c505fd Remove remaining action cache usage and related infrastructure 2013-06-25 17:47:54 +01:00
Tom Hughes
f03c8637f7 Extract common code for parsing floats 2013-06-24 22:44:17 +01:00
Ian Dees
9d2fed811f Guard against non-numeric lat and lons in nodes and notes 2013-06-24 22:34:09 +01:00
Sarah Hoffmann
378869b77d Show more specific boundary type in search results 2013-06-24 22:26:28 +01:00
Tom Hughes
21d2fa4f36 Don't send notifications when a note is deleted 2013-06-21 08:52:59 +01:00
Tom Hughes
b244783e2e Fix styling of code blocks in rich text 2013-06-20 16:19:31 +01:00
Tom Hughes
167bc5001d Stop the richtext help wrapping 2013-06-12 00:41:55 +01:00
Saman Bemel-Benrud
40012189cb Layout cleanup 2013-06-11 15:52:31 -07:00
Saman Bemel-Benrud
7bd8f813ef Switch from content-box to border-box for layout 2013-06-11 15:52:24 -07:00
Tom Hughes
126a94b462 It's <br> not </br> 2013-06-11 18:42:09 +01:00
Tom Hughes
5efe07f164 Use note.closed? in a consistent way 2013-06-11 18:26:54 +01:00
Tom Hughes
1d7719e01c Make note metadata consistent in the GPX output format 2013-06-11 18:23:52 +01:00
Tom Hughes
cc8bfc07bb Force notes list to be realised in notes#mine
There is a rails bug which means that using count on a relation
that uses uniq and offset/limit and which hasn't been realised
yet will always return one, so force it to be realised.
2013-06-10 23:45:06 +01:00
Saman Bemel-Benrud
82f8968169 Keep the map visible as the changeset page is scrolled 2013-06-10 22:34:23 +01:00
Leo Koppelkamm
1998ec88b8 Fix overlapping text in markdown help 2013-06-10 21:44:06 +01:00
Tom Hughes
02d9584fc5 Allow notes to be reopened from the web interface 2013-06-10 19:25:18 +01:00
Tom Hughes
d74d4f8d19 Add a reopen API call for notes 2013-06-10 18:52:50 +01:00
Harry Wood
eac40b89af Remove SOTM US from the banner rotation
Remove SOTM US image from the from the front page banner rotation, leaving
only main SOTM and server donation drive ads.
2013-06-10 17:27:58 +01:00
Tom Hughes
b650a22725 Use GET for make_friend when the user is not logged in
The POST is only used to avoid cross site attacks against logged
in users, and the login form will defeat that for users that are not
logged in, so use GET when not logged in so that the redirect to the
login form will be done.
2013-06-02 19:08:32 +01:00
Ian Dees
80903324cf HTMLize note browse pages 2013-06-02 18:48:28 +01:00
Leo Koppelkamm
890153b2a6 Replace note markers with ones styled like the other markers 2013-06-02 18:44:09 +01:00
Tom Hughes
80f48e812f Make user links in note API responses use the main server name 2013-05-28 22:26:46 +01:00
Tom Hughes
bd3a7e5f57 Pass the correct locale to Nominatim.describe_location 2013-05-27 18:06:12 +01:00
Tom Hughes
f78c703708 Simplify locale handing in notification emails 2013-05-27 10:53:14 +01:00
Tom Hughes
ea5a19eb4e Use correct locale for note comment notification emails 2013-05-27 10:35:05 +01:00
Tom Hughes
d1c9009019 Make translated map layer names work
Delay initialising the layers array until the first map is created
so that we can be sure that I18n.locale has been initialised.
2013-05-25 00:21:19 +01:00
Tom Hughes
fa95768ae3 Use dc:creator instead of author for the author's name
Unfortunately the braindead RSS speciifcation requires author to
be an email address, so we have to use Dublin Core metadata to
report the author name instead.
2013-05-24 09:16:28 +01:00
Tom Hughes
692d57744f Add comment numbers to GUIDs to make them unique 2013-05-24 09:11:59 +01:00
Tom Hughes
5e17fa8249 Add anchors to note comments on the browse page 2013-05-24 09:09:28 +01:00
Tom Hughes
e01df312b8 Remove max-width restriction on note warning 2013-05-20 17:47:24 +01:00
Tom Hughes
e47080338a Add a title to note browse pages 2013-05-20 17:46:43 +01:00
Grant Slater
afa44979b2 Add Server Donation Banner 2013-05-17 21:37:45 +01:00
Martin Raifer
74448434c9 Improve display of objects on data browser maps
Previously, tagged nodes of ways were shown on the browse/way and
browse/relation pages.

Now, nodes are not shown on browse/way pages and only nodes which are
direct members of the relation are shown on browse/relation pages.
2013-05-14 21:43:55 +01:00
Tom Hughes
eeadb9e202 Add basica styling for include code blocks in rich text 2013-05-14 08:40:48 +01:00
Tom Hughes
9aa029af7a Clear comment field after a new note is created 2013-05-14 00:14:02 +01:00
Tom Hughes
5e420d9e50 Preserve in progress note comments when the map is moved 2013-05-13 21:14:18 +01:00
John Firebaugh
370f4bf562 Add SotM ads 2013-05-13 20:17:10 +01:00
John Firebaugh
2f9a4d0337 Remove commented out donation section
There's an displayed donation section further down in
this file.
2013-05-13 20:16:59 +01:00
Tom Hughes
b9f7f39140 Cast the locale to a string 2013-05-13 00:53:12 +01:00
Leo Koppelkamm
ea9080ef80 Fix problem with heart icon ( #266 ) 2013-05-12 19:49:07 +01:00
Leo Koppelkamm
32808ce3e1 Only show scrollbars if needed in Markdown input 2013-05-12 19:30:26 +01:00
Leo Koppelkamm
15940feba6 Make line height relative.
Fixes display problems when the user has a minimum font size
set in their browser.
2013-05-12 19:28:54 +01:00
Leo Koppelkamm
8255553e97 Don't focus the text area on touch devices to avoid flashing the keyboard
Currently the keyboard slide out & hides again quickly.
2013-05-12 19:26:05 +01:00
Leo Koppelkamm
b6b9052c37 Fix overlapping slogan (i18n) 2013-05-12 16:03:15 +01:00
Tom Hughes
3e92f1991e Restore rule for landuse=tourism and rename tourist.png to tourism.png 2013-05-12 14:25:04 +01:00
Tom Hughes
340c28127f Make sure updatelinks() is called even if Potlatch fails to load 2013-05-12 13:06:24 +01:00
Tom Hughes
5521f6ea9e Remove style rule for landuse=tourism as tourism.png doesn't exist 2013-05-12 13:00:44 +01:00