1013 Commits

Author SHA1 Message Date
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
Jon Atkins
c2ffad80d7 niantic perform agressive filtering of short links - so no point in waisting time in IITC testing link length too 2014-06-16 16:39:11 +01:00
Jon Atkins
07066c5711 Merge branch 'master' of https://github.com/jonatkins/ingress-intel-total-conversion 2014-06-13 21:59:14 +01:00
Jon Atkins
665dad0bab trying some tweaks to render queue processing... 2014-06-13 21:58:50 +01:00
fkloft
042129095b Fix some bugs regarding OMS by introducing a new helper function 2014-06-10 20:52:20 +02:00
fkloft
d3fca8612c Move OverlappingMarkerSpiderfier from player-tracker to core. Implement for bookmarks and draw tools
(Markers added to OMS shouldn't use the "click" event but "spiderfiedclick")
2014-06-09 21:08:06 +02:00
Jon Atkins
fdda5bf1bd limit zoom on search to the level that shows all portals - prevents being zoomed in too far since changing most map layers to suppot zoom 21 2014-06-03 13:45:41 +01:00
Jon Atkins
361c665626 link range - correctly flag missing resonators 2014-06-01 19:04:52 +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
a05ac61cb4 update default and plugin base maps to allow zooming up to level 21, and scale the tiles when they don't support such a resolution 2014-05-29 01:23:25 +01:00
Jon Atkins
79b3782e97 fix resonator handling when less than 8 are provided - we can't work out which is in which slot any more
and silly mistake in last night's quick fix for the 8 slot case
2014-05-25 01:11:14 +01:00
Jon Atkins
9882157f45 fix: mod owner not displayed 2014-05-24 23:58:33 +01:00