Commit graph

6215 commits

Author SHA1 Message Date
John Firebaugh
c32fec1768 Align "Way" in relation member list
Fixes #590
2013-12-03 00:05:43 +00:00
John Firebaugh
880d53d62c Allow word-breaks in long keys/values
Fixes #561
2013-12-03 00:03:58 +00:00
Tom Hughes
fc891d9caa Generate valid URLs for search results with no object attached 2013-12-02 22:25:46 +00:00
John Firebaugh
95f1069552 Fix application error on non-feature search results
Fixes #560
2013-12-02 14:08:56 -08:00
Tom Hughes
031afed7aa Merge remote-tracking branch 'jfirebaugh/legacy-params' 2013-12-02 20:29:34 +00:00
Tom Hughes
11d8dc59d4 Document need for a Javascript runtime 2013-12-02 20:24:11 +00:00
Tom Hughes
16a72d93de Don't show "Load More" if we found less than 20 changesets 2013-12-02 19:39:56 +00:00
John Firebaugh
d95361bcb9 Support legacy bbox param on /history as well
Fixes #586
2013-12-02 11:38:54 -08:00
John Firebaugh
69fdcfd163 Restore legacy bbox/min/max params support
https://trac.openstreetmap.org/ticket/5050
https://trac.openstreetmap.org/ticket/5051
2013-12-02 11:38:54 -08:00
Tom Hughes
f3f31d3bea Remove unused strings 2013-12-02 19:28:51 +00:00
Tom Hughes
be931d0955 Restore click handler for changeset entries
The default click handler only handle the, not the rest of the
entry, so retore the handler but add an e.preventDefault() call
to stop the second handler running.
2013-12-02 18:49:56 +00:00
Tom Hughes
9e25f5563d Drop click handler for changeset entries in the history sidebar
The default click handler in index.js handles them fine, and as this
one was not calling preventDefault both were actually firing in some
browsers, causing the changeset to be loaded twice and two history
entries to be created.
2013-12-02 10:17:53 +00:00
Tom Hughes
f42af6d47e Removed bogus translation 2013-12-02 09:10:10 +00:00
Siebrand Mazeland
1999e94186 Localisation updates from https://translatewiki.net. 2013-12-02 08:40:42 +00:00
Tom Hughes
f53ae66966 Prevent wrapping of dates in message lists 2013-12-01 23:00:41 +00:00
Tom Hughes
63617dabb1 Fix javascript eror redirecting to new notes 2013-12-01 22:41:30 +00:00
Tom Hughes
d5a765588f Fix URL updating in Potlatch 1
Potlatch 1 has hard coded calls to updatelinks, so rename the
updatelinks function to updateLinks and add an updatelinks function
using the old style argument list for Potlatch 1 to call.
2013-12-01 22:37:04 +00:00
Tom Hughes
a30a29f41a Fix stripping of trailing slash 2013-12-01 22:30:34 +00:00
Tom Hughes
96babc10b0 Strip any trailing slash from the initial location 2013-12-01 21:47:55 +00:00
Richard Fairhurst
640ff57465 Add 'x' to close welcome box; remember preference 2013-12-01 21:36:25 +00:00
Tom Hughes
aff0583a34 Drop monkey patch now we're using option style redirects
Option style redirects escape path parameters correctly, so we
can drop out monkey patch.
2013-12-01 20:54:52 +00:00
Tom Hughes
248d0b863c Force the X-Page-Title value to be treated as UTF-8
This is basically a black magic hack to get javascript to treat
a string as UTF-8 and decode it to the correct form.

http://monsur.hossa.in/2012/07/20/utf-8-in-javascript.html
2013-12-01 20:31:48 +00:00
Tom Hughes
61bb31ebdd Preserve the bounding box when redirecting history URLs
Using the options style for the redirect seems to cause parameters
to be preserved, which the path style of redirect does not.
2013-12-01 19:59:57 +00:00
Tom Hughes
3b6580297f Rename changed translation to avoid test failures 2013-12-01 09:11:59 +00:00
Siebrand Mazeland
73341cfefd Localisation updates from https://translatewiki.net. 2013-11-30 18:36:16 +00:00
Tom Hughes
49a4efcfa0 Don't offer iD on IE11 2013-11-30 17:53:42 +00:00
RM87
61fc15aee1 Remove spurious < character as reported in #508 2013-11-30 16:09:47 +00:00
Tom Hughes
28a19f5f13 Load gravatar images over https on https pages 2013-11-30 15:38:11 +00:00
Tom Hughes
a36f3a9307 Add margin space below lists on non-map content pages 2013-11-30 14:41:39 +00:00
Tom Hughes
ec8a601309 Test for the map argument correctly 2013-11-30 14:18:08 +00:00
Tom Hughes
e73a770d81 Remove monkey patch which has been merged upstream in rails 4 2013-11-30 14:02:49 +00:00
Tom Hughes
309831a619 Monkey patch escaping in redirect routes
The correct method of escaping depends on whether the parameter
is being substituted in the path or the query, but all our ones
are substitued in the path so use URI.escape instead of the
standard Rack::Utils.escape which does query escaping.

https://github.com/rails/rails/issues/13110
2013-11-30 13:53:48 +00:00
Tom Hughes
a2b9f593f5 Don't throw an exception if the hash doesn't contain a map argument 2013-11-30 13:20:31 +00:00
Tom Hughes
315d1dab54 Redirect /?query= to /search?query= 2013-11-30 12:38:44 +00:00
Tom Hughes
82b6e05dc4 Update the OpenSearch definition for URL changes 2013-11-30 12:35:01 +00:00
Tom Hughes
a9f4549327 Tidy up the OAuth authorization screens
Make sure all messages are translatable, separate errors from
user initiated denial of authorization.
2013-11-30 12:25:22 +00:00
Tom Hughes
bfd11bf79a Change "Copyright & License" to "Copyright" and move it left 2013-11-30 10:51:43 +00:00
Paul Norman
a768e7111c Restore Copyright & License link
The copyright and license is an important part of OpenStreetMap.
This restores the copyright & license link to the menu, placing
it in the top-right with the other pages which do not display a map.

Fixes #548

Fixes comments in https://github.com/openstreetmap/openstreetmap-website/pull/498#issuecomment-26741518
2013-11-30 10:36:14 +00:00
Tom Hughes
d375caf7a3 Update to CPK 6.0.1 and drop monkey patch 2013-11-30 10:28:41 +00:00
Tom Hughes
be088602fb Revert 39468944 and fix osmlab#91 without loosing the editor choice 2013-11-29 15:33:09 +00:00
Tom Hughes
37baed28b1 Pass the correct ID when switching to a node/way/relation view 2013-11-29 09:53:16 +00:00
Tom Hughes
223d5fd132 Stop browse routes matching user URLs 2013-11-29 00:05:25 +00:00
Tom Hughes
d09009b1fa Allow moderators to reopen hidden notes 2013-11-28 20:25:36 +00:00
Tom Hughes
e0028d8639 Add a title for hidden notes 2013-11-28 20:23:50 +00:00
Tom Hughes
832969fddd Add hidden_by message for notes hidden by moderators 2013-11-28 19:06:17 +00:00
Tom Hughes
68a3df4d53 Merge branch 'redesign'
Conflicts:
	app/assets/stylesheets/common.css.scss
2013-11-28 17:30:53 +00:00
Tom Hughes
fb9b4edcdd Add tests for new redirects and fix a few bugs in the redirects 2013-11-28 08:56:52 +00:00
Tom Hughes
3cd5f45e08 Simplify browse routes and make routes more consistent
This gets rid of the /browse/ prefix and uses /history consistently
for all routes that show a list of changesets.
2013-11-28 00:14:07 +00:00
John Firebaugh
edfd358289 Update to iD v1.3.4 2013-11-26 19:34:53 -08:00
John Firebaugh
6b236ec95b Fix feed link for pushState loaded history page 2013-11-25 15:47:42 -08:00