]>
git.openstreetmap.org Git - rails.git/log
Milan Cvetkovic [Fri, 15 Sep 2023 18:03:16 +0000 (18:03 +0000)]
Add test for openid discovery
Milan Cvetkovic [Fri, 15 Sep 2023 12:24:35 +0000 (12:24 +0000)]
Add a test for openid connect support
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"
Milan Cvetkovic [Mon, 4 Sep 2023 14:46:29 +0000 (14:46 +0000)]
Merge locale definitions to config/locales/en.yml
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.
Tom Hughes [Thu, 14 Sep 2023 16:42:04 +0000 (17:42 +0100)]
Merge remote-tracking branch 'upstream/pull/4240'
Tom Hughes [Thu, 14 Sep 2023 16:09:31 +0000 (17:09 +0100)]
Merge remote-tracking branch 'upstream/pull/4247'
translatewiki.net [Thu, 14 Sep 2023 11:22:37 +0000 (13:22 +0200)]
Localisation updates from https://translatewiki.net.
Andy Allan [Wed, 13 Sep 2023 12:26:19 +0000 (13:26 +0100)]
Refactor remaining sass division operators to use multiplication
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.
Andy Allan [Wed, 13 Sep 2023 10:42:12 +0000 (11:42 +0100)]
Remove sass division for export input boxes margins
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.
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
Andy Allan [Thu, 7 Sep 2023 09:26:50 +0000 (10:26 +0100)]
Use spacer for margins on leaflet popups
Andy Allan [Wed, 6 Sep 2023 17:35:12 +0000 (18:35 +0100)]
Use an inline list for the login auth buttons
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.
Andy Allan [Wed, 6 Sep 2023 17:22:58 +0000 (18:22 +0100)]
Remove unnecessary paragraph margin override on diary comments
Tom Hughes [Tue, 12 Sep 2023 17:12:06 +0000 (18:12 +0100)]
Update bundle
translatewiki.net [Mon, 11 Sep 2023 11:18:30 +0000 (13:18 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Sun, 10 Sep 2023 17:47:07 +0000 (18:47 +0100)]
Merge remote-tracking branch 'upstream/pull/4239'
Tom Hughes [Sun, 10 Sep 2023 16:24:16 +0000 (17:24 +0100)]
Merge remote-tracking branch 'upstream/pull/4245'
Tom Hughes [Sun, 10 Sep 2023 16:23:24 +0000 (17:23 +0100)]
Merge remote-tracking branch 'upstream/pull/4243'
Tom Hughes [Sun, 10 Sep 2023 16:22:21 +0000 (17:22 +0100)]
Merge remote-tracking branch 'upstream/pull/4242'
Tom Hughes [Sun, 10 Sep 2023 16:11:17 +0000 (17:11 +0100)]
Update to rails 7.0.8
Anton Khorev [Sun, 10 Sep 2023 14:10:31 +0000 (17:10 +0300)]
Add comment ids to changeset discussion api responses
Anton Khorev [Sat, 9 Sep 2023 16:40:28 +0000 (19:40 +0300)]
Remove authorize_web call from traces api controller
Anton Khorev [Sat, 9 Sep 2023 13:41:10 +0000 (16:41 +0300)]
Add json output for show user block api
Anton Khorev [Fri, 8 Sep 2023 12:25:15 +0000 (15:25 +0300)]
Add show user block api endpoint
Anton Khorev [Mon, 4 Sep 2023 13:25:35 +0000 (16:25 +0300)]
Combine comments and traces pagination partials
Anton Khorev [Mon, 4 Sep 2023 12:41:09 +0000 (15:41 +0300)]
Don't interpolate in pagination partial
Anton Khorev [Mon, 4 Sep 2023 12:07:54 +0000 (15:07 +0300)]
Make pagination partial view
Anton Khorev [Mon, 4 Sep 2023 11:13:43 +0000 (14:13 +0300)]
Refactor diary paging queries
Anton Khorev [Mon, 4 Sep 2023 10:12:25 +0000 (13:12 +0300)]
Change diary comments pagination to before/after id
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>
Tom Hughes [Fri, 8 Sep 2023 17:09:00 +0000 (18:09 +0100)]
Merge remote-tracking branch 'upstream/pull/4241'
Tom Hughes [Fri, 8 Sep 2023 16:55:54 +0000 (17:55 +0100)]
Merge remote-tracking branch 'upstream/pull/4236'
Tom Hughes [Fri, 8 Sep 2023 16:53:42 +0000 (17:53 +0100)]
Merge remote-tracking branch 'upstream/pull/4237'
Anton Khorev [Fri, 8 Sep 2023 14:13:57 +0000 (17:13 +0300)]
Add user id to api trace output
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>
Anton Khorev [Thu, 7 Sep 2023 14:20:43 +0000 (17:20 +0300)]
Fix alignment in profile and diary location forms
translatewiki.net [Thu, 7 Sep 2023 11:26:57 +0000 (13:26 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Wed, 6 Sep 2023 23:32:11 +0000 (00:32 +0100)]
Handle timeouts inside a view for API calls
Tom Hughes [Wed, 6 Sep 2023 17:42:29 +0000 (18:42 +0100)]
Merge remote-tracking branch 'upstream/pull/4225'
Tom Hughes [Wed, 6 Sep 2023 17:36:28 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/4234'
Tom Hughes [Wed, 6 Sep 2023 17:36:25 +0000 (18:36 +0100)]
Merge remote-tracking branch 'upstream/pull/4233'
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
Andy Allan [Wed, 6 Sep 2023 15:32:04 +0000 (16:32 +0100)]
Use h2 as the main header on the map-ui panel
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.
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.
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.
Andy Allan [Wed, 6 Sep 2023 14:55:16 +0000 (15:55 +0100)]
Use bootstrap form controls for the link and html controls
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.
Anton Khorev [Tue, 5 Sep 2023 08:50:58 +0000 (11:50 +0300)]
Mute hidden comment text in each table cell
Andy Allan [Wed, 6 Sep 2023 15:43:20 +0000 (16:43 +0100)]
Fix lack of margin on changeset browsing messages
The display area here uses negative margins to make the flush list
work, so we need to add them back in for normal text.
Tom Hughes [Wed, 6 Sep 2023 09:43:43 +0000 (10:43 +0100)]
Merge remote-tracking branch 'upstream/pull/4232'
Andy Allan [Wed, 6 Sep 2023 09:20:23 +0000 (10:20 +0100)]
Use implicit style for associations with factory overrides
This matches our usage of implicit style for associations generally,
e.g. `user`.
Tom Hughes [Tue, 5 Sep 2023 16:30:03 +0000 (17:30 +0100)]
Merge remote-tracking branch 'upstream/pull/4230'
Tom Hughes [Tue, 5 Sep 2023 16:22:04 +0000 (17:22 +0100)]
Merge remote-tracking branch 'upstream/pull/4231'
Tom Hughes [Tue, 5 Sep 2023 16:16:53 +0000 (17:16 +0100)]
Update argon2 tests for change in library default costs
Tom Hughes [Tue, 5 Sep 2023 15:54:41 +0000 (16:54 +0100)]
Update bundle
Anton Khorev [Tue, 5 Sep 2023 10:35:08 +0000 (13:35 +0300)]
Show user id on profile pages to moderators and admins
Anton Khorev [Tue, 5 Sep 2023 08:50:58 +0000 (11:50 +0300)]
Mute hidden comment text in each table cell
Tom Hughes [Tue, 5 Sep 2023 07:26:06 +0000 (08:26 +0100)]
Merge remote-tracking branch 'upstream/pull/4229'
Tom Hughes [Tue, 5 Sep 2023 07:26:02 +0000 (08:26 +0100)]
Merge remote-tracking branch 'upstream/pull/4228'
dependabot[bot] [Mon, 4 Sep 2023 23:17:23 +0000 (23:17 +0000)]
Bump coverallsapp/github-action from 2.2.1 to 2.2.2
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v2.2.1...v2.2.2)
---
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>
dependabot[bot] [Mon, 4 Sep 2023 23:17:21 +0000 (23:17 +0000)]
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Anton Khorev [Mon, 4 Sep 2023 13:32:54 +0000 (16:32 +0300)]
Swap older/newer diary entries buttons
translatewiki.net [Mon, 4 Sep 2023 11:19:10 +0000 (13:19 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Sun, 3 Sep 2023 17:55:39 +0000 (18:55 +0100)]
Merge remote-tracking branch 'upstream/pull/4223'
Tom Hughes [Sun, 3 Sep 2023 17:54:18 +0000 (18:54 +0100)]
Merge remote-tracking branch 'upstream/pull/4222'
Tom Hughes [Sun, 3 Sep 2023 17:52:54 +0000 (18:52 +0100)]
Merge remote-tracking branch 'upstream/pull/4221'
Anton Khorev [Sun, 3 Sep 2023 11:47:35 +0000 (14:47 +0300)]
Remove unused partial _user.atom.builder
Anton Khorev [Fri, 1 Sep 2023 12:48:07 +0000 (15:48 +0300)]
Add bbox parameter to notes search api
Anton Khorev [Sun, 3 Sep 2023 06:38:11 +0000 (09:38 +0300)]
Check required bbox parameter presence outside of BoundingBox class
Tom Hughes [Sat, 2 Sep 2023 10:51:43 +0000 (11:51 +0100)]
Drop non-functional check for nil email
Tom Hughes [Sat, 2 Sep 2023 10:48:56 +0000 (11:48 +0100)]
Merge remote-tracking branch 'upstream/pull/4216'
Tom Hughes [Sat, 2 Sep 2023 10:47:39 +0000 (11:47 +0100)]
Merge remote-tracking branch 'upstream/pull/4214'
Tom Hughes [Sat, 2 Sep 2023 10:39:02 +0000 (11:39 +0100)]
Add some additional preloads to notes#feed
Anton Khorev [Fri, 1 Sep 2023 16:33:22 +0000 (19:33 +0300)]
Move email-related methods to mixin
Anton Khorev [Fri, 1 Sep 2023 14:05:07 +0000 (17:05 +0300)]
Add notes feed description for unspecified area
translatewiki.net [Thu, 31 Aug 2023 11:19:07 +0000 (13:19 +0200)]
Localisation updates from https://translatewiki.net.
Tom Hughes [Thu, 31 Aug 2023 10:12:03 +0000 (11:12 +0100)]
Merge remote-tracking branch 'upstream/pull/4212'
Andy Allan [Thu, 31 Aug 2023 09:02:18 +0000 (10:02 +0100)]
Merge pull request #4211 from tomhughes/changeset-comment-cleanup
Address review comments for changeset comment limiting
Tom Hughes [Wed, 30 Aug 2023 19:31:24 +0000 (20:31 +0100)]
Bump facebook API version
Tom Hughes [Wed, 30 Aug 2023 18:11:08 +0000 (19:11 +0100)]
Improve testing of changeset comment rate limits
Tom Hughes [Wed, 30 Aug 2023 17:28:32 +0000 (18:28 +0100)]
Move changeset comment rate limit check to a predicate method
Tom Hughes [Wed, 30 Aug 2023 17:25:06 +0000 (18:25 +0100)]
Improve naming of changeset comment rate limit settings
Andy Allan [Wed, 30 Aug 2023 17:11:56 +0000 (18:11 +0100)]
Use bootstrap badges to implement count-number badges
This leaves bootstrap to take care of most aspects, while retaining
the current colours and font weights.
Tom Hughes [Wed, 30 Aug 2023 17:10:20 +0000 (18:10 +0100)]
Merge remote-tracking branch 'upstream/pull/4210'
Tom Hughes [Wed, 30 Aug 2023 17:09:41 +0000 (18:09 +0100)]
Merge remote-tracking branch 'upstream/pull/4209'
Andy Allan [Wed, 30 Aug 2023 16:17:15 +0000 (17:17 +0100)]
Use Activerecord '#or' method for queries
That let's us use relation names (like `sender`) and avoid dealing
directly with ids.
Andy Allan [Wed, 30 Aug 2023 15:51:44 +0000 (16:51 +0100)]
Use trace instead of gpx_id in queries
This makes the queries easier to read.
Andy Allan [Wed, 30 Aug 2023 15:45:04 +0000 (16:45 +0100)]
Avoid using _id in queries
This makes the queries shorter and easier to read.
Andy Allan [Wed, 30 Aug 2023 14:17:11 +0000 (15:17 +0100)]
Merge pull request #4193 from AntonKhorev/lookup-friend
Lookup friend user before make/remove friend action
Andy Allan [Wed, 30 Aug 2023 14:11:57 +0000 (15:11 +0100)]
Merge pull request #4197 from AntonKhorev/user-resources
Move user lookup/error methods from app controller to concerns
Andy Allan [Wed, 30 Aug 2023 10:12:40 +0000 (11:12 +0100)]
Merge pull request #4202 from tomhughes/changeset-comment-limit
Add rate limiting for changeset comments
Tom Hughes [Tue, 29 Aug 2023 17:08:56 +0000 (18:08 +0100)]
Update bundle
Tom Hughes [Tue, 29 Aug 2023 17:08:06 +0000 (18:08 +0100)]
Merge remote-tracking branch 'upstream/pull/4208'
dependabot[bot] [Mon, 28 Aug 2023 23:28:12 +0000 (23:28 +0000)]
Bump osm-community-index from 5.5.5 to 5.6.0
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.5.5 to 5.6.0.
- [Release notes](https://github.com/osmlab/osm-community-index/releases)
- [Changelog](https://github.com/osmlab/osm-community-index/blob/main/CHANGELOG.md)
- [Commits](https://github.com/osmlab/osm-community-index/compare/v5.5.5...v5.6.0)
---
updated-dependencies:
- dependency-name: osm-community-index
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
translatewiki.net [Mon, 28 Aug 2023 11:26:20 +0000 (13:26 +0200)]
Localisation updates from https://translatewiki.net.