2014-04-24 19:32:02 +02:00
|
|
|
-find a way to prioritize the index/message download threads. Perhaps these threads could tell other threads to pause?
|
2014-05-16 05:15:54 +02:00
|
|
|
the discover -> age check -> index -> messages -> timestamp script should not be interrupted when one of the steps takes longer
|
2014-04-24 19:32:02 +02:00
|
|
|
|
2014-04-28 13:20:20 +02:00
|
|
|
-file deletion or time to live (client side?)
|
|
|
|
|
2014-05-15 22:47:24 +02:00
|
|
|
-prevent WebSheet (ios) and etc captive portal to hijack the client connection ;)
|
2014-04-28 13:20:20 +02:00
|
|
|
|
2014-05-16 05:15:54 +02:00
|
|
|
-perhaps replace the functionality of self.devices with something based on crawling nodes/hash/
|
|
|
|
|
2014-05-23 18:45:45 +02:00
|
|
|
-sometimes node tries to connect to itself (something wrong with receiving broadcast maybe??)
|
|
|
|
|
2014-05-23 17:29:31 +02:00
|
|
|
- HTTP calls the client needs:
|
|
|
|
- /msg/<uid> -> give list of all messages for this uid
|
2014-05-23 18:45:45 +02:00
|
|
|
- /msg/<uid>/<timestamp> -> get message for this timestamp
|
2014-05-23 17:29:31 +02:00
|
|
|
- /clients -> return list of all known clients (uid's + usernames)
|
|
|
|
- /getUID -> return uid for client ( based on what? mac? )
|
|
|
|
|
2014-05-15 23:10:26 +02:00
|
|
|
# Cryptoshit
|
|
|
|
|
|
|
|
encrypt / decrypt:
|
|
|
|
http://www.davedoesdev.com/a-simple-and-consistent-wrapper-for-javascript-crypto/
|
|
|
|
|
|
|
|
generating keys:
|
|
|
|
https://bitbucket.org/adrianpasternak/js-rsa-pem/wiki/Home
|
2014-05-23 17:29:31 +02:00
|
|
|
|
|
|
|
|