836 Commits

Author SHA1 Message Date
Stefan Breunig
f213a481e8 avoid rendering small fields and links for improved perf. This change is experimental, so please report any rendering issues that could be related to this. 2013-02-24 10:54:08 +01:00
vita10gy
f8215107fc Portal size tweak
Slight change so that level 1 and level 2 portals aren't the same size
anymore. Also, make exception for unclaimed portals so they aren't a
tiny dot.
2013-02-23 16:20:55 -06:00
saithis
0c854bf9f5 Added beforePortalReRender to VALID_HOOKS 2013-02-23 17:57:40 +01:00
Stefan Breunig
0ada93ea75 merge parts of #236 (by ShawnTuatara) 2013-02-23 14:02:19 +01:00
Stefan Breunig
f85275b1c8 also print device id 2013-02-23 11:08:46 +01:00
Stefan Breunig
91f6f6d9d6 print build date to console once 2013-02-23 10:50:08 +01:00
Stefan Breunig
d644ef64bd implement jqueryui dialog replacements.
For now only alert windows are converted automatically. You can alert custom
HTML code like so: alert('<strong>herp a derp</strong>', true);

Main can use this feature immediately, all plugins that are advertized to be
stable may only use this once 0.7 is released.
2013-02-22 11:23:44 +01:00
Stefan Breunig
e5c75335c4 put actual address there 2013-02-22 08:11:17 +01:00
vita10gy
177d72ba29 Unmerged Gmaps Link
Somehow in all the styling nit picking the actual change to add the
gmaps link went walkabout.
2013-02-21 22:39:57 -06:00
Stefan Breunig
6bf3de0607 fix #252 by updating the wording 2013-02-21 20:15:29 +01:00
Stefan Breunig
052e0642c2 Merge pull request #234 from ShawnTuatara/getAttackApGain
Refactored getDestroyAP
2013-02-19 23:36:36 -08:00
Shawn Clark
51a4dabfc9 nits - object field whitespace 2013-02-19 23:17:19 -08:00
Shawn Clark
f2bdcb9fc9 Fixing nits 2013-02-19 23:15:46 -08:00
Shawn Clark
a922bd36bf Adding hook portalDataLoaded
- portalDataLoaded is called during the
code/map_data.js#handleDataResponse to allow plugins to manipulate the
portals prior to rendering.
2013-02-19 22:35:32 -08:00
Shawn Clark
ba0ff06771 Refactored getDestroyAP
- Split the calculations into getAttackApGain. Allows for other
functions to get the AP data.
- Renamed to getAttackApGainText as it isn't just destroying it is also
capturing. Originally the method only calculated the destroy values.
2013-02-19 20:41:04 -08:00
Stefan Breunig
68da102b48 fix icon alignment, add shadows 2013-02-18 13:03:50 +01:00
Stefan Breunig
77ad9cc3b7 fix path harder 2013-02-18 12:39:40 +01:00
Stefan Breunig
4db13fef11 fix path and provide icons in dist 2013-02-18 12:38:16 +01:00
Stefan Breunig
9728840715 provide faction colored icons for leaflet markers 2013-02-18 12:35:39 +01:00
Stefan Breunig
f2c6c609ef Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages
Conflicts:
	code/hooks.js
2013-02-18 11:13:52 +01:00
Stefan Breunig
044b5f2147 add hook for chat data 2013-02-18 11:12:26 +01:00
Stefan Breunig
4eb90976e3 allow to easily setup tooltips for specific elements that jQueryUI doesn’t detect automatically.
Also add workaround in case tooltips linger.
2013-02-18 11:10:35 +01:00
Stefan Breunig
014d58f09f downgrade jquery so it uses the same version as the vanilla intel page. This might save some people from downloading jQuery twice. 2013-02-18 11:09:59 +01:00
Stefan Breunig
e7b52dd2eb fix position not being saved on zoom 2013-02-18 11:08:38 +01:00
master0yoshigr
132573e6ea Update code/hooks.js 2013-02-17 21:02:21 -05:00
master0yoshigr
4064a1bee0 Update code/portal_detail_display.js 2013-02-17 21:01:18 -05:00
master0yoshigr
444f9b21f9 Update code/portal_detail_display.js 2013-02-17 17:14:19 -05:00
Stefan Breunig
2b2592e904 don’t copy the portal level when previewing the portal img 2013-02-17 13:38:59 +01:00
Stefan Breunig
7df3d308c4 fix #56 2013-02-16 18:21:10 +01:00
Stefan Breunig
5bc83953a1 Merge pull request #186 from Xelio/patch-selected-portal-unselect-bug
Bug fix: selected portal unselect if portal re-render
2013-02-16 06:57:12 -08:00
Xelio
fd7940c2ae Bug Fix: selected portal unselect if portal re-render
Add a checking: if portal is not visible on map, don't preserve "selectedPortal"
2013-02-16 22:38:43 +08:00
Stefan Breunig
6a85f34725 use identity comparator 2013-02-16 15:12:06 +01:00
Xelio
55506b7207 Bug fix: selected portal unselect if portal re-render
Preserve and restore "selectedPortal" between re-render
2013-02-16 21:33:29 +08:00
Stefan Breunig
11d1312068 remove debug oversight 2013-02-16 13:55:11 +01:00
Stefan Breunig
346d3ae0a1 implement basic support for smartphones 2013-02-16 13:52:17 +01:00
Stefan Breunig
5b77a652fb remove superfluous styles 2013-02-16 13:50:37 +01:00
Stefan Breunig
978cf11965 Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages 2013-02-16 13:44:05 +01:00
Stefan Breunig
cd23248576 add portalDetailsUpdated hook 2013-02-16 13:43:37 +01:00
Stefan Breunig
9cb2722eb2 replace half space with normal space because some browsers do not support it 2013-02-16 13:43:05 +01:00
Stefan Breunig
05c716d12e Merge pull request #183 from Xelio/patch-reso-update-delete
Bug fix: resonator update should remove old resonator
2013-02-16 04:20:30 -08:00
Xelio
9ef8448d22 Bug fix: resonator update should remove old resonator
"window.renderResonators" should remove resonator if "isSameResonator()" return false.
2013-02-16 20:03:27 +08:00
Stefan Breunig
e1fd13e4af print more info for duplicate resos (see #182) 2013-02-16 12:53:30 +01:00
Stefan Breunig
4e837a4084 maybe related to #182 2013-02-16 12:50:32 +01:00
Stefan Breunig
634dc12d73 adjust debug for changes in chat 2013-02-16 11:47:09 +01:00
Stefan Breunig
e242ca6ef0 avoid stretching chat messages if there are too few for the available space 2013-02-16 11:46:43 +01:00
Stefan Breunig
70ff64fd1c fix missing space in divider 2013-02-16 11:06:03 +01:00
Stefan Breunig
5445006d5a make chat copy&paste friendly again 2013-02-16 10:56:58 +01:00
Stefan Breunig
6d41221131 finish changes for #179. Fixes #179, fixes #49.
Please look for regressions.
2013-02-16 10:46:02 +01:00
Stefan Breunig
2023e33567 more work for #179.
Due to changed display of the portal image it now doesn’t flicker anymore,
which simplifies code a lot.
2013-02-16 10:02:18 +01:00
Stefan Breunig
43d9251c57 part of #179 2013-02-16 08:33:59 +01:00