2194 Commits

Author SHA1 Message Date
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
Jon Atkins
cb8547a0b9 refresh tweaks, reduced logging 2013-09-06 00:20:45 +01:00
Jon Atkins
2807eb11d4 fix bookmarks plugin when userscript is before IITC main script 2013-09-06 00:20:08 +01:00
Jon Atkins
7659cf4b84 slight improvement around the antimeridian - wrap the map centre so it's always between +-180 degrees
also limit north/south to 85 degrees, to avoid leaving the active map area
2013-09-05 23:12:18 +01:00
Jon Atkins
2f96b9d07c update lat/lng clamping, to take account of the map projection not going beyond 85 degrees north/south 2013-09-05 22:40:23 +01:00
Jon Atkins
7d3ca0972b better selected portal handling
- ensure the selected portal isn't deleted when it isn't in the map data (e.g. due to zoom level)
- always show the selected portal on the map, even if the high density clustering code would have removed it
- deselect the selected portal, and clear the details bar, in the rare instance of the portal being deleted server-side (i.e. in the deletedEntities list)
2013-09-05 22:14:52 +01:00
Jon Atkins
cc32c1acf9 Merge pull request #539 from Xelio/patch-plugin-draw-reso-1
Plugin Draw Resonator: Change resonators style on portal selection
2013-09-05 10:39:38 -07:00
Xelio
fabd29f824 Plugin Draw Resonator: Change resonators style on portal selection 2013-09-06 01:25:39 +08:00