Will Hunt
468cc87b1d
Drop unused dependency
6 years ago
Will Hunt
149d66f995
Remove "url" from RSS metric
It's not really that useful
6 years ago
Jan Christian Grünhage
a9279d4a49
Merge pull request #233 from turt2live/travis/docker
Update Docker instructions to be more automated-build friendly
6 years ago
Jan Christian Grünhage
859eff4084
stop s6 when go-neb exits
6 years ago
Jan Christian Grünhage
e44cccb91d
change default user and use supervisor
6 years ago
Jan Christian Grünhage
fedc71a532
move to alpine 3.7
6 years ago
Travis Ralston
930861f695
Update the golang version used to build go-neb
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
f310d47969
Clean up the .dockerignore
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
8210b38516
Add ca-certificates to the docker image
This is to ensure that the bot can connect to homeservers behind ssl.
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
1177c25271
Convert Dockerfile to be a mutlistage build
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
65717f66ca
Update documentation to mention where to get the Docker image
This is assuming that it actually ends up on docker.io
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
d135be92f6
Update the Docker image for easier use of automated builds
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
Travis Ralston
1f6f77b675
Update .gitignore
Signed-off-by: Travis Ralston <travpc@gmail.com>
7 years ago
lub
8f635f573d
fix race condition for getting the godoc up
The godoc server can be reachable, but without content (throwing 404s). This prevented wget from scraping.
curl -f throws exit code != 0 for http status code != 200.
7 years ago
lub
d5c5a20d2b
change while to until loop
this suits our use-case better and needs less code
7 years ago
Richard Lewis
97bb890d38
Merge pull request #227 from matrix-org/michaelkaye/avoid_double_logging
Avoid double logging
7 years ago
Richard Lewis
8c1ac06ef7
Merge pull request #206 from t3chguy/github-reopen
add !github reopen cmd
7 years ago
Richard Lewis
4426490401
Merge pull request #221 from matrix-org/t3chguy/github_regex_tweaks_2
Linkify/Expand commits
7 years ago
Michael Kaye
2ed129054c
Update README.md to note about environment variable that controls logging
7 years ago
Michael Kaye
e51bdcf6ac
If we have a LOG_DIR, then disable standard stderr logging.
Currently we log everything to stderr AND to LOG_DIR, doubling log volumes.
7 years ago
Michael Telatynski
a31aaab46e
Linkify/Expand commits
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
746a8477e7
Improve [owner/repo]#issue expansion regex so that it is less greedy
and no longer matches #1a a#1 as a default match for #1 .
7 years ago
Michael Telatynski
aa00ab2322
fix typos
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
8f60839c77
DRY code - [NEEDS TESTING]
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
f9b708a31f
fix help message
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
dbda4d0119
add !github reopen cmd
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Matthew Hodgson
f1068a2014
Merge pull request #197 from t3chguy/moar-github-commands
Moar GitHub commands
7 years ago
Kegsay
90e8fd1682
Update README.md
7 years ago
Michael Telatynski
64328cbb53
change loop to better define its behaviour
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
c9eb00221e
escape title and login, to prevent XSS
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
1cc6d0315f
move variable definitions closer to usage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
2141a1a5dd
fix error wording, allow github search without auth
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
da576fa12d
add more aliases and throw them into the example in the usage
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
67c121a4b0
add github's weird padded heart emoji as alias
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
a440850ff1
add a bunch of reaction aliases
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
c774bb893b
update react cmd to use a string map for aliases
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
c85abe84da
update defaultRepo wording
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
2b570d9b6c
improve error from no default repo
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
e8a4b1eda5
error-check !github react before calling Github
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
b6fe6092ab
fix cmd usage messages
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
2da64f9fba
add !github assign and tidy !github help generation code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
c7ad22d4ee
DRY wrt cmd Usages
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
3a046cf3ad
add !github react
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
aa36440112
add !github close command
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
fd9e3a0957
fix error wording
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Kegsay
af0a709c58
Merge pull request #196 from t3chguy/moar-github-commands
adds the `!github comment` command
7 years ago
Michael Telatynski
58d6be0184
fix err shadowing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
b03b3fd0f5
factor out `requireGithubClientFor`
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Michael Telatynski
fd792f4499
adds the `!github comment` command
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
7 years ago
Kegsay
4845e810f1
Merge pull request #193 from rosston/giphy-downsized
Add ability to use downsized images from giphy
7 years ago