Commit graph

5330 commits

Author SHA1 Message Date
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
Tom Hughes
aeeb30ce3c Improve wrapping in the data browse on narrow windows 2013-04-25 17:44:40 +01:00
John Firebaugh
66ce4c3b93 Fix P2 interaction with search links
Need to prevent the default action so that the page isn't
reloaded.

Also, since the click event binding uses delegation, it isn't
necessary to wrap it in $(document).ready().
2013-04-25 17:37:57 +01:00
Tom Hughes
47a75be1c7 Use the correct longitude for links when browsing changesets 2013-04-25 17:27:01 +01:00
Tom Hughes
f541c8e126 Improve functional tests for notes#feed 2013-04-24 21:44:46 +01:00
Tom Hughes
da0dd88f62 Improve functional tests for notes#show 2013-04-24 21:38:20 +01:00
Tom Hughes
34a94fa358 Adopt a consistent naming scheme fot notes functional tests 2013-04-24 20:26:14 +01:00
Tom Hughes
9fc99d28ba Improve functional tests for notes#search 2013-04-24 20:21:18 +01:00
Tom Hughes
c50ac64c38 Improve functional tests for notes#index 2013-04-24 19:17:38 +01:00
Tom Hughes
6e33cf0871 Fix exception with GPX and RSS notes#index when no notes are found 2013-04-24 19:17:13 +01:00
Tom Hughes
273ae4c729 Wrap XML notes responses in an <osm> wrapper 2013-04-24 18:18:20 +01:00
Tom Hughes
b0a84cf1bf Explicitly set text/plain as the type for error responses 2013-04-24 17:46:45 +01:00
Tom Hughes
95c3a4439e Call set_locale for all notes actions 2013-04-24 10:51:37 +01:00
Tom Hughes
36bd2468e0 Fix exeption in GeoRSS formatting for notes 2013-04-24 10:20:35 +01:00
Tom Hughes
925bd812a2 Fix exception with XML notes#index when no notes are found 2013-04-24 09:41:08 +01:00
Tom Hughes
1b22299777 Correct a couple of strings 2013-04-24 09:20:01 +01:00
Tom Hughes
4ff5db34c0 Add strings for the allow_write_notes permission 2013-04-24 09:09:15 +01:00