216 Commits

Author SHA1 Message Date
Xelio
7ce064399a Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed. 2013-09-13 21:50:29 +08:00
Jon Atkins
74cc365e9a faction layers - add/remove fields and links before portals - this way portals tend to remain above links/fields when things are toggled 2013-09-12 04:56:31 +01:00
Jon Atkins
f68153e1f5 add faction layer choosers
fix #536
2013-09-12 04:04:49 +01:00
Jon Atkins
ac6a235564 first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups
also, move load.js from directly embedded in boot.js into an external file
2013-09-12 03:07:25 +01:00
Jon Atkins
9ee9380a2c Merge pull request #480 from fkloft/signout
Always show "sign out" link in IITCm.
2013-09-09 23:43:44 -07:00
Jon Atkins
7659cf4b84 slight improvement around the antimeridian - wrap the map centre so it's always between +-180 degrees
also limit north/south to 85 degrees, to avoid leaving the active map area
2013-09-05 23:12:18 +01:00
Jon Atkins
687162337c rename the 'default ingress map' to include 'Google' prefix, to make it clear it's a google map. should help troubleshooting relating to map layers, making it clear which are/aren't google ones 2013-09-03 01:56:03 +01:00
Jon Atkins
13d247019c re-write map initial position setting. before, if the initial zoom was invalid for the selected layer, things would get stuck in an odd way 2013-08-30 06:54:22 +01:00
Jon Atkins
96d3e1ded7 improved request queue handling 2013-08-28 19:34:21 +01:00
Jon Atkins
e793be9855 Merge branch 'master' into new-map-data 2013-08-28 00:50:58 +01:00
Jon Atkins
39faef2c4c critical bugfix
- don't assume jquery is available when initially processing JS - setupIdle function added
- don't detect portals from a 'turret' entry - use 'portalV2' as the stock site does
- don't try to display the field MU counts when not in the data
2013-08-27 21:29:54 +01:00
Jon Atkins
571a17d84b work-in-progress - committing to switch to other work 2013-08-27 21:04:28 +01:00
Jon Atkins
dc41671279 map data now handles refreshes itself. this is so it can ensure that it doesn't start the refresh timer until all requests are complete
this avoids the situation where map data requests are slow enough that requests get aborted before a complete refresh has been done
2013-08-27 05:42:59 +01:00
Jon Atkins
07c28538fd work in progress - first attempt to use new rendering code
lots of things currently broken though...
2013-08-22 22:32:31 +01:00
fkloft
84b38bdd82 Always show "sign out" link in IITCm. (no hover on touch screen --> an accidental click would directly log you out) 2013-08-11 19:00:41 +02:00
Philipp Schaefer
855ad003a2 disable splash screen on JS error and HTTP response error code (fixes #475) 2013-08-10 17:35:17 +02:00
Jon Atkins
54ebbc3896 bump version nimber in preperation for next release
remove maxZoom leaflet setting - as it overrides individual map layer settings - fix #466
ensure map zoom is valid for selected base layer - replicate functionality removed from current leaflet
2013-08-04 07:17:14 +01:00
Jon Atkins
a96d562a94 add overall minZoom and maxZoom limits to the map 2013-07-31 21:56:16 +01:00
Jon Atkins
f5d8587955 update code for the new internal name for enlightened - was ALIENS, now ENLIGHTENED 2013-07-31 20:15:14 +01:00
Philipp Schaefer
89846e1a77 get rid of WebRessourceResponse injecting (fix for #437)
- added some kind of splash screen
2013-07-21 20:39:13 +02:00
Jon Atkins
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
Jon Atkins
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
Jon Atkins
89e2defc33 Merge branch 'master' of https://github.com/qnstie/ingress-intel-total-conversion into qnstie-master 2013-07-17 17:41:18 +01:00
qnstie
9f0d8807df Added L.Geodesic.js library to the build 2013-07-17 13:42:30 +02:00
Gabriel Sjöberg
9cf2dd391e Add cover photo submitter, cover photo votes, and portal details to large portal display dialog. 2013-07-09 17:03:19 -05: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
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
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
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
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
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
7b574b9ea1 remove restrictions on zoom in getPosition. instead, after a defaault base layer is set, use setZoom(getZoom) to ensure zoom level is valid for this base map 2013-05-19 16:07:10 +01:00
Jon Atkins
653a6cc82d rewrite default base map layer handling. it remembers by name, rather than id (so will work if order changes), and also works if plugins add additional base layers 2013-05-19 15:29:36 +01:00
Jon Atkins
7b44784c02 fix comment 2013-05-18 01:06:01 +01:00
Felix Kloft
e03899b96f Small bugfix
(one semicolon which causes one line of text to be ignored)
2013-05-13 17:11:43 +02:00
Jon Atkins
43254bb31c Merge branch 'statusbar' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-statusbar 2013-05-13 00:06:18 +01:00
Jon Atkins
9266283684 upgrade leaflet to the master version - taken 2013-05-12 - 3d3e2cd
should fix issues with layer control on mobile, and other improvements
also - the convention for marker filenames has changed from ...@2x.png to ...-2x.png for the double sized ones - so changed our files to match (we had a mix of ...@2x.png and ..._2x.png)
2013-05-12 17:18:58 +01:00
hastarin
a150d54dd7 Smaller status bar to suit mobile and further tweaked scale bar position for small mobile displays. 2013-05-12 14:14:58 +10:00
Jon Atkins
d1d1fa85ce Merge pull request #252 from Xelio/patch-hook-iitcLoaded
Add 'iitcLoaded' hook to notify that IITC and all plugins loaded.
2013-05-09 20:42:21 -07:00
Jon Atkins
3982c64b2f convert IITC-only cookies to use localStorage instead - otherwise they're sent to the ingress servers and are a clear indentifier of IITC use (and wasteful of data too)
fix #251
2013-05-10 04:40:21 +01:00
Jon Atkins
65783ac0b1 Merge branch 'dialog' of https://github.com/integ3r/ingress-intel-total-conversion into integ3r-dialog 2013-05-10 02:33:21 +01:00
Jon Atkins
6096640415 add correct version of the sample script 2013-05-10 00:08:14 +01:00
Jon Atkins
258aa70213 plugin booting - catch exceptions and log, rather than just crashing 2013-05-08 17:18:50 +01:00
Xelio
6cd3328389 Add 'iitcLoaded' hook to notify that IITC and all plugins loaded. 2013-05-08 20:47:41 +08:00
Morgan Jones
dfadadd296 IITC Dialog Overhaul, part 2
Core changes
* window_management.js => panes.js (clarity, distinction from dialogs)
* Make portal preview use dialogs instead of the large preview "window"
* Use `open' callback instead of `create' callback for all dialogs
* Replace collapse/close buttons with themed buttons inspired by the AP Gain plugin
* Dialogs can now gain and lose focus, with changing title bar
* Tweak the Poslinks window to use dialogs
* Add collapseCallback, expandCallback, collapseExpandCallback, focusCallback, and blurCallback
* Fix http <img> in About dialog that caused Chrome to complain

Plugin changes
* guess-player-level 0.4.1: Use dialogs with titles, typo fix
* portal-counts 0.0.8: Use dialogs with titles, typo fix
* portals-list 0.0.12: Don't hijack every single dialog onscreen, add titles, typo fix
* scoreboard 0.1.8: Use dialogs with titles
2013-05-08 03:39:36 -06:00
Morgan Jones
ce5eeaad67 Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog 2013-05-07 16:32:31 -06:00
Philipp Schaefer
e2f8c7c5cf enable portals, fields and links per default 2013-05-07 16:01:23 +02:00
Jon Benson
084494bec0 Zoom control is now only disabled on multitouch capable devices by default
and can be forced on again via a preference.
2013-05-07 17:22:07 +10:00