Commit graph

10808 commits

Author SHA1 Message Date
mmd-osm
c49e400aa3 Prevent CSRF bypass unblocking users 2021-02-09 20:39:04 +00:00
Tom Hughes
7810734ac4 Prevent CSRF bypass updating account details
Fixes #3089
2021-02-08 12:24:43 +00:00
Tom Hughes
65c11d3faf Merge remote-tracking branch 'upstream/pull/3088' 2021-02-08 08:09:31 +00:00
Tom Hughes
9f2b7142c5 Merge remote-tracking branch 'upstream/pull/3087' 2021-02-08 08:09:27 +00:00
dependabot[bot]
c3815a8f6d
Update actions/cache requirement to v2.1.4
Updates the requirements on [actions/cache](https://github.com/actions/cache) to permit the latest version.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](26968a09c0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 07:38:32 +00:00
dependabot[bot]
8c3fea3c8c
Bump leaflet.locatecontrol from 0.72.0 to 0.72.2
Bumps [leaflet.locatecontrol](https://github.com/domoritz/leaflet-locatecontrol) from 0.72.0 to 0.72.2.
- [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.72.0...v0.72.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-08 05:01:26 +00:00
Tom Hughes
e430bc0f7f Fix URL generation for atom feed on history page
Fixes #3085
2021-02-07 16:24:14 +00:00
Tom Hughes
d15041f847 Use POST to submit OpenID login form
Fixes #3084
2021-02-06 15:04:33 +00:00
Tom Hughes
bc233420dd Allow form post to third party authentication providers 2021-02-06 11:10:14 +00:00
Tom Hughes
afce133d86 Merge remote-tracking branch 'upstream/pull/3082' 2021-02-04 08:44:56 +00:00
translatewiki.net
cae9707d0b Localisation updates from https://translatewiki.net. 2021-02-04 09:34:30 +01:00
dependabot[bot]
f1571a1fb5
Update actions/checkout requirement to v2.3.4
Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](5a4ac9002d)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-04 06:45:23 +00:00
Andy Allan
86dbcb55f2
Merge pull request #2409 from jalessio/docker-compose-take2
Add Docker Compose Support for Development Environment
2021-02-03 18:07:29 +00:00
Tom Hughes
66b5e85845 Merge remote-tracking branch 'upstream/pull/3078' 2021-02-03 14:48:24 +00:00
Tom Hughes
e4c7342450 Merge remote-tracking branch 'upstream/pull/3079' 2021-02-03 14:48:19 +00:00
Andy Allan
5e307c1ceb Merge branch 'pull/2486' 2021-02-03 14:22:16 +00:00
mmd-osm
4e6d729529 Remove /api/0.6/changes endpoint
Also removes sql functions which are only used by this endpoint
2021-02-03 14:06:34 +00:00
Andy Allan
1dc1c03225 Rework welcome message to use bootstrap buttons
I also reworked the layout to use flex utilities and avoid using a white button border as a spacing hack. In future this will be better done with start/end utilities, avoiding the need to be fancy with negative margins.
2021-02-03 13:44:52 +00:00
Andy Allan
05dd681abf Refactor the export form to use bootstrap form controls
I started refatoring the export inputs to use a flex grid instead of
floats, but this is perhaps the one place on the whole site where left/right
makes sense since even in rtl we want min_lon on the left.
2021-02-03 13:44:52 +00:00
Andy Allan
f173895b00 Use small bootstrap buttons for oauth client actions 2021-02-03 13:44:52 +00:00
Andy Allan
e6dcf94577 Use small bootstrap buttons for message inbox and outbox actions 2021-02-03 13:44:52 +00:00
Andy Allan
fd6273cfb8 Refactor user_blocks revoke form to use bootstrap 2021-02-03 13:44:52 +00:00
Andy Allan
b6277bda20 Use bootstrap form styles for update home checkbox
This slipped through the refactoring last week.
2021-02-03 09:39:43 +00:00
Tom Hughes
5912a8011b Update to Omniauth 2.x
This requires converting all use of the /auth endpoints
to use the POST method as GET is no longer supported.
2021-02-02 19:49:03 +00:00
Tom Hughes
cea93e7244 Fix new rubocop warnings 2021-02-02 18:56:29 +00:00
Tom Hughes
6d357c7c73 Update bundle 2021-02-02 18:56:28 +00:00
translatewiki.net
ecab8175f5 Localisation updates from https://translatewiki.net. 2021-02-01 15:32:34 +01:00
Tom Hughes
573369f522 Merge remote-tracking branch 'upstream/pull/3077' 2021-02-01 08:18:42 +00:00
dependabot[bot]
d9f3fcbadc
Bump eslint from 7.18.0 to 7.19.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.18.0 to 7.19.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.18.0...v7.19.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 05:10:04 +00:00
Michal Migurski
4fac47a214 Added /home/osm/traces and /home/osm/images to persistent Docker-compose volumes 2021-01-28 12:03:58 -08:00
Michal Migurski
e19e58f059 Create directories for traces and images 2021-01-28 12:03:58 -08:00
Michal Migurski
8c2db90d01 Switched to Docker volumn for DB data 2021-01-28 12:03:58 -08:00
Michal Migurski
033c3b28b3 Added complete Rails test suite
- Added db/functions/functions.sql to docker-compose DB image
- Added `file`, `libgd-dev`, and `unzip` packages to help tests pass
2021-01-28 12:03:58 -08:00
Jamie Alessio
2da3ce6abf Prevent node_modules from mounting to save rake yarn:install step 2021-01-28 12:03:58 -08:00
Michal Migurski
c66041cb71 Made Bootsnap required only when asked-for 2021-01-28 12:03:58 -08:00
Michal Migurski
60f8fb9c93 Applied documentation suggestions from code review
Co-authored-by: Tobias <t@tobiasjordans.de>
2021-01-28 12:03:58 -08:00
Michal Migurski
8baebaba2f Migrated from ruby:2.7 Docker image to ubuntu:20.04 2021-01-28 12:03:58 -08:00
Michal Migurski
1e5cc598bb Extended Docker action to cover full setup and tests 2021-01-28 12:03:58 -08:00
Michal Migurski
810a941e81 Added minimal Docker workflow to test Github Actions 2021-01-28 12:03:58 -08:00
Michal Migurski
bc98021331 Switched tests to "openstreetmap" 2021-01-28 12:03:58 -08:00
Michal Migurski
c936063876 Update INSTALL.md to restore original graf
This reverts commit 20dbf8946351b71fbb4cda69ebdacb1dda2876a6.
2021-01-28 12:03:58 -08:00
Michal Migurski
1ab5e3b39a Noted yarn step in Docker instructions 2021-01-28 12:03:58 -08:00
Michal Migurski
188fc8f1d6 Expanded yarn call to fix test failure 2021-01-28 12:03:58 -08:00
Michal Migurski
b71a6fd5d1 Bumped Ruby version to 2.7 to match CI config 2021-01-28 12:03:58 -08:00
Michal Migurski
c17cb84b46 Replaced raw PGSQL testing file with Osmosis-driven XML file 2021-01-28 12:03:58 -08:00
Michal Migurski
b635cf6bc9 Added API read to docker-compose test 2021-01-28 12:03:58 -08:00
Michal Migurski
f07314ccfe Added new parallel test job for docker-compose 2021-01-28 12:03:58 -08:00
Jamie Alessio
6bcd2144a7 Update INSTALL.md to reference Docker as an option 2021-01-28 12:03:58 -08:00
Jamie Alessio
395300d8f3 Clarifications to Docker instructions 2021-01-28 12:03:58 -08:00
Jamie Alessio
255ce8708a put osmosis installation back 2021-01-28 12:03:58 -08:00