Commit graph

7279 commits

Author SHA1 Message Date
Andy Allan
191f6b3fcd Build a diary entry more succinctly 2016-09-08 09:06:46 +01:00
Andy Allan
bb15077dcc Assert there are no diary comments before creating one. 2016-09-08 09:06:26 +01:00
Andy Allan
ab12b6161a Update name of test 2016-09-08 08:58:18 +01:00
Andy Allan
3b3f328ae4 Rework DiaryEntry and DiaryComment model tests to use factories.
Since the database also contains fixtures from other tests, some
counts are dropped and instead tested for inclusion in the results.
2016-09-07 16:27:21 +01:00
Andy Allan
d5013ad0d2 Add FactoryGirl 2016-09-07 15:28:28 +01:00
Tom Hughes
dbeccba968 Update schema 2016-09-05 08:17:11 +01:00
Niklas Laxström
958a7766ca Localisation updates from https://translatewiki.net. 2016-09-05 07:42:09 +02:00
Tom Hughes
9f817f8364 Set banner expiry correctly 2016-08-23 19:23:58 +01:00
Niklas Laxström
2bae7cd298 Localisation updates from https://translatewiki.net. 2016-08-22 07:59:05 +02:00
Tom Hughes
d801aa28ea Fix date for Gravatar migration 2016-08-19 12:50:44 +01:00
Tom Hughes
b72bc8bf30 Improve code readability 2016-08-19 12:31:45 +01:00
Tom Hughes
f00b624ce4 Improve message when Gravater is disabled 2016-08-19 12:27:54 +01:00
Tom Hughes
d48b25124e Merge remote-tracking branch 'openstreetmap/pull/1036' 2016-08-19 12:26:51 +01:00
Simon Poole
c6fe828286 Fix rubocop warnings 2016-08-19 09:31:47 +02:00
Simon Poole
0837205d02 Merge message when Gravatar status has changed with email confirmation
Merge message when Gravatar status has changed with email confirmation and make messages more verbose and friendly.
2016-08-19 08:59:40 +02:00
Niklas Laxström
e43ccab724 Localisation updates from https://translatewiki.net. 2016-08-18 08:20:08 +02:00
Tom Hughes
31c81f108d Set all cookies on the root path 2016-08-17 10:04:57 +01:00
Tom Hughes
fb9afd32db Make banner cookies expire after one year
This avoids having lots of cookies stick around forever and
we shouldn't ever have a banner up for that long.
2016-08-17 10:02:50 +01:00
Tom Hughes
5ad17c1068 Merge remote-tracking branch 'openstreetmap/pull/1270' 2016-08-17 08:24:28 +01:00
Niklas Laxström
7b9284a299 Localisation updates from https://translatewiki.net. 2016-08-17 08:11:39 +02:00
Paul Norman
e812205625 Remove references to EWG meetings 2016-08-16 17:16:43 -07:00
Simon Poole
ad0e7b2c22 Add stupid script to bulk check the gravatar status 2016-08-16 22:09:11 +02:00
Simon Poole
90b7101cc3 Add tests for change of gravatar use depending on email 2016-08-16 22:09:11 +02:00
Simon Poole
8283a39dbc Support returning a HTTP status code for the http stubs for testing 2016-08-16 21:42:02 +02:00
Simon Poole
05cd781b25 Remove default enabling of gravatar, check on initial confirmation of e-mail address and on any changes afterward if
a gravatar exists and enable then if the user hasn't uploaded a picture.
2016-08-16 21:42:02 +02:00
Tom Hughes
224252fd83 Add test for formatting of multi-value wikidata links 2016-08-16 19:27:40 +01:00
Tom Hughes
47e6637f18 Fix rubocop warnings 2016-08-16 19:27:14 +01:00
Tom Hughes
778659a78c Merge remote-tracking branch 'openstreetmap/pull/788' 2016-08-16 19:11:35 +01:00
Simon Legner
94f02270c1 Pan to first Nominatim search result
Fixes #919
Closes #1041
2016-08-15 20:58:07 +01:00
Tom Hughes
b40e01bce2 Add site.key.table.entry.toilets to translations 2016-08-15 20:26:51 +01:00
Tom Hughes
dae3dcf87e Merge remote-tracking branch 'openstreetmap/pull/1004' 2016-08-15 20:20:37 +01:00
Tom Hughes
c2ece47a58 Fix html.dir for pl locale 2016-08-15 12:32:00 +01:00
Niklas Laxström
116766239d Localisation updates from https://translatewiki.net. 2016-08-15 08:35:31 +02:00
Tom Hughes
13c2ac5cdb Reorder auth_success handlers
Only treat auth_success as a possible login attempt if we're not
in the middle of validating a new user, or a change to a user.

Also validate the uniqueness of external auth credentials at the
rails level rather than just at the database level, and make sure
any errors are properly reported.

Fixes #1265
2016-08-14 18:30:13 +01:00
Paul Norman
00982e137f Blacklist all Google imagery with one regex
This expression catches 100% of Google imagery seen in imagery_used
tags with no false positives.

It won't stop someone who tries to load "https://www.google.com/maps" as
imagery, but that will fail to get imagery anyway.
2016-08-14 08:22:46 +01:00
Bilkow
2b73eeb170 INSTALL.md: Added inline code markdown.
Added inline code markdown in MacOSX install instructions, making it look like command line code.
2016-08-13 02:36:53 -03:00
Niklas Laxström
4e8a95ddb0 Localisation updates from https://translatewiki.net. 2016-08-11 09:20:25 +02:00
Niklas Laxström
f24d9bae08 Localisation updates from https://translatewiki.net. 2016-08-08 08:36:24 +02:00
Tom Hughes
078dc1a526 Correct icon mappings for non OSRM routers 2016-08-05 18:59:21 +01:00
Patrick Niklaus
311acad0c4 Add support for OSRM 5.0 API and new instruction types
Add support for the new API in OSRM 5.x including new icon sprites
for the new instruction types.
2016-08-05 18:55:16 +01:00
Niklas Laxström
39a34efd25 Localisation updates from https://translatewiki.net. 2016-08-04 08:24:26 +02:00
Niklas Laxström
e6a401eb8c Localisation updates from https://translatewiki.net. 2016-08-01 08:36:35 +02:00
Eugene Alvin Villar
c4c99bf413 Add State of the Map Asia 2016 2016-07-31 10:08:30 +01:00
Niklas Laxström
239ab0f14c Localisation updates from https://translatewiki.net. 2016-07-28 08:25:59 +02:00
Tom Hughes
2e2b33ea61 Link all objects into libpgosm.so 2016-07-27 20:51:32 +01:00
Tom Hughes
cfd55f0c7d Allow multiple versions of DB functions to be built
Allows the pg_config location to be configured, along with
the target directory for the built code.
2016-07-27 20:44:16 +01:00
Tom Hughes
24ddb8657d Revert "Don't pass the locale to the Mapzen routing engine"
This reverts commit 38180c56c9.
2016-07-26 18:36:56 +01:00
Niklas Laxström
026c153e59 Localisation updates from https://translatewiki.net. 2016-07-25 08:22:25 +02:00
Niklas Laxström
4d47509ee4 Localisation updates from https://translatewiki.net. 2016-07-21 08:24:12 +02:00
Niklas Laxström
e7883152e4 Localisation updates from https://translatewiki.net. 2016-07-18 09:14:04 +02:00