Andy Allan
4f304e2301
Remove SystemTimer and use stdlib Timeout directly
...
SystemTimer was only needed on ruby 1.8, and we dropped support for
that a long time ago.
2020-12-23 14:25:58 +00:00
Tom Hughes
2490fdc496
Ignore GPX archive entries that aren't regular files
...
Fixes #3008
2020-12-16 11:17:51 +00:00
Tom Hughes
2ecfd61ee9
Fix new rubocop warnings
2020-11-17 08:17:34 +00:00
Tom Hughes
bfffe7ed96
Prefer string interpolation to concatenation
2020-11-13 11:32:28 +00:00
Tom Hughes
4347d9d3b0
Merge remote-tracking branch 'upstream/pull/2921' into master
2020-11-13 10:49:35 +00:00
Tom Hughes
582402ba8f
Prefer keyword arguments when method has optional boolean arguments
2020-11-13 10:22:55 +00:00
Andy Allan
52c688f55a
Prefer string interpolation to concatenation
2020-10-28 17:15:14 +01:00
Tom Hughes
2dc50b4431
Fix new rubocop warnings
2020-10-09 08:26:38 +01:00
Tom Hughes
c2af89c00e
Fix rubocop Style/SoleNestedConditional warnings
2020-09-02 18:54:55 +01:00
Tom Hughes
b7432e9432
Handle new rubocop warnings
2020-09-02 07:18:21 +01:00
Tom Hughes
2651db7254
Fix Lint/MissingSuper warnings
2020-08-09 19:06:04 +01:00
Tom Hughes
ea59d95f4a
Fix some new rubocop warnings
2020-08-06 22:27:30 +01:00
Tom Hughes
0e2a66e8de
Fix new rubocop warnings
2020-08-06 18:42:16 +01:00
Tom Hughes
4d2ea31516
Don't fall back to name:en if it's not in the user's language list
...
Fix to #2755
2020-08-06 14:21:30 +01:00
Tom Hughes
2d3972249c
Fix some rubocop todos
2020-08-02 19:38:58 +01:00
Tom Hughes
c4abe8eb28
Fix the CrossSiteScripting warnings from Brakeman
2020-07-22 20:57:16 +01:00
Tom Hughes
9f993fe8c8
Fix new rubocop warnings
2020-07-07 10:44:52 +01:00
Tom Hughes
bf22c69286
Improve locale selection algorithm
...
Don't include locales which only have rails translations in
the candidates, and ensure that user specified options take
priority over less specific variants of earlier choices.
2020-06-04 17:33:11 +01:00
Tom Hughes
a8c63724f6
Merge remote-tracking branch 'upstream/pull/2641'
2020-06-03 17:31:12 +01:00
Andy Allan
0a33c66146
Convert lib files to model concerns
2020-06-03 16:44:26 +02:00
Andy Allan
46c3e70ec6
Remove some unused scripts
2020-06-03 16:15:24 +02:00
Tom Hughes
f3219ada14
Fix new rubocop warnings
2020-05-12 19:18:45 +01:00
Tom Hughes
ee783bcee9
Fix deprecation warning
2020-04-23 20:45:01 +01: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
3184bec5ae
Fix some untranslateable strings
...
Fixes #2565
2020-03-20 17:22:23 +00:00
Andreas Geyer-Schulz
f6f23ed0ee
Fix typo: change 'noreferer' to 'noreferrer'
...
as the correct rel attribute in external links.
2020-01-25 20:10:23 +01:00
Tom Hughes
473da378b7
Remove fallback to hostip.info
...
We haven't used hostip.info in production for years, except
for when we did so by accident, leading to a two hour partial
outage when it went down.
2020-01-06 19:14:12 +00:00
Tom Hughes
438496c657
Fix hostip.info fallback
2020-01-01 22:28:08 +00:00
Tom Hughes
e0df631848
Switch GeoIP code to use GeoIPv2 databases
2020-01-01 18:50:48 +00:00
Tom Hughes
57f5b7840e
Fix rubocop warnings
2019-12-04 19:31:53 +00:00
Tom Hughes
1f4d48eaf3
Fix some deprecation warnings
2019-11-24 11:05:02 +00:00
Tom Hughes
8072a82f1d
Exclude node_modules form eslint checks
2019-10-22 20:37:39 +01:00
Tom Hughes
1f880528bd
Fix new rubocop warnings
2019-07-18 16:47:08 +01:00
Tom Hughes
826b70fdc5
Replace migrations that rely on models with rake tasks
...
Replace some migrations that rely on relationships between
models to add subscriptions with rake tasks.
2019-07-17 18:55:15 +01:00
Tom Hughes
3cfffc2258
Update gravatar methods to check for Active Storage images
2019-07-16 22:29:07 +01:00
Tom Hughes
d2d3f2c9fd
Fix rubocop warning
2019-07-15 21:18:13 +01: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
6f9b0c2f6b
Fix rubocop warnings
2019-07-07 16:30:04 +01:00
Tom Hughes
26cbdcf71a
Fix importing of GPX traces with a leading byte order marker
...
Fixes #2258
2019-06-14 19:01:53 +01:00
Tom Hughes
d67b057851
Replace eslint-rails-ee with direct calls to eslint
2019-06-12 19:27:58 +01:00
Tom Hughes
46e3d84674
Round up the frame size for trace animations
2019-06-11 22:33:07 +01:00
Tom Hughes
bc70a475eb
Include first frame twice in trace animations
2019-06-11 20:36:53 +01:00
Tom Hughes
ee458b6ee2
Parse each GPX file in an archive separately
...
Fixes #2253
2019-06-11 12:57:00 +01:00
Tom Hughes
6db326aa1f
Merge remote-tracking branch 'upstream/pull/2204'
2019-06-10 21:29:38 +01:00
Tom Hughes
a6ea75a2e2
Adjust to final animated GIF interface
2019-05-13 20:17:01 +01:00
Tom Hughes
9f57f60b87
Fix new rubocop warnings
2019-04-23 09:33:34 +01:00
mmd-osm
7f138fb014
Skip gif animation optimization in case both frames are identical
...
This works around an issue in libgd2 library which would otherwise
cause segfaults due to zero sized images
2019-04-03 19:15:37 +02:00
Andy Allan
ab6d657992
Fix rubocop warnings and rename a variable
2019-04-03 10:45:48 +02:00
mmd-osm
1316ed8c11
Remove unnessary init
2019-04-02 20:01:59 +02:00