1098 Commits

Author SHA1 Message Date
Jon Atkins
cba667baff clean up map base layer initialisation, and add CartoDB dark + light themes (they seem to be freely available) 2014-12-23 23:59:58 +00:00
fkloft
387a9ab3da cell score: table with checkpoint values, moved panels into accodion 2014-12-22 21:12:03 +01:00
fkloft
a8c50d07ad Clickable names in Top 3 2014-12-22 19:52:42 +01:00
fkloft
e2facb57cd Improved tooltips for region scores 2014-12-22 19:48:43 +01:00
Jon Atkins
9dfbdd7ffb regional scores: open the dialog with a 'please wait' message while the scores load - nicer for users 2014-12-21 03:36:23 +00:00
Jon Atkins
cddcb969ea some mobiles don't support log10, so use regular log instead 2014-12-19 16:14:46 +00:00
Jon Atkins
0691d61976 region scores: nicely format the overall team scores, including a simple bar chart 2014-12-18 20:29:49 +00:00
Jon Atkins
bda1e080fe region scores - polish the graph with grid lines + scales 2014-12-18 16:39:57 +00:00
Jon Atkins
aba335c54b changed raw table of score history into a nice svg graph
still needs a little work on tidying it up, but better than stock now :)
2014-12-18 04:35:10 +00:00
Fragger
83a2eb8aa9 Don't do ajax lookup when search is lat/lng cords 2014-12-17 10:53:16 -08:00
Jon Atkins
00a630c61a region scoreboard: very basic initial support - needs work 2014-12-17 07:06:48 +00:00
Jon Atkins
9f08b1d977 mobile: work around leaflet not seeing the WebView size in some cases, causing odd map issues at startup
not 100% certain it fixes it yet, as it doesn't happen every single time...
2014-12-06 07:23:54 +00:00
Jon Atkins
02f41d41eb fix getURLParam to actually parse and decode parameters correctly 2014-11-24 17:13:00 +00:00
Jon Atkins
e2e2f09e94 quick hack fix, done right
niantic removed the list of protected methods - all methods are protected
there's still a short list of group-a protected, with the rest being group-b
2014-11-07 20:33:47 +00:00
fkloft
e457cbbfe3 [core] quick fix - remove check for empty group_a array.
It seems like Niantic removed that array.
2014-11-07 20:17:02 +01:00
Jon Atkins
f5c5b08a4d the recent increase of TILES_PER_REQUEST means more error: TIMEOUT responses for tiles. they are, again, 'normal'
so reduce the retry delay on these close to the delay used after successful requests.
2014-10-24 01:46:18 +01:00
Jon Atkins
caff9340d3 various tweaks to how IITC requests data tiles from the servers
- change TILES_PER_REQUEST to 25, instead of 10 - to match current stock intel site
- modify the zoom level faking IITC does. it still makes good use of IITC's caching, but no longer switches to a zoom level with larger tiles. recent changes to tile parameters for L8 portals on the standard intel site suggests that it's nicer to the servers to request more, but smaller, tiles, than fewer but larger ones
- restored the 'show less portals when zoomed out' plugin. however, this works differently now. rather than faking the zoom level for larger tiles, it now effectively applies the portal level filter used by the standard site. just as many requests as stock, but much smaller responses with fewer portals, so faster rendering
2014-10-24 00:59:31 +01:00
Jon Atkins
749c7b3b5c fix gamescore loading - minor data format change 2014-10-17 18:15:47 +01:00
Jon Atkins
5d8b68747b update tiles-per-edge to match change to stock site 2014-10-14 18:02:29 +01:00
Jon Atkins
cffdb0cdef fix debug log: it's getEntities now, not getThinnedEntities 2014-10-10 04:34:47 +01:00
fkloft
c4117b3c29 [core] passcode contents are displayed correctly
Includes some other small fixes regarding passcodes.

Fixes #883
2014-10-05 22:24:15 +02:00
Jon Atkins
3d798615ca COMM code: add method to request access to a COMM channel even when not viewed by the player 2014-10-04 07:06:27 +01:00
Jon Atkins
24f058bf4e botguard interface fixes:
- stock site was updated to ignore entries in the pending data queue after a time
- correctly process the 'c' response from the server - it's an array, not a single item (oops!)
2014-10-01 23:49:55 +01:00
Jon Atkins
2446060dad comm: fix name for the 'all' channel (it's not just 'public' COMM, but also alerts, system (aka 'full'), etc) 2014-09-28 04:52:07 +01:00
Jon Atkins
1ca24d6a42 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-09-25 20:25:39 +01:00
Jon Atkins
299ae1cadc niantic have increased the tiles-per-request setting to, at least, 10
(with some experiments of larger values - 25 and 50 - that have been reverted for now)
2014-09-25 20:24:52 +01:00
fkloft
a64f76c862 initial implementation of ornaments 2014-09-25 20:53:05 +02:00
Jon Atkins
5f778ad05a formatting/comment changes 2014-09-17 17:25:20 +01: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
5dd108c922 COMM fixes
- when on global view, clamp the lat/lng so it's not beyond +-180 E/W and +-90 N/S - otherwise the server no longer returns data
- fix refresh on chat tab changing - it was firing too early on first page load
2014-09-16 01:50:50 +01:00
Jon Atkins
92aae954a8 botguard: first pass at full implementation. fingers crossed... 2014-09-15 20:50:58 +01:00
Jon Atkins
bbbc3493c9 botguard: work in progress
response processing - untested
2014-09-15 20:01:09 +01:00
Jon Atkins
d469c83d4b botguard interface: fix extra_request_params 2014-09-14 05:24:21 +01:00
Jon Atkins
2579536f78 work in progress: intel site 'botguard' interface.
not yet complete. initialisation is probably right - but need to check/complete the request param creation, and implement the response processing
2014-09-14 05:15:07 +01:00
fkloft
ad53f785d3 improve cache 2014-09-13 21:23:19 +02:00
fkloft
e9bd88fe31 implement latlng-to-guid cache 2014-09-13 20:55:40 +02:00
fkloft
2def40c847 Remove old hook 2014-09-13 19:54:12 +02:00
Jon Atkins
b58aff8a54 remove references to niantic variables in their 'nemesis.' object - not available since they introduced minification 2014-08-15 00:48:58 +01:00
Jon Atkins
f481287f84 version code extraction: rather than hard-coded function name, iterate through all munged (i.e. 1 or 2 letter) functions, then the munged functions within the prototype
this should, in theory, be reasonably robust against Niantic site updates.
2014-08-15 00:43:51 +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
06b3061715 fix small syntax error
(doesn't throw, but doesn't work either)
2014-08-13 12:50:49 +02:00
fkloft
546ed4e98f Avoid JS errors 2014-08-13 11:45:53 +02:00
fkloft
360c51e7dc [core] tell Android to reload instead of calling location.reload() if running on IITCm
fixes 842
2014-08-13 11:45:43 +02:00
Jon Atkins
368b647114 reduce the delay before repeating a 'error: TIMEOUT' map data request 2014-08-13 03:42:26 +01:00
fkloft
31c01d0b4c Add tooltips for accesskeys 2014-08-12 22:33:04 +02:00
Jon Atkins
1a200269bd map data requesting: the stock site no longer performs unlimited retries on 'error: TIMEOUT' map data tiles, so update IITC to match
split tiles that are retried into smaller requests - might help things at the server side??? no harm in it...
2014-08-12 18:47:48 +01:00
Jon Atkins
c8fd938cd3 big rework of error handling on requests
- central point for checking for 'error: "out of date"' response from server
- in 'out of date' state, an error dialog is shown and no further requests are sent to the server
- request queue has central point for request adding - now request count is accurate, not just for COMM requests
- request error count is cleared after a period of no requests failing
2014-08-12 17:07:28 +01:00
Jon Atkins
21463ca392 move postAjax function into a new file 2014-08-11 22:15:10 +01:00
fkloft
1f13ec3001 Improvements to passcode redeeming
- use text color instead of background, with font-weight:bold and a small shadow
- short format for passcodes
2014-08-09 16:59:33 +02:00
Jon Atkins
4827c9ac1b helios artifacts - initial guess was slightly wrong - no count parameter for target marker 2014-08-09 03:05:43 +01:00