146 Commits

Author SHA1 Message Date
53dee63a76 Add env variable for session secret 2019-08-27 15:30:30 +02:00
97ec6ce9bc Add KREDITS_DAO_ADDRESS to readme 2019-08-27 15:22:38 +02:00
342a5cd829 Add gasLimit option when adding contributor 2019-08-27 13:16:43 +02:00
45064df737
Fix wrong logger function call 2019-08-27 12:57:36 +02:00
d9a9ad7793
Update deps
Fixes security vulns
2019-08-27 12:51:31 +02:00
d65e92e1fe
Merge branch 'master' into feature/github-signup 2019-08-27 12:39:15 +02:00
0fff3b1db0
Merge pull request #43 from 67P/feature/custom_dao_address
Add ENV var for custom DAO address
2019-08-27 12:38:45 +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
cd8343516f
3.3.1 v3.3.1 2019-08-14 15:42:23 +02:00
Greg Karékinian
41c5903cf5
Merge pull request #42 from 67P/chore/mediawiki_small_threshold
Change threshold for small wiki contributions
2019-08-14 12:51:48 +02:00
9a4dc43aa5
Change threshold for small wiki contributions
Turns out 280 is a bit low. Let's try 500 instead.
2019-08-14 12:46:19 +02:00
082bf4848d Minor changes 2019-07-26 20:50:36 +02:00
41dd813eaf Replace custom CORS header solution with middleware 2019-07-26 20:48:20 +02:00
b35cbcc63a Finish implementation of GitHub signup oracle 2019-07-26 04:15:11 +02:00
137e9eb4ed Add initial implementation of the GitHub signup oracle 2019-07-11 15:44:58 +02:00
67fd9ff031
3.3.0 v3.3.0 2019-05-08 16:45:55 +02:00
800950ebc5
Merge pull request #39 from 67P/feature/38-label_mappings
Map issue/PR labels to contribution kind
2019-05-08 16:42:05 +02:00
98ccae96f0
[gitea] Use labels for contribution kind 2019-05-08 16:16:40 +02:00
e6730802f6
Use proper syntax for sending HTTP status
Fixes deprecation warnings for the old syntax.
2019-05-08 16:14:41 +02:00
d2976b312e
Create utility modules for label processing 2019-05-08 16:14:41 +02:00
d2feee8b14
[github] Use labels for contribution kind 2019-05-08 16:14:24 +02:00
a5acf466a4
3.2.1 v3.2.1 2019-04-30 10:41:50 +01:00
Greg Karékinian
f1bb5b391d
Merge pull request #35 from 67P/bugfix/33-gitea_issue_id
Fix wrong Gitea issue IDs/URLs
2019-04-30 10:26:21 +02:00
840fcf9d25
Add commented setting for custom local DAO address 2019-04-28 13:01:33 +01:00
c390fc9ce7
Fix Gitea issue ID/URL being wrong
Internal issue IDs are different from the public ones in Gitea. The one
used in URLs etc. is called "number" instead of "id" in hook payloads.

fixes #33
2019-04-28 13:01:09 +01:00
23033b3813
3.2.0 v3.2.0 2019-04-24 14:25:51 +01:00
fb1b10d2a3
Merge pull request #31 from 67P/feature/24-gitea
Add Gitea integration
2019-04-24 14:25:06 +01:00
d3b97d9129
Update kredits-contracts
Includes the Gitea accounts in profiles
2019-04-24 14:24:21 +01:00
d2f487b379
Merge pull request #32 from 67P/chore/remove_network_id_config
Remove network ID setting
2019-04-24 13:06:39 +00:00
ca9732c333
Add Gitea info to README 2019-04-24 13:38:16 +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
2a3077d733
3.1.2 v3.1.2 2019-04-17 11:14:11 +01:00
1255d7ce19
Fix another wrong const 2019-04-17 11:13:49 +01:00
d9e09ce041
3.1.1 v3.1.1 2019-04-17 09:38:19 +01:00
a0f982432e
Fix syntax error (variable re-assignment) 2019-04-17 09:38:00 +01:00
4550a911f0
3.1.0 v3.1.0 2019-04-16 12:52:54 +01:00
d1580560b5
Update kredits-contracts 2019-04-16 12:51:49 +01:00
92c50ac69e
Merge pull request #30 from 67P/feature/29-date_time
Add contribution date
2019-04-13 16:07:46 +00:00
fca991c685
Add date to mediawiki edits
Use the day before, as we collect them at 7am every day.
2019-04-13 14:18:47 +01:00
626712356a
Add date and time for GitHub issues and PRs 2019-04-13 14:04:41 +01:00
65e34ee4e1
Update kredits-contracts 2019-04-13 12:44:10 +01:00
63057191d6
3.0.0 v3.0.0 2019-04-08 15:02:01 +02:00
768c24da8e
Merge pull request #27 from 67P/feature/26-contributions
Create contributions instead of proposals
2019-04-08 15:01:08 +02:00
0fdd7d0f1c
Fix accidental commenting of cron schedule 2019-04-08 15:00:24 +02:00
1e0d637c26
"Fix" nonce issue for Mediawiki as well
See previous commit (dcbce66) for details.
2019-04-06 11:55:02 +02:00
dcbce66796
Hacky fix for nonce issues
This waits until a tx has likely been confirmed, before trying to send
the next one, because nonce management is broken in the ethers.js
wallet and it tries to replace a previous tx if two are sent quickly in
succession.

This will most likely break, when there are multiple independent
contrbution issuance calls (e.g. two PRs merged quickly in succession).
But at least it fixes issues/PRs with multiple assignees for most cases.
2019-04-06 11:41:19 +02:00
16b62a2545
Print actual tx error instead of guessing 2019-04-05 20:07:30 +02:00
f39bd41098
Create contributions instead of proposals 2019-04-05 19:52:48 +02:00