2151 Commits

Author SHA1 Message Date
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
Philipp Schaefer
16adea0d4d do never use cache when google account page is loaded 2013-09-05 18:54:50 +02:00
Philipp Schaefer
c89fe648f8 call WebView method in UI thread (thx for the hint fkloft) 2013-09-05 18:34:12 +02:00
Philipp Schaefer
a4d6107235 pushed android max target to 4.3 2013-09-05 16:54:17 +02:00
Jon Atkins
ac9d9cfaf0 trap exceptions when running hooks, log the error, and continue
should reduce issues caused when plugins are broken
2013-09-05 03:42:36 +01:00
Jon Atkins
0f37bc8ef6 add current taphold.js - the one merged from #538 was broken 2013-09-05 03:38:33 +01:00
Jon Atkins
1d5412689b Merge pull request #538 from gabrielsjoberg/external_updates
Update autolink.js and taphold.js from upstream.
2013-09-04 13:53:13 -07:00
Gabriel Sjöberg
12bb026ac9 Updated autolink.js and taphold.js to the latest from their upstream repos.
The changes are mainly bugfixes and a few performance improvements.
Note that autolink.js is now the minified version from upstream.
2013-09-04 15:23:10 -05:00
Jon Atkins
1619ddfae5 Merge pull request #537 from Xelio/hook-select-portal
Refactor code of select/unselect portal. Add hook 'portalSeleted'.
2013-09-04 11:43:54 -07:00
Xelio
045db7fe90 Fix comment. 2013-09-05 02:32:59 +08:00
Xelio
864b4c66dd Plugin bookmark for maps and portals: Change to use hook 'portalSelected' to remove star instead of modify window.unselectOldPortal(). 2013-09-05 02:24:32 +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
a77cf50e42 more improvements to the data requesting
- fix idle resume, so it only occurs if the existing timer has been cancelled
- re-instate the cache, and updates for interface changes
- add a short delay between the initialisation of map data retreival, and actually starting network requests
2013-09-04 04:34:11 +01:00
Jon Atkins
4ccfbdfa45 re-tune the cache code so it's much more short-term storage
the original reason for longer term storage were the frequent error==TIMEOUT from map tiles. since these are now retried, as the stock site does, the remaining use for the cache is more short term, while panning around an area
2013-09-04 04:32:04 +01:00
Jon Atkins
fce9f8e0bc remove debug console.log
add comments about possible future improvements
2013-09-04 04:30:10 +01:00
Jon Atkins
76509f6b1f allow the in-ram cache to be optional, and disable it for now
the new tile retry code makes this cache much less useful now, so it ends up sucking up ram more than being useful
2013-09-04 00:56:29 +01:00
Jon Atkins
c420c1e0dc update leaflet library from 0.6.3 to 0.6.4 2013-09-03 23:49:03 +01:00
Jon Atkins
d14832d5c7 after map move, check to see if a refresh is actually required, or if the previous timeout can be restored 2013-09-03 21:38:19 +01:00
Jon Atkins
dd804cc5f4 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-03 19:41:16 +01:00
Jon Atkins
2f40571ee1 make chat code remember and restore the last chat tab used on reload 2013-09-03 19:40:49 +01:00
Philipp Schaefer
9eed052b7a moved sync plugin in misc-category since it now works with the bookmarks
plugin too
2013-09-03 20:27:28 +02:00
Jon Atkins
fb30e2530d Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-03 18:30:28 +01:00
Jon Atkins
57699d42b4 website: fix matching against date/time in version number string when formatting for neat display 2013-09-03 18:29:42 +01:00
Jon Atkins
37ae87e376 website: update faq on debug tile colours for 0.14.0 2013-09-03 17:53:09 +01:00
Jon Atkins
ba0aebde50 Merge pull request #532 from Xelio/patch-plugin-ap-list-1
Update Plugin AP List
2013-09-03 09:28:32 -07:00
Xelio
27aa405c9c Plugin AP List: add checking for changing in fields 2013-09-04 00:03:28 +08:00
Jon Atkins
6e808e12a9 remove dead code
- guid to type - unused, and not a good way of doing the test
- resonator settings - it's now a separate plugin
2013-09-03 16:56:30 +01:00
Jon Atkins
2eea5a3502 remove check for portal guid type. completely unnecessaty now - only portals will evewr be in this object 2013-09-03 16:55:29 +01:00
Jon Atkins
203ea7a76e remove 'resonator-display-zoom-level-decrease' as it now does nothing 2013-09-03 16:34:08 +01:00
Jon Atkins
b339918c98 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-03 16:26:08 +01:00
Jon Atkins
98265766ec limit portals drawn to the map in dense areas, to avoid slowing down leaflet too much
unfortunately, this wasn't as much of a speed boost as i'd hoped. just downloading/processing the data for 20,000+ portals from the server, even if only 2000 are displayed, still takes a LONG time
for #526
2013-09-03 16:24:21 +01:00
Jon Atkins
c0015b16cc add a missing munge for ascendingTimestampOrder
(we don't currently use it so it was missed)
2013-09-03 16:23:22 +01:00
Jon Atkins
b0b51e47f1 Merge pull request #528 from Xelio/plugin-draw-resonators
Plugin draw resonators
2013-09-03 08:06:13 -07:00
Xelio
cf985d872e Plugin AP List: add comments 2013-09-03 22:02:06 +08:00
Xelio
05cd054d50 Plugin AP List: Change entry hook to mapDataRefreshEnd 2013-09-03 21:52:48 +08:00
Xelio
a5523280ad Plugin AP List: use timestamp to check update of portal data. 2013-09-03 21:50:28 +08:00
Xelio
12fd84decb Plugin Draw Resonators: Only run the redraw logic on zooming in when the level of portal is shown on map. 2013-09-03 21:27:21 +08:00
Xelio
745e78170b Plugin Draw Resonators: add comment for Render and change an ambiguous function name 2013-09-03 20:16:20 +08:00
Xelio
c2f73bb3d7 Plugin Draw Resonators: Zooming in will redraw all resonators if they was removed by zooming out. 2013-09-03 20:16:20 +08:00
Xelio
c91dd67359 Work in progress: Plugin Draw Resonators: bug fix 2013-09-03 20:16:20 +08:00