]> git.openstreetmap.org Git - rails.git/log
rails.git
3 years agoUpdate INSTALL.md to reference Docker as an option
Jamie Alessio [Mon, 2 Mar 2020 03:22:19 +0000 (03:22 +0000)]
Update INSTALL.md to reference Docker as an option

3 years agoClarifications to Docker instructions
Jamie Alessio [Mon, 2 Mar 2020 03:18:25 +0000 (03:18 +0000)]
Clarifications to Docker instructions

3 years agoput osmosis installation back
Jamie Alessio [Mon, 2 Mar 2020 03:12:22 +0000 (03:12 +0000)]
put osmosis installation back

3 years agoIgnore additional 'large' directories during Docker build step
Jamie Alessio [Mon, 2 Mar 2020 03:03:31 +0000 (03:03 +0000)]
Ignore additional 'large' directories during Docker build step

3 years agoSimplify Dockerfile
Jamie Alessio [Mon, 2 Mar 2020 03:02:45 +0000 (03:02 +0000)]
Simplify Dockerfile

3 years agoPostgres is no longer starting
Jamie Alessio [Sun, 16 Feb 2020 01:10:45 +0000 (01:10 +0000)]
Postgres is no longer starting

Fails with:
db_1   | Error: Database is uninitialized and superuser password is not specified.
db_1   |        You must specify POSTGRES_PASSWORD for the superuser. Use
db_1   |        "-e POSTGRES_PASSWORD=password" to set it in "docker run".
db_1   |
db_1   |        You may also use POSTGRES_HOST_AUTH_METHOD=trust to allow all connections
db_1   |        without a password. This is *not* recommended. See PostgreSQL
db_1   |        documentation about "trust":
db_1   |        https://www.postgresql.org/docs/current/auth-trust.html

Appears to be related to
https://github.com/docker-library/postgres/issues/681

3 years agoMore DOCKER.md cleanup
Jamie Alessio [Mon, 28 Oct 2019 01:00:03 +0000 (01:00 +0000)]
More DOCKER.md cleanup

3 years agoDocker readme updates
Jamie Alessio [Mon, 28 Oct 2019 00:55:07 +0000 (17:55 -0700)]
Docker readme updates

3 years agoDon't try to introduce top-level Makefile at this time
Jamie Alessio [Sat, 26 Oct 2019 19:13:09 +0000 (12:13 -0700)]
Don't try to introduce top-level Makefile at this time

3 years agoFix mismatched quote and pluralization
Jamie Alessio [Thu, 24 Oct 2019 15:04:11 +0000 (08:04 -0700)]
Fix mismatched quote and pluralization

3 years agoUpdate Docker instructions to avoid copying entire settings file
Jamie Alessio [Thu, 24 Oct 2019 15:01:42 +0000 (08:01 -0700)]
Update Docker instructions to avoid copying entire settings file

3 years agoAdd Docker README and Makefile for helper commands
Jamie Alessio [Tue, 22 Oct 2019 19:48:39 +0000 (19:48 +0000)]
Add Docker README and Makefile for helper commands

3 years agoIntroduce docker-compose config for development
Jamie Alessio [Tue, 22 Oct 2019 19:48:02 +0000 (19:48 +0000)]
Introduce docker-compose config for development

3 years agoAvoid password manager autocompletion on user settings page
Tom Hughes [Thu, 28 Jan 2021 11:33:01 +0000 (11:33 +0000)]
Avoid password manager autocompletion on user settings page

3 years agoMerge remote-tracking branch 'upstream/pull/3074'
Tom Hughes [Thu, 28 Jan 2021 10:41:06 +0000 (10:41 +0000)]
Merge remote-tracking branch 'upstream/pull/3074'

3 years agoMerge remote-tracking branch 'upstream/pull/3073'
Tom Hughes [Thu, 28 Jan 2021 10:36:38 +0000 (10:36 +0000)]
Merge remote-tracking branch 'upstream/pull/3073'

3 years agoRemove conditional for polyline layer
Tucker Chapman [Sat, 16 Jan 2021 23:00:57 +0000 (18:00 -0500)]
Remove conditional for polyline layer

When a user searches for a route and one is not found the polyline
layer is removed - if they then change the mode of transportation the
event listener will not reroute if there is no polyline layer.

This commit removes the conditional that prevents the routing code from
re-running after the polyline has been removed.

Fixes #3050
Closes #3055

3 years agoProvide better descriptions for sr-only labels
Andy Allan [Thu, 28 Jan 2021 10:10:38 +0000 (10:10 +0000)]
Provide better descriptions for sr-only labels

3 years agoUse boolean instead of string for hiding labels
Andy Allan [Thu, 28 Jan 2021 10:10:03 +0000 (10:10 +0000)]
Use boolean instead of string for hiding labels

3 years agoRefactor account form to use bootstrap
Andy Allan [Wed, 27 Jan 2021 15:36:59 +0000 (15:36 +0000)]
Refactor account form to use bootstrap

There's further refactoring that could be done, but this is sufficient for now.

3 years agoConvert issue comments to use bootstrap
Andy Allan [Wed, 27 Jan 2021 17:30:17 +0000 (17:30 +0000)]
Convert issue comments to use bootstrap

The reassign checkbox could be simplified in future by changing the expected parameter in the controller

3 years agoConverge redaction forms to use bootstrap
Andy Allan [Wed, 27 Jan 2021 17:04:47 +0000 (17:04 +0000)]
Converge redaction forms to use bootstrap

3 years agoConvert note form to use bootstrap
Andy Allan [Wed, 27 Jan 2021 16:33:11 +0000 (16:33 +0000)]
Convert note form to use bootstrap

3 years agoFix locate control popup on the main map to use new translations
Tom Hughes [Wed, 27 Jan 2021 13:48:54 +0000 (13:48 +0000)]
Fix locate control popup on the main map to use new translations

Fixes #3072

3 years agoUse model attributes and attribute help for the registration fields
Andy Allan [Wed, 27 Jan 2021 12:36:21 +0000 (12:36 +0000)]
Use model attributes and attribute help for the registration fields

The disply name keeps its specific help, since it is different on the account settings page

3 years agoUpdate bundle
Tom Hughes [Tue, 26 Jan 2021 22:43:30 +0000 (22:43 +0000)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 25 Jan 2021 17:13:09 +0000 (18:13 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3069'
Tom Hughes [Mon, 25 Jan 2021 07:06:59 +0000 (07:06 +0000)]
Merge remote-tracking branch 'upstream/pull/3069'

3 years agoreserve 60x60 in top right of survey banner
Mikel Maron [Mon, 25 Jan 2021 01:31:21 +0000 (20:31 -0500)]
reserve 60x60 in top right of survey banner

3 years agoMerge remote-tracking branch 'upstream/pull/3066'
Tom Hughes [Fri, 22 Jan 2021 22:25:41 +0000 (22:25 +0000)]
Merge remote-tracking branch 'upstream/pull/3066'

3 years agocommunity survey banner
Mikel Maron [Fri, 22 Jan 2021 19:52:49 +0000 (14:52 -0500)]
community survey banner

3 years agoAvoid concatenating text to a translation
Tom Hughes [Thu, 21 Jan 2021 17:15:27 +0000 (17:15 +0000)]
Avoid concatenating text to a translation

Fixes #3064

3 years agoMerge remote-tracking branch 'upstream/pull/3065'
Tom Hughes [Thu, 21 Jan 2021 17:00:05 +0000 (17:00 +0000)]
Merge remote-tracking branch 'upstream/pull/3065'

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 21 Jan 2021 14:17:04 +0000 (15:17 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoAvoid recommending installation of the Ubuntu bundler package
Andy Allan [Thu, 21 Jan 2021 11:29:29 +0000 (11:29 +0000)]
Avoid recommending installation of the Ubuntu bundler package

Due to a problem with namespacing and vendoring, the Ubuntu package
leads to namespace conflicts with Thor 1+

Fixes #3013

3 years agoMerge remote-tracking branch 'upstream/pull/3063'
Tom Hughes [Wed, 20 Jan 2021 15:52:08 +0000 (15:52 +0000)]
Merge remote-tracking branch 'upstream/pull/3063'

3 years agoRefactor diary comment form to use bootstrap
Andy Allan [Wed, 20 Jan 2021 13:02:09 +0000 (13:02 +0000)]
Refactor diary comment form to use bootstrap

3 years agoRefactor user registration form to use bootstrap
Andy Allan [Wed, 20 Jan 2021 12:02:41 +0000 (12:02 +0000)]
Refactor user registration form to use bootstrap

3 years agoConvert to use bootstrap form
Andy Allan [Wed, 20 Jan 2021 11:11:52 +0000 (11:11 +0000)]
Convert to use bootstrap form

3 years agoMerge remote-tracking branch 'upstream/pull/3061'
Tom Hughes [Tue, 19 Jan 2021 20:17:50 +0000 (20:17 +0000)]
Merge remote-tracking branch 'upstream/pull/3061'

3 years agoFix a small typo and tests that depend on it.
Frederik Ramm [Tue, 19 Jan 2021 19:56:43 +0000 (20:56 +0100)]
Fix a small typo and tests that depend on it.

3 years agoRedirect after saving settings in case the username has changed
Tom Hughes [Tue, 19 Jan 2021 18:24:41 +0000 (18:24 +0000)]
Redirect after saving settings in case the username has changed

Fixes #3059

3 years agoUpdate bundle
Tom Hughes [Tue, 19 Jan 2021 18:18:42 +0000 (18:18 +0000)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 18 Jan 2021 15:56:27 +0000 (16:56 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3060'
Tom Hughes [Mon, 18 Jan 2021 08:02:24 +0000 (08:02 +0000)]
Merge remote-tracking branch 'upstream/pull/3060'

3 years agoBump eslint from 7.17.0 to 7.18.0
dependabot[bot] [Mon, 18 Jan 2021 05:01:25 +0000 (05:01 +0000)]
Bump eslint from 7.17.0 to 7.18.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.17.0 to 7.18.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.17.0...v7.18.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 14 Jan 2021 15:27:17 +0000 (16:27 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge remote-tracking branch 'upstream/pull/3049'
Tom Hughes [Thu, 14 Jan 2021 11:11:00 +0000 (11:11 +0000)]
Merge remote-tracking branch 'upstream/pull/3049'

3 years agoMerge remote-tracking branch 'upstream/pull/3048'
Tom Hughes [Thu, 14 Jan 2021 10:52:10 +0000 (10:52 +0000)]
Merge remote-tracking branch 'upstream/pull/3048'

3 years agoRefactor user_blocks form to use bootstrap
Andy Allan [Wed, 13 Jan 2021 17:01:51 +0000 (17:01 +0000)]
Refactor user_blocks form to use bootstrap

Further refactoring could involve a virtual attribute for duration.

3 years agoBump qs from 6.9.4 to 6.9.6
dependabot[bot] [Thu, 14 Jan 2021 05:01:14 +0000 (05:01 +0000)]
Bump qs from 6.9.4 to 6.9.6

Bumps [qs](https://github.com/ljharb/qs) from 6.9.4 to 6.9.6.
- [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.9.4...v6.9.6)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge remote-tracking branch 'upstream/pull/2994'
Tom Hughes [Wed, 13 Jan 2021 20:40:48 +0000 (20:40 +0000)]
Merge remote-tracking branch 'upstream/pull/2994'

3 years agoMerge remote-tracking branch 'upstream/pull/3046'
Tom Hughes [Wed, 13 Jan 2021 20:35:04 +0000 (20:35 +0000)]
Merge remote-tracking branch 'upstream/pull/3046'

3 years agoMerge remote-tracking branch 'upstream/pull/3045'
Tom Hughes [Wed, 13 Jan 2021 20:31:21 +0000 (20:31 +0000)]
Merge remote-tracking branch 'upstream/pull/3045'

3 years agoRefactor login form to use bootstrap
Andy Allan [Wed, 13 Jan 2021 19:20:06 +0000 (19:20 +0000)]
Refactor login form to use bootstrap

Care has been taken to preserve exact tabindexes, field values etc.

3 years agoRefactor richtext fields to use a custom bootstrap_form input.
Andy Allan [Wed, 13 Jan 2021 14:05:39 +0000 (14:05 +0000)]
Refactor richtext fields to use a custom bootstrap_form input.

This allows us to use form_group_builder and get all the label and
help text handling in line with other bootstrap_form inputs.

3 years agoAlign the richtext help text height with the height of the textarea.
Andy Allan [Wed, 13 Jan 2021 10:12:15 +0000 (10:12 +0000)]
Align the richtext help text height with the height of the textarea.

This works by setting the card to the same height as its containing flexbox. For perfect alignment, we need to make sure the extra margin at the bottom of the text-area stops applying when they are shown side by side.

3 years agoMerge remote-tracking branch 'upstream/pull/3044'
Tom Hughes [Tue, 12 Jan 2021 23:09:51 +0000 (23:09 +0000)]
Merge remote-tracking branch 'upstream/pull/3044'

3 years agorerun script/misc/update-wiki-pages
Mateusz Konieczny [Tue, 12 Jan 2021 21:56:37 +0000 (22:56 +0100)]
rerun script/misc/update-wiki-pages

3 years agoUse latest major version for all github actions
Tom Hughes [Tue, 12 Jan 2021 22:41:53 +0000 (22:41 +0000)]
Use latest major version for all github actions

3 years agoRestore ruby 2.5 compatibility
Tom Hughes [Mon, 11 Jan 2021 20:04:13 +0000 (20:04 +0000)]
Restore ruby 2.5 compatibility

3 years agoFix new rubocop warnings
Tom Hughes [Mon, 11 Jan 2021 19:14:00 +0000 (19:14 +0000)]
Fix new rubocop warnings

3 years agoRemove redundant gem requirements for unsupported ruby versions
Tom Hughes [Mon, 11 Jan 2021 18:48:27 +0000 (18:48 +0000)]
Remove redundant gem requirements for unsupported ruby versions

3 years agoUnpin rubocop now erb_lint is fixed
Tom Hughes [Mon, 11 Jan 2021 18:39:54 +0000 (18:39 +0000)]
Unpin rubocop now erb_lint is fixed

3 years agoUpdate bundle
Tom Hughes [Mon, 11 Jan 2021 18:38:11 +0000 (18:38 +0000)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 11 Jan 2021 16:46:08 +0000 (17:46 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Thu, 7 Jan 2021 14:26:56 +0000 (15:26 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge branch 'pull/3035'
Andy Allan [Wed, 6 Jan 2021 15:41:42 +0000 (15:41 +0000)]
Merge branch 'pull/3035'

3 years agoRemove spacing tweaks and legacy pagination spacing CSS
Andy Allan [Wed, 6 Jan 2021 15:40:53 +0000 (15:40 +0000)]
Remove spacing tweaks and legacy pagination spacing CSS

No need to fight against something that we no longer use.

3 years agoMerge branch 'pull/3024'
Andy Allan [Wed, 6 Jan 2021 15:25:37 +0000 (15:25 +0000)]
Merge branch 'pull/3024'

3 years agoRemove link_to_if since it's in a clause with the same condition
Andy Allan [Wed, 6 Jan 2021 15:24:50 +0000 (15:24 +0000)]
Remove link_to_if since it's in a clause with the same condition

3 years agoMerge remote-tracking branch 'upstream/pull/3038'
Tom Hughes [Wed, 6 Jan 2021 14:19:34 +0000 (14:19 +0000)]
Merge remote-tracking branch 'upstream/pull/3038'

3 years agoRemove both Potlatch versions
Tom Hughes [Tue, 5 Jan 2021 19:45:04 +0000 (19:45 +0000)]
Remove both Potlatch versions

Fixes #2622

3 years agoMerge remote-tracking branch 'upstream/pull/3037'
Tom Hughes [Tue, 5 Jan 2021 18:28:30 +0000 (18:28 +0000)]
Merge remote-tracking branch 'upstream/pull/3037'

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Mon, 4 Jan 2021 13:52:37 +0000 (14:52 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoBump eslint from 7.16.0 to 7.17.0
dependabot[bot] [Mon, 4 Jan 2021 05:02:07 +0000 (05:02 +0000)]
Bump eslint from 7.16.0 to 7.17.0

Bumps [eslint](https://github.com/eslint/eslint) from 7.16.0 to 7.17.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.16.0...v7.17.0)

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoTraces: Migrate pagination to bootstrap
Tobias Jordans [Sat, 2 Jan 2021 21:48:25 +0000 (22:48 +0100)]
Traces: Migrate pagination to bootstrap

Same feature, different style.
- Change pagination to use bootstrap default styles
- … but with empty span-tags instead of non-active a-tags
- refactor partial to not use @-variables but get the variables via
the render-call, simplify render-call-syntax
- remove the additional `if @traces.size > 1` inside the pagination
partial since that caused the pagination to disappear on the last page.
The partial will be visible with inactive links.
- Add bootstrap spacer-classes to overwrite commons-css so removing. Eg.
commons also has a pagination class same as bootstrap.

3 years agoDiary entries #index: Simplify bootstrap pagination
Tobias [Sat, 2 Jan 2021 21:24:46 +0000 (22:24 +0100)]
Diary entries #index: Simplify bootstrap pagination

- We can use a span instead of a disabled link as well
- Update to use double quotes everywhere

3 years agoUpdate bundle
Tom Hughes [Fri, 1 Jan 2021 11:55:24 +0000 (11:55 +0000)]
Update bundle

3 years agoRemove unnecessary inflection
Tom Hughes [Fri, 1 Jan 2021 11:54:29 +0000 (11:54 +0000)]
Remove unnecessary inflection

3 years agoSwitch to using the zeitwork autoloader
Tom Hughes [Thu, 10 Dec 2020 14:46:41 +0000 (14:46 +0000)]
Switch to using the zeitwork autoloader

3 years agoVerify that public and trackable traces don't return identity details
Tom Hughes [Wed, 30 Dec 2020 17:58:04 +0000 (17:58 +0000)]
Verify that public and trackable traces don't return identity details

3 years agoDiary entries #index: Migrate to bootstrap pagination
Tobias Jordans [Wed, 30 Dec 2020 13:20:13 +0000 (14:20 +0100)]
Diary entries #index: Migrate to bootstrap pagination

Use https://getbootstrap.com/docs/4.5/components/pagination/ for the pagination.

I tried using link_to_if but this does not work well in this case since multiple changes need to happen for the disabled state.

3 years agoRevert "Switch to using the zeitwork autoloader"
Tom Hughes [Tue, 29 Dec 2020 19:26:58 +0000 (19:26 +0000)]
Revert "Switch to using the zeitwork autoloader"

This reverts commit 127880a73fa461400c53b29c98721e34660bca5e.

3 years agoFix case for zeitwork
Tom Hughes [Tue, 29 Dec 2020 18:54:12 +0000 (18:54 +0000)]
Fix case for zeitwork

3 years agoSwitch to using the zeitwork autoloader
Tom Hughes [Thu, 10 Dec 2020 14:46:41 +0000 (14:46 +0000)]
Switch to using the zeitwork autoloader

3 years agoUpdate bundle
Tom Hughes [Tue, 29 Dec 2020 18:39:25 +0000 (18:39 +0000)]
Update bundle

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Tue, 29 Dec 2020 08:03:29 +0000 (09:03 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoMerge pull request #3018 from tordans/line-break-for-long-urls
Andy Allan [Mon, 28 Dec 2020 11:15:58 +0000 (11:15 +0000)]
Merge pull request #3018 from tordans/line-break-for-long-urls

Break long URLs in blog post show

3 years agoBreak long URLs where richtext is used.
Tobias Jordans [Sun, 27 Dec 2020 13:19:36 +0000 (14:19 +0100)]
Break long URLs where richtext is used.

For example on the blog post show page.

This uses https://getbootstrap.com/docs/4.4/utilities/text/#word-break to break long URLs on the blog post show view.

3 years agoMerge remote-tracking branch 'upstream/pull/3017'
Tom Hughes [Thu, 24 Dec 2020 14:07:41 +0000 (14:07 +0000)]
Merge remote-tracking branch 'upstream/pull/3017'

3 years agoRefactor diary entry forms to use a custom form builder
Andy Allan [Thu, 24 Dec 2020 13:31:04 +0000 (13:31 +0000)]
Refactor diary entry forms to use a custom form builder

3 years agoEnsure richtext editing style rules are only applied on standard forms
Andy Allan [Thu, 24 Dec 2020 13:29:12 +0000 (13:29 +0000)]
Ensure richtext editing style rules are only applied on standard forms

3 years agoMerge remote-tracking branch 'upstream/pull/3016'
Tom Hughes [Wed, 23 Dec 2020 15:24:10 +0000 (15:24 +0000)]
Merge remote-tracking branch 'upstream/pull/3016'

3 years agoMerge remote-tracking branch 'upstream/pull/3015'
Tom Hughes [Wed, 23 Dec 2020 15:02:04 +0000 (15:02 +0000)]
Merge remote-tracking branch 'upstream/pull/3015'

3 years agoReturn the centre of the image if the bbox has no extent
Andy Allan [Wed, 23 Dec 2020 15:01:01 +0000 (15:01 +0000)]
Return the centre of the image if the bbox has no extent

Fixes #3007. If all the provided points in the gpx file have the same
lat/lon, then an image where they are all at the centre seems plausible.

3 years agoRemove SystemTimer and use stdlib Timeout directly
Andy Allan [Wed, 23 Dec 2020 14:25:58 +0000 (14:25 +0000)]
Remove SystemTimer and use stdlib Timeout directly

SystemTimer was only needed on ruby 1.8, and we dropped support for
that a long time ago.

3 years agoLocalisation updates from https://translatewiki.net.
translatewiki.net [Tue, 22 Dec 2020 13:04:52 +0000 (14:04 +0100)]
Localisation updates from https://translatewiki.net.

3 years agoUpdate bundle
Tom Hughes [Mon, 21 Dec 2020 09:47:00 +0000 (09:47 +0000)]
Update bundle

3 years agoMerge remote-tracking branch 'upstream/pull/3014'
Tom Hughes [Mon, 21 Dec 2020 09:45:22 +0000 (09:45 +0000)]
Merge remote-tracking branch 'upstream/pull/3014'