d9448aac34
change targetPackage for pluginPreference intent for test-builds (fixes#544)
Philipp Schaefer
2013-09-11 14:06:53 +02:00
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
Philipp Schaefer
2013-09-11 00:04:59 +02:00
c5d3f300fe
removed not used namespace
Philipp Schaefer
2013-09-10 14:37:07 +02:00
7e648cb14b
Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion
Philipp Schaefer
2013-09-10 14:29:13 +02:00
eb8784ddd3
use header for plugins pref
Philipp Schaefer
2013-09-10 14:29:09 +02:00
9ee9380a2c
Merge pull request #480 from fkloft/signout
Jon Atkins
2013-09-09 23:43:44 -07:00
23d2fe9c1e
Merge pull request #530 from cathesaurus/upstream
Jon Atkins
2013-09-09 23:19:40 -07:00
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
Jon Atkins
2013-09-09 01:51:50 +01:00
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
Jon Atkins
2013-09-08 20:43:23 +01:00
695804524e
update draw-resonators to remove dependancy on portalsLayers
Jon Atkins
2013-09-07 08:15:02 +01:00
9b1743bf6d
update description to include details of the highlighter
Jon Atkins
2013-09-06 23:10:07 +01:00
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
Jon Atkins
2013-09-06 22:32:57 +01:00
960f3ea29d
portal highlighter: shield+link mitugation
Jon Atkins
2013-09-06 22:25:39 +01:00
cb8547a0b9
refresh tweaks, reduced logging
Jon Atkins
2013-09-06 00:20:45 +01:00
2807eb11d4
fix bookmarks plugin when userscript is before IITC main script
Jon Atkins
2013-09-06 00:20:08 +01:00
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
Jon Atkins
2013-09-05 23:12:18 +01:00
2f96b9d07c
update lat/lng clamping, to take account of the map projection not going beyond 85 degrees north/south
Jon Atkins
2013-09-05 22:40:23 +01:00
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)
Jon Atkins
2013-09-05 22:14:52 +01:00
cc32c1acf9
Merge pull request #539 from Xelio/patch-plugin-draw-reso-1
Jon Atkins
2013-09-05 10:39:38 -07:00
16adea0d4d
do never use cache when google account page is loaded
Philipp Schaefer
2013-09-05 18:54:50 +02:00
c89fe648f8
call WebView method in UI thread (thx for the hint fkloft)
Philipp Schaefer
2013-09-05 18:34:12 +02:00
61ecfc1c2d
Used TEAM_RES and TEAM_ENL constants, rather than magic numbers.
Catherine Taylor
2013-09-05 16:20:42 +01:00
a4d6107235
pushed android max target to 4.3
Philipp Schaefer
2013-09-05 16:54:17 +02:00
ac9d9cfaf0
trap exceptions when running hooks, log the error, and continue should reduce issues caused when plugins are broken
Jon Atkins
2013-09-05 03:42:36 +01:00
0f37bc8ef6
add current taphold.js - the one merged from #538 was broken
Jon Atkins
2013-09-05 03:38:33 +01:00
1d5412689b
Merge pull request #538 from gabrielsjoberg/external_updates
Jon Atkins
2013-09-04 13:53:13 -07:00
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.
Gabriel Sjöberg
2013-09-04 15:23:10 -05:00
1619ddfae5
Merge pull request #537 from Xelio/hook-select-portal
Jon Atkins
2013-09-04 11:43:54 -07:00
864b4c66dd
Plugin bookmark for maps and portals: Change to use hook 'portalSelected' to remove star instead of modify window.unselectOldPortal().
Xelio
2013-09-05 02:24:32 +08:00
8f1442e1dd
Refactor code of select/unselect portal. Add hook 'portalSelected' with guid of selected and unselected portal.
Xelio
2013-09-05 01:52:22 +08:00
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
Jon Atkins
2013-09-04 04:34:11 +01:00
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
Jon Atkins
2013-09-04 04:32:04 +01:00
fce9f8e0bc
remove debug console.log add comments about possible future improvements
Jon Atkins
2013-09-04 04:30:10 +01:00
1d2eec7f80
Feedback when geosearch finds nothing
vita10gy
2013-09-03 18:42:45 -07:00
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
Jon Atkins
2013-09-04 00:56:29 +01:00
c420c1e0dc
update leaflet library from 0.6.3 to 0.6.4
Jon Atkins
2013-09-03 23:49:03 +01:00
d14832d5c7
after map move, check to see if a refresh is actually required, or if the previous timeout can be restored
Jon Atkins
2013-09-03 21:38:19 +01:00
57699d42b4
website: fix matching against date/time in version number string when formatting for neat display
Jon Atkins
2013-09-03 18:29:42 +01:00
37ae87e376
website: update faq on debug tile colours for 0.14.0
Jon Atkins
2013-09-03 17:53:09 +01:00
ba0aebde50
Merge pull request #532 from Xelio/patch-plugin-ap-list-1
Jon Atkins
2013-09-03 09:28:32 -07:00
27aa405c9c
Plugin AP List: add checking for changing in fields
Xelio
2013-09-04 00:03:28 +08:00
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
Jon Atkins
2013-09-03 16:56:30 +01:00
2eea5a3502
remove check for portal guid type. completely unnecessaty now - only portals will evewr be in this object
Jon Atkins
2013-09-03 16:55:29 +01:00
203ea7a76e
remove 'resonator-display-zoom-level-decrease' as it now does nothing
Jon Atkins
2013-09-03 16:34:08 +01:00
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
Jon Atkins
2013-09-03 16:24:21 +01:00
c0015b16cc
add a missing munge for ascendingTimestampOrder (we don't currently use it so it was missed)
Jon Atkins
2013-09-03 16:23:22 +01:00
b0b51e47f1
Merge pull request #528 from Xelio/plugin-draw-resonators
Jon Atkins
2013-09-03 08:06:13 -07:00
cf985d872e
Plugin AP List: add comments
Xelio
2013-09-03 22:02:06 +08:00
05cd054d50
Plugin AP List: Change entry hook to mapDataRefreshEnd
Xelio
2013-09-03 21:52:48 +08:00
a5523280ad
Plugin AP List: use timestamp to check update of portal data.
Xelio
2013-09-03 21:50:28 +08:00
12fd84decb
Plugin Draw Resonators: Only run the redraw logic on zooming in when the level of portal is shown on map.
Xelio
2013-09-03 21:27:21 +08:00
745e78170b
Plugin Draw Resonators: add comment for Render and change an ambiguous function name
Xelio
2013-09-03 00:34:16 +08:00
c2f73bb3d7
Plugin Draw Resonators: Zooming in will redraw all resonators if they was removed by zooming out.
Xelio
2013-09-03 00:23:29 +08:00
c91dd67359
Work in progress: Plugin Draw Resonators: bug fix
Xelio
2013-09-02 23:34:01 +08:00
19333a32d3
Work in progress: Plugin draw resonators: add resonators and connectors render function
Xelio
2013-09-02 03:30:54 +08:00
4be01585a0
Work in progress: New plugin: Draw resonators
Xelio
2013-09-02 01:53:17 +08:00
1915b61d68
bump version, in preperation for next release
Jon Atkins
2013-09-03 05:52:41 +01:00
d976a8c033
on the portalAdded event, include a previousDetails parameter when we're changing an existing portals data for #504
Jon Atkins
2013-09-03 04:52:10 +01:00
fdf690fd5c
ap-list plugin: fix missing isSameResonator function - was removed from IITC core fix#529
Jon Atkins
2013-09-03 04:10:22 +01:00
c68021609b
a few tweaks to wording in toe bookmarks plugin
Jon Atkins
2013-09-03 01:58:00 +01:00
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
Jon Atkins
2013-09-03 01:56:03 +01:00
a69906c333
plugin for MapQuest Open Aerial Tiles (satellite view). not a default layer, as rather limited detail outside the mainland US
Jon Atkins
2013-09-03 01:55:01 +01:00
30ecb93b19
tile data cache - reduce size on mobile (due to limited RAM), and increase on desktop
Jon Atkins
2013-09-02 21:20:44 +01:00
c5dfef0830
don't try to draw location while iitc boots
Philipp Schaefer
2013-09-02 21:50:43 +02:00
8889c4a128
Removed extraneous comments.
Catherine Taylor
2013-09-02 20:42:01 +01:00
c262a2e1d6
multiple authors in licence message
Philipp Schaefer
2013-09-02 21:41:43 +02:00
df4300ca75
Initial version, highlights portals which are running low on outbound links.
Catherine Taylor
2013-09-02 20:14:18 +01:00
896803bf68
removed test code
Philipp Schaefer
2013-09-02 21:29:51 +02:00
fe632b5ccc
added method to get versionCode of mobile app to JSInterface
Philipp Schaefer
2013-09-02 21:27:16 +02:00
d98f4529b4
add licence and g+ links to about dialog
Philipp Schaefer
2013-09-02 21:13:10 +02:00
0e3d82b4bf
bumped version number on mobile
Philipp Schaefer
2013-09-02 09:51:40 +02:00
00a703025e
start gmaps directly in nav-mode. this way we get a labeled marker with locales using decimal comma separator too (thanks joerg wagner)
Philipp Schaefer
2013-09-02 09:49:31 +02:00
98f88b07e9
website: remove tampermonkey note about 'two dialogs' - the latest version now has just one
Jon Atkins
2013-09-02 07:11:55 +01:00
e42cdf6850
website: add notes on using the {tamper,grease}monkey update process - easier than a reinstall also remove the (long out-dated) notes on manual removal of the 'original - before iitc.jonatkins.com' release - I don't think anyone will have this installed any more
Jon Atkins
2013-09-02 07:08:58 +01:00
695ec5b29e
update website for 0.14.0 / mobile 0.5.6 release
Jon Atkins
2013-09-02 05:42:56 +01:00
883f0842fc
new plugin - to show less portals when zoomed out modified show-more-portals so it works with other zoom-modification plugins
Jon Atkins
2013-09-02 04:31:17 +01:00
a8516d92ff
increase timers for loading map data - should be less aggresasive now. still not 100% happy, but it's better...
Jon Atkins
2013-09-02 03:50:22 +01:00
2565478c1f
add linkedFields data to portal.options.details.portalV2 - it's expected in a few places (it shouldn't really be stored there - as other than this the data here mirrors precisely that returned from the server) fix#519
Jon Atkins
2013-09-02 02:08:39 +01:00
7792c80274
increae the initial map data request delay - gives more chance for munge issues to be fixed in the game score update code
Jon Atkins
2013-08-31 17:44:51 +01:00
8448b71fae
hacky workaround for request munging issues - check for issues in the updateGameStatus function
Jon Atkins
2013-08-31 17:44:16 +01:00
61177c4cda
remove (for now) the mobile app code that prevented loading the stock gen_dashboard.js due to recent changes (attempts to block IITC?) the IITC scripts now need to see the functions defined in the stock site
Jon Atkins
2013-08-31 16:43:45 +01:00
043690f99b
attempt to detect the request munge set that's active by searching through the stock site functions
Jon Atkins
2013-08-31 16:40:28 +01:00
5b6ed4ce50
niantic have 'encrypted/obsfucated/munged' the parameters passed TO requests to the server - and changed the request URL from /rpc/dashboard.method to /r/dashboard.method for #518
Jon Atkins
2013-08-31 04:34:37 +01:00
e1891f84df
reduce the retry count on a non-"error:TIMEOUT" failed request
Jon Atkins
2013-08-31 01:43:14 +01:00
4a9fa8baea
attempt to re-create missing links from the portal data may not work, as this code was work-in-progress when niantic broke the json protocol
Jon Atkins
2013-08-31 01:42:31 +01:00
b8514ef3d0
tweak debug layer colours
Jon Atkins
2013-08-31 01:41:54 +01:00
ef2bb0d758
website: add note about IITC being broken (yet again - grrr)
Jon Atkins
2013-08-31 01:41:17 +01:00
ccf83e3360
remove 'report portal' link in portal details. niantic now - pretty much - only take reports via the in-app process
Jon Atkins
2013-08-30 20:30:13 +01:00
3839358a7c
debug plugin: moved the data formatting into the function called after click, to avoid the need to search all links/fields unless the dialog is opened also reformatted the data
Jon Atkins
2013-08-30 20:28:55 +01:00
bb35383ac9
add developer debugging aid - show raw entity data for portals from #516
Jon Atkins
2013-08-30 19:17:22 +01:00