110 Commits

Author SHA1 Message Date
Jon Atkins
5298c98fdd minor api change for chat callbacks, and plugins fixed to use the new changes
(which broke after today's niantic site update anyway)
2015-03-20 20:53:45 +00:00
fkloft
d98546a173 fix chat after intel change 2015-03-20 21:30:52 +01:00
Jon Atkins
55529c938e indentation, and dead code removal 2015-03-04 01:03:55 +00:00
fkloft
c450aa63f8 [chat] stop further event processing once the event has been handled 2015-02-14 14:51:43 +01:00
Jon Atkins
ee9dbef1a2 comm: line accidentally commented out - although as tabs don't download when not viewed any more, doesn't really cause issues 2015-01-30 04:03:28 +00:00
Philipp Schaefer
615372e137 Merge branch 'master' of github.com:jonatkins/ingress-intel-total-conversion
Conflicts:
	code/panes.js
	mobile/src/com/cradle/iitc_mobile/IITC_NavigationHelper.java
2015-01-24 12:33:14 +01:00
Philipp Schaefer
239a5d5c61 migrated new panes to iitcm 2015-01-24 12:30:23 +01:00
fkloft
5c18e0fe6b More cleanup 2015-01-24 12:20:00 +01:00
Jon Atkins
dc44b5d61d chat: add simple background animation while a COMM channel is loading 2015-01-24 01:59:07 +00:00
Jon Atkins
0b886c43f0 chat: highlight both public and faction user chat in the 'all' COMM tab, the same as in 'alerts' for @mention messages 2015-01-22 20:56:51 +00:00
Jon Atkins
0dcada2c3b bit hacky, but get IITC's COMM to match the stock intel COMM in it's tabs
see https://plus.google.com/105383756361375410867/posts/b9ihAer4Fxm
2015-01-22 20:24:34 +00:00
fkloft
6a0e021e30 chat: guid is no longer available 2015-01-16 20:41:31 +01:00
fkloft
e4daeaa9cd remove unused variable 2015-01-16 20:23:42 +01: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
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
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
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
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
589fd83b93 first pass of fixes for 2014-05-23
still need to fix name changes in response for portal details
2014-05-23 22:21:36 +01:00
Jon Atkins
8b7d031208 for some reason SEND_PLEXT no longer munges it's parameters - but everything else does still!
no idea if it's permanant, or an accident - so we'll handle either munged or unmunged parameters now
2014-05-10 00:36:44 +01:00
fkloft
2e5da846a0 Remove CHAT_MIN_RANGE 2014-03-21 22:30:32 +01:00
fkloft
ca3ad18217 Repair compact tab 2013-12-13 17:54:25 +01:00
Mike Castle
4d8054c0d4 Merge branch 'to-push' of github.com:nexushoratio/ingress-intel-total-conversion into to-push
Conflicts:
	plugins/portal-defense.user.js
	plugins/show-linked-portals.user.js
2013-12-02 02:18:03 -08:00
Jon Atkins
e935902c49 misc fixes - some untested
- no GUIDs in chat for players or portal details - so remove player GUID related functions
- remove player guid code from COMM
- update portal_info functions to compare to player name rather than guid
2013-11-30 23:19:46 +00:00
Jon Atkins
b9c8e9c6c5 new reduced map data: first pass at loading the new format 2013-11-30 04:15:17 +00:00
Mike Castle
7a07f622de Fix a variety of typos. 2013-11-26 23:55:08 -08: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
d58ba079b8 COMM: correctly use the ascendingTimestampOrder flag when retrieving new COMM messages. this matches the stock intel site, and prevents gaps occuring when filling in entries after resuming from idle
related to #656 no 2
2013-11-24 01:32:46 +00:00
fkloft
de621000ce Debug pane: Show error message in log 2013-10-19 15:36:13 +02:00
Philipp Schaefer
72620ed668 got rid of redundant code 2013-10-02 23:40:51 +02:00
Jon Atkins
8cc246c5f7 remove old factionOnly flag from chat requests. although the stock site appears to send it still at first glance of the code, this appears to be incorrect - and sending it causes old messages to come first rather than new ones!
(perhaps i've mis-identified the flag - and it's the one for getting older messages first?)
for #589
2013-09-30 23:13:53 +01:00
Jon Atkins
4c2bb5ecfa quick fix for chat, for protocol changes
for #589
2013-09-30 22:51:06 +01:00
Jon Atkins
2f40571ee1 make chat code remember and restore the last chat tab used on reload 2013-09-03 19:40:49 +01:00
Jon Atkins
f5d8587955 update code for the new internal name for enlightened - was ALIENS, now ENLIGHTENED 2013-07-31 20:15:14 +01:00
Jon Atkins
e321b06875 jquery update (i expect) broke $(window).on - $(document).on works instead
also changed guess player levels plugin from using jquery .delegate to .on - as the former is deprecated
2013-07-20 19:42:43 +01:00
Jon Atkins
ab3bdcef30 don't treat names resolved from old chat messages as certain - only new ones
this prevents people having a name change from getting inconsistant results as old/new messages are seen
fix #393
2013-06-26 15:15:32 +01:00
Jon Atkins
0b75b49b98 change the callback from resuming from idle, so it starts a short refresh timeout as if the map had just moved
this way, if you switch back to IITC, then quickly move/zoom (as often is done), unnecessary network requests are avoided
because of the change, there's no need for chat to have it's own resume hook - it already hooks into the refresh code and this is now triggered quickly
2013-06-15 23:29:16 +01:00
Jon Atkins
508c2543f4 only clear and refresh past chat messages if the bounding box has changed by over 10% - reduces network requests for chat data after small map movements 2013-06-07 05:35:18 +01:00
Philipp Schaefer
f7bd510aae fixed debug console on desktop mode 2013-05-29 11:21:13 +02:00
Jon Atkins
5430992d70 improvements to date formatting
- leading zeros on month/day
- milliseconds in chat tooltips
2013-05-26 19:29:48 +01:00
Jon Benson
4906b57f15 Hopefully fix whitespace issues. 2013-05-07 19:05:50 +10:00
Jon Benson
935e9ab688 Fixed style overriding css to hide chat control tabs. 2013-05-07 18:15:41 +10:00
Jon Benson
b110ff0261 Fix status div showing above chat. 2013-05-07 17:33:26 +10:00
Jon Benson
1a701e5a32 Further bugfixes related to chat/debug. 2013-05-07 15:21:05 +10:00
Jon Benson
0108d1b49c Added debug menu option and started tidying up 'window' handling 2013-05-07 14:09:30 +10:00
Jon Benson
7e2087da63 Redesigned IITC Mobile to use ActionBar menu instead of web based tabs. 2013-05-06 22:31:50 +10:00
Kevin
79af80d0c3 More updates to url links to be compatible with stock intel map 2013-04-30 22:33:07 -07:00
Kevin
6b04ee4939 Don't modify nicknameClicked function, pull name in event calling function 2013-04-16 15:04:26 -07:00