]> git.openstreetmap.org Git - rails.git/log
rails.git
2 years agoTreat notes as map objects
Anton Khorev [Tue, 4 Oct 2022 12:40:25 +0000 (15:40 +0300)]
Treat notes as map objects

2 years agoKeep id passed to note page for subsequent use in map current object
Anton Khorev [Tue, 4 Oct 2022 12:32:33 +0000 (15:32 +0300)]
Keep id passed to note page for subsequent use in map current object

2 years agoMerge remote-tracking branch 'upstream/pull/3726'
Tom Hughes [Mon, 3 Oct 2022 18:20:36 +0000 (19:20 +0100)]
Merge remote-tracking branch 'upstream/pull/3726'

2 years agoUpdate bundle
Tom Hughes [Mon, 3 Oct 2022 17:17:33 +0000 (18:17 +0100)]
Update bundle

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

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

2 years agoRemove 'Hide' button from hidden note page
Anton Khorev [Wed, 28 Sep 2022 22:11:12 +0000 (01:11 +0300)]
Remove 'Hide' button from hidden note page

2 years agoMerge remote-tracking branch 'upstream/pull/3716'
Tom Hughes [Tue, 27 Sep 2022 16:26:44 +0000 (17:26 +0100)]
Merge remote-tracking branch 'upstream/pull/3716'

2 years agoMerge remote-tracking branch 'upstream/pull/3714'
Tom Hughes [Tue, 27 Sep 2022 16:22:41 +0000 (17:22 +0100)]
Merge remote-tracking branch 'upstream/pull/3714'

2 years agoMerge remote-tracking branch 'upstream/pull/3724'
Tom Hughes [Tue, 27 Sep 2022 16:11:10 +0000 (17:11 +0100)]
Merge remote-tracking branch 'upstream/pull/3724'

2 years agoMerge remote-tracking branch 'upstream/pull/3723'
Tom Hughes [Tue, 27 Sep 2022 16:10:34 +0000 (17:10 +0100)]
Merge remote-tracking branch 'upstream/pull/3723'

2 years agoUpdate bundle
Tom Hughes [Tue, 27 Sep 2022 16:05:55 +0000 (17:05 +0100)]
Update bundle

2 years agoUpdate to iD v2.22.0
Martin Raifer [Tue, 27 Sep 2022 09:56:30 +0000 (11:56 +0200)]
Update to iD v2.22.0

2 years agoBump eslint from 8.23.1 to 8.24.0
dependabot[bot] [Mon, 26 Sep 2022 23:00:41 +0000 (23:00 +0000)]
Bump eslint from 8.23.1 to 8.24.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.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.23.1...v8.24.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, 26 Sep 2022 11:13:05 +0000 (13:13 +0200)]
Localisation updates from https://translatewiki.net.

2 years agoRemove default xml format from notes routing test
Robbendebiene [Mon, 26 Sep 2022 07:13:40 +0000 (09:13 +0200)]
Remove default xml format from notes routing test

2 years agoBump leaflet from 1.8.0 to 1.9.1
dependabot[bot] [Fri, 23 Sep 2022 23:00:42 +0000 (23:00 +0000)]
Bump leaflet from 1.8.0 to 1.9.1

Bumps [leaflet](https://github.com/Leaflet/Leaflet) from 1.8.0 to 1.9.1.
- [Release notes](https://github.com/Leaflet/Leaflet/releases)
- [Changelog](https://github.com/Leaflet/Leaflet/blob/main/CHANGELOG.md)
- [Commits](https://github.com/Leaflet/Leaflet/compare/v1.8.0...v1.9.1)

---
updated-dependencies:
- dependency-name: leaflet
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoUse jquery interface for enabling/disabling tooltips
Anton Khorev [Fri, 23 Sep 2022 10:34:40 +0000 (13:34 +0300)]
Use jquery interface for enabling/disabling tooltips

2 years agoMerge branch 'master' into tooltips-enable-disable
Anton Khorev [Fri, 23 Sep 2022 09:43:31 +0000 (12:43 +0300)]
Merge branch 'master' into tooltips-enable-disable

2 years agoAllow setting HTTP ACCEPT header for notes API
Robbendebiene [Fri, 23 Sep 2022 09:40:19 +0000 (11:40 +0200)]
Allow setting HTTP ACCEPT header for notes API
Previously the notes API return type could only be specified by appending the file extension like .json or .rss

2 years agoMerge remote-tracking branch 'upstream/pull/3710'
Tom Hughes [Thu, 22 Sep 2022 17:04:28 +0000 (18:04 +0100)]
Merge remote-tracking branch 'upstream/pull/3710'

2 years agoMerge remote-tracking branch 'upstream/pull/3711'
Tom Hughes [Thu, 22 Sep 2022 17:02:46 +0000 (18:02 +0100)]
Merge remote-tracking branch 'upstream/pull/3711'

2 years agoMerge remote-tracking branch 'upstream/pull/3712'
Tom Hughes [Thu, 22 Sep 2022 16:55:19 +0000 (17:55 +0100)]
Merge remote-tracking branch 'upstream/pull/3712'

2 years agoFix margin
danieldegroot2 [Thu, 22 Sep 2022 15:46:32 +0000 (17:46 +0200)]
Fix margin

Fix unexpected margin

2 years agoPan map when showing/hiding sidebars depending on ltr/rtl
Anton Khorev [Thu, 22 Sep 2022 13:33:28 +0000 (16:33 +0300)]
Pan map when showing/hiding sidebars depending on ltr/rtl

2 years agoDon't show 'Download XML' link for deleted elements
Anton Khorev [Thu, 22 Sep 2022 11:51:31 +0000 (14:51 +0300)]
Don't show 'Download XML' link for deleted elements

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

2 years agoCancel running queries when a timeout occurs
Tom Hughes [Wed, 21 Sep 2022 21:47:16 +0000 (22:47 +0100)]
Cancel running queries when a timeout occurs

2 years agoMerge remote-tracking branch 'upstream/pull/3705'
Tom Hughes [Wed, 21 Sep 2022 17:48:25 +0000 (18:48 +0100)]
Merge remote-tracking branch 'upstream/pull/3705'

2 years agoMerge remote-tracking branch 'upstream/pull/3708'
Tom Hughes [Wed, 21 Sep 2022 17:46:12 +0000 (18:46 +0100)]
Merge remote-tracking branch 'upstream/pull/3708'

2 years agoChange map ui sidebar height together with map height
Anton Khorev [Wed, 21 Sep 2022 13:50:14 +0000 (16:50 +0300)]
Change map ui sidebar height together with map height

2 years agoUpdate bundle
Tom Hughes [Tue, 20 Sep 2022 17:10:50 +0000 (18:10 +0100)]
Update bundle

2 years agoRemove unnecessary wrapper divs
Anton Khorev [Tue, 20 Sep 2022 07:15:19 +0000 (10:15 +0300)]
Remove unnecessary wrapper divs

2 years agoMerge remote-tracking branch 'upstream/pull/3703'
Tom Hughes [Mon, 19 Sep 2022 16:46:46 +0000 (17:46 +0100)]
Merge remote-tracking branch 'upstream/pull/3703'

2 years agoMerge remote-tracking branch 'upstream/pull/3702'
Tom Hughes [Mon, 19 Sep 2022 16:46:04 +0000 (17:46 +0100)]
Merge remote-tracking branch 'upstream/pull/3702'

2 years agoMerge remote-tracking branch 'upstream/pull/3701'
Tom Hughes [Mon, 19 Sep 2022 16:42:47 +0000 (17:42 +0100)]
Merge remote-tracking branch 'upstream/pull/3701'

2 years agoSpecify border/spacing values in stylesheet
Anton Khorev [Mon, 19 Sep 2022 16:10:46 +0000 (19:10 +0300)]
Specify border/spacing values in stylesheet

2 years agoSet borders and spacing for control groups directly in js
Anton Khorev [Mon, 19 Sep 2022 15:50:04 +0000 (18:50 +0300)]
Set borders and spacing for control groups directly in js

Previous stylesheet code is more complicated.

2 years agoGroup map controls
Anton Khorev [Mon, 19 Sep 2022 15:20:34 +0000 (18:20 +0300)]
Group map controls

2 years agoCreate osm-specific locate control class
Anton Khorev [Mon, 19 Sep 2022 14:51:09 +0000 (17:51 +0300)]
Create osm-specific locate control class

2 years agoRemove unused icon list css from welcome pages
Anton Khorev [Mon, 19 Sep 2022 11:38:56 +0000 (14:38 +0300)]
Remove unused icon list css from welcome pages

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

2 years agoRemove unused tooltips css
Anton Khorev [Mon, 19 Sep 2022 09:21:13 +0000 (12:21 +0300)]
Remove unused tooltips css

2 years agoVertically center about page icons with flex align-items
Anton Khorev [Mon, 19 Sep 2022 08:28:58 +0000 (11:28 +0300)]
Vertically center about page icons with flex align-items

2 years agoReplace <h5> used to set the font size with Bootstrap class h5
Anton Khorev [Mon, 19 Sep 2022 05:20:01 +0000 (08:20 +0300)]
Replace <h5> used to set the font size with Bootstrap class h5

2 years agoMerge remote-tracking branch 'upstream/pull/3695'
Tom Hughes [Sun, 18 Sep 2022 17:38:57 +0000 (18:38 +0100)]
Merge remote-tracking branch 'upstream/pull/3695'

2 years agoMerge remote-tracking branch 'upstream/pull/3699'
Tom Hughes [Sun, 18 Sep 2022 17:35:58 +0000 (18:35 +0100)]
Merge remote-tracking branch 'upstream/pull/3699'

2 years agoMerge remote-tracking branch 'upstream/pull/3698'
Tom Hughes [Sun, 18 Sep 2022 17:34:51 +0000 (18:34 +0100)]
Merge remote-tracking branch 'upstream/pull/3698'

2 years agoMerge remote-tracking branch 'upstream/pull/3697'
Tom Hughes [Sun, 18 Sep 2022 17:32:12 +0000 (18:32 +0100)]
Merge remote-tracking branch 'upstream/pull/3697'

2 years agoMerge remote-tracking branch 'upstream/pull/3696'
Tom Hughes [Sun, 18 Sep 2022 17:30:55 +0000 (18:30 +0100)]
Merge remote-tracking branch 'upstream/pull/3696'

2 years agoRemove old map sidebar close button css
Anton Khorev [Sat, 17 Sep 2022 10:53:21 +0000 (13:53 +0300)]
Remove old map sidebar close button css

2 years agoRemove background image-related css from about page
Anton Khorev [Sat, 17 Sep 2022 10:09:41 +0000 (13:09 +0300)]
Remove background image-related css from about page

Background images are no longer used on the page so these properties are not required.

2 years agoRemove buttons css class used only on new note page
Anton Khorev [Sat, 17 Sep 2022 07:51:10 +0000 (10:51 +0300)]
Remove buttons css class used only on new note page

2 years agoRemove unused pager secondary nav css
Anton Khorev [Sat, 17 Sep 2022 07:09:35 +0000 (10:09 +0300)]
Remove unused pager secondary nav css

2 years agoRemove unnecessary appendTo() that is undone by append() right away
Anton Khorev [Sat, 17 Sep 2022 06:14:46 +0000 (09:14 +0300)]
Remove unnecessary appendTo() that is undone by append() right away

2 years agoRemove share-tabs css class
Anton Khorev [Sat, 17 Sep 2022 05:47:22 +0000 (08:47 +0300)]
Remove share-tabs css class

2 years agoUse button group for share tabs
Anton Khorev [Sat, 17 Sep 2022 05:34:53 +0000 (08:34 +0300)]
Use button group for share tabs

2 years agoClarify Windows installation bad + alternatives
lectrician1 [Fri, 16 Sep 2022 20:52:07 +0000 (16:52 -0400)]
Clarify Windows installation bad + alternatives

State some ruby gems might not be supported and Docker is easiest solution.

2 years agoAdd further instructions for Windows users
lectrician1 [Fri, 16 Sep 2022 20:34:28 +0000 (16:34 -0400)]
Add further instructions for Windows users

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

2 years agoDefine a DEFAULT_FRESHLY_CLOSED_LIMIT constant
Harry Wood [Wed, 7 Sep 2022 14:03:27 +0000 (15:03 +0100)]
Define a DEFAULT_FRESHLY_CLOSED_LIMIT constant

Define DEFAULT_FRESHLY_CLOSED_LIMIT in the Note model to allow the 7 day limit to be referenced in the API controller and in the new `freshy_closed_until` logic. The default value is `7.days`. API users can still override this, but the website uses that default for the duration of the green "freshly closed" notes markers.

2 years agoDisplay how long until a note will disappear
Harry Wood [Thu, 1 Sep 2022 23:51:59 +0000 (00:51 +0100)]
Display how long until a note will disappear

Modify the message displayed at the bottom of the notes sidepanel. For already resolved notes we don't want to say "please resolve it". Fixes https://github.com/openstreetmap/openstreetmap-website/issues/3663

Instead explain that it will disappear from the map (so reporting is probably not necessary) and display how long to go until that happens. Tackling https://github.com/openstreetmap/openstreetmap-website/issues/3071

2 years agoLink prefixed wikipedia tags
Anton Khorev [Wed, 14 Sep 2022 22:00:19 +0000 (01:00 +0300)]
Link prefixed wikipedia tags

2 years agoMerge remote-tracking branch 'upstream/pull/3689'
Tom Hughes [Wed, 14 Sep 2022 17:24:14 +0000 (18:24 +0100)]
Merge remote-tracking branch 'upstream/pull/3689'

2 years agoMerge pull request #3678 from AntonKhorev/close-button-margins
Andy Allan [Wed, 14 Sep 2022 16:48:41 +0000 (17:48 +0100)]
Merge pull request #3678 from AntonKhorev/close-button-margins

Remove top margins from close buttons

2 years agoUse bootstrap breakpoint mixin
Andy Allan [Wed, 14 Sep 2022 15:52:54 +0000 (16:52 +0100)]
Use bootstrap breakpoint mixin

This has the same end result, but is more clear than an arbitrary
pixel number.

2 years agoUse bootstrap utility classes for showing the new user arm
Andy Allan [Wed, 14 Sep 2022 15:45:02 +0000 (16:45 +0100)]
Use bootstrap utility classes for showing the new user arm

The original value was close to the 'lg' breakpoint, but the 'md'
breakpoint is fine for this too.

2 years agoCombine small.scss into common.scss
Andy Allan [Wed, 14 Sep 2022 14:44:35 +0000 (15:44 +0100)]
Combine small.scss into common.scss

We've moved away from the idea of having extra rules for small screens,
and instead follow the bootstrap convention of designing for small
screens first and overriding those rules if needed for larger screens.

Having a separate file remaining for a limited number of small screen
rules is therefore counter-productive. Moving the remaining rules into
common.scss, adjacent to the related rules for larger screen, makes
the behaviour easier to understand, as well as making it easier to
refactor the rules to a small-screen-first approach.

2 years agoMerge remote-tracking branch 'upstream/pull/3680'
Tom Hughes [Tue, 13 Sep 2022 18:19:12 +0000 (19:19 +0100)]
Merge remote-tracking branch 'upstream/pull/3680'

2 years agoMerge remote-tracking branch 'upstream/pull/3687'
Tom Hughes [Tue, 13 Sep 2022 18:14:24 +0000 (19:14 +0100)]
Merge remote-tracking branch 'upstream/pull/3687'

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

2 years agoMerge pull request #3686 from AntonKhorev/embed-https
Andy Allan [Tue, 13 Sep 2022 08:08:47 +0000 (09:08 +0100)]
Merge pull request #3686 from AntonKhorev/embed-https

Use https in 'report a problem' link of embedded map

2 years agoAdd bootstrap to js globals
Anton Khorev [Tue, 13 Sep 2022 03:52:36 +0000 (06:52 +0300)]
Add bootstrap to js globals

2 years agoFix zoom level related tooltip for Edit button
Anton Khorev [Tue, 13 Sep 2022 02:26:49 +0000 (05:26 +0300)]
Fix zoom level related tooltip for Edit button

2 years agoFix zoom level related tooltips for layer checkboxes
Anton Khorev [Tue, 13 Sep 2022 01:20:57 +0000 (04:20 +0300)]
Fix zoom level related tooltips for layer checkboxes

2 years agoBump eslint from 8.23.0 to 8.23.1
dependabot[bot] [Mon, 12 Sep 2022 23:00:55 +0000 (23:00 +0000)]
Bump eslint from 8.23.0 to 8.23.1

Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [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.23.0...v8.23.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge tooltip fixes/tests
Anton Khorev [Mon, 12 Sep 2022 22:52:23 +0000 (01:52 +0300)]
Merge tooltip fixes/tests

2 years agoUse https in 'report a problem' link of embedded map
Anton Khorev [Mon, 12 Sep 2022 22:18:48 +0000 (01:18 +0300)]
Use https in 'report a problem' link of embedded map

2 years agoUpdate doorkeeper to 5.6.0
Tom Hughes [Mon, 12 Sep 2022 18:27:33 +0000 (19:27 +0100)]
Update doorkeeper to 5.6.0

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

2 years agoMerge branch 'master' into feature/add-communities-page
Adam Hoyle [Sat, 10 Sep 2022 15:10:08 +0000 (16:10 +0100)]
Merge branch 'master' into feature/add-communities-page

# Conflicts:
# Gemfile.lock
# package.json
# yarn.lock

2 years agoUpdate osm-community-index dependency version
Adam Hoyle [Sat, 10 Sep 2022 14:54:44 +0000 (15:54 +0100)]
Update osm-community-index dependency version

2 years agoUpdate text above list of local chapters
Adam Hoyle [Sat, 10 Sep 2022 14:52:57 +0000 (15:52 +0100)]
Update text above list of local chapters

2 years agoFix new rubocop warnings
Tom Hughes [Fri, 9 Sep 2022 21:36:39 +0000 (22:36 +0100)]
Fix new rubocop warnings

2 years agoUpdate to rails 7.0.4
Tom Hughes [Fri, 9 Sep 2022 21:34:29 +0000 (22:34 +0100)]
Update to rails 7.0.4

2 years agoFix background colour for badges on GPS traces
Tom Hughes [Fri, 9 Sep 2022 10:01:20 +0000 (11:01 +0100)]
Fix background colour for badges on GPS traces

Fixes #3681

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

2 years agoRewrite bbox only in place history atom links
Anton Khorev [Wed, 7 Sep 2022 19:13:57 +0000 (22:13 +0300)]
Rewrite bbox only in place history atom links

2 years agoUse nominatim_url setting more consistently
Tom Hughes [Wed, 7 Sep 2022 07:45:27 +0000 (08:45 +0100)]
Use nominatim_url setting more consistently

2 years agoUpdate bundle
Tom Hughes [Tue, 6 Sep 2022 17:14:11 +0000 (18:14 +0100)]
Update bundle

2 years agoMerge remote-tracking branch 'upstream/pull/3673'
Tom Hughes [Tue, 6 Sep 2022 17:13:43 +0000 (18:13 +0100)]
Merge remote-tracking branch 'upstream/pull/3673'

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

2 years agoMerge remote-tracking branch 'upstream/pull/3677'
Tom Hughes [Fri, 2 Sep 2022 21:27:15 +0000 (22:27 +0100)]
Merge remote-tracking branch 'upstream/pull/3677'

2 years agoRemove top margins from close buttons
Anton Khorev [Fri, 2 Sep 2022 14:00:01 +0000 (17:00 +0300)]
Remove top margins from close buttons

2 years agoSimplify css for text selection with stretched link
Anton Khorev [Fri, 2 Sep 2022 13:22:54 +0000 (16:22 +0300)]
Simplify css for text selection with stretched link

2 years agoMake changeset id also a link so it can be displayed over the stretched link and...
Anton Khorev [Fri, 2 Sep 2022 13:13:52 +0000 (16:13 +0300)]
Make changeset id also a link so it can be displayed over the stretched link and be text-selectable

2 years agoPut span inside stretched link to improve text selection
Anton Khorev [Fri, 2 Sep 2022 13:03:52 +0000 (16:03 +0300)]
Put span inside stretched link to improve text selection

2 years agoMerge remote-tracking branch 'upstream/pull/3675'
Tom Hughes [Thu, 1 Sep 2022 20:12:49 +0000 (21:12 +0100)]
Merge remote-tracking branch 'upstream/pull/3675'

2 years agoStretch changeset links in history lists
Anton Khorev [Thu, 1 Sep 2022 19:45:09 +0000 (22:45 +0300)]
Stretch changeset links in history lists

2 years agoDelete zh-hk.yml file that has been mapped to zh-HK.yml
Abijeet Patro [Thu, 1 Sep 2022 10:21:18 +0000 (15:51 +0530)]
Delete zh-hk.yml file that has been mapped to zh-HK.yml

See: https://gerrit.wikimedia.org/r/c/translatewiki/+/828590 as per #3669