Commit Graph

1152 Commits

Author SHA1 Message Date
Christopher R. Wood
6c7ffbe30d Allow mkdir-with-children to accept private-key 2024-05-07 14:37:42 -04:00
Christopher R. Wood
b93a39fdc2 Allow POST /uri?t=mkdir to accept private-key 2024-05-04 09:34:43 -04:00
Alexandre Detiste
2243ce3187 remove "from past.builtins import long" 2024-02-28 01:07:08 +01:00
Alexandre Detiste
1cfe843d23 more python2 removal 2024-02-23 00:40:25 +01:00
Alexandre Detiste
b856238110 remove old Python2 __future__ statements 2024-02-15 16:53:34 +01:00
Itamar Turner-Trauring
774b4f2861 Fix mypy errors 2023-11-21 08:31:34 -05:00
Itamar Turner-Trauring
457b4895b5 Pacify mypy when running with newer Python 2023-11-17 11:47:00 -05:00
Itamar Turner-Trauring
57534facc5 Python 3.8 support for importlib.resources.files 2023-11-17 11:26:52 -05:00
Itamar Turner-Trauring
e6630b59f7 Fix mypy complaints, simplifying code while we're at it 2023-11-17 11:22:06 -05:00
Itamar Turner-Trauring
c941146f43 Fix lints 2023-11-17 11:09:35 -05:00
Itamar Turner-Trauring
95341a2c07 Generalize static file setup. 2023-11-17 11:07:40 -05:00
Itamar Turner-Trauring
4daa584449 Get rid of pkg_resources 2023-11-17 10:54:33 -05:00
Itamar Turner-Trauring
5f9e784964 Better explanation 2023-06-26 09:06:28 -04:00
Itamar Turner-Trauring
af323d2bbb Get the code working again. 2023-06-14 17:05:51 -04:00
Itamar Turner-Trauring
55d62d609b Fix some mypy errors. 2023-06-14 16:54:09 -04:00
Itamar Turner-Trauring
ee75bcd26b Fix lint. 2023-03-24 15:20:48 -04:00
dlee
a7ddcbf868 Changes requested 2023-02-14 12:50:37 -06:00
dlee
b7cadfc53a Fixes bad practice of naming variable a built-in type 2023-02-14 11:38:35 -06:00
dlee
19e58f19ca Fixes truthy conditional 2023-02-14 11:21:57 -06:00
dlee
eb26c97ef7 implicit_optional flag added and errors related to flag fixed 2023-02-06 15:29:53 -06:00
Jean-Paul Calderone
2490f0f58a some minor rationalization of the return type 2023-01-12 15:33:37 -05:00
Jean-Paul Calderone
3ce5ee6f03 get Literal from somewhere it is more likely to be 2023-01-07 07:17:40 -05:00
Jean-Paul Calderone
c9e23dea13 we should always be able to get these
and we always need overload now
2023-01-06 20:59:48 -05:00
Jean-Paul Calderone
a806b2faba Fix some more mypy errors 2023-01-06 18:11:47 -05:00
Jean-Paul Calderone
2dc6466ef5 fix some errors reported by mypy 2023-01-06 17:12:59 -05:00
Jean-Paul Calderone
3ff9c45e95 expose the private-key feature in the tahoe put cli 2023-01-06 15:40:48 -05:00
Jean-Paul Calderone
e236cc95a5 Move get_keypair to a shared location 2023-01-06 15:36:08 -05:00
Jean-Paul Calderone
3423bfb351 Expose the pre-constructed keypair functionality to the HTTP API 2023-01-03 11:31:29 -05:00
Jean-Paul Calderone
6b58b66677 Clean up some Python 2 remnants 2023-01-03 10:32:03 -05:00
meejah
5be5714bb3 fix; get rid of sorting 2021-12-22 15:32:40 -07:00
meejah
bb70e00065 Make internal state JSON-able for lease-crawler 2021-11-16 15:08:31 -07:00
Florian Sesser
cbe5ea1115 OpenMetrics: Add docstring 2021-09-15 11:28:39 +00:00
Florian Sesser
c66ae302c8 OpenMetrics: Extra newline at the end 2021-09-15 11:27:44 +00:00
Florian Sesser
57a3c1168e OpenMetrics: Use list of strings instead of string concatenation 2021-09-15 11:03:31 +00:00
Florian Sesser
d05e373d42 OpenMetrics: All strings are unicode. 2021-09-09 13:57:59 +00:00
Florian Sesser
4674bccde7 OpenMetrics: add trailing EOF marker 2021-09-09 13:54:03 +00:00
Florian Sesser
ca865e60db OpenMetrics endpoint 2021-09-08 15:08:25 +00:00
Florian Sesser
2dbb9434b0 OpenMetrics endpoint WIP 2021-09-08 14:54:57 +00:00
Florian Sesser
8a64f50b79 WIP - Could be wronger 2021-09-03 14:40:42 +00:00
Florian Sesser
52cb250701 This is the handler we need to create. 2021-08-27 16:42:23 +00:00
Itamar Turner-Trauring
d74ef0798d Fix quoting to work on Python 2. 2021-06-15 13:46:22 -04:00
Itamar Turner-Trauring
e2ce207fdd Don't convert bytes to unicode implicitly. 2021-05-12 09:13:55 -04:00
Itamar Turner-Trauring
b11cc9137b Integration test passed on Python 3. 2021-05-07 10:48:50 -04:00
Itamar Turner-Trauring
32607b5ada For logging, using a new JSON bytes encoder that works on any bytes string, not
just UTF-8-encoded strings.
2021-04-14 10:42:01 -04:00
Itamar Turner-Trauring
e242bf50c7 Handle bytes in log messages. 2021-04-14 09:56:27 -04:00
Itamar Turner-Trauring
437ab58412 Fix flakes. 2021-03-05 09:45:07 -05:00
Itamar Turner-Trauring
0647b63681 Port to Python 3. 2021-03-02 09:35:34 -05:00
Itamar Turner-Trauring
7b1911620f Port to Python 3. 2021-03-02 09:31:35 -05:00
Itamar Turner-Trauring
196435784e Port to Python 3. 2021-03-02 09:24:29 -05:00
Itamar Turner-Trauring
66a0628751 Merge branch '3618.bb-tests-python-3' into 3624.web-python-3-part-5 2021-03-02 09:14:23 -05:00