Commit graph

12291 commits

Author SHA1 Message Date
Andy Allan
0925035a3e Add tests to ensure tokens are revoked
This ensures that tokens are revoked or invalidated when a user
is soft destroyed.
2022-12-28 15:25:57 +00:00
Andy Allan
e69716ca05
Merge pull request #3860 from gravitystorm/yaml_quoting
Quote ruby versions in yaml
2022-12-28 14:05:11 +00:00
Andy Allan
61e0fa5f63 Quote ruby versions in yaml
Without quotes these are parsed as numbers, which can cause subtle
problems. For example, "ruby: 3.0" is interpreted by the
ruby/setup-rubyaction as "ruby: 3", meaning 3.x instead of the
intended 3.0.x
2022-12-28 10:04:32 +00:00
translatewiki.net
88b4555472 Localisation updates from https://translatewiki.net. 2022-12-26 13:16:29 +01:00
Tom Hughes
9cb7a7b36b Don't allow any abilities for inactive users 2022-12-23 16:37:33 +00:00
Tom Hughes
445e8162e9 Revoke authentication tokens when a user is deleted 2022-12-23 16:24:10 +00:00
Tom Hughes
18c2bf62ae Fix eslint warnings 2022-12-22 17:01:59 +00:00
Tom Hughes
26fedd0031 Fix eslint warnings 2022-12-22 16:59:42 +00:00
Tom Hughes
3ff8ef52b7 Merge remote-tracking branch 'upstream/pull/3848' 2022-12-22 16:43:41 +00:00
Christian Beiwinkel
1e33272153 consistent naming of FOSSGIS routers 2022-12-22 17:39:50 +01:00
Christian Beiwinkel
613c1ba234 added manoeuvre numbering 2022-12-22 17:33:20 +01:00
Tom Hughes
605703cdac Merge remote-tracking branch 'upstream/pull/3857' 2022-12-22 15:52:05 +00:00
Tom Hughes
5be5155e03 Merge remote-tracking branch 'upstream/pull/3856' 2022-12-22 15:49:28 +00:00
translatewiki.net
336571f12e Localisation updates from https://translatewiki.net. 2022-12-22 13:14:21 +01:00
Andy Allan
f78c032b07 Use buttons for dropdown toggles
These elements don't link to another page, and so there's no need
to use a link that leads to nowhere.
2022-12-22 09:56:56 +00:00
Tom Hughes
72c7d202a8 Precompile assets before running tests in actions workflows 2022-12-21 19:13:57 +00:00
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
Andy Allan
415ac577f3 Remove some old debugging comments 2022-12-21 12:05:15 +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
Christian Beiwinkel
85f627c5c2 added valhalla routing engine 2022-12-16 17:05:36 +01:00
Christian Beiwinkel
9389a7698a renamed fossgis engine 2022-12-16 16:57:14 +01: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