Devin Dooley
533451cb2f
Correct alertmanager webhook_url and GeneratorURL examples
5 years ago
Nikos Filippakis
1e297c50ad
Re-format project as a Go module ( #310 )
* Define project as a Go module and update dependency versions
Signed-off-by: Nikos Filippakis <me@nfil.dev>
* Update docs, configs and dockerfile to use latest Go version
Signed-off-by: Nikos Filippakis <me@nfil.dev>
* Add postgres database driver
Signed-off-by: Nikos Filippakis <me@nfil.dev>
5 years ago
Nikos Filippakis
69e0d1bc39
RSS show author & ability to filter items ( #311 )
* Show author of RSS feed item if available
closes #298
Signed-off-by: Nikos Filippakis <me@nfil.dev>
* Filter RSS feed items by keywords
closes #236 , closes #296
Signed-off-by: Nikos Filippakis <me@nfil.dev>
5 years ago
Kegsay
8b577f6875
Merge pull request #285 from matrix-org/anoadragon453-patch-1
Use feed's title if item does not have one
5 years ago
Kegan Dougal
d9213d61a4
Make it compile
5 years ago
Richard van der Hoff
f4686c0402
Add a 'SilenceURL' for the alertmanager templates ( #305 )
The intention is that this URL can then be referenced from the HTML template in
the service to provide a handy link to set up a silence.
5 years ago
Richard van der Hoff
24819dabe1
Better error handling for the alertmanager service ( #306 )
* when there is a problem with the templates in the service, say what the
problem is.
* when there is a problem interpolating the template, log the error and return
a 500.
5 years ago
Jason Robinson
76750b1e7b
Merge pull request #294 from matrix-org/jaywink/add-alertmanager-config-example
Add an example Alertmanager config
5 years ago
Travis Ralston
f5930000b2
Merge pull request #253 from matrix-org/michaelkaye/upgrade-go
Update build system
5 years ago
Jason Robinson
436c107633
Add an example Alertmanager config
For when running in config file mode. The same example can be used
to manually insert into the SQLite database or figure out
how to use the services API to configure Alertmanager service
Refs: #264
Signed-off-by: Jason Robinson <jasonr@matrix.org>
6 years ago
Jason Robinson
bc6cad9a91
Merge pull request #288 from vranki/vranki/add-spaces-to-url
Add spaces between URL and parenthesis
6 years ago
Ville Ranki
7e0f2f6196
Add spaces between url and parenthesis
6 years ago
Andrew Morgan
5188df5d0e
Don't mutate the passed in attribute
6 years ago
Andrew Morgan
0bf5586881
Use feed's title if item does not have one
This prevents a link from not being shown if an item's title could not be extracted.
Workaround(?) fix for matrix-org#284.
6 years ago
Andrew Morgan
6f1879f359
Fix mismatching types error ( #277 )
6 years ago
thomas-profitt
4febdd6330
Improve formatting of RSS posts ( #269 )
Better on clients that don't support formatting and doesn't waste space on those that do.
6 years ago
Michael Kaye
2938b1bd22
Make golint happy
6 years ago
Michael Kaye
27f21740c4
Update build process
Move to go 11
Ensure we lint as part of docker build.
6 years ago
Jan Christian Grünhage
793f79ec77
Merge pull request #249 from matrix-org/jcgruenhage/alertmanager
alertmanager support
6 years ago
Travis Ralston
216252507b
Merge pull request #231 from lub/gendoc
fix race condition in doc generation
6 years ago
Jan Christian Grünhage
02c0c80a20
alertmanager support
6 years ago
Travis Ralston
a9c1b7837b
Merge pull request #247 from mujx/invalid-html
Fix invalid HTML on bot message when a branch is deleted
6 years ago
Konstantinos Sideris
408fd35c3d
Fix invalid HTML on bot message when a branch is deleted
6 years ago
Will Hunt
8ddfa82dd6
Merge pull request #243 from matrix-org/hs/remove-rss-url-metric
Remove "url" from RSS metric
6 years ago
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
7 years ago
Jan Christian Grünhage
859eff4084
stop s6 when go-neb exits
7 years ago
Jan Christian Grünhage
e44cccb91d
change default user and use supervisor
7 years ago
Jan Christian Grünhage
fedc71a532
move to alpine 3.7
7 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