2179 Commits

Author SHA1 Message Date
Xelio
b80307cb40 Plugin Draw Resonators: Add styler: highlight my resonators 2013-09-13 00:35:55 +08: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
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
Catherine Taylor
61ecfc1c2d Used TEAM_RES and TEAM_ENL constants, rather than magic numbers. 2013-09-05 16:20:42 +01: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