Commit graph

11498 commits

Author SHA1 Message Date
Andy Allan
bf1f882eb8 Genericese comment 2022-08-10 17:19:46 +01:00
Andy Allan
87bb2a717d Use each_with_object 2022-08-10 14:01:42 +01:00
Andy Allan
5dcb4aa8fd Use member syntax for accessing communities 2022-08-10 13:54:14 +01:00
Andy Allan
d20632de9c Restrict files read from directory 2022-08-10 13:48:27 +01:00
Andy Allan
d29807d715 Upgrade osm-communities-index package 2022-08-10 13:47:12 +01:00
Andy Allan
e59ba78575 Use lead text highlighting for lede paragraph 2022-08-03 10:35:13 +01:00
Andy Allan
83a0ea14f1 Refactor i18n so that all community information is available
This makes it easier to use non-chapter communities on the site in future.
2022-08-03 10:11:30 +01:00
Andy Allan
bb7f5ac2c8 Switch to using FrozenRecord for loading communities
This allows us to query the records to get the local chapters, which
is more flexible and allows us to use other resources too.
2022-07-27 16:19:08 +01:00
Andy Allan
819e5ecf94 Add system tests for communities page 2022-04-27 17:14:31 +01:00
Andy Allan
d17d13c806 Use map rather than foo = [] ... each ... foo.push(bar) 2022-03-30 18:03:11 +01:00
Andy Allan
44286b46b1 Use String#tr instead of String.split(foo).join(bar) 2022-03-30 17:41:30 +01:00
Andy Allan
202846528d Minor tweaks to the LC text 2022-03-30 17:38:44 +01:00
Andy Allan
e530d4f54d Move the i18n loading to an initializer
Use after_initialize to avoid rails resetting the translations
2022-03-02 16:24:02 +00:00
Andy Allan
1bcde09125 Unnest OsmCommunityIndex
No need for OsmCommunityIndex::OsmCommunityIndex.foo
2022-03-02 16:23:07 +00:00
Andy Allan
30b3a971bc Rubocop autofixes 2022-03-02 15:52:04 +00:00
Andy Allan
9e496e44c4 Simplify template markup 2022-03-02 15:48:51 +00:00
Adam Hoyle
b4ec1c9f3d Fix: add osm-community-index localisation data to I18n 2022-02-10 22:28:40 +00:00
Adam Hoyle
46875fdde3
Merge branch 'master' into feature/add-communities-page 2021-12-14 10:42:42 +00:00
Adam Hoyle
a1db3f9ae4 Fix: only call store_translations once per locale 2021-12-14 10:39:25 +00:00
Adam Hoyle
e412ac319c Fix: local chapter filtering is duplicating the logic elsewhere in the file. 2021-12-14 10:37:35 +00:00
Adam Hoyle
6b8c58d2eb Skip path rebuilding 2021-12-14 10:17:02 +00:00
translatewiki.net
bae2900288 Localisation updates from https://translatewiki.net. 2021-12-13 13:11:28 +01:00
translatewiki.net
9c1d3de3ca Localisation updates from https://translatewiki.net. 2021-12-09 13:11:53 +01:00
Tom Hughes
6ccd579616 Update bundle 2021-12-07 18:16:37 +00:00
Tom Hughes
3e88348b27 Merge remote-tracking branch 'upstream/pull/3393' 2021-12-07 00:03:34 +00:00
Tom Hughes
b8b3e1fe62 Merge remote-tracking branch 'upstream/pull/3392' 2021-12-07 00:03:30 +00:00
Tom Hughes
6cab757581 Merge remote-tracking branch 'upstream/pull/3391' 2021-12-07 00:03:28 +00:00
dependabot[bot]
9799d10b4b
Bump qs from 6.10.1 to 6.10.2
Bumps [qs](https://github.com/ljharb/qs) from 6.10.1 to 6.10.2.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.10.1...v6.10.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 23:01:02 +00:00
dependabot[bot]
ae16db4e8b
Bump eslint from 8.3.0 to 8.4.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.3.0 to 8.4.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.3.0...v8.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-06 23:00:53 +00:00
translatewiki.net
9d29183d5e Localisation updates from https://translatewiki.net. 2021-12-06 13:10:46 +01:00
Morten Bruhn
07f219f1ac
Added highway=turning_circle 2021-12-06 01:08:56 +01:00
translatewiki.net
3758542aff Localisation updates from https://translatewiki.net. 2021-12-02 13:11:11 +01:00
Tom Hughes
46948d4359 Merge remote-tracking branch 'upstream/pull/3388' 2021-12-01 18:22:11 +00:00
Andy Allan
d8cbbbc4ad Revert to the last es5-compatible version of locatecontrol
Refs #3387
2021-12-01 13:25:04 +00:00
Andy Allan
c4adeda099
Merge pull request #3384 from HolgerJeromin/patch-1
bug issue template: removed browsers
2021-12-01 10:07:49 +00:00
Tom Hughes
70aa36827a Update bundle 2021-11-30 18:39:14 +00:00
Tom Hughes
7dc41a5308 Merge remote-tracking branch 'upstream/pull/3385' 2021-11-29 18:47:43 +00:00
translatewiki.net
bffc84cc37 Localisation updates from https://translatewiki.net. 2021-11-29 13:09:28 +01:00
dependabot[bot]
f047afe873
Bump leaflet.locatecontrol from 0.74.1 to 0.76.0
Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.74.1 to 0.76.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.74.1...v0.76.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>
2021-11-26 23:00:56 +00:00
Holger Jeromin
4f95d88bc7
remove browser list 2021-11-26 15:17:47 +01:00
Holger Jeromin
7365ea908b
bug issue template: resorting browsers 2021-11-26 13:16:06 +01:00
Tom Hughes
a14eff9177 Merge remote-tracking branch 'upstream/pull/3379' 2021-11-25 17:26:30 +00:00
Tom Hughes
1a65c279aa Merge remote-tracking branch 'upstream/pull/3382' 2021-11-25 17:19:26 +00:00
Tom Hughes
54a158aef3 Merge remote-tracking branch 'upstream/pull/3381' 2021-11-25 17:18:02 +00:00
Tom Hughes
4eecd59a5d Merge remote-tracking branch 'upstream/pull/3380' 2021-11-25 17:15:54 +00:00
Tom Hughes
5dfbf00776 Merge remote-tracking branch 'upstream/pull/3378' 2021-11-25 17:15:10 +00:00
Tom Hughes
b6f0c40a60 Merge remote-tracking branch 'upstream/pull/3377' 2021-11-25 17:12:26 +00:00
Tom Hughes
d418edd777 Merge remote-tracking branch 'upstream/pull/3376' 2021-11-25 17:11:02 +00:00
translatewiki.net
27b2d8db08 Localisation updates from https://translatewiki.net. 2021-11-25 13:12:20 +01:00
Adam Hoyle
764f808d5a Remove hand rolled i18n support 2021-11-24 22:47:19 +00:00