]> git.openstreetmap.org Git - rails.git/log
rails.git
8 years agoFix rubocop warnings
Tom Hughes [Mon, 26 Sep 2016 11:38:54 +0000 (12:38 +0100)]
Fix rubocop warnings

8 years agoCentre loading icon
Tom Hughes [Mon, 26 Sep 2016 11:33:37 +0000 (12:33 +0100)]
Centre loading icon

8 years agolook for extra place tags in Nominatim search results
Sarah Hoffmann [Mon, 26 Sep 2016 10:08:42 +0000 (12:08 +0200)]
look for extra place tags in Nominatim search results

Administrative boundaries at municipality level are generally
better described by the place node (as town, village etc.).
Nominatim exports the place type in extratags if it was able
to merge place nodes with admin boundaries. Use this preferably
to create the descriptive term.

8 years agoRemove SOTM 2016 banner, add Donation Drive 2016 Banner
Bryan Housel [Mon, 26 Sep 2016 02:58:25 +0000 (22:58 -0400)]
Remove SOTM 2016 banner, add Donation Drive 2016 Banner

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 22 Sep 2016 05:57:05 +0000 (07:57 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoAdd thunderforest API key to embedded maps
Tom Hughes [Wed, 21 Sep 2016 19:04:15 +0000 (20:04 +0100)]
Add thunderforest API key to embedded maps

Fixes #1293

8 years agoFix some rubocop warnings
Tom Hughes [Thu, 15 Sep 2016 21:41:07 +0000 (22:41 +0100)]
Fix some rubocop warnings

8 years agoUpdate to rails 4.2.7.1
Tom Hughes [Thu, 15 Sep 2016 21:26:48 +0000 (22:26 +0100)]
Update to rails 4.2.7.1

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1285'
Tom Hughes [Thu, 15 Sep 2016 18:21:21 +0000 (19:21 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1285'

8 years agoFix new rubocop warnings
Tom Hughes [Thu, 15 Sep 2016 18:21:00 +0000 (19:21 +0100)]
Fix new rubocop warnings

8 years agoRework R2 support for changes in sprockets
Tom Hughes [Thu, 15 Sep 2016 18:02:18 +0000 (19:02 +0100)]
Rework R2 support for changes in sprockets

8 years agoUpdate bundle
Tom Hughes [Wed, 14 Sep 2016 20:43:33 +0000 (21:43 +0100)]
Update bundle

8 years agoAdd additional list items to ensure they are not selected
Andy Allan [Thu, 15 Sep 2016 10:06:37 +0000 (11:06 +0100)]
Add additional list items to ensure they are not selected

The other list tests already have assetions showing the different
lengths of lists.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 15 Sep 2016 06:47:43 +0000 (08:47 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoPrioritize next upcoming event in banner rotation
Bryan Housel [Wed, 14 Sep 2016 19:03:41 +0000 (15:03 -0400)]
Prioritize next upcoming event in banner rotation
(closes #1284)

8 years agoRemove unneccessary fixture requirement.
Andy Allan [Wed, 14 Sep 2016 15:23:47 +0000 (16:23 +0100)]
Remove unneccessary fixture requirement.

8 years agoRemove diary_entry and diary_comment fixtures, and refactor tests.
Andy Allan [Wed, 14 Sep 2016 11:41:58 +0000 (12:41 +0100)]
Remove diary_entry and diary_comment fixtures, and refactor tests.

Note that you might need to empty the tables in your local test
database, since the removed fixtures may still linger there.

8 years agoAdd banner for SotM Latam 2016
Wille Marcel [Tue, 13 Sep 2016 13:49:22 +0000 (14:49 +0100)]
Add banner for SotM Latam 2016

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Tue, 13 Sep 2016 06:12:49 +0000 (08:12 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1279'
Tom Hughes [Thu, 8 Sep 2016 18:26:07 +0000 (19:26 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1279'

8 years agoAdd thunderforest API key to example configuration
Tom Hughes [Thu, 8 Sep 2016 17:20:21 +0000 (18:20 +0100)]
Add thunderforest API key to example configuration

8 years agoPropagate API keys to minimaps in layer switcher
Tom Hughes [Thu, 8 Sep 2016 16:35:37 +0000 (17:35 +0100)]
Propagate API keys to minimaps in layer switcher

8 years agoHide thunderforest layers when no API key is available
Tom Hughes [Thu, 8 Sep 2016 16:28:41 +0000 (17:28 +0100)]
Hide thunderforest layers when no API key is available

8 years agoUse an API key for thunderforest tile layers
Tom Hughes [Thu, 8 Sep 2016 15:16:45 +0000 (16:16 +0100)]
Use an API key for thunderforest tile layers

8 years agoRefactor tests to use factories instead of fixtures
Andy Allan [Thu, 8 Sep 2016 10:44:24 +0000 (11:44 +0100)]
Refactor tests to use factories instead of fixtures

8 years agoChange the display_name of suspended user fixuture
Andy Allan [Thu, 8 Sep 2016 10:40:03 +0000 (11:40 +0100)]
Change the display_name of suspended user fixuture

The original name is reserved, which means the user was invalid,
and this causes problems when building objects using it via
associations.

8 years agoTest DiaryComment body validation
Andy Allan [Thu, 8 Sep 2016 09:01:11 +0000 (10:01 +0100)]
Test DiaryComment body validation

Replaces unnecessary test.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 8 Sep 2016 08:36:22 +0000 (10:36 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoBuild a diary entry more succinctly
Andy Allan [Thu, 8 Sep 2016 08:06:46 +0000 (09:06 +0100)]
Build a diary entry more succinctly

8 years agoAssert there are no diary comments before creating one.
Andy Allan [Thu, 8 Sep 2016 08:06:26 +0000 (09:06 +0100)]
Assert there are no diary comments before creating one.

8 years agoUpdate name of test
Andy Allan [Thu, 8 Sep 2016 07:58:18 +0000 (08:58 +0100)]
Update name of test

8 years agoRework DiaryEntry and DiaryComment model tests to use factories.
Andy Allan [Wed, 7 Sep 2016 15:26:27 +0000 (16:26 +0100)]
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.

8 years agoAdd FactoryGirl
Andy Allan [Wed, 7 Sep 2016 14:28:28 +0000 (15:28 +0100)]
Add FactoryGirl

8 years agoUpdate offense counts in rubocop_todo.yml
Andy Allan [Wed, 7 Sep 2016 10:08:20 +0000 (11:08 +0100)]
Update offense counts in rubocop_todo.yml

8 years agoAdd xml builder files to rubocop.
Andy Allan [Wed, 7 Sep 2016 10:07:56 +0000 (11:07 +0100)]
Add xml builder files to rubocop.

8 years agoRubocop autofixes.
Andy Allan [Wed, 7 Sep 2016 10:07:42 +0000 (11:07 +0100)]
Rubocop autofixes.

8 years agoAdd outer variable shadowing to rubocop_todo.yml
Andy Allan [Wed, 7 Sep 2016 10:06:27 +0000 (11:06 +0100)]
Add outer variable shadowing to rubocop_todo.yml

8 years agoUse .present? instead of double negative to check if terms_agreed timestamp is set.
Andy Allan [Wed, 7 Sep 2016 10:02:20 +0000 (11:02 +0100)]
Use .present? instead of double negative to check if terms_agreed timestamp is set.

8 years agoUser.consider_pd is boolean, so no need for double negation.
Andy Allan [Wed, 7 Sep 2016 09:59:00 +0000 (10:59 +0100)]
User.consider_pd is boolean, so no need for double negation.

8 years agoUpdate schema
Tom Hughes [Mon, 5 Sep 2016 07:17:03 +0000 (08:17 +0100)]
Update schema

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 5 Sep 2016 05:42:09 +0000 (07:42 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoSet banner expiry correctly
Tom Hughes [Tue, 23 Aug 2016 18:23:58 +0000 (19:23 +0100)]
Set banner expiry correctly

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 22 Aug 2016 05:59:05 +0000 (07:59 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoFix date for Gravatar migration
Tom Hughes [Fri, 19 Aug 2016 11:50:44 +0000 (12:50 +0100)]
Fix date for Gravatar migration

8 years agoImprove code readability
Tom Hughes [Fri, 19 Aug 2016 11:31:45 +0000 (12:31 +0100)]
Improve code readability

8 years agoImprove message when Gravater is disabled
Tom Hughes [Fri, 19 Aug 2016 11:27:54 +0000 (12:27 +0100)]
Improve message when Gravater is disabled

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1036'
Tom Hughes [Fri, 19 Aug 2016 11:26:51 +0000 (12:26 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1036'

8 years agoFix rubocop warnings
Simon Poole [Fri, 19 Aug 2016 07:23:31 +0000 (09:23 +0200)]
Fix rubocop warnings

8 years agoMerge message when Gravatar status has changed with email confirmation
Simon Poole [Fri, 19 Aug 2016 06:59:40 +0000 (08:59 +0200)]
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.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 18 Aug 2016 06:20:08 +0000 (08:20 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoSet all cookies on the root path
Tom Hughes [Wed, 17 Aug 2016 09:04:57 +0000 (10:04 +0100)]
Set all cookies on the root path

8 years agoMake banner cookies expire after one year
Tom Hughes [Wed, 17 Aug 2016 09:02:50 +0000 (10:02 +0100)]
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.

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1270'
Tom Hughes [Wed, 17 Aug 2016 07:24:28 +0000 (08:24 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1270'

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Wed, 17 Aug 2016 06:11:39 +0000 (08:11 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoRemove references to EWG meetings
Paul Norman [Wed, 17 Aug 2016 00:16:43 +0000 (17:16 -0700)]
Remove references to EWG meetings

8 years agoAdd stupid script to bulk check the gravatar status
Simon Poole [Fri, 26 Feb 2016 10:41:28 +0000 (11:41 +0100)]
Add stupid script to bulk check the gravatar status

8 years agoAdd tests for change of gravatar use depending on email
Simon Poole [Thu, 25 Feb 2016 23:53:04 +0000 (00:53 +0100)]
Add tests for change of gravatar use depending on email

8 years agoSupport returning a HTTP status code for the http stubs for testing
Simon Poole [Thu, 25 Feb 2016 15:32:14 +0000 (16:32 +0100)]
Support returning a HTTP status code for the http stubs for testing

8 years agoRemove default enabling of gravatar, check on initial confirmation of e-mail address...
Simon Poole [Tue, 18 Aug 2015 20:45:16 +0000 (22:45 +0200)]
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.

8 years agoAdd test for formatting of multi-value wikidata links
Tom Hughes [Tue, 16 Aug 2016 18:27:40 +0000 (19:27 +0100)]
Add test for formatting of multi-value wikidata links

8 years agoFix rubocop warnings
Tom Hughes [Tue, 16 Aug 2016 18:27:14 +0000 (19:27 +0100)]
Fix rubocop warnings

8 years agoMerge remote-tracking branch 'openstreetmap/pull/788'
Tom Hughes [Tue, 16 Aug 2016 18:11:35 +0000 (19:11 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/788'

8 years agoPan to first Nominatim search result
Simon Legner [Mon, 15 Aug 2016 19:58:07 +0000 (20:58 +0100)]
Pan to first Nominatim search result

Fixes #919
Closes #1041

8 years agoAdd site.key.table.entry.toilets to translations
Tom Hughes [Mon, 15 Aug 2016 19:26:51 +0000 (20:26 +0100)]
Add site.key.table.entry.toilets to translations

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1004'
Tom Hughes [Mon, 15 Aug 2016 19:20:37 +0000 (20:20 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1004'

8 years agoFix html.dir for pl locale
Tom Hughes [Mon, 15 Aug 2016 11:32:00 +0000 (12:32 +0100)]
Fix html.dir for pl locale

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 15 Aug 2016 06:35:31 +0000 (08:35 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoReorder auth_success handlers
Tom Hughes [Sun, 14 Aug 2016 17:30:13 +0000 (18:30 +0100)]
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

8 years agoBlacklist all Google imagery with one regex
Paul Norman [Sat, 13 Aug 2016 20:56:20 +0000 (13:56 -0700)]
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.

8 years agoINSTALL.md: Added inline code markdown.
Bilkow [Sat, 13 Aug 2016 05:36:53 +0000 (02:36 -0300)]
INSTALL.md: Added inline code markdown.

Added inline code markdown in MacOSX install instructions, making it look like command line code.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 11 Aug 2016 07:20:25 +0000 (09:20 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 8 Aug 2016 06:36:24 +0000 (08:36 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoCorrect icon mappings for non OSRM routers
Tom Hughes [Fri, 5 Aug 2016 17:35:27 +0000 (18:35 +0100)]
Correct icon mappings for non OSRM routers

8 years agoAdd support for OSRM 5.0 API and new instruction types
Patrick Niklaus [Sun, 12 Jun 2016 22:23:41 +0000 (00:23 +0200)]
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.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 4 Aug 2016 06:24:26 +0000 (08:24 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 1 Aug 2016 06:36:35 +0000 (08:36 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoAdd State of the Map Asia 2016
Eugene Alvin Villar [Sun, 31 Jul 2016 09:08:30 +0000 (10:08 +0100)]
Add State of the Map Asia 2016

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 28 Jul 2016 06:25:59 +0000 (08:25 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLink all objects into libpgosm.so
Tom Hughes [Wed, 27 Jul 2016 19:51:32 +0000 (20:51 +0100)]
Link all objects into libpgosm.so

8 years agoAllow multiple versions of DB functions to be built
Tom Hughes [Wed, 27 Jul 2016 19:44:16 +0000 (20:44 +0100)]
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.

8 years agoRevert "Don't pass the locale to the Mapzen routing engine"
Tom Hughes [Tue, 26 Jul 2016 17:36:56 +0000 (18:36 +0100)]
Revert "Don't pass the locale to the Mapzen routing engine"

This reverts commit 38180c56c9be9d99406c9088b60f5912c2648a04.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 25 Jul 2016 06:22:25 +0000 (08:22 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 21 Jul 2016 06:24:12 +0000 (08:24 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 18 Jul 2016 07:14:04 +0000 (09:14 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoUpdate to iD v1.9.7
Bryan Housel [Sat, 16 Jul 2016 20:02:22 +0000 (16:02 -0400)]
Update to iD v1.9.7

8 years agoAdded fixes for rubocop complaints
Florian Schäfer [Sun, 8 Mar 2015 19:39:51 +0000 (20:39 +0100)]
Added fixes for rubocop complaints

8 years agoLink the prefixed wikidata-tags to wikidata.org
Florian M. Schäfer [Thu, 24 Jul 2014 22:42:46 +0000 (00:42 +0200)]
Link the prefixed wikidata-tags to wikidata.org

With this commit, the prefixed wikidata-tags get linked to the
corresponding wikidata.org-page in the current interface-language.

Multiple semicolon-separated wikidata-IDs are shown as multiple
semicolon-separated links to wikidata.

This commit contains also some tests for those links.

8 years agoAdd support for GitHub authentication
Tom Hughes [Mon, 8 Jun 2015 16:11:24 +0000 (17:11 +0100)]
Add support for GitHub authentication

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 14 Jul 2016 06:19:00 +0000 (08:19 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoFix rubocop warnings
Tom Hughes [Wed, 13 Jul 2016 08:50:23 +0000 (09:50 +0100)]
Fix rubocop warnings

8 years agoModernise migrations
Tom Hughes [Wed, 13 Jul 2016 08:38:32 +0000 (09:38 +0100)]
Modernise migrations

8 years agoUpdate to rails 4.2.7
Tom Hughes [Wed, 13 Jul 2016 08:09:44 +0000 (09:09 +0100)]
Update to rails 4.2.7

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Mon, 11 Jul 2016 07:10:51 +0000 (09:10 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoLocalisation updates from https://translatewiki.net.
Niklas Laxström [Thu, 7 Jul 2016 06:21:25 +0000 (08:21 +0200)]
Localisation updates from https://translatewiki.net.

8 years agoRemove banner for small screens
Bryan Housel [Mon, 4 Jul 2016 03:53:21 +0000 (23:53 -0400)]
Remove banner for small screens
(closes #1247)

8 years agoSwitch travis to test on ruby 2.3.1
Tom Hughes [Fri, 1 Jul 2016 12:40:09 +0000 (13:40 +0100)]
Switch travis to test on ruby 2.3.1

8 years agoSwitch travis to test on ruby 2.3
Tom Hughes [Fri, 1 Jul 2016 11:30:38 +0000 (12:30 +0100)]
Switch travis to test on ruby 2.3

8 years agoAdd banner for FOSSGIS 2016 conference
Peter Barth [Thu, 23 Jun 2016 20:39:45 +0000 (22:39 +0200)]
Add banner for FOSSGIS 2016 conference

8 years agoRename cookie_id to banner_cookie
Tom Hughes [Thu, 23 Jun 2016 08:04:07 +0000 (09:04 +0100)]
Rename cookie_id to banner_cookie

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1240'
Tom Hughes [Thu, 23 Jun 2016 07:59:58 +0000 (08:59 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1240'