Commit Graph

194 Commits

Author SHA1 Message Date
Bo-Yi Wu
ca270b33c8
Fix can't call duration helper func (#104)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2021-07-03 12:39:54 +08:00
Bo-Yi Wu
882afee629
chore: upgrade drone template (#103) 2021-07-03 11:56:16 +08:00
Bo-Yi Wu
d5d27734b0 chore: revert to go1.15 2021-04-03 07:08:13 +08:00
Bo-Yi Wu
e0f4e9a9e4 chore: upgrade go module 2021-04-03 06:54:55 +08:00
Bo-Yi Wu
d6c3514a66 chore: upgrade to go1.16 2021-04-03 06:39:46 +08:00
vaaski
6dbb4b1735
add disable_notification parameter (#99) 2021-04-03 06:38:16 +08:00
Bo-Yi Wu
a91d132e3f chore: upgrade go module 2021-03-20 13:00:05 +08:00
Bo-Yi Wu
91cd4c1be5 chore(makefile): change gofmt toll to gofumpt 2021-01-14 21:15:06 +08:00
Bo-Yi Wu
7abe52fd7d chore: update to 1.15 2020-10-03 16:19:54 +08:00
Bo-Yi Wu
80f55d4df9 chore: remove build binary in mac 2020-10-03 15:58:42 +08:00
Bo-Yi Wu
9cab2d0e2b chore: add DISABLE_WEB_PAGE_PREVIEW docs 2020-10-03 15:40:53 +08:00
Bo-Yi Wu
d133c8b87c chore(notification): use linux-amd64 image
fixed https://github.com/appleboy/drone-telegram/issues/92

https://cloud.drone.io/appleboy/drone-telegram/143/2/4

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 10:37:35 +08:00
Bo-Yi Wu
390d4f4d5f chore: upgrade drone template
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 09:54:38 +08:00
Bo-Yi Wu
792e5b5eab refactor: DisableWebPagePreview
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 09:36:32 +08:00
Bo-Yi Wu
392621b9a5 refactor: DisableWebPagePreview
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 09:22:38 +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
Bo-Yi Wu
737043aa8d chore: update api import path
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-03 08:21:57 +08:00
Bo-Yi Wu
4c016c904c chore: upgrade to go1.15
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-09-26 12:45:51 +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
3bccad3ca8 chore(makefile): remove GOPACKAGE variable 2020-02-01 17:59:32 +08:00
Bo-Yi Wu
2c8ab1428b chore(drone): update default template.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-12-11 10:34:52 +08:00
Bo-Yi Wu
602b560c4d chore: update default template 2019-12-11 07:34:42 +08:00
Bo-Yi Wu
ba1db08ad2 chore: update default message in Drone CI/CD. 2019-12-11 07:24:10 +08:00
Bo-Yi Wu
e3fc3f805d docs: update docs 2019-12-07 13:26:50 +08:00
Bo-Yi Wu
44ac6f43de fix: testing 2019-12-07 13:03:59 +08:00
Bo-Yi Wu
5ac85a3412 chore: update socks5 message 2019-12-07 13:00:35 +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
7f8bd6ba04 chore: replace ADD with COPY 2019-11-23 21:51:46 +08:00
Bo-Yi Wu
0dc176a2ac docs: update badge 2019-11-23 21:50:20 +08:00
Bo-Yi Wu
2af2c10e0e chore: update appveyor for windows build 2019-11-23 21:48:06 +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
75ffa6ef7b docs: update diff format 2019-10-19 10:23:22 +08:00
Bo-Yi Wu
f529160760 fix: update build.started env 2019-10-13 02:09:01 +08:00
Bo-Yi Wu
1904582239 chore: testing the latest version 2019-10-12 23:42:47 +08:00
Bo-Yi Wu
f15615fb86 chore: add deployTo and author avatar env 2019-10-11 22:25:20 +08:00
Bo-Yi Wu
7564de8e0d fix: lint error 2019-10-11 20:54:47 +08:00
Bo-Yi Wu
41055d2adf chore: replace template library 2019-10-11 20:51:40 +08:00
Bo-Yi Wu
eaddfb222e fix: wrong commit message 2019-10-11 20:47:36 +08:00
Bo-Yi Wu
86b2493453 docs: update drone document. 2019-10-04 21:08:06 +08:00
Bo-Yi Wu
e13da09398 chore: remove microbadger 2019-09-29 13:05:53 +08:00
Bo-Yi Wu
5d8f84999a chore: testing send message 2019-09-26 00:39:41 +08:00