2201 Commits

Author SHA1 Message Date
Jon Atkins
40b653ae08 more tweaks, and some logging, to the enter/exit of idle mode 2013-09-17 02:25:17 +01:00
Jon Atkins
37131aaf8e move player name cache from localStorage to sessionStorage
this gives a simple method of expiring entries. also, prevents localStorage from filling up with thousands of player names over time
(ideally something controllable with configurable age should be used, but this was a quick and simple change to try first)
2013-09-16 22:22:19 +01:00
Jon Atkins
634759ea22 hide system accounts (__ADA__, __JARVIS__, etc) from the player list in guess player levels
for #559 (and possibly another older bug?)
2013-09-16 21:34:04 +01:00
Jon Atkins
7165acd30e add a function to query if a player guid is for a system special account (e.g. __ADA__ or __JARVIS__, possibly others in future too - NIAOPS?) 2013-09-16 21:33:17 +01:00
Jon Atkins
9b3caa8eb9 add function to start 'idle' mode - for use in the mobile app (rather than it forcing the idle timer)
the existing idle resume function can be used on returning to iitc

also, fix the long-standing bug on mobile where the map disappears after repeated touch panning/zooming. seems leaflet gets confused about zoom levels and ends up with a non-ingeger. when this is found, force it back to an ingeger zoom level when this happens
2013-09-16 00:01:25 +01:00
Philipp Schaefer
59e5be98ed back to lat,lng query since gmaps v7.2 fixes the decimal separator bug 2013-09-14 11:09:21 +02:00
Jon Atkins
79cd0132e7 add comment as a reminder of possible future work to clear 'faked' links earlier - if possible 2013-09-14 08:29:16 +01:00
Jon Atkins
68cf5d0aa4 fix idle resume sometimes triggering during an existing request 2013-09-14 08:28:24 +01:00
Jon Atkins
01fe9bf51c only add link entities to the layer if they're long enough to be visible
an improvement on 4838de6788ad27bbf6357e1ac9099744483a9e01 to prevent excessive links being drawn when lots of portals are loaded
2013-09-14 07:31:13 +01:00
Jon Atkins
4838de6788 create missing link data from portal link info - so short links not sent are shown in the map
note: need to add code to hide short links from the map - and update the shown/hidden links after a zoom
(similar to the portal cluster showing/hiding portals after a zoom)
2013-09-13 23:14:19 +01:00
Jon Atkins
f646f481fc use 'overlayadd/remove' instead of 'layeradd/remove' events. in theory should be more efficient as layeradd/remove gets called for every single portal/link/field/etc on the map 2013-09-13 23:12:49 +01:00
Jon Atkins
b5a52d810e bump version number. it seemed to have been increased and reverted at some point (possibly just dev/test/local builds?) breaking auto updates 2013-09-13 22:47:40 +01:00
Jon Atkins
b1223d20ae revert plugin name change - it breaks automatic updates
(from #553)
2013-09-13 22:44:49 +01:00
Jon Atkins
be72f6c1c2 Merge pull request #555 from Xelio/patch-event-overlay-add-remove
Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed.
2013-09-13 09:50:27 -07:00
Xelio
7ce064399a Status persistence of Layer Chooser: Change to save status on 'overlayadd' and 'overlayremove' events. Instead of checking .overlay everytime a layer is added or removed. 2013-09-13 21:50:29 +08:00
Philipp Schaefer
cf6b974a8f bumped version number, removed not used dimens entry 2013-09-13 11:54:23 +02:00
Philipp Schaefer
95325cc336 * added advanced menu...most users are not interested in the debug pane
* moved debug pane to advanced menu
* added clear-cookie button to advanced menu (fix for #551)
2013-09-13 11:23:22 +02:00
Jon Atkins
7b12e0bcc2 Merge pull request #553 from vita10gy/highlighter_fix
Fix color resetting in plugins
2013-09-12 20:00:08 -07:00
Jon Atkins
af0bf6e6df also use munged RPC name in URL - as that's what the stock javescript does (as far as I can tell - it's stopped returning this munged version for now)
for #552
2013-09-13 03:34:52 +01:00
vita10gy
7eaf196dee Fix color resetting in plugins
Remove defaulting in highlighters, which isn't needed, and was setting
the wrong thing anyway.  Also a little new hightlighter
2013-09-12 20:20:16 -05:00
Jon Atkins
e9d173402b update munge sets for new one seen in the wild
also attempt to munge method names. this has not been tested though, as only my cron job has seen the new munge sets, not the browser
for #552
2013-09-13 00:12:54 +01:00
Jon Atkins
1a77ddad77 max links: start rename process to 'tidy links' 2013-09-12 19:49:03 +01:00
Jon Atkins
afcc740f5c Merge pull request #542 from Xelio/patch-plugin-draw-reso-2
Plugin Draw Resonator: Add dialog for changing the zoom level which resonators start to display
2013-09-12 10:50:47 -07:00
Xelio
c1a42e5d5a Plugin Draw Resonators: Add dialog for changing the zoom level which resonators start to display. 2013-09-13 00:27:20 +08:00
Xelio
79f0bda15f Plugin Draw Resonators: Create callback function in render 2013-09-13 00:27:20 +08:00
Xelio
a0dff90e7a Plugin Draw Resonators: Add callback and call them in Optinos.changeOption 2013-09-13 00:23:39 +08:00
Philipp Schaefer
33dbc802b5 updated changelog and bumped version number of farm finder 2013-09-12 17:31:05 +02:00
Philipp Schaefer
4fa363a819 align farm-finder-select to the right on mobile (fix for #548) 2013-09-12 17:28:15 +02:00
Philipp Schaefer
8105f172af force leaflet popup msg color to black on mobile (fix for #548) 2013-09-12 17:14:17 +02:00
Philipp Schaefer
1efefe4de5 calculate number of plugins correctly 2013-09-12 16:34:44 +02:00
Philipp Schaefer
cc78717786 let farm_level_select work on mobile (fix for #548) 2013-09-12 14:36:24 +02:00
Philipp Schaefer
aa219300f8 user plugins back to top + use header categories 2013-09-12 12:07:32 +02:00
Jon Atkins
63467df342 add selected portal marker colour *after* running the portal highlighter
for #547
2013-09-12 06:57:50 +01:00
Jon Atkins
74cc365e9a faction layers - add/remove fields and links before portals - this way portals tend to remain above links/fields when things are toggled 2013-09-12 04:56:31 +01:00
Jon Atkins
f68153e1f5 add faction layer choosers
fix #536
2013-09-12 04:04:49 +01:00
Jon Atkins
ac6a235564 first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups
also, move load.js from directly embedded in boot.js into an external file
2013-09-12 03:07:25 +01:00
Jon Atkins
9579ca8377 remove broken debug code - this didn't do anything useful after the render rewrite 2013-09-12 03:06:16 +01:00
Philipp Schaefer
d9448aac34 change targetPackage for pluginPreference intent for test-builds (fixes #544) 2013-09-11 14:09:12 +02:00
Philipp Schaefer
c5a51a3647 made the plugin prefs container static. finished plugin headers. this has multiple advantages:
1) it is enough to parse the plugins only on first start of this
activity (not on every start of the preferences or this activity)
2) actionbar control (not possible with nested preferences)
3) it looks more fancy on tablets
2013-09-11 00:04:59 +02:00
Philipp Schaefer
c5d3f300fe removed not used namespace 2013-09-10 14:37:07 +02:00
Philipp Schaefer
7e648cb14b Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion 2013-09-10 14:29:13 +02:00
Philipp Schaefer
eb8784ddd3 use header for plugins pref 2013-09-10 14:29:09 +02:00
Jon Atkins
9ee9380a2c Merge pull request #480 from fkloft/signout
Always show "sign out" link in IITCm.
2013-09-09 23:43:44 -07:00
Jon Atkins
23d2fe9c1e Merge pull request #530 from cathesaurus/upstream
New Highlighter: Outbound Link Counter
2013-09-09 23:19:40 -07:00
Jon Atkins
3f9af18ba5 include specific font subsets from googleapi fonts - as the defaults seem to vary by browser type (less for mobile)
switch defailt from coda to roboto - looks fine to me, and coda didn't seem to support enough subsets
for #541
2013-09-09 01:51:50 +01:00
Jon Atkins
543e586723 make (portals/lihnks/fields)Layers private to IITC core again - they're not for plugins
now only some portals are drawn to the map it's OK to bring them all to front at the end of the render
use larger squares for portal clustering on mobile - as the portal markers are larger
2013-09-08 20:43:23 +01:00
Jon Atkins
695804524e update draw-resonators to remove dependancy on portalsLayers 2013-09-07 08:15:02 +01:00
Jon Atkins
9b1743bf6d update description to include details of the highlighter 2013-09-06 23:10:07 +01:00
Jon Atkins
b83cf459c8 more tweaks to the request code
- delay briefly before retrying a timeout, and a bit longer before other errors
- also delay briefly before running the queue after a request, to give a chance of more than one request's requeued entries being handled atr once
- add a min tiles per request, to avoid sending multiple requests when only a few queued items remain
these are attempts to be nicer to the niantic servers, particularly in error cases, with some based on my best guess of the stock site behaviour, and others based on what seems reasonable to me
2013-09-06 22:32:57 +01:00
Jon Atkins
960f3ea29d portal highlighter: shield+link mitugation 2013-09-06 22:25:39 +01:00