]> git.openstreetmap.org Git - rails.git/log
rails.git
10 months agoStore selected map color scheme
Anton Khorev [Sun, 1 Dec 2024 01:18:56 +0000 (04:18 +0300)]
Store selected map color scheme

10 months agoAdd map color scheme select to preferences form
Anton Khorev [Sun, 1 Dec 2024 01:02:51 +0000 (04:02 +0300)]
Add map color scheme select to preferences form

10 months agoShow map color scheme on user preferences page
Anton Khorev [Sun, 1 Dec 2024 01:00:25 +0000 (04:00 +0300)]
Show map color scheme on user preferences page

10 months agoSet map color scheme depending on user preferences
Anton Khorev [Sun, 1 Dec 2024 00:54:36 +0000 (03:54 +0300)]
Set map color scheme depending on user preferences

10 months agoMake a generic preferred color scheme method
Anton Khorev [Sun, 1 Dec 2024 00:04:09 +0000 (03:04 +0300)]
Make a generic preferred color scheme method

10 months agoStore selected site color scheme
Anton Khorev [Sat, 16 Nov 2024 15:13:03 +0000 (18:13 +0300)]
Store selected site color scheme

10 months agoAdd site color scheme select to preferences form
Anton Khorev [Sat, 16 Nov 2024 15:09:15 +0000 (18:09 +0300)]
Add site color scheme select to preferences form

10 months agoShow site color scheme on user preferences page
Anton Khorev [Sat, 16 Nov 2024 14:59:17 +0000 (17:59 +0300)]
Show site color scheme on user preferences page

10 months agoAdd auto/manual color scheme stylesheets depending on user preferences
Anton Khorev [Sat, 16 Nov 2024 14:51:50 +0000 (17:51 +0300)]
Add auto/manual color scheme stylesheets depending on user preferences

10 months agoDon't send comment text when reopening a note
Tom Hughes [Fri, 29 Nov 2024 17:41:00 +0000 (17:41 +0000)]
Don't send comment text when reopening a note

Fixes #5359.

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 28 Nov 2024 12:14:20 +0000 (13:14 +0100)]
Localisation updates from https://translatewiki.net.

10 months agoMove html_safe declaration for user_mailer from layout to helper
Andy Allan [Wed, 27 Nov 2024 18:04:32 +0000 (18:04 +0000)]
Move html_safe declaration for user_mailer from layout to helper

This allows us to enable output safety checks for all code within
erb files.

`rubocop --auto-gen-config` ignores code within the erb files, so
it is easier to maintain an exclusion on the helper than inside
the layout.

10 months agoMerge remote-tracking branch 'upstream/pull/5357'
Tom Hughes [Wed, 27 Nov 2024 17:55:09 +0000 (17:55 +0000)]
Merge remote-tracking branch 'upstream/pull/5357'

10 months agoResolve erb_lint deprecations
Andy Allan [Wed, 27 Nov 2024 17:10:08 +0000 (17:10 +0000)]
Resolve erb_lint deprecations

They have standardized on underscores. See
https://github.com/Shopify/erb_lint/pull/360

10 months agoMerge pull request #4316 from AntonKhorev/block-reason-max-length
Andy Allan [Wed, 27 Nov 2024 17:02:25 +0000 (17:02 +0000)]
Merge pull request #4316 from AntonKhorev/block-reason-max-length

Set max length of block reason

10 months agoUpdate bundle
Tom Hughes [Tue, 26 Nov 2024 18:38:29 +0000 (18:38 +0000)]
Update bundle

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 25 Nov 2024 12:14:48 +0000 (13:14 +0100)]
Localisation updates from https://translatewiki.net.

10 months agoMerge remote-tracking branch 'upstream/pull/5353'
Tom Hughes [Sun, 24 Nov 2024 10:40:39 +0000 (10:40 +0000)]
Merge remote-tracking branch 'upstream/pull/5353'

10 months agoAdd default browse icons for nodes, ways, relations
Anton Khorev [Sun, 24 Nov 2024 00:04:11 +0000 (03:04 +0300)]
Add default browse icons for nodes, ways, relations

10 months agoMerge remote-tracking branch 'upstream/pull/5349'
Tom Hughes [Fri, 22 Nov 2024 17:51:49 +0000 (17:51 +0000)]
Merge remote-tracking branch 'upstream/pull/5349'

10 months agoMove layer definitions to yml
Anton Khorev [Thu, 21 Nov 2024 22:18:55 +0000 (01:18 +0300)]
Move layer definitions to yml

10 months agoMerge remote-tracking branch 'upstream/pull/5346'
Tom Hughes [Thu, 21 Nov 2024 22:13:33 +0000 (22:13 +0000)]
Merge remote-tracking branch 'upstream/pull/5346'

10 months agoMove map layer ids/codes/keys to layer definition data
Anton Khorev [Thu, 21 Nov 2024 17:58:47 +0000 (20:58 +0300)]
Move map layer ids/codes/keys to layer definition data

10 months agoAdd subscribe/unsubscribe buttons to note pages
Anton Khorev [Thu, 24 Oct 2024 03:02:07 +0000 (06:02 +0300)]
Add subscribe/unsubscribe buttons to note pages

10 months agoMerge remote-tracking branch 'upstream/pull/5348'
Tom Hughes [Thu, 21 Nov 2024 18:58:14 +0000 (18:58 +0000)]
Merge remote-tracking branch 'upstream/pull/5348'

10 months agoCollect map layer credits into a data structure
Anton Khorev [Thu, 21 Nov 2024 17:08:43 +0000 (20:08 +0300)]
Collect map layer credits into a data structure

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 21 Nov 2024 12:15:02 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

10 months agoMerge pull request #5314 from AntonKhorev/note-subscriptions-api
Andy Allan [Wed, 20 Nov 2024 18:21:11 +0000 (18:21 +0000)]
Merge pull request #5314 from AntonKhorev/note-subscriptions-api

Note subscriptions API

10 months agoAdd destroy note subscription api endpoint
Anton Khorev [Thu, 24 Oct 2024 01:46:57 +0000 (04:46 +0300)]
Add destroy note subscription api endpoint

10 months agoAdd create note subscription api endpoint
Anton Khorev [Thu, 24 Oct 2024 01:11:37 +0000 (04:11 +0300)]
Add create note subscription api endpoint

10 months agoUpdate bundle
Tom Hughes [Tue, 19 Nov 2024 18:21:14 +0000 (18:21 +0000)]
Update bundle

10 months agoMerge remote-tracking branch 'upstream/pull/5341'
Tom Hughes [Tue, 19 Nov 2024 18:10:38 +0000 (18:10 +0000)]
Merge remote-tracking branch 'upstream/pull/5341'

10 months agoBump qs from 6.13.0 to 6.13.1
dependabot[bot] [Tue, 19 Nov 2024 00:15:49 +0000 (00:15 +0000)]
Bump qs from 6.13.0 to 6.13.1

Bumps [qs](https://github.com/ljharb/qs) from 6.13.0 to 6.13.1.
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.13.0...v6.13.1)

---
updated-dependencies:
- dependency-name: qs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months agoMerge branch 'pull/5297'
Anton Khorev [Mon, 18 Nov 2024 15:15:25 +0000 (18:15 +0300)]
Merge branch 'pull/5297'

10 months agoAdd status filter to user's note page
Emin Kocan [Wed, 30 Oct 2024 21:00:59 +0000 (22:00 +0100)]
Add status filter to user's note page

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 18 Nov 2024 12:14:43 +0000 (13:14 +0100)]
Localisation updates from https://translatewiki.net.

10 months agoMerge remote-tracking branch 'upstream/pull/5335'
Tom Hughes [Sun, 17 Nov 2024 18:48:37 +0000 (18:48 +0000)]
Merge remote-tracking branch 'upstream/pull/5335'

10 months agoMerge remote-tracking branch 'upstream/pull/5334'
Tom Hughes [Sun, 17 Nov 2024 18:46:45 +0000 (18:46 +0000)]
Merge remote-tracking branch 'upstream/pull/5334'

10 months agoMerge branch 'pull/5338'
Anton Khorev [Sun, 17 Nov 2024 16:59:20 +0000 (19:59 +0300)]
Merge branch 'pull/5338'

10 months agoEnable dark mode attribution font color
Marwin Hochfelsner [Sun, 17 Nov 2024 14:28:06 +0000 (15:28 +0100)]
Enable dark mode attribution font color

Increases the specificity of the dark mode attribution selector. This makes it overwrite Leaflet's default link selector.

10 months agoBump eslint from 9.14.0 to 9.15.0
dependabot[bot] [Fri, 15 Nov 2024 23:31:58 +0000 (23:31 +0000)]
Bump eslint from 9.14.0 to 9.15.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.14.0 to 9.15.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/v9.14.0...v9.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
10 months agoBump @eslint/plugin-kit from 0.2.0 to 0.2.3
dependabot[bot] [Fri, 15 Nov 2024 21:01:29 +0000 (21:01 +0000)]
Bump @eslint/plugin-kit from 0.2.0 to 0.2.3

Bumps [@eslint/plugin-kit](https://github.com/eslint/rewrite) from 0.2.0 to 0.2.3.
- [Release notes](https://github.com/eslint/rewrite/releases)
- [Changelog](https://github.com/eslint/rewrite/blob/main/release-please-config.json)
- [Commits](https://github.com/eslint/rewrite/compare/core-v0.2.0...plugin-kit-v0.2.3)

---
updated-dependencies:
- dependency-name: "@eslint/plugin-kit"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
10 months agoMerge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred
Andy Allan [Fri, 15 Nov 2024 16:15:05 +0000 (16:15 +0000)]
Merge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred

Style small auth buttons similarly to preferred auth buttons

10 months agoMerge pull request #5331 from AntonKhorev/trace-badges-text-bg
Andy Allan [Fri, 15 Nov 2024 16:14:02 +0000 (16:14 +0000)]
Merge pull request #5331 from AntonKhorev/trace-badges-text-bg

Set colors for trace visibility badges using .text-bg-*

10 months agoMerge pull request #5332 from AntonKhorev/layer-preview-backgrounds
Andy Allan [Fri, 15 Nov 2024 16:11:38 +0000 (16:11 +0000)]
Merge pull request #5332 from AntonKhorev/layer-preview-backgrounds

Set background for layer buttons to secondary body color

10 months agoStyle small auth buttons similarly to preferred auth buttons
Anton Khorev [Fri, 15 Nov 2024 16:09:57 +0000 (19:09 +0300)]
Style small auth buttons similarly to preferred auth buttons

10 months agoSet background for layer buttons to secondary body color
Anton Khorev [Fri, 15 Nov 2024 15:33:16 +0000 (18:33 +0300)]
Set background for layer buttons to secondary body color

10 months agoSet colors for trace visibility badges using .text-bg-*
Anton Khorev [Fri, 15 Nov 2024 15:09:03 +0000 (18:09 +0300)]
Set colors for trace visibility badges using .text-bg-*

10 months agoMerge pull request #5330 from AntonKhorev/apply-tile-filter-once
Andy Allan [Fri, 15 Nov 2024 14:48:49 +0000 (14:48 +0000)]
Merge pull request #5330 from AntonKhorev/apply-tile-filter-once

Apply dimming filter to tiles directly

10 months agoApply dimming filter to tiles directly
Anton Khorev [Fri, 15 Nov 2024 14:38:02 +0000 (17:38 +0300)]
Apply dimming filter to tiles directly

10 months agoMerge remote-tracking branch 'upstream/pull/5320'
Tom Hughes [Thu, 14 Nov 2024 17:57:23 +0000 (17:57 +0000)]
Merge remote-tracking branch 'upstream/pull/5320'

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 14 Nov 2024 12:15:08 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

10 months agoRemove jQuery.timers plugin
Anton Khorev [Thu, 14 Nov 2024 10:43:41 +0000 (13:43 +0300)]
Remove jQuery.timers plugin

10 months agoMerge pull request #4761 from AntonKhorev:dark-mode-with-close-button
Andy Allan [Wed, 13 Nov 2024 20:25:50 +0000 (20:25 +0000)]
Merge pull request #4761 from AntonKhorev:dark-mode-with-close-button

Enable dark theme if user prefers dark color scheme - no javascript version

10 months agoMerge pull request #5151 from AntonKhorev/no-history-and-export-buttons
Andy Allan [Wed, 13 Nov 2024 19:15:59 +0000 (19:15 +0000)]
Merge pull request #5151 from AntonKhorev/no-history-and-export-buttons

Move History and Export buttons to secondary nav

10 months agoMerge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
Andy Allan [Wed, 13 Nov 2024 18:45:16 +0000 (18:45 +0000)]
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes

Use resourceful routes for granting/revoking user roles

10 months agoMerge remote-tracking branch 'upstream/pull/5319'
Tom Hughes [Wed, 13 Nov 2024 18:40:02 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/pull/5319'

10 months agoMerge remote-tracking branch 'upstream/pull/5318'
Tom Hughes [Wed, 13 Nov 2024 18:38:59 +0000 (18:38 +0000)]
Merge remote-tracking branch 'upstream/pull/5318'

10 months agoMerge pull request #5158 from tomhughes/vagrant-debian
Andy Allan [Wed, 13 Nov 2024 17:27:46 +0000 (17:27 +0000)]
Merge pull request #5158 from tomhughes/vagrant-debian

Switch vagrant to use Debian 12

10 months agoAdd note on assigning issues
Andy Allan [Wed, 13 Nov 2024 12:14:29 +0000 (12:14 +0000)]
Add note on assigning issues

New users are encouraged by Github to read the CONTRIBUTING file,
so that's where it's worth putting it. The explanation of why can
be put elsewhere.

10 months agoMerge remote-tracking branch 'upstream/pull/5316'
Tom Hughes [Wed, 13 Nov 2024 17:05:12 +0000 (17:05 +0000)]
Merge remote-tracking branch 'upstream/pull/5316'

10 months agoMerge remote-tracking branch 'upstream/pull/5315'
Tom Hughes [Wed, 13 Nov 2024 17:00:06 +0000 (17:00 +0000)]
Merge remote-tracking branch 'upstream/pull/5315'

10 months agoMerge remote-tracking branch 'upstream/pull/5312'
Tom Hughes [Wed, 13 Nov 2024 16:55:44 +0000 (16:55 +0000)]
Merge remote-tracking branch 'upstream/pull/5312'

10 months agoSwitch vagrant to use Debian 12
Tom Hughes [Thu, 5 Sep 2024 16:55:43 +0000 (17:55 +0100)]
Switch vagrant to use Debian 12

10 months agoMerge pull request #5295 from tomhughes/danger-branches
Andy Allan [Wed, 13 Nov 2024 16:07:41 +0000 (16:07 +0000)]
Merge pull request #5295 from tomhughes/danger-branches

Create base and head branches before running danger

10 months agoMerge pull request #5303 from tomhughes/remember-me
Andy Allan [Wed, 13 Nov 2024 16:05:03 +0000 (16:05 +0000)]
Merge pull request #5303 from tomhughes/remember-me

Make the "remember me" option work as intended

10 months agoRemove unused timer from new note js controller
Anton Khorev [Wed, 13 Nov 2024 12:54:20 +0000 (15:54 +0300)]
Remove unused timer from new note js controller

10 months agoMake the "remember me" option work as intended
Tom Hughes [Tue, 5 Nov 2024 18:42:20 +0000 (18:42 +0000)]
Make the "remember me" option work as intended

10 months agoShow spinner using delayed css animation in sidebar loader
Anton Khorev [Wed, 13 Nov 2024 12:15:54 +0000 (15:15 +0300)]
Show spinner using delayed css animation in sidebar loader

10 months agoAdd yaml syntax highlighting to code blocks
Andy Allan [Wed, 13 Nov 2024 12:14:01 +0000 (12:14 +0000)]
Add yaml syntax highlighting to code blocks

10 months agoShow spinner using delayed css animation in richtext preview
Anton Khorev [Wed, 13 Nov 2024 12:05:20 +0000 (15:05 +0300)]
Show spinner using delayed css animation in richtext preview

10 months agoAdd missing headers to docs
Andy Allan [Wed, 13 Nov 2024 11:51:50 +0000 (11:51 +0000)]
Add missing headers to docs

10 months agoUse fenced code blocks
Andy Allan [Wed, 13 Nov 2024 11:44:41 +0000 (11:44 +0000)]
Use fenced code blocks

For consistency with other documentation

10 months agoDon't update deactivates_at if block was already viewed
Anton Khorev [Mon, 11 Nov 2024 14:54:52 +0000 (17:54 +0300)]
Don't update deactivates_at if block was already viewed

10 months agoMerge remote-tracking branch 'upstream/pull/5310'
Tom Hughes [Tue, 12 Nov 2024 19:01:22 +0000 (19:01 +0000)]
Merge remote-tracking branch 'upstream/pull/5310'

10 months agoMerge remote-tracking branch 'upstream/pull/5311'
Tom Hughes [Tue, 12 Nov 2024 18:54:36 +0000 (18:54 +0000)]
Merge remote-tracking branch 'upstream/pull/5311'

10 months agoUpdate bundle
Tom Hughes [Tue, 12 Nov 2024 17:10:52 +0000 (17:10 +0000)]
Update bundle

10 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 11 Nov 2024 12:13:21 +0000 (13:13 +0100)]
Localisation updates from https://translatewiki.net.

11 months agoRestore loading spinner in richtext previews
Anton Khorev [Fri, 8 Nov 2024 12:04:38 +0000 (15:04 +0300)]
Restore loading spinner in richtext previews

11 months agoSend notifications to note subscribers instead of commenters
Anton Khorev [Wed, 23 Oct 2024 23:25:27 +0000 (02:25 +0300)]
Send notifications to note subscribers instead of commenters

11 months agoMerge remote-tracking branch 'upstream/pull/5307'
Tom Hughes [Fri, 8 Nov 2024 08:03:41 +0000 (08:03 +0000)]
Merge remote-tracking branch 'upstream/pull/5307'

11 months agoMerge remote-tracking branch 'upstream/pull/5304'
Tom Hughes [Fri, 8 Nov 2024 08:03:28 +0000 (08:03 +0000)]
Merge remote-tracking branch 'upstream/pull/5304'

11 months agoReplace query marker fade animation with css
Anton Khorev [Thu, 7 Nov 2024 08:39:54 +0000 (11:39 +0300)]
Replace query marker fade animation with css

11 months agoBackfill note subscriptions
Anton Khorev [Wed, 23 Oct 2024 15:20:25 +0000 (18:20 +0300)]
Backfill note subscriptions

11 months agoMerge remote-tracking branch 'upstream/pull/4464'
Tom Hughes [Thu, 7 Nov 2024 18:49:45 +0000 (18:49 +0000)]
Merge remote-tracking branch 'upstream/pull/4464'

11 months agoRemove hardcoded rate limit value
gobinathal [Mon, 8 Jan 2024 16:59:34 +0000 (22:29 +0530)]
Remove hardcoded rate limit value

Name is chosen to match the equivalent setting in the configuration
of the rate limits for edits.

Fixes #4427.

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 7 Nov 2024 12:13:21 +0000 (13:13 +0100)]
Localisation updates from https://translatewiki.net.

11 months agoUse resourceful routes for granting/revoking user roles
Anton Khorev [Mon, 28 Oct 2024 00:44:10 +0000 (03:44 +0300)]
Use resourceful routes for granting/revoking user roles

11 months agoFix new rubocop warnings
Tom Hughes [Tue, 5 Nov 2024 18:22:02 +0000 (18:22 +0000)]
Fix new rubocop warnings

11 months agoUpdate bundle
Tom Hughes [Tue, 5 Nov 2024 18:12:25 +0000 (18:12 +0000)]
Update bundle

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Tue, 5 Nov 2024 14:31:10 +0000 (15:31 +0100)]
Localisation updates from https://translatewiki.net.

11 months agoMerge remote-tracking branch 'upstream/pull/5301'
Tom Hughes [Mon, 4 Nov 2024 19:02:14 +0000 (19:02 +0000)]
Merge remote-tracking branch 'upstream/pull/5301'

11 months agoAdded new Danger labeling rule
Nenad Vujicic [Mon, 4 Nov 2024 15:54:30 +0000 (16:54 +0100)]
Added new Danger labeling rule

Added new rule which checks if Gemfile is updated and Gemfile.lock is not updated and if positive generates "gemfile-lock-outdated" PR label.

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 4 Nov 2024 12:13:41 +0000 (13:13 +0100)]
Localisation updates from https://translatewiki.net.

11 months agoMerge remote-tracking branch 'upstream/pull/5299'
Tom Hughes [Sun, 3 Nov 2024 18:53:12 +0000 (18:53 +0000)]
Merge remote-tracking branch 'upstream/pull/5299'

11 months agoBump eslint from 9.13.0 to 9.14.0
dependabot[bot] [Fri, 1 Nov 2024 23:03:47 +0000 (23:03 +0000)]
Bump eslint from 9.13.0 to 9.14.0

Bumps [eslint](https://github.com/eslint/eslint) from 9.13.0 to 9.14.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/v9.13.0...v9.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
11 months agoMerge remote-tracking branch 'upstream/pull/5284'
Tom Hughes [Thu, 31 Oct 2024 18:00:39 +0000 (18:00 +0000)]
Merge remote-tracking branch 'upstream/pull/5284'

11 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 31 Oct 2024 12:14:06 +0000 (13:14 +0100)]
Localisation updates from https://translatewiki.net.

11 months agoUpdate to rails 7.2.2
Tom Hughes [Thu, 31 Oct 2024 08:33:36 +0000 (08:33 +0000)]
Update to rails 7.2.2

11 months agoAdjust imports for leaflet.locatecontrol
Tom Hughes [Wed, 30 Oct 2024 18:41:43 +0000 (18:41 +0000)]
Adjust imports for leaflet.locatecontrol