]> git.openstreetmap.org Git - rails.git/log
rails.git
8 years agoMakr author/author_ip tests more consistent
Tom Hughes [Mon, 10 Oct 2016 12:54:58 +0000 (13:54 +0100)]
Makr author/author_ip tests more consistent

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1312'
Tom Hughes [Mon, 10 Oct 2016 12:48:09 +0000 (13:48 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1312'

8 years agoclean up comments
Mikel Maron [Fri, 7 Oct 2016 13:04:44 +0000 (09:04 -0400)]
clean up comments

8 years agofix rubocop warnings
Mikel Maron [Fri, 7 Oct 2016 10:36:14 +0000 (06:36 -0400)]
fix rubocop warnings

8 years agofix rubocop warnings
Mikel Maron [Fri, 7 Oct 2016 10:32:05 +0000 (06:32 -0400)]
fix rubocop warnings

8 years agocss in right place; fix structure.sql
Mikel Maron [Fri, 7 Oct 2016 01:47:29 +0000 (21:47 -0400)]
css in right place; fix structure.sql

8 years agotests passing
Mikel Maron [Fri, 7 Oct 2016 01:33:47 +0000 (21:33 -0400)]
tests passing

8 years agomore idiomatic models for diary entry subscriptions
Mikel Maron [Fri, 7 Oct 2016 00:31:10 +0000 (20:31 -0400)]
more idiomatic models for diary entry subscriptions

8 years agoRemove the note and note_comments fixtures
Andy Allan [Thu, 6 Oct 2016 08:17:58 +0000 (09:17 +0100)]
Remove the note and note_comments fixtures

You may need to run "DELETE FROM notes" and "DELETE FROM note_comments"
on your local test database.

8 years agoUpdate notes_controller_test to use note and note_comment factories
Andy Allan [Thu, 6 Oct 2016 08:15:47 +0000 (09:15 +0100)]
Update notes_controller_test to use note and note_comment factories

I've ported across the naming for each note from the old fixture names.
This helps in the mega-tests where multiple notes are tested at the
same time.

The number or results have changed in some tests, since there's little
point in creating e.g. 5 note comments when 2 is enough to test the
functionality.

8 years agoUpdate site_controller_test to use note and note_comment factories.
Andy Allan [Thu, 6 Oct 2016 08:04:06 +0000 (09:04 +0100)]
Update site_controller_test to use note and note_comment factories.

8 years agoUpdate browse_controller_test to use note and note_comment factories.
Andy Allan [Thu, 6 Oct 2016 08:03:31 +0000 (09:03 +0100)]
Update browse_controller_test to use note and note_comment factories.

8 years agoFix bugs->notes in comment
Andy Allan [Thu, 6 Oct 2016 07:59:24 +0000 (08:59 +0100)]
Fix bugs->notes in comment

8 years agoUpdate note model tests to use factories.
Andy Allan [Thu, 6 Oct 2016 07:56:45 +0000 (08:56 +0100)]
Update note model tests to use factories.

The NoteTest.test_visible? has changed slightly, so that the second
test of .visible? is using a closed note, which is a more useful test
than the original.

8 years agoAdd factories for notes and note_comments
Andy Allan [Thu, 6 Oct 2016 07:52:17 +0000 (08:52 +0100)]
Add factories for notes and note_comments

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

8 years agoReplace friends fixture with a factory
Andy Allan [Wed, 5 Oct 2016 12:18:45 +0000 (13:18 +0100)]
Replace friends fixture with a factory

8 years agonot api endpoints, moved to button, fixed notifier message, fixed tests
Mikel Maron [Tue, 4 Oct 2016 02:20:04 +0000 (22:20 -0400)]
not api endpoints, moved to button, fixed notifier message, fixed tests

8 years agoWIP diary comment subscriptions
Mikel Maron [Mon, 3 Oct 2016 19:04:22 +0000 (15:04 -0400)]
WIP diary comment subscriptions

8 years agoUpdate leaflet to 1.0.1
Tom Hughes [Fri, 30 Sep 2016 13:21:20 +0000 (14:21 +0100)]
Update leaflet to 1.0.1

8 years agoPatch classes on the locate control
Tom Hughes [Fri, 30 Sep 2016 10:15:18 +0000 (11:15 +0100)]
Patch classes on the locate control

This replaces the patching of the vendored source that we had been
doing before and which we always forget to apply after updating it.

Fixes #1306

8 years agoRemove z-index override from leaflet controls on small screens
Tom Hughes [Fri, 30 Sep 2016 08:03:24 +0000 (09:03 +0100)]
Remove z-index override from leaflet controls on small screens

Fixes #1305

8 years agoPatch leaflet-locationfilter for leaflet 1.x support
Tom Hughes [Tue, 27 Sep 2016 17:15:17 +0000 (18:15 +0100)]
Patch leaflet-locationfilter for leaflet 1.x support

https://github.com/kajic/leaflet-locationfilter/issues/22
https://github.com/kajic/leaflet-locationfilter/pull/23

8 years agoUpdate leaflet to 1.0.0
Tom Hughes [Tue, 27 Sep 2016 17:14:32 +0000 (18:14 +0100)]
Update leaflet to 1.0.0

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

8 years agoExtend donation drive banner end date to 2016-oct-31
Bryan Housel [Wed, 28 Sep 2016 15:18:32 +0000 (11:18 -0400)]
Extend donation drive banner end date to 2016-oct-31

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

8 years agoMerge remote-tracking branch 'openstreetmap/pull/1298'
Tom Hughes [Mon, 26 Sep 2016 11:40:01 +0000 (12:40 +0100)]
Merge remote-tracking branch 'openstreetmap/pull/1298'

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 agoAdd links to new approved OSMF privacy policy and some rewording.
Simon Poole [Mon, 26 Sep 2016 11:16:31 +0000 (13:16 +0200)]
Add links to new approved OSMF privacy policy and some rewording.

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 agoMore cleanup after tests.
Matt Amos [Mon, 22 Aug 2016 18:05:11 +0000 (19:05 +0100)]
More cleanup after tests.

8 years agoRevert changes to old migration.
Matt Amos [Mon, 22 Aug 2016 17:48:48 +0000 (18:48 +0100)]
Revert changes to old migration.

8 years agoMore whitespace fixes. Attempting to get tests to pass.
Matt Amos [Mon, 22 Aug 2016 17:38:03 +0000 (18:38 +0100)]
More whitespace fixes. Attempting to get tests to pass.

8 years agoMade rubocop happy by formatting and minor syntax tweaks.
Matt Amos [Mon, 22 Aug 2016 16:23:38 +0000 (17:23 +0100)]
Made rubocop happy by formatting and minor syntax tweaks.

8 years agoReordered migrations to make them the latest.
Matt Amos [Mon, 22 Aug 2016 15:32:54 +0000 (16:32 +0100)]
Reordered migrations to make them the latest.

8 years agofix build on wily; fix some moderation branch language constants
Frederik Ramm [Sun, 28 Feb 2016 10:19:44 +0000 (11:19 +0100)]
fix build on wily; fix some moderation branch language constants

8 years agoUpdate en-GB.yml
Shrey [Wed, 19 Aug 2015 03:54:10 +0000 (09:24 +0530)]
Update en-GB.yml

(cherry picked from commit aa061104cb0355f74d5e447b4dd5ffb1554ffb19)

8 years agoUpdate en.yml
emacsen [Tue, 18 Aug 2015 19:24:24 +0000 (15:24 -0400)]
Update en.yml

Replace placeholder language with something closer to finalized language
(cherry picked from commit 1ef7ea1890e91e93c04b0d99e4e84269147101bf)

8 years agoAdded helper + minor UI changes
Shrey [Fri, 14 Aug 2015 09:24:08 +0000 (14:54 +0530)]
Added helper + minor UI changes

(cherry picked from commit 3a6550ff54eb08ec282d13ebf85dc3461cca2983)

8 years agoFixed related issues positioning
Shrey [Thu, 13 Aug 2015 14:51:01 +0000 (20:21 +0530)]
Fixed related issues positioning

(cherry picked from commit 156e678dc6dccdf36912ffa16264eb0967a4d5a6)

8 years agoUI changes + Redirection after creating report fixed
Shrey [Thu, 13 Aug 2015 11:23:05 +0000 (16:53 +0530)]
UI changes + Redirection after creating report fixed

(cherry picked from commit 987fcf0ba5e7e914dc479e9dc7613400e72148a0)

8 years agoFixed error
Shrey [Sat, 1 Aug 2015 06:25:42 +0000 (11:55 +0530)]
Fixed error

(cherry picked from commit 99f8a765b8303115c8633fdc9e3c4edc77cbc32d)

Conflicts:
app/controllers/issues_controller.rb

8 years agoChanged report button + Added disclaimer on report page + Added search filter
Shrey [Tue, 21 Jul 2015 18:40:41 +0000 (00:10 +0530)]
Changed report button + Added disclaimer on report page + Added search filter

8 years agoAdded sortable headers + search + reportable Notes
Shrey [Mon, 20 Jul 2015 16:52:41 +0000 (22:22 +0530)]
Added sortable headers + search + reportable Notes

8 years agoAdded report icon + changes to admin UI + changes to report form + few other minor...
Shrey [Sat, 18 Jul 2015 14:57:03 +0000 (20:27 +0530)]
Added report icon + changes to admin UI + changes to report form + few other minor changes

8 years agoFixed link to DiaryComments
Shrey [Thu, 16 Jul 2015 18:00:55 +0000 (23:30 +0530)]
Fixed link to DiaryComments

8 years agoAdded report strings for Changesets and Notes + minor controller changes
Shrey [Sun, 21 Jun 2015 08:26:45 +0000 (13:56 +0530)]
Added report strings for Changesets and Notes + minor controller changes

8 years agoFixed an error + Added email notifications for moderators
Shrey [Sat, 20 Jun 2015 12:06:56 +0000 (17:36 +0530)]
Fixed an error + Added email notifications for moderators

8 years agoAdded support for reporting Changesets + Deleting issues from the CLI
Shrey [Fri, 19 Jun 2015 17:56:45 +0000 (23:26 +0530)]
Added support for reporting Changesets + Deleting issues from the CLI

8 years agoAdded a few more tests
Shrey [Fri, 19 Jun 2015 15:32:33 +0000 (21:02 +0530)]
Added a few more tests

8 years agoAdded a few tests
Shrey [Fri, 19 Jun 2015 08:22:11 +0000 (13:52 +0530)]
Added a few tests

8 years agoFixed existing tests
Shrey [Thu, 18 Jun 2015 15:37:13 +0000 (21:07 +0530)]
Fixed existing tests

8 years agoReplaced check_box_tags with radio_button
Shrey [Mon, 15 Jun 2015 17:09:02 +0000 (22:39 +0530)]
Replaced check_box_tags with radio_button

8 years agoSmall changes
Shrey [Sat, 13 Jun 2015 19:29:43 +0000 (00:59 +0530)]
Small changes

8 years agoAdded Issue Type + Issue Reassigning + Last updated_by
Shrey [Sat, 13 Jun 2015 18:27:36 +0000 (23:57 +0530)]
Added Issue Type + Issue Reassigning + Last updated_by

8 years agoProper implementation of report strings + cleaning up
Shrey [Thu, 11 Jun 2015 10:35:26 +0000 (16:05 +0530)]
Proper implementation of report strings + cleaning up

8 years agoAdded search for issues
Shrey [Wed, 10 Jun 2015 07:04:26 +0000 (12:34 +0530)]
Added search for issues

8 years agoIssue reopens on Reports coming in after instance update
Shrey [Wed, 10 Jun 2015 06:21:51 +0000 (11:51 +0530)]
Issue reopens on Reports coming in after instance update

8 years agoMoved strings to locales + Added 'Issues' button + Fixed typo in tests
Shrey [Sun, 7 Jun 2015 13:55:09 +0000 (19:25 +0530)]
Moved strings to locales + Added 'Issues' button + Fixed typo in tests