Commit graph

9461 commits

Author SHA1 Message Date
Tom Hughes
a254efb5ec Set server_url to test.host in test environments
Fixes #2319
2019-07-17 11:25:36 +01:00
Andy Allan
0444187cb6 Update annotations after 91a37235ac 2019-07-17 10:39:10 +02:00
Tom Hughes
40ac2aa528 Use the configured host name for user image URLs 2019-07-16 22:41:37 +01:00
Tom Hughes
91a37235ac Remove support for old style user images 2019-07-16 22:33:26 +01:00
Tom Hughes
3cfffc2258 Update gravatar methods to check for Active Storage images 2019-07-16 22:29:07 +01:00
Tom Hughes
b911b45961 Return absolute URLs for user images 2019-07-16 22:28:36 +01:00
Tom Hughes
cea0ba5137 Merge remote-tracking branch 'upstream/pull/2313' 2019-07-16 11:56:13 +01:00
Tom Hughes
905a7eadb6 Defer deletion of avatars to a background job 2019-07-16 08:27:14 +01:00
Tom Hughes
f597780822 Increase expiry for Active Storage URLs 2019-07-16 08:25:17 +01:00
Tom Hughes
e3f37bb30c Allow BMP images to be transformed
https://github.com/rails/rails/issues/35953
https://github.com/rails/rails/pull/36051
2019-07-16 00:24:37 +01:00
Tom Hughes
c5fc9f0e7e Run any Active Storage jobs in the storage queue 2019-07-15 22:20:48 +01:00
Tom Hughes
5cb96cd1a2 Send trace import result notification immediately
If we delay sending failure notifications then they will fail
because the trace will no longer exist.

As trace imports are running in the background anyway there
doesn't seem to be any good reason to defer the emails.

Fixes #2312
2019-07-15 21:45:07 +01:00
Tom Hughes
d2d3f2c9fd Fix rubocop warning 2019-07-15 21:18:13 +01:00
Tom Hughes
6dd451c7ee Stop creating a shared global querystring variable 2019-07-15 20:28:54 +01:00
translatewiki.net
cc5688a6de Localisation updates from https://translatewiki.net. 2019-07-15 20:39:25 +02:00
Tom Hughes
11c4aa7d73 Skip uploading images for users that have a new style avatar 2019-07-15 19:17:01 +01:00
Tom Hughes
6da536e5c8 Add a rake task to move user avatars to Active Storage 2019-07-15 19:09:50 +01:00
Tom Hughes
a47c0a4411 Update querystring references 2019-07-15 10:03:09 +01:00
Tom Hughes
cd4ac6ac2d Revert accidental schema changes 2019-07-15 09:27:52 +01:00
Tom Hughes
550fa0c8e4 It's to_sym not to_symbol 2019-07-15 08:39:20 +01:00
Tom Hughes
c162c065c6 Merge remote-tracking branch 'upstream/pull/2296' 2019-07-15 08:19:30 +01:00
Tom Hughes
492a640530 Enable a few more eslint checks 2019-07-14 12:08:02 +01:00
Tom Hughes
c4c0e8105a Enforce consistent indentation in javascript code 2019-07-14 10:52:18 +01:00
Tom Hughes
807750023a Fix eslint warning 2019-07-13 17:46:23 +01:00
Tom Hughes
27078aa780 Update eslint
Closes #2307
2019-07-13 17:45:24 +01:00
Tom Hughes
64f70a7cb0 Merge remote-tracking branch 'upstream/pull/2305' 2019-07-11 20:23:31 +01:00
Mateusz Konieczny
d63beb8080 make link in documentation clickable 2019-07-11 21:11:25 +02:00
translatewiki.net
4111388674 Localisation updates from https://translatewiki.net. 2019-07-11 17:39:18 +02:00
Andy Allan
8c1a5d62f8 Ignore the class length of test files
There's no sensible way to refactor a controller test into multiple classes,
so lets exclude them from the class length metrics to reveal other over-length
classes.
2019-07-10 17:24:32 +02:00
Tom Hughes
75e60acf66 Allow configuration of storage server URL for security policy 2019-07-09 19:43:03 +01:00
Tom Hughes
77ee8c1a53 Monkey patch Active Storage to set content type when uploading to S3 2019-07-09 19:17:56 +01:00
Tom Hughes
77026ee039 Add support for using S3 as the object store 2019-07-09 19:17:30 +01:00
Tom Hughes
6c202448ad Move user images to Active Storage with paperclip as a fallback 2019-07-09 19:17:30 +01:00
Tom Hughes
ba627420a3 Add support for Active Storage attachments 2019-07-09 19:17:29 +01:00
translatewiki.net
cec5e4999c Localisation updates from https://translatewiki.net. 2019-07-08 20:23:32 +02:00
Tom Hughes
d0201f4487 Update wiki page data 2019-07-08 11:08:12 +01:00
Tom Hughes
6f9b0c2f6b Fix rubocop warnings 2019-07-07 16:30:04 +01:00
Tom Hughes
d7f92e163e Update bundle 2019-07-07 16:24:57 +01:00
Tom Hughes
d021bdf5cf Merge remote-tracking branch 'upstream/pull/2223' 2019-07-07 16:14:32 +01:00
translatewiki.net
f2ceda5296 Localisation updates from https://translatewiki.net. 2019-07-05 07:26:34 +02:00
Grant Slater
f39ea70083 Ubuntu 18.04 is now required. Add apt-get update 2019-07-03 20:47:07 +01:00
Tom Hughes
9299f8ca23 Include bundler in packages to install on Ubuntu 2019-07-03 17:59:14 +01:00
Tom Hughes
e8e44dbb9f More tweaks for RTL email
Fixes #2297
2019-07-03 14:19:45 +01:00
Tom Hughes
f9109b7a75 Fix styling of email notifications in RTL languages
Fixes #2297
2019-07-03 09:49:46 +01:00
Tom Hughes
ee8ed3c682 Add missing space 2019-07-03 08:28:22 +01:00
Tom Hughes
37966859da Revert "Block indexing of diary entries"
This reverts commit fc67e63589.
2019-07-02 19:45:23 +01:00
Tom Hughes
ea2c790a42 Fix text direction for traditional chinese 2019-07-02 19:45:23 +01:00
translatewiki.net
a0660c009c Localisation updates from https://translatewiki.net. 2019-07-01 09:43:51 +02:00
Tom Hughes
5584404412 Merge remote-tracking branch 'upstream/pull/2294' 2019-06-30 15:27:25 +01:00
Bryan Housel
12cdc58688 Update to iD v2.15.3 2019-06-30 10:15:38 -04:00