Commit graph

267 commits

Author SHA1 Message Date
Andy Allan
9b3a3a12f5 Add rubocop-minitest 2020-04-15 16:15:52 +02:00
Tom Hughes
7804d5806d Update to rails 6.0.2.2 2020-03-19 18:20:26 +00:00
Andy Allan
1cb0767e3d Copy trace fixture files, rather than symlinking
Since we are using tmpdirs in order to enable parallel testing, we
can go the full hog and drop the fakefs too and just copy all the
files directly into the tmpdir. If a test makes changes (e.g.
changing the icon file during an import) the copy in the tmpdir is
thrown away at the end of the test anyway.
2020-03-18 15:35:55 +01:00
Tom Hughes
e0df631848 Switch GeoIP code to use GeoIPv2 databases 2020-01-01 18:50:48 +00:00
Tom Hughes
aa7256d617 Update to rails 6.0.2.1 2019-12-18 22:15:59 +00:00
Tom Hughes
32fa124698 Merge remote-tracking branch 'upstream/pull/2452' 2019-12-18 18:23:42 +00:00
Tom Hughes
1e4ced7c10 Update to rails 6.0.2 2019-12-13 18:54:06 +00:00
Tom Hughes
cfbd10b27b Fix rubocop warning 2019-12-11 17:48:37 +00:00
Tom Hughes
061231ec7e Switch back to the upstream actionpack-page_caching gem 2019-12-11 17:31:35 +00:00
Andy Allan
7f9dacbada Add bootstrap 4 2019-12-11 10:24:57 +01:00
Tom Hughes
743a764f3b Remove version lock on autoprefixer-rails 2019-12-04 19:01:26 +00:00
Tom Hughes
22cd2314e5 Update to rails 6.0.1 2019-11-24 11:05:02 +00:00
Tom Hughes
b6ecdb7507 Drop use of record_tag_helper
We only had one place using it and there's no sign of
upstream doing a rails 6 compatible release.
2019-11-24 11:05:02 +00:00
Tom Hughes
bf68eb6607 Fix rubocop warning 2019-11-24 11:04:35 +00:00
Tom Hughes
b34e976bb5 Switch to fork of actionpack-page_caching with rails 6 support 2019-11-24 10:47:10 +00:00
Tom Hughes
b5d4c262dd Switch to using jbuilder for JSON templates 2019-11-20 18:54:04 +00:00
Tom Hughes
5a54cb52f8 Drop paperclip 2019-07-17 19:12:30 +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
d67b057851 Replace eslint-rails-ee with direct calls to eslint 2019-06-12 19:27:58 +01:00
Tom Hughes
98caf18dc3 Fix rubocop warning 2019-06-11 13:20:00 +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
c17cd3a279 Update to released version 0.4.0 of gd2-ffij 2019-06-10 21:27:19 +01:00
Tom Hughes
0d936de9c9 Add rubocop-rails 2019-06-05 08:51:27 +01:00
Andy Allan
3e414a5025 Use strong_migrations to help developers avoid problems in production database schema changes 2019-05-30 10:11:17 +02:00
Tom Hughes
a6ea75a2e2 Adjust to final animated GIF interface 2019-05-13 20:17:01 +01:00
Tom Hughes
3bb80bc522 Remove version constraint on postgres driver 2019-04-27 12:44:21 +01:00
Tom Hughes
81e0b49ed5 Add rubocop-performance 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
Andy Allan
b88b699f49 Use https link for gem from github 2019-04-10 17:43:27 +02:00
Andy Allan
4c2fa6c441 Rubocop fixes 2019-04-10 11:57:25 +02:00
mmd-osm
fe6f3598f0 Gif animation prototype 2019-04-02 18:12:58 +02:00
Tom Hughes
62dff6ab7f Replace jshint with eslint 2019-04-01 22:03:39 +01:00
Tom Hughes
ac2d598f2f Update to rails 5.2.3 2019-03-28 08:50:49 +00:00
Andy Allan
d6a2515cb0 Introduce erb-lint for linting erb files
This also allows running rubocop on the ruby code within the erb
files.
2019-03-26 20:52:43 +00:00
Andy Allan
400db58036 Use activerecord-import for bulk importing tracepoint records
Non-rigourous testing shows a significant speedup, even on ssds.
2019-03-20 10:35:40 +01:00
Tom Hughes
e3ed9988ce Merge remote-tracking branch 'upstream/pull/2177' 2019-03-16 15:39:03 +00:00
Tom Hughes
370573c165 Update to rails 5.2.2.1 2019-03-15 09:30:17 +00:00
Andy Allan
7b08270526 Install config gem for settings management 2019-03-13 18:06:23 +01:00
Tom Hughes
89d387e66a Revert to rinku 2.0.4 2019-02-14 21:25:34 +00:00
Tom Hughes
45a454c2c8 Add browser detection framework 2019-01-30 12:11:34 +00:00
Tom Hughes
3e7bc943fe Merge remote-tracking branch 'upstream/pull/2120' 2019-01-28 19:04:02 +00:00
Andy Allan
d02e4ad461 Write some basic functionality tests for trace.import 2019-01-23 16:47:54 +01: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
1f3372f52c Switch to using kramdown for markdown formatting
Fixes #2103
2019-01-16 10:10:48 +00:00
Tom Hughes
fac3f0ef24 Update bundle 2019-01-08 18:21:03 +00:00
Tom Hughes
177b2c3e65 Update to rails 5.2.2 2018-12-04 20:41:22 +00:00
Tom Hughes
b29c173ac7 Update to rails 5.2.1.1 2018-11-27 23:10:24 +00:00
Tom Hughes
28e011e219 Update to rails 5.2.1 2018-11-14 22:35:44 +00:00