Commit Graph

658 Commits

Author SHA1 Message Date
Marcin Kulik
cc73910933 Upgrade Docker image to Ubuntu 18.04 2019-01-12 20:32:48 +01:00
Marcin Kulik
774a18d36b Fix Docker image build 2019-01-12 20:12:30 +01:00
Marcin Kulik
ef2a0f2d18 Move Docker installation option lower - it's not very useful anyway 2019-01-12 20:08:02 +01:00
Marcin Kulik
c56027a143 Merge branch 'release/2.0.2' into develop 2019-01-12 19:58:59 +01:00
Marcin Kulik
08a2e0908c Bump version 2019-01-12 19:58:20 +01:00
Marcin Kulik
d5ac6b618e Update changelog 2019-01-12 19:55:50 +01:00
Marcin Kulik
accc117049 Add PyPi tag for Python 3.7 2019-01-12 19:54:59 +01:00
Marcin Kulik
0cec6ab2dd Prefer full message over just URL in upload response 2019-01-12 18:38:46 +01:00
Jean-Philippe Ouellet
f734ee8583 Stop exiting needlessly on plain "C" locales
Without setting a specific *.UTF-8 locale, things default to C,
which uses a US-ASCII character encoding.

Default installs of at least OpenBSD (and likely other systems)
fall into this category, and asciinema refuses to run at all.

This is **ascii**nema after all... it should support ascii!
2018-12-08 19:25:07 +01:00
Bachynin Ivan
2fefacec92 change "how to stop recording" info message
print old message if command wasn't specified, print "exit opened program when you're done" otherwise
+ slight refactoring (sort imports, wrap long line)
2018-12-08 19:19:31 +01:00
Bachynin Ivan
25952127e1 add better gitignore file
from github's gitignores collection https://github.com/github/gitignore/blob/master/Python.gitignore
2018-12-08 19:19:31 +01:00
Marcin Kulik
8a21e6b1ad xenial + sudo are required for testing on Python 3.7 and 3.8-dev 2018-12-08 19:11:52 +01:00
Marcin Kulik
99a20f0ae9 Test on Python 3.7 and 3.8-dev 2018-12-08 19:05:21 +01:00
Marcin Kulik
7b9c8298b4 Fix pycodestyle (pep8) errors 2018-12-08 19:02:13 +01:00
Marcin Kulik
ac1f970a0d Request JSON for upload response 2018-12-02 17:31:58 +01:00
Marcin Kulik
7b7f19ea97 Move terminal dimensions detection to asciinema.term module 2018-11-28 19:59:29 +01:00
Marcin Kulik
20b8565708 Refactor recording 2018-11-25 18:30:44 +01:00
Crestwave
dde85a6096 Add long_description, data_files and test_requires to setup.py 2018-11-16 22:34:24 +01:00
Marcin Kulik
1d5ea44e83 Use SVG in demo image link 2018-11-14 09:09:18 +01:00
Ingo Blechschmidt
004b34b37b Fix a couple of tiny typos 2018-10-22 21:59:10 +02:00
Marcin Kulik
d4d0480c4f Remove snap installation method since it's unmaintained ATM 2018-09-10 09:15:10 +02:00
Yun
27b52eb99b Edit README.md 2018-07-08 11:44:31 +02:00
Fredrik Fornwall
49a892d9e6 Add a fallback when multiprocessing is unsupported
On platforms (Android) where multiprocessing is not supported we now
use threads instead. Fixes #271.
2018-04-09 08:57:56 +02:00
Marcin Kulik
8c7e3c2465 Merge branch 'release/2.0.1' into develop 2018-04-04 09:12:05 +02:00
Marcin Kulik
48e5dbf949 Bump version 2018-04-04 09:03:10 +02:00
Marcin Kulik
de7aaa4964 Update changelog 2018-04-04 08:47:12 +02:00
Marcin Kulik
7fa2cdc62f Fix new test under python < 3.6 2018-03-04 10:42:58 +01:00
Marcin Kulik
58cf009314 Move timestamp rounding from async_writer to writer 2018-03-03 22:26:21 +01:00
Marcin Kulik
99ebd1685c Fix location of config dir 2018-03-03 21:05:43 +01:00
Marcin Kulik
8f7d2fd149 Move incremental utf-8 decoding from async_writer to writer 2018-03-03 20:03:02 +01:00
Marcin Kulik
74ffd27a61 Fix pep-8 style violations 2018-03-01 21:05:30 +01:00
Marcin Kulik
96ea4e735e Refactor frames module into events module 2018-03-01 20:53:54 +01:00
Marcin Kulik
b9003a1a9c Separate simple writer from async_writer 2018-03-01 20:53:54 +01:00
Marcin Kulik
601e534bff Add events method to Asciicast class 2018-03-01 20:53:54 +01:00
Marcin Kulik
c7acff2ac9 Expose v2_header on asciicast object 2018-03-01 20:53:54 +01:00
Josh Holland
35afc04387 Swap TERM and SHELL in v2 file format example 2018-02-19 22:55:04 +01:00
delirious-lettuce
52a33b764b Use encodebytes instead of encodestring (deprecated since Py 3.1) 2018-02-19 09:48:36 +01:00
Marcin Kulik
f3fecec1b8 Bump version v2.0.0 2018-02-10 22:36:56 +01:00
Marcin Kulik
a96feb7f19 Update changelog 2018-02-10 22:35:24 +01:00
Marcin Kulik
f4d9e997af Actually use Python 3.7-dev as Travis hasn't updated it 2018-02-06 19:59:16 +01:00
Marcin Kulik
29efd8e4df Start testing on Python 3.7 2018-02-06 19:52:41 +01:00
Marcin Kulik
ae5ad09739 Drop official support for Python 3.3 2018-02-06 19:52:31 +01:00
Marcin Kulik
faced69c75 More precise wording about config dir location 2018-02-06 18:41:58 +01:00
Marcin Kulik
af6da12680 Generate man page from markdown via pandoc
Thanks @KurtPfeifle!

Closes #247
2018-02-05 21:58:48 +01:00
Marcin Kulik
e57e4c5ab6 Words 2018-02-05 21:40:37 +01:00
Marcin Kulik
1bf09ce088 Improve consistency of the wording of displayed messages 2018-02-04 13:45:00 +01:00
Amr Mohamed
37c645bb18 Add --overwrite option to rec
Closes https://github.com/asciinema/asciinema/issues/249

Add overwrite option to overwrite the recording file if it exists.
The overwrite flag overrides the append option.
2017-12-12 21:30:08 +01:00
Marcin Kulik
41c84158b4 Use ipfs.io instead of gateway.ipfs.io
As suggested by @lgierth
2017-12-04 00:45:05 +01:00
Marcin Kulik
331dcf497f Keep UUID out of config file and call it "install ID"
We referred to this locally generated UUID as "API token" which was wrong,
because it doesn't have any special API powers, and is only used to link local
machine with uploaded recordings, so they can later be associated with
asciinema.org account.

It's more of device token or installation ID in nature, so let's call it
"install ID" for short, and keep it at ~/.config/asciinema/install-id.

Keeping it in automatically created config file also turned out to be not the
best idea - the config was mixing user preferences with local, device specific
state, preventing easy publishing of the config (for example in a public
dotfiles repository).
2017-12-04 00:25:50 +01:00
Marcin Kulik
b7231c2872 Handle whole group of OS errors instead of only FileNotFoundError when uploading 2017-12-02 22:30:21 +01:00