1009 Commits

Author SHA1 Message Date
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
Philipp Schaefer
adc5d16297 workaround: always enable JS if webview has focus. fixes select box spinner close behavior on Android 4.4 2014-01-24 00:16:43 +01:00
Jon Atkins
483227b8fc comments concerning things that need fixing at some point... 2014-01-22 03:27:21 +00:00
fkloft
787a68ac8d Provide API to select a file on mobile 2014-01-20 22:33:00 +01:00
Jon Atkins
ad5df28f37 undefimned fefault to true, rather than false, when adding a layer - more likely whats wanted 2014-01-20 08:22:59 +00:00
Jon Atkins
0861d5c35e remove unused function - ingress API no longer uses full bounds-params - it requests by just quadkey now 2014-01-15 19:33:33 +00:00
Jon Atkins
05cd342051 sort the queued tiles by the distance from the centre of the screen
this mirrors the changes to the stock intel site as of 2014-01-13 (and is something i'd been considering before they did this)
2014-01-13 22:25:18 +00:00
Jon Atkins
08dc8ca464 add 'TODO' comment 2014-01-13 20:37:52 +00:00
Jon Atkins
e5157e80c7 munge fix: one function changed layout, breaking IITC's munge finding regular expressions
due to niantic site update 2014-01-13
2014-01-13 19:43:33 +00:00
nexushoratio
4775bca0d0 s/nxt/next/ 2014-01-08 00:02:50 -08:00
Jon Atkins
7997c9c8e3 change the commented out list of zoom to portal level mappings to match those in the intel site update of 2014-01-06
IITC still drops a zoom level slightly sooner at this time, but not so much now
(were niantic inspired by IITC here?)
2014-01-07 08:12:20 +00:00
nexushoratio
78d42fa957 Minor typo in new code. 2014-01-05 17:05:15 -08:00
Jon Atkins
1a3d4faebe Merge pull request #718 from nexushoratio/proofreading
Fix a number of typos in comments and site content
2014-01-05 14:04:44 -08:00
fkloft
a1d03ec69b mobile: show loading progress in title bar 2014-01-05 16:42:59 +01:00
fkloft
14d3fe82c2 Fixed zoom controls not being hidden on mobile 2014-01-03 20:06:38 +01:00
fkloft
58dc56283a improved debugging interface 2014-01-03 20:06:37 +01:00
fkloft
9208552e29 use custom protocol for resources 2014-01-03 20:06:37 +01:00
nexushoratio
537eeef539 Fix a number of typos in comments and site content 2013-12-29 04:09:37 -08:00
Jon Atkins
3c6468cccb revert bringPortalsToFront change - and add some comments concerning possible better fixes 2013-12-28 08:20:11 +00:00
Jon Atkins
c74971e84e experiment: bring portals to front after every request is rendered, rather than just once at the end
may hurt performance - if so, make it delay before running, or skip if high number of portals
2013-12-28 08:02:09 +00:00
Jon Atkins
0e5ab9869c Merge pull request #716 from tzafrir/shielding
Replace mitigation with shielding
2013-12-26 15:05:44 -08:00
Jon Atkins
84fb672656 display a dialog when IITC fails to detect the munge set, making users aware of the problem. includes links to the IITC home page, g+ page and community 2013-12-26 22:07:44 +00:00
Tzafrir Rehan
2e1c15c82f Replace mitigation with shielding 2013-12-26 12:37:27 +02:00
Jon Atkins
f43930768b experimental code: try/catch block around code in boot - to help debug iitc startup issues 2013-12-23 21:16:59 +00:00
Jon Atkins
79b0a3b88a remove pre-defined munges
the new code has been so successful at detecting them successfully, it seems pointless keeping them up to date manually all the time
if a site update breaks the regular expressions, it would surely change the munges too, breaking any defined in the code
2013-12-20 07:16:23 +00:00
Jon Atkins
0dff718f1f Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-12-18 22:44:48 +00:00
Jon Atkins
ba33e28675 change digits function to use unicode 'thin space' as thousands seperator 2013-12-18 22:41:55 +00:00