Commit Graph

76 Commits

Author SHA1 Message Date
TingPing 77c1edbe13 Handle lists in MONITOR replies 2013-08-20 00:24:20 -04:00
TingPing 13bfd060b6 Format Channel URLs
closes #706
2013-08-07 06:14:30 -04:00
Diogo Sousa 5e240eb259 Indentation fixes and code cleanup. 2013-07-10 00:42:34 +01:00
Diogo Sousa 7101b7b864 Now hexchat_hook_server_attrs() and hexchat_hook_print_attrs() is called
when it should. This should close #661.
2013-07-09 23:11:28 +01:00
TingPing 1544a5d6cb Default to nickserv when using /ghost or /id commands 2013-07-04 18:08:56 -04:00
Diogo Sousa 4b40597c76 Fixed get_timezone() to work on windows. 2013-07-02 02:22:41 +01:00
Diogo Sousa 9a789bc9e7 Now handle_message_tag_time() doesn't use "timezone" since it is not defined
in *BSD.
2013-07-02 01:54:18 +01:00
Diogo Sousa 73c9321361 Fixed server-time timestamps issue regarding local time. 2013-06-30 15:00:38 +01:00
Diogo Sousa 25288120be Fixed another bug in handle_message_tag_time(): tm_mon is between 0 and 11. 2013-06-28 23:42:11 +01:00
Diogo Sousa d99d951f7f Fixed bug in handle_message_tag_time(). 2013-06-28 22:08:35 +01:00
Diogo Sousa ce6fef3d0a A few messages missing regarding server-time. 2013-06-28 16:07:42 +01:00
Diogo Sousa 4057b7dd58 Now inbound_cap_ls() can enable extensions when a bouncer uses a namespace for
the extension server-time.
2013-06-28 16:07:24 +01:00
Diogo Sousa d1725e3f44 server-time for all numerical messages. 2013-06-28 16:04:32 +01:00
Diogo Sousa 42da8fe3ef server-time supported in all named servermsg: ping, error, notice and
authenticate.

The only thing left to do for server-time are the numeric messages.
2013-06-28 16:04:16 +01:00
Diogo Sousa a01bd83c64 Organized cap inbound code in inbound.c instead of proto-irc.c. 2013-06-28 16:04:06 +01:00
Diogo Sousa 6a0240aa18 server-time supported in most named messages. 2013-06-28 16:03:37 +01:00
Diogo Sousa 179747a7bc Implemented handle_message_tag_time() for time-server messages. 2013-06-28 16:03:20 +01:00
Diogo Sousa 94186f7888 First step towards message tags extension support
(see http://ircv3.atheme.org/specification/message-tags-3.2).

In particular this commit implements a (very) dummy implementation
sketch of the server-time extension
(see http://ircv3.atheme.org/specification/message-tags-3.2 and #499).
2013-06-28 16:03:12 +01:00
TingPing df0ee53765 Handle /CAP LIST output
Closes #635
2013-06-05 13:35:30 -03:00
Berke Viktor b2fec642fe Login type cleanup 2013-05-19 05:17:13 +02:00
Berke Viktor 9d717ffee9 Fix text event for erroneous nicks 2013-05-18 22:09:44 +02:00
TingPing 78eb3e7522 Handle limited channel messages
Maybe improved later to signify they are limited messages. closes #315
2013-05-17 06:10:02 -03:00
Berke Viktor ef58a267b0 Omit CHALLENGE hashes in the server tab 2013-05-17 02:48:32 +02:00
Berke Viktor 0a2af0ab62 Fix crash when using global username for QuakeNet 2013-05-17 02:08:34 +02:00
Berke Viktor a1a94ed319 Add support for QuakeNet /CHALLENGEAUTH, remove legacy /AUTH 2013-05-17 01:40:07 +02:00
TingPing b28734c4a8 Merge pull request #581 from orium/numeric-session-with-open-query
Session of numeric events passed to text_emit() for nicks with open query dialogs
2013-05-16 09:21:02 -07:00
Berke Viktor 8ccd11ee4b Remove comment 2013-05-16 00:08:43 +02:00
Berke Viktor fd1b276aab Make sure the created favchannel instances have a NULL key when the session's key is empty 2013-05-16 00:04:58 +02:00
Berke Viktor 2ff8e74061 Omit filler keys if no channel's using them 2013-05-15 23:52:14 +02:00
Berke Viktor 8cf025f18d Fix autojoins for sessions 2013-05-15 11:43:38 +02:00
Berke Viktor 12cdb7704c Fix command splitting when the channel list is too long 2013-05-14 18:20:05 +02:00
Berke Viktor a435e8648f Fix initial autojoins and some erroneous copies/frees 2013-05-14 16:40:32 +02:00
Berke Viktor 83107ee222 Use macros instead of raw numbers for login type 2013-05-13 13:22:25 +02:00
Berke Viktor 7b0b86c9f7 Nuke nickserv password field and some cosmetics 2013-05-11 02:40:08 +02:00
Berke Viktor a98b95923b Get rid of this unnecessary buffer 2013-05-11 02:00:32 +02:00
Berke Viktor 873a3ef047 Replace various network options with universal login method option 2013-05-10 23:52:47 +02:00
Diogo Sousa cf59ad2c76 Now process_numeric() passes the right session context to text_emit() when an
numeric event occurs regarding a nick with a open dialog.

Since this session context is potentially passed to plugins this can change the
behavior of plugins, but I think this is the intended semantics
(http://docs.hexchat.org/en/latest/script_python.html#context-theory).

Another consequence is that event messages will be displayed in the query dialog
of the nick in question (if a query dialog is open, of course), which I think is
sensible. (The initial intention of this patch was actually to report the
"No such nick" message in the query dialog when sending a message to a user that
has quit.)
2013-05-09 20:32:05 +01:00
Berke Viktor 863ff811e6 Don't make assumptions about the function being called 2013-05-03 18:12:36 +02:00
Berke Viktor ba78c0527f Fix QuakeNet registration 2013-05-03 18:00:30 +02:00
Berke Viktor 50373f4ff9 Get rid of some hardcoded network recognition 2013-04-28 17:01:37 +02:00
Mantas Mikulėnas 5318c953ed reduce abuse of ternary operator
The ?: operator should not be used as a generic shorthand for if/else.
(Which isn't needed here either...)
2013-04-23 01:09:58 -04:00
Berke Viktor b407bfa168 Fix missing first letter in busy server error popup 2013-04-14 13:11:35 +02:00
TingPing 7870c8028f warning 2013-04-10 15:41:29 -03:00
Mantas Mikulėnas 780c3d29c7 Request 'sasl' even if it's the only recognized cap 2013-04-10 02:43:09 +03:00
TingPing d13ae114a2 Handle numeric 900 2013-04-08 16:52:14 -03:00
TingPing 2be0530c34 get account from whois 2013-04-04 10:29:15 -03:00
TingPing b0d1c884e0 regular who doesn't send account 2013-04-04 05:07:42 -04:00
Arnavion e0a7f0ae59 Fixed compiler error. 2013-04-04 01:56:40 -07:00
TingPing 496ed18e85 Add MONITOR support 2013-04-03 18:51:54 -04:00
TingPing 3706b51159 Fix realname 2013-04-03 18:28:00 -03:00