Commit Graph

2797 Commits

Author SHA1 Message Date
dubslow
118febcfee change avatar requirements 2014-09-28 21:03:18 -05:00
dubslow
57666d95ba Merge branch 'master' of https://github.com/irungentoo/toxcore 2014-09-28 12:37:47 -05:00
irungentoo
72d6a92efd
Merge branch 'unset_avatar' of https://github.com/JFreegman/toxcore 2014-09-28 09:31:23 -04:00
Alexandre Erwin Ittner
3711b881cb test_avatars: Implement new policy for the user avatar file
Change location of the user avatar from "<data dir>/avatar.png" to
"<data dir>/avatars/<user id>.png", as proposed by commit
6f4ab49f5c
2014-09-27 23:11:53 -03:00
irungentoo
5550cc6f31
Merge branch 'update-avatar-docs' of https://github.com/ittner/toxcore 2014-09-27 21:01:21 -04:00
irungentoo
230a65c91f
Removed send_group_message_packet and its callback function from
Messenger.
2014-09-27 20:01:41 -04:00
irungentoo
964fcacb32
Removed useless code from groupchats. 2014-09-27 19:03:29 -04:00
dubslow
6f4ab49f5c Modify avatar recommendations 2014-09-27 17:49:20 -05:00
irungentoo
1e44edaf8f
Increasing max number of onion paths might increase initial connection
speed.
2014-09-27 18:48:24 -04:00
irungentoo
6c71bb7e64
Moved all the connection stuff from messenger to friend_connection.
Messenger was doing way do many things.

friend_connection takes care of finding and establishing a connection
to friends.
2014-09-27 18:25:03 -04:00
irungentoo
834ffee47d
Make the ip port from DHT timeout after a while.
Some small fixes.
2014-09-27 08:00:42 -04:00
irungentoo
03d6f95713
Remove timestamp from set_connection_dht_public_key(). 2014-09-26 21:22:07 -04:00
irungentoo
33e5c34aaf
Only set dht public key and direct ip when first creating connection.
Check if ip family is valid in set_direct_ip_port() function.
2014-09-26 21:14:36 -04:00
irungentoo
a8b7ddc1a3
Moved cleaup_friend functionality to Messenger. 2014-09-26 21:01:18 -04:00
irungentoo
c618263acd
Removed useless code from onion_client.
Astyled.
2014-09-26 20:43:59 -04:00
irungentoo
f2a313359e
Added callbacks to onion_client and net_crypto for the temp dht key.
Better than the polling mess.

Moved DHT to Messenger from onion_client (still needs some cleanups).
2014-09-26 20:32:38 -04:00
irungentoo
939f2003ef
Removed now useless network sturct size tests. 2014-09-26 18:01:03 -04:00
irungentoo
33721da46a
Added callbacks to DHT called when the ip of a peer is discovered. 2014-09-26 17:56:06 -04:00
irungentoo
b308afd742 Wrote more new groupchats code. 2014-09-26 16:05:10 -04:00
irungentoo
bb60c28b73 DHT can now be used for group chat cons and friend cons at the same time. 2014-09-26 15:42:56 -04:00
Jfreegman
83842e6648
add API function to unset avatar 2014-09-26 14:32:49 -04:00
irungentoo
8b35d194c0
Group chats are starting to work. 2014-09-26 13:25:52 -04:00
irungentoo
d5d84818fe
More groupchats code written. 2014-09-25 21:05:17 -04:00
Alexandre Erwin Ittner
c17fc040a4 Update avatar documentation
Update the documentation to reflect the API changes introduced by
commits 21be438b2b and
d409bad30d
2014-09-25 22:03:36 -03:00
irungentoo
ebdfa892b3
Removed now useless atributes from structs. 2014-09-25 16:49:05 -04:00
irungentoo
d67624bf99
Removed groupchats from core. 2014-09-25 16:48:18 -04:00
irungentoo
aca2d61843
Some code written for new group chats. 2014-09-25 15:10:54 -04:00
irungentoo
d264010364
Tox object doesn't need to be passed to tox_hash. 2014-09-25 07:18:44 -04:00
irungentoo
80fdfbad07
Merge branch 'master' of https://github.com/dubslow/toxcore 2014-09-25 07:16:49 -04:00
dubslow
4ede062e60 Merge branch 'dubslow-housekeeping-docs' of https://github.com/ittner/toxcore 2014-09-24 20:57:17 -05:00
Alexandre Erwin Ittner
fc28c2402e Update documentation after API changes
Commit ba6ae15a73 introduced some API
changes, update the documentation to reflect them.
2014-09-24 22:27:00 -03:00
dubslow
d409bad30d remove tox_avatar_hash 2014-09-24 18:06:30 -05:00
irungentoo
bce301f3c3
Merge branch 'stal888-patch-1' 2014-09-24 18:00:17 -04:00
dubslow
ba6ae15a73 housekeeping 2014-09-24 13:00:42 -05:00
stal
f27794000a ifdef out use of linux/limts.h in test_avatars
This fixes building on OS X and other systems whose limits.hs have PATH_MAX.
2014-09-23 20:47:21 -07:00
irungentoo
744f51ec36
Added some checks to mutex related functions. 2014-09-23 21:00:12 -04:00
irungentoo
da70ef899e
Merge branch 'update-crosscompile-instructions' of https://github.com/nurupo/InsertProjectNameHere 2014-09-22 16:43:56 -04:00
irungentoo
e0725ac74c
Fixed typo. 2014-09-22 15:17:17 -04:00
irungentoo
21be438b2b
Some fixes to avatar pull request.
Some bug fixes.

Grouped all avatar related functions in the same place in tox.h
2014-09-22 15:12:48 -04:00
irungentoo
b52da45aeb
Merge branch 'avatars' of https://github.com/ittner/toxcore 2014-09-22 15:07:14 -04:00
Maxim Biro
468b0aa154 Updated cross-compile instructions 2014-09-22 01:07:21 -04:00
irungentoo
900d72f951
Fixed test. 2014-09-21 15:15:35 -04:00
irungentoo
c43526be9c
Fixed memory leak. 2014-09-21 14:55:23 -04:00
Alexandre Erwin Ittner
b52eb48c15 Remove chattiness from avatar data transfers
The chatty approach for the avatar data transfer was intended as a
security feature to add explicit delays to the transfer and prevent
amplification attacks among authenticated friends. This was deemed
unnecessary in the code review and, therefore, replaced by a simpler
approach that sends all data in a single burst.
2014-09-21 11:37:49 -03:00
irungentoo
f07c7d65b3
Tox is now shown as being online only when properly announced. 2014-09-21 10:12:55 -04:00
Alexandre Erwin Ittner
70b4018069 Remove support for avatar image formats other than PNG
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-09-21 10:25:46 -03:00
irungentoo
fcc6d43cf2
Prevent core from doing DNS requests when UDP is disabled. 2014-09-20 12:19:21 -04:00
irungentoo
53ce4f393b
Added TOXDNS_MAX_RECOMMENDED_NAME_LENGTH define that clients can
choose to ignore if they want.
2014-09-19 21:22:53 -04:00
irungentoo
729a511e82
Lowered minimum transfer speed. 2014-09-18 18:34:52 -04:00
irungentoo
9cb0c98a9c
Reduce max udp packet size to 2K. 2014-09-17 21:01:08 -04:00