98 Commits

Author SHA1 Message Date
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
Kevin
eb7d021449 Double space issue when clicking a nickname with a space already present in chat 2013-04-14 19:35:30 -07:00
Kevin
aa6581fb85 Make any nickname class element clickible to fill @ nick in chat 2013-04-14 19:35:27 -07:00
Jon Atkins
9b4eaaf4e8 Merge branch 'master' of https://github.com/vbfox/ingress-intel-total-conversion 2013-04-11 16:19:35 +01:00
Julien Roncaglia
f13985b1f9 Fix clicking on cited player name inserting the nickname without '@' in the chat 2013-04-10 07:14:09 +02:00
Jon Atkins
0d51e045a0 disable input "keydown" on smartphones - it's redundant there (no tab key), breaks input editing, and has some impact on performance
fix #138
2013-04-10 04:07:20 +01:00
Julien Roncaglia
1a8d15d1c5 Add 2 new hooks: geoSearch and nicknameClicked
For both of them returning false will interupt the default action

'geoSearch' is called when something is entered in the search box.
The argument is the string entered in the search box

'nicknameClicked' is called when a nickname is cliked.
The argument is an object with 2 properties:
 - 'event' contain the standard event object
 - 'nickname' contain the nick of the user
2013-04-09 22:40:34 +02:00
Jon Atkins
baaaf3e3f1 remove unnecessary absolute URLs. site-relative are used where possible (e.g. permalinks, rpc calls) - and a couple of protocol-relative one for automatic http/https matching 2013-04-08 05:09:01 +01:00
Jon Atkins
f48aca8864 more chat changes
- remove public @mentions from the faction chat channel
- add default case to chat text handling. if a new message fragment type is added, at least something will be shown in chat instead of being blank (as happened when AT_PLAYER was first introduced)
- highlight your own player name in the chat column in yellow for things you said/actions performed - similar to @mentions from other players
2013-04-05 23:58:55 +01:00
Jon Atkins
a2a9d3458d add highlight to SYSTEM_NARROWCAST (your X on Y was destroyed by Z) messages 2013-04-05 00:36:38 +01:00
Jon Atkins
3a37667a7c chat - oldest/newest timestamp handling rewrite
this fixes an issue that, in theory, could have occured with the public chat fetching and over 200 sequential skipped ([secure]) messages. the recent change to skip SYSTEM_NARROWCAST for faction chat was much more likely to trigger the same issue
also
- lighten the red colour used in public chat - was almost impossible to read before
- set the faction chat message count to 100 (it was 50, then bumpped to 200 briefly to work around chat issues)
2013-04-05 00:07:54 +01:00
Jon Atkins
77cdac87df remove "your X on Y was destroyed by Z" messages from faction chat - #121 2013-04-04 16:56:07 +01:00
Jon Atkins
3a8ea9161b fix chat player highlighting
- clicking on names now inserts them
- fix: if your name was @mentioned, followed by another @player, it didn't mark the line
2013-04-01 19:11:25 +01:00