496 Commits

Author SHA1 Message Date
Jon Atkins
ae88e8276f make max-links limit based on portal count - saves calculating when we wouldn't draw
show a 'too many portals' error as a marker when not drawn
2013-08-28 17:44:46 +01:00
Jon Atkins
b6ce79e323 fix typo in maxlinks plugin code 2013-08-28 06:02:51 +01:00
Jon Atkins
571a17d84b work-in-progress - committing to switch to other work 2013-08-27 21:04:28 +01:00
Jon Atkins
81d0cb0ed8 create function to get portal image URL from details - and perform any necessary default URL replacement and https conversion 2013-08-27 18:16:02 +01:00
Jon Atkins
0302d76a67 portal detail zoom - don't step out for zoom <= 12 - seems to miss some data as we're displaying things larger than the server expects
also, add a new attempt to fix the portal zoom issue (Lundefined) that occurs on mobile sometimes
2013-08-27 03:45:37 +01:00
Jon Atkins
2c1b5fc06f Merge branch 'master' into new-map-data 2013-08-26 20:11:54 +01:00
Jon Atkins
de138dafc4 show-more-portals plugin updated to work better with new map tiles 2013-08-26 15:18:39 +01:00
Jon Atkins
5edcc7dbfa render limits are obsolete with the new code - remove contents of plugin
(file remains so users auto-updating get this 'empty' version)
2013-08-26 15:17:49 +01:00
Jon Atkins
7344e19265 fix 'show portal weakness, so it sets the fill, rather than border, colour when marking a not-weak portal 2013-08-26 00:56:41 +01:00
Jon Atkins
92aab3f328 fix version numbers - see #509 2013-08-25 18:32:24 +01:00
Jon Atkins
3c90960e4c work-in-progress - checking in while looking at other code on master. may be broken 2013-08-25 17:50:28 +01:00
Xelio
7dfaa27327 Plugin Sync: bump version number to 0.2.1 2013-08-25 23:59:48 +08:00
Xelio
8b9c6fbe0d Bug fix: Plugin Sync
1. Failed to create more than one realtime document.
   Pass assignIdCallback and failedCallback as function parameter for FileSearcher instead of saving it.

2. If a client with empty data use Sync plugin first, other clients will lose their data once connected with Realtime API.
   Assign '' to lastUpdateUUID on model initialization if the client do not have data.

3. Realtime API sometimes return 'CLIENT_ERROR' instead of 'NOT_FOUND' if a file is not found
   Change handling of 'CLIENT_ERROR' to the same as 'NOT_FOUND'
2013-08-25 22:50:59 +08:00
Jon Atkins
772b980808 fix compute-ap-stats plugin - linkedEdges and linkedFields may not exist in portal data 2013-08-23 05:03:36 +01:00
Jon Atkins
4f5f47831a remove pointless change of selected portal highlight colour in all highlighter plugins - make it the default instead
also tweaks to the show-more-portals plugin
2013-08-23 04:27:16 +01:00
Jon Atkins
427f83bfb6 mark 'favorite portals' as deprecated. the 'bookmarks for maps and portals' plugin does the same (and more) so it's pointless maintaining both 2013-08-22 20:14:30 +01:00
Jon Atkins
c49caf674a 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
2013-08-22 19:51:12 +01:00
Jon Atkins
17167a592d update descriptions for keys + keys-on-map plugins - hopefully will reduce user confusion 2013-08-17 18:56:51 +01:00
Jon Atkins
9f077dd6a2 show more portals plugin: don't boost zoom level when zoomed out - gets silly with the new getThinnedEntitiesV4 changes 2013-08-16 18:37:22 +01:00
Jon Atkins
92433c5d4b merge patch from #491, that updates things to getThinnedEntitiesV4
also a couple of plugins that were missed
2013-08-16 17:36:17 +01:00
Jon Atkins
c151a53285 bump plugin version numbers for thise that needed getThinnedEntntiesV3 changes 2013-08-14 02:12:47 +01:00
Jon Atkins
3ea40952ce niantic are tweaking the web protocol. so far, seen getThinnedEntitiesV2 renamed to V3 - but no changes in request/response format?! 2013-08-13 21:11:32 +01:00
Catherine
6a7815497c Highlights only applied below 90% of maximum hack range. 2013-08-13 19:02:53 +01:00
Catherine
11dec6aeab Renamed plugin, and and only highlights where effective deployment distance is less than 36m. 2013-08-13 18:44:18 +01:00
Catherine
a574a1fa75 Added initial version of Effective Deployment Range highlighter. 2013-08-13 17:49:16 +01:00
Jon Atkins
e85af06559 add a couple of more nice styles to cloudmade basemap template plugin 2013-08-09 17:09:19 +01:00
Jon Atkins
1fa95072a4 Merge pull request #457 from gluck/portal-defense
Added portal-defense plugin
2013-08-05 22:19:26 -07:00
Jon Atkins
b0ad122800 Merge pull request #459 from gnarf/meta-key
Also allow meta click on nickname for player tracker to support os x
2013-08-05 06:41:05 -07:00
Francois Valdy
72c09eb9c2 Messed up macro 2013-08-05 15:22:44 +02:00
Francois Valdy
7c218b76d1 Fixed indent and added macros 2013-08-05 15:20:41 +02:00
Jon Atkins
124242ed86 draw tools - first pass at saving/loading drawn items in localStorage 2013-08-03 05:52:52 +01:00
Jon Atkins
3c60e4dd40 update player tracker for internal team name change 2013-07-31 20:21:21 +01:00
Jon Atkins
de3c631f4d remove debug code 2013-07-31 18:59:55 +01:00
Jon Atkins
42316ca0e9 don't create layer groups until the setup function is called. if a plugin is processed before IITC core script, leaflet isn't available
fix #460
2013-07-31 16:13:58 +01:00
Corey Frang
6a0a795f32 Also allow meta click on nickname for player tracker to support os x 2013-07-30 21:50:02 -04:00
Francois Valdy
6005c80082 Added portal-defense plugin 2013-07-29 20:33:08 +02:00
Jon Atkins
4caea29fd3 don't try and display an address when none is available
fix #454
2013-07-28 18:39:12 +01:00
Jon Atkins
02cb4fbe8f Merge pull request #452 from vita10gy/mod_highlighters
Mod Portal Highlighter: Multiples and none
2013-07-27 23:27:38 -07:00
vita10gy
769a1f056a Mod Portal Highlighter: Multiples and none
Issue #400
2013-07-27 18:54:04 -05:00
vita10gy
107621b03a Portal Highlighter - Infrastructure
Issue #435
2013-07-27 17:40:40 -05:00
Jon Atkins
c4b289f564 rename new plugin to .user.js 2013-07-26 02:10:59 +01:00
Jan Bader
bcf1c44f02 Use @@ Macros 2013-07-25 16:37:42 +02:00
Jan Bader
17d25f2d6b Add simplified, gray Version of Google Maps as Plugin 2013-07-25 10:52:52 +02:00
Jon Atkins
5760f9b7a8 force rounding to integer the result of map.getZoom() when calculating the map data zoom
it's not something that sould happen, but it's been seen on mobile (#271) - this should eliminate the issues with portal data this causes
2013-07-25 02:03:41 +01:00
Jon Atkins
e2ab17fa81 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-07-23 17:10:48 +01:00
Jon Atkins
aef2560d82 mark the layer chooser entry as disabled when the user is too far zoomed out 2013-07-23 17:10:19 +01:00
Peter Sorger
ccdf680864 Add "!" to old shields
Show old shields on portals with exclamation mark.
The old series of shields had mitigation values of 6, 8 and 10 (now it's 10, 20 and 30).
2013-07-23 16:07:59 +02:00
Jon Atkins
56778d9274 tweaked version of zaprange plugin - see #439 2013-07-22 18:04:46 +01:00
Jon Atkins
b0dd95e694 make guessed player levels still show "(guessed)" for level 8 - as since the introduction of jarvis virus/ada refactor it can be wrong 2013-07-21 17:15:55 +01:00
Jon Atkins
c3576d566b linkedEdges data for portals remains in some cases (when they decay?), so don't process the link data in this case 2013-07-20 20:27:24 +01:00