Commit graph

11486 commits

Author SHA1 Message Date
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
Adam Hoyle
ad900553cb Add relevant osm-community-index data into I18n 2021-11-24 22:22:32 +00:00
Andy Allan
3aa8292d6d Drop the trace_use_job_queue option
This has been set as true by default, and in production, for many
years. I don't think there's much use in keeping the setting around
any longer.
2021-11-24 15:23:27 +00:00
Andy Allan
17963b4da7 Remove emergency=yes fallback description
This leads to confusion on features otherwise tagged (e.g. roads)
while not being necessary for nominatim results.

Fixes #3170
2021-11-24 14:59:27 +00:00
Andy Allan
c343f3ed3e Prevent flash messages from expanding offscreen
Because we are using an edge-to-edge layout for the flash messages,
the negative margins on the row were expanding the element offscreen.

Bootstrap provides a "no-gutter" class for removing these margins,
but that also drops the spacing between columns which we want to preserve.
So instead we use a margin override on the row only.

Additionally, drop some padding css in favour of a utility class

Fixes #3351

Bug was introduced in 3dd639c8d0
2021-11-24 14:32:36 +00:00
Andy Allan
55356dbb9b Add some issue templates and links to other repositories
This should help new users find the right place to go with their issue,
while also letting people use the blank template if they prefer.

The templates are heavily inspired by similar templates in the iD repo.

Fixes #3358
2021-11-24 13:41:37 +00:00
Andy Allan
675f72fe35 Use flex grid to position changeset discussion subscribe button
This avoids needing any floats. Also remove buttons class from two
locations, since there is a min-width on that class and it affects
the button styling negatively for standalone buttons
2021-11-24 12:24:16 +00:00
Andy Allan
8249b41a83 Remove some unused thumbnail rules
These are all done with flex grids now, so no need to float the image anywhere
2021-11-24 12:24:16 +00:00
Andy Allan
cb68450ac7 Simplify margins when showing diary entries 2021-11-24 12:24:16 +00:00
Andy Allan
514ec41c58 Remove unused browse-field style rules 2021-11-24 12:24:16 +00:00
Andy Allan
3bc20b6f21 Pass classes to override the default thumbnail_tiny style, rather than having another selector overriding 2021-11-24 12:24:16 +00:00
Andy Allan
52cd62bf13 Replace CSS-driven borders with bootstrap borders
This makes future refactoring easier, since the elements will
retain their borders even if the hierarchy changes.

Also round some maps and the legale section since I think those now
look nicer.
2021-11-24 12:24:16 +00:00
Andy Allan
f433fb3d4e Remove border-radius parameter
This overrides the same variable from bootstrap. Since bootstrap
also comes with -sm and -lg variants defined by rem, our px-based
override doesn't sit nicely with those.
2021-11-24 12:24:08 +00:00