f05436e9b9
Fix mediawiki integration
...
Accidentally deleted a line in a recent PR, and it slipped through the
review.
2020-10-29 15:12:50 +01:00
e305643f69
Merge pull request #61 from 67P/chore/replace_deprecated_contract_calls
...
Replace deprecated contract API calls
2020-10-29 14:13:36 +01:00
fc0c113997
Only create small automatic contributions for wiki edits
...
We decided that it's too difficult for a machine to gauge the meaning
and value of wiki edits by line numbers, so automatic kredits are now
always a small contributions. Until we have new tools for larger wiki
contributions (e.g. mediawiki tags), we can create manual contributions
for those.
2020-10-29 12:56:49 +01:00
5c6540580b
Replace deprecated contract API calls
...
Use the new method.
2020-10-29 12:07:42 +01: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
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
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
f39bd41098
Create contributions instead of proposals
2019-04-05 19:52:48 +02:00
321fe95a27
Operator is now Proposal
2019-03-31 17:16:55 +02:00
b38e6faf8a
Prepare for kredits-contracts update
...
Also updates ethers.js to v4.x
2019-03-31 17:09:58 +02:00
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
189f7fe4ee
Fix amount calculation
...
Was using the wrong object as argument.
2018-06-14 15:02:20 +02:00
b4f6fb7ef7
Add missing require
2018-05-07 14:03:50 +02:00
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
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
eb767a90f2
Deduplicate title of pages edited/created
2018-05-06 21:12:37 +02:00
156ea44f0d
Use configured wiki URL for contribution details
2018-05-06 21:12:06 +02:00
581b15da69
Cron job for checking mediawiki changes
2018-04-19 19:21:05 +02:00
c97cc82817
Only fetch wiki changes since last processing
2018-04-19 19:04:20 +02:00
d4a3a9c9df
Add hardcoded amounts for wiki edits
2018-04-19 18:00:19 +02:00
9d8b2c08dc
[WIP] Add proposals for wiki changes
2018-04-19 17:11:02 +02:00
7904aa8c84
Remove robot stub from mediawiki
2018-04-19 14:39:02 +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