Commit graph

11570 commits

Author SHA1 Message Date
Andy Allan
40e8482825 Alias the user creation_time column
This allows rails to set the created_at automatically, and so avoids
us from having to do so in a callback. It also hides the unusual
db column name from the rest of the app.
2021-12-22 14:48:07 +00:00
Andy Allan
a863be8831 Rename User#delete to User#destroy
"delete" is generally used for immediate SQL deletion without running
any callbacks or other ruby code, whereas "destroy" will trigger callbacks.

Although we don't currently use any callbacks, let's rename this method to
align better with the convention.
2021-12-22 11:32:33 +00:00
Tom Hughes
bf5f2890ac Update bundle 2021-12-21 18:34:35 +00:00
translatewiki.net
bb30a3d64b Localisation updates from https://translatewiki.net. 2021-12-20 13:11:17 +01:00
Tom Hughes
d7f7b0c46a Merge remote-tracking branch 'upstream/pull/3399' 2021-12-18 00:04:42 +00:00
dependabot[bot]
ff56828b4a
Bump eslint from 8.4.1 to 8.5.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.1 to 8.5.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.4.1...v8.5.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-17 23:00:40 +00:00
Tom Hughes
b244905cd2 Add a rake task to migrate trace data to ActiveStorage 2021-12-16 18:45:31 +00:00
Tom Hughes
0410596908 Switch traces to use ActiveStorage 2021-12-16 18:45:31 +00:00
Tom Hughes
ef85e8c7b3 Make the storage service to use for avatars configurable 2021-12-16 18:45:31 +00:00
Tom Hughes
767051451c Update to rails 6.1.4.4 2021-12-16 18:33:53 +00:00
translatewiki.net
d4dadf1fe2 Localisation updates from https://translatewiki.net. 2021-12-16 13:11:53 +01:00
Tom Hughes
c34ed1e370 Merge remote-tracking branch 'upstream/pull/3397' 2021-12-15 18:28:18 +00:00
Tom Hughes
34fe4c2ac4 Merge remote-tracking branch 'upstream/pull/3394' 2021-12-15 18:21:38 +00:00
Tom Hughes
6609047fdb Update to rails 6.1.4.3 2021-12-15 18:13:00 +00:00
Tom Hughes
8adb486130 Update to rails 6.1.4.2 2021-12-14 22:16:49 +00:00
Tom Hughes
6196b6f729 Update bundle 2021-12-14 22:13:25 +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
Andy Allan
a8e8ba1a64 Refactor the account edit/update pages out into a separate accounts controller 2021-12-08 15:17:50 +00:00
dependabot[bot]
48ca0a3ebf
Bump eslint from 8.4.0 to 8.4.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.4.0 to 8.4.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.4.0...v8.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-08 00:33:29 +00: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
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