Commit graph

71 commits

Author SHA1 Message Date
Tushar Sadhwani
4253a26c49 Use builtin html.escape 2021-09-04 00:08:58 +05:30
Will McGugan
cfb7532190 test 2021-08-29 15:41:56 +01:00
Will McGugan
f03b9b7fd8 version bump 2021-08-29 15:34:13 +01:00
Will McGugan
6e76b2216f added print_json 2021-08-28 15:04:06 +01:00
Will McGugan
ff43bae4eb .on methods and name changes 2021-07-28 09:10:23 +01:00
Will McGugan
aba4c7b623 Added max height 2021-07-11 14:25:14 +01:00
Will McGugan
d926952066 tests 2021-06-27 16:01:12 +01:00
Will McGugan
3281af6f3b auto repr 2021-06-18 20:24:05 +01:00
Will McGugan
41cc6a6ff2 added meta to Style 2021-06-17 22:31:08 +01:00
Will McGugan
f1492a04d6 skip alt screen if LW 2021-03-25 21:14:40 +00:00
Will McGugan
be5e9dca2d rich measure 2021-03-25 21:08:36 +00:00
Will McGugan
27379a8f1a black typing 2021-03-22 20:32:23 +00:00
Will McGugan
84b6f751e0 rich repr 2021-03-22 20:26:01 +00:00
Will McGugan
a998f23084 replace is_control with list of control codes 2021-03-14 11:47:03 +00:00
Will McGugan
2f752afaa9 style optimization 2021-03-01 19:42:00 +00:00
Will McGugan
becaaaed56 black 2021-02-20 11:55:45 +00:00
Will McGugan
a49e595996 fixes 2021-02-20 11:05:21 +00:00
Will McGugan
0f31a17c04
Merge branch 'master' into timestamp_miliseconds 2021-02-15 21:05:40 +00:00
Finn Hughes
d52c2a8fc7 Allow timestamps to include milliseconds
Allow log_time_format to be string or callable e.g:

def time_formatter(timestamp: datetime) -> str:
    milliseconds = int(timestamp.microsecond / 1000.0 + 0.5)
    return f'{timestamp.strftime("%H:%M:%S")}.{milliseconds:03}'
2021-02-15 15:47:27 +00:00
Will McGugan
80e83169ea size in console options 2021-02-14 11:07:16 +00:00
Will McGugan
7edf183bed docs and tests 2021-02-14 09:48:34 +00:00
Will McGugan
d89c29200b skip tests on windows 2021-02-13 19:14:56 +00:00
Will McGugan
06d99d75c2 Test fix 2021-02-13 18:45:40 +00:00
Will McGugan
4b2fa3c35b
Merge branch 'master' into alt-screen 2021-02-13 18:20:19 +00:00
Will McGugan
1b1f2d0631 new layout class 2021-02-12 21:59:35 +00:00
Nathan Page
0d731c5d5a format with black 2021-02-07 13:51:15 -08:00
Will McGugan
122b8131bb live refactor 2021-02-06 11:49:54 +00:00
Will McGugan
6bac7ffb86 no color test 2021-01-09 16:20:17 +00:00
Will McGugan
0c34ddcb67 fix black 2020-12-17 17:39:54 +00:00
Will McGugan
7747025280 console style 2020-12-17 17:05:37 +00:00
Will McGugan
be47b3f899 status tests 2020-12-08 12:57:06 +00:00
Will McGugan
084860050b protocol and abc 2020-11-19 18:22:10 +00:00
Will McGugan
9f2a426ea7 fix input on legacy windows 2020-10-19 16:41:15 +01:00
Matthew Barber
7e9cff8bed test method for render_group fitting 2020-10-16 10:17:34 +01:00
Will McGugan
05ce5105b4 background style, table width calculation 2020-10-15 21:17:03 +01:00
Will McGugan
ba78d0e5b1 tests 2020-10-11 17:38:02 +01:00
Will McGugan
6d56cfad90 console out 2020-10-11 17:33:16 +01:00
Will McGugan
dd4a1d6c3a imports 2020-10-10 18:52:50 +01:00
Will McGugan
436e300573 blackify 2020-10-10 18:39:50 +01:00
Will McGugan
f4b3c8a2ab pager tests 2020-10-10 18:20:23 +01:00
Will McGugan
4310bc8ae8 add tests for style 2020-10-10 18:16:09 +01:00
Will McGugan
2f331818d0 replaced get_safe_box 2020-10-08 18:18:25 +01:00
Will McGugan
0d46163d90 test black 2020-09-30 09:52:32 +01:00
Will McGugan
2c783040e8 Console.bell 2020-09-30 09:34:12 +01:00
Will McGugan
6faa216656 traceback improvements 2020-09-26 15:56:27 +01:00
Will McGugan
0651310a89 capture 2020-09-23 15:53:41 +01:00
Sorin Sbarnea
60fde2a274 Fix broken HTML encoding
Missing to specify encoding can mess some clients which may break
the file encoding or render it incorrectly.

Example: file that loads ok locally, after upload to S3 gets broken
if the encoding is not mentioned in file.

Use of UTF-8 is a very good practice, but we still need to mention
it.
2020-09-19 14:11:43 +01:00
Will McGugan
97aa70c0a4 tests and docs 2020-08-25 10:32:58 +01:00
Will McGugan
bd1a091320 soft wrap 2020-08-24 18:37:36 +01:00
Will McGugan
dbdade899b skip test on windows 2020-07-27 17:33:51 +01:00