Jean-Paul Calderone
1cbf798127
Package Future 0.18.2 for us
2020-07-08 13:20:07 -04:00
Sajith Sasidharan
51d6307b45
Fail better when timings data isn't available
2020-07-08 13:08:35 -04:00
Sajith Sasidharan
112cfc1da5
Test if download status page can be rendered partially
2020-07-08 13:08:35 -04:00
Sajith Sasidharan
c187e2752b
Parameterize FakeDownloadResults and FakeDownloadStatus
2020-07-08 13:08:35 -04:00
Itamar Turner-Trauring
f75ff70924
News fragment.
2020-07-08 12:21:33 -04:00
Itamar Turner-Trauring
9e3bc3e888
These tests are no longer necessary, since we are no longer implementing this
...
code ourselves.
Before deleting the tests I ensured they either passed, or the failure were due
to slightly different string formatting in pyutil's assertutil.
As such I believe pyutil has the same behavior.
2020-07-08 12:16:26 -04:00
Itamar Turner-Trauring
bd6ff36b2f
Fix typo.
2020-07-08 12:13:24 -04:00
Itamar Turner-Trauring
939648c04f
Add back missing function.
2020-07-08 12:13:19 -04:00
Itamar Turner-Trauring
229583c596
Switch to mathutil from pyutil (it has tests, and has already been ported to
...
Python 3).
2020-07-08 12:02:58 -04:00
Itamar Turner-Trauring
016c7754a6
Switch to use pyutil's assertutil implementation.
2020-07-08 11:57:10 -04:00
Itamar Turner-Trauring
0bc8a441a9
Add pyutil as direct dependency; it was previously indirect dependency via zfec.
2020-07-08 11:56:53 -04:00
Sajith Sasidharan
81216f18bf
Remove some whitespace
2020-07-08 10:15:33 -04:00
Itamar Turner-Trauring
3d80a6c17e
New packages so we can get future 0.18.2.
2020-07-08 10:11:28 -04:00
Sajith Sasidharan
d6ea30b935
Test more markup rendered by DownloadStatusElement
2020-07-07 22:20:49 -04:00
Sajith Sasidharan
0db56f99cf
Add some tests for DownloadStatusElement
2020-07-07 20:49:58 -04:00
Sajith Sasidharan
7757756a41
Use correct tag type
2020-07-07 20:45:30 -04:00
Sajith Sasidharan
0c4d24a2ac
Avoid use of deferred within an Element
...
This causes the final HTML to be rendered funny, with a bunch of
"<Deferred current result=...>", which is clearly not what we want.
2020-07-07 20:24:56 -04:00
Sajith Sasidharan
7877d8a5cc
Use an accessor
2020-07-07 19:55:14 -04:00
Itamar Turner-Trauring
3d0e4df5ce
Lint fixes.
2020-07-07 11:30:01 -04:00
Itamar Turner-Trauring
238b17098e
Add future in another place.
2020-07-07 11:28:11 -04:00
Itamar Turner-Trauring
e6268f3dd5
Add additional dependencies.
2020-07-07 11:13:45 -04:00
Itamar Turner-Trauring
e06d41442a
Merge remote-tracking branch 'origin/master' into 3324-humanreadable-python-3
2020-07-07 11:03:33 -04:00
Jean-Paul Calderone
bb452a6c60
Merge pull request #731 from tahoe-lafs/2755.code-of-conduct
...
Formally adopt a code of conduct.
2020-07-07 09:59:55 -04:00
Jean-Paul Calderone
f08e2ba832
add some alt text
2020-07-07 09:19:30 -04:00
Jean-Paul Calderone
0ed8a7709e
Perhaps this is the preferred formatting?
2020-07-07 09:18:11 -04:00
Sajith Sasidharan
a3bf4e0269
Remove an unused import
2020-07-06 20:18:22 -04:00
Itamar Turner-Trauring
10f2b7fc53
Merge pull request #736 from tahoe-lafs/3329-flake8
...
Switch to flake8 as a better way of running pyflakes.
2020-07-06 17:15:51 -04:00
Sajith Sasidharan
e6eb387707
Remove status.RateAndTimeMixin
...
Both UploadResultsRenderer and DownloadResultsRenderer do not use
RateAndTimeMixin anymore: safe to remove it now.
Tests for methods formerly in RateAndTimeMixin have been moved to
test.web.test_util: specifically test_abbreviate_rate() and
test_abbreviate_time().
2020-07-06 17:11:30 -04:00
Sajith Sasidharan
4a47e8311f
Merge 'origin/master' into 3288.status-download-nevow-to-twisted-web
2020-07-06 16:38:23 -04:00
Sajith Sasidharan
25f5e659fc
Merge pull request #721 from sajith/3287.status-upload-nevow-to-twisted-web
...
Replace nevow with twisted.web.template in status.UploadStatusPage
Fixes: ticket:3287
2020-07-06 16:20:40 -04:00
Sajith Sasidharan
61aef4caef
Merge pull request #690 from sajith/3247.storage-py-neovw-to-twt
...
Use twisted.web.template in web/storage.py
Fixes: ticket:3247
2020-07-06 16:18:34 -04:00
Jean-Paul Calderone
4e1f581540
Merge pull request #737 from tahoe-lafs/2755.code-of-conduct--add-meejah
...
add meejah to code-of-conduct
2020-07-06 16:06:40 -04:00
meejah
b9737febd0
add meejah to code-of-conduct
2020-07-06 13:49:07 -06:00
Itamar Turner-Trauring
f548593f37
Fix test_python3, and mark these two modules as being ported as well.
2020-07-06 14:18:18 -04:00
Itamar Turner-Trauring
b990334104
Add the builtins import to make Python 2 builtins match Python 3's.
2020-07-06 14:00:02 -04:00
Itamar Turner-Trauring
906d6ac291
Switch to flake8 as a better way of running pyflakes.
2020-07-06 13:50:06 -04:00
Jean-Paul Calderone
8a85bf7836
add a contributor covenant badge
2020-07-06 10:41:38 -04:00
Itamar Turner-Trauring
6d4ce3b7ad
Additional hidden imports due to use of Future.
2020-07-03 13:44:47 -04:00
Itamar Turner-Trauring
83b9bbf743
Switch definitely to _python3.py for listing modules, but also note if a module
...
has been ported in its docstring.
2020-07-03 13:28:36 -04:00
Itamar Turner-Trauring
140cb80ff7
Clarify comment.
2020-07-03 13:15:57 -04:00
Itamar Turner-Trauring
83182e1d38
Remove extraneous semicolon.
2020-07-03 13:15:13 -04:00
Itamar Turner-Trauring
12691eb597
Only install module mappings once.
2020-07-02 14:31:33 -04:00
Itamar Turner-Trauring
b77807c558
News entry.
2020-07-02 14:29:15 -04:00
Itamar Turner-Trauring
ad7f44db99
Listed ported modules.
2020-07-02 14:27:43 -04:00
Itamar Turner-Trauring
70a029fb81
Tests pass on both Python 2 and Python 3.
2020-07-02 14:26:35 -04:00
Itamar Turner-Trauring
c207a0c932
Port test_humanreadable.py to Python 3.
2020-07-02 14:10:38 -04:00
Itamar Turner-Trauring
99b62775e9
Initial list of ported modules.
2020-07-02 13:42:30 -04:00
Itamar Turner-Trauring
b7f88b278f
Split out tests for humanreadable into their own module, so we can port just
...
humanreadable.py in isolation.
2020-07-02 13:40:40 -04:00
Jean-Paul Calderone
f9ac0a7a9e
news fragment
2020-07-01 15:50:47 -04:00
Jean-Paul Calderone
f9cab479fd
as far as I can tell there is nothing magic about putting it in .github
2020-07-01 15:48:39 -04:00