dependabot[bot]
ae696b96b1
Bump black from 20.8b1 to 24.3.0
...
Bumps [black](https://github.com/psf/black ) from 20.8b1 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases )
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md )
- [Commits](https://github.com/psf/black/commits/24.3.0 )
---
updated-dependencies:
- dependency-name: black
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-20 15:54:08 +00:00
Kevin Chan
2b0c0cf199
mitigation for CVE-2015-20107 ( #271 )
...
Fixes: https://github.com/paul-nameless/tg/issues/270
Co-authored-by: Kevin Chan <a.aacdx@gmail.com>
2022-08-08 15:20:52 +00:00
Paul Nameless
49981d1247
Fix code formatting
2022-04-21 13:11:01 +04:00
Paul Nameless
965045f714
Use Taskfile instead of bash scripts
2022-04-21 13:10:48 +04:00
Paul Nameless
262672c331
Release v0.19.0
2022-04-21 12:58:11 +04:00
Paul Nameless
ab082d1b9b
Bump version of python-telegram to 0.15.0
2022-04-21 12:55:43 +04:00
Paul Nameless
2a809fb8fb
Release v0.18.0
2022-04-20 17:14:01 +04:00
Andrey Androsov
7f9dd9b829
Update to TDLib 1.7.10 ( #259 )
2022-04-20 17:04:04 +04:00
Borys Kabakov
c2f5fca2f1
Update readme.md ( #251 )
...
https://github.com/paul-nameless/tg/issues/222
2021-12-02 18:41:12 +01:00
JingMatrix
eb15f3ea4c
Fix sticker view ( #244 )
...
The filepath of a sticker is stored in the key "file".
2021-10-31 18:46:49 +01:00
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