aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
Commit message (Collapse)AuthorAgeLines
* Merging utf8-nicks branch. This adds a utf8_nicks setting which removes theWilmer van der Gaast2013-06-16-3/+3
|\ | | | | | | | | ASCII restriction on contact nicknames. Use at your own risk!
| * Add irc_t* argument to all relevant nick_*() functions.Wilmer van der Gaast2013-04-20-3/+3
| |
* | NULL initialisation, fixes crash on trying to load configs from inaccessibleWilmer van der Gaast2013-06-01-1/+1
|/ | | | | file.
* Const is hard, let's go hacking.Wilmer van der Gaast2013-04-20-1/+1
|
* Merging "storage" branch which I wrote long ago. It separates generation ofWilmer van der Gaast2013-04-20-418/+236
|\ | | | | | | | | | | 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).
| * Add xml_generate_settings(), little less code duplication.Wilmer van der Gaast2012-06-07-23/+18
| |
| * s/ACC_SET_NOSAVE/SET_NOSAVE/.Wilmer van der Gaast2012-06-07-1/+1
| |
| * Fixed some small leaks, restored proper read buffer size.Wilmer van der Gaast2012-06-05-12/+17
| |
| * Add xt_to_string_i() and use it to get indentation back in saved settings.Wilmer van der Gaast2012-06-05-1/+1
| | | | | | | | | | | | Also, use it in xt_print() instead of replicating most of xt_to_string() in it. This changed four-space indents into tabs but oh well, we'll live.
| * Small cleanup of xml_save().Wilmer van der Gaast2012-06-05-21/+24
| |
| * xml_load using xmltree. About half as much code as the old stuff. Likely aWilmer van der Gaast2012-06-05-314/+137
| | | | | | | | | | little slower, but IMHO also a little less annoying to work with.
| * Use xmltree to save user settings, in preparation for allowing other storageWilmer van der Gaast2012-06-04-75/+73
| | | | | | | | | | media than local fs.
| * Remove two hacks for some glib<2.14 versions that are no longer supported.Wilmer van der Gaast2012-06-04-6/+0
|/
* An empty password is still a password, don't refuse accounts for that.Wilmer van der Gaast2011-12-24-1/+1
|
* rename irc_usermsg to irc_rootmsg.unknown2011-10-03-5/+5
| | | | | | add new irc_usermsg, irc_usernotice. deliver user-specific messages from libotr as notices to that user.
* Don't save the global "away" settings, leave that to the IRC /AWAY infoWilmer van der Gaast2010-11-21-1/+1
| | | | | | coming from the IRC client. Also, hide it from the settings list, it doesn't belong there.
* Allow changing the display_name, now permanently!Wilmer van der Gaast2010-08-14-0/+10
|
* Use the account tag in a few places and store it in the XML file as anWilmer van der Gaast2010-07-24-10/+8
| | | | | attribute, not as a setting (since all accounts have it anyway).
* Merging mainline.Wilmer van der Gaast2010-07-17-2/+18
|\
| * Skip unsupported tags in user configs. (This should make downgrades fromWilmer van der Gaast2010-07-03-2/+18
| | | | | | | | | | ui-fix for whatever reason less painful.)
* | Use bee_user structs in all nick_* functions. Prepare for a nick_get() withWilmer van der Gaast2010-07-11-1/+1
| | | | | | | | | | more flexible nickname generation.
* | Also allow selecting contacts for a channel by protocol instead of account.Wilmer van der Gaast2010-06-30-0/+4
| | | | | | | | | | | | If someone has two MSN accts and wants contacts from both in one channel, this is now possible.
* | Mark nameless groupchat channels as temporary so they don't stick aroundWilmer van der Gaast2010-06-28-0/+3
| | | | | | | | | | forever.
* | Save and load channels. Also fixing a bug in creating non-control channelsWilmer van der Gaast2010-06-27-9/+47
| | | | | | | | | | with a &-name.
* | Import chatrooms configured in older BitlBee versions. Settings are currentlyWilmer van der Gaast2010-06-27-27/+24
| | | | | | | | | | | | ignored though. Also removing the old chat.[ch] files since they're really not important anymore.
* | Merging memory leak fixes from devel, time to find the ui-fix-specificWilmer van der Gaast2010-06-08-3/+3
|\| | | | | | | | | leaks.
| * Use mkstemp() instead of just a tilde-file when writing new configs to aWilmer van der Gaast2010-06-06-3/+3
| | | | | | | | | | | | | | temporary file. This solves hard-to-debug issues where for example the user hand-edited his configs as root and left a root-owned user.xml~ file behind.
* | Merging loads of stuff from mainline.Wilmer van der Gaast2010-04-14-0/+1
|\|
| * fsync() the user configuration file before closing it. (Bug #559)Wilmer van der Gaast2010-04-14-0/+1
| |
* | Restore the storage module.Wilmer van der Gaast2010-04-10-8/+10
|/
* 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.
* Merging BitlBee 1.2.3 release.Wilmer van der Gaast2008-09-07-15/+4
|\
| * Really removing the gstdio.h include now to fully fix GLib 2.4Wilmer van der Gaast2008-09-07-1/+0
| | | | | | | | | | compatibility.
| * Completely reviewed all uses of irc->password, irc_setpass() andWilmer van der Gaast2008-09-06-15/+4
| | | | | | | | | | | | USTATUS_IDENTIFIED after another account overwriting vulnerability was found by Tero Marttila.
* | Support for saving the chatroom list. Also removed the hack that was usedWilmer van der Gaast2008-08-30-2/+22
| | | | | | | | | | | | to not save non-existent settings now that those simply aren't possible anymore.
* | Added support for loading chatroom data from user .xml files.Wilmer van der Gaast2008-08-30-4/+33
|/
* Now really fixing #429 by including unistd.h (which defines F_OK).Wilmer van der Gaast2008-08-24-1/+4
|
* Just use g_access() everywhere instead of a mix of that and g_file_test().Wilmer van der Gaast2008-06-30-4/+4
| | | | | | g_file_test() can't test for writability, and g_access() doesn't exist in older GLibs. :-/
* Avoid g_access on GLib < 2.8.0.Jelmer Vernooij2008-06-28-1/+7
|
* xml_remove() didn't convert nicknames to lowercase so it caused some confusingWilmer van der Gaast2008-06-27-2/+6
| | | | | errors sometimes. This should close #395.
* Use GLib functions to check whether files exist, for extra portability.Jelmer Vernooij2008-04-02-3/+4
|
* Moved password hash verification to md5_verify_password() so this can beWilmer van der Gaast2008-03-16-30/+11
| | | | | reused for IRC/OPER passwords (to have encrypted in bitlbee.conf).
* Adding padding to encrypted IM-passwords so the exact password length can'tWilmer van der Gaast2008-03-16-1/+1
| | | | | be guessed from the encrypted data anymore.
* Got rid of some noise at startup: complaining when the default configurationWilmer van der Gaast2008-02-11-2/+2
| | | | | | file couldn't be found while the user specified an alternative location with the -c option, and double complaints about /var/lib/bitlbee/ permissions.
* 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)
* Renaming RC4 to ArcFour (possible trademark issues).Wilmer van der Gaast2007-10-07-9/+9
|
* Merge from Jelmer (making GCC4 happy by sanitizing some typecasting messWilmer van der Gaast2007-07-15-6/+7
|\ | | | | | | | | around the RC4/B64 code).
| * Fix some warnings in storage.c.Jelmer Vernooij2007-07-07-6/+9
|/
* Forgot to pass O_CREAT to open() which can cause problems if there's aWilmer van der Gaast2006-11-25-1/+1
| | | | | stale .xml~ file.
* Fixed #181. (Using wrong (static) variable in error messages.)Wilmer van der Gaast2006-10-22-1/+1
|