935 Commits

Author SHA1 Message Date
Jon Atkins
828e7b7d3d restore the code that prevents rendering short links. seems like the backend isn't removing enough (any?) links again, so they were having a big impact on performance 2014-03-21 05:10:10 +00:00
Jon Atkins
8eeec788df experimental: render queue. rather than dumping all retrieved data into the render code immediately, queue it up and feed it in a bit at a time
also, we pause a very short time between processing sections of the queue - should help ensure things are responsive if user interacts while rendering
todo: better status bar updates while queue is being processed
2014-03-21 04:43:33 +00:00
Jon Atkins
0a9cc966cd slow animated fade speed, and add new tile status for render queue code 2014-03-21 04:42:48 +00:00
Jon Atkins
a03014a988 tiles per edge: fallback values changed to match stock site, after they undid their revert 2014-03-20 20:33:14 +00:00
Jon Atkins
d019ebd15b possible performance improvement - status bar display updated moved to a timer.
so 1. it happens after any delays rendering in the browser
and 2. performance (no repeated updates one after another - possible browser style recalculations)

could move more of the code into the timer event?
2014-03-19 05:25:50 +00:00
Jon Atkins
4dd944a642 move portal level layer enable/disable out of status bar code into a map.on(zoomend) event instead 2014-03-19 04:44:20 +00:00
Jon Atkins
584b8bcd72 changes to queue processing timeouts after errors - should be friendlier to the servers when things fail 2014-03-18 22:16:20 +00:00
Jon Atkins
df4bf0bbc0 remove experimental exception catching code in boot func - was never that helpful 2014-03-18 22:14:55 +00:00
Jon Atkins
e1752954a1 and Niantic revert the changes to tile sizes a few days later... 2014-03-18 22:14:10 +00:00
Jon Atkins
246fa1a7d7 double-timeout on debug tile fading - helps when rendering goes slow 2014-03-17 07:07:02 +00:00
Jon Atkins
cb8dc7bd41 oops - some debug code was accidentally committed - portals should be brought to front 2014-03-15 00:02:17 +00:00
Jon Atkins
40b74f7dba updated internal values due to stock site changes. by preference we detect the values in the stock site, but these are kept as a fallback 2014-03-14 23:28:12 +00:00
fkloft
99324c076c Show indeterminate progress bar on mobile if chat is loading 2014-03-13 22:16:27 +01:00
Jon Atkins
6c50fc9eb1 oops - can only bringToFront when a layer is acutally on the map - so check debug layer is enabled 2014-03-11 13:59:02 +00:00
Jon Atkins
4f6631d1f7 make IITC first try to use the TILES_PER_EDGE and ZOOM_TO_LEVEL values from the stock script - only falling back (with a warning) to our pre-defined list on error
this way we automatically follow any changes to these made in the stock site, but have a fallback case in case the stock site renames the variables
2014-03-11 02:29:21 +00:00
Jon Atkins
d534b12f19 debug: move debug tiles to back 2014-03-10 22:18:02 +00:00
Jon Atkins
2f7635a175 comment converning cache-related optimisation that might be added 2014-03-09 05:53:53 +00:00
Jon Atkins
350175b235 the removal stickyness stat is now being used - so don't hide it when it's zero 2014-03-07 19:30:32 +00:00
Jon Atkins
36fe84b4ef warn when some standard layers are turned off
not so visible for mobile users - but less of an issue there (as an uninstall/reinstall resets all options to default)
for #778
2014-03-04 18:42:45 +00:00
Jon Atkins
b5e2ad70b4 debug tiles: fade rather than instant clear 2014-03-03 01:13:52 +00:00
Jon Atkins
b173f778a5 debug tiles: clear on a timer rather than at the end of the requests 2014-03-02 01:33:22 +00:00
Jon Atkins
0a506d3027 debug tile display: remove the 'ok' tiles from screen when the refresh completes - makes it practical to leave the layer on at all times 2014-03-02 01:02:40 +00:00
Jon Atkins
8b7a50729d more agressive portal clustering - seeing if it improves performance 2014-03-02 00:47:02 +00:00
Jon Atkins
16e56917c2 debug layer: default to off 2014-02-26 05:12:37 +00:00
Jon Atkins
c634720cf1 artifacts: centralise the descriptions of the artifact types/fragment names, and fix an incorrect warning concerning the new amar artifacts 2014-02-23 00:24:47 +00:00
Jon Atkins
333c1a6daf add tweaks of data retrieval zoom level, to make better use of the cache and be friendlier to the API in some cases
also, default-intel-detail and show-more-portals plugins fixed - the logic has been moved into IITC core, with the plugins just setting flags to change behaviour
2014-02-22 19:30:12 +00:00
Jon Atkins
8ce28334cc internal cleanups on the API used to convert map zoom levels to the parameters needed to generate quadkeys for data tiles.
this should also prevent mixed release plugins/test IITC builds causing issues with it's 'show more portals' plugin
further changes are planned - by lying to the backend about the map zoom to optimise the portal detail level (density) returned and make better use of the data cache. needs some practical experimentation to get good adjustments, and a cleaner API for these plugins
2014-02-22 05:48:52 +00:00
Jon Atkins
9c3e47ec40 protocol changes 2014-02-22 - quadkeys have gone back to using map zoom, rather than portal level, in their names 2014-02-22 02:58:52 +00:00
Jon Atkins
7efa603be1 update munge regular expressions for changes 2014-02-22
note: request format for map data has also changed and code needs updating
2014-02-22 02:57:25 +00:00
Jon Atkins
457f4f8049 test: remove code that rendered stale map data tiles from cache before retrieving from the network - will try it for a while and see if it makes things noticably more responsive 2014-02-21 16:37:47 +00:00
Jon Atkins
6e1008e107 revert ea45d0f447af24115275234403202fe993e0d84c - portal clustering still has some advantages
note: window.Render.prototype.getLinkPixelLength not restored - should have been deleted as part of an earlier change
2014-02-21 16:34:40 +00:00
Jon Atkins
f57d429b42 cache expiry time was 2 mins, but default intel site uses 3 minutes - mis-read their timer value 2014-02-21 07:30:40 +00:00
Jon Atkins
cdf9c83801 simplify map data request batching - doesn't need to be so complex now we never request more than 4 tiles per request 2014-02-21 07:29:42 +00:00
Jon Atkins
ea45d0f447 remove portal clustering code, that preventing all portals we get data for being drawn to the map
this was an optimisation, as leaflet can be slow when drawing a lot. however, as the backend now limits the data returned to the browser this is less important and probably wastes more time than it saves
for #774
2014-02-21 05:26:52 +00:00
Jon Atkins
8de70d8ec5 now we no longer can reconstruct missing short links from the portal data, and the backend servers already cull short links from the data, there's no point in skipping display of short links 2014-02-21 04:46:42 +00:00
Jon Atkins
045628b007 when clustering portals and only displaying some, sort first by level (highest first) then guid - so when some portals are removed from screen it's the lower level ones first 2014-02-18 08:14:27 +00:00
Jon Atkins
4d17e720ea add note to artifact table when there are zero rows 2014-02-13 20:23:12 +00:00
Jon Atkins
9563ebcd1c make artifact display on portal details more generic - might handle the new 'amar artifacts' now 2014-02-12 22:31:37 +00:00
Jon Atkins
b127059895 remove references to jarvis shards. css class name changed 2014-02-12 22:30:36 +00:00
Jon Atkins
019e044b92 add artifact support for likely new 'amar artifacts'. seems to be the same system as the jarvis shards, but different display names, and URLs for resources 2014-02-06 22:24:25 +00:00
Jon Atkins
77cf149fef data format change: portal details 'portalV2.descriptiveText' is now 'descriptiveText.map'. fields within this seem the same
needed to fix things after the stock intel site update of 2014-02-05
2014-02-06 05:08:18 +00:00
Jon Atkins
6797cf7e8b full date+time (with optional milliseconds) always formatted in 24h format 2014-02-05 05:39:20 +00:00
Jon Atkins
6056cd488f Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-02-03 17:27:47 +00:00
Jon Atkins
162ac6923e add code to detect known 'bad' plugins, and disable plugins in this case for user safety 2014-02-03 17:27:06 +00:00
Fragger
d8431b757f Opps set level to 0 if team is none 2014-02-03 08:39:41 -08:00
Fragger
ab371899a6 Fix details display showing outdated level/faction 2014-02-03 08:25:02 -08:00
Jon Atkins
a168991f74 render fields, links and portals in separate passes
this keeps the display order close to correct while data loads
2014-01-28 02:07:30 +00:00
Jon Atkins
9754af9e67 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-01-26 17:54:03 +00:00
Jon Atkins
980e136508 portal marker scaling: when zoomed out, reduce the scale of portal markers
the stock intel map has done this for a while, so lets try it in IITC
2014-01-26 17:53:10 +00:00
fkloft
23a092f187 Add Android Beam (NFC) support 2014-01-26 14:35:12 +01:00