bumi
98ff61ab0a
Add handling of missing zoom profiles
2020-04-16 17:03:03 +02:00
bumi
e7f8723f6e
Make sure zoom participants are unique
...
to make sure we only create one contribution per participants
2020-04-16 16:36:32 +02:00
bumi
8f961bb102
Apply suggestions from code review
...
Co-Authored-By: Sebastian Kippe <sebastian@kip.pe >
2020-04-16 12:08:50 +02:00
bumi
c4ef8de018
Nicer log messages
...
Co-Authored-By: Sebastian Kippe <sebastian@kip.pe >
2020-04-16 12:08:06 +02:00
bumi
110c4384e0
Autoload zoom integration
2020-04-15 21:51:02 +02:00
bumi
70ea031b31
Zoom integration using the JWT API
2020-04-15 21:29:21 +02:00
bumi
5cc0116163
Skeleton of the zoom integration
...
using the new zoom API
2020-02-27 15:48:55 +01:00
basti
50002194c5
Fix warnings from express session
2019-09-01 17:04:19 +02:00
basti
6972d6c88e
Fix critical bug in signup code
...
Variable scope/assignment issue
2019-09-01 17:00:56 +02:00
bumi
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
galfert
c16ea51769
Error handling for fetching Github access token
2019-08-27 18:35:40 +02:00
basti
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
galfert
53dee63a76
Add env variable for session secret
2019-08-27 15:30:30 +02:00
galfert
342a5cd829
Add gasLimit option when adding contributor
2019-08-27 13:16:43 +02:00
basti
45064df737
Fix wrong logger function call
2019-08-27 12:57:36 +02:00
basti
d65e92e1fe
Merge branch 'master' into feature/github-signup
2019-08-27 12:39:15 +02:00
basti
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
galfert
082bf4848d
Minor changes
2019-07-26 20:50:36 +02:00
galfert
41dd813eaf
Replace custom CORS header solution with middleware
2019-07-26 20:48:20 +02:00
galfert
b35cbcc63a
Finish implementation of GitHub signup oracle
2019-07-26 04:15:11 +02:00
bumi
137e9eb4ed
Add initial implementation of the GitHub signup oracle
2019-07-11 15:44:58 +02:00
basti
98ccae96f0
[gitea] Use labels for contribution kind
2019-05-08 16:16:40 +02:00
basti
e6730802f6
Use proper syntax for sending HTTP status
...
Fixes deprecation warnings for the old syntax.
2019-05-08 16:14:41 +02:00
basti
d2976b312e
Create utility modules for label processing
2019-05-08 16:14:41 +02:00
basti
d2feee8b14
[github] Use labels for contribution kind
2019-05-08 16:14:24 +02:00
basti
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
basti
5a9edda1cd
Add Gitea integration
...
Support for Gitea organization hooks, based on GitHub hooks code.
closes #24
2019-04-24 13:27:18 +01:00
basti
1255d7ce19
Fix another wrong const
2019-04-17 11:13:49 +01:00
basti
a0f982432e
Fix syntax error (variable re-assignment)
2019-04-17 09:38:00 +01:00
basti
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
basti
626712356a
Add date and time for GitHub issues and PRs
2019-04-13 14:04:41 +01:00
basti
0fdd7d0f1c
Fix accidental commenting of cron schedule
2019-04-08 15:00:24 +02:00
basti
1e0d637c26
"Fix" nonce issue for Mediawiki as well
...
See previous commit (dcbce66 ) for details.
2019-04-06 11:55:02 +02:00
basti
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
basti
16b62a2545
Print actual tx error instead of guessing
2019-04-05 20:07:30 +02:00
basti
f39bd41098
Create contributions instead of proposals
2019-04-05 19:52:48 +02:00
bumi
321fe95a27
Operator is now Proposal
2019-03-31 17:16:55 +02:00
bumi
b38e6faf8a
Prepare for kredits-contracts update
...
Also updates ethers.js to v4.x
2019-03-31 17:09:58 +02:00
basti
bfaf26cc9a
Use robot logger
2019-03-13 12:21:48 +07:00
basti
c427d7c313
Fix mediawiki polling cron
...
Was doing every minute after 7am, instead of every day once at 7am.
2018-09-09 15:35:09 +08:00
basti
189f7fe4ee
Fix amount calculation
...
Was using the wrong object as argument.
2018-06-14 15:02:20 +02:00
basti
b4f6fb7ef7
Add missing require
2018-05-07 14:03:50 +02:00
basti
149bc0c052
Use new wrapper function for finding contributor
...
Fixes a bug with the find algo as well.
2018-05-06 21:14:04 +02:00
basti
c190490d9b
Add context to contribution description
...
It didn't actually say where the pages were edited, i.e. the wiki.
2018-05-06 21:12:57 +02:00
basti
eb767a90f2
Deduplicate title of pages edited/created
2018-05-06 21:12:37 +02:00
basti
156ea44f0d
Use configured wiki URL for contribution details
2018-05-06 21:12:06 +02:00
basti
581b15da69
Cron job for checking mediawiki changes
2018-04-19 19:21:05 +02:00
basti
c97cc82817
Only fetch wiki changes since last processing
2018-04-19 19:04:20 +02:00
basti
d4a3a9c9df
Add hardcoded amounts for wiki edits
2018-04-19 18:00:19 +02:00
basti
6c3070b43b
Increase kredits amounts for GitHub labels
2018-04-19 17:54:59 +02:00