Alexander Panov
5d02e0f6b3
feat: add make backspace key work ( #242 )
...
Fixes : #241
2021-10-15 20:45:21 +02:00
Klemens Nanni
dc7bc806f5
Do not quote file paths passed to mailcap entries ( #239 )
...
The readme.md example itself uses double-quotes but tg still
shell-escapes/quotes filepaths.
Specifically, mailcap entries like
video/*; mpv --quiet --loop=inf '%s'; test=test -n "$DISPLAY"
would be passed quoted strings for `%s' and create bogus commands like
mpv --quiet ''/path with space.mp4''
effectively breaking the quotes.
Leave all quoting to mailcap entries and pass file paths unaltered
to prevent this.
NB: This is only a best-effort approach, i.e. file paths are still
shell-escaped in tg's Python code and then passed to NOTIFY_CMD et al.
expecting them to be interpreted by the shell.
It would be best to either
- pass literal file paths and message/title/etc. strings to external
commands such that they handle them (possibly being executed directly
without SHELL), or
- handle and format the entire command incl. its arguments in tg such
that correct escaping can be ensured.
Co-authored-by: Klemens Nanni <kn@openbsd.org>
2021-10-15 20:42:42 +02:00
Max
7511565358
show bot status ( #227 )
2021-05-26 11:04:32 +03:00
leisefuxX
f1d3294ac5
Update readme.md ( #228 )
...
fixed commandline arguments to play voice message with mpv
fixed typo in commandline argument to open received pictures
2021-05-26 11:01:13 +03:00
Paul Nameless
81bcb5e942
Fix dockerfile
2021-04-28 12:23:44 +03:00
Paul Nameless
9dacb30bfb
Update poetry.lock file
2021-04-28 11:40:42 +03:00
Paul Nameless
dadaad145f
Release v0.17.0
2021-04-27 20:51:49 +03:00
Paul Nameless
60ec88fac6
Update pyproject file
2021-04-27 20:47:17 +03:00
Paul Nameless
d2586155ea
Fix homebrew-repo release script
2021-04-27 08:34:58 +03:00
Paul Nameless
8f067d6905
Fix black formatting
2021-04-27 08:25:02 +03:00
Paul Nameless
2507e0f975
Update Dockerfile
2021-04-27 08:23:25 +03:00
Paul Nameless
ca9ff63d81
Release v0.16.0
2021-04-26 21:29:00 +03:00
Paul Nameless
6c126ab96a
Escape safely shell arguments for notify cmd
2021-04-26 21:28:44 +03:00
Paul Nameless
3843791b95
Update readme
2021-04-26 21:28:11 +03:00
Paul Nameless
7a0e2f826e
Add to script brew package creation
2021-04-26 21:28:00 +03:00
Nameless
da1f1d3514
Build docker image in CI ( #221 )
...
* Build docker image in CI
* Build docker image on any branch temporarely
* Update github actions
* Update github actions
* Update github actions
* Update github actions
* Update github actions
* Update readme
* Update github actions
2021-04-26 21:26:21 +03:00
Paul Nameless
e473ae7d47
Release v0.15.0
2021-04-24 19:18:38 +03:00
Paul Nameless
387062cc35
Remove shell=True when calling notify
2021-04-24 19:18:32 +03:00
Paul Nameless
b1db4d6672
Release v0.14.0
2021-04-24 19:02:06 +03:00
Paul Nameless
9765bc5263
Fix escape
2021-04-24 19:01:59 +03:00
Paul Nameless
70f8be1081
Release v0.13.0
2021-04-24 18:58:26 +03:00
Paul Nameless
f0e002c815
Escape safely shell arguments
2021-04-24 18:58:16 +03:00
Paul Nameless
01c755c165
Escape safely shell arguments
2021-04-24 18:51:07 +03:00
Paul Nameless
0a073fe33e
Fix CI
2021-04-23 20:49:22 +03:00
Paul Nameless
44e6b9fe9c
Update release script
2021-04-23 20:43:19 +03:00
Paul Nameless
c3bb91094f
Release v0.12.0
2021-04-23 20:39:57 +03:00
Paul Nameless
45ab2e6fc3
Use poetry instead of flit for publishing
2021-04-23 20:39:38 +03:00
Nameless
81d5cc0103
Fix new msg not shown ( #218 )
2021-04-23 20:36:41 +03:00
Paul Nameless
bba72ef534
Fix mypy
2021-04-22 11:38:02 +03:00
Paul Nameless
4d5d228e73
Release v0.11.0
2021-04-22 11:12:56 +03:00
Paul Nameless
5df6c65763
Fix release
2021-04-22 11:12:47 +03:00
Paul Nameless
6ee5041c26
Release v0.10.0
2021-04-22 11:08:28 +03:00
Paul Nameless
10d9969a06
Update mmake script
2021-04-22 11:07:00 +03:00
Paul Nameless
9433d47375
Add version to command line arg
2021-04-22 10:59:34 +03:00
Paul Nameless
a49c6cc619
Update script: delete changelog after release
2021-04-21 20:00:50 +03:00
Paul Nameless
57229e8d18
Release v0.9.0
2021-04-21 19:59:27 +03:00
Paul Nameless
ff636cfc44
Update script
2021-04-21 19:59:21 +03:00
Paul Nameless
cc8a7d0b3a
Add script for routines
2021-04-21 19:58:02 +03:00
Nameless
617badc1de
Do not fail if addstr raises error ( #214 )
...
* Do not fail if addstr raises error
* Fix black formatting
* Fix formatting of last_msg
* Add types
* Fix sort imports
2021-04-21 19:33:11 +03:00
Nameless
d78792e71e
Move cursor to the correct position for unicode characters when input msg ( #212 )
...
* Move cursor to the correct position for unicode characters when input msg
* Fix black formatting
2021-04-21 14:55:24 +03:00
Nameless
20273fd068
Bump python-telegram version ( #213 )
2021-04-21 14:54:49 +03:00
Paul Nameless
0b28232bb0
Increase mypy version
2021-04-21 10:17:49 +03:00
Paul Nameless
30e81e89b3
Fix black formatting
2021-04-21 09:53:58 +03:00
Paul Nameless
edf78f277d
Release 0.8.0
2021-04-21 09:45:48 +03:00
Nameless
c7b08b3efa
Chux0519/master ( #211 )
...
* patch td 1.6.0
* pathced for td 1.6.10
* Fix black formatting
* Fix type formatting
Co-authored-by: hexyoungs <chuxdesign@hotmail.com>
2021-04-19 11:03:55 +03:00
Nameless
1cd023afc1
Quote filename path for mailcap ( #208 )
...
* Quote filename path for mailcap
* Fix formatting
2021-02-22 10:11:54 +02:00
Yurii H
4190da13f8
Add Wayland COPY_CMD to default config ( #203 )
2021-02-22 09:49:57 +02:00
Yurii H
8ad6d919d7
Fix git link in README.md ( #204 )
2021-02-22 09:49:20 +02:00
Bogdan Rodionov
039ce859b7
Update readme.md ( #196 )
...
Adding keybinding 'D' for download file
2021-02-22 09:48:35 +02:00
Paul Nameless
06f7c5bac3
Merge branch 'master' of https://github.com/paul-nameless/tg
2020-11-23 14:11:38 +02:00