Commit graph

1261 commits

Author SHA1 Message Date
Tom Hughes
e5e6db8d0e Show a cookie warning on the signup page if cookies are disabled 2013-07-04 14:28:38 +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
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
Tom Hughes
d74d4f8d19 Add a reopen API call for notes 2013-06-10 18:52:50 +01:00
Tom Hughes
e47080338a Add a title to note browse pages 2013-05-20 17:46:43 +01:00
Tom Hughes
a945fc0fcd Fix trace lists to correctly respect tag restrictions 2013-05-10 22:48:26 +01:00
Tom Hughes
164341121d Hide deleted traces in the RSS feeds 2013-05-10 21:35:00 +01:00
Tom Hughes
c809f79912 Tidy up user preferences controller 2013-05-10 16:03:37 +01:00
Tom Hughes
f495da8fda Fix a few user preferences bugs 2013-05-10 00:50:24 +01:00
Tom Hughes
1ecf3ebd68 Remove unused friend controller and related test harness 2013-05-09 22:39:12 +01:00
Tom Hughes
720c8d0e35 Improve locale selection for Potlatch 2 and iD 2013-05-08 22:28:41 +01:00
Tom Hughes
427f896cdf Fix a bug decoding certain lat/lon formats 2013-05-08 19:21:19 +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
6659fb9b33 Rename the ugly "id_iframe" to just plain "id" 2013-05-07 14:50:31 +01: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
b1308a87be Show OSM objects for Nominatim search results as map overlays 2013-04-26 00:39:26 +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
7f598ab412 Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
	app/views/diary_entry/list.html.erb
2013-04-08 22:34:37 +01:00
Tom Hughes
4b669ec1ae Return an updated copy of the note from the delete call 2013-04-08 22:00:26 +01:00
Tom Hughes
030bb31ec1 Allow a comment to be supplied when hiding a note 2013-04-08 21:29:41 +01:00
Tom Hughes
f4b599e8fd Restriction note deletion to moderators 2013-04-08 21:21:31 +01:00
Matt Amos
3822e8de77 Added database, API and GPX status to capabilities. 2013-04-02 15:05:20 +01:00
Tom Hughes
b92a2de9ec Use changeset and user caches in Changeset#download 2013-04-01 14:18:21 +01:00
Tom Hughes
e6a1003509 Avoid reading nodes twice in WayController#full 2013-04-01 14:18:21 +01:00
Tom Hughes
369d5a0bfd Optimise database reads in DiaryEntry#list 2013-04-01 14:18:21 +01:00
Tom Hughes
4fd89f9f23 Improve selection logic in DiaryEntry#rss 2013-04-01 14:18:21 +01:00
Tom Hughes
97e0d5ad1f Add a new write_notes permission needed for OAuth access to notes 2013-03-28 18:50:18 +00:00
Tom Hughes
898cc828dd Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
2013-03-28 00:36:07 +00:00
Tom Hughes
38255f9f8d Use OAuth for notes API calls and require authentication to close 2013-03-28 00:34:23 +00:00
Tom Hughes
e8d32637c1 Add javascript OAuth support 2013-03-28 00:34:09 +00:00
Tom Hughes
78e8828741 Use changeset and user caches in Changeset#download 2013-03-24 09:52:03 +00:00
Tom Hughes
6300fa2a4f Avoid reading nodes twice in WayController#full 2013-03-24 09:52:03 +00:00
Tom Hughes
9717b81a47 Optimise database reads in DiaryEntry#list 2013-03-24 09:52:03 +00:00
Tom Hughes
9d23b0d00c Improve selection logic in DiaryEntry#rss 2013-03-24 09:52:03 +00:00
Eric Theise
dce2bb9a54 Extend geocoder to support additional lat/lon formats 2013-03-03 19:39:53 +00:00
Tom Hughes
eed9de5483 Reject attempts to create notes with no comment text 2013-02-05 21:54:03 +00:00
Tom Hughes
8090e086da Merge branch 'master' into notes 2013-02-05 19:03:28 +00:00
Tom Hughes
d1aa084d28 Reject note comments with no text 2013-02-05 18:46:41 +00:00
Tom Hughes
ae27f7adbe Make the API reject changes to closed notes 2013-02-05 18:08:42 +00:00
Tom Hughes
6279d83260 Pass parameters to APIAlreadyDeletedError correctly 2013-02-05 18:08:11 +00:00
Tom Hughes
703663c4a2 Add a test for commenting on diary entries 2013-02-03 15:50:09 +00:00
Tom Hughes
cff41d2171 Ajaxify message deletion 2013-02-03 12:52:51 +00:00
Tom Hughes
8e5364b2f2 Only show each note once is the user notes view 2013-02-03 11:07:01 +00:00
Tom Hughes
9d3b419aad Improve styling of the per-user notes list view 2013-02-02 14:29:45 +00:00
Tom Hughes
3d7eb387a7 Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
	app/assets/stylesheets/common.css.scss
	app/views/browse/_map.html.erb
	app/views/user/view.html.erb
	config/locales/en.yml
2013-01-15 21:11:35 +00:00