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
Philipp Schaefer
7fd3cb7fd6
show a hint for the user that a tap leads to the info screen in mobile status bar, when no portal is selected.
2013-10-02 23:33:09 +02:00
Jon Atkins
975db0ec7b
add special case for name->guid lookup for our own name
...
IITC relies on this being available early, but the new sessionStorage for player name cache means it often isn't
(still, it's not perfect - as IITC still requires a lookup from guid->name for us to store the reverse mapping - this has always been a theoretical issue though)
likely fix for #577
2013-10-02 05:00:27 +01:00
Jon Atkins
80157b9875
another mungs set was pushed live. update the code
...
also reordered munge list to match the order found in the stock page (makes it easier to update) and tweaked the code that detects and auto-tries munge sets
2013-10-01 01:02:08 +01:00
Jon Atkins
690b5d7e62
factionOnly was not correct - had mis-entered this mapping (and was already there for ascendingTimestampOrder - it's real meaning)
2013-09-30 23:23:13 +01:00
Jon Atkins
8cc246c5f7
remove old factionOnly flag from chat requests. although the stock site appears to send it still at first glance of the code, this appears to be incorrect - and sending it causes old messages to come first rather than new ones!
...
(perhaps i've mis-identified the flag - and it's the one for getting older messages first?)
for #589
2013-09-30 23:13:53 +01:00
Jon Atkins
4c2bb5ecfa
quick fix for chat, for protocol changes
...
for #589
2013-09-30 22:51:06 +01:00
Jon Atkins
c82cd14641
first attempt at updating munge parameters for new niantic intel site update
...
have commented out old munges for now - they don't include parameters needed in some new requests, so are unlikely to be used again
for #589
2013-09-30 22:43:35 +01:00
Jon Atkins
eab33b9a49
quick-n-dirty alternate route to the info page on mobile - tap on the status bar left hand side
...
(where we already show a mini portal status)
2013-09-27 05:11:01 +01:00
Philipp Schaefer
38446594db
renamed splashScreen method
2013-09-24 01:05:26 +02:00
Jon Atkins
6a5d47f146
remove unnecessary storing of the highlighter used within the portal.options
...
altarnative to the typo fix #571
2013-09-21 02:42:13 +01:00
Jon Atkins
7f9399bbeb
ensuure we don't store 'null' in the name->guid cache object
...
(an alternative to #572 )
2013-09-21 02:17:12 +01:00
Xelio
dfd91de6dc
New hook: playerNameResolved
...
Called when unresolved player name get resolved. Argument is {names: object} which names[guid] is the resolved player name
2013-09-20 13:42:49 +08:00
Jon Atkins
0fb6650ad0
make the portal details close button switch back to the map on mobile
2013-09-19 01:05:07 +01:00
Jon Atkins
4f020a48ba
Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion
2013-09-19 00:53:27 +01:00
Jon Atkins
54997ac9bc
add portal hack counts/cooldown time, and mitigation values, to the portal details panel
2013-09-19 00:51:28 +01:00
Philipp Schaefer
50262e0c71
Merge branch 'actionbarhighlighter' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft-actionbarhighlighter
2013-09-18 18:09:32 +02:00
fkloft
def3dd698c
Fix: Highlighter was not remembered after IITC restart
2013-09-18 18:08:29 +02:00
Philipp Schaefer
2e78b58678
event for select boxes to disable androids JS calls
2013-09-18 17:06:22 +02:00
fkloft
daaef1575e
Show portal highlighters in action bar
2013-09-18 16:43:12 +02:00
Jon Atkins
a9c9d5ff41
utility functions to
...
- get mods from portal details, filtered by type and sorted by strength
- get mitigation values
TODO: convert existing plugins to use these new functions
2013-09-18 07:45:30 +01:00
Jon Atkins
aad3c77ff9
add linkAdded and fieldAdded hooks, to mirror the portalAdded hook
2013-09-17 07:33:14 +01:00
Jon Atkins
40b653ae08
more tweaks, and some logging, to the enter/exit of idle mode
2013-09-17 02:25:17 +01:00
Jon Atkins
37131aaf8e
move player name cache from localStorage to sessionStorage
...
this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
2013-09-16 22:22:19 +01:00