603 Commits

Author SHA1 Message Date
Xelio
3980a19e46 Bug fix in portal render limit handler and add function to clean up left over portals which should be removed after minimum display portal level rise. 2013-05-14 00:26:26 +08: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
ee589721e6 i'd been given a list of all guid type codes from the ingress android app - so update the comments to list them all 2013-05-13 05:26:42 +01:00
Jon Atkins
94fbf5ba08 fix enabling/disabling of layer chooser portal levels so it works correctly - was broken at L8 2013-05-13 04:12:02 +01:00
Jon Atkins
66e6502d50 minor status bar tweaks
- make L8 not show L8+
- add a little margin between the level info and the map status - may need reducing a little for mobile
- indentation fixes, minor cleanups
2013-05-13 01:28:38 +01:00
Jon Atkins
e4ad933bb2 clamp bounds used for map data requests. no point in trying to request data outside +-90, +-180 coordinates, as it's pointless, and the server returns an error code anyway 2013-05-13 01:11:28 +01:00
Jon Atkins
339c7ec21e add utility functions to clamp latitude to +-90.0, and longitude to +-180.0 2013-05-13 01:10:18 +01:00
Jon Atkins
a3b957c967 zoom level 0 isn't impossible - so make it display L8 only portals, like the next few closer zoom levels 2013-05-13 00:38:24 +01: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
c713caa36b Merge pull request #270 from hastarin/mobileRenderLimit
Reduced render limit on mobile.
2013-05-12 14:58:57 -07:00
hastarin
cf5116d75c Reduced render limit on mobile. 2013-05-13 03:10:46 +10: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
11069d5f8e Added some help popups. 2013-05-12 14:26:57 +10: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
Philipp Schaefer
cb66801d9f Merge pull request #266 from integ3r/dialog
Dialog fixups: Mobile
2013-05-11 16:10:31 -07:00
Morgan Jones
59fce850c8 * Code style tweaks 2013-05-11 16:43:57 -06:00
Morgan Jones
99bbcbcb30 * Fix bug that would cause modal dialogs to not show up (modal dialogs aren't draggables)
* Fix issue that broke portal poslinks on mobile
2013-05-11 16:34:41 -06:00
Philipp Schaefer
96add49516 notify android when select spinner is opened/closed (fix for #255) 2013-05-11 14:41:15 +02:00
Morgan Jones
553ecdc61e Merge git://github.com/jonatkins/ingress-intel-total-conversion into dialog 2013-05-10 21:45:34 -06:00
Morgan Jones
9756bac253 * Fixup: Carelessly swapped collapse and expand callbacks 2013-05-10 21:44:53 -06: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
35397c0c35 escape strings passed as parameters to function call showPortalPosLinks
fix #259
2013-05-10 03:45:40 +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
Morgan Jones
305aba3a64 * Remove the IITC About dialog's close callback, since it was resizing all other dialogs on screen 2013-05-09 01:44:10 -06:00
Morgan Jones
20ef7acda5 * Fix condition that would rarely cause dialogs to not open properly (dialog wasn't getting destroyed before being replaced) 2013-05-09 01:39:19 -06:00
Morgan Jones
4b39567e29 * Default dialogs to an empty title
* Fix bug that would cause some singleton dialogs to open several times
* Comment fix
2013-05-09 01:29:48 -06:00
Jon Atkins
3523abf032 Merge branch 'layerChooser' of https://github.com/hastarin/ingress-intel-total-conversion into hastarin-layerChooser 2013-05-08 21:39:29 +01:00
Jon Atkins
258aa70213 plugin booting - catch exceptions and log, rather than just crashing 2013-05-08 17:18:50 +01:00
hastarin
593ec57633 Set maxZoom = 13 for desktop locate button too. 2013-05-09 01:55:36 +10:00
hastarin
c630277c25 More tweaks to mobile layout.
Known issues:
    - A touch is generating two clicks.  Most noticeable with pan plugin.
    - The pan plugin requires the +/- zoom buttons be enabled.
2013-05-09 01:48:59 +10:00
hastarin
ff6d261407 Tweaks to mobile for portal_highlighter and others. 2013-05-09 00:50:12 +10:00
Xelio
6cd3328389 Add 'iitcLoaded' hook to notify that IITC and all plugins loaded. 2013-05-08 20:47:41 +08:00
Morgan Jones
04851af096 * Remove dialog resizable stuff, it's not tested 2013-05-08 03:48:26 -06: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
Jon Atkins
5bd82f0e20 Merge branch 'master' into experimental 2013-05-07 16:52:05 +01:00
Philipp Schaefer
e2f8c7c5cf enable portals, fields and links per default 2013-05-07 16:01:23 +02:00
Jon Benson
4906b57f15 Hopefully fix whitespace issues. 2013-05-07 19:05:50 +10:00
Jon Benson
935e9ab688 Fixed style overriding css to hide chat control tabs. 2013-05-07 18:15:41 +10:00
Morgan Jones
42f151b3ac * Enable dialog snapping 2013-05-07 02:05:19 -06:00
Morgan Jones
2bdeb13f45 * Update redeeming.js to take advantage of new dialogs
* Dialogs now support collapsing and expanding
* Fix IITC about window - no longer resizes all onscreen dialogs
2013-05-07 01:42:47 -06:00
Jon Benson
b110ff0261 Fix status div showing above chat. 2013-05-07 17:33:26 +10: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
Jon Benson
541d4c8899 Merge branch 'master' into actionbar 2013-05-07 16:43:49 +10:00
Jon Benson
dee32ea827 Hide zoom control on mobile version. 2013-05-07 15:59:26 +10:00
Jon Benson
1a701e5a32 Further bugfixes related to chat/debug. 2013-05-07 15:21:05 +10:00
Jon Benson
0108d1b49c Added debug menu option and started tidying up 'window' handling 2013-05-07 14:09:30 +10:00
Jon Atkins
0f1c22cdc1 remove range circles when closing portal details 2013-05-07 04:53:27 +01:00