aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
Commit message (Collapse)AuthorAgeLines
* root_commands: Fix use-after-free after doing "transfer reject"dequis2016-01-26-1/+3
| | | | | | Not a big deal because as far as I can see not much happens between the g_slist_remove() in dcc_close() and accessing files->next. I'd expect that pointer to remain null after being freed most of the time.
* Show a nicer message when a protocol is disabled in account adddequis2015-11-23-1/+5
| | | | | | | | | | | | This adds the disabled protocols' prpl structs to a different linked list, only used for this lookup. They were previously marked as leaking by valgrind, so, whatever. I can't free them, since some protocols memdup() it after attempting to register. I think disabling the protocols from bitlbee.conf is just stupid and provides no real benefits, but someone will complain if i get rid of it. So this just improves the error message to make it less confusing when someone accidentally uncomments that crap.
* IRCv3 SASL capability + PLAIN methoddequis2015-10-08-0/+12
| | | | | | | | | | | | | | | | | | | | | Only plain, no other methods. We don't have built-in SSL to implement EXTERNAL (certfp) and nothing else is worth implementing. The actual authentication is pretty much like sending a server password (when the server's authmode isn't closed), which means it happens in cmd_identify, but this code also calls storage_check_pass() to send the required success/failure replies. SASL doesn't give us much benefit other than standards compliance, but some clients might appreciate it. And having a fifth way to do the same thing doesn't hurt! Now we have: - identify in &bitlbee - identify to nickserv (alias for root) - 'nickserv' and 'ns' irc commands - server password - sasl plain
* Reindent everything to K&R style with tabsIndent2015-02-20-965/+841
| | | | | | | Used uncrustify, with the configuration file in ./doc/uncrustify.cfg Commit author set to "Indent <please@skip.me>" so that it's easier to skip while doing git blame.
* Fix incorrect Free Software Foundation addressMatej Cepl2015-01-16-2/+2
|
* Allow filtering of blist outputtribut2014-07-24-40/+47
| | | | | Add an (optional) second parameter to blist. If present, it is treated as regex and used to filter the result list.
* Add limit param to split_command_parts(), fix twitter quotes bugdequis2014-07-24-1/+1
| | | | Only took me a few months to write. I even added a test case.
* Allow use of "ac x set -del password" to use /oper to change the passwordWilmer van der Gaast2014-02-28-1/+1
| | | | | "securely". Patch from Flexo, bug #1117.
* Add irc_t* argument to all relevant nick_*() functions.Wilmer van der Gaast2013-04-20-2/+2
|
* Merging "storage" branch which I wrote long ago. It separates generation ofWilmer van der Gaast2013-04-20-1/+1
|\ | | | | | | | | | | XML-formatted user configs from disk I/O so we can try to start using other mechanisms to store them (a REST API or something, for example).
| * Make error message on using save without registering/identifying a littleWilmer van der Gaast2012-06-07-1/+1
| | | | | | | | | | more helpful.
* | I'm still bored on a long flight. Wrote a script to automatically updateWilmer van der Gaast2013-02-21-1/+1
| | | | | | | | | | | | | | my copyright mentions since some were getting pretty stale. Left files not touched since before 2012 alone so that this change doesn't touch almost EVERY source file.
* | For the lazy among us: When adding a Jabber/MSN contact within the sameWilmer van der Gaast2013-02-21-0/+14
| | | | | | | | | | domain like you, you can omit the domain name.
* | Merge from vmiklos. Adds a "group info" command to list members of a group.Wilmer van der Gaast2013-02-10-0/+23
|\ \
| * | Implement 'group info' command to list members of a group (#741)Miklos Vajna2013-02-09-0/+31
|/ /
* / Removing comment about new syntax for the "account" command, which by nowWilmer van der Gaast2012-12-02-2/+1
|/ | | | | is two years old already.
* Allow identify -noload/-force without typing a password. (/OPER)Wilmer van der Gaast2012-03-19-0/+4
| | | | | Patch from trac3r, bug #814.
* Move the check for "set auto_connect" to a more sensible location. #878.Wilmer van der Gaast2011-12-29-3/+3
|
* A few more minor cleanups before merging this into mainline.Wilmer van der Gaast2011-12-26-1/+1
|
* Make it easier to add OAuth-authenticated accounts without having to typeWilmer van der Gaast2011-12-21-3/+21
| | | | | a bogus password.
* As I intended for a while already, use account tags everywhere instead ofWilmer van der Gaast2011-12-13-11/+12
| | | | | | | | "protocol(handle)". It's guaranteed to be unique and also shorter. It may suck for people who have multiple accounts and didn't change their tags, but that'll hopefully remind them to change them.
* Merging non-SASL authentication patch from #863. This also implementsWilmer van der Gaast2011-12-07-1/+1
| | | | | | | hidden-default settings, which means a setting is hidden unless it was changed from the default. This seems like appropriate behaviour for something as obscure as this.
* rename irc_usermsg to irc_rootmsg.unknown2011-10-03-128/+128
| | | | | | add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user.
* Oops. Forgot to set OPER_HACK_ACCOUNT_ADD when adding an account.Wilmer van der Gaast2011-02-01-0/+4
|
* More password paranoia: Allow omitting the identify/register password asWilmer van der Gaast2011-02-01-4/+16
| | | | | | | | | | well (and enter it using /OPER instead). This is a gross hack and indeed still not solid: In irssi one can still use /RAWLOG SAVE to find the OPER line sent to BitlBee (and of course not everyone uses SSL to talk to remote BitlBee servers). This only works within 10-30 minutes after entering the password though.
* rename -delWilmer van der Gaast2010-12-05-1/+8
|
* Some polishing/documentation for the "account add" without password hack.Wilmer van der Gaast2010-11-24-4/+2
|
* Allow omitting the password argument to "account add", to then separatelyWilmer van der Gaast2010-11-22-3/+24
| | | | | | | | | enter the password using the /OPER command (which will not echo to the screen and/or logs). It's a fairly ugly hack but the improved password security is worth it IMHO.
* Be clearer about password settings being intentionally hidden (and notWilmer van der Gaast2010-11-21-1/+4
| | | | | really empty). Bug #657 and confusing BitlBee users since probably 2002.
* Oops. Just in time I noticed the whatsnew code doesn't kick in for pre-1.33.0Wilmer van der Gaast2010-10-22-0/+8
| | | | | accounts. Fixed now.
* Merging mainline, which includes a huge msnp13 merge.Wilmer van der Gaast2010-10-02-22/+6
|\ | | | | | | | | | | Not 100% sure about the OpenSSL merge, should double check that but I'm currently offline.
| * Move whatsnew stuff into help.txt. Stop putting too much string contentWilmer van der Gaast2010-09-06-22/+6
| | | | | | | | | | into the executable.
* | Merge mainline stuff.Wilmer van der Gaast2010-08-31-0/+6
|\|
| * I guess the nick command was never deprecated clearly, so let's do that now.Wilmer van der Gaast2010-08-25-0/+6
| |
* | Added root_command_add() and use it to create the "otr" command.Wilmer van der Gaast2010-08-31-10/+45
| |
* | First step in this merge. Mostly a bzr merge and then a cleanup of conflictsWilmer van der Gaast2010-08-24-0/+2
|\ \ | |/ |/| | | | | and parts I want to/have to redo (because of ui-fix).
| * merge in bitlbee 1.2.6Sven Moritz Hallberg2010-06-03-1/+30
| |\
| * \ merge in bitlbee 1.2.5Sven Moritz Hallberg2010-06-03-75/+14
| |\ \
| * \ \ merge in bitlbee 1.2.4Sven Moritz Hallberg2010-06-03-1/+3
| |\ \ \
| * \ \ \ pretty blind try at merging in the latest trunkSven Moritz Hallberg2009-03-12-147/+258
| |\ \ \ \
| * | | | | commit updates by ashish shukla <wahjava@gmail.com>Sven Moritz Hallberg2009-03-12-29/+62
| | | | | |
| * | | | | merge in latest trunkSven Moritz Hallberg2008-07-17-2/+74
| |\ \ \ \ \
| * \ \ \ \ \ merge in upstream changesSven Moritz Hallberg2008-02-16-5/+6
| |\ \ \ \ \ \
| * | | | | | | rework keygen messages and add some noticesSven Moritz Hallberg2008-02-16-1/+3
| | | | | | | |
| * | | | | | | remove thread-based keygenSven Moritz Hallberg2008-02-15-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | replace it with a process-based stub
| * | | | | | | revert keygen behaviour to old (lax) behaviorSven Moritz Hallberg2008-02-14-2/+2
| | | | | | | |
| * | | | | | | - use a recursive otr_mutexSven Moritz Hallberg2008-02-11-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - implement 'otr forget fingerprint' and 'otr forget context' commands
| * | | | | | | log out all accounts when going into keygenSven Moritz Hallberg2008-02-10-2/+2
| | | | | | | |
| * | | | | | | OTR support, first checkinSven Moritz Hallberg2008-02-03-0/+12
| | | | | | | |
* | | | | | | | Added some neat whatsnew code that keeps track of the newest version ofWilmer van der Gaast2010-08-21-1/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BitlBee used by a user, and if it looks like s/he hasn't used this one before, show a list of new features that may be interesting. Since I don't think im.bitlbee.org users will read any changelogs ever, this is probably not a bad idea. If you hate it, the following command should get rid of it forever: set last_version 9999999