Commit graph

12005 commits

Author SHA1 Message Date
Tom Hughes
fb362ef0d8 Enable brotli compression for assets 2022-08-03 19:01:24 +01:00
Andy Allan
f16d497703 Remove the user menu focus overrides
This restores the outline effect when the button is focussed using
keyboard navigation.

Refs #3633
2022-08-03 18:59:32 +01:00
Andy Allan
19d6216860
Merge pull request #3552 from rugk/patch-1
Add cause to feature request issue template
2022-08-03 18:49:26 +01:00
Andy Allan
723e6851ef Minor grammar changes to feature template 2022-08-03 18:48:02 +01:00
Tom Hughes
7e5d47e6a8 Merge remote-tracking branch 'upstream/pull/3644' 2022-08-03 18:45:47 +01:00
Tom Hughes
3971c54530 Merge remote-tracking branch 'upstream/pull/3647' 2022-08-03 18:45:19 +01:00
Tom Hughes
47e585f94f Merge remote-tracking branch 'upstream/pull/3646' 2022-08-03 18:45:15 +01:00
Andy Allan
9db0808870
Merge pull request #3581 from harry-wood/discourage-note-report
Wording to discourage note reporting
2022-08-03 18:38:36 +01:00
Andy Allan
c185ef2598 Use standard bootstrap spacers, rather than custom css, to space out the elements
Also make the reporting text small, since it's not required reading in most circumstances.
2022-08-03 18:25:22 +01:00
Harry Wood
7eae946b9a Move note reporting link to bottom of the sidebar
Move the 'report this note' and surrounding sentence down the sidebar beneath the commont/resolve form to give it less prominence.
2022-08-03 18:11:01 +01:00
Harry Wood
dce0f1639e Add wording to discourage reporting a note
Add some wording wrapped around the 'Report this note' link to explain to users to resolve the note instead.

Tackling the issue reported by DWG, that too many note reports are coming to them, where the users could deal it themselves: https://github.com/openstreetmap/openstreetmap-website/issues/3071
2022-08-03 18:10:03 +01:00
Andy Allan
d797dec4ce Add a basic security policy.
Fixes #3553
2022-08-03 17:06:18 +01:00
Andy Allan
e443ec7587
Merge pull request #3634 from AntonKhorev/map-key-tooltip
Fix tooltips
2022-08-03 15:38:58 +01:00
Andy Allan
68776e378c Fix remaining tooltips, and add tests
These were broken during the upgrade to bootstrap 5

Fixes #3632
2022-08-03 15:20:50 +01:00
Andy Allan
d235b12767 Enable focus styling for leaflet control buttons
Fixes #3633
2022-08-03 14:58:40 +01:00
Andy Allan
08020fff63 Switch reverse_directions link to use a button
This makes it keyboard selectable, and also preserves the event
handler.

Refs #3637
2022-08-03 14:10:52 +01:00
Andy Allan
6b69655812
Merge pull request #3631 from AntonKhorev/bootstrap-close
Use Bootstrap close button
2022-08-03 11:47:08 +01:00
Tom Hughes
0371cdcfd9 Update bundle 2022-08-02 18:15:49 +01:00
Tom Hughes
d2edd6a3d1 Merge remote-tracking branch 'upstream/pull/3643' 2022-08-02 18:11:03 +01:00
dependabot[bot]
8ec298b572
Bump eslint from 8.20.0 to 8.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.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.20.0...v8.21.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 23:00:49 +00:00
Tom Hughes
e9f62a8c30 Rename piwik to matomo and merge configuration into settings 2022-08-01 22:42:04 +01:00
translatewiki.net
4f74a67f6c Localisation updates from https://translatewiki.net. 2022-08-01 13:15:30 +02:00
Tom Hughes
a9b6a0278d Merge remote-tracking branch 'upstream/pull/3638' 2022-07-29 19:03:32 +01:00
Tom Hughes
a21c9ee2e1 Merge remote-tracking branch 'upstream/pull/3640' 2022-07-29 19:02:59 +01:00
Grant Slater
a89b867495
Fix statistics script to use absolute links 2022-07-29 20:55:17 +03:00
Mateusz Konieczny
6388588909 rerun script/misc/update-wiki-pages 2022-07-29 01:18:24 +02:00
Anton Khorev
cbb8772685 Fix map key tooltip 2022-07-28 22:15:08 +03:00
translatewiki.net
fb6b107469 Localisation updates from https://translatewiki.net. 2022-07-28 13:15:08 +02:00
Anton Khorev
89095c8981 Fix eslint errors 2022-07-27 21:36:54 +03:00
Anton Khorev
bb868e0b11 Merge master with css changes 2022-07-27 21:28:12 +03:00
Anton Khorev
eb0f6d5952 Fixed welcome banner close button 2022-07-27 21:10:49 +03:00
Anton Khorev
4000a4004b Changed feature close buttons to Bootstrap 2022-07-27 21:02:16 +03:00
Anton Khorev
66e526c2d5 Changed directions close button to Bootstrap 2022-07-27 20:54:47 +03:00
Anton Khorev
0322ed4295 Changed close buttons of banner and other leaflet sidebars to Bootstrap 2022-07-27 20:22:20 +03:00
Anton Khorev
5ed2bfc950 Changed sidebar close button to Bootstrap 2022-07-27 19:35:29 +03:00
Tom Hughes
057cf89149 Merge remote-tracking branch 'upstream/pull/3630' 2022-07-27 16:58:10 +01:00
Andy Allan
09631b53e9 Remove extra container div from fixthemap page
This created extra margins and padding either side of the blocks
of text, which was unnecessary
2022-07-27 16:32:16 +01:00
Andy Allan
1bf671f684 Rework welcome and fixthemap pages
* Use lead class for lede paragraphs
* Change headings to start from h2
* Remove custom css and use bootstrap utilities where required
2022-07-27 16:32:16 +01:00
Andy Allan
64b470aa3c Remove font size overrides for code and pre blocks
These are taken care of, where necessary, by bootstrap
2022-07-27 13:24:07 +01:00
Andy Allan
f1d60e05c4 Remove font size overrides from sidebar headings
These were interfering with the response font sizing via RFS
2022-07-27 13:23:03 +01:00
Andy Allan
0bc9ede6ff Use th tags on trace show table
This brings consistency with other similar tables
2022-07-27 13:09:47 +01:00
Andy Allan
c8ddd63280 Fix the font weight on the about page title, and use lead styling for the lede 2022-07-27 13:08:06 +01:00
Andy Allan
f702d5c426 Remove unnecessary br tags
The margin on the table takes care of the spacing.
2022-07-27 11:59:47 +01:00
Tom Hughes
e9887f88ed Test fetching the iD frame when not logged in 2022-07-26 17:38:56 +01:00
Tom Hughes
f4749eccf1 Test that verified emails from OAuth signups are accepted automatically 2022-07-26 17:33:59 +01:00
Tom Hughes
b56e7bc88a Update bundle 2022-07-26 17:02:40 +01:00
Tom Hughes
2cbf6062fc Don't try and write directly to the user status
This causes an exception when processing the authentication callback for
providers like google where we treat the email address as verified.
2022-07-26 00:52:22 +01:00
Tom Hughes
aa32dba482 Require a logged in user for the iD frame
The frame will error if the user is not logged in as it wants
to be able to access their OAuth token.
2022-07-26 00:52:22 +01:00
translatewiki.net
8aa6d48360 Localisation updates from https://translatewiki.net. 2022-07-25 13:14:52 +02:00
Tom Hughes
21d52f2d3f Monkey patch MailDeliveryJob to work with delayed_job under ruby 3
The delayed_job gem does not currently perserve keyword arguments
properly leading to errors when running under ruby 3 and try to run
a job that requires them.

This affects our deferred mail deliveries so we monkey patch the
mail delivery job to unpack the hash from the normal arguments and
use it to provide the expected keyword arguments.

https://github.com/collectiveidea/delayed_job/issues/1134
2022-07-23 12:12:29 +01:00