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
Tom Hughes
66ba93d6e6
Update Potlatch 2 to 2.5-21-gec1befed build
2018-01-17 12:32:58 +00:00
Tom Hughes
31133683b4
Don't add system tests if the user specified which tests to run
2017-12-09 10:52:19 +00:00
Tom Hughes
d581fbfaf1
Make system tests run by default
2017-11-15 19:14:31 +00:00
Tom Hughes
9e929de530
Add framework for system tests
2017-11-15 19:14:31 +00:00
Tom Hughes
b6b9d543ac
Fix rubocop warnings
2017-10-29 19:43:02 +00:00
Tom Hughes
fff5a755d3
Convert session timeout to seconds when it is set
...
This avoids problems if the rails Duration class changes
representation between different versions of rails.
2017-10-25 08:59:29 +01:00
Tom Hughes
38640e0253
Merge remote-tracking branch 'upstream/pull/1652'
2017-10-25 08:16:33 +01:00
Andy Allan
4d406fcdfd
Rubocop fixes
2017-10-22 22:35:34 +01:00
Andy Allan
b2a8df0bd7
Add annotate gem and associated rake task. Annotate models.
2017-10-22 22:18:26 +01:00
Tom Hughes
f773f67958
Update to rails 5.1.4
2017-10-17 18:49:55 +01:00
Tom Hughes
8dae890a76
Fix rubocop warnings
2017-10-05 19:18:38 +01:00
Tom Hughes
81deb35331
Update to rails 5.0.4
2017-06-27 08:26:44 +01:00
Andy Allan
396f2e28dd
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
2017-06-23 14:03:57 +01:00
Tom Hughes
ab3df6fc56
Refactor AMF encodevalue routine
...
Simplify the switch, and raise an exception if we see an unexpected
type rather than just logging and then accidentally triggering a odd
error by returning true when a string is expected.
2017-06-21 21:20:41 +01:00
Tom Hughes
38a39352cb
Replace deprecated xxx_filter methods with xxx_action
2017-06-03 17:33:19 +01:00
Tom Hughes
28d902a1bb
Rescue LoadError instead of MissingSourceFile
...
MissingSourceFile is just an alias for LoadError in rails 4.2 and
in rails 5.0 it is no longer present.
2017-06-02 16:33:40 +01:00
Tom Hughes
f8f7054fc2
Move monkey patch modules to the OpenStreetMap namespace
...
Having them in the OSM namespace risks blocking autoloading
of the lib/osm.rb code by defining the OSM constant.
2017-06-02 16:33:27 +01:00
Tom Hughes
5b33f3f8e3
Fix rubocop warnings
2017-06-02 00:08:30 +01:00
Tom Hughes
68a6fce1f9
Fix up monkey patching of ActiveRecord for migrations
2017-06-01 23:18:18 +01:00
Tom Hughes
f940a154f3
Replace alias_method_chain with Module#prepend
2017-06-01 22:45:28 +01:00
Tom Hughes
12d3f94e3c
Play a bit of whack-an-seo-mole
2017-05-18 15:02:21 +01:00