Mike Castle
bba6519860
Spell checking, h-r.
2013-11-23 19:16:20 -08:00
Jon Atkins
91c561b8c5
try to use the stock intel site map zoom->detail level loopup, to allow that to be changed at the Niantic end and IITC to match
...
catch errors and fallback to the currently known values
(is this a good idea? good question...)
2013-11-13 00:09:13 +00:00
Jon Atkins
5ae2dce46e
first attempt at regular expressions to extract munged parameters from stock site javascript
2013-11-12 08:41:00 +00:00
Jon Atkins
df3a8adcb2
add portal age, in days/hours/etc to tooltip along with existing capture timestamp in portal info panel
2013-11-10 21:39:57 +00:00
Jon Atkins
6d24279106
moved request parameter munging code+data into a new file, in preperation for cleaning things up
2013-11-10 02:36:40 +00:00
Philipp Schaefer
8a8aa1b4d3
added function to detect touch-devices
2013-11-08 19:50:59 +01:00
Jon Atkins
52a5b231ed
new munge set for 2013-11-07
2013-11-08 00:36:15 +00:00
Jon Atkins
752eb65b8e
new munge set - 2013-11-06
2013-11-06 21:14:43 +00:00
Philipp Schaefer
1d838568a0
use correct function name in if statement
2013-10-31 00:11:26 +01:00
Philipp Schaefer
bb4d57acad
- added getVersionName() to JSInterface
...
- use versionName in IITC About dialog
2013-10-30 23:21:27 +01:00
Jon Atkins
e7fe4bb1dd
first pass at a fix for protocol changes - #618
2013-10-29 20:29:08 +00:00
Jon Atkins
9dabc33770
modify plugin wrapper, so build-script injected macros in the wrapper are in a more obvious place, so 3rd party plugin authors are less likely to make mistakes here when working outside the build.py environment
...
tweak the about screen to display non-standard plugins using the new interface better
2013-10-29 02:43:56 +00:00
Jon Atkins
318cea2e9a
add a list of the active plugins to the about dialog, listing the version, etc from the new plugin interface changes
...
also use the new versin data supplied by grease/tampermonkey for the main script version display
2013-10-29 02:09:41 +00:00
fkloft
8be3c99abf
Add workaround for touch events (and remove other workaround that didn't work)
...
Leaflet doesn't handle touchcancel events in L.Draggable._onDown. Workaround is similar to 1cecbe7f440249ca68f4f6fef3948032e61843ac
2013-10-19 19:04:42 +02:00
fkloft
53874ab887
Avoid errors in stock JS
2013-10-19 15:36:14 +02:00
Jon Atkins
1eea47ca99
update code to match stock site changes 2013-10-16
...
- new munge set
- modified map data tile ID/QK - now based on portal level rather than map zoom
2013-10-16 03:11:19 +01:00
Philipp Schaefer
72620ed668
got rid of redundant code
2013-10-02 23:40:51 +02:00
Jon Atkins
80157b9875
another mungs set was pushed live. update the code
...
also reordered munge list to match the order found in the stock page (makes it easier to update) and tweaked the code that detects and auto-tries munge sets
2013-10-01 01:02:08 +01:00
Jon Atkins
690b5d7e62
factionOnly was not correct - had mis-entered this mapping (and was already there for ascendingTimestampOrder - it's real meaning)
2013-09-30 23:23:13 +01:00
Jon Atkins
c82cd14641
first attempt at updating munge parameters for new niantic intel site update
...
have commented out old munges for now - they don't include parameters needed in some new requests, so are unlikely to be used again
for #589
2013-09-30 22:43:35 +01:00
Jon Atkins
54997ac9bc
add portal hack counts/cooldown time, and mitigation values, to the portal details panel
2013-09-19 00:51:28 +01: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
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
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
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
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
043690f99b
attempt to detect the request munge set that's active by searching through the stock site functions
2013-08-31 16:40:28 +01:00
Jon Atkins
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
2013-08-31 04:34:37 +01:00
Jon Atkins
ccf83e3360
remove 'report portal' link in portal details. niantic now - pretty much - only take reports via the in-app process
2013-08-30 20:30:13 +01:00
Jon Atkins
0302d76a67
portal detail zoom - don't step out for zoom <= 12 - seems to miss some data as we're displaying things larger than the server expects
...
also, add a new attempt to fix the portal zoom issue (Lundefined) that occurs on mobile sometimes
2013-08-27 03:45:37 +01:00
Jon Atkins
8984ff0285
possible fix for coordinate clamping on the right-hand-side of the map
2013-08-26 17:43:27 +01:00
Jon Atkins
01a8dbf4be
more work on map data rendering rewrite
...
marker creation/style changing moved out of rendering code (to allow use from elsewhere, and possible overriding by plugins)
2013-08-26 15:19:21 +01:00
Jon Atkins
3c90960e4c
work-in-progress - checking in while looking at other code on master. may be broken
2013-08-25 17:50:28 +01:00
Inye
55c055425b
Avoid using Object.keys(obj).length in hot code paths
...
Complexity of Object.keys(obj).length is O(n) where n is the number of
object keys. Unfortunately, JavaScript have no built-in means of
determining number of object keys in constant time. Therefore, we have
to count object keys using separate counter variable.
It may look ugly (and indeed it is), but it greatly improves smoothness
and overall feel of IITC.
2013-08-02 20:00:03 +04:00
Philipp Schaefer
1e03e60c15
some whitespace fixes
2013-07-27 11:25:58 +02:00
Philipp Schaefer
ab164cfde5
Merge branch 'intents' of git://github.com/fkloft/ingress-intel-total-conversion into fkloft-intents
...
Conflicts:
mobile/res/values/strings.xml
2013-07-27 11:23:51 +02:00
fkloft
fa4d4c64f7
Pass title from JavaScript
2013-07-26 23:29:32 +02:00
Jon Atkins
5760f9b7a8
force rounding to integer the result of map.getZoom() when calculating the map data zoom
...
it's not something that sould happen, but it's been seen on mobile (#271 ) - this should eliminate the issues with portal data this causes
2013-07-25 02:03:41 +01:00
fkloft
2b7ac5605b
Improved permalink/portal link
...
Now shows a dialog from which you can:
* share the permalink using the standard android share feature
* copy the link to the clipboard
* open the intel map link with an installed browser
* show the map with an installed map application (that supports geo: URIs)
2013-07-21 00:51:21 +02:00
Jon Atkins
1507347acd
remove partial portal zoom level boost from code - moving complete code into a plugin
...
log data vs map zoom to console
2013-06-15 17:54:27 +01:00
Jon Atkins
993c830bf0
some refactoring of the zoom level handling. will make it easy and relatively friendly on the servers to boost the map detail level for given zoom levels
2013-06-15 17:07:56 +01:00
Philipp Schaefer
f7bd510aae
fixed debug console on desktop mode
2013-05-29 11:21:13 +02:00
Philipp Schaefer
bb7f200547
use in-app layer chooser on desktop mode
2013-05-29 00:57:38 +02:00
Jon Atkins
bfd9f39067
add util function to escape strings for manual building of HTML, and use this for the portal title
...
fix #319
2013-05-27 00:35:56 +01:00
Jon Atkins
5430992d70
improvements to date formatting
...
- leading zeros on month/day
- milliseconds in chat tooltips
2013-05-26 19:29:48 +01:00
Jon Atkins
87a0a35f74
have seen a case of GUID type .2 - 'random portal'
2013-05-18 04:13:21 +01:00
Jon Atkins
ca76e7ed60
add the concept of portal detail level zoom, separate from map level zoom
...
this allows us to override the zoom used to retrieve server data, giving options to either retrieve lower zoom levels to reduce the number of requests, or higher zoom levels to retrieve lower level portals from the server
2013-05-17 23:45:14 +01:00
Jon Atkins
746d4bdc2b
possible fix for #271 'undefined' issue
2013-05-16 18:39:24 +01:00
Jon Atkins
73487d7e50
add bing maps link to "map links" dialog
...
the encoded_name no longer includes the space/brackets - so these are now added in the java app - which makes more sense anyway
unknown names (shouldn't happen) are now named 'unknown' rather than not specified
2013-05-14 22:35:12 +01:00
Jon Atkins
ee589721e6
i'd been given a list of all guid type codes from the ingress android app - so update the comments to list them all
2013-05-13 05:26:42 +01:00