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 |
rosston
|
39d91b721b
|
Add ability to use downsized images from giphy.
|
7 years ago |
Robert Swain
|
79131f19c2
|
Merge pull request #188 from matrix-org/rob/docker
Dockerfile and docker image build script
|
7 years ago |
Robert Swain
|
2d581581bc
|
README.md: Add notes on docker image
|
7 years ago |
Robert Swain
|
c34b32647a
|
Add Dockerfile and docker image build script
|
7 years ago |
Kegan Dougal
|
ed085d6349
|
Turn off gzipping; this should really be a config option
|
8 years ago |
Kegsay
|
01a5a3fc88
|
Merge pull request #176 from matrix-org/kegan/rss-limits
Increase the max number of GUIDs we keep per RSS feed
|
8 years ago |
Kegan Dougal
|
38ef6c591d
|
Increase the max number of GUIDs we keep per RSS feed
Some feeds have >1k items such as:
- https://dashboard.downdetector.com/events/qfu1JvvwVwYf1OvgvORuD4HQMt5xMF2Y/217:405-5025.xml
If Go-NEB tracks this feed, it will continually send N-1000 items into
the matrix room because it doesn't remember all the GUIDs. This is only
a hack to fix this problem for now, to avoid DoSing Synapse.
|
8 years ago |
Matthew Hodgson
|
7a234d16a4
|
better log msg
|
8 years ago |
Kegsay
|
9ebd11262c
|
Merge pull request #162 from matrix-org/kegan/jsonresponse
Use util.JSONResponse
|
8 years ago |
Kegan Dougal
|
7a643a0711
|
Comment the return args on getWebhook
|
8 years ago |
Kegan Dougal
|
302a0238e2
|
Update go-neb to use util.JSONResponse
|
8 years ago |
Kegan Dougal
|
9b349b12f4
|
Update util dep to pull in util.JSONResponse
|
8 years ago |
Richard Lewis
|
6112d7e8d6
|
Merge pull request #160 from matrix-org/rxl881/wikipedia
Comment struct fields (specifically map keys)
|
8 years ago |
Richard Lewis
|
7314554c1c
|
Comment struct fields (specifically map keys)
|
8 years ago |
Richard Lewis
|
d108e8c6a6
|
Merge pull request #159 from matrix-org/rxl881/wikipedia
Wikipedia bot
|
8 years ago |
Richard Lewis
|
ec97260b18
|
Comments to show intended structure use
|
8 years ago |
Richard Lewis
|
7cb153d0d0
|
Automatically follow redirects
|
8 years ago |
Richard Lewis
|
7551e730db
|
Improve code readability & general cleanup
|
8 years ago |
Richard Lewis
|
37b234c9d2
|
Fix tests
|
8 years ago |
Richard Lewis
|
fb52354461
|
Cleaned up string formatting
|
8 years ago |
Richard Lewis
|
d448b04a3f
|
Merge branch 'master' of github.com:matrix-org/go-neb into rxl881/wikipedia
|
8 years ago |
Richard Lewis
|
34c4874acd
|
Name wikipedia query struct, message formatting, fix tests
|
8 years ago |
Richard Lewis
|
c326029a22
|
Merge pull request #158 from matrix-org/imgur
Imgur image search bot
|
8 years ago |
Richard Lewis
|
74751cb219
|
Initialise struct literals with boolean pointers, using anonymous functions
|
8 years ago |
Richard Lewis
|
fef5fb5deb
|
Clean up code style
|
8 years ago |
Richard Lewis
|
808bc2f3ad
|
Add a comment to explain temporary storage as RawMessage objects
|
8 years ago |
Richard Lewis
|
1ced308b56
|
Use boolean references
|
8 years ago |
Richard Lewis
|
790e6586b4
|
Improve string formatting
|
8 years ago |