aboutsummaryrefslogtreecommitdiffstats
path: root/storage_xml.c
Commit message (Collapse)AuthorAgeLines
* fsync() the user configuration file before closing it. (Bug #559)Wilmer van der Gaast2010-04-14-0/+1
|
* 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
|
* Strings passed to xml_text aren't necessarily \0-terminated, so don't countWilmer van der Gaast2006-09-17-1/+5
| | | | | on that anymore.
* Fixed text_load(), added detection of primary storage backends withoutWilmer van der Gaast2006-07-05-1/+4
| | | | | | save support (which shouldn't be allowed) and added a call to nick_lc() to xml_save() so at least nicks should now be case-insensitive.
* Implemented per-account nick lists instead of per-protocol nick lists.Wilmer van der Gaast2006-07-03-6/+17
| | | | | | | | | | 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()!
* Added "account set" command.Wilmer van der Gaast2006-07-01-30/+35
|
* Made set.c API more generic so it's not specific to irc_t structures anymore,Wilmer van der Gaast2006-06-30-3/+2
| | | | | but can be used for account_t structures too, for example.
* Added random_bytes() function for better/more reliable randomization andWilmer van der Gaast2006-06-28-3/+2
| | | | | moved set_eval_ops() to a slightly more suitable place.
* Moved the call to "account on" to the right place.Wilmer van der Gaast2006-06-26-8/+0
|
* Implemented cleaner way of passing the "Incorrect password" error.Wilmer van der Gaast2006-06-26-6/+8
|
* Forgot to initialize pass_rc4 (which caused memory management mess whenWilmer van der Gaast2006-06-25-1/+1
| | | | | trying to load a damaged XML-file).
* Added versioning information to the XML-file (convenient for later formatWilmer van der Gaast2006-06-25-1/+2
| | | | | | | changes), got rid of confusing "Password successfully changed" message when the user uses the identify-command and protected rc4_decode() against short inputs.
* Using salted MD5 checksums for the user's BitlBee password and salted RC4Wilmer van der Gaast2006-06-25-18/+59
| | | | | | encryption for the IM account passwords, plus some calls to srand() to keep the salts secure and unique.
* Fixed GError memory leak, correctly setting the migrate_storage default.Wilmer van der Gaast2006-06-21-0/+6
|
* Implemented handling of autoconnect attribute.Wilmer van der Gaast2006-06-21-2/+7
|
* Fixed error message for unknown protocols.Wilmer van der Gaast2006-06-21-2/+2
|
* xml_save() now stores the password's md5sum too. Kind of ... important..Wilmer van der Gaast2006-06-20-3/+17
|
* Added xml_remove() and xml_check_pass().Wilmer van der Gaast2006-06-20-7/+41
|
* Better detection of incorrect MD5 password hashes.Wilmer van der Gaast2006-06-19-12/+16
|
* Now saving the password's md5sum instead of the plaintext version.Wilmer van der Gaast2006-06-19-8/+28
|
* xml_save(), decent error handling and merging fixed autosaving.Wilmer van der Gaast2006-06-15-17/+106
|
* xml_load() works pretty well now.Wilmer van der Gaast2006-06-14-255/+135
|
* Added storage_xml.cWilmer van der Gaast2006-06-07-0/+412