Andy Allan
6331e34638
Remove the link between the redaction owner and the user doing the redaction in tests.
2017-03-16 10:21:25 +00:00
Andy Allan
d2998065dc
Use redactions factory for old_way controller tests
2017-03-15 18:04:58 +00:00
Andy Allan
2cdc2e1cd8
Use redactions factory for old_node controller tests.
2017-03-15 17:50:57 +00:00
Andy Allan
99d2bbccbb
Use redaction factory for old_relation controller tests.
2017-03-15 17:13:47 +00:00
Andy Allan
5422c56301
Fix typos in assertion messages.
2017-03-15 17:06:29 +00:00
Andy Allan
a0899d1b0b
Use redactions factory in redaction controller test.
2017-03-15 17:01:41 +00:00
Andy Allan
006627789f
Create a redactions factory and use for model tests.
2017-03-15 16:24:39 +00:00
Tom Hughes
8ccd7364cd
Merge remote-tracking branch 'openstreetmap/pull/1488'
2017-03-15 14:22:59 +00:00
Andy Allan
8d2d6e1a52
Use a pending user for testing password resets.
2017-03-15 14:22:04 +00:00
Andy Allan
3d8dc64b9c
Use users factory for user_controller tests.
2017-03-15 11:56:36 +00:00
Tom Hughes
7c9229fbfc
Throw an exception if adding a note comment fails
2017-03-13 14:49:16 +00:00
Christian Stadelmann
cd922a99f8
Make search use HTTPS automatically
...
Currently users end up having a HTTP search function even if they
install it to their browsers from the HTTPS site. This is a unexpected
reduction in privacy.
Since search requests are private data they should be sent via HTTPS.
Closes #936
2017-03-13 11:22:19 +00:00
Andy Allan
17ff182c96
Build pending users via factory
2017-03-13 10:20:06 +00:00
Simon Poole
9606e440bc
Return maximum size of bounding box for note retrieval
2017-03-13 08:53:49 +01:00
Niklas Laxström
c2ee604858
Localisation updates from https://translatewiki.net .
2017-03-13 08:21:19 +01:00
Tom Hughes
4ac9ed6f14
Improve styling of flash messages on the front page
2017-03-10 16:46:29 +00:00
Tom Hughes
5cdb835de3
Show offline/readonly messages as normal flash messages
2017-03-10 16:30:04 +00:00
Tom Hughes
ae4c00da8c
Merge remote-tracking branch 'openstreetmap/pull/1484'
2017-03-10 15:58:57 +00:00
Tom Hughes
47a5d2f37d
Add some whitespace
2017-03-10 15:34:34 +00:00
Andy Allan
113506bf51
Use user factories for user_login integration tests.
...
The display_name logins were reworked to use downcase since the
factories supply users with an already-title-cased display_name.
The tests were also renamed to align better with the purpose of the
test rather than the name of the fixture used.
2017-03-10 14:53:36 +00:00
Andy Allan
b690feba15
Use user factories for page_locale integration tests.
2017-03-10 14:53:19 +00:00
Andy Allan
dfbb952707
Use user factories for user_block integration tests.
2017-03-10 14:48:29 +00:00
Andy Allan
4165bc0362
Use user factories for user_roles integration tests.
2017-03-10 11:02:40 +00:00
Andy Allan
1a1d924ae0
Use user factory for user_creation test.
2017-03-10 10:57:46 +00:00
Andy Allan
5de04a8cc2
Use user factory for application_helper tests.
2017-03-10 10:53:00 +00:00
Andy Allan
5ae96d6cb7
Use user factory for note_helper tests.
2017-03-10 10:33:59 +00:00
Tom Hughes
685df702ef
Merge remote-tracking branch 'openstreetmap/pull/1483'
2017-03-09 18:35:57 +00:00
Tom Hughes
da57077c0b
Improve trace#api_data tests
...
The api_data action doesn't actually take the username as an
arguement and should be modelled on api_read rather than the
actions that handle web views.
2017-03-09 18:28:46 +00:00
Tom Hughes
f381ff6fb2
Merge remote-tracking branch 'openstreetmap/pull/1481'
2017-03-09 18:14:34 +00:00
Andy Allan
56e979c353
Remove redundant tests for deleted traces, and rearrange comments and factory calls for consistency.
2017-03-09 17:21:46 +00:00
Andy Allan
8b9ad9bf4b
Use user factory for user_roles_helper test
2017-03-09 17:12:11 +00:00
Andy Allan
eac26c9a2c
Create a super_user factory.
2017-03-09 16:21:51 +00:00
Andy Allan
18c25b620b
Create a fresh user when requesting non-existent traces.
2017-03-09 14:50:02 +00:00
Andy Allan
f2479a8656
Use user factory for message model tests.
2017-03-09 11:52:31 +00:00
Andy Allan
c6c514fce7
Take the user from the node or changeset, rather than referring to the fixture.
2017-03-09 11:29:43 +00:00
Andy Allan
4736586355
Use user factory for note model test.
2017-03-09 11:06:07 +00:00
Andy Allan
8a6956eb22
Use user factory for oauth_token model test.
2017-03-09 11:04:29 +00:00
Andy Allan
5e78831d5c
Use user factory for user_preference model tests.
2017-03-09 10:57:57 +00:00
Andy Allan
2267f44954
Use user factory for trace model tests.
2017-03-09 10:53:11 +00:00
Andy Allan
2b06961ce3
Use user factory for trace_controller tests
2017-03-09 10:13:18 +00:00
Tom Hughes
f4d2a01484
Remove fake qqq locale
2017-03-09 07:10:10 +00:00
Niklas Laxström
bf4926abb6
Localisation updates from https://translatewiki.net .
2017-03-09 08:01:16 +01:00
Tom Hughes
33669daefb
Do more preloading in browse controller methods
...
Fixes #1476
2017-03-07 09:10:24 +00:00
Tom Hughes
d86380e7b5
Fix accidental change in comments
2017-03-06 18:01:26 +00:00
Tom Hughes
49c3af4a32
Merge remote-tracking branch 'openstreetmap/pull/1477'
2017-03-06 17:54:26 +00:00
Tom Hughes
88d16deadd
Detect a timeout encapsulated in ActionView::Template::Error
...
Fixes #1476
2017-03-06 17:50:09 +00:00
Andy Allan
d007956865
Use user factory for swf_controller tests.
2017-03-06 17:28:06 +00:00
Andy Allan
1d9e12b330
Use user factory for message_controller tests.
2017-03-06 17:25:55 +00:00
Andy Allan
f1397f4700
Use user factory for user_roles_controller tests.
2017-03-06 16:55:05 +00:00
Tom Hughes
6c0501d62a
Fix hiding of sidebar loading indicator
...
Fixes #1475
2017-03-06 12:22:14 +00:00