summaryrefslogtreecommitdiff
path: root/testing/test_avatars.c
AgeCommit message (Collapse)Author
2014-10-01Group chats now actually work somewhat.irungentoo
2014-09-27test_avatars: Implement new policy for the user avatar fileAlexandre Erwin Ittner
Change location of the user avatar from "<data dir>/avatar.png" to "<data dir>/avatars/<user id>.png", as proposed by commit 6f4ab49f5c2a33aab00bdb9e80dfe51624089899
2014-09-25Tox object doesn't need to be passed to tox_hash.irungentoo
2014-09-25Merge branch 'master' of https://github.com/dubslow/toxcoreirungentoo
2014-09-24remove tox_avatar_hashdubslow
2014-09-24Merge branch 'stal888-patch-1'irungentoo
2014-09-24housekeepingdubslow
2014-09-23ifdef out use of linux/limts.h in test_avatarsstal
This fixes building on OS X and other systems whose limits.hs have PATH_MAX.
2014-09-22Merge branch 'avatars' of https://github.com/ittner/toxcoreirungentoo
2014-09-21Remove support for avatar image formats other than PNGAlexandre Erwin Ittner
Support for other formats was deemed unnecessary in the code review and therefore removed. The value for the constant TOX_AVATARFORMAT_PNG is now set in stone; if the other formats become needed again in the future, this commit shall be reverted and the enum values reordered to keep compatibility.
2014-08-30Add support for user avatars in the core protocolAlexandre Erwin Ittner
Add a protocol and the APIs to straightforwardly support user avatars in client applications. The protocol is designed to transfer avatars in background, between friends only, and minimize network load by providing a lightweight avatar notification for local cache validation. Strict safeguards are imposed to avoid damage from non-cooperative or malicious users and to limit network usage. The complete documentation is available in docs/Avatars.md and sample code is available in testing/test_avatars.c. Code and documentation are released under the GNU GPLv3 or later, as described in the file COPYING.