33 Commits

Author SHA1 Message Date
50002194c5
Fix warnings from express session 2019-09-01 17:04:19 +02:00
6972d6c88e
Fix critical bug in signup code
Variable scope/assignment issue
2019-09-01 17:00:56 +02:00
afa67e5ac7 Prefix all configuration environment variables
The convention here is to prefix all Kredit related configuration
variables with `KREDITS_`
2019-08-31 12:51:44 +02:00
c16ea51769 Error handling for fetching Github access token 2019-08-27 18:35:40 +02:00
32dc6a7358
GitHub signup fixes
* Don't fail when profile has no name set
* Use scope that can only read public profile information (no scope)
* Better error handling
2019-08-27 18:22:36 +02:00
53dee63a76 Add env variable for session secret 2019-08-27 15:30:30 +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
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
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
1255d7ce19
Fix another wrong const 2019-04-17 11:13:49 +01:00
a0f982432e
Fix syntax error (variable re-assignment) 2019-04-17 09:38:00 +01:00
626712356a
Add date and time for GitHub issues and PRs 2019-04-13 14:04:41 +01: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
b38e6faf8a Prepare for kredits-contracts update
Also updates ethers.js to v4.x
2019-03-31 17:09:58 +02:00
bfaf26cc9a
Use robot logger 2019-03-13 12:21:48 +07:00
6c3070b43b Increase kredits amounts for GitHub labels 2018-04-19 17:54:59 +02:00
2780c87aaa Last GitHub fix 2018-04-19 17:10:51 +02:00
3d810287c0 Implement GitHub repo blacklist
closes #17
2018-04-19 14:38:09 +02:00
22b480ae92 Fix typos 2018-04-19 14:37:55 +02:00
48a42d4f2c Improve logging 2018-04-19 14:37:21 +02:00
aab5b58bab Add missing module imports 2018-04-19 14:35:26 +02:00
c0c2f97dae Add MediaWiki integration basics 2018-04-19 12:32:03 +02:00
ed5d127b4c Add missing variables to GitHub integration 2018-04-19 12:18:12 +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