568 Commits

Author SHA1 Message Date
Jon Atkins
a988552e6e improved idle handling
- times are now in seconds rather than minutes, like all other IITC time settings
- ignore mousemove events for no/small movements - more likely to go idle when it should
2013-06-15 19:12:53 +01:00
Jon Atkins
c2b567f053 data tile cache: send ajax requests before processing cached data 2013-06-15 19:11:47 +01:00
Jon Atkins
1507347acd remove partial portal zoom level boost from code - moving complete code into a plugin
log data vs map zoom to console
2013-06-15 17:54:27 +01:00
Jon Atkins
c776a07fd6 decrease standard refresh time to 30 seconds, so chat is more up to date
increase map tile cache to 2 minutes, so the increased refresh for chat does not impact map data tile requests
2013-06-15 17:08:59 +01:00
Jon Atkins
993c830bf0 some refactoring of the zoom level handling. will make it easy and relatively friendly on the servers to boost the map detail level for given zoom levels 2013-06-15 17:07:56 +01:00
Jon Atkins
985bf78e47 cache the map data tiles for a short time. this can vastly reduce our load on the niantic servers, especially in the case of multiple repeated scroll/zoom actions in the same area 2013-06-15 05:34:23 +01:00
Philipp Schaefer
d21fdc0176 overhauled button pressed backStack behaviour...use a JS callback to let it work with JS calls 2013-06-14 16:49:54 +02:00
Philipp Schaefer
cc44392d03 reload page after login 2013-06-14 12:02:35 +02:00
Philipp Schaefer
855b7c22af fixed portal long tab issue 2013-06-14 11:21:44 +02:00
Philipp Schaefer
48e60f809a remove dialog from dialogStack if it is closed with 'ok' or 'close'
button
2013-06-14 00:42:27 +02:00
Jon Atkins
2f427ce26b make portal mod display much more generic. should handle all the new mods, and likely to handle any future mods too
for #373
2013-06-12 16:15:52 +01:00
Jon Atkins
20ce15d126 Merge pull request #368 from integ3r/dialog-code-tweaks
Add support for new mods, tweak dialogs
2013-06-11 21:30:46 -07:00
Philipp Schaefer
0abb1e4128 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-06-11 01:22:27 +02:00
Philipp Schaefer
b3a42783fa close dialogs onBackPressed (fixes #363) 2013-06-11 01:21:36 +02:00
Jon Atkins
0dc148dc9e add an empty div to the leaflet control areas, approximately matching the chat panel area
this will allow leaflet controls placed bottomleft to appear above the chat bar
2013-06-10 22:25:59 +01:00
Morgan Jones
1eb785af1c * Add unusual XM objects 2013-06-10 13:57:30 -06:00
Morgan Jones
18e7a8f970 * Add new mods from June 10
* Attractive slidetoggle for dialog windows
2013-06-10 13:37:55 -06:00
Jon Atkins
3abca8720c minor tweak to bucket allocation for data tiles. may help reduce response sizes and load on niantic servers 2013-06-10 04:44:57 +01:00
Jon Atkins
4073e56856 convert underscores to spaces in stat names returned from the server 2013-06-08 19:17:21 +01:00
Jon Atkins
508c2543f4 only clear and refresh past chat messages if the bounding box has changed by over 10% - reduces network requests for chat data after small map movements 2013-06-07 05:35:18 +01:00
Jon Atkins
cb64b4dbfc replace generated link data with no creator with the more complete data when available. often occurs when zooming in on a region.
also, some comments to clarify things
2013-06-06 23:19:14 +01:00
Jon Atkins
3b46f5d54e log when response map tiles have individual tile errors
for debugging #320
2013-06-05 03:37:41 +01:00
Philipp Schaefer
f7bd510aae fixed debug console on desktop mode 2013-05-29 11:21:13 +02:00
Philipp Schaefer
bb7f200547 use in-app layer chooser on desktop mode 2013-05-29 00:57:38 +02:00
Jon Atkins
b0675e5852 simplify and cleanup large portal image dialog
- nicely centered. few tricky css hacks
- minumum width - ready for additional content below the image
- fix & in portal titles from showing as & sequence, etc
2013-05-28 02:01:41 +01:00
Jon Atkins
50b3e0be38 remove some debugging console.log calls left in by mistake 2013-05-27 03:21:35 +01:00
Jon Atkins
372a2b34c8 don't resolve more than 15 names in one request - this is approximately the limit imposed by the server
if more are to be resolved, multiple requests are made. this does increase the odds of hitting the request rate limit, but in that case we'll get http failed requests and the names will be pushed back onto the pending resolve list for next time

fix #323
2013-05-27 03:19:51 +01:00
Jon Atkins
9dc0ac4234 add a limit on the number of map tile data requests merged into a single bucket - the server seems to have some limits on this
yes - it will cause more requests in this case, but that's nicer than just completely failing

fix #320
2013-05-27 02:16:52 +01:00
Jon Atkins
895671d860 the ada refactor/java virus can mean a player owns resonators of a higher level than himself. make sure we don't end up with negative values in this case
fix #322
2013-05-27 01:56:26 +01:00
Jon Atkins
5c9fdc6f61 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-05-27 00:36:26 +01:00
Jon Atkins
bfd9f39067 add util function to escape strings for manual building of HTML, and use this for the portal title
fix #319
2013-05-27 00:35:56 +01:00
Jon Atkins
06a1b09af6 Merge pull request #317 from integ3r/alignment-virus
Passcode redemption: Support for Alignment Virus and other item types, tweaks
2013-05-26 15:39:13 -07:00
Jon Atkins
e609c64775 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-05-26 19:30:34 +01:00
Jon Atkins
5430992d70 improvements to date formatting
- leading zeros on month/day
- milliseconds in chat tooltips
2013-05-26 19:29:48 +01:00
Philipp Schaefer
d3461b0451 got back long press on portal functionality 2013-05-25 13:39:58 +02:00
Philipp Schaefer
5cc27b70d9 removed forgotten setupBackButton function call 2013-05-25 12:26:53 +02:00
Philipp Schaefer
6e6249f903 * removed JS backstack (not needed anymore)
* removed JSInterface exit method
2013-05-25 12:24:59 +02:00
Morgan Jones
0380893637 Style tweak 2013-05-25 00:36:16 -06:00
Morgan Jones
34c58bae71 Merge git://github.com/jonatkins/ingress-intel-total-conversion into alignment-virus 2013-05-25 00:15:41 -06:00
Morgan Jones
1b2baf5a88 = Redemption tweaks, round 3
* Pass the entire acquired item into resource decoders instead of the attribute in question. Generic 'resource' objects have things we need to examine.
* Formatted support for the `resource' taxonomy (portal keys and JARVIS/ADA). Remove standard 'default' taxonomy in favor of this.
* Let individual items override their own primary key (for example, JARVIS/ADA are both a FLIP_CARD, but we don't want to smash them together)
* Let the server-side item name override the "hard-coded" name in IITC
* Assuming that passcodes can eventually work like portal hacks, add support for the MEDIA and PORTAL_LINK_KEY item types.
* Change plaintext and HTML display for modResources in anticipation of link amplifiers
* Log entire JSON response to the console if we have to guess about items.
* Add more encouragement.
* Add Jarvis/ADA JSON responses, fake media items, and fake portal keys to json_examples.
2013-05-25 00:12:56 -06:00
hastarin
3691402e4a Improved back handling in mobile app. Now more consistant with standard. 2013-05-25 11:58:35 +10:00
Philipp Schaefer
e7a296b2b3 removed wrong semicolon 2013-05-24 16:03:24 +02:00
hastarin
9ce25e7e57 Initial commit of a working Search View. 2013-05-24 15:52:25 +10:00
Jon Atkins
6788e676ea remove now redundant commented out map layers - OSM tiles are now in a plugin 2013-05-23 05:50:44 +01:00
Jon Atkins
140c5c2cb9 re-do request bucket handling - instead of grouping up to four requests together, so large window sizes make more requests, group requests into max 4 blocks
I think this is closer to the stock intel site behaviour, and should vastly reduce requests, especially at high resolutions
2013-05-22 17:35:59 +01:00
Jon Atkins
4f8164ffd7 add direction arrows after compas direction 2013-05-21 05:36:15 +01:00
Jon Atkins
a525fb5144 use the baselayerchange event parameter instead of testing to see if a layer is added to the map 2013-05-20 05:17:11 +01:00
Jon Atkins
52bce7fa31 remove debug console.log, fix comment 2013-05-20 05:16:22 +01:00
Philipp Schaefer
ca51cfbb99 check for android interface before calling functions of it 2013-05-19 18:10:04 +02:00
Philipp Schaefer
6762914b19 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-05-19 17:15:16 +02:00