1024 Commits

Author SHA1 Message Date
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
fkloft
c6a6dc3105 Privacy view: accesskey (9) + fixes
- collapse chat before entering privacy view
- don't allow chat to expand when in privacy view
- disallow pointer events for the leaflet-control placeholder so ic can be clicked through
2014-07-03 21:44:58 +02:00
Jon Atkins
5520f927a9 tweak leaflet map settings - no 'bounce' at zoom limits for touch devices. may prevent unnecessary redraws on mobile, which may help performance in some cases 2014-07-02 03:10:40 +01:00
Jon Atkins
a06a28de7b switch to newer jquery and jquery-ui versions 2014-06-28 06:05:22 +01:00
Jon Atkins
25f9b9b19b tweaks to render queue - on mobile, increase the delay, rather than decreasing the number of items, to help speed things up 2014-06-23 02:40:31 +01:00
Jon Atkins
418675a8f0 always show the full details of a portal - looks rather empty with just one line of data 2014-06-16 20:17:49 +01:00
Jon Atkins
3fb686e7f6 reformat shielding tooltip - should be more logical 2014-06-16 17:40:55 +01:00
Jon Atkins
73d5f3755c rearrange portal details, now we no longer have capture date or resonator ranges
many more fields are now not displayed for uncaptured portals - not useful
2014-06-16 17:38:49 +01:00
Jon Atkins
b3da632948 allow a higher number of tile retries if the config value exists in the stock site 2014-06-16 17:16:00 +01:00
Jon Atkins
958ca2758d quick fix for capture date removal - could do with re-formatting the sidebar data to use the space better 2014-06-16 16:45:01 +01:00
Jon Atkins
fe2542902c reduce the delay between requests - now we always send 4 at a time, rather than larger batches, a shorter delay is better 2014-06-16 16:39:42 +01:00