release 0.7.

This commit is contained in:
Stefan Breunig 2013-02-23 14:19:31 +01:00
parent 0ada93ea75
commit a76f96c3fb
6 changed files with 1489 additions and 219 deletions

46
NEWS.md
View File

@ -1,5 +1,49 @@
CHANGES IN 0.7
==============
### General
- from now on there will be [nightly builds](https://www.dropbox.com/sh/lt9p0s40kt3cs6m/3xzpyiVBnF) available. You need to manually update them if you want to stay on nightly. You should be offered to update to the next release version, though. Be sure to [have read the guide on how to report bugs](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#how-do-i-report-bugs) before using a nightly version.
- IITC has [a shiny new user guide now](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/USERGUIDE.md). Please point new users to it, it should answer most of their questions and also teach them how to make good bug reports.
### Main Script
- Feature: resonators for the selected portal are now highlighted (by Xelio)
- Feature: resonator charge percentage shown in tooltip (by Xelio)
- Feature: link to Google Maps for each portal (by vita10gy)
- Change: Update wording for redeeming to match vanilla Ingress Intel.
- Change: recommend Tampermonkey for Chrome users. It makes everything easier.
- Change: portal image is now shrinked to fit in, instead of cut off
- Change: use the same jQuery version as the vanilla Intel map.
- Change: replaced native `alert` dialogs with own implementation. Should avoid overflowing or unaligned texts.
- Bugfix: IITC would not display any portals/data for some people. **If you were affected by the “empty map” problem try the new version.**
- Bugfix: selected portal would be unselected on certain conditions
- Bugfix: portals were not clickable below the sidebar
- Bugfix: map wasnt rendered properly sometimes (only a gray area was shown)
- Bugfix: resonators were duplicated sometimes
- Bugfix: AP calulation was wrong
- Bugfix: Permalink gave the wrong zoom level
- Bugfix: zoom position not saved sometimes
### IITC Plugins
**New Plugins:**
- Render limit increase for people with beefy hardware (by Jon Atkins)
- Render resonators earlier (by Xelio)
- Player tracker
- compute AP stats for current view (by Hollow011)
- show portal address in sidebar (by vita10gy)
**Updated:**
- the guess players plugin now groups and sorts by level. It also remembers the players now, so zooming in wont make a player “lower level”.
[You can obtain them in the plugins directory](https://github.com/breunigs/ingress-intel-total-conversion/tree/gh-pages/plugins#readme).
### IITC Mobile
An alpha quality **developer only** preview of IITC for mobile devices is available. [For more information see the guide in the mobile section](https://github.com/breunigs/ingress-intel-total-conversion/tree/gh-pages/mobile#readme).
CHANGES IN 0.6 / 0.61 CHANGES IN 0.6 / 0.61
===================== ---------------------
0.6 had a broken link to style sheets. Fixed in 0.61. 0.6 had a broken link to style sheets. Fixed in 0.61.

View File

@ -19,7 +19,7 @@ IITC can be [extended with the use of plugins](https://github.com/breunigs/ingre
Install Install
------- -------
Current version is 0.61. [See NEWS.md for details](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/NEWS.md) . **THIS VERSION CONTAINS A SECURITY UPDATE.** Please update as soon as possible and also alert friends about it. Current version is 0.7. [See NEWS.md for details](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/NEWS.md).
[**INSTALL**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js) [**INSTALL**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/dist/total-conversion-build.user.js)
@ -30,7 +30,7 @@ Current version is 0.61. [See NEWS.md for details](https://github.com/breunigs/i
- Confirm security question. - Confirm security question.
- Reload page. - Reload page.
*NoScript:* The newest, not yet released version appears to work with NoScript. Until it is released disable NoScript if you have problems. To make the script work whitelist at least these domains: `ingress.com github.com leafletjs.com googleapis.com`. If you want to see the cool font also whitelist `googleusercontent.com`. *NoScript:* To make the script work whitelist at least these domains: `ingress.com github.com leafletjs.com googleapis.com`. If you want to see the cool font also whitelist `googleusercontent.com`.
### Chrome ### Chrome

110
dist/smartphone.0.7.css vendored Normal file
View File

@ -0,0 +1,110 @@
body {
background: #000;
color: #fff;
}
#sidebar, #updatestatus, #chatcontrols, #chat, #chatinput {
background: #0B3351 !important
}
.leaflet-control-layers {
margin-left: 0 !important;
margin-top: 40px !important;
}
#chatcontrols {
height: 38px;
}
/* hide shrink button */
#chatcontrols a:first-child {
display: none;
}
#chatcontrols a {
width: 50px;
height:36px;
overflow: hidden;
vertical-align: middle;
line-height: 36px;
text-decoration: none;
}
#chat {
left:0;
right:0;
top:37px !important;
bottom:30px;
width: auto;
}
#chatinput {
width: 100%;
height: 30px;
}
#chat td:nth-child(2), #chatinput td:nth-child(2) {
width: 77px;
}
#sidebartoggle {
display: none !important;
}
#scrollwrapper {
top: 36px;
bottom: 0;
max-height: none !important;
width: 100% !important;
right: 0;
left:0;
}
#sidebar {
width: 100% !important;
min-height: 100%;
border:0;
}
#sidebar > * {
width: 100%;
}
#playerstat {
margin-top: 5px;
}
#portaldetails {
min-height: 0;
}
.fullimg {
width: 100%;
}
.leaflet-control-layers-base {
float: left;
}
.leaflet-control-layers-overlays {
float: left;
margin-left: 8px;
border-left: 1px solid #DDDDDD;
padding-left: 8px;
}
.leaflet-control-layers-separator {
display: none;
}
.leaflet-control-layers-list label {
padding: 6px 0;
}
.leaflet-control-attribution {
}

713
dist/style.0.7.css vendored Normal file
View File

@ -0,0 +1,713 @@
/* general rules ******************************************************/
html, body, #map {
height: 100%;
width: 100%;
}
body {
font-size: 14px;
font-family: "coda",arial,helvetica,sans-serif;
margin: 0;
}
#scrollwrapper {
overflow: hidden;
position: fixed;
right: -38px;
top: 0;
width: 340px;
bottom: 45px;
z-index: 1001;
}
#sidebar {
background-color: rgba(8, 48, 78, 0.9);
border-left: 1px solid #20A8B1;
color: #888;
position: relative;
left: 0;
top: 0;
max-height: 100%;
overflow-y:scroll;
overflow-x:hidden;
z-index: 3000;
}
#sidebartoggle {
display: block;
padding: 20px 5px;
margin-top: -31px; /* -(toggle height / 2) */
line-height: 10px;
position: absolute;
top: 340px; /* (sidebar height / 2) */
z-index: 3001;
background-color: rgba(8, 48, 78, 0.9);
color: #FFCE00;
border: 1px solid #20A8B1;
border-right: none;
border-radius: 5px 0 0 5px;
text-decoration: none;
}
.enl {
color: #03fe03 !important;
}
.res {
color: #00c5ff !important;
}
.none {
color: #fff;
}
a {
color: #ffce00;
cursor: pointer;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
/* map display, required because GMaps uses a high z-index which is
* normally above Leaflets vector pane */
.leaflet-map-pane {
z-index: 1000;
}
.leaflet-control-layers-overlays label.disabled {
text-decoration: line-through;
cursor: help;
}
.help {
cursor: help;
}
.toggle {
display: block;
height: 0;
width: 0;
}
/* chat ***************************************************************/
#chatcontrols {
color: #FFCE00;
background: rgba(8, 48, 78, 0.9);
position: absolute;
left: 0;
z-index: 3001;
height: 26px;
padding-left:1px;
}
#chatcontrols.expand {
top: 0;
bottom: auto;
}
#chatcontrols a {
margin-left: -1px;
display: inline-block;
width: 94px;
text-align: center;
height: 24px;
line-height: 24px;
border: 1px solid #20A8B1;
vertical-align: top;
}
#chatcontrols a:first-child {
letter-spacing:-1px;
text-decoration: none !important;
}
#chatcontrols a.active {
border-color: #FFCE00;
border-bottom-width:0px;
font-weight:bold
}
#chatcontrols a.active + a {
border-left-color: #FFCE00
}
#chatcontrols .toggle {
border-left: 10px solid transparent;
border-right: 10px solid transparent;
margin: 6px auto auto;
}
#chatcontrols .expand {
border-bottom: 10px solid #FFCE00;
}
#chatcontrols .shrink {
border-top: 10px solid #FFCE00;
}
#chat {
position: absolute;
width: 708px;
bottom: 23px;
left: 0;
z-index: 3000;
background: rgba(8, 48, 78, 0.9);
font-size: 12.6px;
color: #eee;
border: 1px solid #20A8B1;
border-bottom: 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
em {
color: red;
font-style: normal;
}
#chat.expand {
height:auto;
top: 25px;
}
#chatpublic, #chatfull, #chatcompact {
display: none;
}
#chat > div {
overflow-x:hidden;
overflow-y:scroll;
height: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 2px;
position:relative;
}
#chat table, #chatinput table {
width: 100%;
table-layout: fixed;
border-spacing: 0m;
border-collapse: collapse;
}
#chatinput table {
height: 100%;
}
#chat td, #chatinput td {
font-family: Verdana, sans-serif;
font-size: 12.6px;
vertical-align: top;
padding-bottom: 3px;
}
/* time */
#chat td:first-child, #chatinput td:first-child {
width: 44px;
overflow: hidden;
padding-left: 2px;
color: #bbb;
white-space: nowrap;
}
#chat time {
cursor: help;
}
/* nick */
#chat td:nth-child(2), #chatinput td:nth-child(2) {
width: 91px;
overflow: hidden;
padding-left: 2px;
white-space: nowrap;
}
mark {
background: transparent;
}
.invisep {
display: inline-block;
width: 1px;
height: 1px;
overflow:hidden;
color: transparent;
}
/* divider */
summary {
color: #bbb;
display: inline-block;
font-family: Verdana,sans-serif;
height: 16px;
overflow: hidden;
padding: 0 2px;
white-space: nowrap;
width: 100%;
}
#chatinput {
position: absolute;
bottom: 0;
left: 0;
padding: 0 2px;
background: rgba(8, 48, 78, 0.9);
width: 708px;
border: 1px solid #20A8B1;
z-index: 3001;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#chatinput td {
padding-bottom: 1px;
vertical-align: middle;
}
#chatinput input {
background: transparent;
font-size: 12.6px;
font-family: Verdana,sans-serif;
color: #EEEEEE;
width: 100%;
height: 100%;
}
/* sidebar ************************************************************/
#sidebar > * {
border-bottom: 1px solid #20A8B1;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
#sidebartoggle .toggle {
border-bottom: 10px solid transparent;
border-top: 10px solid transparent;
}
#sidebartoggle .open {
border-right: 10px solid #FFCE00;
}
#sidebartoggle .close {
border-left: 10px solid #FFCE00;
}
/* player stats */
#playerstat {
height: 30px;
}
h2 {
color: #ffce00;
font-size: 21px;
padding: 0 4px;
margin: 0;
cursor:help;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
width: 100%;
}
h2 span {
display: inline-block;
overflow: hidden;
text-overflow: "~";
vertical-align: top;
white-space: nowrap;
width: 205px;
}
h2 div {
float: right;
height: 100%;
overflow: hidden;
}
h2 sup, h2 sub {
display: block;
font-size: 11px;
margin-bottom: -1px;
}
/* gamestats */
#gamestat {
height: 22px;
}
#gamestat span {
display: block;
float: left;
font-weight: bold;
cursor:help;
height: 21px;
line-height: 22px;
}
#gamestat .res {
background: #005684;
text-align: right;
}
#gamestat .enl {
background: #017f01;
}
/* geosearch input, and others */
input {
background-color: rgba(0, 0, 0, 0.3);
color: #ffce00;
height: 24px;
padding:3px 4px 1px 4px;
font-size: 14px;
border:0;
font-family:inherit;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
::-webkit-input-placeholder {
font-style: italic;
}
:-moz-placeholder {
font-style: italic;
}
::-moz-placeholder {
font-style: italic;
}
/* portal title and image */
h3 {
font-size: 17px;
padding: 0 4px;
margin:0;
height: 25px;
width: 100%;
overflow:hidden;
text-overflow: "~";
white-space: nowrap;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.imgpreview {
height: 200px;
background: no-repeat center center;
background-size: contain;
cursor: help;
overflow: hidden;
}
.imgpreview img.hide {
display: none;
}
#level {
font-size: 40px;
text-shadow: -1px -1px #000, 1px -1px #000, -1px 1px #000, 1px 1px #000, 0 0 5px #fff;
display: block;
margin-right: 15px;
text-align:right;
}
/* portal mods */
.mods {
margin: 5px auto 1px auto;
padding: 0 2px;
width: 296px;
height: 75px;
text-align: center;
}
.mods span {
background-color: rgba(0, 0, 0, 0.3);
/* cant use inline-block because Webkits implementation is buggy and
* introduces additional margins in random cases. No clear necessary,
* as thats solved by setting height on .mods. */
display: block;
float:left;
height: 63px;
margin: 0 2px;
overflow: hidden;
padding: 2px;
text-align: center;
width: 63px;
cursor:help;
border: 1px solid #666;
}
.mods span:not([title]) {
cursor: auto;
}
.res .mods span, .res .meter {
border: 1px solid #0076b6;
}
.enl .mods span, .enl .meter {
border: 1px solid #017f01;
}
/* random details, resonator details */
#randdetails, #resodetails {
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0 4px;
table-layout: fixed;
border-spacing: 0m;
border-collapse: collapse;
}
#randdetails td, #resodetails td {
overflow: hidden;
text-overflow: "~";
vertical-align: top;
white-space: nowrap;
width: 50%;
width: calc(50% - 62px);
}
#randdetails th, #resodetails th {
font-weight: normal;
text-align: right;
width: 62px;
padding-right:4px;
padding-left:4px;
}
#randdetails th + th, #resodetails th + th {
text-align: left;
padding-right: 4px;
padding-left: 4px;
}
#randdetails td:first-child, #resodetails td:first-child {
text-align: right;
padding-left: 2px;
}
#randdetails td:last-child, #resodetails td:last-child {
text-align: left;
padding-right: 2px;
}
#randdetails {
margin-top: 9px;
margin-bottom: 9px;
}
#randdetails tt {
font-family: inherit;
cursor: help;
}
/* resonators */
#resodetails {
margin-bottom: 9px;
}
.meter {
background: #000;
cursor: help;
display: inline-block;
height: 18px;
padding: 1px;
width: 100%;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
position: relative;
left: 0;
top: 0;
}
.meter span {
display: block;
height: 14px;
}
.meter-level {
position: absolute;
top: -2px;
left: 50%;
margin-left: -6px;
text-shadow: 0.0em 0.0em 0.3em #808080;
}
/* links below resos */
.linkdetails {
margin-bottom: 8px;
}
aside {
display: inline-block;
padding-right: 9px;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
text-align: center;
}
.linkdetails aside:last-child {
padding-right: 0;
}
.linkdetails aside:nth-child(1) {
text-align: right;
width:88px;
}
.linkdetails aside:nth-child(2) {
text-align: right;
width:67px;
}
.linkdetails aside:nth-child(4) {
margin-left:13px;
}
#toolbox {
padding: 4px 2px;
font-size:90%;
}
#toolbox > a {
padding: 4px;
}
/* a common portal display takes this much space (prevents moving
* content when first selecting a portal) */
#portaldetails {
min-height: 553px;
}
/* update status */
#updatestatus {
background-color: rgba(8, 48, 78, 0.9);
border-bottom: 0;
border-top: 1px solid #20A8B1;
border-left: 1px solid #20A8B1;
bottom: 0;
color: #ffce00;
font-size:13px;
padding: 4px;
position: fixed;
right: 0;
z-index:3002;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
/* preview */
#largepreview {
left: 50%;
position: fixed;
top: 50%;
z-index: 2000;
}
#largepreview img {
box-shadow: 0 0 40px #000;
}
#largepreview img {
border: 2px solid #f8ff5e;
}
/* tooltips, dialogs */
.ui-tooltip, .ui-dialog {
max-width: 300px;
position: absolute;
z-index: 9999;
background-color: #fff;
border: 1px solid #ccc;
color: #222;
font: 13px/15px "Helvetica Neue", Arial, Helvetica, sans-serif;
padding: 2px 4px;
}
.ui-dialog {
border: 1px solid #0F0F0F;
padding: 0;
border-radius: 2px;
}
.ui-widget-overlay {
height: 100%;
left: 0;
position: fixed;
top: 0;
width: 100%;
z-index:9998;
background: #444;
opacity: 0.6;
}
.ui-dialog-titlebar {
display: none;
}
.ui-dialog-content {
padding: 12px;
overflow-y: auto;
overflow-x: hidden;
max-height: 600px !important;
max-width: 700px !important;
}
.ui-dialog-buttonpane {
background: #F2F2F2;
padding: 12px;
border-top: 1px solid #E6E6E6;
}
.ui-dialog-buttonset {
text-align: right;
}
.ui-dialog-buttonset button {
padding: 2px;
min-width: 80px;
}
td {
padding: 0;
vertical-align: top;
}
td + td {
padding-left: 4px;
}

File diff suppressed because it is too large Load Diff

View File

@ -9,9 +9,11 @@ Plugins are installed the same way the total conversion script is. Please see th
Available Plugins Available Plugins
----------------- -----------------
- [**Compute AP Stats**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/compute-ap-stats.user.js) Shows the potential AP an agent could obtain by destroying and rebuilding all the portals in the current zoom area.
- [**Draw Tools**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/draw-tools.user.js) allows to draw circles and lines on the map to aid you with planning your next big field. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_draw_tools.png) - [**Draw Tools**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/draw-tools.user.js) allows to draw circles and lines on the map to aid you with planning your next big field. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_draw_tools.png)
- [**Guess Player Level**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/guess-player-levels.user.js) looks for the highest placed resonator per player in the current view to guess the player level. - [**Guess Player Level**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/guess-player-levels.user.js) looks for the highest placed resonator per player in the current view to guess the player level.
- [**Highlight Weakened Portals**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/show-portal-weakness.user.js) fill portals with red to indicate portal's state of disrepair. The brighter the color the more attention needed (recharge, shields, resonators). A dashed portal means a resonator is missing. - [**Highlight Weakened Portals**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/show-portal-weakness.user.js) fill portals with red to indicate portal's state of disrepair. The brighter the color the more attention needed (recharge, shields, resonators). A dashed portal means a resonator is missing.
- [**Player Tracker**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js) Draws trails for user actions in the last hour. At the last known location theres a tooltip that shows the data in a table. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_player_tracker.png).
- [**Render Limit Increase**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/render-limit-increase.user.js) increases render limits. Good for high density areas (e.g. London, UK) and faster PCs. - [**Render Limit Increase**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/render-limit-increase.user.js) increases render limits. Good for high density areas (e.g. London, UK) and faster PCs.
- [**Resonator Display Zoom Level Decrease**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/resonator-display-zoom-level-decrease.user.js) Resonator start displaying earlier. - [**Resonator Display Zoom Level Decrease**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/resonator-display-zoom-level-decrease.user.js) Resonator start displaying earlier.
- [**Show Portal Address**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/show-address.user.js) Shows portal address in the side panel. - [**Show Portal Address**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/show-address.user.js) Shows portal address in the side panel.
@ -21,8 +23,8 @@ Available Plugins
[Read HACKING.md file](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#hacking) to learn how to build the development version yourself. If **and only if** [you have read how to report bugs](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#how-do-i-report-bugs), you may beta test the [nightly](https://www.dropbox.com/sh/lt9p0s40kt3cs6m/3xzpyiVBnF) version. [Read HACKING.md file](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#hacking) to learn how to build the development version yourself. If **and only if** [you have read how to report bugs](https://github.com/breunigs/ingress-intel-total-conversion/blob/gh-pages/HACKING.md#how-do-i-report-bugs), you may beta test the [nightly](https://www.dropbox.com/sh/lt9p0s40kt3cs6m/3xzpyiVBnF) version.
- [**Compute AP Stats**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/compute-ap-stats.user.js) Shows the potential AP an agent could obtain by destroying and rebuilding all the portals in the current zoom area. **REQUIRES 2013-02-22+**
- [**Player Tracker**](https://raw.github.com/breunigs/ingress-intel-total-conversion/gh-pages/plugins/player-tracker.user.js) Draws trails for user actions in the last hour. At the last known location theres a tooltip that shows the data in a table. [View screenshot](http://breunigs.github.com/ingress-intel-total-conversion/screenshots/plugin_player_tracker.png). **REQUIRES 2013-02-19+**
Hacking Hacking
------- -------