aboutsummaryrefslogtreecommitdiff
path: root/src/User.cpp
AgeCommit message (Collapse)Author
2018-05-14Replace files with sqlitedec05eba
Using sqlite because sqlite has transactions, storing/loading from files automatically, unloading data that is not accessed often. Removed cosmetic data (node name, username). They can be added using addData by the application that uses odhtdb instead. Database callback functions can now be called with stored data using database.loadNode function. TODO: Add local user storage (with password) back, it has been temorary disabled
2018-04-28Add decryption (and caching) of data, even when adding encryption key after ↵dec05eba
data has been added
2018-04-27Change local storage to fit dchat betterdec05eba
2018-04-14Store database storage to files, also loadingAleksi Lindeman
2018-03-13Expose include dirAleksi Lindeman
2018-03-13Fix add data operation not working correctlyAleksi Lindeman
Reminder: do not get reference to hash map value... duh Add thread-safe logging (log is in order now!). Store data immediately to database when WE add it instead of waiting for response from remote peers. TODO: Test with multiple peers (not only localhost)
2018-03-11Add operation to allow users to be added to groupAleksi Lindeman
WARNING! Lazy implementation everywhere, does not handle out-of-order packets