From 6bc18d6c86a0955edb7f73770c53ad462b6548c1 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 27 Mar 2014 00:33:01 +0000 Subject: [PATCH 1/4] make all region lines non-clickable --- plugins/regions.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/regions.user.js b/plugins/regions.user.js index 980f5fae..0dd60538 100644 --- a/plugins/regions.user.js +++ b/plugins/regions.user.js @@ -149,7 +149,7 @@ window.plugin.regions.update = function() { // the six cube side boundaries. we cheat by hard-coding the coords as it's simple enough var latLngs = [ [45,-180], [35.264389682754654,-135], [35.264389682754654,-45], [35.264389682754654,45], [35.264389682754654,135], [45,180]]; - var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5}; + var globalCellOptions = {color: 'red', weight: 7, opacity: 0.5, clickable: false }; for (var i=0; i Date: Thu, 27 Mar 2014 21:02:12 +0000 Subject: [PATCH 2/4] website: re-order the test builds page so mobile is first --- website/page/test.php | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/website/page/test.php b/website/page/test.php index 0cb2e594..29cadef9 100644 --- a/website/page/test.php +++ b/website/page/test.php @@ -15,6 +15,7 @@ builds. -

Desktop test build

- - - -
- - -

Desktop test plugins

- - - -
-

Mobile test build

@@ -70,10 +57,6 @@ Test builds will be called "IITCm Test" - while the regular release builds remai +

Desktop test build

+ + + +
+ +

Desktop test plugins

+ + + +
+ From f045cd5714d862639219ba4929b9e6975a8bfeda Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 31 Mar 2014 18:11:26 +0100 Subject: [PATCH 3/4] fix portals-list for portals with no title fix #789 --- plugins/portals-list.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/portals-list.user.js b/plugins/portals-list.user.js index e2c3a786..75ee2fb1 100644 --- a/plugins/portals-list.user.js +++ b/plugins/portals-list.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-portals-list@teo96 // @name IITC plugin: show list of portals // @category Info -// @version 0.1.0.@@DATETIMEVERSION@@ +// @version 0.1.1.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ @@ -84,8 +84,8 @@ window.plugin.portalslist.getPortals = function() { 'guid': i, 'teamN': teamN, // TEAM_NONE, TEAM_RES or TEAM_ENL 'team': d.team, // "NEUTRAL", "RESISTANCE" or "ENLIGHTENED" - 'name': d.title, - 'nameLower': d.title.toLowerCase(), + 'name': d.title || '(untitled)', + 'nameLower': d.title && d.title.toLowerCase(), 'level': portal.options.level, 'health': d.health, 'resCount': d.resCount, From 22299adcef346a121634050c9152379c9975f1ae Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Mon, 31 Mar 2014 18:15:46 +0100 Subject: [PATCH 4/4] update portals-list to use current permalink format (ll & pll) rather than the ancient latE6/lngE6/pguid format fix #788 --- plugins/portals-list.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/portals-list.user.js b/plugins/portals-list.user.js index 75ee2fb1..cb45736c 100644 --- a/plugins/portals-list.user.js +++ b/plugins/portals-list.user.js @@ -242,7 +242,7 @@ window.plugin.portalslist.getPortalLink = function(portal,guid) { var latlng = [coord.lat, coord.lng].join(); var jsSingleClick = 'window.renderPortalDetails(\''+guid+'\');return false'; var jsDoubleClick = 'window.zoomToAndShowPortal(\''+guid+'\', ['+latlng+']);return false'; - var perma = '/intel?latE6='+coord.lat+'&lngE6='+coord.lng+'&z=17&pguid='+guid; + var perma = '/intel?ll='+coord.lat+','+coord.lng+'&z=17&pll='+coord.lat+','+coord.lng; //Use Jquery to create the link, which escape characters in TITLE and ADDRESS of portal var a = $('',{