Commit Graph

332 Commits

Author SHA1 Message Date
basti 0a8284f1ed Add pre-commit hook and setup script
Runs the appropriate linter on staged files before committing.
2019-05-14 12:42:56 +02:00
galfert 2a675c9417 Merge pull request #126 from 67P/chore/update_schemas
Update kosmos-schemas
2019-05-10 16:08:30 +02:00
basti a3590d7c16 Update kosmos-schemas
Includes the new "special" contribution kind, as discussed in our last
call.
2019-05-10 13:14:56 +02:00
basti 07a5ca847d Merge pull request #125 from 67P/bugfix/pagination
Fix page number calculation for zero records
2019-05-07 17:12:16 +02:00
bumi 37ce2fddde Merge pull request #124 from 67P/bugfix/fix-me-1
Fix util import
2019-05-04 08:40:58 +00:00
bumi 3a43284557 Fix page number calculation for zero records
So far it returned 0 because of those in range checks which both
applied because numberOfPages is 0 if we have no record.
2019-05-04 01:34:05 +02:00
bumi 572848c04a Fix util import 2019-05-04 01:09:22 +02:00
bumi b6ce9dcfc8 Merge pull request #118 from 67P/deprecate/old-add-methods
Deprecate old add* methods
2019-05-01 18:12:18 +00:00
basti e7e8744ad2 Update lib/contracts/proposal.js
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-05-01 18:06:55 +00:00
basti d2198dca61 Update lib/contracts/contribution.js
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-05-01 18:06:43 +00:00
bumi f9f2ef234e Merge pull request #122 from 67P/feature/veto_script
Add script for vetoing via console
2019-05-01 18:05:37 +00:00
basti a1f51428d0 Add script for vetoing via console 2019-04-28 15:09:18 +01:00
bumi ad74d30aa7 Contributor canPerform fix deployment 2019-04-25 22:25:38 +02:00
basti 3568d3c141 Merge pull request #120 from 67P/bugfix/fix-core-permissions
Fix canPerform method
2019-04-25 21:17:37 +01:00
basti db566a581f Merge pull request #119 from 67P/bugfix/fix-kit-deployment
Fix apps lookup
2019-04-25 21:10:04 +01:00
bumi c69ebd0a62 Fix canPerform method
Even if the variable is not used and the linter might complain we have
to have that parameter in the signature. otherwise the method is not
found and can not be called.
2019-04-25 22:06:40 +02:00
basti 5c375f764f Update scripts/deploy-kit.js
Co-Authored-By: bumi <hello@michaelbumann.com>
2019-04-25 20:05:03 +00:00
bumi b04d572b9a Fix apps lookup
We use the directories in ./apps to load available app names.
For this we need to make sure that we only use directories.
2019-04-25 16:45:39 +02:00
fsmanuel 1199b053fe Add missing returns for the deprecated methods 2019-04-24 21:55:10 +02:00
fsmanuel f06b21dfee Deprecate old add* methods 2019-04-24 21:49:27 +02:00
bumi d643e5842c Merge pull request #97 from 67P/chore/linter
Add linter and travis.yml
2019-04-24 18:28:32 +00:00
bumi a87d5326bf Oh my package-lock 2019-04-24 20:17:03 +02:00
fsmanuel c9fed46054 Add contract test linting 2019-04-24 19:56:37 +02:00
fsmanuel 6f2097ed46 Fix regex 2019-04-24 19:39:30 +02:00
fsmanuel 94d342ce63 Replace console.log by deprecate function 2019-04-24 19:31:26 +02:00
fsmanuel f984dec95a Style fixes 2019-04-24 19:31:04 +02:00
fsmanuel 145b3ea766 Merge branch 'master' into chore/linter
# Conflicts:
#	lib/contracts/contribution.js
#	lib/contracts/contributor.js
#	lib/contracts/proposal.js
#	lib/kredits.js
#	lib/serializers/contributor.js
#	yarn.lock
2019-04-24 19:12:18 +02:00
basti a80dfee5c5 Merge pull request #116 from 67P/deployments/balance-update
Release/deployment notes for latest contract updates on Rinkeby
2019-04-24 17:03:48 +01:00
bumi 4649de24c8 Deploy notes for latest contributor and contribution deployment 2019-04-24 17:32:58 +02:00
basti 8539b56a48 5.3.0 v5.3.0 2019-04-24 14:22:53 +01:00
basti f59c37827a Merge pull request #108 from 67P/feature/kredits-formatter
Add kredits-formatter and additionally format balance
2019-04-24 14:20:44 +01:00
bumi 58db57ee45 Merge branch 'master' into feature/kredits-formatter 2019-04-24 13:10:48 +00:00
bumi b64a7ca299 Merge pull request #113 from 67P/feature/gitea_site
Add Gitea site/username to serializer and seeds
2019-04-24 12:58:44 +00:00
bumi 6f09ca8d13 Merge pull request #114 from 67P/chore/scripts
Improve/fix scripts
2019-04-24 12:57:43 +00:00
bumi 6f53c8097e Wrap anything that could break in the try/catch block 2019-04-24 14:55:35 +02:00
basti 6b2ac15f56 Improve error handling for list-contributors script 2019-04-24 13:46:27 +01:00
basti 359989f235 Fix function name for total kredits issued/earned 2019-04-24 13:45:56 +01:00
basti 5894f6323b Add Gitea username to contributor seeds 2019-04-24 13:43:46 +01:00
basti 09b78e1e8f Add Gitea site/username to contributor serializer 2019-04-23 20:28:56 +01:00
bumi 48c8f6b9b3 Merge branch 'master' into feature/kredits-formatter 2019-04-23 12:56:55 +00:00
basti 542ebaf3f3 5.2.0 v5.2.0 2019-04-23 13:52:46 +01:00
basti d82ffba75e Update ABI 2019-04-23 13:52:37 +01:00
basti bdb2cee0c4 Merge pull request #110 from 67P/feature/contribution-balances
Add contract calls for total contribution balances
2019-04-23 13:47:50 +01:00
bumi cd45ce260f Merge pull request #112 from 67P/feature/update-contributor-profile
Update contributor profile
2019-04-20 09:22:31 +00:00
basti 3a97983540 Merge pull request #111 from 67P/feature/contributor-schema-validation
Add Contributor validation against JSON schema
2019-04-20 08:47:49 +01:00
bumi 9714926e11 Add function to update contributor profile to wrapper
The function updates the contributor profile,
adds the new profile to IPFS and does the contract call to update
the profile hash
2019-04-20 02:17:38 +02:00
bumi 59614201b5 Ups... 2019-04-20 02:15:53 +02:00
bumi e591742e40 Add Contributor validation against JSON schema
based on the Contribution validation.
2019-04-20 01:10:46 +02:00
bumi 791190f5e7 Cleanup promise call 2019-04-20 00:30:20 +02:00
bumi 24b66daf2a Update ABI 2019-04-19 14:16:40 +02:00