From 17167a592d96abfe50249b9d9d7c26ec859aa42f Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Sat, 17 Aug 2013 18:56:51 +0100 Subject: [PATCH 1/4] update descriptions for keys + keys-on-map plugins - hopefully will reduce user confusion --- plugins/keys-on-map.user.js | 2 +- plugins/keys.user.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/keys-on-map.user.js b/plugins/keys-on-map.user.js index fb495552..094b806c 100644 --- a/plugins/keys-on-map.user.js +++ b/plugins/keys-on-map.user.js @@ -6,7 +6,7 @@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ -// @description [@@BUILDNAME@@-@@BUILDDATE@@] Show keys in keys plugin on map. +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Show the manually entered key counts from keys plugin on the map. // @include https://www.ingress.com/intel* // @include http://www.ingress.com/intel* // @match https://www.ingress.com/intel* diff --git a/plugins/keys.user.js b/plugins/keys.user.js index 22f4d1d2..bd9984a7 100644 --- a/plugins/keys.user.js +++ b/plugins/keys.user.js @@ -6,7 +6,7 @@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ -// @description [@@BUILDNAME@@-@@BUILDDATE@@] Store portal keys. Install the 'Sync' plugin to sync the keys between clients. +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Allow manual entry of key counts for each portal. Use 'keys-on-map' to show the numbers on the map, and 'sync' to share between multiple browsers or desktop/mobile. // @include https://www.ingress.com/intel* // @include http://www.ingress.com/intel* // @match https://www.ingress.com/intel* From c49caf674af12ee490a422cfb7323a593341a3c4 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 22 Aug 2013 19:51:12 +0100 Subject: [PATCH 2/4] plugin to hide portal ownership - useful for creating plans for #503 note: currently doesn't always work correctly (size changes, but not colours?!) - hopefully pending map data rewrite will sort that out --- plugins/portal-highlighter-hide-team.user.js | 35 ++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 plugins/portal-highlighter-hide-team.user.js diff --git a/plugins/portal-highlighter-hide-team.user.js b/plugins/portal-highlighter-hide-team.user.js new file mode 100644 index 00000000..7cfab35b --- /dev/null +++ b/plugins/portal-highlighter-hide-team.user.js @@ -0,0 +1,35 @@ +// ==UserScript== +// @id iitc-plugin-highlight-hide-team@vita10gy +// @name IITC plugin: Hide portal ownership +// @category Highlighter +// @version 0.1.0.@@DATETIMEVERSION@@ +// @namespace https://github.com/jonatkins/ingress-intel-total-conversion +// @updateURL @@UPDATEURL@@ +// @downloadURL @@DOWNLOADURL@@ +// @description [@@BUILDNAME@@-@@BUILDDATE@@] Show all portals as neutral, as if uncaptured. Great for creating plans +// @include https://www.ingress.com/intel* +// @include http://www.ingress.com/intel* +// @match https://www.ingress.com/intel* +// @match http://www.ingress.com/intel* +// @grant none +// ==/UserScript== + +@@PLUGINSTART@@ + +// PLUGIN START //////////////////////////////////////////////////////// + +// use own namespace for plugin +window.plugin.portalHighligherHideOwnership = function() {}; + +window.plugin.portalHighligherHideOwnership.highlight = function(data) { + var params = {fillColor: COLORS[TEAM_NONE], color: COLORS[TEAM_NONE], opacity: 1, fillOpacity: 0.5, radius: 7+(L.Browser.mobile ? PORTAL_RADIUS_ENLARGE_MOBILE : 0), weight: 2}; + data.portal.setStyle(params); +} + +var setup = function() { + window.addPortalHighlighter('Hide portal ownership', window.plugin.portalHighligherHideOwnership.highlight); +} + +// PLUGIN END ////////////////////////////////////////////////////////// + +@@PLUGINEND@@ From 427f83bfb620a601c8108e903e22fb556d180ebd Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 22 Aug 2013 20:14:30 +0100 Subject: [PATCH 3/4] mark 'favorite portals' as deprecated. the 'bookmarks for maps and portals' plugin does the same (and more) so it's pointless maintaining both --- plugins/favorite-portals.user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/favorite-portals.user.js b/plugins/favorite-portals.user.js index 3098f036..81ef84ec 100644 --- a/plugins/favorite-portals.user.js +++ b/plugins/favorite-portals.user.js @@ -2,7 +2,7 @@ // @id iitc-plugin-favorite-portals@soulBit // @name IITC plugin: Favorite Portals // @version 0.2.0.@@DATETIMEVERSION@@ -// @description Allows you to save a list of portals, to speed up switching from one area of the map to another. +// @description [@@BUILDNAME@@-@@BUILDDATE@@] DEPRECATED. Please use "Bookmarks for maps and portals" instead. This plugin will be removed in future. // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@ From 4c57a3137566016139ff35fc5c13a13c5a5915d6 Mon Sep 17 00:00:00 2001 From: Jon Atkins Date: Thu, 22 Aug 2013 20:15:22 +0100 Subject: [PATCH 4/4] bump version, in case another release is needed soon --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index d8149c34..2c50d3dd 100644 --- a/main.js +++ b/main.js @@ -1,7 +1,7 @@ // ==UserScript== // @id ingress-intel-total-conversion@jonatkins // @name IITC: Ingress intel map total conversion -// @version 0.13.3.@@DATETIMEVERSION@@ +// @version 0.13.4.@@DATETIMEVERSION@@ // @namespace https://github.com/jonatkins/ingress-intel-total-conversion // @updateURL @@UPDATEURL@@ // @downloadURL @@DOWNLOADURL@@