aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-08-18Fix password salt not stored, generating a new salt everytimedec05eba
2020-08-18Listen on receive custom msg keydec05eba
2020-08-18Listen on key when sending custom messagedec05eba
2020-08-18Replace opendht with sibs pubsubdec05eba
This should fix issues with memory usage/leaks and make it easier to get peers subscribed to the same key. It will also be easier to modify and also works easier cross platform because of no additional dependencies.
2020-08-18Add method to get user lowest permission leveldec05eba
2020-08-18Update tododec05eba
2020-08-18Add flag for data loaded from cachedec05eba
2020-08-18Fix read outside bufferdec05eba
2020-08-18Add missing include for 'stdout'dec05eba
2020-08-18Follow cppcheck suggestionsdec05eba
2020-08-18Add methods to allow pingingdec05eba
2020-08-18Do not crash if ntp has been synced once and it fails next time (can happen ↵dec05eba
when laptop lid is closed)
2020-08-18Add sql debug, fix action counter in request wrong numberdec05eba
2020-08-18Fix bug with action gaps in response (invalid reference to local array)dec05eba
2020-08-18more debugdec05eba
2020-08-18Output action gapdec05eba
2020-08-18Ping node before sending old datadec05eba
2020-08-18Update memory usage testdec05eba
2020-08-18Add memory usage testdec05eba
2020-08-18Resend data if it failsdec05eba
2020-08-18Fix bug where addData/addUser doesn't get send to listening peersdec05eba
2020-08-18Fix node raw data bug (data type mismatch), add debug statementsdec05eba
2020-08-18Add debug outputdec05eba
2020-08-18Fix info hash not hashing inputdec05eba
2020-08-18Add delay to sending old nodes to prevent spamming (and getting disconnected)dec05eba
2020-08-18Fix memory leak (mismatch free/delete/delete[]), fix invalid memory accessdec05eba
2020-08-18Store node encryption key with user data, fix encryption bug when using ↵dec05eba
additional data
2020-08-18Remove duplicate permission checking for ADD_DATA operationdec05eba
2020-08-18Return stored node users decrypted as hash map instead of vectordec05eba
2020-08-18Add functions to send/receive custom messagesdec05eba
2020-08-18Add method to get user groupsdec05eba
2020-08-18Remove duplicate authorization for add user (to group)dec05eba
2020-08-18Allow storing user without nodesdec05eba
2020-08-18Add methods to store/retrieve encrypted user (using argon2 for hash)dec05eba
2020-08-18Add versioning to request old data structuredec05eba
2020-08-18Store known remote nodes and connect to them next timedec05eba
2020-08-18Implement exception safe sqlite transaction class (rollback)dec05eba
2020-08-18Implement node load/fetch orderdec05eba
2020-08-18Ignore our own requests when requesting old packetsdec05eba
2020-08-18Only download nodes that we are missingdec05eba
2020-08-18Remove user/group classes, user public key/group id directly to database insteaddec05eba
2020-08-18Replace 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
2020-08-18Remove commit, maybe readd it laterdec05eba
2020-08-18Add comparison function to public keydec05eba
2020-08-18Add more comparison functions to hashdec05eba
2020-08-18Temporary remove timestamp checkdec05eba
2020-08-18Update ntp dependency with bug fix, make error messages betterdec05eba
2020-08-18Update storage versiondec05eba
2020-08-18Remove unnecessary dependency 'fmt'dec05eba
2020-08-18Include fraction in timestamp. Timestamp is now in microsecondsdec05eba