]> git.openstreetmap.org Git - rails.git/log
rails.git
7 months agoMerge remote-tracking branch 'upstream/pull/4226'
Tom Hughes [Tue, 3 Oct 2023 18:39:41 +0000 (19:39 +0100)]
Merge remote-tracking branch 'upstream/pull/4226'

7 months agoLoad openid signing key from endpoint during openid connect test
Milan Cvetkovic [Thu, 21 Sep 2023 10:51:30 +0000 (10:51 +0000)]
Load openid signing key from endpoint during openid connect test

7 months agoAdd test for openid discovery
Milan Cvetkovic [Fri, 15 Sep 2023 18:03:16 +0000 (18:03 +0000)]
Add test for openid discovery

7 months agoAdd a test for openid connect support
Milan Cvetkovic [Fri, 15 Sep 2023 12:24:35 +0000 (12:24 +0000)]
Add a test for openid connect support

7 months agoAdd openid connect support using doorkeeper-openid_connect gem
Milan Cvetkovic [Wed, 30 Aug 2023 12:36:55 +0000 (12:36 +0000)]
Add openid connect support using doorkeeper-openid_connect gem

... as discussed in [Issue 507](https://github.com/openstreetmap/operations/issues/507)
and described by @mmd-osm.

To activate, set the value of `doorkeeper_signing_key` to RSA private key.

Allows using openstreetmap as an identity provider.

Adds `openid` scope to OAuth2 authorizations, required to login to OSM.

Currently, the only claims returned are:
 - "openid" scope: "sub" and "preferred_username"
 - "read_email" scope: "email"

7 months agoMerge locale definitions to config/locales/en.yml
Milan Cvetkovic [Mon, 4 Sep 2023 14:46:29 +0000 (14:46 +0000)]
Merge locale definitions to config/locales/en.yml

7 months agoAdd unconfigured doorkeeper-openid_connect
Milan Cvetkovic [Wed, 30 Aug 2023 12:19:00 +0000 (12:19 +0000)]
Add unconfigured doorkeeper-openid_connect

After executing:
rails generate doorkeeper:openid_connect:install
rails generate doorkeeper:openid_connect:install

Split migration script to 2 to avoid deadlock.

7 months agoUpdate bundle
Tom Hughes [Tue, 3 Oct 2023 16:01:37 +0000 (17:01 +0100)]
Update bundle

7 months agoMerge remote-tracking branch 'upstream/pull/4271'
Tom Hughes [Tue, 3 Oct 2023 16:00:13 +0000 (17:00 +0100)]
Merge remote-tracking branch 'upstream/pull/4271'

7 months agoRemove <picture>s around <img srcset=...>
Anton Khorev [Tue, 3 Oct 2023 00:06:12 +0000 (03:06 +0300)]
Remove <picture>s around <img srcset=...>

7 months agoMerge remote-tracking branch 'upstream/pull/4269'
Tom Hughes [Mon, 2 Oct 2023 17:53:14 +0000 (18:53 +0100)]
Merge remote-tracking branch 'upstream/pull/4269'

7 months agoMerge remote-tracking branch 'upstream/pull/4268'
Tom Hughes [Mon, 2 Oct 2023 17:48:52 +0000 (18:48 +0100)]
Merge remote-tracking branch 'upstream/pull/4268'

7 months agoMerge remote-tracking branch 'upstream/pull/4266'
Tom Hughes [Mon, 2 Oct 2023 17:47:21 +0000 (18:47 +0100)]
Merge remote-tracking branch 'upstream/pull/4266'

7 months agoMerge remote-tracking branch 'upstream/pull/4267'
Tom Hughes [Mon, 2 Oct 2023 17:45:53 +0000 (18:45 +0100)]
Merge remote-tracking branch 'upstream/pull/4267'

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 2 Oct 2023 11:19:00 +0000 (13:19 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoRemove <picture> from logo
Anton Khorev [Mon, 2 Oct 2023 01:12:47 +0000 (04:12 +0300)]
Remove <picture> from logo

7 months agoRemove custom color from changeset comments count
Anton Khorev [Sun, 1 Oct 2023 23:13:18 +0000 (02:13 +0300)]
Remove custom color from changeset comments count

7 months agoRemove custom opacity from changeset comments count
Anton Khorev [Sun, 1 Oct 2023 23:06:38 +0000 (02:06 +0300)]
Remove custom opacity from changeset comments count

7 months agoRemove rtl direction fix for <code>
Anton Khorev [Sun, 1 Oct 2023 15:40:10 +0000 (18:40 +0300)]
Remove rtl direction fix for <code>

7 months agoLimit nav color override to edit/history/export buttons
Anton Khorev [Sun, 1 Oct 2023 15:00:18 +0000 (18:00 +0300)]
Limit nav color override to edit/history/export buttons

7 months agoWrite button instead of link for 'Where is this?'
Anton Khorev [Sat, 16 Sep 2023 15:10:52 +0000 (18:10 +0300)]
Write button instead of link for 'Where is this?'

7 months agoMake search input a direct child of input group
Anton Khorev [Sat, 16 Sep 2023 14:40:07 +0000 (17:40 +0300)]
Make search input a direct child of input group

7 months agoMerge remote-tracking branch 'upstream/pull/4261'
Tom Hughes [Fri, 29 Sep 2023 09:05:31 +0000 (10:05 +0100)]
Merge remote-tracking branch 'upstream/pull/4261'

7 months agoUpgrade to bootstrap 5.2
Andy Allan [Wed, 20 Sep 2023 14:59:24 +0000 (15:59 +0100)]
Upgrade to bootstrap 5.2

7 months agoMerge remote-tracking branch 'upstream/pull/4264'
Tom Hughes [Thu, 28 Sep 2023 20:15:52 +0000 (21:15 +0100)]
Merge remote-tracking branch 'upstream/pull/4264'

7 months agoFix border settings used in workaround
Andy Allan [Thu, 28 Sep 2023 20:01:41 +0000 (21:01 +0100)]
Fix border settings used in workaround

Fixes #4263

7 months agoMerge remote-tracking branch 'upstream/pull/4260'
Tom Hughes [Thu, 28 Sep 2023 15:35:05 +0000 (16:35 +0100)]
Merge remote-tracking branch 'upstream/pull/4260'

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 28 Sep 2023 11:19:02 +0000 (13:19 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoMerge pull request #3690 from AntonKhorev/search-form-no-group
Andy Allan [Wed, 27 Sep 2023 16:36:35 +0000 (17:36 +0100)]
Merge pull request #3690 from AntonKhorev/search-form-no-group

Stick search input and Go button together with flex instead of input group

7 months agoMerge pull request #4201 from AntonKhorev/issues-limit-settings
Andy Allan [Wed, 27 Sep 2023 14:47:44 +0000 (15:47 +0100)]
Merge pull request #4201 from AntonKhorev/issues-limit-settings

Move max value of issues counter to settings

7 months agoMerge pull request #4249 from AntonKhorev/no-traces-nav-empty-li
Andy Allan [Wed, 27 Sep 2023 14:33:58 +0000 (15:33 +0100)]
Merge pull request #4249 from AntonKhorev/no-traces-nav-empty-li

Change traces feed and upload button alignment

7 months agoMerge pull request #4184 from AntonKhorev/print
Andy Allan [Wed, 27 Sep 2023 14:10:52 +0000 (15:10 +0100)]
Merge pull request #4184 from AntonKhorev/print

Show sidebar in print media

7 months agoWorkaround for dartsass vs bootstrap 5.1 bug
Andy Allan [Wed, 27 Sep 2023 08:23:26 +0000 (09:23 +0100)]
Workaround for dartsass vs bootstrap 5.1 bug

7 months agoSwitch from sassc-rails to dartsass-sprockets
Andy Allan [Wed, 20 Sep 2023 14:26:58 +0000 (15:26 +0100)]
Switch from sassc-rails to dartsass-sprockets

sassc-rails, and its underlying libsass, is deprecated. dartsass-sprockets
allows us to use the currently maintained dartsass implementation,
without having to change any of our toolchain.

The version of sass-embedded is pinned to avoid warnings in bootstrap. When
we upgrade bootstrap versions, we can upgrade sass-embedded to match.

7 months agoInstall git in Docker to allow git repos in Gemfile
Andy Allan [Wed, 20 Sep 2023 15:50:44 +0000 (16:50 +0100)]
Install git in Docker to allow git repos in Gemfile

7 months agoFix new rubocop warnings
Tom Hughes [Tue, 26 Sep 2023 17:35:05 +0000 (18:35 +0100)]
Fix new rubocop warnings

7 months agoUpdate bundle
Tom Hughes [Tue, 26 Sep 2023 17:21:09 +0000 (18:21 +0100)]
Update bundle

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 25 Sep 2023 11:17:56 +0000 (13:17 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoMerge remote-tracking branch 'upstream/pull/4258'
Tom Hughes [Sun, 24 Sep 2023 17:34:50 +0000 (18:34 +0100)]
Merge remote-tracking branch 'upstream/pull/4258'

7 months agoBump eslint from 8.49.0 to 8.50.0
dependabot[bot] [Fri, 22 Sep 2023 23:47:53 +0000 (23:47 +0000)]
Bump eslint from 8.49.0 to 8.50.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.49.0 to 8.50.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.49.0...v8.50.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
7 months agoAdd whitespace
Tom Hughes [Fri, 22 Sep 2023 16:54:18 +0000 (17:54 +0100)]
Add whitespace

7 months agoMerge remote-tracking branch 'upstream/pull/4255'
Tom Hughes [Fri, 22 Sep 2023 16:45:42 +0000 (17:45 +0100)]
Merge remote-tracking branch 'upstream/pull/4255'

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 21 Sep 2023 11:32:19 +0000 (13:32 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoAdd Tracestrack Topo as featured layer
Paul Norman [Wed, 20 Sep 2023 05:16:42 +0000 (22:16 -0700)]
Add Tracestrack Topo as featured layer

7 months agoUpdate leaflet-osm repo owner
Paul Norman [Wed, 20 Sep 2023 04:56:54 +0000 (21:56 -0700)]
Update leaflet-osm repo owner

7 months agoDrop rubocop config patch now that rubocop-factory_bot is fixed
Tom Hughes [Tue, 19 Sep 2023 10:32:23 +0000 (11:32 +0100)]
Drop rubocop config patch now that rubocop-factory_bot is fixed

7 months agoUpdate bundle
Tom Hughes [Tue, 19 Sep 2023 09:48:09 +0000 (10:48 +0100)]
Update bundle

7 months agoLimit SOTM EU banner to one month
Tom Hughes [Tue, 19 Sep 2023 08:33:20 +0000 (09:33 +0100)]
Limit SOTM EU banner to one month

7 months agoAllow banners to have a start date as well as an end date
Tom Hughes [Tue, 19 Sep 2023 08:33:03 +0000 (09:33 +0100)]
Allow banners to have a start date as well as an end date

7 months agoAdd banner for State of the Map Europe 2023
Marjan Van de Kauter [Tue, 19 Sep 2023 08:17:30 +0000 (09:17 +0100)]
Add banner for State of the Map Europe 2023

Closes #4252

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 18 Sep 2023 11:18:08 +0000 (13:18 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoTweak sizes and alignment of traces rss/upload buttons
Anton Khorev [Thu, 14 Sep 2023 18:00:57 +0000 (21:00 +0300)]
Tweak sizes and alignment of traces rss/upload buttons

7 months agoMerge remote-tracking branch 'upstream/pull/4240'
Tom Hughes [Thu, 14 Sep 2023 16:42:04 +0000 (17:42 +0100)]
Merge remote-tracking branch 'upstream/pull/4240'

7 months agoMerge remote-tracking branch 'upstream/pull/4247'
Tom Hughes [Thu, 14 Sep 2023 16:09:31 +0000 (17:09 +0100)]
Merge remote-tracking branch 'upstream/pull/4247'

7 months agoUse start margin instead of empty <li> for gap before traces rss button
Anton Khorev [Thu, 14 Sep 2023 15:02:55 +0000 (18:02 +0300)]
Use start margin instead of empty <li> for gap before traces rss button

7 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 14 Sep 2023 11:22:37 +0000 (13:22 +0200)]
Localisation updates from https://translatewiki.net.

7 months agoRefactor remaining sass division operators to use multiplication
Andy Allan [Wed, 13 Sep 2023 12:26:19 +0000 (13:26 +0100)]
Refactor remaining sass division operators to use multiplication

7 months agoRemove unusual margins and line-height from comments
Andy Allan [Wed, 13 Sep 2023 12:18:30 +0000 (13:18 +0100)]
Remove unusual margins and line-height from comments

This allows them to follow normal conventions used elsewhere, as
well as removing some custom css.

7 months agoRemove sass division for export input boxes margins
Andy Allan [Wed, 13 Sep 2023 10:42:12 +0000 (11:42 +0100)]
Remove sass division for export input boxes margins

7 months agoRemove custom styling from export alternative sources dl
Andy Allan [Wed, 13 Sep 2023 10:35:55 +0000 (11:35 +0100)]
Remove custom styling from export alternative sources dl

These were mostly the same as the bootstrap defaults.

7 months agoRefactor the directions table to use bootstrap table styling
Andy Allan [Wed, 13 Sep 2023 10:30:50 +0000 (11:30 +0100)]
Refactor the directions table to use bootstrap table styling

This allows us to remove some custom CSS

7 months agoUse spacer for margins on leaflet popups
Andy Allan [Thu, 7 Sep 2023 09:26:50 +0000 (10:26 +0100)]
Use spacer for margins on leaflet popups

7 months agoUse an inline list for the login auth buttons
Andy Allan [Wed, 6 Sep 2023 17:35:12 +0000 (18:35 +0100)]
Use an inline list for the login auth buttons

7 months agoUse multiplication for secondary-actions margin and padding
Andy Allan [Wed, 6 Sep 2023 17:23:22 +0000 (18:23 +0100)]
Use multiplication for secondary-actions margin and padding

This avoids using the sass division operator, which is deprecated.

7 months agoRemove unnecessary paragraph margin override on diary comments
Andy Allan [Wed, 6 Sep 2023 17:22:58 +0000 (18:22 +0100)]
Remove unnecessary paragraph margin override on diary comments

7 months agoUpdate bundle
Tom Hughes [Tue, 12 Sep 2023 17:12:06 +0000 (18:12 +0100)]
Update bundle

8 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 11 Sep 2023 11:18:30 +0000 (13:18 +0200)]
Localisation updates from https://translatewiki.net.

8 months agoMerge remote-tracking branch 'upstream/pull/4239'
Tom Hughes [Sun, 10 Sep 2023 17:47:07 +0000 (18:47 +0100)]
Merge remote-tracking branch 'upstream/pull/4239'

8 months agoMerge remote-tracking branch 'upstream/pull/4245'
Tom Hughes [Sun, 10 Sep 2023 16:24:16 +0000 (17:24 +0100)]
Merge remote-tracking branch 'upstream/pull/4245'

8 months agoMerge remote-tracking branch 'upstream/pull/4243'
Tom Hughes [Sun, 10 Sep 2023 16:23:24 +0000 (17:23 +0100)]
Merge remote-tracking branch 'upstream/pull/4243'

8 months agoMerge remote-tracking branch 'upstream/pull/4242'
Tom Hughes [Sun, 10 Sep 2023 16:22:21 +0000 (17:22 +0100)]
Merge remote-tracking branch 'upstream/pull/4242'

8 months agoUpdate to rails 7.0.8
Tom Hughes [Sun, 10 Sep 2023 16:11:17 +0000 (17:11 +0100)]
Update to rails 7.0.8

8 months agoAdd comment ids to changeset discussion api responses
Anton Khorev [Sun, 10 Sep 2023 14:10:31 +0000 (17:10 +0300)]
Add comment ids to changeset discussion api responses

8 months agoRemove authorize_web call from traces api controller
Anton Khorev [Sat, 9 Sep 2023 16:40:28 +0000 (19:40 +0300)]
Remove authorize_web call from traces api controller

8 months agoAdd json output for show user block api
Anton Khorev [Sat, 9 Sep 2023 13:41:10 +0000 (16:41 +0300)]
Add json output for show user block api

8 months agoAdd show user block api endpoint
Anton Khorev [Fri, 8 Sep 2023 12:25:15 +0000 (15:25 +0300)]
Add show user block api endpoint

8 months agoCombine comments and traces pagination partials
Anton Khorev [Mon, 4 Sep 2023 13:25:35 +0000 (16:25 +0300)]
Combine comments and traces pagination partials

8 months agoDon't interpolate in pagination partial
Anton Khorev [Mon, 4 Sep 2023 12:41:09 +0000 (15:41 +0300)]
Don't interpolate in pagination partial

8 months agoMake pagination partial view
Anton Khorev [Mon, 4 Sep 2023 12:07:54 +0000 (15:07 +0300)]
Make pagination partial view

8 months agoRefactor diary paging queries
Anton Khorev [Mon, 4 Sep 2023 11:13:43 +0000 (14:13 +0300)]
Refactor diary paging queries

8 months agoChange diary comments pagination to before/after id
Anton Khorev [Mon, 4 Sep 2023 10:12:25 +0000 (13:12 +0300)]
Change diary comments pagination to before/after id

8 months agoBump eslint from 8.48.0 to 8.49.0
dependabot[bot] [Fri, 8 Sep 2023 23:16:24 +0000 (23:16 +0000)]
Bump eslint from 8.48.0 to 8.49.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.48.0 to 8.49.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.48.0...v8.49.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
8 months agoMerge remote-tracking branch 'upstream/pull/4241'
Tom Hughes [Fri, 8 Sep 2023 17:09:00 +0000 (18:09 +0100)]
Merge remote-tracking branch 'upstream/pull/4241'

8 months agoMerge remote-tracking branch 'upstream/pull/4236'
Tom Hughes [Fri, 8 Sep 2023 16:55:54 +0000 (17:55 +0100)]
Merge remote-tracking branch 'upstream/pull/4236'

8 months agoMerge remote-tracking branch 'upstream/pull/4237'
Tom Hughes [Fri, 8 Sep 2023 16:53:42 +0000 (17:53 +0100)]
Merge remote-tracking branch 'upstream/pull/4237'

8 months agoAdd user id to api trace output
Anton Khorev [Fri, 8 Sep 2023 14:13:57 +0000 (17:13 +0300)]
Add user id to api trace output

8 months agoBump coverallsapp/github-action from 2.2.2 to 2.2.3
dependabot[bot] [Thu, 7 Sep 2023 23:46:21 +0000 (23:46 +0000)]
Bump coverallsapp/github-action from 2.2.2 to 2.2.3

Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.2...v2.2.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
8 months agoFix alignment in profile and diary location forms
Anton Khorev [Thu, 7 Sep 2023 14:20:43 +0000 (17:20 +0300)]
Fix alignment in profile and diary location forms

8 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 7 Sep 2023 11:26:57 +0000 (13:26 +0200)]
Localisation updates from https://translatewiki.net.

8 months agoHandle timeouts inside a view for API calls
Tom Hughes [Wed, 6 Sep 2023 23:32:11 +0000 (00:32 +0100)]
Handle timeouts inside a view for API calls

8 months agoMerge remote-tracking branch 'upstream/pull/4225'
Tom Hughes [Wed, 6 Sep 2023 17:42:29 +0000 (18:42 +0100)]
Merge remote-tracking branch 'upstream/pull/4225'

8 months agoMerge remote-tracking branch 'upstream/pull/4234'
Tom Hughes [Wed, 6 Sep 2023 17:36:28 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/4234'

8 months agoMerge remote-tracking branch 'upstream/pull/4233'
Tom Hughes [Wed, 6 Sep 2023 17:36:25 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/4233'

8 months agoMatch the top spacing of the leaflet buttons to the gap between groups
Andy Allan [Wed, 6 Sep 2023 15:32:43 +0000 (16:32 +0100)]
Match the top spacing of the leaflet buttons to the gap between groups

This removes a usage of sass division operator

8 months agoUse h2 as the main header on the map-ui panel
Andy Allan [Wed, 6 Sep 2023 15:32:04 +0000 (16:32 +0100)]
Use h2 as the main header on the map-ui panel

8 months agoUse standard padding size for map-ui sidebar
Andy Allan [Wed, 6 Sep 2023 15:29:47 +0000 (16:29 +0100)]
Use standard padding size for map-ui sidebar

The previous padding didn't match the main sidebar, and also used
sass division as part of the calculation.

8 months agoRound the clickable map previews on the layer switcher
Andy Allan [Wed, 6 Sep 2023 15:26:12 +0000 (16:26 +0100)]
Round the clickable map previews on the layer switcher

Most interactive elements on the site are rounded, so we can do the
same for these map previews.

8 months agoMake the sharing controls read-only
Andy Allan [Wed, 6 Sep 2023 14:59:23 +0000 (15:59 +0100)]
Make the sharing controls read-only

They aren't used for inputting any information, only for copying.

8 months agoUse bootstrap form controls for the link and html controls
Andy Allan [Wed, 6 Sep 2023 14:55:16 +0000 (15:55 +0100)]
Use bootstrap form controls for the link and html controls

8 months agoUse bootstrap for share forms
Andy Allan [Wed, 6 Sep 2023 14:31:49 +0000 (15:31 +0100)]
Use bootstrap for share forms

This fixes alignment of the checkboxes, and uses bootstrap form
controls for the image format and scale inputs.

Move the custom dimensions input to beside the custom dimensions
display.