841 Commits

Author SHA1 Message Date
Jon Atkins
28b077b58d more portal summary data utility functions
- link/field count functions - useful when we only need numbers
- approximate AP gains, based only on summary data
2013-12-12 18:32:28 +00:00
Jon Atkins
32af38906a update munge set for 2013-12-06 - for #689 2013-12-06 22:28:45 +00:00
fkloft
0dcc9bfd7e Merge branch 'master' into navdrawer-api
Conflicts:
	mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java
2013-12-03 23:48:54 +01:00
Mike Castle
b783ef9cf6 Spell check and found a bunch of new comments with typos. 2013-12-02 23:15:02 -08:00
fkloft
ad6a447bde Allow plugins to add panes to mobile nav drawer 2013-12-02 23:40:25 +01:00
Jon Atkins
c5b93234a9 Merge pull request #672 from nexushoratio/to-push
To push
2013-12-02 09:57:25 -08:00
Jon Atkins
26d410d306 comment concerning issues with AP gain calculations - relevant to #671 2013-12-02 17:53:57 +00:00
Jon Atkins
eadc044712 don't try and request portal detailed data for a 'null' guid! oops 2013-12-02 17:53:22 +00:00
Mike Castle
4d8054c0d4 Merge branch 'to-push' of github.com:nexushoratio/ingress-intel-total-conversion into to-push
Conflicts:
	plugins/portal-defense.user.js
	plugins/show-linked-portals.user.js
2013-12-02 02:18:03 -08:00
Jon Atkins
7d923ee64e add a debugger breakpoint in hook exception handling 2013-12-02 06:08:39 +00:00
Jon Atkins
b5d1cbbfdf use 1ms setTimeout calls to send initial requests for game score and artifact details
as part of the munge code cleanups, a safety check was added to the munge searches. if no munge sets can be found, an exception is thrown and no requests are sent. if these requests are posted as part of the regular IITC boot process, these exceptions cause IITC to fail to load. this is a quick and safe fix
2013-12-02 04:53:43 +00:00
Jon Atkins
851cde4745 bugfix: field count wasn't displayed for portals 2013-12-02 03:19:12 +00:00
Jon Atkins
0a4bac56ea missed from previous commit a77a31ac0766cf353d078f4addc0701042cc3f60 2013-12-01 19:34:58 +00:00
Jon Atkins
9048c6d710 tweaked default portal detail levels to show L7 portals one more step out. this helps seeing the larger-scale links and fields
IITC still switches to L8 portals one level sooner than default intel though - and this seems about right for the current level of portals commonly seen
2013-12-01 18:22:53 +00:00
Jon Atkins
7f194b2197 add back portal image tooltip, and description in large image view 2013-12-01 18:01:48 +00:00
Jon Atkins
5a2771eb92 fix portal 40m range circle and link distance circle 2013-12-01 15:53:21 +00:00
Jon Atkins
3bfd83a0c2 method to attempt to find a portal lat/lng from guid, even if the portal data isn't available (we can also search through links and fields) - minimal testing
added note concerning unfinished/temporary nature of the portal details API
2013-12-01 15:18:44 +00:00
Jon Atkins
fad6d18099 bugfix: the new map data format returns unclaimed portals as level 1 - but IITC needs them handled as level 0 2013-12-01 02:55:40 +00:00
Jon Atkins
138a37d777 first attempt at loading portal details, and displaying in the sidebar once loaded 2013-12-01 00:08:25 +00:00
Jon Atkins
e935902c49 misc fixes - some untested
- no GUIDs in chat for players or portal details - so remove player GUID related functions
- remove player guid code from COMM
- update portal_info functions to compare to player name rather than guid
2013-11-30 23:19:46 +00:00
Jon Atkins
d647e8786f fix artifact list 2013-11-30 22:32:11 +00:00
Jon Atkins
7a19d30173 first update of sidebar for new data format: show the info available from the brief portal data
TODO: retrieve the full portal data and update to include that
2013-11-30 22:26:40 +00:00
Jon Atkins
c197f74945 change portal map data storage to match the method used for links/fields
the detailed portal data, now retreived separately from the map, will be handled by separate code, and not stored within the portals
2013-11-30 21:06:02 +00:00
Jon Atkins
8c810e4e73 decrease retry count on failed requests, and increase delay before retrying. another step to help reduce issues when IITC breaks due to site changes 2013-11-30 05:48:33 +00:00
Jon Atkins
184e451bd3 if munge detection fails, don't guess and try set 0 - instead fail, and throw an exception
this will prevent IITC making any requests to the server when a munge set cannot be found - safer than sending bad requests
2013-11-30 05:47:31 +00:00
Jon Atkins
b9c8e9c6c5 new reduced map data: first pass at loading the new format 2013-11-30 04:15:17 +00:00
Jon Atkins
511d7b99c7 partial update of munge set - it doesn't get things working though 2013-11-28 00:31:01 +00:00
Mike Castle
7a07f622de Fix a variety of typos. 2013-11-26 23:55:08 -08:00
Mike Castle
6fcbd90588 s/mazZoom/maxZoom/ 2013-11-24 23:16:53 -08:00
Jon Atkins
9d16b03632 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-11-24 21:18:17 +00:00
Jon Atkins
01cfda1077 bumpped jquery + jqueryui versions.
now the stock intel site no longer includes any version of these there are no advantages to non-current releases
2013-11-24 21:17:10 +00:00
Jon Atkins
b1622edd23 Merge pull request #658 from nexushoratio/to-push
Spell checking, s-z, plus a couple of missed ones.
2013-11-24 13:16:31 -08:00
Mike Castle
4a9b13eade Spell checking, s-z, plus a couple of missed ones. 2013-11-24 00:19:25 -08:00
Jon Atkins
f22d185b5b updates to the portal detail level handling
- iitc now defaults to lower detail than the standard intel site when zoomed out - it loads much faster, shows more than enough for general use, and is less likely to trigger 'excessive requests' issues
- show more portals plugin: updated for interface changes
- show-less-portals-zoomed-out: deleted (this is now the IITC default)
- new plugin: default-intel-detail - restores the original IITC behaviour on zoom to portal detail level mapping. not recommended

for #656 number 3
2013-11-24 04:59:41 +00:00
Jon Atkins
1f25428388 Merge pull request #657 from nexushoratio/to-push
Spell checking, h-r.
2013-11-23 19:35:54 -08:00
Mike Castle
27806a3be7 Spell check, missed one. 2013-11-23 19:24:43 -08:00
Mike Castle
bba6519860 Spell checking, h-r. 2013-11-23 19:16:20 -08:00
Jon Atkins
47d453793c re-order the common method name & version parameters in the JSON requests to match the stock intel site
for #656
2013-11-24 01:48:00 +00:00
Jon Atkins
d58ba079b8 COMM: correctly use the ascendingTimestampOrder flag when retrieving new COMM messages. this matches the stock intel site, and prevents gaps occuring when filling in entries after resuming from idle
related to #656 no 2
2013-11-24 01:32:46 +00:00
Jon Atkins
1501f98f9b limit the number of player names resolved in one go, to prevent excessive requests
for #656 number 4
2013-11-24 01:04:45 +00:00
Jon Atkins
44ee4c7200 request munging: call the stock site nemesis.dashboard.requests.normalizeParamCount function, to add in dummy parameters to requests
for #656 number 1
2013-11-24 01:03:45 +00:00
Jon Atkins
0060e8b5fc Merge pull request #655 from nexushoratio/to-push
Spell checking, d-g.
2013-11-23 16:27:27 -08:00
Jon Atkins
df108ebb57 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-11-23 09:05:12 +00:00
Jon Atkins
e6305a0aa9 getAvgResDist - return a small, but non-zero, value for zero distance resonator deployments (zero is already assumed to be no resonators deployed)
portal-highlighter-bad-deployment-distance: highlight colour based on resonatror range: purple: likely 0m deployment (spoofer?), red <10m, orange under 24m, yellow under 36m otherwise no highlight
2013-11-23 09:01:22 +00:00
Mike Castle
a4a90c9fd1 Merge remote-tracking branch 'upstream/master' into to-push 2013-11-22 23:42:13 -08:00
Mike Castle
27bb6f058e Spell checking, d-g. 2013-11-22 23:31:05 -08:00
Jon Atkins
3131cf758a Merge pull request #654 from nexushoratio/to-push
Spell checking, a-c.
2013-11-22 21:25:32 -08:00
Mike Castle
c31fa3d46d Spell checking, a-c. 2013-11-22 20:14:23 -08:00
Jon Atkins
85255f476b basemap cleanups
- updated Google, Bing and Yandex externals from https://github.com/shramov/leaflet-plugins
- also renamed Google file, removed internal hacks for INGRESS map type
- used external included file for Bing maps, instead of embedded in the plugin
- used Google map tile API to set the options for the INGRESS and 'Google Grey' map layers
2013-11-22 20:46:03 +00:00
Jon Atkins
08b7a5ec6f ensure we don't break for artifacts without jarvis data (e.g. a future artifact type)
make shard marker semi-transparent - avoids the harsh white outline and makes the underlying portal and it's colour partly visible
2013-11-20 06:20:30 +00:00