Skip to content
Permalink
Browse files

Merge pull request #452 from teiling88/misc/house-keeping-garmin

house keeping - remove not longer supported garmin integration
  • Loading branch information...
MacGyver-NRW committed Jan 26, 2017
2 parents 3378c06 + b8428b5 commit 2308dbabf6d7b4a1159b1f779a0c3687a6da9b92
Showing with 10 additions and 79,944 deletions.
  1. +1 −8 htdocs/config2/settings-dev.inc.php
  2. +1 −1 htdocs/config2/settings-dist-common.inc.php
  3. +1 −16 htdocs/config2/settings-dist.inc.php
  4. +1 −8 htdocs/config2/settings-sample.inc.php
  5. +0 −145 htdocs/garmin.php
  6. +1 −1 htdocs/lib2/search/search.gpx.inc.php
  7. +0 −3 htdocs/resource2/ocstyle/css/style_screen.css
  8. +0 −125 htdocs/resource2/ocstyle/js/GarminDisplay.js
  9. +0 −45 htdocs/resource2/ocstyle/js/communicator-api/README.txt
  10. +0 −915 htdocs/resource2/ocstyle/js/communicator-api/documentation/files.html
  11. BIN htdocs/resource2/ocstyle/js/communicator-api/documentation/images/garmin-white.gif
  12. +0 −505 htdocs/resource2/ocstyle/js/communicator-api/documentation/index.html
  13. +0 −383 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Activity.html
  14. +0 −416 ...s/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.Entry.html
  15. +0 −393 ...source2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.FileEntry.html
  16. +0 −401 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityDirectory.html
  17. +0 −522 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.ActivityMatcher.html
  18. +0 −415 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.AjaxActivityFilter.html
  19. +0 −393 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.BasicActivityFilter.html
  20. +0 −1,442 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Device.html
  21. +0 −3,240 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceControl.html
  22. +0 −1,081 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDataType.html
  23. +0 −2,516 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDisplay.html
  24. +0 −9,642 ...source2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DeviceDisplayDefaultOptions.html
  25. +0 −3,860 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DevicePlugin.html
  26. +0 −502 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DirectoryFactory.html
  27. +0 −472 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.DirectoryUtils.html
  28. +0 −382 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.File.html
  29. +0 −541 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Geocode.html
  30. +0 −455 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpiUtil.html
  31. +0 −879 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpsDataFactory.html
  32. +0 −577 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.GpxActivityFactory.html
  33. +0 −915 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MapController.html
  34. +0 −380 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MapIcons.html
  35. +0 −397 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Measurement.html
  36. +0 −590 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.MessageBox.html
  37. +0 −571 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.PluginUtils.html
  38. +0 −552 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.RemoteTransfer.html
  39. +0 −478 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Sample.html
  40. +0 −475 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Series.html
  41. +0 −457 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TcxActivityFactory.html
  42. +0 −946 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.Track.html
  43. +0 −707 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TrackPoint.html
  44. +0 −889 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TrackSegment.html
  45. +0 −540 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.TransferProgress.html
  46. +0 −1,178 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.WayPoint.html
  47. +0 −473 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/Garmin.html
  48. +0 −426 htdocs/resource2/ocstyle/js/communicator-api/documentation/symbols/_global_.html
  49. +0 −197 ...rce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivity.js.html
  50. +0 −184 ...yle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityDirectory.js.html
  51. +0 −273 ...cstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityFilter.js.html
  52. +0 −101 ...style/js/communicator-api/documentation/symbols/src/garmin_activity_GarminActivityMatcher.js.html
  53. +0 −70 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminMeasurement.js.html
  54. +0 −181 ...ource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminSample.js.html
  55. +0 −177 ...ource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GarminSeries.js.html
  56. +0 −431 .../ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_GpxActivityFactory.js.html
  57. +0 −643 .../ocstyle/js/communicator-api/documentation/symbols/src/garmin_activity_TcxActivityFactory.js.html
  58. +0 −95 ...ce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_api_GarminRemoteTransfer.js.html
  59. +0 −391 ...esource2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDevice.js.html
  60. +0 −1,810 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDeviceControl.js.html
  61. +0 −4,824 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDeviceDisplay.js.html
  62. +0 −1,162 ...e2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminDevicePlugin.js.html
  63. +0 −86 ...source2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminGeocode.js.html
  64. +0 −914 ...style/js/communicator-api/documentation/symbols/src/garmin_device_GarminGpsDataStructures.js.html
  65. +0 −59 ...ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminObjectGenerator.js.html
  66. +0 −308 ...ce2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GarminPluginUtils.js.html
  67. +0 −225 ...2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_device_GoogleMapController.js.html
  68. +0 −225 ...yle/js/communicator-api/documentation/symbols/src/garmin_directory_GarminDirectoryFactory.js.html
  69. +0 −149 ...style/js/communicator-api/documentation/symbols/src/garmin_directory_GarminDirectoryUtils.js.html
  70. +0 −149 ...source2/ocstyle/js/communicator-api/documentation/symbols/src/garmin_directory_GarminFile.js.html
  71. +0 −807 htdocs/resource2/ocstyle/js/communicator-api/examples/GarminDeviceControlDemo.js
  72. +0 −404 htdocs/resource2/ocstyle/js/communicator-api/examples/GarminDevicePluginDemo.js
  73. +0 −150 htdocs/resource2/ocstyle/js/communicator-api/examples/data/1mileworkout.wkt
  74. BIN htdocs/resource2/ocstyle/js/communicator-api/examples/data/BerkeleyCafes.gpi
  75. +0 −56 htdocs/resource2/ocstyle/js/communicator-api/examples/data/activity-goals-fr405.TCX
  76. +0 −146 htdocs/resource2/ocstyle/js/communicator-api/examples/data/routes.gpx
  77. BIN htdocs/resource2/ocstyle/js/communicator-api/examples/data/skBlack.srf
  78. +0 −467 htdocs/resource2/ocstyle/js/communicator-api/examples/data/user_profile.tcx
  79. +0 −945 htdocs/resource2/ocstyle/js/communicator-api/examples/data/walk_courses.tcx
  80. +0 −36 htdocs/resource2/ocstyle/js/communicator-api/examples/data/waypoints.gpx
  81. +0 −37 htdocs/resource2/ocstyle/js/communicator-api/examples/garminBinaryWrite.html
  82. +0 −985 htdocs/resource2/ocstyle/js/communicator-api/examples/garminCourseWriteButton.html
  83. +0 −64 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceControlDemo.css
  84. +0 −146 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceControlDemo.html
  85. +0 −22 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayDefault.html
  86. +0 −32 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayDemo.html
  87. +0 −85 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayIi8n.html
  88. +0 −60 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceDisplayUploadDemo.html
  89. +0 −735 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDevicePluginDemo.html
  90. +0 −207 htdocs/resource2/ocstyle/js/communicator-api/examples/garminDeviceTree.html
  91. +0 −78 htdocs/resource2/ocstyle/js/communicator-api/examples/garminFileListing-FIT.html
  92. +0 −81 htdocs/resource2/ocstyle/js/communicator-api/examples/garminFileListing.html
  93. +0 −131 htdocs/resource2/ocstyle/js/communicator-api/examples/garminGeocodeDemo.html
  94. +0 −34 htdocs/resource2/ocstyle/js/communicator-api/examples/garminHelloDevice.html
  95. +0 −35 htdocs/resource2/ocstyle/js/communicator-api/examples/garminPOIWrite.html
  96. +0 −303 htdocs/resource2/ocstyle/js/communicator-api/examples/garminSimpleFitnessRead.html
  97. +0 −52 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadButton.html
  98. +0 −39 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadLink.html
  99. +0 −95 htdocs/resource2/ocstyle/js/communicator-api/examples/garminWaypointUploadMethodCall.html
  100. +0 −77 htdocs/resource2/ocstyle/js/communicator-api/examples/geocache.html
  101. +0 −32 htdocs/resource2/ocstyle/js/communicator-api/examples/testPlugin.html
  102. +0 −762 htdocs/resource2/ocstyle/js/communicator-api/examples/uploadDisplay.css
  103. +0 −190 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivity.js
  104. +0 −177 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityDirectory.js
  105. +0 −266 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityFilter.js
  106. +0 −94 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminActivityMatcher.js
  107. +0 −62 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminMeasurement.js
  108. +0 −174 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminSample.js
  109. +0 −170 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GarminSeries.js
  110. +0 −423 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/GpxActivityFactory.js
  111. +0 −636 htdocs/resource2/ocstyle/js/communicator-api/garmin/activity/TcxActivityFactory.js
  112. +0 −88 htdocs/resource2/ocstyle/js/communicator-api/garmin/api/GarminRemoteTransfer.js
  113. +0 −385 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDevice.js
  114. +0 −1,802 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDeviceControl.js
  115. +0 −4,816 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDeviceDisplay.js
  116. +0 −1,155 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminDevicePlugin.js
  117. +0 −79 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminGeocode.js
  118. +0 −906 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminGpsDataStructures.js
  119. +0 −51 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminObjectGenerator.js
  120. +0 −301 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GarminPluginUtils.js
  121. +0 −218 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/GoogleMapController.js
  122. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/ajax-loader.gif
  123. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/button_bg.jpg
  124. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/choose_bg.png
  125. +0 −102 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/communicator.css
  126. +0 −230 htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/communicator2.css
  127. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/garmin-white.gif
  128. BIN htdocs/resource2/ocstyle/js/communicator-api/garmin/device/style/garmin.jpg
  129. +0 −218 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminDirectoryFactory.js
  130. +0 −142 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminDirectoryUtils.js
  131. +0 −142 htdocs/resource2/ocstyle/js/communicator-api/garmin/directory/GarminFile.js
  132. +0 −85 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-Broadcaster.js
  133. +0 −120 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-BrowserDetect.js
  134. +0 −311 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-DateTimeFormat.js
  135. +0 −273 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-Json2.js
  136. +0 −67 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-PluginDetect.js
  137. +0 −62 htdocs/resource2/ocstyle/js/communicator-api/garmin/util/Util-XmlConverter.js
  138. +0 −655 htdocs/resource2/ocstyle/js/communicator-api/jstests/GarminDevicePluginStub.js
  139. +0 −44 htdocs/resource2/ocstyle/js/communicator-api/jstests/Util-BroadcasterTest.html
  140. +0 −123 htdocs/resource2/ocstyle/js/communicator-api/jstests/Util-DateTimeFormatTest.html
  141. +0 −34 htdocs/resource2/ocstyle/js/communicator-api/jstests/UtilTestSuite.html
  142. +0 −76 htdocs/resource2/ocstyle/js/communicator-api/jstests/_testTemplate.html
  143. +0 −232 htdocs/resource2/ocstyle/js/communicator-api/jstests/controlTest.html
  144. +0 −131 htdocs/resource2/ocstyle/js/communicator-api/jstests/displayLogicTest.html
  145. +0 −140 htdocs/resource2/ocstyle/js/communicator-api/jstests/displayUIGenerationTest.html
  146. +0 −40 htdocs/resource2/ocstyle/js/communicator-api/jstests/garminTestSuite.html
  147. +0 −153 htdocs/resource2/ocstyle/js/communicator-api/jstests/gpsDataStructuresTest.html
  148. +0 −98 htdocs/resource2/ocstyle/js/communicator-api/jstests/gpxDataStructuresTest.html
  149. +0 −61 htdocs/resource2/ocstyle/js/communicator-api/jstests/pluginTest.html
  150. +0 −99 htdocs/resource2/ocstyle/js/communicator-api/jstests/pluginUtilsTest.html
  151. +0 −4,221 htdocs/resource2/ocstyle/js/communicator-api/prototype/prototype.js
  152. +0 −2 htdocs/src/Oc/Cache/WebCache.php
  153. +0 −58 htdocs/templates2/ocstyle/garmin.tpl
  154. +0 −8 htdocs/templates2/ocstyle/sys_main.tpl
  155. +1 −3 htdocs/templates2/ocstyle/viewcache.tpl
  156. +1 −1 htdocs/util/attributes/top.php
  157. +3 −4 htdocs/util2/cron/modules/okapi_cleanup.class.php
  158. +0 −1 htdocs/viewcache.php
@@ -95,14 +95,7 @@
$opt['logic']['logs']['purge_email'] = 0;
$opt['logic']['logs']['purge_userdata'] = 0;
/* 3rd party library options
* see https://my.garmin.com/api/communicator/key-generator.jsp
*/
$opt['lib']['garmin']['key'] = '00112233445566778899AABBCCDDEEFF00';
$opt['lib']['garmin']['domain'] = 'local.team-opencaching.de';
$opt['lib']['garmin']['url'] = 'http://local.team-opencaching.de/';
$opt['lib']['garmin']['page_url'] = $opt['lib']['garmin']['url'] . ($dev_codepath == '*' ? '' : $dev_codepath . 'htdocs/');
// 3rd party library options
// only for local.team-opencaching.de usage
$opt['lib']['w3w']['apikey'] = 'X27PDW41';
@@ -30,7 +30,7 @@
// directory of rotator pictures and script, relative to head images dir
$opt['page']['headimagepath'] = '';
// sponsor link on e.g. print preview and garmin-plugin
// sponsor link on e.g. print preview
$opt['page']['sponsor']['popup'] = '';
$opt['page']['sponsor']['bottom'] = 'Driven by the Opencaching community';
@@ -484,22 +484,7 @@
$opt['wikinews']['count'] = 5;
$opt['wikinews']['timeout'] = 20;
/* 3rd party library options
*/
// key provided from garmin (communicator api)
$opt['lib']['garmin']['key'] = '00112233445566778899AABBCCDDEEFF00';
// domain registered to this key. If the domain does not match the request
// a redirect to redirect-setting will be done
// (use exact same url with slashes etc. as registered by garmin)
$opt['lib']['garmin']['domain'] = 'www.site.org';
$opt['lib']['garmin']['url'] = 'http://' . $opt['lib']['garmin']['domain'] . '/';
// if the plugin is not called from the correct domain, redirect to this site
// (e.g. domain called without www. prefix) - must match domain of $opt['lib']['garmin']['url']
$opt['lib']['garmin']['redirect'] = 'http://www.site.org/garmin.php?redirect=1&cacheid={cacheid}';
// 3rd party library options
// developer.what3words.com API key
$opt['lib']['w3w']['apikey'] = 'YOURAPIKEY';
@@ -185,14 +185,7 @@
*/
$opt['logic']['systemuser']['user'] = '';
/* 3rd party library options
* see https://my.garmin.com/api/communicator/key-generator.jsp
*/
$opt['lib']['garmin']['domain'] = '<domain>';
$opt['lib']['garmin']['key'] = '00112233445566778899AABBCCDDEEFF00';
$opt['lib']['garmin']['url'] = 'http://' . $opt['lib']['garmin']['domain'] . '/';
$opt['lib']['garmin']['page_url'] = 'http://<domain>/';
// 3rd party library options
// developer.what3words.com API Key
$opt['lib']['w3w']['apikey'] = 'YOURAPIKEY';

This file was deleted.

Oops, something went wrong.
@@ -497,7 +497,7 @@ function search_output()
// additional waypoints, including personal cache note
$childWaypoints = $childwphandler->getChildWps($r['cacheid']);
$n = 1;
$digits = "%0" . strlen(count($childWaypoints)) . "d";
$digits = '%0' . strlen(count($childWaypoints)) . 'd';
foreach ($childWaypoints as $childWaypoint) {
$thiswp = $gpxWaypoints;
@@ -863,9 +863,6 @@ div.cachelistinfo { border:1px solid #a0a0a0; }
.pager { font-size:14px; }
.smallpager { }

/* Garmin downlaod */
.garmintext { font-size: 1.1em; }

.edit_wptable {
background-color:#dddddd;
font-size:0.85em;

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 2308dba

Please sign in to comment.
You can’t perform that action at this time.