Tom Hughes
24271b75bd
Use canonical-rails gem to generate canonical URLs
2017-03-22 18:16:53 +00:00
Tom Hughes
ce209c8c4f
Set server_url in the test environment
2017-03-22 17:24:28 +00:00
Tom Hughes
baa3b3188d
Comment out server_url in the default configuration
2017-03-22 17:19:08 +00:00
Tom Hughes
419edf951d
Add a canonical URL to the head
2017-03-22 17:14:55 +00:00
Niklas Laxström
6b6d922239
Localisation updates from https://translatewiki.net .
2017-03-20 07:38:24 +01:00
Tom Hughes
834a821d3c
Merge remote-tracking branch 'openstreetmap/pull/1492'
2017-03-16 19:02:35 +00:00
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
Niklas Laxström
9f048fe14b
Localisation updates from https://translatewiki.net .
2017-03-16 08:18:33 +01:00
Andy Allan
d2998065dc
Use redactions factory for old_way controller tests
2017-03-15 18:04:58 +00:00
Tom Hughes
3d7fd13357
Adjust rubocop threshold
2017-03-15 17:57:46 +00:00
Andy Allan
2cdc2e1cd8
Use redactions factory for old_node controller tests.
2017-03-15 17:50:57 +00:00
Tom Hughes
671467a6dd
Merge remote-tracking branch 'openstreetmap/pull/1491'
2017-03-15 17:37:13 +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
Andy Allan
5370f9c6a7
Refactor the oauth integration test to avoid using user fixtures.
2017-03-15 16:13:04 +00:00
Andy Allan
a6a1a6baa5
Use user factory for user_terms_seen integration test.
2017-03-15 15:53:47 +00:00
Andy Allan
1096bccf98
Use user factories for some changeset_controller tests.
...
Others are tightly interwoven with the fixtures and will be tackled seperately.
2017-03-15 15:41:42 +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