Commit Graph

196 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
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
9cf2dd391e Add cover photo submitter, cover photo votes, and portal details to large portal display dialog. 2013-07-09 17:03:19 -05: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
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
bb7f200547 use in-app layer chooser on desktop mode 2013-05-29 00:57:38 +02:00
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
5cc27b70d9 removed forgotten setupBackButton function call 2013-05-25 12:26:53 +02:00
6e6249f903 * removed JS backstack (not needed anymore)
* removed JSInterface exit method
2013-05-25 12:24:59 +02:00
6788e676ea remove now redundant commented out map layers - OSM tiles are now in a plugin 2013-05-23 05:50:44 +01:00
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
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
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
7b44784c02 fix comment 2013-05-18 01:06:01 +01:00
e03899b96f Small bugfix
(one semicolon which causes one line of text to be ignored)
2013-05-13 17:11:43 +02:00
43254bb31c Merge branch 'statusbar' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-statusbar 2013-05-13 00:06:18 +01:00
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
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
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
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
65783ac0b1 Merge branch 'dialog' of https://github.com/integ3r/ingress-intel-total-conversion into integ3r-dialog 2013-05-10 02:33:21 +01:00
6096640415 add correct version of the sample script 2013-05-10 00:08:14 +01:00
258aa70213 plugin booting - catch exceptions and log, rather than just crashing 2013-05-08 17:18:50 +01:00
6cd3328389 Add 'iitcLoaded' hook to notify that IITC and all plugins loaded. 2013-05-08 20:47:41 +08:00
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
ce5eeaad67 Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog 2013-05-07 16:32:31 -06:00
e2f8c7c5cf enable portals, fields and links per default 2013-05-07 16:01:23 +02:00
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
dee32ea827 Hide zoom control on mobile version. 2013-05-07 15:59:26 +10:00
84f5499c18 * Window manager stuff. Multiple windows can be opened now. Still resolving bugs. 2013-05-06 17:09:39 -06:00
7248b17ea8 refresh improvements
- cancel existing refrest timer on start zoom/drag
- add a manual refresh option into the status box when idle
2013-05-06 23:08:44 +01:00
93c039e295 * Work toward multiple dialog boxes 2013-05-06 13:13:15 -06:00
30594359f0 Merge pull request #224 from Fragger/more-portal-link-fixes
More updates to url links to be compatible with stock intel map
2013-05-01 07:46:32 -07:00
79af80d0c3 More updates to url links to be compatible with stock intel map 2013-04-30 22:33:07 -07:00
47bc5fa1b2 Make use of layer control status function in main script
Layers display status now persist between session
2013-05-01 13:14:19 +08:00
308459178d improve refresh handling
- increase timeout on zoom/move end to 0.8 seconds
- prevent repeated refreshes faster than every 5 seconds
- delay initial refresh on load - should prevent immediate refresh after page load

fix #200
2013-05-01 01:57:02 +01:00
2556a1ab8d Add function to store layer control status (overlay only) in cookie for using in next session. 2013-04-28 23:58:53 +08:00
be430acc7d increase zoom levels for google map layers to 20
add google terrain layer - max zoom possible here is 15
I did try experimenting with higher zoom for the MapQuest tiles. there was some success at 19, but not all tiles would load - reverted for now

alternative to merging #212
2013-04-27 16:45:42 +01:00
5eb7344895 increase maxZoom of google satellite/hybrid modes by two levels, so it matches max zoom of google maps 2013-04-21 02:13:52 +01:00
07a07b0e24 mapquest map tiles support for https access 2013-04-18 15:39:17 +01:00
5f4e0192a0 added MapQuest OSM tiles - these native tiles work much more smoothly than the Google tile layers, so are best for a default 2013-04-13 02:31:47 +01:00
d9ead0597f made osm-less layer chooser work again (fix for #152) 2013-04-12 23:25:32 +02:00
934fa8242d remove broken cm api key (see #152 2013-04-12 19:00:19 +03:00
f2df5643f9 Adds an optional callback function to alerts when being closed 2013-04-10 05:33:43 -07:00
baaaf3e3f1 remove unnecessary absolute URLs. site-relative are used where possible (e.g. permalinks, rpc calls) - and a couple of protocol-relative one for automatic http/https matching 2013-04-08 05:09:01 +01:00
270905c83a enable zoom control for mobile (allows for one-touch zoom control)
move zoom control to under the layer control on smartphone layout
remove localstorage zoom control visibility setting - there was no way to configure it, so seemed a bit odd
2013-03-30 20:01:36 +00:00
0113c0b981 Remove resources from main that are now in the player tracker plugin 2013-03-25 13:14:34 -07:00
953a50d0a9 Build in default marker icon images 2013-03-24 23:46:17 -07:00