Commit graph

12272 commits

Author SHA1 Message Date
Tom Hughes
17911cd2ee Make tmp persistent in docker 2022-12-21 19:13:50 +00:00
Tom Hughes
c46d1a0cad Update storage volume configuration for docker 2022-12-21 18:53:31 +00:00
Tom Hughes
fb9219a52f Use rails instead of rake 2022-12-21 17:09:21 +00:00
Andy Allan
6f471c72c9 Wait for the button to be disabled, before checking the tooltip behaviour
Rather than sleeping for a fixed period, we can use Capybara's built-in
ability to wait for elements to be present. Since we're only changing
the state of existing elements though, we need to wait for their
"disabled" property to be set.

Fixes some timing-related problems with the test suite.
2022-12-21 17:08:51 +00:00
Tom Hughes
7d80c7747f Merge remote-tracking branch 'upstream/pull/3852' 2022-12-21 15:56:22 +00:00
Andy Allan
ace8e9a9c3 Fix redirection to wiki when terms are declined
Adds missing test to pick this up.

Fixes #3826.
2022-12-21 15:39:23 +00:00
Tom Hughes
fd283efa51 Fix new rubocop warnings 2022-12-20 18:57:12 +00:00
Tom Hughes
eb9435f756 Update bundle 2022-12-20 18:55:04 +00:00
Tom Hughes
ab5f369b50 Merge remote-tracking branch 'upstream/pull/3851' 2022-12-20 18:51:14 +00:00
dependabot[bot]
4a44f34c0e
Bump eslint from 8.29.0 to 8.30.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.29.0 to 8.30.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.29.0...v8.30.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-19 23:00:39 +00:00
Tom Hughes
3218e40f52 Fix resource names for Oauth 2 bottons
Fixes #3850
2022-12-18 19:42:48 +00:00
translatewiki.net
7b72e4f3c3 Localisation updates from https://translatewiki.net. 2022-12-15 13:14:33 +01:00
Tom Hughes
768ff8d72e Set the tooltip on the edit tab after the locale is set
Fixes #3839
2022-12-14 21:48:28 +00:00
Andy Allan
bd93eafdcb
Merge pull request #3817 from LaoshuBaby/readme-translate-change
docs(README.md): add communities name translate guide
2022-12-14 16:39:56 +00:00
Andy Allan
22dc13d6ed Rephrase the OCI description for clarity
Where the list of chapters come from is of interest to developers,
beyond just in the context of i18n. So make this topic into its own
item, rather than a sub-part of the general translation item.
2022-12-14 16:32:19 +00:00
Tom Hughes
9e1dfe35c7 Merge remote-tracking branch 'upstream/pull/3844' 2022-12-14 15:48:09 +00:00
Andy Allan
4ab134d869 Use fallbacks for OCI resource names
This uses the fallbacks for OCI translations. For example, if a
local chapter doesn't have an explicitly translated name, it will
use a template for osm-lc resources and fill in the appropriate
translated community name.

Fixes #3814
2022-12-14 14:54:01 +00:00
Tom Hughes
eb26f8f62b Fix new rubocop warnings 2022-12-13 20:26:25 +00:00
Tom Hughes
02ed416e12 Update bundle 2022-12-13 20:26:25 +00:00
dependabot[bot]
96f68da077
Bump osm-community-index from 5.3.1 to 5.4.0
Bumps [osm-community-index](https://github.com/osmlab/osm-community-index) from 5.3.1 to 5.4.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.3.1...v5.4.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>
2022-12-12 23:00:42 +00:00
translatewiki.net
6663e23d43 Localisation updates from https://translatewiki.net. 2022-12-12 13:12:45 +01:00
Tom Hughes
23f73d0be0 Avoid duplicate initialisation warnings 2022-12-10 15:33:49 +00:00
Tom Hughes
6bbe6802d0 Fix eslint warnings 2022-12-09 19:01:10 +00:00
Tom Hughes
0e9aaed345 Merge remote-tracking branch 'upstream/pull/3606' 2022-12-09 17:17:25 +00:00
Tom Hughes
8b92cf9e90 Run tests on ubuntu 20.04 and 22.04 with ruby 3.1
Ubuntu 22.04 actually uses ruby 3.0 but ruby/setup-ruby currently
only supports ruby 3.1 there so this is the best we can do.
2022-12-09 15:45:48 +00:00
Tom Hughes
e2f071869f Increase delay to improve test reliability 2022-12-09 15:43:23 +00:00
Tom Hughes
bf249af5b3 Set secure flag for matomo cookies 2022-12-08 22:45:02 +00:00
Tom Hughes
f20b250ba9 Allow matomo cookie timeouts to be configured 2022-12-08 22:29:08 +00:00
translatewiki.net
222f4615a3 Localisation updates from https://translatewiki.net. 2022-12-08 13:13:52 +01:00
Tom Hughes
2b4ad599f4 Merge remote-tracking branch 'upstream/pull/3832' 2022-12-08 08:11:52 +00:00
dependabot[bot]
b1d15b29b0
Bump nokogiri from 1.13.9 to 1.13.10
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.13.9 to 1.13.10.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.13.9...v1.13.10)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-08 03:40:24 +00:00
Tom Hughes
7fc7800c77 Merge remote-tracking branch 'upstream/pull/3830' 2022-12-07 18:22:14 +00:00
Tom Hughes
0ecc9c67c5 Merge remote-tracking branch 'upstream/pull/3828' 2022-12-07 18:19:27 +00:00
Andy Allan
479c1575e1 Remove tile_for_point SQL functions
This removes both the pl/pgsql version and the shared library version
of the `tile_for_point` SQL function. This function was only used in some
old migrations, and is not required for production usage.

Removing this function simplifies the installation and configuration for
new developers.

These SQL functions are separate from the `tile_for_point` ruby/C function
which is part of the quad_tile gem. This function is still used when
creating and updating database records.

Fixes #3110.
2022-12-07 17:22:50 +00:00
Anton Khorev
31ca37a1d0 Remove fallback code for undefined history.pushState() 2022-12-07 10:57:30 +03:00
Tom Hughes
74a79711e1 Update bundle 2022-12-06 19:20:45 +00:00
translatewiki.net
9273f7d4a7 Localisation updates from https://translatewiki.net. 2022-12-05 13:12:45 +01:00
Tom Hughes
007e1b26cd Only send user IDs to matomo when configured to do so 2022-12-04 18:54:07 +00:00
Tom Hughes
650ecfa7df Merge remote-tracking branch 'upstream/pull/3821' 2022-12-03 11:06:11 +00:00
Tom Hughes
39cc056fa2 Merge remote-tracking branch 'upstream/pull/3825' 2022-12-03 11:00:33 +00:00
Tom Hughes
5becba91d0 Merge remote-tracking branch 'upstream/pull/3822' 2022-12-03 11:00:30 +00:00
Tom Hughes
12c1d5e6c0 Merge remote-tracking branch 'upstream/pull/3126' 2022-12-03 10:59:14 +00:00
dependabot[bot]
f436933433
Bump eslint from 8.28.0 to 8.29.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.28.0 to 8.29.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.28.0...v8.29.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-02 23:00:33 +00:00
translatewiki.net
d90bbff346 Localisation updates from https://translatewiki.net. 2022-12-01 13:13:32 +01:00
dependabot[bot]
37e144693b
Bump leaflet.locatecontrol from 0.78.0 to 0.79.0
Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.78.0 to 0.79.0.
- [Release notes](https://github.com/domoritz/leaflet-locatecontrol/releases)
- [Changelog](https://github.com/domoritz/leaflet-locatecontrol/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/domoritz/leaflet-locatecontrol/compare/v0.78.0...v0.79.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-30 23:00:42 +00:00
mmd-osm
ec121dde4f Add more testcases to changesets_controller
Extracted from pull request #1995
2022-11-30 22:32:20 +01:00
Tom Hughes
6ffe31795b Make tooltip tests more robust 2022-11-30 12:58:13 +00:00
Tom Hughes
152414861c Merge remote-tracking branch 'upstream/pull/3688' 2022-11-30 12:19:57 +00:00
Tom Hughes
85f4441311 Merge remote-tracking branch 'upstream/pull/3820' 2022-11-30 12:06:24 +00:00
Andy Allan
a11e156f56 Use mail_to help to avoid handcrafting mailto links
This also reworks the user suspended page to avoid having html in
the translation strings.
2022-11-30 11:13:44 +00:00