| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
- Contains the ComboxSilo class which provides an interface to access
the db that stores information about files in the combox directory.
Tests for this module is at tests/silo_test.py
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
modified: combox/events.py
modified: tests/events_test.py
|
|
|
|
|
|
|
|
| |
the combox.
modified: combox/config.py
modified: tests/config_test.py
modified: tests/test-config/config.yaml
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
tests for it.
modified: combox/events.py
modified: tests/events_test.py
new file: tests/files/ipsum.txt
new file: tests/files/lorem.txt
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
contains function that runs combox.
|
|
|
|
|
| |
the fix: the shards don't have to be renamed when the directory under
which they're located is renamed/moved.
|
|
|
|
| |
The functions are not yet fully complete (See TODO in each function).
|
|
|
|
|
|
|
| |
- rm_nodedir
- move_nodedir
- rm_shards
- move_shards
|
| |
|
|
|
|
| |
the combox thing.
|
|
|
|
| |
basename.
|
|
|
|
|
|
| |
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).
|
|
|
|
| |
path.
|
|
|
|
| |
bottom :<
|
| |
|
| |
|
| |
|
|
|
|
| |
combox was configure before or not.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
using raw_input directly
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests were removed. will write tests using `nose` later.
renamed: combox/file.py -> combox/combox.py
deleted: combox/config.py
deleted: combox/crypto.py
renamed: tests/test_config.py -> tests/combox_tests.py
deleted: tests/files/the-red-star.jpg
deleted: tests/test_crypto.py
deleted: tests/test_file.py
|
| |
|
|
|
|
|
|
|
|
| |
renamed: combox/tests/__init__.py -> tests/__init__.py
renamed: combox/tests/files/the-red-star.jpg -> tests/files/the-red-star.jpg
renamed: combox/tests/test_config.py -> tests/test_config.py
renamed: combox/tests/test_crypto.py -> tests/test_crypto.py
renamed: combox/tests/test_file.py -> tests/test_file.py
|
| |
|
|
|
|
| |
passhrase is sha224 summed.
|
| |
|
|
|
|
|
|
|
|
| |
using AES.
Functions defined: pad, encrypt, decrypt, encrypt_shards, decrypt_shards.
Also added: tests/test_crypto.py
|
|
|
|
|
| |
modified: file.py
modified: tests/test_file.py
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
glue_data
split_data: reads a string or a stream of bytes and splits them into `n' parts.
glue_data: reads an array of strings / stream of bytes and glues them into one string / stream of bytes.
read_file: reads content from file and returns it.
---
"Python has been an important part of Google since the beginning, and
remains so as the system grows and evolves. Today dozens of Google
engineers use Python, and we're looking for more people with skills in
this language." said Peter Norvig, director of search quality at
Google, Inc.
---
Google has employed a Gingrich-era Republican as its head lobbyist in
DC. Now, Google is effectively helping Comcast kill the Internet as we
know it, and end "Net Neutrality" forever. -- SumOfUs.org
Sign a petition to ask Google to stand up for Net Neutrality:
http://action.sumofus.org/a/googlesupportnn/
|
|
|
|
| |
utils/ directory deleted now.
|
|
new file: .gitignore
new file: AUTHORS
new file: COPYING
new file: combox/__init__.py
new file: combox/tests/__init__.py
new file: combox/tests/files/the-red-star.jpg
new file: combox/tests/utils_file.py
new file: combox/utils/__init__.py
new file: combox/utils/file.py
I like to write python FWIW. But after reading a dialect of Lisp when
I come back to python, it does not look very beautiful. I guess I'm
pretty convinced that there is no language that can ape the beauty of
Lisp.
|