Bo-Yi Wu
ab44454733
chore: remove trim \n from message ( #105 )
2021-07-12 15:17:02 +08:00
vaaski
6dbb4b1735
add disable_notification parameter ( #99 )
2021-04-03 06:38:16 +08:00
Bo-Yi Wu
9cab2d0e2b
chore: add DISABLE_WEB_PAGE_PREVIEW docs
2020-10-03 15:40:53 +08:00
Bo-Yi Wu
dc17cf7288
refactor: DisableWebPagePreview
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 09:20:17 +08:00
Dmitry Bolotin
f021aab825
Option to load tempate variables from json file ( #98 )
2020-09-17 06:52:42 +08:00
Bo-Yi Wu
47352c6cca
test: Using since in custom template
...
See https://github.com/appleboy/drone-telegram/issues/89
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-07-21 10:28:43 +08:00
Bo-Yi Wu
ee0358892d
chore: support for kubernetes runner ( #96 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-07-01 16:45:55 +08:00
Bo-Yi Wu
153fe2cb01
chore: move load .env file to top. ( #94 )
2020-07-01 06:40:04 +08:00
Bo-Yi Wu
ce15798a06
chore: update message format
2020-06-20 13:51:48 +08:00
Bo-Yi Wu
79e531f648
chore: support github parameter
2019-12-07 12:39:27 +08:00
icecream78
abba2cb37d
Add socks5 proxy to plugin ( #87 )
2019-12-07 11:29:47 +08:00
Bo-Yi Wu
fe798d95b2
chore: update github actions variable
2019-11-02 14:37:46 +08:00
Daniel M. Lambea
ace08f12b9
Unescape html entities ( #85 )
...
* Create a constant for 'markdown' formatting style, to reduce duplicated strings and make the code less error-prone
* Unescape HTML entities from text messages
2019-10-30 19:50:31 +08:00
Daniel M. Lambea
b7f97df101
Add support for generic templates by using custom extra vars ( #84 )
...
* Fix DOCS.md example configuration with custom message from file
* Move .test.message to a better named file
* Add support for additional, custom extra vars to be used in the message template
* Add cmdline/envvars to support the extra vars
* Enhance DOCS.md with example configuration using generic template file with custom vars
* Add testcase for custom template vars
2019-10-29 10:57:00 +08:00
kolaente
866e25b433
Fix using datetime in custom template ( #83 )
...
Revert f529160760
2019-10-22 23:46:44 +08:00
Daniel M. Lambea
f8f311ba1f
Add support for auxiliary message file ( #81 )
...
* Add support for external message loaded from the file specified in Config.MessageFile
* Enable the message file option in command line/env vars
* Update docs
* Add a testcase
* Fix YAML tag in DOCS.md from 'messageFile' to 'message_file', as is commonly used in Drone
* Remove unintended blank line
* Move .test.message file to tests/ folder
2019-10-22 23:44:50 +08:00
Bo-Yi Wu
f529160760
fix: update build.started env
2019-10-13 02:09:01 +08:00
Bo-Yi Wu
f15615fb86
chore: add deployTo and author avatar env
2019-10-11 22:25:20 +08:00
Bo-Yi Wu
8f0c041de8
support github action
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:46:25 +08:00
Bo-Yi Wu
2aee0589c9
feat(env): support multiple env
2019-02-19 22:07:32 +08:00
Bo-Yi Wu
9b8c7c6445
remove build num
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-02-19 10:53:06 +08:00
Bo-Yi Wu
4cacf0f558
fix: compatible with 0.8
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-02-19 09:05:13 +08:00
Bo-Yi Wu
71a0551697
feat(GitHub): support default message
2019-02-17 16:03:10 +08:00
Bo-Yi Wu
861d6e1adb
feat: add some env from github action
2019-02-17 15:39:47 +08:00
Bo-Yi Wu
2ccf302b69
feat: support GitHub Action.
2019-02-17 15:30:24 +08:00
Bo-Yi Wu
439e9b13c2
add debug env
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-02-17 12:19:32 +08:00
Bo-Yi Wu
f267e5254a
show message with fatal
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2018-07-28 08:31:33 +08:00
Bo-Yi Wu
8b5adb6493
feat(docker): Add build number.
2017-12-19 10:12:27 +08:00
Bo-Yi Wu
f22326b26a
feat(logs): show logs if send error. ( #55 )
...
* feat(logs): show logs if send error.
2017-12-18 15:16:10 +08:00
Rafael Bodill
6f651a91d2
Decouple 'commit' object and add commit.link ( #51 )
...
* Decouple commit out from build and add commit.link
* Fix tests for Commit decouple
* Update documentation for Commit decouple
2017-09-11 12:34:47 +08:00
Rafael Bodill
709c4ce6a8
Add feature to toggle web-page preview ( #52 )
2017-09-11 12:03:19 +08:00
Bo-Yi Wu
036ec04567
add new env. ( #46 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2017-07-10 03:10:39 -05:00
Bo-Yi Wu
ab3463be19
add DRONE_PULL_REQUEST env.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-12-02 21:13:58 +08:00
Bo-Yi Wu
70655117a2
support tag string.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-24 09:37:19 +08:00
Bo-Yi Wu
b688f301ba
update Version comment.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-19 22:33:55 +08:00
Bo-Yi Wu
ac32848570
support load env from file.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-12 16:51:14 +08:00
Bo-Yi Wu
eee4278af4
add ONLY_MATCH_EMAIL boolean flag
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-09 10:35:55 +08:00
Bo-Yi Wu
dc6dc4a444
Support send notification to commit author by check email.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-11-04 09:38:21 +08:00
Bo-Yi Wu
e2fc930461
support handlebar template
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-31 09:57:34 +08:00
Bo-Yi Wu
693f15783c
Support Venue Message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-14 03:33:44 -05:00
Bo-Yi Wu
b52dcfe9c2
Support Video Message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-14 02:38:08 -05:00
Bo-Yi Wu
3f25341c8b
Support Location Message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-14 02:21:12 -05:00
Bo-Yi Wu
1142360e53
Support Voice Message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-14 01:04:34 -05:00
Bo-Yi Wu
8c0a2a65dc
Support Audio message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-14 01:04:34 -05:00
Bo-Yi Wu
57468ba50b
Support Send with New Sticker.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-08 21:19:30 -05:00
Bo-Yi Wu
6cdfb8ba10
fix wrong name.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-07 09:09:37 -05:00
Bo-Yi Wu
dfd91c671b
Support Send with New Document.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-07 09:09:37 -05:00
Bo-Yi Wu
fd83eb04f4
support send photo message.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-07 03:02:29 -05:00
Bo-Yi Wu
2e602c4560
support markdown and html format.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-06 12:00:05 -05:00
Bo-Yi Wu
82886172dd
rename token name.
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2016-10-04 22:34:20 +08:00