1948 Commits

Author SHA1 Message Date
Philipp Schaefer
bf6e086131 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-06-19 20:13:07 +02:00
Philipp Schaefer
28eb6a9758 remove the page reload at wrong place 2013-06-19 20:12:47 +02:00
vita10gy
137bfce45e Make it not so shieldy 2013-06-19 00:19:02 -05:00
vita10gy
f0a11dc362 Mod Highlighters
Issue #375. Also type check in weakness highlighter
2013-06-18 22:02:38 -05:00
Jon Atkins
9e4f6d45b7 reduce cache fresh time from 2 minutes to 1 minute
some experimental bucket selections - commented out
fixed north/south lat variables being backwards. only affected the debug tiles, which coped with it without problems
2013-06-18 05:09:03 +01:00
Jon Atkins
3bdbc1bd39 tweak 2013-06-17 17:27:29 +01:00
Jon Atkins
d8db52d84c add some debug visualisation to the tile requests/cache usage.
could do with some further code cleanups/improvements
2013-06-17 17:26:30 +01:00
Jon Atkins
c1b751c1e4 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-06-16 20:10:06 +01:00
Jon Atkins
6f4c98aa7e cache bug fix - don't put used stale cache entries back into the cache 2013-06-16 20:09:30 +01:00
Philipp Schaefer
d220ed3ac4 more code formatting 2013-06-16 13:49:57 +02:00
Philipp Schaefer
7ea50c2d42 bumped version number in case that the formatting breaked something 2013-06-16 13:38:37 +02:00
Philipp Schaefer
dc22aaf4dd more code formatting 2013-06-16 13:28:41 +02:00
Philipp Schaefer
e85a6a98ac some code formatting 2013-06-16 13:23:41 +02:00
Philipp Schaefer
b4ccf09437 Revert "switch to map on bookmark click"
This reverts commit 20aac81e95a7b94725149084ffe7fccdfb422510, reversing
changes made to 985bf78e470ab38d40300996036b3fbd8d2a9b3d.

Conflicts:
	plugins/bookmarks-by-zaso.user.js
2013-06-16 01:34:56 +02:00
Jon Atkins
0b75b49b98 change the callback from resuming from idle, so it starts a short refresh timeout as if the map had just moved
this way, if you switch back to IITC, then quickly move/zoom (as often is done), unnecessary network requests are avoided
because of the change, there's no need for chat to have it's own resume hook - it already hooks into the refresh code and this is now triggered quickly
2013-06-15 23:29:16 +01:00
Jon Atkins
b0de73e0ec update idle handling - prevents the status getting stuck showing 'idle' after hiding+showing the window 2013-06-15 21:10:37 +01:00
Jon Atkins
3c70b6c5f5 guess player levels plugin: add a 'reset' button to the dialog to reset the guessed levels
handy to clear out bad guesses due to ada refactor/jarvis virus use
2013-06-15 20:46:43 +01:00
Jon Atkins
0b1957464b idle handling - treat the window being hidden as idle, even if the idle time wasn't reached 2013-06-15 19:29:16 +01:00
Jon Atkins
3d324a8730 idle - fix log to refer to seconds rather than minutes 2013-06-15 19:16:31 +01:00
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
2a386ea043 new plugin: show more portals, as if the map was zoomed in one additional level
yes, this does increase the requests to the niantic servers, but with the new cache code it's not that bad
2013-06-15 17:58:11 +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
24445d922b Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-06-15 17:10:10 +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
Philipp Schaefer
ba24a79c34 made press twice to exit an option (see #356) 2013-06-15 13:31:23 +02:00
Philipp Schaefer
899d59d38f added back "press twice to exit" (fixes #356)
- there is no reason why we shouldn't do it this way
2013-06-15 13:06:53 +02:00
Philipp Schaefer
f8cd22f162 reload after plugin with the reload-method to stay consistent with the action bar 2013-06-15 12:49:26 +02:00
Philipp Schaefer
ebfa030c3d code formatting 2013-06-15 11:12:40 +02:00
Philipp Schaefer
20aac81e95 switch to map on bookmark click 2013-06-15 11:08:45 +02: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
Jon Atkins
ea46405cd9 tweak delauny code to be more strict on it's colinear detection 2013-06-15 03:47:58 +01:00
Jon Atkins
5a62d92620 use new plugin wrapper macros for bookmarks plugin 2013-06-14 20:38:50 +01:00
Jon Atkins
0d62990abe Merge pull request #380 from ZasoGD/master
0.1.55 Bookmarks add support to Mobile
2013-06-14 12:35:29 -07:00
Jon Atkins
1aef62bea2 apply the new plugin wrapper change to the mobile-only user-location plugin 2013-06-14 20:30:05 +01:00
Jon Atkins
18823a05a9 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-06-14 20:29:02 +01:00
Jon Atkins
7d75a928cf plugin wrapper code - convert to use build.py macros. this ensures it's identical in all plugins, so the mobile app can remove/modify it without issues. also makes it easy to change if required 2013-06-14 20:27:54 +01:00
Philipp Schaefer
3b60900d98 Merge branch 'master' into ZasoGD-master 2013-06-14 17:15:30 +02:00
Philipp Schaefer
b7ede72ee9 removed not needed line of code 2013-06-14 17:14:33 +02:00
Philipp Schaefer
e5b0f0c3b7 Merge branch 'master' into ZasoGD-master 2013-06-14 16:50:10 +02: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
Giacinto Garcea
6fbc3fad7d Switch to map tab on IITC_MOBILE
When a bookmark is clicked switch from the info screen to the map tab.
2013-06-14 13:43:10 +02:00
Philipp Schaefer
9df120ece1 Merge branch 'master' into ZasoGD-master 2013-06-14 12:03:05 +02:00
Philipp Schaefer
cc44392d03 reload page after login 2013-06-14 12:02:35 +02:00
Philipp Schaefer
f31fb31670 added switch to map trigger 2013-06-14 11:51:11 +02:00
Philipp Schaefer
855b7c22af fixed portal long tab issue 2013-06-14 11:21:44 +02:00
Philipp Schaefer
a7a25098c9 don't remove dialog onBackPressed from dialogStack since it is done via
JS_Interface callback
2013-06-14 01:32:38 +02:00
Philipp Schaefer
ec977eb288 commit change of JSInterface too 2013-06-14 01:04:29 +02:00
Philipp Schaefer
492f427cc1 Merge branch 'master' of git://github.com/ZasoGD/ingress-intel-total-conversion into ZasoGD-master 2013-06-14 00:44:20 +02:00