aboutsummaryrefslogtreecommitdiffstats
path: root/root_commands.c
Commit message (Collapse)AuthorAgeLines
* Don't include chat.h from bitlbee.h. make install-dev doesn't installWilmer van der Gaast2009-10-22-0/+1
| | | | | | chat.h and it shouldn't ... but things broke because bitlbee.h includes it. Fixes #534.
* Fixed another crash bug (this one was triggered by just typing "chat set").Wilmer van der Gaast2009-06-24-0/+2
|
* Fixed crash on setting an unknown setting.Wilmer van der Gaast2009-06-24-1/+1
|
* Added argument count check to "add -tmp" to prevent NULL dereference.Wilmer van der Gaast2008-12-13-0/+1
|
* Checking account setting's flags again before changing them.Wilmer van der Gaast2008-09-29-17/+24
|
* Merging BitlBee 1.2.3 release.Wilmer van der Gaast2008-09-07-4/+8
|\
| * Completely reviewed all uses of irc->password, irc_setpass() andWilmer van der Gaast2008-09-06-4/+8
| | | | | | | | | | | | USTATUS_IDENTIFIED after another account overwriting vulnerability was found by Tero Marttila.
* | Fixed check for set -del arguments.Wilmer van der Gaast2008-09-02-2/+3
| |
* | "chat add" can generate a channel name by itself if necessary. Also fixedWilmer van der Gaast2008-08-31-5/+27
| | | | | | | | | | | | MIN_ARGS, using a variable named i showed why precompiler macros really are evil. :-)
* | Added a MIN_ARGS() macro instead of stupidly copy-pasting the sameWilmer van der Gaast2008-08-31-42/+24
| | | | | | | | | | if-statement ten times.
* | Added cleanup code.Wilmer van der Gaast2008-08-31-0/+17
| |
* | /join can now be used to join chatrooms, join_chat should not be usedWilmer van der Gaast2008-08-31-1/+24
| | | | | | | | | | | | anymore. /join should not be used for unnamed groupchats anymore, use "chat with" instead.
* | Added one TODO, and also dupe-check channel names against the controlWilmer van der Gaast2008-08-31-0/+2
| | | | | | | | | | channel.
* | Integrated cmd_set() and the "account set" into one fully unreadableWilmer van der Gaast2008-08-31-124/+126
| | | | | | | | | | cmd_set_real() function and using this to get a proper "chat set" command.
* | Added "chat" command, deprecated join_chat. Stuff is still incomplete,Wilmer van der Gaast2008-08-30-2/+56
|/ | | | | have to figure out a sane way to implement "chat set".
* Fixed NULL pointer dereference on trying to read non-existent settings.Wilmer van der Gaast2008-08-25-11/+11
|
* Clearer feedback after set/account set commands.Wilmer van der Gaast2008-08-24-24/+51
|
* Added SET_INVALID, which set evaluators should now return instead of NULLWilmer van der Gaast2008-08-24-1/+3
| | | | | | | when the given value is not accepted. This to allow certain variables actually be set to NULL (server, for example). This should fully close #444.
* Fixed NULL point dereference in "account set -del" code.Wilmer van der Gaast2008-05-11-0/+6
|
* Changed root nicknames are now saved. (Bug #378)Wilmer van der Gaast2008-04-05-0/+17
|
* Fixed #386.Wilmer van der Gaast2008-04-05-13/+26
|
* Don't pass an account_t pointer directly to query_add() since query_del()Wilmer van der Gaast2008-04-05-5/+11
| | | | | wants to free it! Passing an indirect pointer instead.
* BitlBee <= 1.0 didn't have "account set" and allowed one to delete an accountWilmer van der Gaast2008-03-03-2/+29
| | | | | | | | | | and re-create it with new login settings if necessary, without losing custom nicknames. Now, nicknames are connected to an account instead of just the protocol, and they're flushed together with the account. So I added a warning to make sure nobody accidentally loses any settings while just changing the password. This will probably go after a few releases, since it's slightly annoying.
* My fix for semi-PEBKAC bug #353: Add a warning if someone seems to be usingWilmer van der Gaast2008-02-28-0/+3
| | | | | | the wrong command, and fixing "help nick" example to show how it should be done now.
* Restored "add -tmp". A bit hackish, but it will do for now.Wilmer van der Gaast2008-02-09-5/+6
|
* Adding own handle to protocol name in blist output for people with multipleWilmer van der Gaast2008-01-11-3/+3
| | | | | accounts on the same IM network.
* Killed the <server> parameter to "account add" and changed the defaultWilmer van der Gaast2007-12-12-2/+6
| | | | | | | server for OSCAR to what both login.icq.com and login.oscar.aol.com resolve to these days. There's no need to specify a server anymore so why bother. And cleaned up the docs (removed all references to those OSCAR servers).
* Fixed "set xxx" syntax (it showed all settings instead of just xxx).Wilmer van der Gaast2007-12-10-11/+3
|
* Some changes to get rid of compiler warnings. (And disabling strictWilmer van der Gaast2007-11-22-2/+2
| | | | | aliasing because there are too many warnings about it. :-P)
* Merging Jabber groupchat support.Wilmer van der Gaast2007-11-19-4/+29
|\
| * Merge from devel.Wilmer van der Gaast2007-10-12-1/+1
| |\
| * | Added (and using) jabber_chat_free() for better memory management, fixedWilmer van der Gaast2007-07-02-1/+1
| | | | | | | | | | | | | | | | | | channel name generation code in root_commands.c and fixed one memory leak in jabber_buddy_remove_bare().
| * | Better groupchat channel name generation/verification.Wilmer van der Gaast2007-07-01-2/+5
| | |
| * | Got rid of one HORRIBLE stupidity called chat_by_channel(), which stillWilmer van der Gaast2007-04-22-1/+14
| | | | | | | | | | | | | | | | | | | | | used the GLOBAL IM connections list, allowing user A to interfere with user B's groupchats if running in daemon mode. I can't believe this was still there...
| * | Read-only support for Jabber conferences (non-anonymous rooms only).Wilmer van der Gaast2007-04-22-3/+12
| | | | | | | | | | | | | | | Just don't use this, you're really not going to like it. :-)
* | | Added (account) set -del.Wilmer van der Gaast2007-11-17-13/+31
| |/ |/|
* | Fixed NULL pointer dereference in "account set" command. That commandWilmer van der Gaast2007-09-25-1/+1
|/ | | | | indeed does have a slightly confusing syntax.
* More API changes: buddy list management. imcb_add_buddy() is now a *real*Wilmer van der Gaast2007-04-18-6/+6
| | | | | | | | | callback, it's only called from inside IM-modules. This makes sure a buddy only gets added to the BitlBee structures if the add was successful. This gets rid of the weirdness described in #55. Unfortunately for now this change breaks A) automatic renaming of ICQ contacts (if there are names stored in the contact list) B) add -tmp.
* s/imc/imcb/ for callback functions. Moved things aroundin nogaim.h aWilmer van der Gaast2007-04-15-4/+4
| | | | | | little bit, grouping things by category instead of original Gaim 0.58 filename.
* Cleaned up struct im_connection. No more username/password stuff sinceWilmer van der Gaast2007-04-15-1/+1
| | | | | it's in acc too. wants_to_die is now an argument to imc_logout().
* s/gaim_connection/im_connection/ and some other minor API changes. The restWilmer van der Gaast2007-03-30-60/+60
| | | | | | will come tomorrow. It compiles, I'll leave the real testing up to someone else. ;-)
* Preparing for Jabber conference room support.Wilmer van der Gaast2007-03-27-0/+48
|
* A *working* fix for a memory access violation in cmd_remove().Wilmer van der Gaast2006-10-15-1/+1
|
* Merging from devel.Wilmer van der Gaast2006-10-15-1/+1
|\
| * Copy-paste considered harmful + Fixed double handling of gc->permit/denyWilmer van der Gaast2006-07-27-1/+1
| | | | | | | | | | which actually broke the block/allow commands.
* | Removed a reference to an already free()d variable from cmd_remove().Wilmer van der Gaast2006-10-15-1/+1
| |
* | Added message on successful creation of accounts and fixed "set password"Wilmer van der Gaast2006-08-25-0/+1
| | | | | | | | | | command.
* | Extra comments in set.h and now properly using set_getbool() instead ofWilmer van der Gaast2006-08-13-1/+1
| | | | | | | | | | set_getint().
* | Fixed a memory leak, added a check for valid Jabber handles, and updatedWilmer van der Gaast2006-07-14-0/+3
| | | | | | | | | | | | documentation (added information about "account set" and sorted the list of settings because it was a bit too random).
* | Implemented per-account nick lists instead of per-protocol nick lists.Wilmer van der Gaast2006-07-03-56/+3
| | | | | | | | | | | | | | | | | | | | nick_t is dead, instead nicks are just saves in a per-account_t GLib hash table. While doing this, the import_buddies command finally died and text_save() disappeared, because the old file format can't handle most of the new features in this branch anyway. Still have to implement support for the new nick lists in text_load()!