Commit Graph

180 Commits

Author SHA1 Message Date
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
Bo-Yi Wu
31944fe6c9 docs: markdown lint 2019-09-25 22:24:06 +08:00
Bo-Yi Wu
fe44d6f9a2 fix: testing 2019-09-25 21:59:11 +08:00
Bo-Yi Wu
b6fad392f8 fix: testing 2019-09-25 21:40:51 +08:00
Bo-Yi Wu
572cabb9c8 chore: fix location message 2019-09-25 21:37:18 +08:00
Bo-Yi Wu
27b2f70f8a debug
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 21:31:00 +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
e6bc04f39c upgrade to go1.13
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:43:28 +08:00
Bo-Yi Wu
3d2c9a75cf docs: update windows base image. 2019-03-24 22:15:03 +08:00
Bo-Yi Wu
d66e07c53d docs: Add windows badge 2019-03-24 22:08:55 +08:00
Bo-Yi Wu
2b5a521447 feat: support windows image 2019-03-24 22:07:18 +08:00
Bo-Yi Wu
442708dd05
fix #72 null point for bot (#73)
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-05 12:33:54 +08:00
Bo-Yi Wu
197bad6faf docs: update build section
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-03-04 16:07:50 +08:00
Bo-Yi Wu
c80f626d19 chore: update golang to 1.12 2019-02-27 14:41:54 +08:00
Bo-Yi Wu
c406a8bc9b Fix manifest template helper
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-02-26 09:22:27 +08:00