94 Commits

Author SHA1 Message Date
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
87a0a35f74 have seen a case of GUID type .2 - 'random portal' 2013-05-18 04:13:21 +01:00
Jon Atkins
ca76e7ed60 add the concept of portal detail level zoom, separate from map level zoom
this allows us to override the zoom used to retrieve server data, giving options to either retrieve lower zoom levels to reduce the number of requests, or higher zoom levels to retrieve lower level portals from the server
2013-05-17 23:45:14 +01:00
Jon Atkins
746d4bdc2b possible fix for #271 'undefined' issue 2013-05-16 18:39:24 +01:00
Jon Atkins
73487d7e50 add bing maps link to "map links" dialog
the encoded_name no longer includes the space/brackets - so these are now added in the java app - which makes more sense anyway
unknown names (shouldn't happen) are now named 'unknown' rather than not specified
2013-05-14 22:35:12 +01: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
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
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
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
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
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
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
Xelio
917a538a11 Fix comment 2013-05-03 13:14:13 +08:00
Xelio
50f4004ac5 Fix logic bug in addLayerGroup 2013-05-03 13:10:25 +08:00
Xelio
61d83567a6 Add function for plugin to add layerGroup and persist display status between session 2013-05-02 14:32:19 +08:00
Kevin
79af80d0c3 More updates to url links to be compatible with stock intel map 2013-04-30 22:33:07 -07:00
Jon Atkins
ec50c49717 Merge pull request #217 from Fragger/contribs-to-about
Add contribs to About IITC, fix minor newline issue in loaderMD
2013-04-30 18:23:49 -07:00
Jon Atkins
a1b76f78bb Merge pull request #214 from Xelio/patch-layer-control-status
Add function to store layer control status (overlay only) in cookie for using in next session.
2013-04-30 11:29:07 -07:00
Kevin
25b6f239c2 Add contribs to About IITC, fix minor newline issue in loaderMD 2013-04-28 18:55:36 -07:00
Xelio
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
Morgan Jones
992c0edacb Merge git://github.com/jonatkins/ingress-intel-total-conversion into dev 2013-04-27 13:09:00 -05:00
Jon Atkins
d42d4bb9ea looks like portals now use type .16, along with .11 and .12 already used 2013-04-27 15:18:27 +01:00
Philipp Schaefer
28da9e1746 added query to new portal search intent 2013-04-27 00:47:49 +02:00
Philipp Schaefer
a208ba9083 send geo intent instead of gmaps intent on maps link click 2013-04-27 00:08:28 +02:00
Jon Atkins
be957b3435 change zoom levels for portal level display to match stock intel site - this seems to be enforced by the backend now
fix #199
2013-04-24 13:54:16 +01:00
Morgan Jones
7600c7a40d Merge git://github.com/jonatkins/ingress-intel-total-conversion into dev 2013-04-23 20:30:11 -05:00
Morgan Jones
00523fc03d Completely overhauled passcode redemption.
* Show table by default, offer plaintext option for reward copy-pasting
* Use recommendations from https://plus.google.com/115907431535033114848/posts/PVV9j4fTR2m for item plaintext listing
* Break passcode redemption responses and errors into window.REDEEM_* variables
* If an item isn't known, don't simply let it slip into the Aurbis. Log it separately.
* Don't show AP or XM if the passcode didn't give any.
2013-04-23 20:21:48 -05:00
Kevin
f767b939ad Only need markdown and not GFM for .md files 2013-04-16 20:30:25 -07:00
Kevin
ae8200d7be Add ATTRIBUTION.md to About IITC pop up 2013-04-16 20:18:21 -07: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
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
Hobadee
cd7257cc5f Update utils_misc.js 2013-04-11 13:43:03 -07:00
Hobadee
565861f0d8 Update utils_misc.js 2013-04-11 13:39:42 -07:00
Hobadee
6f01852568 Update utils_misc.js 2013-04-11 13:30:34 -07:00
Hobadee
502a7e1637 Update utils_misc.js 2013-04-11 13:18:34 -07:00
Hobadee
3d61ee3884 Update utils_misc.js 2013-04-11 13:15:43 -07:00
Kevin
15ea225d10 Fix url links for zoom, add ll param support from stock intel link button 2013-04-10 03:49:23 -07: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
cf343663e4 show lat,lng in poslink window - #100 2013-03-30 18:34:40 +00:00
vita10gy
0314fe90d5 Show portal title in gmaps
Closes issue #40
2013-03-25 23:43:08 -05:00
Jon Atkins
bc5939818c fix protocol-related error for http + https support 2013-03-16 20:21:05 +00:00
Stefan Breunig
bc63c47d47 initiate copy on android instead of following links 2013-03-12 00:30:27 +01:00
Stefan Breunig
8f76951ca3 fix breakage from last commit 2013-03-11 20:34:14 +01:00
leCradle
d3270f698c on android app: send intent for PosLink (fixes #437) 2013-03-11 20:24:51 +01:00
Jon
4e9a1682cb Issue #390:https protocol for perma link and zoom 2013-03-06 17:56:43 -08:00
Kevin
5513ea13eb Resolve conflict and sync 2013-03-02 21:31:12 -08:00
Kevin
0ba8631b82 MU counts for fields with limiting for small fields
Only at higher zoom levels will counts for small fields show.
2013-03-02 21:25:03 -08:00