Jim Paris
6868f5f126
fsck: limit max retries so we don't get stuck in a loop forever
10 years ago
Jim Paris
ca0943ec19
fsck: add --no-data option to do a quicker fsck
This makes it fast enough to run at startup with -f, if it's expected
that a system will frequently need to be fixed.
10 years ago
Jim Paris
68addb4e4a
Clarify output when fsck database is locked
10 years ago
Jim Paris
68c33b1f14
fsck: add comma separator on big numbers
10 years ago
Jim Paris
8dd8741100
Tweak options, dependencies, documentation
10 years ago
Jim Paris
8e6341ae5d
Verify that data timestamps are monotonic
10 years ago
Jim Paris
422b1e2df2
More fsck improvements. Fixed two problems on sharon so far.
10 years ago
Jim Paris
0f745b3047
More fsck tools, including fixes
10 years ago
Jim Paris
71cd7ed9b7
Add nilmdb-fsck tool to check database consistency
10 years ago
Jim Paris
a79d6104d5
Documentation fixups
10 years ago
Jim Paris
8e8ec59e30
Support "nilmtool cmd --version"
10 years ago
Jim Paris
b89b945a0f
Better responses to invalid HTTP times
10 years ago
Jim Paris
bd7bdb2eb8
Add --optimize option to nilmtool intervals
10 years ago
Jim Paris
840cd2fd13
Remove stray print
10 years ago
Jim Paris
bbd59c8b50
Add nilmdb.utils.interval.intersection by generalizing set_difference
10 years ago
Jim Paris
405c110fd7
Doc updates
10 years ago
Jim Paris
274adcd856
Documentation updates
10 years ago
Jim Paris
a1850c9c2c
Misc documentation
10 years ago
Jim Paris
6cd28b67b1
Support iterator protocol in Serializer
10 years ago
Jim Paris
d6d215d53d
Improve boolean HTTP parameter handling
10 years ago
Jim Paris
e02143ddb2
Remove duplicated test
10 years ago
Jim Paris
e275384d03
Fix WSGI docs again
10 years ago
Jim Paris
a6a67ec15c
Update WSGI docs
10 years ago
Jim Paris
fc43107307
Fill out test coverage
10 years ago
Jim Paris
90633413bb
Add nilmdb.utils.interval.human_string function
10 years ago
Jim Paris
c7c3aff0fb
Add nilmdb.utils.interval.optimize function
10 years ago
Jim Paris
e2347c954e
Split more CherrpyPy stuff into serverutil
10 years ago
Jim Paris
222a5c6c53
Move server decorators and other utilities to a separate file
This will help with implementing nilmrun.
10 years ago
Jim Paris
1ca2c143e5
Fix typo
10 years ago
Jim Paris
b5df575c79
Fix tests
10 years ago
Jim Paris
2768a5ad15
Show FQDN rather than hostname.
10 years ago
Jim Paris
a105543c38
Show a more helpful message at the root nilmdb path
10 years ago
Jim Paris
309f38d0ed
Merge branch '32bit'
10 years ago
Jim Paris
9a27b6ef6a
Make rocket code suitable for 32-bit architectures
10 years ago
Jim Paris
99532cf9e0
Fix coverage
10 years ago
Jim Paris
dfdd0e5c74
Fix line parsing in http client
10 years ago
Jim Paris
9a2699adfc
Attempt at fixing up more Unicode issues with metadata.
10 years ago
Jim Paris
9bbb95b18b
Add unicode decode/encode helpers
10 years ago
Jim Paris
6bbed322c5
Fix unicode in completion
10 years ago
Jim Paris
2317894355
Tweak cache sizes to account for large numbers of decimated tables
10 years ago
Jim Paris
539c92226c
Add more disk space info
10 years ago
Jim Paris
77c766d85d
Bump MAX_LAYOUT_COUNT to 1024
10 years ago
Jim Paris
49d04db1d6
Allow start==end in stream_insert_context, if no data was provided.
10 years ago
Jim Paris
ea838d05ae
Warn against reused context managers, and fix broken tests
10 years ago
Jim Paris
f2a48bdb2a
Test binary extract; fix bugs
10 years ago
Jim Paris
6d14e0b8aa
Allow binary extract
10 years ago
Jim Paris
b31b9327b9
Add tool to fix oversize files (the bug fixed by b98ff13
)
10 years ago
Jim Paris
b98ff1331a
Fix bug where too much data was getting written to each file.
We were still calculating the maximum number of rows correctly,
so the extra data was really extra and would get re-written to the
beginning of the subsequent file.
The only case in which this would lead to database issues is if the
very last file was lengthened incorrectly, and the "nrows" calculation
would therefore be wrong when the database was reopened. Still, even
in that case, it should just leave a small gap in the data, not cause
any errors.
10 years ago
Jim Paris
00e6ba1124
Avoid ENOENT in nilmdb.utils.diskusage.du
ENOENT might show up if we're actively deleting files in the nilmdb
thread while trying to read available space from e.g. the server
thread.
10 years ago
Jim Paris
01029230c9
Tweaks to sorting
10 years ago