Miguel Freitas
1e577bfdfb
missing function. thanks jpfox
2014-01-13 19:11:12 -02:00
toyg
83dcd048bb
fixes to compile and run under OSX 10.9.1
2014-01-02 23:10:57 +00:00
Miguel Freitas
bc990abfff
"hexcape" binary strings before json encoding.
...
because json doesn't support binary we need to escape to hex, unfortunatly,
this add requirement to twisterd to know each possible binary field we may add to dht items.
(unlike bencode that simply doesn't care).
2013-11-22 17:33:07 -02:00
Miguel Freitas
b470360bd5
fix another case of uninitialized entry on bencode
2013-11-06 15:43:12 -02:00
Miguel Freitas
c7141bcb2e
prevent bencoding uninitialized entries (which causes assertion fail)
2013-10-28 19:17:50 -02:00
Miguel Freitas
f75fc11274
getlocaldirectmessages: get decrypted direct messages sent/received by user
2013-10-14 11:41:40 -03:00
Miguel Freitas
b803734915
prevent duplicates when adding dm to the list of decrypted messages (in memory) - untested
2013-10-10 19:44:44 -03:00
Miguel Freitas
9d1b5915f9
better error checking and variables names in user_data save/load
2013-10-10 14:02:37 -03:00
Miguel Freitas
02f3de841b
do lazy_entry type checking in loadUserData
2013-10-08 22:45:46 -03:00
Miguel Freitas
4c33706c40
persist user_data (following and DMs)
2013-10-08 22:37:29 -03:00
Miguel Freitas
ea32a5a117
- begin refactoring twister_utils.h
...
- new rpc commands getdefaultuser/setdefaultuser (why is it not setting default on creation?)
- putdht now receives a generic json value parameter
2013-09-28 17:17:14 -03:00