Commit Graph

6523 Commits

Author SHA1 Message Date
David-Sarah Hopwood 814620206a util/fileutil.py: add get_used_space. This version does not use FilePath.
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2014-04-09 00:26:04 +01:00
David-Sarah Hopwood 7d120c3c58 Some useful Deferred utilities. Addresses Zooko's review comments.
HookMixin and WaitForDelayedCallsMixin have been added for leasedb,
the rest are from the cloud backend branch, with minor improvements.

Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2014-04-09 00:26:04 +01:00
Zooko b09b400c8a Merge pull request #87 from daira/2209-make-pip-install-img-dir
setup.py: include data files in package_data= with paths relative to src/allmydata/web.
2014-03-30 00:11:31 +00:00
Daira Hopwood 7db853a777 setup.py: include data files in package_data= with paths relative to src/allmydata/web.
Remove packages= entries and unneeded __init__.py files for those subdirectories.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-03-29 00:41:33 +00:00
Daira Hopwood 0ef5939477 Remove 'needs-rebalancing' and add 'count-happiness' to checker reports; repair tests. fixes #1784, #2105
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-03-20 16:13:57 +00:00
Daira Hopwood 0c7793df10 Update my CREDITS entry.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-03-15 22:17:03 +00:00
Daira Hopwood 3719978215 misc/simulators/hashbasedsig.py: revert last patch; the original code was correct.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-25 16:57:57 +00:00
Daira Hopwood 40c12fc736 misc/simulators/hashbasedsig.py: fix minor miscalculation bug.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-25 16:55:19 +00:00
Daira Hopwood b262f656f4 misc/simulators/hashbasedsig.py: the cost of labels was being double-counted.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-25 01:04:03 +00:00
Daira Hopwood 946a9f9ddd misc/simulators/hashbasedsig.py: fix an incorrect comment.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-25 00:58:54 +00:00
Daira Hopwood 6ca5f5fc39 Use bigger random one-time keys in timing_safe_compare. fixes #2165
Follows this advice from Marsh Ray and Solar Designer: https://twitter.com/zooko/status/431105294777597952

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-24 20:43:23 +00:00
Daira Hopwood d5651a0d0e Rename 'constant_time_compare' to 'timing_safe_compare'. refs #2165
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-02-24 20:43:23 +00:00
Daira Hopwood 04ed7d0705 Merge pull request #85 from leif/isolate-keygen-test
Isolate test_keygen in its own base directory. This also causes KeyGeneratorService to create its base directory if it does not exist.
2014-01-12 14:02:56 -08:00
Leif db43528430 isolate test_keygen data
This makes test_keygen use its own basedir, to avoid polluting the _trial_temp
directory for later tests.
2014-01-12 21:25:11 +00:00
Daira Hopwood 647d88661f Merge pull request #84 from kpreid/patch-1
Change kpreid's email address.
2014-01-12 10:30:37 -08:00
Kevin Reid d563cde8f2 Change kpreid's email address. 2014-01-11 09:39:51 -08:00
Daira Hopwood e1840f1a88 Merge pull request #82 from multikatt/typo
Small typo: "stil" -> "still"
2014-01-02 13:20:35 -08:00
David 7f0c823b14 Small typo: "stil" -> "still" 2014-01-02 01:59:53 +01:00
Daira Hopwood d2514e995d Merge pull request #81 from multikatt/right_align
Right-align the services div on the WUI Welcome page, to address overlap. refs #1931
2013-12-28 05:47:53 -08:00
David 34517f5f68 Right aligning services div 2013-12-26 23:26:56 +01:00
Daira Hopwood 419df9b0b4 docs/about.rst: Reword and remove redundancy. Also avoid "(S)FTP".
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-12-04 01:23:11 +00:00
Zooko 98e421829e Merge pull request #73 from pataquets/patch-1
Warn about ambiguities on "client" and "gateway" terms
2013-12-03 08:44:17 -08:00
pataquets 857d072ff4 Warn about ambiguities on "client" and "gateway" terms 2013-12-03 17:25:45 +01:00
Zooko 9e5080903e Merge pull request #69 from zooko/1948-fix-warnings-from-make-doc-checks-3
1948 fix warnings from make doc checks 3
2013-11-17 08:21:29 -08:00
Zooko Wilcox-O'Hearn 402a66d472 change more links to footnote-style 2013-11-17 15:46:31 +00:00
Zooko Wilcox-O'Hearn 1b0b49aca9 update link to Maildir tips (thanks MK_FG) 2013-11-12 16:37:02 +00:00
Zooko Wilcox-O'Hearn 0bebbe3290 fix warnings from rst2html
Apparently the in-line link syntax with "<>" in them causes these warnings. I
don't know why. I changed them all to a slightly more verbose syntax.

Thanks to Mike Kazantzsev's review comment
(https://github.com/tahoe-lafs/tahoe-lafs/pull/67#commitcomment-4561370), I
moved the links to the end of each section.
2013-11-11 22:04:11 +00:00
Zooko Wilcox-O'Hearn 82579cec96 magic first line tells emacs to use utf8+bom
Add ".. -*- coding: utf-8-with-signature -*-" to the first line of each .rst
file. This tells emacs to treat the file contents as utf-8, and also to prepend
a so-called utf-8 "bom" marker at the beginning of the file. This patch also
prepends those markers to each of those files.
2013-11-08 21:08:05 +00:00
Daira Hopwood 2ac43975ee Fix typo pointed out by CptPlastic.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-22 02:31:52 +01:00
Daira Hopwood 7f10bf07df Makefile: update comment for 'make clean'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-10 19:50:49 +01:00
Daira Hopwood 90c1b8fb57 Merge pull request #64 from daira/2092-distclean
Add 'make distclean'.
2013-10-10 11:42:14 -07:00
Daira Hopwood 95567e55a2 Add 'make distclean'.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-10 17:47:30 +01:00
Daira Hopwood 5b55ccc526 Merge pull request #63 from zooko/2092-make-clean-shouldnt-remove-allmydata-tahoe-egg-info
remove tahoe egg-info dir from the "clean" rule
2013-10-10 09:41:48 -07:00
Zooko Wilcox-O'Hearn 70939fb454 remove tahoe egg-info dir from the "clean" rule
fixes #2092
2013-10-10 01:52:44 +00:00
Daira Hopwood 3529d31192 Add quotes around command lines in quickstart.rst.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-10-05 18:55:01 +01:00
Zooko 2ce6e401f8 Merge pull request #62 from zooko/master
fix a couple more "file:" links
2013-10-04 21:31:11 -07:00
Zooko 97f94cece5 Merge pull request #61 from zooko/fix-small-formatting-issues-in-docs
fix small issues in formatting
2013-10-04 21:24:40 -07:00
Zooko Wilcox-O'Hearn cc0b1ff6ec fix a couple more "file:" links
Making them be just links to "$FILENAME" instead of to "file:$FILENAME" causes
them to be working links on trac and on github. Yay!
2013-10-05 03:44:39 +00:00
Zooko Wilcox-O'Hearn 4e0a8d8d4f fix small issues in formatting
* fix warning from "rst2html --verbose" by not using the in-line hyperlink
  syntax. The warning said::

    known_issues.rst:261: (INFO/1) Hyperlink target "google chart api" is not referenced.

* remove dead code (no-longer-referenced link), thus fixing another warning

* change links to relative files to be just $FILENAME instead of
  file:$FILENAME, which I think will fix the problem of broken links on the
  trac and github, e.g. the link in
  https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/known_issues.rst ,
  which ought to go to
  https://tahoe-lafs.org/trac/tahoe-lafs/browser/trunk/docs/cautions.rst , but
  instead goes to file:///cautions.rst
2013-10-05 03:29:00 +00:00
Daira Hopwood a0f477618d misc/build_helpers/gen-package-table.py: show Python 2.6 as unsupported on Windows.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-09-09 23:18:18 +01:00
Daira Hopwood 40e43694fa Tweak Travis IRC notification settings.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-09-01 03:03:24 +01:00
Daira Hopwood ec48bcf1fa Customize Travis notifications.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-09-01 02:49:03 +01:00
Daira Hopwood b8322c9c53 Add Travis configuration.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-09-01 00:45:20 +01:00
Daira Hopwood aa29f2655d tahoe debug trial: print a warning message if testing uncommitted code. fixes #1992
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-08-31 18:01:34 +01:00
Zooko 6e10d637e1 Merge pull request #57 from markberger/1842-lease-tradeoff.svg-overlapping
Fixes the overlapping text in docs/lease-tradeoffs.svg
2013-08-27 08:18:07 -07:00
Zooko e493dcec4a Merge pull request #48 from markberger/740-cli-accept-multiple-aliases
740 cli accept multiple aliases
2013-08-27 08:16:12 -07:00
Mark J. Berger 74d37b98fa Fixes the overlapping text in docs/lease-tradeoffs.svg
This fixes ticket #1842. Patch courtesy of PRabahy.
2013-08-07 13:12:59 -04:00
Mark Berger 71504699a2 Added test_check_with_multiple_aliases in test_cli 2013-07-26 13:01:51 -04:00
Mark Berger bf235849c9 Allows check and deep-check to take multiple arguments (ticket #740) 2013-07-26 13:01:50 -04:00
Daira Hopwood 7702999107 Fix a pyflakes import warning.
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
2013-07-18 20:54:19 +01:00