Commit Graph

603 Commits

Author SHA1 Message Date
dbc6ef18df bump jquery versions in use, to match those already included on the stock intel site
(matching stock versions prevents multiple instances being loaded, which might cause issues and/or slow things down)
2013-07-19 22:42:57 +01:00
8b6defc2d4 make jquery include URLs protocol relative (i.e. without "https:") - this had been done before (and the comment was there), but got lost at some point 2013-07-19 22:21:23 +01:00
f232de3617 fill fields in with geodesic polygons, to match the changes made for links 2013-07-17 22:20:35 +01:00
89e2defc33 Merge branch 'master' of https://github.com/qnstie/ingress-intel-total-conversion into qnstie-master 2013-07-17 17:41:18 +01:00
9f0d8807df Added L.Geodesic.js library to the build 2013-07-17 13:42:30 +02:00
dc6961667c Changed link from polyline to geodesicPolyline 2013-07-17 13:31:46 +02:00
1038fb142a removed trailing whitespace 2013-07-13 14:02:55 +02:00
39ce9102e8 Show resonator status (level/energy) of selected portal in status bar on smartphones 2013-07-13 00:14:02 +02:00
5bf8eb7333 Visual tweaks
(mostly CSS, don't show "Portals:" in statusbar on smartphones
2013-07-13 00:12:49 +02:00
4162a5bbaf show selected portal's color in mobile status bar 2013-07-12 17:42:27 +02:00
08838020a1 show portal load level by color 2013-07-12 17:13:34 +02:00
3b7e81c1d5 various tweaks to the new portal details in the dialog 2013-07-10 00:42:29 +01:00
9cf2dd391e Add cover photo submitter, cover photo votes, and portal details to large portal display dialog. 2013-07-09 17:03:19 -05:00
5b3220cb98 Extracted portal marker into a separate function
This allows creation of plugins providing alternate portal marker styles and shapes (for third party plugin development). And it makes sense anyway :)
2013-07-07 20:01:03 +02:00
40cd3044f0 change to how the 4th link amp combines to calculate portal range - it appears the 3rd + 4th are both 1/4, to give a total of 3 times the range with rare link amps 2013-07-06 19:36:26 +01:00
135d1f63ad set modal dialog width to auto (height is auto by default) since you can't see all information on a shrinked info dialog (fixes #399) 2013-07-02 12:25:16 +02:00
255831f4eb let iitcm react on the dialog focused callback 2013-07-02 10:53:03 +02:00
d9936ab1d6 display portal mod stats in a more useful format
(however, it doesn't take account of how multiple mods of a type stack - some are linear add, others multiply percentages)
2013-06-28 17:14:35 +01:00
0494e6c988 simplify logic for grouping map data requests into buckets - zero advantages seen with various different grouping methods tried
reduce the bucket size limit - same number of requests at normal resolutions, and less timeouts (but more requests) at higher resolutions
2013-06-26 22:04:39 +01:00
c552742def add link amp mod range calculation to portal range
(it involves some guessing, as only 'rare' ones have been seen so far)
alternative to #392
part of #374
2013-06-26 21:53:02 +01:00
ab3bdcef30 don't treat names resolved from old chat messages as certain - only new ones
this prevents people having a name change from getting inconsistant results as old/new messages are seen
fix #393
2013-06-26 15:15:32 +01:00
7061f5f561 cache improvements
- min and max size - expire early if over max size, don't expire if below min size
- increase max cache age to an hour
2013-06-26 15:13:14 +01:00
751c2068fe add optional parameter sto allow chat code to specify it's uncertain if a name is right
needed for #393 (but not actually a fix)
2013-06-24 18:09:53 +01:00
8a71f7fdf0 map status improvements, reporting status of cache. basic 'error/out of date/up to date' message, and tool tip with tile counts
for #394
2013-06-24 16:15:44 +01:00
e9b05d7aa0 order requests to inprove the odds of getting missing tile data when some requests are likely to timeout, by putting uncached tile ids at the start of the request, cached (but stale) at the end 2013-06-24 12:20:16 +01:00
a8ca654c23 Bugfixes. 2013-06-21 15:08:44 +10:00
e8c73f9f46 Added status bar for mobile version. 2013-06-21 14:46:08 +10:00
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
3bdbc1bd39 tweak 2013-06-17 17:27:29 +01:00
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
6f4c98aa7e cache bug fix - don't put used stale cache entries back into the cache 2013-06-16 20:09:30 +01:00
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
b0de73e0ec update idle handling - prevents the status getting stuck showing 'idle' after hiding+showing the window 2013-06-15 21:10:37 +01:00
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
3d324a8730 idle - fix log to refer to seconds rather than minutes 2013-06-15 19:16:31 +01:00
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
c2b567f053 data tile cache: send ajax requests before processing cached data 2013-06-15 19:11:47 +01:00
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
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
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
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
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
cc44392d03 reload page after login 2013-06-14 12:02:35 +02:00
855b7c22af fixed portal long tab issue 2013-06-14 11:21:44 +02:00
48e60f809a remove dialog from dialogStack if it is closed with 'ok' or 'close'
button
2013-06-14 00:42:27 +02:00
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
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
0abb1e4128 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-06-11 01:22:27 +02:00
b3a42783fa close dialogs onBackPressed (fixes #363) 2013-06-11 01:21:36 +02:00
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