Commit graph

13276 commits

Author SHA1 Message Date
Tom Hughes
c12f8959dd Require user names to be unique after unicode normalisation
As with the previous checks on case sensitivity this only affects
new users, and changes to names of existing users.
2023-12-13 22:27:36 +00:00
Tom Hughes
75042a04a1 Merge remote-tracking branch 'upstream/pull/4398' 2023-12-12 18:40:33 +00:00
Tom Hughes
0f318c76df Merge remote-tracking branch 'upstream/pull/4397' 2023-12-12 18:39:18 +00:00
Tom Hughes
b9ee576e2d Merge remote-tracking branch 'upstream/pull/4396' 2023-12-12 18:37:35 +00:00
Tom Hughes
737e4960b8 Update bundle 2023-12-12 18:12:31 +00:00
Tom Hughes
67b0b5b885 Run tests on ruby 3.2 2023-12-11 17:18:34 +00:00
Tom Hughes
1f0105c953 Use file_exists to provide File.exists? for ruby 3.2
This is needed for the oauth gem which uses it.
2023-12-11 17:17:28 +00:00
Anton Khorev
7e8af1e33a Update tram mapnik map key 2023-12-11 15:58:04 +03:00
Anton Khorev
1798b524b9 Update light rail mapnik map key 2023-12-11 15:58:04 +03:00
Anton Khorev
ecec7201bc Split tram map key i18n string 2023-12-11 15:58:04 +03:00
Anton Khorev
43eae8455e Update subway mapnik map key 2023-12-11 14:50:13 +03:00
Anton Khorev
a4ffbb2140 Update rail mapnik map key 2023-12-11 14:46:35 +03:00
Anton Khorev
9cda0240df Add reef mapnik map key 2023-12-11 14:18:36 +03:00
Anton Khorev
63d5f81711 Add wetland mapnik map key 2023-12-11 14:12:08 +03:00
Anton Khorev
a2dc26ddc6 Add intermittent waterbody mapnik map key
47a96cb609/style/water.mss (L30)
2023-12-11 13:23:55 +03:00
Anton Khorev
844e81b944 Update tunnel and bridge mapnik map key 2023-12-11 12:36:58 +03:00
Anton Khorev
cc0fe00164 Update peak mapnik map key
47a96cb609/style/amenity-points.mss (L1384)
2023-12-11 12:13:11 +03:00
Anton Khorev
a4182f4a0a Update station mapnik map key
47a96cb609/style/stations.mss (L21)
2023-12-11 12:02:33 +03:00
Anton Khorev
d5039b285b Update major building mapnik map key
47a96cb609/style/buildings.mss (L23)
2023-12-11 11:50:35 +03:00
Anton Khorev
327ceda912 Update societal amenities mapnik map key
47a96cb609/style/landcover.mss (L596)
2023-12-11 11:33:43 +03:00
Tom Hughes
e272cda348 Merge remote-tracking branch 'upstream/pull/4395' 2023-12-10 18:50:00 +00:00
Tom Hughes
59e1bd38b6 Merge remote-tracking branch 'upstream/pull/4394' 2023-12-10 18:49:20 +00:00
Anton Khorev
e108a13843 Update bounded landuses 2023-12-08 23:52:04 +03:00
Anton Khorev
92ab24baa0 Update landuse features 2023-12-08 23:05:03 +03:00
Anton Khorev
1dcf2fb9f4 Add glacier images with borders 2023-12-08 21:42:33 +03:00
Anton Khorev
fcf980615d Update landcover features visible on z5 2023-12-08 21:30:26 +03:00
Anton Khorev
ddbf69dcee Update admin boundary color 2023-12-08 20:51:30 +03:00
Anton Khorev
60c3deaa16 Sort lowest zoom level features 2023-12-08 20:48:21 +03:00
Anton Khorev
96a7e3b06c Add opnvkarte map key line widths on high zoom levels 2023-12-08 13:48:31 +03:00
Anton Khorev
d9b9e13be1 Allow to omit max_zoom if next map key entry has min_zoom 2023-12-08 13:21:57 +03:00
Anton Khorev
9ac70151a8 Load map key data in controller 2023-12-08 12:55:18 +03:00
Tom Hughes
e78aee9585 Merge remote-tracking branch 'upstream/pull/4371' 2023-12-07 16:19:23 +00:00
Tom Hughes
38bcc001e3 Merge remote-tracking branch 'upstream/pull/4392' 2023-12-07 16:06:22 +00:00
Anton Khorev
58eccb6eb4 Add stop markers for opnvkarte map key 2023-12-07 13:19:38 +03:00
Anton Khorev
8d72cd2e60 Add high-zoom rail shape for opnvkarte map key 2023-12-07 13:11:27 +03:00
Anton Khorev
10f75b9342 Add rail dash pattern for opnvkarte map key on zoom 11+ 2023-12-07 13:08:17 +03:00
Anton Khorev
68fbe6182b Update opnvkarte map key line widths up to 4px for different zooms 2023-12-07 13:00:48 +03:00
Anton Khorev
01b9f2b965 Add transportation map key for opnvkarte 2023-12-07 12:49:38 +03:00
Anton Khorev
800106c72b Allow to omit zoom levels for map key entries 2023-12-07 12:38:24 +03:00
Andy Allan
4bca24a7be Resourceful routing for passwords
This also matches the routes used by devise
2023-12-06 18:41:00 +00:00
Andy Allan
1d0f588d62 Use path and url helpers for password links 2023-12-06 18:39:25 +00:00
Tom Hughes
d303b4f6e9 Merge remote-tracking branch 'upstream/pull/4391' 2023-12-06 17:54:47 +00:00
Tom Hughes
3c3a499e93 Merge remote-tracking branch 'upstream/pull/4390' 2023-12-06 17:53:15 +00:00
Tom Hughes
ddf6689e9e Merge remote-tracking branch 'upstream/pull/4389' 2023-12-06 17:50:42 +00:00
Tom Hughes
77797b21b0 Merge remote-tracking branch 'upstream/pull/4388' 2023-12-06 17:47:14 +00:00
Andy Allan
367fa44a74 Migrate some sequences to use bigints
These primary keys were converted to bigints in migrations, but the
sequences were left unmentioned. If the original migrations are run on
postgresql 10.0+, then this leads to a mismatch in column types vs sequence
types. This migration fixes these mismatches.

If the original migrations were run on postgresql < 10, all sequences were
bigints anyway, and this migration is a no-op.

If the sequence is a bigint, then postgresql doesn't output that fact in the
statement dump.

Refs #4298
2023-12-06 14:54:12 +00:00
Andy Allan
c44e936bfb Remove normalisation of immutable keyword
This was no longer required after removing the database functions.
2023-12-06 13:59:58 +00:00
Andy Allan
791db6e892 Remove the references to plpgsql extension
This has been built-in since postgresql 9.0
2023-12-06 13:50:02 +00:00
Andy Allan
36045859af Remove the sequence type normalisation
This can mask important matters with the definition of sequences
2023-12-06 13:36:52 +00:00
Andy Allan
16d3c77427 Remove the timestamp normalisation
The precision of the timestamps is controlled in our migrations,
and so any mismatch should be marked as an error.

The ar_internal_metadata is not controlled, but is timestamp(6) for
rails 6.0+ installations, and so this won't fail in CI.
2023-12-06 13:36:52 +00:00