1034 Commits

Author SHA1 Message Date
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
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
fkloft
7a494be280 preliminary support for passcode redemption 2014-08-09 00:03:25 +02:00
Jon Atkins
963232a98e niantic are experimenting with different values for 'tiles per request' - so let's be nice and make IITC follow the same setting 2014-08-08 00:50:20 +01:00
Jon Atkins
4c5e77c18d fix error case in artifact data loading 2014-08-07 11:08:30 +01:00
Jon Atkins
bf586282e6 fix version code error check dialog in game_score.js
add plugin, and matching external js file for the website, to fix known bad version codes
2014-08-03 19:01:34 +01:00
Jon Atkins
bf945e174c artifacts: a guess as to what's needed for the up-coming 'helios' artifacts 2014-07-31 18:51:29 +01:00
Philipp Schaefer
57e972fe87 - don't hide layer-chooser in smartphone.css
- it's hidden in boot.js if iitc is booted with the iitcm android app
2014-07-23 02:35:56 +02:00
Jon Atkins
7c85e7247b Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-07-14 20:45:03 +01:00
Jon Atkins
88c404eca0 force re-render of the selected portal at the end of map rendering, to ensure any details that depend on map data are correct
for #827
2014-07-14 20:44:20 +01:00
fkloft
af90b25b48 Another accesskey: 'w' to close portal details (=deselect portal) 2014-07-11 13:31:19 +02:00
Jon Atkins
b9f9288567 keep track of which portal guids have a detail request in progress, to prevent sending additional requests while waiting for a response 2014-07-09 05:43:15 +01:00
Jon Atkins
69f3fb211b try different vector overdraw amounts for different setups
- canvas - overheads directly related to the number of drawn items, so limited overdraw
- svg desktop - can handle large amounts of overdraw ok, so allow 100%, so known items don't vanish during most map panning
- svg mobile - mobile struggles more, so limit svg overdraw
2014-07-07 17:42:29 +01:00
Jon Atkins
2e4b54e868 helper function for plugins to create new hooks 2014-07-04 19:38:21 +01:00
Jon Atkins
2a35330fb7 and shortly after I removed the code that limited drawing of very short links... niantic chance the server and start returning them again!
so probably better with this re-enabled
2014-07-04 19:37:19 +01:00