Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-08-18 | Fix build for mingw | dec05eba | |
2020-08-18 | Add database object to callback funcs | dec05eba | |
2020-08-18 | Async connect | dec05eba | |
2020-08-18 | Replace opendht with sibs pubsub | dec05eba | |
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-18 | Add method to get user lowest permission level | dec05eba | |
2020-08-18 | Add flag for data loaded from cache | dec05eba | |
2020-08-18 | Follow cppcheck suggestions | dec05eba | |
2020-08-18 | Add methods to allow pinging | dec05eba | |
2020-08-18 | Add sql debug, fix action counter in request wrong number | dec05eba | |
2020-08-18 | Ping node before sending old data | dec05eba | |
2020-08-18 | Fix memory leak (mismatch free/delete/delete[]), fix invalid memory access | dec05eba | |
2020-08-18 | Store node encryption key with user data, fix encryption bug when using ↵ | dec05eba | |
additional data | |||
2020-08-18 | Return stored node users decrypted as hash map instead of vector | dec05eba | |
2020-08-18 | Add functions to send/receive custom messages | dec05eba | |
2020-08-18 | Add method to get user groups | dec05eba | |
2020-08-18 | Allow storing user without nodes | dec05eba | |
2020-08-18 | Add methods to store/retrieve encrypted user (using argon2 for hash) | dec05eba | |
2020-08-18 | Store known remote nodes and connect to them next time | dec05eba | |
2020-08-18 | Implement exception safe sqlite transaction class (rollback) | dec05eba | |
2020-08-18 | Implement node load/fetch order | dec05eba | |
2020-08-18 | Only download nodes that we are missing | dec05eba | |
2020-08-18 | Remove user/group classes, user public key/group id directly to database instead | dec05eba | |
2020-08-18 | Replace files with sqlite | dec05eba | |
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-18 | Remove commit, maybe readd it later | dec05eba | |
2020-08-18 | Add comparison function to public key | dec05eba | |
2020-08-18 | Add more comparison functions to hash | dec05eba | |
2020-08-18 | Temporary remove timestamp check | dec05eba | |
2020-08-18 | Fix add user callback bug, missing assignment in constructor... | dec05eba | |
2020-08-18 | Update ntp dependency with bug fix, make error messages better | dec05eba | |
2020-08-18 | Remove unnecessary dependency 'fmt' | dec05eba | |
2020-08-18 | Include fraction in timestamp. Timestamp is now in microseconds | dec05eba | |
2020-08-18 | blalba | dec05eba | |
2020-08-18 | Add stop seeding function | dec05eba | |
2020-08-18 | Add decryption (and caching) of data, even when adding encryption key after ↵ | dec05eba | |
data has been added | |||
2020-08-18 | Change local storage to fit dchat better | dec05eba | |
2020-08-18 | Add local user storage function (locally stored encrypted user private key) | dec05eba | |
2020-08-18 | Store opendht identity in storage file (cached) | dec05eba | |
2020-08-18 | Add comment | dec05eba | |
2020-08-18 | Store database storage to files, also loading | dec05eba | |
2020-08-18 | Add callback functions for operations | dec05eba | |
2020-08-18 | Fix PrivateKey/PublicKey ::toString | dec05eba | |
2020-08-18 | Expose include dir | dec05eba | |
2020-08-18 | Fix add data operation not working correctly | dec05eba | |
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) | |||
2020-08-18 | Add operation to allow users to be added to group | dec05eba | |
WARNING! Lazy implementation everywhere, does not handle out-of-order packets | |||
2020-08-18 | Partially implement 'add' operation | dec05eba | |
2020-08-18 | Implement 'create' operation, add seeding | dec05eba | |
Seeding is currently only done on the key you specify, in the future the user should request data that it can seed. | |||
2020-08-18 | Add encryption functions (xchacha20) | dec05eba | |
Changed license to GPL 3.0 because of incompatible license with opendht. Should odhtdb stay GPL 3.0 or should opendht be replaced with libdht so license can be changed back to MIT? | |||
2020-08-18 | Sign messages/verify message signatures | dec05eba | |
2020-08-18 | Add database storage (in memory), need to store it on disk later | dec05eba | |
2020-08-18 | Fix put not working because used time discards message before received | dec05eba | |