]> git.openstreetmap.org Git - rails.git/log
rails.git
2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 17 Mar 2022 12:12:39 +0000 (13:12 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoFix new rubocop warnings
Tom Hughes [Tue, 15 Mar 2022 18:24:32 +0000 (18:24 +0000)]
Fix new rubocop warnings

2 years agoDisable broken cop
Tom Hughes [Tue, 15 Mar 2022 18:24:23 +0000 (18:24 +0000)]
Disable broken cop

https://github.com/rubocop/rubocop-rails/issues/659

2 years agoUpdate bundle
Tom Hughes [Tue, 15 Mar 2022 18:25:20 +0000 (18:25 +0000)]
Update bundle

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 14 Mar 2022 12:12:25 +0000 (13:12 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3496'
Tom Hughes [Sat, 12 Mar 2022 00:31:03 +0000 (00:31 +0000)]
Merge remote-tracking branch 'upstream/pull/3496'

2 years agoBump eslint from 8.10.0 to 8.11.0
dependabot[bot] [Fri, 11 Mar 2022 23:01:07 +0000 (23:01 +0000)]
Bump eslint from 8.10.0 to 8.11.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.10.0 to 8.11.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.10.0...v8.11.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 10 Mar 2022 12:12:37 +0000 (13:12 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoMark redirects which need to be open with allow_other_host
Tom Hughes [Wed, 9 Mar 2022 22:43:02 +0000 (22:43 +0000)]
Mark redirects which need to be open with allow_other_host

2 years agoMerge pull request #3486 from tomhughes/vips
Tom Hughes [Wed, 9 Mar 2022 18:58:54 +0000 (18:58 +0000)]
Merge pull request #3486 from tomhughes/vips

Switch to using vips for image processing

2 years agoAdd vips to brew install list
Andy Allan [Wed, 9 Mar 2022 18:16:51 +0000 (18:16 +0000)]
Add vips to brew install list

2 years agoRemove imagemagick from dependencies
Andy Allan [Wed, 9 Mar 2022 17:18:43 +0000 (17:18 +0000)]
Remove imagemagick from dependencies

2 years agoMerge pull request #3491 from tomhughes/legacy-trace
Andy Allan [Wed, 9 Mar 2022 17:10:40 +0000 (17:10 +0000)]
Merge pull request #3491 from tomhughes/legacy-trace

Remove support for legacy trace files

2 years agoMerge pull request #3492 from harry-wood/oauth-doc
Andy Allan [Wed, 9 Mar 2022 17:04:37 +0000 (17:04 +0000)]
Merge pull request #3492 from harry-wood/oauth-doc

OAuth updates to CONFIGURE doc + cosmetic tweak

2 years agoMerge remote-tracking branch 'upstream/pull/3493'
Tom Hughes [Tue, 8 Mar 2022 20:30:19 +0000 (20:30 +0000)]
Merge remote-tracking branch 'upstream/pull/3493'

2 years agoUpdate to rails 7.0.2.3
Tom Hughes [Tue, 8 Mar 2022 20:25:49 +0000 (20:25 +0000)]
Update to rails 7.0.2.3

2 years agoJSON output added to permissions endpoint
mmd-osm [Tue, 8 Mar 2022 19:21:35 +0000 (20:21 +0100)]
JSON output added to permissions endpoint

2 years agoFix some Naming/AccessorMethodName rubocop warnings
Tom Hughes [Tue, 8 Mar 2022 19:10:05 +0000 (19:10 +0000)]
Fix some Naming/AccessorMethodName rubocop warnings

2 years agoFix Lint/DuplicateBranch rubocop warnings
Tom Hughes [Tue, 8 Mar 2022 18:51:39 +0000 (18:51 +0000)]
Fix Lint/DuplicateBranch rubocop warnings

2 years agoUpdate bundle
Tom Hughes [Tue, 8 Mar 2022 18:21:32 +0000 (18:21 +0000)]
Update bundle

2 years agoMake oauth register app link into button
Harry Wood [Tue, 8 Mar 2022 12:34:27 +0000 (12:34 +0000)]
Make oauth register app link into button

Cosmetic tweak. On the OAuth 1 setting tab, make "Register your app" into a button not a link

Also put the applications in a <ul>

2 years agoUpdate CONFIGURE instructions for oauth
Harry Wood [Thu, 24 Feb 2022 10:19:48 +0000 (10:19 +0000)]
Update CONFIGURE instructions for oauth

Update the instructions in CONFIGURE.md on how to set-up the built-in apps. Need to clarify that iD is on OAuth1, which is a little different from the 'web site' (Notes) set-up on OAuth2. Also iD requires more permissions these days.

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 7 Mar 2022 12:11:39 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3489'
Tom Hughes [Sat, 5 Mar 2022 10:08:53 +0000 (10:08 +0000)]
Merge remote-tracking branch 'upstream/pull/3489'

2 years agoMore readable multi-line ruby in erbs
Harry Wood [Sat, 5 Mar 2022 01:53:07 +0000 (01:53 +0000)]
More readable multi-line ruby in erbs

A couple of erb files had unnecessary start and end erb tags around every line in a multi-line block of ruby. More readable this way.

2 years agoAdd newline to align with blocks_by
Harry Wood [Sat, 5 Mar 2022 01:48:10 +0000 (01:48 +0000)]
Add newline to align with blocks_by

`blocks_on.html.erb` is almost identical to `block_by.html.erb`. Add a newline to align with the other file (makes it easier to see the more subtle important difference)

2 years agoFix minor HTML tag mismatches
Harry Wood [Sat, 5 Mar 2022 01:41:02 +0000 (01:41 +0000)]
Fix minor HTML tag mismatches

Fix some HTML tag mismatches and other glitches. These are minor, and don't appear to cause browsers any problems, but for the sake of correctness:
* A closing td which should be a closing div.
* A closing h3 for a corresponding h6
* Two tables with `<thead>` tag and missing `<tr>` around the `<th>` headings.

test change for thead fix

2 years agoFix some rubocop Naming/PredicateName warnings
Tom Hughes [Thu, 3 Mar 2022 22:47:55 +0000 (22:47 +0000)]
Fix some rubocop Naming/PredicateName warnings

2 years agoRemove support for legacy trace files
Tom Hughes [Thu, 3 Mar 2022 19:47:40 +0000 (19:47 +0000)]
Remove support for legacy trace files

2 years agoSwitch to using vips for image processing
Tom Hughes [Wed, 2 Mar 2022 19:12:22 +0000 (19:12 +0000)]
Switch to using vips for image processing

2 years agoDrop support for Ubuntu 18.04
Tom Hughes [Wed, 2 Mar 2022 19:44:21 +0000 (19:44 +0000)]
Drop support for Ubuntu 18.04

2 years agoMerge remote-tracking branch 'upstream/pull/3485'
Tom Hughes [Wed, 2 Mar 2022 15:45:45 +0000 (15:45 +0000)]
Merge remote-tracking branch 'upstream/pull/3485'

2 years agoMerge branch 'pull/3472'
Andy Allan [Wed, 2 Mar 2022 15:00:25 +0000 (15:00 +0000)]
Merge branch 'pull/3472'

2 years agoFix redirecting links to osmfoundation.org
Harry Wood [Wed, 2 Mar 2022 10:06:08 +0000 (10:06 +0000)]
Fix redirecting links to osmfoundation.org

Fix some links to osmfoundation.org pages which are redirecting (not broken links but this is just avoiding a slightly messy redirection)

2 years agoMerge remote-tracking branch 'upstream/pull/3484'
Tom Hughes [Wed, 2 Mar 2022 00:07:14 +0000 (00:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3484'

2 years agoMerge remote-tracking branch 'upstream/pull/3483'
Tom Hughes [Wed, 2 Mar 2022 00:07:10 +0000 (00:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3483'

2 years agoBump image_processing from 1.12.1 to 1.12.2
dependabot[bot] [Tue, 1 Mar 2022 23:37:28 +0000 (23:37 +0000)]
Bump image_processing from 1.12.1 to 1.12.2

Bumps [image_processing](https://github.com/janko/image_processing) from 1.12.1 to 1.12.2.
- [Release notes](https://github.com/janko/image_processing/releases)
- [Changelog](https://github.com/janko/image_processing/blob/master/CHANGELOG.md)
- [Commits](https://github.com/janko/image_processing/compare/v1.12.1...v1.12.2)

---
updated-dependencies:
- dependency-name: image_processing
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoBump actions/checkout from 2.4.0 to 3
dependabot[bot] [Tue, 1 Mar 2022 23:06:48 +0000 (23:06 +0000)]
Bump actions/checkout from 2.4.0 to 3

Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2.4.0...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoFix rubocop Rails/TimeZone warnings
Tom Hughes [Tue, 1 Mar 2022 22:55:10 +0000 (22:55 +0000)]
Fix rubocop Rails/TimeZone warnings

2 years agoEnable open redirect protection
Tom Hughes [Tue, 1 Mar 2022 18:39:08 +0000 (18:39 +0000)]
Enable open redirect protection

2 years agoMerge remote-tracking branch 'upstream/pull/3482'
Tom Hughes [Tue, 1 Mar 2022 10:27:30 +0000 (10:27 +0000)]
Merge remote-tracking branch 'upstream/pull/3482'

2 years agoUpdate bundle
Tom Hughes [Tue, 1 Mar 2022 10:27:16 +0000 (10:27 +0000)]
Update bundle

2 years agoRemove redundant presence validation on belongs_to
Andy Allan [Wed, 23 Feb 2022 16:25:43 +0000 (16:25 +0000)]
Remove redundant presence validation on belongs_to

There's no need for us to have it when rails does this for us.

2 years agoRestore asset debugging in development mode
Tom Hughes [Mon, 28 Feb 2022 18:47:51 +0000 (18:47 +0000)]
Restore asset debugging in development mode

2 years agoFix opensearch icon & update attribution
Harry Bond [Mon, 28 Feb 2022 13:18:31 +0000 (13:18 +0000)]
Fix opensearch icon & update attribution

Fixes #3478
Closes #3479

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 28 Feb 2022 12:11:32 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoAdd missing PG_MODULE_MAGIC to database function source
Tom Hughes [Sun, 27 Feb 2022 11:35:31 +0000 (11:35 +0000)]
Add missing PG_MODULE_MAGIC to database function source

2 years agoMerge remote-tracking branch 'upstream/pull/3474'
Tom Hughes [Sat, 26 Feb 2022 00:39:52 +0000 (00:39 +0000)]
Merge remote-tracking branch 'upstream/pull/3474'

2 years agoBump eslint from 8.9.0 to 8.10.0
dependabot[bot] [Fri, 25 Feb 2022 23:01:05 +0000 (23:01 +0000)]
Bump eslint from 8.9.0 to 8.10.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.9.0 to 8.10.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.9.0...v8.10.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 24 Feb 2022 12:12:32 +0000 (13:12 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoMerge remote-tracking branch 'upstream/pull/3470'
Tom Hughes [Wed, 23 Feb 2022 20:38:21 +0000 (20:38 +0000)]
Merge remote-tracking branch 'upstream/pull/3470'

2 years agoEnable active_record.belongs_to_required_by_default
Andy Allan [Wed, 23 Feb 2022 15:17:21 +0000 (15:17 +0000)]
Enable active_record.belongs_to_required_by_default

This switches the logic so that belongs_to parent objects must exist
by default, and marks the optional ones explicitly. This is reflected
in the null/not_null status on the relevant db columns.

2 years agoMerge remote-tracking branch 'upstream/pull/3469'
Tom Hughes [Wed, 23 Feb 2022 19:27:27 +0000 (19:27 +0000)]
Merge remote-tracking branch 'upstream/pull/3469'

2 years agoAdd inverse_of to relationships that can't detect it automatically
Tom Hughes [Wed, 23 Feb 2022 19:23:51 +0000 (19:23 +0000)]
Add inverse_of to relationships that can't detect it automatically

2 years agoRemove default values from id columns
Andy Allan [Wed, 23 Feb 2022 15:22:37 +0000 (15:22 +0000)]
Remove default values from id columns

In both the case of primary keys, and also foreign key references,
there's no need to set a default value.

This doesn't have a big impact in routine situations, but can be
very confusing when debugging corner cases.

2 years agoSpecify inverse_of for trace tags and points
Andy Allan [Wed, 23 Feb 2022 15:15:07 +0000 (15:15 +0000)]
Specify inverse_of for trace tags and points

Rails can't automatically detect bi-directional relationships when
`:foreign_key` is present. Adding the `inverse_of` helps when validating
traces and tags that haven't yet been saved.

2 years agoDisable partial inserts
Tom Hughes [Tue, 22 Feb 2022 19:16:10 +0000 (19:16 +0000)]
Disable partial inserts

2 years agoSwitch to rails 7 default headers
Tom Hughes [Tue, 22 Feb 2022 19:12:09 +0000 (19:12 +0000)]
Switch to rails 7 default headers

These are basically all the same as what secure_headers
was already setting for us anyway.

2 years agoMerge remote-tracking branch 'upstream/pull/3462'
Tom Hughes [Tue, 22 Feb 2022 19:06:43 +0000 (19:06 +0000)]
Merge remote-tracking branch 'upstream/pull/3462'

2 years agoMake sure the object layer is kept in front of the data layer
Tom Hughes [Tue, 22 Feb 2022 18:55:34 +0000 (18:55 +0000)]
Make sure the object layer is kept in front of the data layer

2 years agoDon't highlight selected items in the data layer
Tom Hughes [Tue, 22 Feb 2022 18:54:40 +0000 (18:54 +0000)]
Don't highlight selected items in the data layer

Routing to the feature page is going to cause them to be overlaid
in orange anyway so there's no need for the blue highlight.

2 years agoUpdate bundle
Tom Hughes [Tue, 22 Feb 2022 18:11:16 +0000 (18:11 +0000)]
Update bundle

2 years agoDeep copy the original style when highlighting an object
Tom Hughes [Mon, 21 Feb 2022 22:48:22 +0000 (22:48 +0000)]
Deep copy the original style when highlighting an object

Fixes #3465

2 years agoEnable automatic scope inversing
Tom Hughes [Mon, 21 Feb 2022 19:11:28 +0000 (19:11 +0000)]
Enable automatic scope inversing

2 years agoUse a button element for button_to
Tom Hughes [Mon, 21 Feb 2022 19:07:38 +0000 (19:07 +0000)]
Use a button element for button_to

2 years agoApply bootstrap styling to "make public" button
Tom Hughes [Mon, 21 Feb 2022 19:07:01 +0000 (19:07 +0000)]
Apply bootstrap styling to "make public" button

2 years agoDefault to not specifying media restrictions on stylesheet tags
Tom Hughes [Mon, 21 Feb 2022 18:43:59 +0000 (18:43 +0000)]
Default to not specifying media restrictions on stylesheet tags

2 years agoEnable verification of foreign keys in tests
Tom Hughes [Mon, 21 Feb 2022 18:40:30 +0000 (18:40 +0000)]
Enable verification of foreign keys in tests

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 21 Feb 2022 12:11:46 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoReplace deprecated String.prototype.substr()
Tobias Speicher [Sun, 20 Feb 2022 21:11:11 +0000 (22:11 +0100)]
Replace deprecated String.prototype.substr()

String.prototype.substr() is deprecated (see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr) so we replace it with slice() which works similarily but isn't deprecated.
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2 years agoWrap test execution for better isolation
Tom Hughes [Thu, 17 Feb 2022 19:30:19 +0000 (19:30 +0000)]
Wrap test execution for better isolation

2 years agoEnable some rails 7.x defaults
Tom Hughes [Thu, 17 Feb 2022 18:59:28 +0000 (18:59 +0000)]
Enable some rails 7.x defaults

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 17 Feb 2022 12:11:27 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoDefault to allowing TLS for SMTP but without peer verification
Tom Hughes [Thu, 17 Feb 2022 00:54:11 +0000 (00:54 +0000)]
Default to allowing TLS for SMTP but without peer verification

2 years agoDisable peer host name validation when sending email
Tom Hughes [Wed, 16 Feb 2022 22:48:26 +0000 (22:48 +0000)]
Disable peer host name validation when sending email

2 years agoMerge remote-tracking branch 'upstream/pull/3398'
Tom Hughes [Wed, 16 Feb 2022 18:13:16 +0000 (18:13 +0000)]
Merge remote-tracking branch 'upstream/pull/3398'

2 years agoMerge remote-tracking branch 'upstream/pull/3461'
Tom Hughes [Wed, 16 Feb 2022 18:12:33 +0000 (18:12 +0000)]
Merge remote-tracking branch 'upstream/pull/3461'

2 years agoMerge pull request #3414 from tomhughes/rails7
Andy Allan [Wed, 16 Feb 2022 15:16:53 +0000 (15:16 +0000)]
Merge pull request #3414 from tomhughes/rails7

Update to rails 7.x

2 years agoMerge pull request #3440 from mmd-osm/relationmemberlimit
Andy Allan [Wed, 16 Feb 2022 14:58:30 +0000 (14:58 +0000)]
Merge pull request #3440 from mmd-osm/relationmemberlimit

Introduce relation member limit

2 years agoUpdate to rails 7.0.2.2
Tom Hughes [Thu, 16 Dec 2021 18:51:39 +0000 (18:51 +0000)]
Update to rails 7.0.2.2

2 years agoUpdate documentation for how to confirm a new user account
Andy Allan [Wed, 16 Feb 2022 11:27:52 +0000 (11:27 +0000)]
Update documentation for how to confirm a new user account

Fixes #3460

2 years agoUpdate bundle
Tom Hughes [Tue, 15 Feb 2022 18:36:41 +0000 (18:36 +0000)]
Update bundle

2 years agoMerge remote-tracking branch 'upstream/pull/3458'
Tom Hughes [Tue, 15 Feb 2022 18:32:33 +0000 (18:32 +0000)]
Merge remote-tracking branch 'upstream/pull/3458'

2 years agoBump eslint from 8.8.0 to 8.9.0
dependabot[bot] [Mon, 14 Feb 2022 23:00:49 +0000 (23:00 +0000)]
Bump eslint from 8.8.0 to 8.9.0

Bumps [eslint](https://github.com/eslint/eslint) from 8.8.0 to 8.9.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.8.0...v8.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 14 Feb 2022 12:11:05 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoAllow trace image URL to be configured in the CSP policy
Tom Hughes [Sun, 13 Feb 2022 19:25:42 +0000 (19:25 +0000)]
Allow trace image URL to be configured in the CSP policy

2 years agoMerge remote-tracking branch 'upstream/pull/3345'
Tom Hughes [Sun, 13 Feb 2022 18:39:21 +0000 (18:39 +0000)]
Merge remote-tracking branch 'upstream/pull/3345'

2 years agoMerge remote-tracking branch 'upstream/pull/3455'
Tom Hughes [Sun, 13 Feb 2022 17:39:15 +0000 (17:39 +0000)]
Merge remote-tracking branch 'upstream/pull/3455'

2 years agoRemove section on removed rake doc:app
Harry Wood [Sat, 12 Feb 2022 17:58:43 +0000 (17:58 +0000)]
Remove section on removed rake doc:app

Remove the section of contributing docs about how `rake doc:app` can be used to generate some sort of documentation. That will not work any more, since this task was removed from Rails v5 because people don't generally use it! https://stackoverflow.com/a/36804474/338265

2 years agoFix contrib doc to remove reference to travis
Harry Wood [Sat, 12 Feb 2022 17:53:39 +0000 (17:53 +0000)]
Fix contrib doc to remove reference to travis

Remove the reference to Travis CI. Our CI pipeline now runs withing github actions.

2 years agoMerge remote-tracking branch 'upstream/pull/3454'
Tom Hughes [Sat, 12 Feb 2022 10:45:27 +0000 (10:45 +0000)]
Merge remote-tracking branch 'upstream/pull/3454'

2 years agoMerge remote-tracking branch 'upstream/pull/3453'
Tom Hughes [Sat, 12 Feb 2022 10:45:16 +0000 (10:45 +0000)]
Merge remote-tracking branch 'upstream/pull/3453'

2 years agoMerge remote-tracking branch 'upstream/pull/3452'
Tom Hughes [Sat, 12 Feb 2022 10:45:13 +0000 (10:45 +0000)]
Merge remote-tracking branch 'upstream/pull/3452'

2 years agoAdds advancedcomp to the list of macOS Homebrew dependencies
Brian Kelly [Sat, 12 Feb 2022 00:17:13 +0000 (18:17 -0600)]
Adds advancedcomp to the list of macOS Homebrew dependencies

2 years agoFix vagrant storage.yml config
Harry Wood [Sat, 12 Feb 2022 00:13:42 +0000 (00:13 +0000)]
Fix vagrant storage.yml config

Tell vagrant to copy the example storage.yml config file into place as per INSTALL.md instructions. Allows the migrations to run.

2 years agoUpdates macOS geckodriver installation command
Brian Kelly [Sat, 12 Feb 2022 00:05:20 +0000 (18:05 -0600)]
Updates macOS geckodriver installation command

2 years agoUpdate to rails 6.1.4.6
Tom Hughes [Fri, 11 Feb 2022 22:20:11 +0000 (22:20 +0000)]
Update to rails 6.1.4.6

2 years agoUpdate bundle
Tom Hughes [Fri, 11 Feb 2022 22:19:43 +0000 (22:19 +0000)]
Update bundle

2 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 10 Feb 2022 12:11:21 +0000 (13:11 +0100)]
Localisation updates from https://translatewiki.net.

2 years agoAllow users to delete their own accounts
Andy Allan [Thu, 9 Dec 2021 16:12:42 +0000 (16:12 +0000)]
Allow users to delete their own accounts

This PR allows users to delete their own accounts. The logic implemented matches
that currently used by the admins when they manually close accounts, although
there is room to be more complex in future e.g. completely removing accounts
with no content.

The error handling has been slightly adapted for namespaced controllers, by
anchoring the controller name with a leading forward slash.