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
mmd-osm
fe805836cc
Fix incorrect start index
2019-04-02 18:28:49 +02:00
mmd-osm
fe6f3598f0
Gif animation prototype
2019-04-02 18:12:58 +02:00
Tom Hughes
dcfe326f65
Merge remote-tracking branch 'upstream/pull/2175'
2019-03-26 19:14:04 +00:00
Tom Hughes
d6af4450d1
Prefer String#match? over butt ugly Regexp#match?
2019-03-26 19:12:18 +00:00
Andy Allan
c1bf73bee4
Use an enumerator for gpx.points, and process the the points in batches
2019-03-20 10:35:40 +01:00
Andy Allan
d102c9aaf4
Move all settings to settings.yml
...
We leave the STATUS setting alone, since it's required before rails
boots. The test-specific settings now live in config/settings/test.yml
2019-03-13 18:06:23 +01:00
Andy Allan
1ca77d6dda
Rubocop fixes for ruby 2.5
2019-03-13 10:33:33 +01:00
Andy Allan
32ce4ea527
Move utf8 validator into app/validators
2019-02-06 12:11:44 +01:00
Tom Hughes
3e7bc943fe
Merge remote-tracking branch 'upstream/pull/2120'
2019-01-28 19:04:02 +00:00
Andy Allan
6820d53e5f
Use gd-ffij gem to create trace icons
...
This is a port of the gd-based code from the gpx-importer at
https://github.com/openstreetmap/gpx-import
The gd-ffij library does not yet have support for animated gifs, so
we just create a static image for now. But at least that's better than
the non-functioning RMagick code.
2019-01-16 16:06:25 +01:00
Tom Hughes
df232ec96f
Add noopener and noreferer to links in user generated content
2019-01-16 10:10:51 +00:00
Tom Hughes
1f3372f52c
Switch to using kramdown for markdown formatting
...
Fixes #2103
2019-01-16 10:10:48 +00:00
Andy Allan
e59f1b6108
Sketch out how to use the jobs queue for trace insertion and deletion
...
Refs #1852
2019-01-16 10:49:11 +01:00
Andy Allan
686fee43bf
Use full list of osm xml root attributes in builder templates
2019-01-09 14:15:39 +01:00
Tom Hughes
9d97e4e99a
Update Potlatch 2 to 2.5-56-g550aab49 build
2018-11-09 14:33:00 +00:00
Tom Hughes
6142980d07
Fix new rubocop warnings
2018-10-31 19:14:39 +00:00
Tom Hughes
82f3dc6823
Convert some model mixins to concerns
2018-10-29 19:14:55 +00:00
Tom Hughes
de29e9b3f5
Fix Style/NumericPredicate rubocop warnings
2018-09-22 17:34:58 +01:00
Tom Hughes
6c2093b29d
Fix new rubocop warnings
2018-09-22 17:12:29 +01:00
Tom Hughes
1a0ed716f7
Convert some URLs to https
2018-06-29 11:46:54 +01:00
Tom Hughes
f7a35c5895
Fix new rubocop warnings
2018-06-18 09:00:49 +01:00
Benjamin Reynolds
d5672aed4a
Remove quad_tile library and extract to gem
...
Quad tile functions are now installed via a gem with native extension
automatically. This improves the run time of the test suite by ~30% for
users that didn't bother to build the C version of the functions.
Closes #1314
Closes #1899
2018-06-14 18:29:37 +01:00
Tom Hughes
b7dfcf020f
Update Potlatch 2 to 2.5-37-ga38498b2 build
2018-06-06 14:17:49 +01:00
Tom Hughes
1f2ac59d1d
Fix new rubocop warnings
2018-03-26 19:00:03 +01:00
Tom Hughes
9f170663fc
Make OSM::GreatCircle#bounds return a BoundingBox object
2018-03-04 09:59:23 +00:00
ardean80
552a471188
Update country.rb
...
Without adding "Rails.root.join(...)" (or something else returning a complete path to the countries.xml file) this error occurred:
"No such file or directory @ rb_sysopen - config/countries.xml"
I think it happened because it could not find that file through a relative path.
2018-02-16 14:43:53 +01:00
Tom Hughes
162ffd9acc
Make OSM::GreatCircle clamp results to the globe
2018-02-04 17:42:40 +00:00
Tom Hughes
413bf78e54
Fix C version of QuadTile#tiles_for_area to return correct tiles
2018-02-04 17:22:06 +00:00
Tom Hughes
a83030dab7
Fix new rubocop warnings
2018-01-22 18:55:45 +00:00