fkloft
6ade4563b9
Enhancement for PR
2015-10-11 00:05:28 +02:00
T. Thiery
6c992c74fd
Add removeLayerGroup
...
- removes a layer from the layerChooser
- store the currently selection state if added later.
2015-10-10 23:43:12 +02:00
fkloft
a7387e3f4b
Support for ULTRA_LINK_AMPs
2015-06-23 20:05:35 +02:00
fkloft
2933f596e9
[core] small changes to cookie handling
...
- dynamic cookie expiration date
- remove cookie cache (which is not updated when a cookie is set)
2015-04-13 21:58:05 +02:00
Jon Atkins
badcdbdb18
add core functions to create a generic marker icon, of a specified colour.
...
use it for the new portal distance current location marker, and search result marker
2015-02-21 17:08:04 +00:00
fkloft
46a1684549
Search for portals: select portal on click
2015-02-12 16:06:48 +01:00
fkloft
7311b85059
selectPortalByLatLng: allow Array as single parameter
2015-01-19 22:34:27 +01:00
fkloft
6a0e021e30
chat: guid is no longer available
2015-01-16 20:41:31 +01:00
Jon Atkins
02f41d41eb
fix getURLParam to actually parse and decode parameters correctly
2014-11-24 17:13:00 +00:00
Jon Atkins
0a197d91be
change the google maps link - ll=lat,lng parameter added.
...
'borrowed' this link format from wikipedia's google maps links
2014-09-17 17:24:04 +01:00
Jon Atkins
9ab6bea90d
first pass at extracting version code from the minified javascript
...
still needs some work, but will get something working in the test builds for now...
2014-08-14 23:54:36 +01:00
fkloft
546ed4e98f
Avoid JS errors
2014-08-13 11:45:53 +02:00
Jon Atkins
21463ca392
move postAjax function into a new file
2014-08-11 22:15:10 +01:00
Jon Atkins
a58238158f
the stock intel update of 2014-08-08 adds two new fields to every request - called 'b' and 'c', both blank strings
...
no idea why, or what they're for - and it does seem to work without them - but duplicate in case it's important
2014-08-09 02:34:36 +01:00
Jon Atkins
a83688a4c2
niantic have removed all munging from the network protocol, so update IITC to match
...
improvements could be made to our version handling (currently we just take their version string and assume it'll work, with no checks for changes - needs some thoughts on sensible handling)
2014-05-30 22:42:00 +01:00
Jon Atkins
333c1a6daf
add tweaks of data retrieval zoom level, to make better use of the cache and be friendlier to the API in some cases
...
also, default-intel-detail and show-more-portals plugins fixed - the logic has been moved into IITC core, with the plugins just setting flags to change behaviour
2014-02-22 19:30:12 +00:00
Jon Atkins
8ce28334cc
internal cleanups on the API used to convert map zoom levels to the parameters needed to generate quadkeys for data tiles.
...
this should also prevent mixed release plugins/test IITC builds causing issues with it's 'show more portals' plugin
further changes are planned - by lying to the backend about the map zoom to optimise the portal detail level (density) returned and make better use of the data cache. needs some practical experimentation to get good adjustments, and a cleaner API for these plugins
2014-02-22 05:48:52 +00:00
Jon Atkins
9c3e47ec40
protocol changes 2014-02-22 - quadkeys have gone back to using map zoom, rather than portal level, in their names
2014-02-22 02:58:52 +00:00
Jon Atkins
6797cf7e8b
full date+time (with optional milliseconds) always formatted in 24h format
2014-02-05 05:39:20 +00:00
Jon Atkins
ad5df28f37
undefimned fefault to true, rather than false, when adding a layer - more likely whats wanted
2014-01-20 08:22:59 +00:00
Jon Atkins
7997c9c8e3
change the commented out list of zoom to portal level mappings to match those in the intel site update of 2014-01-06
...
IITC still drops a zoom level slightly sooner at this time, but not so much now
(were niantic inspired by IITC here?)
2014-01-07 08:12:20 +00:00
Jon Atkins
ba33e28675
change digits function to use unicode 'thin space' as thousands seperator
2013-12-18 22:41:55 +00:00
Philipp Schaefer
58b85e4c24
new actionbar title for permalink
2013-12-10 22:14:24 +01:00
Jon Atkins
9048c6d710
tweaked default portal detail levels to show L7 portals one more step out. this helps seeing the larger-scale links and fields
...
IITC still switches to L8 portals one level sooner than default intel though - and this seems about right for the current level of portals commonly seen
2013-12-01 18:22:53 +00:00
Jon Atkins
f22d185b5b
updates to the portal detail level handling
...
- iitc now defaults to lower detail than the standard intel site when zoomed out - it loads much faster, shows more than enough for general use, and is less likely to trigger 'excessive requests' issues
- show more portals plugin: updated for interface changes
- show-less-portals-zoomed-out: deleted (this is now the IITC default)
- new plugin: default-intel-detail - restores the original IITC behaviour on zoom to portal detail level mapping. not recommended
for #656 number 3
2013-11-24 04:59:41 +00:00
Jon Atkins
1f25428388
Merge pull request #657 from nexushoratio/to-push
...
Spell checking, h-r.
2013-11-23 19:35:54 -08:00
Mike Castle
bba6519860
Spell checking, h-r.
2013-11-23 19:16:20 -08:00
Jon Atkins
47d453793c
re-order the common method name & version parameters in the JSON requests to match the stock intel site
...
for #656
2013-11-24 01:48:00 +00: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