Tom Hughes
04ad0f6251
Do basic testing of all site controller methods
2013-12-07 17:21:17 +00:00
Simon Legner
1d1f194d59
Extend API to allow changesets to be queried by ids
...
Make changesets queryable by specifying a list of ids, for example:
/api/0.6/changesets?changesets=1,2,3
This condition may be combined with others in the normal way.
2013-12-05 18:06:35 +00:00
Tom Hughes
0f2958aed4
Report an error if a bogus limit value is passed to a notes API call
2013-12-05 17:57:12 +00:00
Tom Hughes
a51b4c869e
Use the map layout when rendering index for a remote edit
2013-12-05 10:40:07 +00:00
Tom Hughes
50fafa14f8
Improve zoom level selection when invoking Potlatch on an object
...
When invoking Potlatch on a node/way/relation object we should
normally have valid location information in the map parameters, so
use any zoom which is there if possible, otherwise fall back to an
object type specific default value.
Fixes #605 .
2013-12-03 15:06:34 +00:00
John Firebaugh
d95361bcb9
Support legacy bbox param on /history as well
...
Fixes #586
2013-12-02 11:38:54 -08:00
Tom Hughes
49a4efcfa0
Don't offer iD on IE11
2013-11-30 17:53:42 +00:00
Tom Hughes
315d1dab54
Redirect /?query= to /search?query=
2013-11-30 12:38:44 +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
d09009b1fa
Allow moderators to reopen hidden notes
2013-11-28 20:25:36 +00:00
John Firebaugh
6b236ec95b
Fix feed link for pushState loaded history page
2013-11-25 15:47:42 -08:00
Aaron Lidman
ccf7981c48
Sort changesets by id rather than created_at, closes #87
2013-11-25 12:27:52 -08:00
Tom Hughes
581032b701
Enable oauth for geocoder#search
2013-11-24 17:05:02 +00:00
Tom Hughes
686aae7732
Block max_id for changeset feeds instead of page which is no longer used
2013-11-24 17:02:38 +00:00
Tom Hughes
532d108536
Make sure all pages using the map layout call require_oauth
2013-11-24 15:29:38 +00:00
John Firebaugh
954261fb1c
Restore prev/next changeset by user links
2013-11-22 12:17:27 -08:00
John Firebaugh
d0de36b607
Refine changeset browse behavior
...
The general history view shows changesets in the current view
and updates when you move the map. The view for an individual
user, nearby users, or friends zooms the map to the extent of
the results, and doesn't change when you move the map.
2013-11-19 12:10:14 -08:00
John Firebaugh
e91956d0f7
Fix test failures
2013-11-19 10:30:18 -08:00
John Firebaugh
44629832dd
Merge branch 'master' into redesign
...
Conflicts:
vendor/assets/leaflet/leaflet.hash.js
vendor/assets/leaflet/leaflet.js
2013-11-19 09:42:47 -08:00
Aaron Lidman
f45437f836
Reorder changeset detail lists
...
Nodes, ways, relations -> Ways, relations, nodes
2013-11-18 16:24:25 -08:00
Aaron Lidman
6c64a74a46
Improve changeset detail display
2013-11-18 15:23:48 -08:00
Tom Hughes
41e45bad51
Remove the _osm_username cookie and session validation logic
...
This was a temporary hack to workaround issues with sessions getting
mixed up at the time of the rails 3.1 upgrade, but logs indicate that
whatever the original problem was it is no longer occurring.
2013-11-17 21:52:39 +00:00
John Firebaugh
2b4f8e92c9
Merge branch 'master' into redesign
...
Conflicts:
app/controllers/browse_controller.rb
app/views/layouts/_head.html.erb
config/environments/production.rb
config/routes.rb
2013-11-15 16:47:49 -08:00
John Firebaugh
641ce5b640
Render correct template
2013-11-12 15:39:25 -08:00
John Firebaugh
9dd230d0bc
Refactor browse templates
2013-11-12 13:22:55 -08:00
John Firebaugh
a5b784bdf7
Replace Vary header with explicit xhr=1 param
...
IE10 doesn't respect the Vary header.
2013-11-08 17:11:54 -08:00
Aaron Lidman
1ae7872ed8
Update title on pushState, closes #33
2013-11-08 16:10:08 -08:00
John Firebaugh
261862a8dd
Send appropriate Vary header
...
Fixes an issue where the XHR response was sometimes
displayed when navigating back to a pushState
based history entry rather than the full page.
2013-11-06 13:16:48 -08:00
John Firebaugh
15ff7b9843
Remove unused
2013-11-06 13:05:51 -08:00
Aaron Lidman
9f3dace353
Improve pagination
2013-11-05 12:25:54 -08:00
Tom Hughes
76cf302cd0
Make sure we order user changeset correctly for browse#changeset
2013-11-03 12:40:01 +00:00
Tom Hughes
559a822f59
Setup OAuth when rendering site#index from site#edit
2013-10-31 20:52:43 +00:00
Tom Hughes
82e4970766
Handle an empty type value in a nominatim result
2013-10-21 18:56:56 +01:00
Tom Hughes
3678e83678
Use gpx as the extension when we ask for /trace/N/data.gpx
2013-10-16 00:46:33 +01:00
Tom Hughes
078a9d8ee3
Fix server error when user#reset_password called with no token
2013-10-15 21:27:39 +01:00
John Firebaugh
5835350879
Restore raw latlon search result
2013-10-15 21:01:14 +01:00
Tom Hughes
3a44d461b7
Fix bogus redirect on error
2013-10-15 18:18:49 +01:00
Tom Hughes
c3c9d047ba
Tidy up trace#edit and trace#delete and make them more consistent
2013-10-15 00:16:53 +01:00
John Firebaugh
8530e3eedb
AJAXy changeset history
2013-10-13 14:46:09 -07:00
John Firebaugh
35458c0096
Convert search to pushState
2013-10-13 14:46:08 -07:00
John Firebaugh
3d4a137959
Don't rely on body classes so much
...
Doesn't work well with pushState-based navigation.
2013-10-13 14:46:08 -07:00
John Firebaugh
a56d1036d5
pushState based navigation between map-based layouts
2013-10-13 14:46:08 -07:00
John Firebaugh
4557654ba6
Simplify layouting
2013-10-13 14:46:07 -07:00
John Firebaugh
2f076d8f34
Fix "Edit" button when browsing features
2013-10-13 14:46:07 -07:00
John Firebaugh
3ebad9ec2f
Add about page
2013-10-13 14:46:05 -07:00
John Firebaugh
e838dddf12
Redirect ?node=n and similar to browse pages
2013-10-13 14:45:58 -07:00
John Firebaugh
e8ac6bd5d9
Convert history page to sidebar layout
2013-10-13 14:45:58 -07:00
John Firebaugh
33a6b79bd7
Add help page
2013-10-13 14:45:57 -07:00
John Firebaugh
aaeca5b534
Use reverse geocoders for any lat/lon queries
...
This simplifies the implementation, allows code sharing with
"Where am I?", and produces friendlier results for lat/lon
searches (actual reverse geocode results rather than a raw
lat/lon display).
2013-10-13 19:30:38 +01:00
Tom Hughes
e341ef5673
Remove never actually used code from five years ago
2013-10-11 20:03:06 +01:00