Commit graph

5346 commits

Author SHA1 Message Date
Tom Hughes
fecc643c4e Fixed some "lego" messages in plain text emails 2013-05-07 18:59:12 +01:00
Tom Hughes
2b99d77962 Don't cast object type and ID to string in case they are nil 2013-05-07 17:39:11 +01:00
Tom Hughes
6e2c9ce258 Add a routing test for /id 2013-05-07 14:52:08 +01:00
Tom Hughes
6659fb9b33 Rename the ugly "id_iframe" to just plain "id" 2013-05-07 14:50:31 +01:00
Tom Hughes
1779347849 Merge remote-tracking branch 'osmlab/id-editor-embed' 2013-05-07 14:43:45 +01:00
Tom Hughes
42b3f961a6 Use CDATA for note descriptions in the RSS feed 2013-05-07 11:30:13 +01:00
Tom Hughes
621cb8a1ef Fix double escaping of date markup in note feed 2013-05-07 11:23:56 +01:00
John Firebaugh
3ff23409d7 Switch to stable branch 2013-05-06 12:50:46 -07:00
John Firebaugh
c3801e5931 Update to iD 1.0.0 2013-05-06 12:32:48 -07:00
Tom Hughes
e84b2bd22f Replace some inline javascript with a UJS solution 2013-05-06 11:09:17 +01:00
Tom Hughes
8bb7cdb75a Style the "view details" link in search results 2013-05-06 10:48:39 +01:00
Dan Stowell
887f456209 Append "view details" link to Nominatim search results 2013-05-06 10:48:35 +01:00
Tom Hughes
2da8c8c413 Show node coordinates in the right place 2013-05-05 17:28:57 +01:00
Leo Koppelkamm
d99830d431 Fix browse view display issues in medium width windows
Floats are evil - using inline-block instead makes the whole thing
easier and more stable.
2013-05-05 17:27:09 +01:00
Leo Koppelkamm
29f79e0a85 Show icons in browse history views 2013-05-05 17:20:35 +01:00
Leo Koppelkamm
9b33d307c4 Show object icons in the margin on data browers pages
Avoids indenting the text which looks odd, especially for things
which don't have an icon.
2013-05-05 17:16:34 +01:00
John Firebaugh
3da2a95cea Update iD, set locale 2013-05-03 13:47:30 -07:00
John Firebaugh
cfbb80d2d4 Selecting relations is now supported 2013-05-03 10:52:44 -07:00
John Firebaugh
fd8a775526 Fix search result link behavior (systemed/iD#1329) 2013-05-03 10:52:44 -07:00
John Firebaugh
a9386e843d Support maximize/minimize (systemed/iD#1327) 2013-05-03 10:52:43 -07:00
John Firebaugh
356fa7f2de Update iD 2013-05-03 10:52:43 -07:00
John Firebaugh
d444cc197a Load search result locations in iD 2013-05-03 10:52:43 -07:00
John Firebaugh
2fa81de6a9 Fix search results display (systemed/iD#1328) 2013-05-03 10:52:42 -07:00
John Firebaugh
55a0ad693d Call updatelinks when map moves
Fixes systemed/iD#1330.
2013-05-03 10:52:42 -07:00
John Firebaugh
daf9166298 Fix edit links on browse and changeset pages 2013-05-03 10:52:42 -07:00
John Firebaugh
3ddc803259 Update iD; clean up OAuth configuration 2013-05-03 10:52:42 -07:00
Tom MacWright
7a98913d0c Add iD editor
iD sources live in vendor/assets/iD, and are managed with
vendorer, using the "rewrite" functionality to replace relative
paths in the CSS with <%= asset_path(…) %> directives.

To avoid needing to namespace all of its CSS classes, iD
is embedded via an iframe.

To setup, edit application.yml to include an `id_key` key.
(It can use the same consumer key as P2 if you like.)
2013-05-03 10:52:41 -07:00
Tom Hughes
2c8ed19553 Stop attribution control wrapping on layers with attribution text 2013-05-01 10:01:24 +01:00
Tom Hughes
a5f3abcbe9 Make "add note" cope with base layer changes 2013-05-01 09:26:05 +01:00
Tom MacWright
4bb1bccd9c Fix note formatting
Prevents note coordinates from falling to the next line on the browse page.
2013-04-30 17:35:02 +01:00
Tom Hughes
9f5787fd20 Make the notification mails for notes show when a note is resolved 2013-04-29 19:26:03 +01:00
Tom Hughes
d1660a1c4f Disable dragging of new notes once they are submitted 2013-04-29 17:20:21 +01:00
Tom Hughes
d9d8d5a106 Handle empty arguments when computing the OAuth base string 2013-04-29 10:49:19 +01:00
Tom MacWright
0d35a10a50 Reset Leaflet styles so that the OSM color scheme is more uniform.
Also makes note input fields shorter - 100px tall - by default.
2013-04-28 19:06:11 +01:00
Tom Hughes
2880d66eb8 Remove unused CSS rule 2013-04-28 19:06:11 +01:00
Siebrand Mazeland
de0e879a25 Localisation updates from http://translatewiki.net. 2013-04-28 17:55:31 +00:00
Tom MacWright
6453310d4d Redesign notes permalink
This adds a small permalink icon to the sprite and updates the CSS for
the permalink. The text is hidden by default and shown on hover.
2013-04-28 17:06:48 +01:00
Tom Hughes
32ac67c446 Swap older and newer 2013-04-28 10:41:28 +01:00
Tom Hughes
77de506312 Update ohauth and switch to using the new headerGenerator method 2013-04-28 10:39:56 +01:00
Tom Hughes
daf6093f2f Add a mailmap file to normalise names/addresses 2013-04-28 10:36:53 +01:00
Yuki Shira
a65125e93a Replace trace.trace_paging_nav.previous/next by older/newer 2013-04-28 10:36:42 +01:00
Tom Hughes
a14abfe90b Tone down the anonymous edit warning for notes
Increase the saturation of our standard warning colour a little so
that it is more visible, and then switch notes to using the warning
colour instead of the error colour.
2013-04-27 16:47:25 +01:00
Tom Hughes
10161fb41b Encode parameters correctly when building an OAuth base string
Parameter key and value escaping needs to use the extended algorithm
from the OAuth specification, not the standard URI escaping algorithm
so we need to escape !, ', *, ( and ) characters.
2013-04-27 12:20:16 +01:00
Tom Hughes
d48b1ccdf2 Replace the title in the note popup with a permalink 2013-04-27 11:51:51 +01:00
Tom Hughes
4a69512ce4 Reduce corner radius on all leaflet popups 2013-04-27 11:31:02 +01:00
Tom Hughes
e2b364d002 Increase whitespace between comments in the note popup 2013-04-27 11:23:58 +01:00
Tom Hughes
899dab08f9 Cancel any existing object load before starting a new one 2013-04-27 11:15:32 +01:00
Tom Hughes
e932418998 Remove the flatten_comment methd from the Note model 2013-04-26 19:35:20 +01:00
Tom Hughes
5dda4196d5 Rework the generation of descriptions in the notes RSS feed 2013-04-26 19:34:32 +01:00
Tom Hughes
b1308a87be Show OSM objects for Nominatim search results as map overlays 2013-04-26 00:39:26 +01:00