]> git.openstreetmap.org Git - rails.git/log
rails.git
2 years agoFix reverse directions button closing tag
Anton Khorev [Sat, 27 Aug 2022 16:24:54 +0000 (19:24 +0300)]
Fix reverse directions button closing tag

2 years agoRedirect to open issues when an issue is reassigned
Tom Hughes [Fri, 26 Aug 2022 12:45:25 +0000 (13:45 +0100)]
Redirect to open issues when an issue is reassigned

2 years agoUse rails instead of rake
Tom Hughes [Thu, 25 Aug 2022 19:23:51 +0000 (20:23 +0100)]
Use rails instead of rake

2 years agoRun migration under bundler
Tom Hughes [Thu, 25 Aug 2022 19:22:22 +0000 (20:22 +0100)]
Run migration under bundler

Fixes #3662

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 25 Aug 2022 11:13:13 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3661'
Tom Hughes [Wed, 24 Aug 2022 16:11:11 +0000 (17:11 +0100)]
Merge remote-tracking branch 'upstream/pull/3661'

2 years agoMerge remote-tracking branch 'upstream/pull/3655'
Tom Hughes [Wed, 24 Aug 2022 16:10:04 +0000 (17:10 +0100)]
Merge remote-tracking branch 'upstream/pull/3655'

2 years agoMerge pull request #3657 from Mortein/patch-1
Andy Allan [Wed, 24 Aug 2022 14:48:57 +0000 (15:48 +0100)]
Merge pull request #3657 from Mortein/patch-1

Correct name in graphhopper.js

2 years agoReturn to issue index if you can't view reassigned issue
Andy Allan [Wed, 24 Aug 2022 13:05:19 +0000 (14:05 +0100)]
Return to issue index if you can't view reassigned issue

Fixes #3652

2 years agoUpdate bundle
Tom Hughes [Tue, 23 Aug 2022 19:40:50 +0000 (20:40 +0100)]
Update bundle

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 22 Aug 2022 11:12:29 +0000 (13:12 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 18 Aug 2022 11:13:08 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoCorrect name in graphhopper.js
Kiel Hurley [Wed, 17 Aug 2022 01:19:25 +0000 (13:19 +1200)]
Correct name in graphhopper.js

When using directions, the footer says "Directions courtesy of Graphhopper"

2 years agoUpdate bundle
Tom Hughes [Tue, 16 Aug 2022 18:20:51 +0000 (19:20 +0100)]
Update bundle

2 years agoBump eslint from 8.21.0 to 8.22.0
dependabot[bot] [Mon, 15 Aug 2022 23:00:49 +0000 (23:00 +0000)]
Bump eslint from 8.21.0 to 8.22.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.22.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.22.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 15 Aug 2022 11:12:09 +0000 (13:12 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 11 Aug 2022 11:13:40 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoUpdate bundle
Tom Hughes [Tue, 9 Aug 2022 17:27:56 +0000 (18:27 +0100)]
Update bundle

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 8 Aug 2022 11:11:52 +0000 (13:11 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 4 Aug 2022 11:13:39 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3649'
Tom Hughes [Wed, 3 Aug 2022 19:37:56 +0000 (20:37 +0100)]
Merge remote-tracking branch 'upstream/pull/3649'

2 years agoMerge pull request #3589 from tomhughes/brotli
Andy Allan [Wed, 3 Aug 2022 18:51:56 +0000 (19:51 +0100)]
Merge pull request #3589 from tomhughes/brotli

Enable brotli compression for assets

2 years agoFix italic font styles
Andy Allan [Wed, 3 Aug 2022 18:49:46 +0000 (19:49 +0100)]
Fix italic font styles

This was missed during the bootstrap 5 upgrade

2 years agoMerge remote-tracking branch 'upstream/pull/3648'
Tom Hughes [Wed, 3 Aug 2022 18:19:29 +0000 (19:19 +0100)]
Merge remote-tracking branch 'upstream/pull/3648'

2 years agoEnable brotli compression for assets
Tom Hughes [Tue, 5 Jul 2022 17:41:42 +0000 (18:41 +0100)]
Enable brotli compression for assets

2 years agoRemove the user menu focus overrides
Andy Allan [Wed, 3 Aug 2022 17:59:32 +0000 (18:59 +0100)]
Remove the user menu focus overrides

This restores the outline effect when the button is focussed using
keyboard navigation.

Refs #3633

2 years agoMerge pull request #3552 from rugk/patch-1
Andy Allan [Wed, 3 Aug 2022 17:49:26 +0000 (18:49 +0100)]
Merge pull request #3552 from rugk/patch-1

Add cause to feature request issue template

2 years agoMinor grammar changes to feature template
Andy Allan [Wed, 3 Aug 2022 17:48:02 +0000 (18:48 +0100)]
Minor grammar changes to feature template

2 years agoMerge remote-tracking branch 'upstream/pull/3644'
Tom Hughes [Wed, 3 Aug 2022 17:45:47 +0000 (18:45 +0100)]
Merge remote-tracking branch 'upstream/pull/3644'

2 years agoMerge remote-tracking branch 'upstream/pull/3647'
Tom Hughes [Wed, 3 Aug 2022 17:45:19 +0000 (18:45 +0100)]
Merge remote-tracking branch 'upstream/pull/3647'

2 years agoMerge remote-tracking branch 'upstream/pull/3646'
Tom Hughes [Wed, 3 Aug 2022 17:45:15 +0000 (18:45 +0100)]
Merge remote-tracking branch 'upstream/pull/3646'

2 years agoMerge pull request #3581 from harry-wood/discourage-note-report
Andy Allan [Wed, 3 Aug 2022 17:38:36 +0000 (18:38 +0100)]
Merge pull request #3581 from harry-wood/discourage-note-report

Wording to discourage note reporting

2 years agoUse standard bootstrap spacers, rather than custom css, to space out the elements
Andy Allan [Wed, 3 Aug 2022 17:25:22 +0000 (18:25 +0100)]
Use standard bootstrap spacers, rather than custom css, to space out the elements

Also make the reporting text small, since it's not required reading in most circumstances.

2 years agoMove note reporting link to bottom of the sidebar
Harry Wood [Mon, 27 Jun 2022 12:03:39 +0000 (13:03 +0100)]
Move note reporting link to bottom of the sidebar

Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence.

2 years agoAdd wording to discourage reporting a note
Harry Wood [Mon, 27 Jun 2022 11:20:50 +0000 (12:20 +0100)]
Add wording to discourage reporting a note

Add some wording wrapped around the 'Report this note' link to explain to users to resolve the note instead.

Tackling the issue reported by DWG, that too many note reports are coming to them, where the users could deal it themselves: https://github.com/openstreetmap/openstreetmap-website/issues/3071

2 years agoAdd a basic security policy.
Andy Allan [Wed, 3 Aug 2022 16:06:18 +0000 (17:06 +0100)]
Add a basic security policy.

Fixes #3553

2 years agoMerge pull request #3634 from AntonKhorev/map-key-tooltip
Andy Allan [Wed, 3 Aug 2022 14:38:58 +0000 (15:38 +0100)]
Merge pull request #3634 from AntonKhorev/map-key-tooltip

Fix tooltips

2 years agoFix remaining tooltips, and add tests
Andy Allan [Wed, 3 Aug 2022 14:20:17 +0000 (15:20 +0100)]
Fix remaining tooltips, and add tests

These were broken during the upgrade to bootstrap 5

Fixes #3632

2 years agoEnable focus styling for leaflet control buttons
Andy Allan [Wed, 3 Aug 2022 13:58:40 +0000 (14:58 +0100)]
Enable focus styling for leaflet control buttons

Fixes #3633

2 years agoSwitch reverse_directions link to use a button
Andy Allan [Wed, 3 Aug 2022 13:02:18 +0000 (14:02 +0100)]
Switch reverse_directions link to use a button

This makes it keyboard selectable, and also preserves the event
handler.

Refs #3637

2 years agoMerge pull request #3631 from AntonKhorev/bootstrap-close
Andy Allan [Wed, 3 Aug 2022 10:47:08 +0000 (11:47 +0100)]
Merge pull request #3631 from AntonKhorev/bootstrap-close

Use Bootstrap close button

2 years agoUpdate bundle
Tom Hughes [Tue, 2 Aug 2022 17:13:30 +0000 (18:13 +0100)]
Update bundle

2 years agoMerge remote-tracking branch 'upstream/pull/3643'
Tom Hughes [Tue, 2 Aug 2022 17:11:03 +0000 (18:11 +0100)]
Merge remote-tracking branch 'upstream/pull/3643'

2 years agoBump eslint from 8.20.0 to 8.21.0
dependabot[bot] [Mon, 1 Aug 2022 23:00:49 +0000 (23:00 +0000)]
Bump eslint from 8.20.0 to 8.21.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoRename piwik to matomo and merge configuration into settings
Tom Hughes [Mon, 1 Aug 2022 19:40:25 +0000 (20:40 +0100)]
Rename piwik to matomo and merge configuration into settings

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 1 Aug 2022 11:15:30 +0000 (13:15 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3638'
Tom Hughes [Fri, 29 Jul 2022 18:03:32 +0000 (19:03 +0100)]
Merge remote-tracking branch 'upstream/pull/3638'

2 years agoMerge remote-tracking branch 'upstream/pull/3640'
Tom Hughes [Fri, 29 Jul 2022 18:02:59 +0000 (19:02 +0100)]
Merge remote-tracking branch 'upstream/pull/3640'

2 years agoFix statistics script to use absolute links
Grant Slater [Fri, 29 Jul 2022 17:55:17 +0000 (20:55 +0300)]
Fix statistics script to use absolute links

2 years agorerun script/misc/update-wiki-pages
Mateusz Konieczny [Thu, 28 Jul 2022 23:18:24 +0000 (01:18 +0200)]
rerun script/misc/update-wiki-pages

2 years agoFix map key tooltip
Anton Khorev [Thu, 28 Jul 2022 19:04:38 +0000 (22:04 +0300)]
Fix map key tooltip

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 28 Jul 2022 11:15:08 +0000 (13:15 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoFix eslint errors
Anton Khorev [Wed, 27 Jul 2022 18:36:54 +0000 (21:36 +0300)]
Fix eslint errors

2 years agoMerge master with css changes
Anton Khorev [Wed, 27 Jul 2022 18:28:12 +0000 (21:28 +0300)]
Merge master with css changes

2 years agoFixed welcome banner close button
Anton Khorev [Wed, 27 Jul 2022 18:10:49 +0000 (21:10 +0300)]
Fixed welcome banner close button

2 years agoChanged feature close buttons to Bootstrap
Anton Khorev [Wed, 27 Jul 2022 18:02:16 +0000 (21:02 +0300)]
Changed feature close buttons to Bootstrap

2 years agoChanged directions close button to Bootstrap
Anton Khorev [Wed, 27 Jul 2022 17:54:47 +0000 (20:54 +0300)]
Changed directions close button to Bootstrap

2 years agoChanged close buttons of banner and other leaflet sidebars to Bootstrap
Anton Khorev [Wed, 27 Jul 2022 17:00:22 +0000 (20:00 +0300)]
Changed close buttons of banner and other leaflet sidebars to Bootstrap

2 years agoChanged sidebar close button to Bootstrap
Anton Khorev [Wed, 27 Jul 2022 16:35:29 +0000 (19:35 +0300)]
Changed sidebar close button to Bootstrap

2 years agoMerge remote-tracking branch 'upstream/pull/3630'
Tom Hughes [Wed, 27 Jul 2022 15:58:10 +0000 (16:58 +0100)]
Merge remote-tracking branch 'upstream/pull/3630'

2 years agoRemove extra container div from fixthemap page
Andy Allan [Wed, 27 Jul 2022 13:26:54 +0000 (14:26 +0100)]
Remove extra container div from fixthemap page

This created extra margins and padding either side of the blocks
of text, which was unnecessary

2 years agoRework welcome and fixthemap pages
Andy Allan [Wed, 27 Jul 2022 12:54:07 +0000 (13:54 +0100)]
Rework welcome and fixthemap pages

* Use lead class for lede paragraphs
* Change headings to start from h2
* Remove custom css and use bootstrap utilities where required

2 years agoRemove font size overrides for code and pre blocks
Andy Allan [Wed, 27 Jul 2022 12:24:07 +0000 (13:24 +0100)]
Remove font size overrides for code and pre blocks

These are taken care of, where necessary, by bootstrap

2 years agoRemove font size overrides from sidebar headings
Andy Allan [Wed, 27 Jul 2022 12:23:03 +0000 (13:23 +0100)]
Remove font size overrides from sidebar headings

These were interfering with the response font sizing via RFS

2 years agoUse th tags on trace show table
Andy Allan [Wed, 27 Jul 2022 12:09:37 +0000 (13:09 +0100)]
Use th tags on trace show table

This brings consistency with other similar tables

2 years agoFix the font weight on the about page title, and use lead styling for the lede
Andy Allan [Wed, 27 Jul 2022 12:08:06 +0000 (13:08 +0100)]
Fix the font weight on the about page title, and use lead styling for the lede

2 years agoRemove unnecessary br tags
Andy Allan [Wed, 27 Jul 2022 10:59:47 +0000 (11:59 +0100)]
Remove unnecessary br tags

The margin on the table takes care of the spacing.

2 years agoTest fetching the iD frame when not logged in
Tom Hughes [Tue, 26 Jul 2022 16:38:56 +0000 (17:38 +0100)]
Test fetching the iD frame when not logged in

2 years agoTest that verified emails from OAuth signups are accepted automatically
Tom Hughes [Tue, 26 Jul 2022 16:33:59 +0000 (17:33 +0100)]
Test that verified emails from OAuth signups are accepted automatically

2 years agoUpdate bundle
Tom Hughes [Tue, 26 Jul 2022 16:02:40 +0000 (17:02 +0100)]
Update bundle

2 years agoDon't try and write directly to the user status
Tom Hughes [Mon, 25 Jul 2022 23:32:16 +0000 (00:32 +0100)]
Don't try and write directly to the user status

This causes an exception when processing the authentication callback for
providers like google where we treat the email address as verified.

2 years agoRequire a logged in user for the iD frame
Tom Hughes [Mon, 25 Jul 2022 23:30:50 +0000 (00:30 +0100)]
Require a logged in user for the iD frame

The frame will error if the user is not logged in as it wants
to be able to access their OAuth token.

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 25 Jul 2022 11:14:52 +0000 (13:14 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoMonkey patch MailDeliveryJob to work with delayed_job under ruby 3
Tom Hughes [Sat, 23 Jul 2022 11:03:51 +0000 (12:03 +0100)]
Monkey patch MailDeliveryJob to work with delayed_job under ruby 3

The delayed_job gem does not currently perserve keyword arguments
properly leading to errors when running under ruby 3 and try to run
a job that requires them.

This affects our deferred mail deliveries so we monkey patch the
mail delivery job to unpack the hash from the normal arguments and
use it to provide the expected keyword arguments.

https://github.com/collectiveidea/delayed_job/issues/1134

2 years agoFix test for change in class
Tom Hughes [Fri, 22 Jul 2022 21:48:31 +0000 (22:48 +0100)]
Fix test for change in class

2 years agoMerge remote-tracking branch 'upstream/pull/3616'
Tom Hughes [Fri, 22 Jul 2022 21:32:26 +0000 (22:32 +0100)]
Merge remote-tracking branch 'upstream/pull/3616'

2 years agoMerge remote-tracking branch 'upstream/pull/3615'
Tom Hughes [Fri, 22 Jul 2022 21:32:24 +0000 (22:32 +0100)]
Merge remote-tracking branch 'upstream/pull/3615'

2 years agoBootstrap 5: Change rounded-lg to rounded-3
mxdanger [Fri, 22 Jul 2022 20:17:36 +0000 (13:17 -0700)]
Bootstrap 5: Change rounded-lg to rounded-3

2 years agoUncomment asserts for namespaced elements in note rss test
Anton Khorev [Fri, 22 Jul 2022 15:02:00 +0000 (18:02 +0300)]
Uncomment asserts for namespaced elements in note rss test

2 years agoMerge remote-tracking branch 'upstream/pull/3612'
Tom Hughes [Thu, 21 Jul 2022 18:20:26 +0000 (19:20 +0100)]
Merge remote-tracking branch 'upstream/pull/3612'

2 years agoMerge remote-tracking branch 'upstream/pull/3610'
Tom Hughes [Thu, 21 Jul 2022 17:36:29 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/3610'

2 years agoMerge remote-tracking branch 'upstream/pull/3609'
Tom Hughes [Thu, 21 Jul 2022 17:25:27 +0000 (18:25 +0100)]
Merge remote-tracking branch 'upstream/pull/3609'

2 years agoAdd xmlns:dc namespace to note show rss actions
Anton Khorev [Thu, 21 Jul 2022 14:14:49 +0000 (17:14 +0300)]
Add xmlns:dc namespace to note show rss actions

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 21 Jul 2022 11:13:42 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoBootstrap 5: Use dropdown-menu-end for dropdown alignment
Andy Allan [Wed, 20 Jul 2022 18:34:19 +0000 (19:34 +0100)]
Bootstrap 5: Use dropdown-menu-end for dropdown alignment

2 years agoBootstrap 5: Fix table striping background colour
Andy Allan [Wed, 20 Jul 2022 17:49:10 +0000 (18:49 +0100)]
Bootstrap 5: Fix table striping background colour

2 years agoBootstrap-5: use logical alternative for text alignment
Andy Allan [Wed, 20 Jul 2022 17:45:26 +0000 (18:45 +0100)]
Bootstrap-5: use logical alternative for text alignment

Using start/end rather than left/right, for better RTL support.

2 years agoBootstrap 5: Use symmetrical padding in toggled dropdown
Andy Allan [Wed, 20 Jul 2022 17:43:45 +0000 (18:43 +0100)]
Bootstrap 5: Use symmetrical padding in toggled dropdown

Required since pl-* classes have been removed, but also works fine
without bringing start/end considerations into play.

2 years agoRework trace index to use secondary-actions
Andy Allan [Wed, 20 Jul 2022 16:36:01 +0000 (17:36 +0100)]
Rework trace index to use secondary-actions

The border between items is familiar UI, so we can keep it, but lets
use the secondary-actions approach instead.

This avoids using left-right specific border, margin and padding
classes

2 years agoBootstrap 5: Remove the padding from trace nav buttons on larger sizes
Andy Allan [Wed, 20 Jul 2022 10:39:52 +0000 (11:39 +0100)]
Bootstrap 5: Remove the padding from trace nav buttons on larger sizes

If additional py is added when the tabs are laid out in full, then the
other tabs start to become detatched from the rest of the page and a
line appears under the active tab.

We don't need the padding in the horizontal layout, so remove it, and
tweak the size of the padding when collapsed.

2 years agoBootstrap 5: Override button text colours, force to white
Andy Allan [Wed, 6 Jul 2022 17:23:35 +0000 (18:23 +0100)]
Bootstrap 5: Override button text colours, force to white

2 years agoUse bootstrap variables to style links
Andy Allan [Wed, 6 Jul 2022 17:09:24 +0000 (18:09 +0100)]
Use bootstrap variables to style links

Bootstrap 5 now has a hover color, and instead of trying to override
with CSS, it's easier to use the variables instead.

2 years agoBootstrap 5: data-toggle renamed to data-bs-toggle for dropdown menus
Andy Allan [Wed, 29 Jun 2022 16:46:59 +0000 (17:46 +0100)]
Bootstrap 5: data-toggle renamed to data-bs-toggle for dropdown menus

2 years agoBootstrap 5: no-gutters renamed to g-0
Andy Allan [Wed, 29 Jun 2022 16:35:09 +0000 (17:35 +0100)]
Bootstrap 5: no-gutters renamed to g-0

2 years agoBootstrap 5: Replace card-deck with a row-cols-* based grid
Andy Allan [Wed, 29 Jun 2022 16:31:59 +0000 (17:31 +0100)]
Bootstrap 5: Replace card-deck with a row-cols-* based grid

2 years agoBootstrap 5: Replace all form-group classes with mb-3
Andy Allan [Wed, 29 Jun 2022 16:14:10 +0000 (17:14 +0100)]
Bootstrap 5: Replace all form-group classes with mb-3

2 years agoBootstrap 5: Add form-label class to hand-crafted form labels
Andy Allan [Wed, 29 Jun 2022 16:02:43 +0000 (17:02 +0100)]
Bootstrap 5: Add form-label class to hand-crafted form labels

This is done automatically for forms created by bootstrap_form

2 years agoBootstrap 5: Override float attribute on legends
Andy Allan [Wed, 29 Jun 2022 14:29:42 +0000 (15:29 +0100)]
Bootstrap 5: Override float attribute on legends

I don't fully understand why bootstrap added this in v5, as the
discussion on the issue tracker isn't clear. But we neither want
nor need this.

2 years agoBootstrap 5: Update manual select boxes to use form-select class
Andy Allan [Wed, 29 Jun 2022 14:29:21 +0000 (15:29 +0100)]
Bootstrap 5: Update manual select boxes to use form-select class

2 years agoBootstrap 5: Remove use of form-row class
Andy Allan [Wed, 11 May 2022 14:31:50 +0000 (15:31 +0100)]
Bootstrap 5: Remove use of form-row class

This has been replaced by simple `row` class in v5. We can also use the
gx-N classes here, which tighten up the horizontal gutter sizes for
space-constrained forms.