Commit graph

7826 commits

Author SHA1 Message Date
Andy Allan
7f957bac76 Use factories for all factory associations. 2017-04-25 16:52:29 +02:00
Andy Allan
805abe96d0 Create an old_way_node factory, and start using it for tests. 2017-04-25 16:29:13 +02:00
Andy Allan
05a42281ab Create an old_way factory, and start using it for tests. 2017-04-25 16:29:13 +02:00
Andy Allan
b46028b4f7 Create an old_relation_member factory, and start using it for tests. 2017-04-25 16:29:13 +02:00
Andy Allan
27c3edae25 Create an old_relation factory, and start using it for tests. 2017-04-25 15:19:25 +02:00
Tom Hughes
6ce310b38c Merge remote-tracking branch 'openstreetmap/pull/1527' 2017-04-24 21:05:23 +01:00
daganzdaanda
8b68acec3e Move list of containing relations to top of browse views
Moves the list of containing relations to above the list of
members for ways and relations - nodes have no equivalent list
so no change is needed there.

Fixes #794
Closes #1501
2017-04-24 20:25:22 +01:00
Andy Allan
e0f7bb1b07 Convert the node_controller update tests to use factories. 2017-04-24 20:42:08 +02:00
Andy Allan
d595577a49 Convert the duplicate_tags node controller test to use factories. 2017-04-24 20:41:43 +02:00
Niklas Laxström
6fcc2e55f9 Localisation updates from https://translatewiki.net. 2017-04-24 19:59:18 +02:00
Matt Amos
c7391595d8 Credit the whole of UCL, rather than just the Bartlett / VR centre. 2017-04-22 11:47:12 +01:00
Niklas Laxström
da0126e264 Localisation updates from https://translatewiki.net. 2017-04-20 07:41:04 +02:00
Niklas Laxström
a69c016b40 Localisation updates from https://translatewiki.net. 2017-04-17 09:41:24 +02:00
Tom Hughes
15a8852ea6 Update Potlatch 2 to 2.5-7-gbd74430 build 2017-04-13 18:41:58 +01:00
Niklas Laxström
8f9a72c7f7 Localisation updates from https://translatewiki.net. 2017-04-10 07:27:21 +02:00
Tom Hughes
88f32e3b45 Merge remote-tracking branch 'openstreetmap/pull/1510' 2017-04-08 16:36:48 +01:00
Herve Saint-Amand
2ae479e3f3 Fix indentation in email template
The plain text templates had nice indentation in the source however that
got reflected in the output, which was visibly and needlessly indented.

Closes #1512
2017-04-08 16:36:40 +01:00
Niklas Laxström
95abc14b30 Localisation updates from https://translatewiki.net. 2017-04-06 07:25:43 +02:00
Andy Allan
b375050e6c Use node and relation_member factories for testing containing_relations and containing_relation_members 2017-04-05 11:33:33 +01:00
Niklas Laxström
e4e5ec4409 Localisation updates from https://translatewiki.net. 2017-04-03 07:38:26 +02:00
Andy Allan
df721bc653 Convert more node fixtures to factories 2017-03-31 10:51:18 +01:00
Andy Allan
5ab082a047 Add the closed trait to changeset factories. 2017-03-31 10:47:41 +01:00
Andy Allan
1b7ab315bb Add factories for relations, relation_members, ways and way_nodes 2017-03-31 10:40:49 +01:00
Tom Hughes
3d6a3a6de3 Merge remote-tracking branch 'openstreetmap/pull/1508' 2017-03-30 15:45:37 +01:00
Andy Allan
4afedb07a2 Update mapzen directions credit link
Rather than pointing at a redirect, point at the target of the
redirect. Refs #1388
2017-03-30 15:18:16 +01:00
Tom Hughes
66d74a8c2c Merge remote-tracking branch 'openstreetmap/pull/1507' 2017-03-30 15:18:14 +01:00
Andy Allan
6afd13602c Fix tests that referred to node lat and lons 2017-03-30 15:13:22 +01:00
Andy Allan
4fb775d6d5 Format latitudes and longitudes as %7f in XML output
This matches the double formatting in XML from cgimap. Fixes #341.
2017-03-30 14:30:54 +01:00
Andy Allan
06814eb715 Use node factories for browse_controller tests. 2017-03-30 13:57:30 +01:00
Andy Allan
66ae9a48a6 For deleted nodes created via factories, make sure the most recent old_node is also deleted 2017-03-30 13:57:07 +01:00
Andy Allan
17e9bcd2d4 Use factories for nodes in browse_helper tests. 2017-03-30 13:19:24 +01:00
Andy Allan
5a0ba2e812 Add a with_history trait for node factories, to automatically create corresponding old_nodes 2017-03-30 09:31:22 +01:00
Niklas Laxström
503610e603 Localisation updates from https://translatewiki.net. 2017-03-30 07:57:50 +02:00
Niklas Laxström
49fcee447e Localisation updates from https://translatewiki.net. 2017-03-27 08:27:45 +02:00
John Daly
ad571f27d8 Fix typo
Closes #1502
2017-03-26 21:34:17 +01:00
Tom Hughes
eb3f0b09f0 Update Potlatch 2 to 2.5 build 2017-03-24 19:31:44 +00:00
Niklas Laxström
6849b425f9 Localisation updates from https://translatewiki.net. 2017-03-23 08:44:53 +01:00
Tom Hughes
8a565061e3 Add explicit tests for lat/lon methods on node models 2017-03-22 20:43:39 +00:00
Tom Hughes
9ae3df1a78 Use changeset factory for association in node factory 2017-03-22 20:31:25 +00:00
Tom Hughes
6ee54aff10 Set canonical port based on protocol 2017-03-22 19:28:57 +00:00
Tom Hughes
23f2ac99df Remove various osm.org email addresses from example configuration 2017-03-22 19:25:47 +00:00
Tom Hughes
b78bb9f631 Merge remote-tracking branch 'openstreetmap/pull/1496' 2017-03-22 19:19:59 +00:00
Tom Hughes
05beafb2f3 Merge remote-tracking branch 'openstreetmap/pull/1495' 2017-03-22 19:11:04 +00:00
Tom Hughes
1b9ea430d1 Make the publisher URL configurable, with no default 2017-03-22 18:42:58 +00:00
Tom Hughes
bf8959cdc2 Add server_protocol configuration option 2017-03-22 18:22:24 +00:00
Andy Allan
4ed1607784 Use node and old_node factories for redaction model tests. 2017-03-22 18:19:16 +00:00
Tom Hughes
24271b75bd Use canonical-rails gem to generate canonical URLs 2017-03-22 18:16:53 +00:00
Andy Allan
1a3130ec61 Create a node factory, and use it for most node model tests 2017-03-22 17:50:10 +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