Commit graph

9235 commits

Author SHA1 Message Date
Tom Hughes
784d4ca03d Avoid error when there is no layer with a keyid
Fixes #2215
2019-04-24 11:12:50 +01:00
Tom Hughes
d8c6f0e375 Return correct base layer ID 2019-04-23 14:41:09 +01:00
Tom Hughes
81e0b49ed5 Add rubocop-performance 2019-04-23 09:33:34 +01:00
Tom Hughes
9f57f60b87 Fix new rubocop warnings 2019-04-23 09:33:34 +01:00
Tom Hughes
7354c8eb13 Disable failing cop pending upstream fix 2019-04-23 09:33:34 +01:00
Tom Hughes
cdd13da2b8 Update bundle 2019-04-23 09:33:34 +01:00
Tom Hughes
343f0bca14 Revert to tracking new versions of rinku 2019-04-23 09:33:34 +01:00
translatewiki.net
e4b0b6cd6a Localisation updates from https://translatewiki.net. 2019-04-22 22:27:01 +02:00
translatewiki.net
da11ecacb9 Localisation updates from https://translatewiki.net. 2019-04-18 17:17:44 +02:00
translatewiki.net
ef2c09559b Localisation updates from https://translatewiki.net. 2019-04-15 17:52:58 +02:00
Tom Hughes
5e42165d37 Switch travis to use xenial 2019-04-14 17:52:11 +01:00
Tom Hughes
15841e8d2a Merge remote-tracking branch 'upstream/pull/2205' 2019-04-14 16:09:04 +01:00
translatewiki.net
f88d11e0e6 Localisation updates from https://translatewiki.net. 2019-04-11 18:04:13 +02:00
Andy Allan
e66c719294 Resourceful(ish) naming for api/users_controller 2019-04-10 17:06:15 +02:00
Andy Allan
5444af981c Resourceful route names for api/trace_controller 2019-04-10 16:52:20 +02:00
translatewiki.net
36817f777c Localisation updates from https://translatewiki.net. 2019-04-08 16:59:31 +02:00
Tom Hughes
5bd59e1936 Enable a number of eslint style rules 2019-04-07 17:02:39 +01:00
Tom Hughes
8030e7b5d6 Enable some more eslint checks 2019-04-06 17:27:17 +01:00
Tom Hughes
9256397e46 Exclude generated i18n files from eslint checks 2019-04-06 17:16:59 +01:00
Tom Hughes
eb7678145a Use double quotes consistently in javascript code 2019-04-06 15:59:34 +01:00
Tom Hughes
87127d41e9 Enable some more eslint rules from iD rules 2019-04-06 15:48:51 +01:00
translatewiki.net
07aa5ade67 Localisation updates from https://translatewiki.net. 2019-04-04 20:15:40 +02:00
Tom Hughes
f68cee0f4e Fix queuing of trace imports for API uploads
Fixes #2200
2019-04-03 21:53:16 +01:00
Tom Hughes
670603e927 Merge remote-tracking branch 'upstream/pull/2196' 2019-04-03 19:06:18 +01:00
Tom Hughes
1f13321a60 Fix issues found by eslint 2019-04-01 22:03:39 +01:00
Tom Hughes
62dff6ab7f Replace jshint with eslint 2019-04-01 22:03:39 +01:00
translatewiki.net
aed17d1b16 Localisation updates from https://translatewiki.net. 2019-04-01 20:44:00 +02:00
Tom Hughes
2fb4497c6c Use erb-lint to prohibit inline scripting 2019-03-31 19:45:03 +01:00
Tom Hughes
79bda7a8ed Format closed_at correctly in changeset API responses
Fixes #2195
2019-03-30 15:40:08 +00:00
translatewiki.net
2954691be3 Localisation updates from https://translatewiki.net. 2019-03-28 19:41:23 +01:00
Tom Hughes
af69f58c7a Fix dependencies 2019-03-28 09:35:12 +00:00
Tom Hughes
ac2d598f2f Update to rails 5.2.3 2019-03-28 08:50:49 +00:00
Tom Hughes
9e759dc030 Expect CORS preflight responses to not have a content type
https://github.com/cyu/rack-cors/pull/180
2019-03-28 08:45:58 +00:00
Tom Hughes
671c041f7d Update bundle 2019-03-28 08:37:52 +00:00
Tom Hughes
0c79686f3c Merge remote-tracking branch 'upstream/pull/2190' 2019-03-28 08:24:04 +00:00
Tom Hughes
7ce40eeb38 erblint: use consistent spacing in HTML tags 2019-03-28 00:30:48 +00:00
Tom Hughes
49da87fb6d erblint: remove leading blank lines 2019-03-28 00:29:04 +00:00
Tom Hughes
89341ce266 erblint: avoid dynamic find_by methods 2019-03-27 19:14:16 +00:00
Tom Hughes
9f931ca1e3 erblint: add rel=noopener to links that open in a new tab 2019-03-27 19:11:49 +00:00
Tom Hughes
1d97fd25b7 erblint: use conditional assignment 2019-03-27 18:59:52 +00:00
Tom Hughes
6afa132b84 erblint: use word arrays 2019-03-27 18:57:04 +00:00
Tom Hughes
ecd81eadbe erblint: use parentheses for nested function calls 2019-03-27 18:55:48 +00:00
Tom Hughes
40141993f7 erblint: use symbols as procs 2019-03-27 18:54:16 +00:00
Tom Hughes
70f571fbcf erblint: avoid negated if conditions 2019-03-27 18:49:01 +00:00
Tom Hughes
7cd7354673 erblint: prefer symbolic logical operators over and/or/not 2019-03-27 18:47:51 +00:00
Tom Hughes
dbbbd62ef1 Merge remote-tracking branch 'upstream/pull/2192' 2019-03-27 18:19:08 +00:00
Tom Hughes
69b952ae78 Merge remote-tracking branch 'upstream/pull/2191' 2019-03-27 18:10:09 +00:00
Andy Allan
7b057545c0 Disentangle the api abilities from the web abilities
This will allow us to rename api actions without causing permissions headaches. The choice of
abilities files is made by inheriting from either api_controller or application_controller.

Also rename capabilities to api_capabilites, for consistency.
2019-03-27 18:07:29 +01:00
Andy Allan
22c1be4db7 Set image dimensions in order to avoid a reflow after the page is drawn by the browser 2019-03-27 18:05:44 +01:00
Andy Allan
a5f4124681 Refactor notes#mine to simplify code 2019-03-27 18:04:44 +01:00