Commit graph

10179 commits

Author SHA1 Message Date
Andy Allan
35db86714b Use Open3.capture2 instead of backticks, to avoid command line injection risks
In this situation, trace_name can be trivially checked as legitimate, but this
removes any lingering risks from interpolating into a command line instead of
passing parameters explicitly.

Refs #2229
2020-04-22 13:57:32 +02:00
Tom Hughes
359d76c8f0 Redirect to the error page for non-existent issues 2020-04-22 12:37:56 +01:00
Tom Hughes
1cb92c9d2a Send meta information with error pages 2020-04-22 12:21:42 +01:00
Andy Allan
1aa5a54419 Refactor site controller tests to inherit from ActionDispatch::IntegrationTest
This is the modern way of writing controller tests, since it uses the
rails middleware (among other things) and leads to more realistic tests.

Refs #2563
2020-04-22 11:09:13 +02:00
Tom Hughes
62247da244 Remove last traces of konacha 2020-04-20 19:14:58 +01:00
translatewiki.net
bcec47680d Localisation updates from https://translatewiki.net. 2020-04-20 17:01:46 +02:00
Tom Hughes
ef147d479e Fix new rubocop warnings 2020-04-19 19:06:07 +01:00
Tom Hughes
434035eb5a Enable new cops by default 2020-04-19 19:04:32 +01:00
Tom Hughes
9143438e22 Update bundle 2020-04-19 18:59:28 +01:00
translatewiki.net
04f9910133 Localisation updates from https://translatewiki.net. 2020-04-16 17:14:59 +02:00
Tom Hughes
9b634f3493 Cache OpenID provider names on a per-locale basis
Fixes #2591
2020-04-15 22:48:28 +01:00
Tom Hughes
6ad0340b05 Localise formatting of point count for traces
Fixes #2592
2020-04-15 22:42:41 +01:00
Tom Hughes
bf9dd8f350 Update bundle 2020-04-15 19:23:16 +01:00
Tom Hughes
3666b67433 Merge remote-tracking branch 'upstream/pull/2431' 2020-04-15 19:18:10 +01:00
Tom Hughes
7a1615bc55 Fix rubocop-minitest warnings 2020-04-15 19:07:13 +01:00
Tom Hughes
da3aad3080 Sort cops 2020-04-15 15:55:18 +01:00
Tom Hughes
4a14e6b048 Fix erblint 2020-04-15 15:55:17 +01:00
Andy Allan
92ca406995
Merge pull request #2547 from bezdna/mobile-layout
Trigger small screen layout based on the width of the screen, rather than the width of the menus.
2020-04-15 16:50:12 +02:00
Tom Hughes
0dffed7a05 Merge remote-tracking branch 'upstream/pull/2579' 2020-04-15 15:41:49 +01:00
Tom Hughes
cdaebd22eb Merge remote-tracking branch 'upstream/pull/2590' 2020-04-15 15:35:37 +01:00
Andy Allan
9b3a3a12f5 Add rubocop-minitest 2020-04-15 16:15:52 +02:00
translatewiki.net
5df434271e Localisation updates from https://translatewiki.net. 2020-04-14 05:34:16 +02:00
Tom Hughes
da80a7bd08 Add tile.openstreetmap.org to security policy 2020-04-14 00:03:55 +01:00
Tom Hughes
425b79b5cc Update leaflet.osm plugin 2020-04-14 00:01:30 +01:00
Tom Hughes
8199002a0f Update leaflet.osm plugin 2020-04-10 14:31:58 +01:00
Tom Hughes
e6f00f5dc8 Remove unsued bootstrap components from Vendorfile 2020-04-10 14:30:54 +01:00
Tom Hughes
d52f963069 Remove arabic strings from en-GB locale 2020-04-09 21:21:09 +01:00
Tom Hughes
66ec3cd845 Add blob to frame-src in CSP for iD
Fixes #2582
Closes #2583
2020-04-09 18:43:12 +01:00
translatewiki.net
7e11d27512 Localisation updates from https://translatewiki.net. 2020-04-09 16:10:03 +02:00
Tom Hughes
1dec19161a Update bundle 2020-04-08 09:48:42 +01:00
Andy Allan
a219df24ca Ensure that urls are only valid if the entire string is a url
This replaces our homegrown regexps (that didn't quite work) with
ruby built-in regexps, and uses the termination anchor to ensure
that the entire string, not just the first part, is validated.
2020-04-01 17:53:37 +02:00
Tom Hughes
e47c11c644 Merge remote-tracking branch 'upstream/pull/2577' 2020-04-01 11:56:27 +01:00
Andy Allan
055a976051 Remove custom table styling
This removes the custom table styling code, and move to using bootstrap table styling for almost all remaining tables.
2020-04-01 12:29:01 +02:00
Tom Hughes
47ff3a8f97 Update leaflet plugins 2020-04-01 09:24:44 +01:00
Tom Hughes
bf9430f43e Merge remote-tracking branch 'upstream/pull/2574' 2020-04-01 09:18:24 +01:00
Simon Legner
83bb627da6 Fix typo in comment
Closes #2576
2020-04-01 00:11:19 +01:00
Simon Legner
da07b633c2 Update leaflet to 1.6.0 2020-04-01 00:28:25 +02:00
Tom Hughes
b5c778b662 Fix new rubocop warnings 2020-03-31 19:08:10 +01:00
Tom Hughes
97d9e75fe4 Update bundle 2020-03-31 19:05:37 +01:00
translatewiki.net
093aca9cc1 Localisation updates from https://translatewiki.net. 2020-03-31 15:59:29 +02:00
translatewiki.net
4a16a928c8 Localisation updates from https://translatewiki.net. 2020-03-26 16:12:44 +01:00
Tom Hughes
0e902b5424 Set QT_QPA_PLATFORM=offscreen for Ubuntu etc
Fixes #2569
2020-03-25 17:04:44 +00:00
translatewiki.net
9b61ec2912 Localisation updates from https://translatewiki.net. 2020-03-23 15:07:13 +01:00
Tom Hughes
e693063fa5 Make linkify return an HTML safe result for unsafe inputs
Fixes #2567
2020-03-22 12:59:39 +00:00
Tom Hughes
3184bec5ae Fix some untranslateable strings
Fixes #2565
2020-03-20 17:22:23 +00:00
Tom Hughes
4176b78edf Pass I18n argument correctly 2020-03-20 14:58:45 +00:00
Tom Hughes
587a1b0754 Fix lego translation with locate control
Fixes #2564
2020-03-20 14:28:51 +00:00
Tom Hughes
df229c208d Update javascript bundle 2020-03-19 18:26:04 +00:00
Tom Hughes
7804d5806d Update to rails 6.0.2.2 2020-03-19 18:20:26 +00:00
translatewiki.net
e827a17ebd Localisation updates from https://translatewiki.net. 2020-03-19 15:12:49 +01:00