73 Commits

Author SHA1 Message Date
Jon Atkins
7a19d30173 first update of sidebar for new data format: show the info available from the brief portal data
TODO: retrieve the full portal data and update to include that
2013-11-30 22:26:40 +00:00
Jon Atkins
b9c8e9c6c5 new reduced map data: first pass at loading the new format 2013-11-30 04:15:17 +00:00
Mike Castle
4a9b13eade Spell checking, s-z, plus a couple of missed ones. 2013-11-24 00:19:25 -08:00
Jon Atkins
df3a8adcb2 add portal age, in days/hours/etc to tooltip along with existing capture timestamp in portal info panel 2013-11-10 21:39:57 +00:00
Jon Atkins
a595c2f11d artifacts:
- like the selected portal, are not removed when off screen/below min level
- shard/target details shown on portal details for jarvis shards
2013-11-08 06:09:24 +00:00
fkloft
69234ef063 Small bugfix (it was impossible to select a neutral portal) 2013-10-17 21:56:46 +02:00
fkloft
a33bdcbf38 Show link range details for partially deployed portals.
Calculates the link range for portals with <8 resonators as well, but uses a dashed circle and a striked-through range value for those.

The tooltip over the range value in the details pane shows base range, link amp boost and total range.

The range for portals with missing resonators can be important because links with shorter lengths might originate here. Those will collapse when the total link range drops below their length, but not as soon as a resonator is destroyed.
2013-10-16 19:29:05 +02:00
fkloft
767275fdf5 Show detailed portal level in tooltip 2013-10-16 19:29:05 +02:00
Jon Atkins
0fb6650ad0 make the portal details close button switch back to the map on mobile 2013-09-19 01:05:07 +01:00
Jon Atkins
54997ac9bc add portal hack counts/cooldown time, and mitigation values, to the portal details panel 2013-09-19 00:51:28 +01:00
Xelio
045db7fe90 Fix comment. 2013-09-05 02:32:59 +08:00
Xelio
8f1442e1dd Refactor code of select/unselect portal. Add hook 'portalSelected' with guid of selected and unselected portal. 2013-09-05 01:59:30 +08:00
Jon Atkins
ccf83e3360 remove 'report portal' link in portal details. niantic now - pretty much - only take reports via the in-app process 2013-08-30 20:30:13 +01:00
Jon Atkins
7b838af6e3 make selecting a portal robust against it not being displayed on the map
(now entirely possible now portal data is independant of display status)
2013-08-30 06:53:41 +01:00
Jon Atkins
90047abee0 remove all signs of portal photo submitter info when there's no photo submitter information supplied
for #514
2013-08-29 01:10:44 +01:00
Jon Atkins
81d0cb0ed8 create function to get portal image URL from details - and perform any necessary default URL replacement and https conversion 2013-08-27 18:16:02 +01:00
Jon Atkins
01a8dbf4be more work on map data rendering rewrite
marker creation/style changing moved out of rendering code (to allow use from elsewhere, and possible overriding by plugins)
2013-08-26 15:19:21 +01:00
Jon Atkins
dff09ed0c1 work-in-progress on render rewrite... 2013-08-23 05:08:08 +01:00
Jon Atkins
16e15dfb51 first attempt at geodesic circles - for #292 (alsao see #201 and #425) 2013-08-02 07:21:04 +01:00
Philipp Schaefer
ab164cfde5 Merge branch 'intents' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft-intents
Conflicts:
	mobile/res/values/strings.xml
2013-07-27 11:23:51 +02:00
fkloft
2b7ac5605b Improved permalink/portal link
Now shows a dialog from which you can:
* share the permalink using the standard android share feature
* copy the link to the clipboard
* open the intel map link with an installed browser
* show the map with an installed map application (that supports geo: URIs)
2013-07-21 00:51:21 +02:00
Jon Atkins
1d46cd6b2b portals don't always have field data - prevent exceptions in the code 2013-07-20 20:28:19 +01:00
Jon Atkins
3b7e81c1d5 various tweaks to the new portal details in the dialog 2013-07-10 00:42:29 +01: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
hastarin
a8ca654c23 Bugfixes. 2013-06-21 15:08:44 +10:00
hastarin
e8c73f9f46 Added status bar for mobile version. 2013-06-21 14:46:08 +10:00
Jon Atkins
bfd9f39067 add util function to escape strings for manual building of HTML, and use this for the portal title
fix #319
2013-05-27 00:35:56 +01:00
Jon Atkins
5430992d70 improvements to date formatting
- leading zeros on month/day
- milliseconds in chat tooltips
2013-05-26 19:29:48 +01:00
Jon Atkins
35397c0c35 escape strings passed as parameters to function call showPortalPosLinks
fix #259
2013-05-10 03:45:40 +01: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
Jon Atkins
0f1c22cdc1 remove range circles when closing portal details 2013-05-07 04:53:27 +01:00
Kevin
79af80d0c3 More updates to url links to be compatible with stock intel map 2013-04-30 22:33:07 -07:00
Kevin
86a7996db5 Change portal image urls to https if necessary in the portal object 2013-04-17 22:53:14 -07:00
Jon Atkins
326df3af26 add a close button to the portal detail display - some people like to be able to hide it
show linked portals updated - the positioning needed changing
2013-04-14 01:23:35 +01:00
Jon Atkins
99d52dad8a various cleanups to the portal detail display links
- removed 'donate'
- made case consistant - upper case 1st letter
- shortened excessively long links (IAPS) - but added title text on links with more detailed descriptions
inspired by #135
2013-04-13 21:18:26 +01:00
Jon Atkins
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
Jon Atkins
8b2472701a make double-click on portal title in details panel close the panel
TODO: better interface (close button?), but at least there's *some* way of closing it now
2013-04-05 18:06:40 +01:00
vita10gy
0314fe90d5 Show portal title in gmaps
Closes issue #40
2013-03-25 23:43:08 -05:00
Stefan Breunig
bc63c47d47 initiate copy on android instead of following links 2013-03-12 00:30:27 +01:00
Kevin
f3606d6f0f Fix neutral portals have broken random details 2013-03-02 22:54:30 -08:00
boombuler
03da82b34e add "nickname" class to all nicknames within the page 2013-03-01 19:47:35 -08:00
Stefan Breunig
be893d785a Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages 2013-02-28 22:03:55 +01:00
Stefan Breunig
573562dffd undo always using https for the portal image because some images are taken from panoramio which do not support https properly 2013-02-28 22:03:12 +01:00
Daniel Cheng
68e666c50e Use https in permalink 2013-02-27 14:42:27 +08:00
Stefan Breunig
2cb0623c82 fetch portal image via https 2013-02-26 20:57:34 +01:00
Axel Wagner
107f4689e9 Replace gmaps-link by popup with qrcode and links
If you want to use your smartphone for navigation, you can now just scan
the qr-code and (if your scanner-app supports it) directly input the
locations to your navigation-app.
Additionally a link to the location in gapps and OSM will be displayed.
2013-02-25 16:21:03 +01:00
Daniel Cheng (鄭郁邦)
4ecec63a0d Show full portal capture time on tooltips 2013-02-25 10:15:24 +08: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
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