2340 Commits

Author SHA1 Message Date
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
Xelio
19333a32d3 Work in progress: Plugin draw resonators: add resonators and connectors render function 2013-09-03 20:16:20 +08:00
Xelio
4be01585a0 Work in progress: New plugin: Draw resonators 2013-09-03 20:16:20 +08:00
Jon Atkins
1915b61d68 bump version, in preperation for next release 2013-09-03 05:52:41 +01:00
Jon Atkins
d976a8c033 on the portalAdded event, include a previousDetails parameter when we're changing an existing portals data
for #504
2013-09-03 04:52:10 +01:00
Jon Atkins
fdf690fd5c ap-list plugin: fix missing isSameResonator function - was removed from IITC core
fix #529
2013-09-03 04:10:22 +01:00
Jon Atkins
c68021609b a few tweaks to wording in toe bookmarks plugin 2013-09-03 01:58:00 +01:00
Jon Atkins
687162337c rename the 'default ingress map' to include 'Google' prefix, to make it clear it's a google map. should help troubleshooting relating to map layers, making it clear which are/aren't google ones 2013-09-03 01:56:03 +01:00
Jon Atkins
a69906c333 plugin for MapQuest Open Aerial Tiles (satellite view). not a default layer, as rather limited detail outside the mainland US 2013-09-03 01:55:01 +01:00
Jon Atkins
ad646cf6ca Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-02 21:28:56 +01:00
Jon Atkins
cf1430cefb Merge pull request #511 from ZasoGD/Bookmarks-2.1
Update Bookmarks: 2.1 version
2013-09-02 13:28:49 -07:00
Jon Atkins
105a19adc3 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2013-09-02 21:21:24 +01:00
Jon Atkins
30ecb93b19 tile data cache - reduce size on mobile (due to limited RAM), and increase on desktop 2013-09-02 21:20:44 +01:00
Philipp Schaefer
c5dfef0830 don't try to draw location while iitc boots 2013-09-02 21:50:43 +02:00
Catherine Taylor
8889c4a128 Removed extraneous comments. 2013-09-02 20:42:01 +01:00