Commit graph

523 commits

Author SHA1 Message Date
John Firebaugh
3ca642271a Redirect /edit and /export with old-style edit params 2013-08-12 13:34:46 -07:00
John Firebaugh
bda941f49d Clean up tests 2013-08-12 13:34:45 -07:00
John Firebaugh
091473602b Handle expired confirmation tokens 2013-08-12 13:34:45 -07:00
John Firebaugh
2a3bc0a387 Hook up user confirmation page 2013-08-12 13:34:44 -07:00
John Firebaugh
c5fc21e6a6 Inline validation errors on sign up page 2013-08-12 13:34:44 -07:00
John Firebaugh
58cd5bfb11 Remove unnecessary div/class/css 2013-08-12 13:34:43 -07:00
John Firebaugh
24422a3baf Move pre-sign up content to sign up page 2013-08-12 13:34:42 -07:00
John Firebaugh
2690342b08 Reduce welcome email to minimal text
Instead, redirect newly-confirmed users to the welcome
page. If confirmation is not required, redirect immediately
and don't send an email.
2013-08-12 13:34:40 -07:00
John Firebaugh
e3aaa6dd4b Add welcome page based on http://osmlab.github.io/welcome-osm/ 2013-08-12 13:34:40 -07:00
Tom Hughes
e84ed734aa Update short link test results 2013-08-06 13:33:21 +01:00
Tom Hughes
b12598112a Add method specifiers to oauth routing tests 2013-08-05 20:12:49 +01:00
Tom Hughes
b8f126bcf6 Update short link integration tests for hash links 2013-08-04 12:50:05 +01:00
Tom Hughes
f9d714dfd3 Merge remote-tracking branch 'osmlab/hash' 2013-08-04 12:38:59 +01:00
Tom Hughes
755585e230 Add functional tests for nodes/ways/relations API methods 2013-08-04 11:12:09 +01:00
John Firebaugh
849e874dce Refactor user creation actions
Create a separate #create action that handles POSTs to
/user/new. This simplifies the other actions and ensures
that the URL is /user/new when validation errors occur,
rather than /user/terms.

Fixes #398
2013-08-01 17:32:40 +01:00
John Firebaugh
6618cb9019 Include layers in hash 2013-07-30 15:41:41 -07:00
John Firebaugh
c8d4e4eee3 Redirect lat/lon/zoom query params to hash 2013-07-30 15:41:41 -07:00
Tom Hughes
3880ac5de8 Replace :nothing => true with :text => ""
Using `:nothing => true` confusingly actually causes a single space
to be sent as the content by rails.
2013-07-19 11:14:55 +01:00
Tom Hughes
4a2ecfe8b3 Use the standard ruby instance_methods call
Rails 3 has an instance_methods_name extension that returns strings
instead of symbols, but that goes away in Rails 4 so just use the
standard routine instead.
2013-07-09 18:26:54 +01:00
Tom Hughes
1234561a78 The ActiveRecord exists? method may not return an explicit true/false
https://github.com/rails/rails/issues/10062
2013-07-09 18:26:54 +01:00
Tom Hughes
e8f1953d7d Rename test to avoid class name conflict with unit test 2013-07-09 18:26:54 +01:00
Tom Hughes
33f30af7b3 Update tests for changes to user settings form 2013-07-08 09:43:07 +01:00
Tom Hughes
8313bf0612 Update tests for changes to signup form 2013-07-08 09:34:59 +01:00
Tom Hughes
92a8894118 Fix up user creation tests to handle cookie check 2013-07-04 14:52:41 +01:00
Tom Hughes
32bdd65b49 Sort tags to make comparision stable 2013-06-30 22:41:49 +01:00
Tom Hughes
8c79134a6e Remove empty test cases 2013-06-30 21:44:57 +01:00
Tom Hughes
28faa17526 Fix bogus test class names 2013-06-30 21:44:41 +01:00
Ian Dees
9d2fed811f Guard against non-numeric lat and lons in nodes and notes 2013-06-24 22:34:09 +01:00
Tom Hughes
d74d4f8d19 Add a reopen API call for notes 2013-06-10 18:52:50 +01:00
Tom Hughes
28d4695927 Beef up tests for trace#list to check tag restrictions 2013-05-10 22:48:26 +01:00
Tom Hughes
b3e540a6b6 Improve tests for trace RSS feeds 2013-05-10 22:48:26 +01:00
Tom Hughes
c809f79912 Tidy up user preferences controller 2013-05-10 16:03:37 +01:00
Tom Hughes
d4776b59a1 Improve functional tests for user preferences 2013-05-10 00:50:10 +01:00
Tom Hughes
1ecf3ebd68 Remove unused friend controller and related test harness 2013-05-09 22:39:12 +01:00
Tom Hughes
aa93060b5c Improve export controller tests 2013-05-09 22:37:44 +01:00
Tom Hughes
902ba27de9 Tidy up geocoder tests and extend lat/lon detection tests 2013-05-08 19:20:42 +01:00
Tom Hughes
6e2c9ce258 Add a routing test for /id 2013-05-07 14:52:08 +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
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
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
544113affa Test that closing and deleting notes require authentication 2013-03-28 15:58:03 +00:00
Tom Hughes
898cc828dd Merge branch 'master' into notes
Conflicts:
	Gemfile.lock
2013-03-28 00:36:07 +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