Jon Atkins
110857cda3
artifact refresh: reduce to once per hour, but synchronise to close to the hour mark to keep the data fresh
...
a small random jitter is added to the refresh time to prevent a large number of requests at the exact same time
2013-11-13 00:07:58 +00:00
Jon Atkins
5ae2dce46e
first attempt at regular expressions to extract munged parameters from stock site javascript
2013-11-12 08:41:00 +00:00
Jon Atkins
8f8a2ad8d6
the stock site was updated to only request 4 tiles per request - so match this in iitc
...
(the response has only managed 4 tiles for a long time, with the rest returning 'timeout' and silently retried)
2013-11-12 06:28:58 +00:00
Jon Atkins
2957189e1c
new request parameter munge set 2013-11-11
2013-11-11 23:01:28 +00:00
Jon Atkins
df3a8adcb2
add portal age, in days/hours/etc to tooltip along with existing capture timestamp in portal info panel
2013-11-10 21:39:57 +00:00
Jon Atkins
fddf28bc51
artifact dialog: position to left of center
2013-11-10 21:37:42 +00:00
Jon Atkins
01bfbdb3fd
fix typo
2013-11-10 04:52:22 +00:00
Jon Atkins
53d66ee57f
adjust the portal bring to front code so that artifact portals are above all others
2013-11-10 04:05:17 +00:00
Jon Atkins
3e12534456
artifacts (jarvis shards, etc) - add a list of relevant portals, with basic details
...
(i'll leave it up to someone else if they want further details/formatting)
a few more accessor functions for artifact data
2013-11-10 04:04:08 +00:00
Jon Atkins
6d24279106
moved request parameter munging code+data into a new file, in preperation for cleaning things up
2013-11-10 02:36:40 +00:00
Philipp Schaefer
8a8aa1b4d3
added function to detect touch-devices
2013-11-08 19:50:59 +01:00
Jon Atkins
a595c2f11d
artifacts:
...
- like the selected portal, are not removed when off screen/below min level
- shard/target details shown on portal details for jarvis shards
2013-11-08 06:09:24 +00:00
Jon Atkins
52a5b231ed
new munge set for 2013-11-07
2013-11-08 00:36:15 +00:00
Jon Atkins
9c4b3985cc
artifact layer defaults to on now
2013-11-07 05:01:05 +00:00
Jon Atkins
278a8e7536
missed from previous artifact commit - render artifact portals quickly from the available data
2013-11-07 04:25:44 +00:00
Jon Atkins
6b5571b18a
artifact display: initial checkin
...
display artifacts (jarvis shards, jarvis targets) on the map
TODO: add details to the portal info display
2013-11-07 03:51:20 +00:00
Jon Atkins
752eb65b8e
new munge set - 2013-11-06
2013-11-06 21:14:43 +00:00
Philipp Schaefer
1d838568a0
use correct function name in if statement
2013-10-31 00:11:26 +01:00
Philipp Schaefer
bb4d57acad
- added getVersionName() to JSInterface
...
- use versionName in IITC About dialog
2013-10-30 23:21:27 +01:00
Jon Atkins
a428dcf54d
add comment about potential improvement to request handling
2013-10-29 20:41:36 +00:00
Jon Atkins
e7fe4bb1dd
first pass at a fix for protocol changes - #618
2013-10-29 20:29:08 +00:00
Jon Atkins
9dabc33770
modify plugin wrapper, so build-script injected macros in the wrapper are in a more obvious place, so 3rd party plugin authors are less likely to make mistakes here when working outside the build.py environment
...
tweak the about screen to display non-standard plugins using the new interface better
2013-10-29 02:43:56 +00:00
Jon Atkins
318cea2e9a
add a list of the active plugins to the about dialog, listing the version, etc from the new plugin interface changes
...
also use the new versin data supplied by grease/tampermonkey for the main script version display
2013-10-29 02:09:41 +00:00
Jon Atkins
3e272a645c
Merge pull request #573 from Xelio/hook-playerNameResolved
...
New hook: playerNameResolved
2013-10-28 10:45:53 -07:00
Jon Atkins
7230e2f44a
run the requestFinished callback after updating visibility/render of cached data
...
technically, not a finished request, but makes sense from the point of view of plugins
2013-10-27 16:33:42 +00:00
Jon Atkins
282a33f033
Merge pull request #534 from vita10gy/search
...
Feedback when geosearch finds nothing
2013-10-27 09:14:37 -07:00
Jon Atkins
d268b0a79f
remove the delay before requeueing 'error==TIMEOUT' tiles. it's not needed (stock site has no delay), and the other delay (before processing the queue again) has more than enough effect to batch multiple retries together when it's useful
2013-10-25 08:01:45 +01:00
Jon Atkins
8270812406
experimental change: render stale map data tiles before downloading fresh data - should give a more responsive appearance of data
...
also increase cache expiry time to 15 mins
2013-10-25 07:10:35 +01:00
Jon Atkins
94fd2a092b
Merge pull request #608 from fkloft/portal_details
...
Tweaks regarding portal details
2013-10-20 13:50:52 -07:00
fkloft
8be3c99abf
Add workaround for touch events (and remove other workaround that didn't work)
...
Leaflet doesn't handle touchcancel events in L.Draggable._onDown. Workaround is similar to 1cecbe7f440249ca68f4f6fef3948032e61843ac
2013-10-19 19:04:42 +02:00
fkloft
fd90f44def
Change Android title *after* switching panges. Android ist faster.
2013-10-19 15:42:01 +02:00
fkloft
a13c91dc82
Pass console messages from debug pane to native console
...
(Removed android.util.Log call since the default implementation does this already)
2013-10-19 15:36:14 +02:00
fkloft
53874ab887
Avoid errors in stock JS
2013-10-19 15:36:14 +02:00
fkloft
de621000ce
Debug pane: Show error message in log
2013-10-19 15:36:13 +02:00
fkloft
69234ef063
Small bugfix (it was impossible to select a neutral portal)
2013-10-17 21:56:46 +02:00
Jon Atkins
a89c90cfdc
fix syntax error - that's what i get for comitting untested code when tired...
2013-10-17 07:56:31 +01:00
Jon Atkins
0c6629c6ed
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2013-10-17 01:33:16 +01:00
Jon Atkins
3aeaefa428
tweaks to the refresh timers used after a move/on startup
2013-10-17 01:32:56 +01:00
Jon Atkins
fefff1c0fc
tweaks to the map data cache, in preperation for detail level specific expiry times
2013-10-17 01:32:28 +01:00
Philipp Schaefer
3b6533c7dc
- disable all map properties when switching to another pane
...
- bumped mobile version number
2013-10-17 00:59:22 +02:00
fkloft
d0408d1f49
Remove any tooltip on pane change
...
(there is no JS event triggered that would remove the tooltip when the action comes from Android)
2013-10-17 00:20:54 +02:00
fkloft
a33bdcbf38
Show link range details for partially deployed portals.
...
Calculates the link range for portals with <8 resonators as well, but uses a dashed circle and a striked-through range value for those.
The tooltip over the range value in the details pane shows base range, link amp boost and total range.
The range for portals with missing resonators can be important because links with shorter lengths might originate here. Those will collapse when the total link range drops below their length, but not as soon as a resonator is destroyed.
2013-10-16 19:29:05 +02:00
fkloft
767275fdf5
Show detailed portal level in tooltip
2013-10-16 19:29:05 +02:00
Jon Atkins
34410bd047
map data request handling - tweaks to the timers, and immediate 'finished' processing when all data came from the cache
2013-10-16 07:11:01 +01:00
Jon Atkins
1eea47ca99
update code to match stock site changes 2013-10-16
...
- new munge set
- modified map data tile ID/QK - now based on portal level rather than map zoom
2013-10-16 03:11:19 +01:00
Jon Atkins
51b24386e6
disable 'timestampMs' map data requests. either i've misunderstood what their code is doing, or it's an incomplete feature in the stock site.
...
extensive testing has never found an instance where it reduced response size from the server
2013-10-14 17:59:53 +01:00
Jon Atkins
e7309000e0
only remove links if they are in the layer
2013-10-13 19:40:54 +01:00
Jon Atkins
d2661874c6
some work-in-progress. from a read of the far-less-obfsucated code on the stock site it looks like map data can be retrieved as an update to an earlier query
...
i.e. pass the timestamp of the last data request, and the server should only send the changed data rather than everything
2013-10-07 20:29:05 +01:00
Jon Atkins
7a6bf1eeef
only look to localStorage for our player guid WHEN WE'RE LOOKING UP OUR OWN NAME
...
daft error!
2013-10-07 20:18:09 +01:00
Philipp Schaefer
72620ed668
got rid of redundant code
2013-10-02 23:40:51 +02:00