]> git.openstreetmap.org Git - rails.git/log
rails.git
12 months agoMerge remote-tracking branch 'upstream/pull/4428'
Tom Hughes [Thu, 21 Dec 2023 11:01:48 +0000 (11:01 +0000)]
Merge remote-tracking branch 'upstream/pull/4428'

12 months agoMerge remote-tracking branch 'upstream/pull/4426'
Tom Hughes [Wed, 20 Dec 2023 18:39:57 +0000 (18:39 +0000)]
Merge remote-tracking branch 'upstream/pull/4426'

12 months agoMerge pull request #4284 from grekko/add_user_mute
Andy Allan [Wed, 20 Dec 2023 18:06:48 +0000 (18:06 +0000)]
Merge pull request #4284 from grekko/add_user_mute

Add UserMute to control message visibility

12 months agoUpdate minimum postgresql version
Andy Allan [Wed, 20 Dec 2023 15:30:16 +0000 (15:30 +0000)]
Update minimum postgresql version

We started requiring postgresql 12 after the migrations in #4319

12 months agoReduce changeset comment rate limits further in tests
Andy Allan [Wed, 20 Dec 2023 11:38:54 +0000 (11:38 +0000)]
Reduce changeset comment rate limits further in tests

This has an impact on how long the tests take to run.

12 months agoAvoid running integration tests in every locale
Andy Allan [Wed, 20 Dec 2023 11:03:22 +0000 (11:03 +0000)]
Avoid running integration tests in every locale

We have over 200 locales, and so this takes a long time. This reduces
time taken from around 200 seconds to 6 to run these tests.

12 months agoMerge remote-tracking branch 'upstream/pull/4424'
Tom Hughes [Tue, 19 Dec 2023 18:59:05 +0000 (18:59 +0000)]
Merge remote-tracking branch 'upstream/pull/4424'

12 months agoMerge remote-tracking branch 'upstream/pull/4423'
Tom Hughes [Tue, 19 Dec 2023 18:59:03 +0000 (18:59 +0000)]
Merge remote-tracking branch 'upstream/pull/4423'

12 months agoMerge remote-tracking branch 'upstream/pull/4422'
Tom Hughes [Tue, 19 Dec 2023 18:58:59 +0000 (18:58 +0000)]
Merge remote-tracking branch 'upstream/pull/4422'

12 months agoMerge remote-tracking branch 'upstream/pull/4421'
Tom Hughes [Tue, 19 Dec 2023 18:56:54 +0000 (18:56 +0000)]
Merge remote-tracking branch 'upstream/pull/4421'

12 months agoAdd tests & factories for UserMute feature
Gregory Igelmund [Wed, 13 Dec 2023 18:09:39 +0000 (13:09 -0500)]
Add tests & factories for UserMute feature

12 months agoAdd basic structures for UserMute and Message muting logic
Gregory Igelmund [Wed, 13 Dec 2023 18:06:28 +0000 (13:06 -0500)]
Add basic structures for UserMute and Message muting logic

Including models, migration, controllers, views & locales.

12 months agoSet config.active_model.i18n_customize_full_message = true
Gregory Igelmund [Wed, 13 Dec 2023 18:04:21 +0000 (13:04 -0500)]
Set config.active_model.i18n_customize_full_message = true

Enables better error message customization

12 months ago.rubocop_todo.yml: Increase Metrics/ClassLength from 279 -> 299
Gregory Igelmund [Wed, 13 Dec 2023 18:02:49 +0000 (13:02 -0500)]
.rubocop_todo.yml: Increase Metrics/ClassLength from 279 -> 299

12 months agoRefactor app/views/messages templates
Gregory Igelmund [Wed, 13 Dec 2023 18:01:40 +0000 (13:01 -0500)]
Refactor app/views/messages templates

12 months agoUpdate zoom levels of highways/cycleways in cyclemap map key
Anton Khorev [Tue, 19 Dec 2023 15:21:12 +0000 (18:21 +0300)]
Update zoom levels of highways/cycleways in cyclemap map key

12 months agoUpdate cyclemap map key landcover colors
Anton Khorev [Tue, 19 Dec 2023 15:07:20 +0000 (18:07 +0300)]
Update cyclemap map key landcover colors

12 months agoUpdate runway and taxiway mapnik map key
Anton Khorev [Tue, 19 Dec 2023 14:38:23 +0000 (17:38 +0300)]
Update runway and taxiway mapnik map key

12 months agoUse inline svg for solid map key images
Anton Khorev [Tue, 19 Dec 2023 12:41:10 +0000 (15:41 +0300)]
Use inline svg for solid map key images

12 months agoAdd solid svg image helper
Anton Khorev [Sat, 16 Dec 2023 12:50:13 +0000 (15:50 +0300)]
Add solid svg image helper

12 months agoRemove map key image custom css
Anton Khorev [Sat, 29 Jul 2023 18:37:31 +0000 (21:37 +0300)]
Remove map key image custom css

12 months agoDisable Minitest/MultipleAssertions cop for now
Tom Hughes [Tue, 19 Dec 2023 12:37:02 +0000 (12:37 +0000)]
Disable Minitest/MultipleAssertions cop for now

https://github.com/rubocop/rubocop-minitest/issues/283

12 months agoFix erblint warning
Tom Hughes [Tue, 19 Dec 2023 12:12:21 +0000 (12:12 +0000)]
Fix erblint warning

12 months agoUpdate bundle
Tom Hughes [Tue, 19 Dec 2023 12:04:55 +0000 (12:04 +0000)]
Update bundle

12 months agoMerge remote-tracking branch 'upstream/pull/4418'
Tom Hughes [Tue, 19 Dec 2023 12:04:30 +0000 (12:04 +0000)]
Merge remote-tracking branch 'upstream/pull/4418'

12 months agoAdd test for no_trace_download ACLs
Tom Hughes [Tue, 19 Dec 2023 11:59:33 +0000 (11:59 +0000)]
Add test for no_trace_download ACLs

12 months agoAdd test for no_note_comment ACLs
Tom Hughes [Tue, 19 Dec 2023 11:59:12 +0000 (11:59 +0000)]
Add test for no_note_comment ACLs

12 months agoMake allow_account_creation work the same as other ACLs
Tom Hughes [Tue, 19 Dec 2023 11:58:30 +0000 (11:58 +0000)]
Make allow_account_creation work the same as other ACLs

12 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 18 Dec 2023 12:21:19 +0000 (13:21 +0100)]
Localisation updates from https://translatewiki.net.

12 months agoReplace rectangular map key images with width/height/fill
Anton Khorev [Mon, 18 Dec 2023 11:11:08 +0000 (14:11 +0300)]
Replace rectangular map key images with width/height/fill

12 months agoMerge remote-tracking branch 'upstream/pull/4407'
Tom Hughes [Sun, 17 Dec 2023 18:41:56 +0000 (18:41 +0000)]
Merge remote-tracking branch 'upstream/pull/4407'

12 months agoMerge remote-tracking branch 'upstream/pull/4415'
Tom Hughes [Sun, 17 Dec 2023 18:40:43 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/pull/4415'

12 months agoMerge remote-tracking branch 'upstream/pull/4414'
Tom Hughes [Sun, 17 Dec 2023 18:40:23 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/pull/4414'

12 months agoMerge remote-tracking branch 'upstream/pull/4413'
Tom Hughes [Sun, 17 Dec 2023 18:39:52 +0000 (18:39 +0000)]
Merge remote-tracking branch 'upstream/pull/4413'

12 months agoMerge remote-tracking branch 'upstream/pull/4409'
Tom Hughes [Sun, 17 Dec 2023 18:38:52 +0000 (18:38 +0000)]
Merge remote-tracking branch 'upstream/pull/4409'

12 months agoMerge remote-tracking branch 'upstream/pull/4412'
Tom Hughes [Sun, 17 Dec 2023 18:20:32 +0000 (18:20 +0000)]
Merge remote-tracking branch 'upstream/pull/4412'

12 months agoImplement allow list for account creation
Milan Cvetkovic [Thu, 14 Dec 2023 14:45:20 +0000 (14:45 +0000)]
Implement allow list for account creation

12 months agoMake footway line narrower in cyclemap map key
Anton Khorev [Sat, 16 Dec 2023 16:30:36 +0000 (19:30 +0300)]
Make footway line narrower in cyclemap map key

12 months agoAdd landcover features to opnvkarte map key
Anton Khorev [Sat, 16 Dec 2023 15:58:02 +0000 (18:58 +0300)]
Add landcover features to opnvkarte map key

12 months agoRemove unnecessary max_zoom from map key
Anton Khorev [Sat, 16 Dec 2023 15:27:30 +0000 (18:27 +0300)]
Remove unnecessary max_zoom from map key

12 months agoBump eslint from 8.55.0 to 8.56.0
dependabot[bot] [Fri, 15 Dec 2023 23:12:33 +0000 (23:12 +0000)]
Bump eslint from 8.55.0 to 8.56.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.55.0 to 8.56.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.55.0...v8.56.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
12 months agoMerge remote-tracking branch 'upstream/pull/4411'
Tom Hughes [Fri, 15 Dec 2023 17:38:00 +0000 (17:38 +0000)]
Merge remote-tracking branch 'upstream/pull/4411'

12 months agoMerge remote-tracking branch 'upstream/pull/4410'
Tom Hughes [Fri, 15 Dec 2023 17:35:15 +0000 (17:35 +0000)]
Merge remote-tracking branch 'upstream/pull/4410'

12 months agoMerge remote-tracking branch 'upstream/pull/4408'
Tom Hughes [Fri, 15 Dec 2023 17:34:07 +0000 (17:34 +0000)]
Merge remote-tracking branch 'upstream/pull/4408'

12 months agoMerge remote-tracking branch 'upstream/pull/4404'
Tom Hughes [Fri, 15 Dec 2023 17:32:40 +0000 (17:32 +0000)]
Merge remote-tracking branch 'upstream/pull/4404'

12 months agoMerge remote-tracking branch 'upstream/pull/4406'
Tom Hughes [Fri, 15 Dec 2023 17:29:31 +0000 (17:29 +0000)]
Merge remote-tracking branch 'upstream/pull/4406'

12 months agoRemove max zoom from cyclemap map key
Anton Khorev [Fri, 15 Dec 2023 14:57:20 +0000 (17:57 +0300)]
Remove max zoom from cyclemap map key

12 months agoAdd pedestrian way to cyclemap map key
Anton Khorev [Fri, 15 Dec 2023 14:32:42 +0000 (17:32 +0300)]
Add pedestrian way to cyclemap map key

12 months agoRemove png sprites
Anton Khorev [Fri, 15 Dec 2023 13:58:13 +0000 (16:58 +0300)]
Remove png sprites

12 months agoAdd main road opnvkarte map key at z15
Anton Khorev [Fri, 15 Dec 2023 12:02:51 +0000 (15:02 +0300)]
Add main road opnvkarte map key at z15

12 months agoAdd main road opnvkarte map key
Anton Khorev [Fri, 15 Dec 2023 11:40:54 +0000 (14:40 +0300)]
Add main road opnvkarte map key

12 months agoKeep trailing semicolons in formatted tag values
Anton Khorev [Thu, 14 Dec 2023 15:08:06 +0000 (18:08 +0300)]
Keep trailing semicolons in formatted tag values

12 months agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 14 Dec 2023 12:15:32 +0000 (13:15 +0100)]
Localisation updates from https://translatewiki.net.

12 months agoUpdate airport apron mapnik map key
Anton Khorev [Wed, 13 Dec 2023 13:22:13 +0000 (16:22 +0300)]
Update airport apron mapnik map key

12 months agoMerge remote-tracking branch 'upstream/pull/4398'
Tom Hughes [Tue, 12 Dec 2023 18:40:33 +0000 (18:40 +0000)]
Merge remote-tracking branch 'upstream/pull/4398'

12 months agoMerge remote-tracking branch 'upstream/pull/4397'
Tom Hughes [Tue, 12 Dec 2023 18:39:18 +0000 (18:39 +0000)]
Merge remote-tracking branch 'upstream/pull/4397'

12 months agoMerge remote-tracking branch 'upstream/pull/4396'
Tom Hughes [Tue, 12 Dec 2023 18:37:35 +0000 (18:37 +0000)]
Merge remote-tracking branch 'upstream/pull/4396'

12 months agoUpdate bundle
Tom Hughes [Tue, 12 Dec 2023 18:12:31 +0000 (18:12 +0000)]
Update bundle

12 months agoRun tests on ruby 3.2
Tom Hughes [Mon, 11 Dec 2023 17:18:34 +0000 (17:18 +0000)]
Run tests on ruby 3.2

12 months agoUse file_exists to provide File.exists? for ruby 3.2
Tom Hughes [Mon, 11 Dec 2023 17:17:28 +0000 (17:17 +0000)]
Use file_exists to provide File.exists? for ruby 3.2

This is needed for the oauth gem which uses it.

12 months agoUpdate tram mapnik map key
Anton Khorev [Mon, 11 Dec 2023 12:21:32 +0000 (15:21 +0300)]
Update tram mapnik map key

12 months agoUpdate light rail mapnik map key
Anton Khorev [Mon, 11 Dec 2023 12:09:54 +0000 (15:09 +0300)]
Update light rail mapnik map key

12 months agoSplit tram map key i18n string
Anton Khorev [Mon, 11 Dec 2023 12:04:34 +0000 (15:04 +0300)]
Split tram map key i18n string

12 months agoUpdate subway mapnik map key
Anton Khorev [Mon, 11 Dec 2023 11:50:13 +0000 (14:50 +0300)]
Update subway mapnik map key

12 months agoUpdate rail mapnik map key
Anton Khorev [Mon, 11 Dec 2023 11:46:35 +0000 (14:46 +0300)]
Update rail mapnik map key

12 months agoAdd reef mapnik map key
Anton Khorev [Mon, 11 Dec 2023 11:18:36 +0000 (14:18 +0300)]
Add reef mapnik map key

12 months agoAdd wetland mapnik map key
Anton Khorev [Mon, 11 Dec 2023 11:12:08 +0000 (14:12 +0300)]
Add wetland mapnik map key

12 months agoAdd intermittent waterbody mapnik map key
Anton Khorev [Mon, 11 Dec 2023 10:23:35 +0000 (13:23 +0300)]
Add intermittent waterbody mapnik map key

https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/water.mss#L30

12 months agoUpdate tunnel and bridge mapnik map key
Anton Khorev [Mon, 11 Dec 2023 09:36:58 +0000 (12:36 +0300)]
Update tunnel and bridge mapnik map key

12 months agoUpdate peak mapnik map key
Anton Khorev [Mon, 11 Dec 2023 09:13:11 +0000 (12:13 +0300)]
Update peak mapnik map key

https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/amenity-points.mss#L1384

12 months agoUpdate station mapnik map key
Anton Khorev [Mon, 11 Dec 2023 09:02:33 +0000 (12:02 +0300)]
Update station mapnik map key

https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/stations.mss#L21

12 months agoUpdate major building mapnik map key
Anton Khorev [Mon, 11 Dec 2023 08:50:35 +0000 (11:50 +0300)]
Update major building mapnik map key

https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/buildings.mss#L23

12 months agoUpdate societal amenities mapnik map key
Anton Khorev [Mon, 11 Dec 2023 08:32:02 +0000 (11:32 +0300)]
Update societal amenities mapnik map key

https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/landcover.mss#L596

12 months agoMerge remote-tracking branch 'upstream/pull/4395'
Tom Hughes [Sun, 10 Dec 2023 18:50:00 +0000 (18:50 +0000)]
Merge remote-tracking branch 'upstream/pull/4395'

12 months agoMerge remote-tracking branch 'upstream/pull/4394'
Tom Hughes [Sun, 10 Dec 2023 18:49:20 +0000 (18:49 +0000)]
Merge remote-tracking branch 'upstream/pull/4394'

12 months agoUpdate bounded landuses
Anton Khorev [Fri, 8 Dec 2023 20:52:04 +0000 (23:52 +0300)]
Update bounded landuses

12 months agoUpdate landuse features
Anton Khorev [Fri, 8 Dec 2023 20:05:03 +0000 (23:05 +0300)]
Update landuse features

12 months agoAdd glacier images with borders
Anton Khorev [Fri, 8 Dec 2023 18:42:33 +0000 (21:42 +0300)]
Add glacier images with borders

12 months agoUpdate landcover features visible on z5
Anton Khorev [Fri, 8 Dec 2023 08:59:37 +0000 (11:59 +0300)]
Update landcover features visible on z5

12 months agoUpdate admin boundary color
Anton Khorev [Thu, 7 Dec 2023 10:59:39 +0000 (13:59 +0300)]
Update admin boundary color

12 months agoSort lowest zoom level features
Anton Khorev [Thu, 7 Dec 2023 10:46:31 +0000 (13:46 +0300)]
Sort lowest zoom level features

12 months agoAdd opnvkarte map key line widths on high zoom levels
Anton Khorev [Fri, 8 Dec 2023 10:48:31 +0000 (13:48 +0300)]
Add opnvkarte map key line widths on high zoom levels

12 months agoAllow to omit max_zoom if next map key entry has min_zoom
Anton Khorev [Fri, 8 Dec 2023 10:21:57 +0000 (13:21 +0300)]
Allow to omit max_zoom if next map key entry has min_zoom

12 months agoLoad map key data in controller
Anton Khorev [Fri, 8 Dec 2023 09:55:18 +0000 (12:55 +0300)]
Load map key data in controller

12 months agoMerge remote-tracking branch 'upstream/pull/4371'
Tom Hughes [Thu, 7 Dec 2023 16:19:23 +0000 (16:19 +0000)]
Merge remote-tracking branch 'upstream/pull/4371'

12 months agoMerge remote-tracking branch 'upstream/pull/4392'
Tom Hughes [Thu, 7 Dec 2023 16:06:22 +0000 (16:06 +0000)]
Merge remote-tracking branch 'upstream/pull/4392'

12 months agoAdd stop markers for opnvkarte map key
Anton Khorev [Tue, 28 Nov 2023 14:18:13 +0000 (17:18 +0300)]
Add stop markers for opnvkarte map key

12 months agoAdd high-zoom rail shape for opnvkarte map key
Anton Khorev [Tue, 28 Nov 2023 13:44:09 +0000 (16:44 +0300)]
Add high-zoom rail shape for opnvkarte map key

12 months agoAdd rail dash pattern for opnvkarte map key on zoom 11+
Anton Khorev [Mon, 27 Nov 2023 16:31:33 +0000 (19:31 +0300)]
Add rail dash pattern for opnvkarte map key on zoom 11+

12 months agoUpdate opnvkarte map key line widths up to 4px for different zooms
Anton Khorev [Mon, 27 Nov 2023 16:06:45 +0000 (19:06 +0300)]
Update opnvkarte map key line widths up to 4px for different zooms

12 months agoAdd transportation map key for opnvkarte
Anton Khorev [Sun, 26 Nov 2023 23:41:09 +0000 (02:41 +0300)]
Add transportation map key for opnvkarte

12 months agoAllow to omit zoom levels for map key entries
Anton Khorev [Sun, 26 Nov 2023 23:40:11 +0000 (02:40 +0300)]
Allow to omit zoom levels for map key entries

12 months agoResourceful routing for passwords
Andy Allan [Wed, 6 Dec 2023 18:41:00 +0000 (18:41 +0000)]
Resourceful routing for passwords

This also matches the routes used by devise

12 months agoUse path and url helpers for password links
Andy Allan [Wed, 6 Dec 2023 18:39:25 +0000 (18:39 +0000)]
Use path and url helpers for password links

12 months agoMerge remote-tracking branch 'upstream/pull/4391'
Tom Hughes [Wed, 6 Dec 2023 17:54:47 +0000 (17:54 +0000)]
Merge remote-tracking branch 'upstream/pull/4391'

12 months agoMerge remote-tracking branch 'upstream/pull/4390'
Tom Hughes [Wed, 6 Dec 2023 17:53:15 +0000 (17:53 +0000)]
Merge remote-tracking branch 'upstream/pull/4390'

12 months agoMerge remote-tracking branch 'upstream/pull/4389'
Tom Hughes [Wed, 6 Dec 2023 17:50:42 +0000 (17:50 +0000)]
Merge remote-tracking branch 'upstream/pull/4389'

12 months agoMerge remote-tracking branch 'upstream/pull/4388'
Tom Hughes [Wed, 6 Dec 2023 17:47:14 +0000 (17:47 +0000)]
Merge remote-tracking branch 'upstream/pull/4388'

12 months agoMigrate some sequences to use bigints
Andy Allan [Wed, 6 Dec 2023 14:42:40 +0000 (14:42 +0000)]
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

12 months agoRemove normalisation of immutable keyword
Andy Allan [Wed, 6 Dec 2023 13:55:11 +0000 (13:55 +0000)]
Remove normalisation of immutable keyword

This was no longer required after removing the database functions.