Commit graph

10997 commits

Author SHA1 Message Date
Quincy Morgan
4dd9ea34bc Fix issue where iD would not take the full height of its iframe 2020-04-28 10:02:01 -07:00
Tom Hughes
f75eb6fe9e Refactor more controller tests 2020-04-27 22:24:28 +01:00
translatewiki.net
310b86d349 Localisation updates from https://translatewiki.net. 2020-04-27 16:53:21 +02:00
Tom Hughes
8979c597e3 Refactor more controller tests 2020-04-26 22:56:18 +01:00
Tom Hughes
03cde71a5e Refactor more controller tests 2020-04-26 20:33:06 +01:00
Quincy Morgan
37911a5555 Update to iD v2.17.3 2020-04-24 16:30:40 -07:00
Tom Hughes
ee783bcee9 Fix deprecation warning 2020-04-23 20:45:01 +01:00
Tom Hughes
dc4b116f8b Update bundle 2020-04-23 20:44:44 +01:00
Tom Hughes
a7781f62cf Update vagrant provision script for switch to selenium 2020-04-22 16:44:53 +01:00
Tom Hughes
cca1ce59f4 Merge remote-tracking branch 'upstream/pull/2598' 2020-04-22 16:43:14 +01:00
Tom Hughes
b52fabef6d Merge remote-tracking branch 'upstream/pull/2600' 2020-04-22 16:42:54 +01:00
Andy Allan
506731031d Refactor some more controller tests 2020-04-22 16:45:16 +02:00
Tom Hughes
62d35fb972 Merge remote-tracking branch 'upstream/pull/2599' 2020-04-22 14:42:27 +01:00
Andy Allan
32e46ad4e3 Remove tempfile patch for trace data
Effectively reverts c0d2ad40c3

This patch is no longer required, since we only use send_data in
combination with Tempfile.read and that all works fine.
2020-04-22 15:16:46 +02:00
Tom Hughes
8773ec6e57 Switch to using selenium for system tests 2020-04-22 13:51:37 +01:00
Tom Hughes
c51786d10b Merge remote-tracking branch 'upstream/pull/2596' 2020-04-22 13:44:17 +01:00
Tom Hughes
64b3e289ac Merge remote-tracking branch 'upstream/pull/2597' 2020-04-22 13:34:19 +01:00
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