237 Commits

Author SHA1 Message Date
Oskar Thorén
ee096a6ceb Introduce maybe-add-bounty-for-issue to limit max added 2017-10-31 12:05:41 -05:00
Oskar Thorén
a912de13c1 Limit max issues to 2 2017-10-31 10:52:52 -05:00
Oskar Thorén
5afaac5b72 Update whitelist for testing 2017-10-31 10:45:01 -05:00
Oskar Thorén
ca193867e3 Whitelist users who can create repos 2017-10-31 10:41:22 -05:00
Oskar Thorén
d9dc24d724 Disallow creation of repos 2017-10-31 10:23:37 -05:00
Teemu Patja
fc817f09cc
Error handling for token-balance 2017-10-31 16:35:31 +02:00
Teemu Patja
b2be946e12
Add debug logging 2017-10-31 16:15:37 +02:00
Teemu Patja
a98da5fb2f
Error handling for hubspot contact create 2017-10-31 08:50:44 +02:00
Oskar Thorén
e62d4be420 Landing page: use authorize url 2017-10-30 14:40:50 -05:00
Teemu Patja
48c4a5f369
Fix redirect path after sign-up 2017-10-30 19:40:44 +02:00
Teemu Patja
8ed776d1c4
Uncomment hubspot create_contact HTTP POST 2017-10-30 19:09:56 +02:00
Oskar Thorén
0de883290a Static page as root landing page; /app for app; fix some routes 2017-10-30 10:37:13 -05:00
Teemu Patja
cb28db4fee
Hubspot integration
* support for creating contacts and listing contacts using Hubspot's
  HTTP API
* create a Hubspot contact when a new user signs up (commented out for now)
2017-10-29 19:31:53 +02:00
Julien Eluard
49617ae10e
Improved dev experience 2017-10-29 18:09:00 +02:00
Teemu Patja
7aa8205115
DB support tracking welcome email sends 2017-10-28 21:10:09 +03:00
Teemu Patja
967778a761
Comment image improvements
* make QR image larger
* use status logo
* layout tweaks
2017-10-27 13:22:35 +03:00
Teemu Patja
eb820525bc
Include link to etherscan.io for deployment transaction
* include a link to etherscan.io for a bounty contract's "deploying"
  comment

Fixes: #99
2017-10-09 17:11:06 +03:00
Teemu Patja
4c35a20feb
Increase multisig deploy gas-limit 2017-10-03 19:59:39 +03:00
Teemu Patja
b3b2d5eb5c
Update USD value for an issue also when balance changes
* in addition to updating current USD value for open issues every 5
  minutes, update for an issue if change in balance detected
2017-09-22 19:27:24 +03:00
Teemu Patja
8e3762c701
Fix typo causing crash in fault tolerance feature 2017-09-22 19:01:27 +03:00
Teemu Patja
01f09bf671
Uncomment rpc call 2017-09-22 18:21:27 +03:00
Teemu Patja
1432cff096
Add missing gas-limit arg 2017-09-22 18:05:52 +03:00
Teemu Patja
26d30ad91b
Fix gas limit issues introduced by upgrade to geth 1.7.0
* add configurable factor for adjusting gas estimates given by
  json-rpc's eth_estimateGas. This will adjust all gas estimates by
  multiplying json-rpc estimate with the factor.

* use fixed gas limit for deploying bounty contracts to avoid running
  out of gas with geth 1.7.0
2017-09-22 16:52:19 +03:00
Teemu Patja
beca021050
Use Ropsten as testnet instead of Rinkeby.
* make token registry contract address configurable
* update documentation
* indicate ropsten usage on github comment
2017-09-21 08:48:57 +03:00
Teemu Patja
0476b8c1ea
Fault tolerance for payout confirmal
* if a payout transaction sent by repo admin from cljs does not get
  mined within 3 hours, consider it as failed and re-enable confirm
  button

Fixes: #94
2017-09-15 10:24:55 +03:00
Teemu Patja
c17763bf2d
Fix bug in is-bounty-issue?, update docstring 2017-09-13 11:20:11 +03:00
Teemu Patja
6522265f7d
Never show closed github issues as open bounties
* do not show a bounty issue in open bounties listing or activity feed
  items in case it was closed (manually or via PR)

Fixes: #95
2017-09-13 11:11:37 +03:00
Teemu Patja
640cf8abd6
Usage metrics view access control fix
Allow all members of status-im organization to see Usage metrics view,
instead of just Status team members.
2017-09-11 09:01:34 +03:00
Teemu Patja
11d2c6e4ce
Workaround for smart contract issue related to payouts
If our smart contract is used as designed for payout (first commiteth
bot executes confirmTransaction() with a withdrawEverything call in
payload and then the repo owner calls confirmTransaction() with the
returned tx-id) the contract fails when executing, but confirming
succeeds. Because of this, we now look for contracts that have been
confirmed by both and that still have ETH and/or tokens, and call
executeTransaction() for those.

This needs testing.
2017-08-31 11:33:08 +03:00
Teemu Patja
45526810e7
Add function wrapping multisig executeTransaction
* support for calling executeTransaction for a give tx-id in a
  deployed bounty contract
* minor cleanup
2017-08-28 19:58:53 +03:00
Teemu Patja
808315209f
Add functions for read-only properties of multisig
* add is-confirmed? and get-owners for bounty contracts
2017-08-28 09:52:11 +03:00
Teemu Patja
9bb1a4c9f5
Fix bug in comment generating 2017-08-27 09:43:42 +03:00
Teemu Patja
92628d040b
Fix bug in payout confirm on backend side + cleanup
* fix parsing of confirmation transaction ID from confirmation event
* remove unused func, improve logging, general cleanup
2017-08-26 14:14:27 +03:00
Teemu Patja
a1be68122c
Improve scheduler error handling
* wrap each fn call run-*-tasks in try/catch to avoid losing stack
  trace
2017-08-26 12:11:15 +03:00
Teemu Patja
002946c1fd
Fix possible crash in multisig-wallet/token-balances
* ignore tokens existing in bounty contract if they are not in our
  tokenreg, avoids crash silently leading to token balances not
  gettings saved
2017-08-25 23:59:30 +03:00
Teemu Patja
bb5dc7b85a
Minor fix to github comment 2017-08-25 23:07:28 +03:00
Teemu Patja
209ef469a6
Make contract address a link to etherscan
* make contract address a link to etherscan in github comment markdown

Fixes: #91
2017-08-25 23:04:48 +03:00
Teemu Patja
122f76cffe
Remove unused module 2017-08-24 18:08:34 +03:00
Teemu Patja
92b51251c0
Show 2 decimals for tokens on comment image 2017-08-24 14:17:37 +03:00
Teemu Patja
584f742de9
Show tokens, ETH and USD value on UI
* make activity feed items and open bounties view show badges for ETH
  and tokems and total USD in item description
* make top hunters work based on total USD value paid out in bounties
* upgrade lein-cljsbuild
2017-08-23 23:48:59 +03:00
Teemu Patja
2aea7fe742
Test code for PNG rendering 2017-08-23 15:14:18 +03:00
Teemu Patja
2280c34ee8
Improve Github comment 2017-08-23 15:12:53 +03:00
Teemu Patja
881e79477f
Utility functions for transferring ETH and tokens
* implemented some util functions to transfer ETH and ERC20 tokens for
  aiding testing
* add and improve doctrings
2017-08-23 15:11:46 +03:00
Teemu Patja
aeb5d08657
Be more explicit about testnet ETH + tokens in comment 2017-08-22 23:34:08 +03:00
Teemu Patja
d6aae3fb5e
Render token balances to Github comment image 2017-08-22 23:15:16 +03:00
Teemu Patja
5b639e1f20
Include token balances in Github issue comment 2017-08-22 22:16:45 +03:00
Teemu Patja
9cfd27a0b6
Periodicically update bounty total USD values to DB
* peridic updating of total USD value for open bounties
* support 1 and 10 minute interval tasks in scheduler
2017-08-22 20:31:21 +03:00
Teemu Patja
e995769e90
Periodic updating of token balances
* periodically ensure bounty contract internal balances are up to date
* update token balances to DB change detected
2017-08-22 20:09:52 +03:00
Teemu Patja
e4124d6bc2
Fix crash in token-balances, fix update-balances
* fix null pointer crash in token-balances
* fix bug in periodic update-balances
2017-08-22 19:45:00 +03:00
Teemu Patja
f8d00196d6
DB storage for token balances
* store token bounties to DB when changed
* added some TODOs
2017-08-22 16:45:10 +03:00