48 Commits

Author SHA1 Message Date
Râu Cao
710bd90172
Update and adapt for new kredits contracts release 2022-10-31 13:01:29 +01:00
b7ff55929c Use new ethers.js NonceManager to handle transaction nonces
So far we have failed to globally handle the transaction nonces.
The new ethers.js v5 comes with a NonceManager that helps us handling
transaction nonces and automatically increases the nonce for each
transaction.
2020-06-27 18:24:44 +02:00
164782bd25
Only load Zoom integration when JWT configured 2020-04-16 12:18:52 +02:00
110c4384e0 Autoload zoom integration 2020-04-15 21:51:02 +02:00
1f1053e289
Remove apm address from options
It's already the default in the contracts module.
2019-08-27 12:37:50 +02:00
84f20efff0
Add ENV var for custom DAO address
This makes it much easier to test hubot-kredits with local development
chains.
2019-08-27 12:19:01 +02:00
840fcf9d25
Add commented setting for custom local DAO address 2019-04-28 13:01:33 +01:00
fb1b10d2a3
Merge pull request #31 from 67P/feature/24-gitea
Add Gitea integration
2019-04-24 14:25:06 +01:00
c03da5659f
Remove network ID setting
Not needed anymore.
2019-04-24 13:34:00 +01:00
5a9edda1cd
Add Gitea integration
Support for Gitea organization hooks, based on GitHub hooks code.

closes #24
2019-04-24 13:27:18 +01:00
f39bd41098
Create contributions instead of proposals 2019-04-05 19:52:48 +02:00
21aaf2f3bf
Use kredits-contracts from npm, update provider setup 2019-04-05 17:02:33 +02:00
7056772066
Fix function name for logger warning 2019-04-05 16:03:48 +02:00
b38e6faf8a Prepare for kredits-contracts update
Also updates ethers.js to v4.x
2019-03-31 17:09:58 +02:00
417eb42905 Add README/documentation 2018-04-22 13:20:08 +02:00
48a42d4f2c Improve logging 2018-04-19 14:37:21 +02:00
c0c2f97dae Add MediaWiki integration basics 2018-04-19 12:32:03 +02:00
e8da47db70 Use relative path for integration module 2018-04-19 12:10:44 +02:00
462efcefbd Use robot.logger 2018-04-19 12:10:34 +02:00
5259b56e53 Split out integrations, add code section comments 2018-04-19 11:50:59 +02:00
eecfa7e8f2 Improve variable assignment 2018-04-19 11:35:09 +02:00
5d76b2dead Revert "minor refactorings"
This reverts commit 8c481179b4387eb74b9584adf5cc189a5be5fcf3.
2018-04-19 11:34:47 +02:00
22cb49df2d Add missing network id documentation 2018-04-19 01:08:03 +02:00
8c481179b4 minor refactorings 2018-04-19 01:01:33 +02:00
2be3d4e8e3 Improve room messages a bit
And don't notify everyone for every contribution.
2018-04-19 00:44:12 +02:00
f4b484ed5a Improve logging
Add prefix, some formatting
2018-04-19 00:42:50 +02:00
e4fb97c0c9 Better message for new proposal notifications 2018-04-19 00:21:48 +02:00
3fe6dfb2ce properly handle github webhooks 2018-04-19 00:13:42 +02:00
9dc1ece94f Working kredits-contract integration 2018-04-18 22:54:41 +02:00
e99addf37e Use kredits-contracts from truffle-kredits 2018-04-18 20:50:43 +02:00
050e8ce79f WIP update to use new kredits library
Using the new kredits library to load contract data and create
proposals.
currently the kredits lib is only copied - which needs to be removed
asap.
2018-04-18 16:27:22 +02:00
94baf62c51 Notify channel from ProposalCreated event
This handles incoming events (for now only ProposalCreated, but easy to
extend), and moves the channel message for new proposals to the event
handler, so that they're being announced for all proposals, including
those created manually from kredits-web for example.
2017-06-20 18:59:58 -07:00
582f6b7f5a Use/store IPFS metadata for people and proposals
closes #3
closes #4
2017-06-08 21:10:22 +02:00
b1ea520fdf Improve wording, add URLs 2017-05-13 17:05:08 +02:00
7d8c6032c9 Fix payload parsing 2017-05-13 16:36:48 +02:00
f54e124dba Fix diverging webhook object structure
No idea why, but on the server, all data is contained within a single
'payload' property, while I've never seen any such property on my
machine. Could be different node or express versions, but in any case,
this should fix it so that it just works no matter what.
2017-05-13 15:47:35 +02:00
6ca1254c9a Fix GitHub POST handler
1. robot.logger.debug didn't show any output
2. Send response for all requests
2017-05-13 15:14:22 +02:00
0203cb1a62 Fix typo 2017-05-12 14:02:46 +02:00
82fe54b90a Fix string interpolation 2017-05-12 13:58:05 +02:00
17543cb67b Return ether instead of wei 2017-05-12 01:39:27 +02:00
cae2bd84b2 Ask for balance 2017-05-12 01:28:14 +02:00
98a3ee087b Use robot.logger instead of console logs 2017-05-11 18:11:33 +02:00
217219fc68 It works! 2017-05-06 22:12:17 +02:00
1df79cbec5 Make kredits contract address configurable
Useful with local dev chains.
2017-05-06 19:41:00 +02:00
ae453882a3 Formatting and todo note 2017-05-06 16:06:24 +02:00
b4186d5062 Some formatting and fixes 2017-05-06 14:58:21 +02:00
6b67c04e0a integrate kredits contract to add proposals 2017-05-05 20:22:08 +02:00
ddd4f87799 Base functionality
Does everything except actually creating kredits proposals.
2017-05-02 17:06:04 +02:00