summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* deleted: etc/storage.yaml - Going to be using PickleDB for storing info ↵Siddharth Ravikumar2015-01-211-13/+0
| | | | about files in the combox dir.
* combox/file.py: defined hash_file function.Siddharth Ravikumar2015-01-212-1/+26
| | | | | | hash_file function returns the SHA512 hash of the file's content. The test for the hash_file function is at tests/file_test.py
* README.md: add license information for combox logo.Siddharth Ravikumar2015-01-211-3/+8
|
* Renamed ComboxEventHandler (class) -> ComboxDirMonitorSiddharth Ravikumar2015-01-212-9/+9
| | | | | modified: combox/events.py modified: tests/events_test.py
* combox config now contains a `combox_name` field which contains the name of ↵Siddharth Ravikumar2015-01-213-1/+3
| | | | | | | | the combox. modified: combox/config.py modified: tests/config_test.py modified: tests/test-config/config.yaml
* now the config file also makes note of the 'silo' directory.Siddharth Ravikumar2015-01-213-1/+9
| | | | | | | | | silo directory is the location where the silo (silo.db) containing information about files in the combox directory is stored. modified: combox/config.py modified: tests/config_test.py modified: tests/test-config/config.yaml
* fleshed out the on_modified function in the ComboxEventHandler class + wrote ↵Siddharth Ravikumar2015-01-204-1/+98
| | | | | | | | | tests for it. modified: combox/events.py modified: tests/events_test.py new file: tests/files/ipsum.txt new file: tests/files/lorem.txt
* tests/events_test.py: fixed the path_deletedp function.Siddharth Ravikumar2015-01-201-5/+4
|
* updated copright year.Siddharth Ravikumar2015-01-209-9/+9
| | | | | | | | | | | | modified: combox/cbox.py modified: combox/config.py modified: combox/crypto.py modified: combox/events.py modified: combox/file.py modified: tests/config_test.py modified: tests/crypto_test.py modified: tests/events_test.py modified: tests/file_test.py
* updated graphics/logo/combox-logo.svgSiddharth Ravikumar2015-01-191-67/+64
|
* added combox/cbox.py: pretty rough.Siddharth Ravikumar2015-01-161-0/+82
| | | | contains function that runs combox.
* tests/events_test.py: wrote test for file/directory rename under combox ↵Siddharth Ravikumar2015-01-161-0/+37
| | | | directory.
* [bug fix] combox/file.py: fixed bug in move_shards functionSiddharth Ravikumar2015-01-161-0/+5
| | | | | the fix: the shards don't have to be renamed when the directory under which they're located is renamed/moved.
* tests/events_test.py: wrote test for file/directory deletion in combox ↵Siddharth Ravikumar2015-01-151-4/+35
| | | | directory.
* combox/events.py: fleshed out on_moved, on_deleted functions.Siddharth Ravikumar2015-01-151-2/+24
| | | | The functions are not yet fully complete (See TODO in each function).
* tests/events_test.py: wrote code to test whether files created in a nested ↵Siddharth Ravikumar2015-01-151-5/+17
| | | | directory properly are split properly to node dirs.
* combox/file.py: wrote new utility functions.Siddharth Ravikumar2015-01-151-0/+99
| | | | | | | - rm_nodedir - move_nodedir - rm_shards - move_shards
* combox/config.py: node directories are created if they're not already created.Siddharth Ravikumar2015-01-151-0/+4
|
* updated graphics/logo/combox-logo.svgSiddharth Ravikumar2015-01-141-39/+82
|
* added graphics/logo/combox-logo.svgSiddharth Ravikumar2015-01-141-0/+118
|
* updated .gitignoreSiddharth Ravikumar2015-01-141-0/+1
|
* added tests/events_test.py: tests the ComboxEventHandler thing.Siddharth Ravikumar2015-01-141-0/+103
|
* combox/events.py: contains the ComboxEventHandler which monitors and does ↵Siddharth Ravikumar2015-01-141-0/+78
| | | | the combox thing.
* combox/crypto.py: relative_path function is used to get the file/directory's ↵Siddharth Ravikumar2015-01-141-4/+9
| | | | basename.
* combox/file.py: new functions defined.Siddharth Ravikumar2015-01-141-6/+53
| | | | | | relative_path: returns relative path of directory or file w. r. t combox directory. mk_nodedir: creates a directory inside all node directories purge_dir: (1) purges a file or (2) purges everything inside a directory (except itself).
* combox/config.py: all directories that are written to YAML now have absolute ↵Siddharth Ravikumar2015-01-141-5/+5
| | | | path.
* updated tests/test-config/config.yamlSiddharth Ravikumar2015-01-141-3/+3
|
* updated README.mdSiddharth Ravikumar2015-01-141-0/+3
|
* renamed: README -> README.mdSiddharth Ravikumar2015-01-141-0/+0
|
* updated README: added back the 'mode' thingy.Siddharth Ravikumar2015-01-141-0/+2
|
* updated READMESiddharth Ravikumar2015-01-141-2/+0
|
* combox/crypto.py: removed a `.' that somehow crept into the file at the ↵Siddharth Ravikumar2015-01-131-1/+0
| | | | bottom :<
* tests/crypto_test.py: added new test function to test split_and_encrypt and ↵Siddharth Ravikumar2015-01-131-0/+21
| | | | decrypt_and_glue functions.
* updated .gitignoreSiddharth Ravikumar2015-01-131-1/+2
|
* tests/crypto_test.py: uses new test file.Siddharth Ravikumar2015-01-133-2/+1
|
* tests/crypto_test.py: uses get_nodedirs function to fetch list of node ↵Siddharth Ravikumar2015-01-131-3/+5
| | | | directories.
* tests/file_test.py: uses get_nodedirs function to fetch list of node ↵Siddharth Ravikumar2015-01-131-1/+2
| | | | directories.
* tests/config_test.py: modified test config info.Siddharth Ravikumar2015-01-131-8/+8
|
* combox/file.py: added mk_nodedir function.Siddharth Ravikumar2015-01-131-0/+13
|
* combox/crypto.py: wrote split_and_encrypt & decrypt_and_glue functionsSiddharth Ravikumar2015-01-131-0/+61
|
* combox/config.py: added get_nodedirs function.Siddharth Ravikumar2015-01-131-0/+16
|
* combox/config.py: the config functions does its job irrespective of whether ↵Siddharth Ravikumar2015-01-131-21/+19
| | | | combox was configure before or not.
* updated tests/test-config/config.yamlSiddharth Ravikumar2015-01-131-4/+4
|
* updated tests/crypto_test.py: password read from config file.Siddharth Ravikumar2015-01-131-9/+6
|
* updated READMESiddharth Ravikumar2015-01-131-10/+17
|
* rewrote the read_shards() and write_shards() function in combox/file.py.Siddharth Ravikumar2015-01-133-34/+60
| | | | | | | | | Tests were accordingly modded and now use the test config.yaml to split and write shards to dirs. modified: combox/file.py modified: tests/crypto_test.py modified: tests/file_test.py
* updated.gitignoreSiddharth Ravikumar2015-01-131-0/+1
|
* added new directories and test combox config under tests/Siddharth Ravikumar2015-01-133-0/+11
| | | | | | | | These *will* be used in the tests. new file: tests/shard-dir-0/.foo new file: tests/shard-dir-1/.foo new file: tests/test-config/config.yaml
* updated .gitignoreSiddharth Ravikumar2015-01-121-0/+3
|
* updated setup.py: add platform and license info.Siddharth Ravikumar2015-01-121-0/+2
|