Teemu Patja
d411a106f2
Whitelist Riot projec owner
2017-11-01 14:33:21 +02:00
Teemu Patja
86d8189e00
Bump issue-limit
2017-11-01 14:32:10 +02:00
Teemu Patja
27004d1726
Handle issue re-open case
...
* update issue open status on "reopened" action in IssuesEvent webhook
handler
Fixes : #131
2017-11-01 11:40:53 +02:00
Teemu Patja
f3e4d3235b
Responsive footer
...
Fixes : #129
2017-11-01 10:54:53 +02:00
Teemu Patja
dcde2a9772
Make view loading state prettier
...
Fixes : #113
2017-11-01 10:08:57 +02:00
Andy Tudhope
470bcd425e
Update services.clj
...
Added hutch and myself to the whitelist for testing and so we can make a video for the wiki/update content there generally.
2017-11-01 09:55:18 +02:00
Teemu Patja
ee6f6c6ed7
Merge branch 'develop'
2017-11-01 08:58:55 +02:00
Oskar Thorén
efcf5415b5
More whitelist
2017-10-31 16:33:48 -05:00
Oskar Thorén
cd44e565bf
Update whitelist in prod hack
...
Already in develop but partial progress done here too apparently
2017-10-31 16:32:52 -05:00
Oskar Thorén
27a199929d
Modify whitelist
2017-10-31 16:25:21 -05:00
Oskar Thorén
e87626e394
Tweak copy
2017-10-31 16:00:03 -05:00
Oskar Thorén
b30f64cadc
Tweak whitelist message
2017-10-31 15:49:23 -05:00
Teemu Patja
6dd88874f6
Smoother background fetching of data
...
* do not show loading spinner after periodic open bounty and activity
data fetches
2017-10-31 22:11:43 +02:00
Oskar Thorén
b0db973fa6
whitelist take login field of user
2017-10-31 14:56:52 -05:00
Oskar Thorén
218f913ecc
Fix user-whitelisted? bug
2017-10-31 14:53:49 -05:00
Oskar Thorén
f81c28b603
Better debug print don't squash numbers
2017-10-31 14:52:10 -05:00
Oskar Thorén
abac3f5cdb
Max limit back to 2; make issues count more restrictive
2017-10-31 14:50:27 -05:00
Teemu Patja
74fe3982cc
Coerce balance to float to avoid crash
...
Token balances are expected to have float values in services.clj, but
can end up with integer value, so we need to coerce.
2017-10-31 19:51:55 +02:00
Oskar Thorén
e80592c769
increase max limit for now while issue count bug
2017-10-31 12:50:15 -05:00
Teemu Patja
0d97147c3e
Coerce balance to float to avoid crash
...
Token balances are expected to have float values in services.clj, but
can end up with integer value, so we need to coerce.
2017-10-31 19:49:56 +02:00
Teemu Patja
6ffdc8f0b1
Merge branch 'develop'
2017-10-31 19:31:09 +02:00
Oskar Thorén
3f41f32d9d
fix code order
2017-10-31 12:27:30 -05:00
Oskar Thorén
46ba59e7d0
typos
2017-10-31 12:25:36 -05:00
Teemu Patja
62bb3b35e9
Merge branch 'develop'
2017-10-31 19:18:57 +02:00
Teemu Patja
ff995f1a9d
Configurable style for :base field in token registry
...
Parity's token registry uses eg. :base 1000000000, while the Status
token reg uses eg. :base 16. Now both are supported, default is Status
style and Parity style can be enabled with a config param.
2017-10-31 19:18:19 +02:00
Oskar Thorén
ef1a6dff28
sigh typo
2017-10-31 12:14:38 -05:00
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
e8721fadfe
Error handling for token-balance
2017-10-31 16:35:12 +02:00
Teemu Patja
1957c58a3a
Add debug logging
2017-10-31 16:16:20 +02:00
Teemu Patja
b2be946e12
Add debug logging
2017-10-31 16:15:37 +02:00
Teemu Patja
8cea6aa98a
No margins for ui.container on mobile
2017-10-31 15:34:54 +02:00
Teemu Patja
a802edd502
Shorter tab caption for mobile
2017-10-31 15:21:14 +02:00
Teemu Patja
32e0590784
Header responsive layout fixes
2017-10-31 15:17:40 +02:00
Teemu Patja
211a234b3b
Responsive layout for page header
2017-10-31 14:43:12 +02:00
Teemu Patja
3ebf9cf36d
Truncate repo name if needed
...
If repo name is longer than what fits on card in manage repos view,
truncate it. Untested.
Fixes : #116
2017-10-31 12:53:46 +02:00
Teemu Patja
9a4af66e71
Fix compile error caused by previous merge
2017-10-31 12:43:49 +02:00
Teemu Patja
073be9db53
Merge branch 'develop'
2017-10-31 11:57:20 +02:00
Teemu Patja
a98da5fb2f
Error handling for hubspot contact create
2017-10-31 08:50:44 +02:00
Oskar Thorén
6fd2180113
Add Riot icon to footer for landing page and app
2017-10-30 17:27:58 -05:00
Oskar Thorén
dae786a3ed
Add Riot to footer
2017-10-30 16:52:48 -05:00
Oskar Thorén
d2871a1d32
Add privacy policy in app
2017-10-30 16:47:28 -05:00
Eric Dvorsak
549261337b
Revert "[bug] fix dropdown menu"
...
This reverts commit fdb23c948d
.
2017-10-30 21:24:59 +01:00
Oskar Thorén
e62d4be420
Landing page: use authorize url
2017-10-30 14:40:50 -05:00
Teemu Patja
4060bf0f67
Merge pull request #106 from status-im/bug/close-dropdown
...
[bug] close dropdown when clicking outside of it
2017-10-30 21:29:31 +02:00
Eric Dvorsak
6845527d4b
[bug] close dropdown when clicking outside of it
2017-10-30 20:26:33 +01:00
Teemu Patja
4bb20d35d2
Merge pull request #105 from status-im/bug/fix-dropdown
...
[bug] fix dropdown menu
2017-10-30 20:56:55 +02:00
Eric Dvorsak
fdb23c948d
[bug] fix dropdown menu
2017-10-30 19:52:58 +01:00
Teemu Patja
89346a48ba
Fix redirect path after sign-up
2017-10-30 19:41:34 +02: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
Teemu Patja
e7dc29f895
Bounties list css tweak
2017-10-29 18:39:15 +02:00
Julien Eluard
49617ae10e
Improved dev experience
2017-10-29 18:09:00 +02:00
Teemu Patja
fa3eeabd4d
Open bounties view SOB UX changes
2017-10-29 17:09:28 +02:00
Teemu Patja
a4318cb2f0
Balance badge styling
2017-10-29 12:19:37 +02:00
Teemu Patja
542d19e40e
Footer improvements
2017-10-29 11:50:45 +02:00
Teemu Patja
249a3cf2b4
Font related css tweaks
2017-10-29 11:40:18 +02:00
Teemu Patja
bc9c0011a4
Footer layout improvements
2017-10-29 10:26:15 +02:00
Teemu Patja
4a2fdd8e2e
Layout improvements
2017-10-29 10:02:06 +02:00
Teemu Patja
1b3254dd0b
Fix react warnings
2017-10-29 09:45:55 +02:00
Teemu Patja
b077b117a9
Minor css change
2017-10-28 23:21:57 +03:00
Teemu Patja
71445f599c
Add missed file
2017-10-28 23:20:39 +03:00
Teemu Patja
c12cc5e7ed
First version of new page footer
2017-10-28 23:06:55 +03:00
Teemu Patja
7aa8205115
DB support tracking welcome email sends
2017-10-28 21:10:09 +03:00
Teemu Patja
3a0293c056
Enable github account UX
2017-10-27 22:58:02 +03:00
Teemu Patja
790cbea367
Change menu caption, use SOB specific storage key
2017-10-27 22:11:44 +03:00
Teemu Patja
a798d3d1eb
Show content with full width when top-hunters not shown
2017-10-27 19:33:29 +03:00
Teemu Patja
46273fdb39
Fix button backgrounds
2017-10-27 19:28:54 +03:00
Teemu Patja
2a63690b6c
Fix dropdown menu
...
* temp fix for dropdown menu flickering
2017-10-27 19:19:40 +03:00
Teemu Patja
1fe40874ce
Unicode arrow
2017-10-27 18:20:14 +03:00
Teemu Patja
a153caeab8
WIP: more SOB UX changes
...
* make bounties view default
* new top hunters look
* only show top hunters for bounties and activity views
* misc css tweaks
2017-10-27 18:09:41 +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
35bef82b6e
WIP: SOB UX
...
beginnings of new UX for status open bounty
* manage repos view changes
* new header + tabs style
* flash/error messages as modal overlay
* SOB favicon
* general css changes
2017-10-26 19:19:36 +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
5ab68f3b18
Fix issues with :confirm-payout re-frame handler
2017-08-31 11:32:45 +03:00
Teemu Patja
9885014235
Typo fix
2017-08-30 11:52:06 +03:00
Teemu Patja
667b3919c4
Handle clients with no web3 correctly
...
* fix issues with clients that have no wallet connected
Fixes : #92
2017-08-30 11:45:36 +03:00
Teemu Patja
05f1a711c1
Deal with both new and older mist behavior
...
* try to support both older and new mist for using injected web3
2017-08-29 00:40:13 +03:00
Teemu Patja
3daf6482bf
cljs-web3 related fixes, pt 2
2017-08-29 00:02:34 +03:00
Teemu Patja
071fffbe4d
Fix typed fn name
2017-08-28 23:40:02 +03:00
Teemu Patja
bf8039bceb
Fixes for cljs-web3 usage
2017-08-28 23:36:35 +03:00
Teemu Patja
42aa34cfad
Use sha3 from cljs-web.core
2017-08-28 23:23:06 +03:00
Teemu Patja
fff720ad71
Use web3 via cljs-web3
...
* take cljs-web3 to use and no longer rely on window/web3 injected by
wallet
2017-08-28 23:09:57 +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
245b9e1e2a
ClojureScript fixes for payout
...
* fix broken retrieval of injected web3 function
* specify gas + gasPrice for sendTransaction
* fix data value for confirmTransaction() call
* eliminate hard-coded hex-string
2017-08-28 09:56:23 +03:00
Teemu Patja
453d8a225a
Fix issue in manage bounties view
...
* spinner for "Confirm" button was showing in some incorrect states
2017-08-28 09:54:56 +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
ad3e764191
Fix react warnings
2017-08-26 21:20:04 +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
342cefff56
Improve readability of :confirm-payout handler
...
* clarify use of "magic" hex-string with comment and variable name in
:confirm-payout handler
2017-08-24 18:31:44 +03:00
Teemu Patja
122f76cffe
Remove unused module
2017-08-24 18:08:34 +03:00
Teemu Patja
e1e0be115c
Include USD value for open bounties view items
2017-08-24 17:53:07 +03:00
Teemu Patja
92b51251c0
Show 2 decimals for tokens on comment image
2017-08-24 14:17:37 +03:00
Teemu Patja
a091d04bb2
Fix bounties view rendering
...
* correct typoed key names causing empty values
2017-08-23 23:59:30 +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
Teemu Patja
de07f873ab
Get combined balances + total USD value for a bounty
...
* add function for getting balance of tokens and ETH in a bounty
contract and total USD value. This data will be kept in sync with
the DB
* change default gas price 2 -> 20 gwei (still configurable)
2017-08-22 14:49:37 +03:00
Teemu Patja
f1cf4c7375
Function for getting all token balances in a multisig
2017-08-22 14:29:52 +03:00
Teemu Patja
9cc524c432
Allow token-data reloading in REPL, refactoring
...
* expose update-data in eth.token-data
* eliminate code duplication in multisig-wallet
* add compiled contracts to .gitignore
* minor refactoring + cleanup
2017-08-22 12:02:41 +03:00
Ricardo Guilherme Schmidt
03271b6e17
updated addresses
2017-08-22 00:30:33 -03:00
Teemu Patja
c9f7013b66
Ignore empty records in token registry
...
* ignore records with empty TLA when reading tokenreg data
2017-08-21 10:24:14 +03:00
Teemu Patja
a2a569f980
More token support changes
...
* prepare scheduler for updating bounty balances
* fix retrieving of created multisig address
* retrieve token info by address
* fix method-id for watch(address)
2017-08-21 00:30:49 +03:00
Teemu Patja
5f6ad85011
TokenReg clojure support improvements
...
* allow loading of parity tokenreg contract data from any address,
including our own test instance
* use tokenreg data from config.edn for testnet only when availaned,
otherwise from our smart contract on rinkeby
* clean up + refactoring
* remove generated java wrapper for parity tokenreg contract
2017-08-20 22:47:46 +03:00
Teemu Patja
b00d30e370
ERC20 related smart contract call clj functions
...
* functions for querying ERC20 token balance from bounty contract and
from token contract
* fix several bugs
* web3j related shared code to own module
2017-08-20 21:40:34 +03:00
Teemu Patja
6acc1bfb96
Mount component for holding tokenreg data
2017-08-20 12:22:08 +03:00
Teemu Patja
9c71e37e2a
Make factory contract address configurable
2017-08-20 11:54:11 +03:00
Teemu Patja
c52c10e555
Function for finding created multisig address from tx receipt
2017-08-20 11:48:01 +03:00
Ricardo Guilherme Schmidt
e83f7f1583
new factory address
2017-08-20 00:48:24 -03:00
Teemu Patja
43ea9b91e0
Fix bug in send-transaction
2017-08-19 21:27:01 +03:00
Teemu Patja
87effb5f6c
eth.core improvements
...
* add conversion func for (big)int -> hex string
* use integer instead of hex string for gas-price
2017-08-19 12:52:27 +03:00
Teemu Patja
c647e4afd4
Read data from parity token registry + fix build
...
* read data from parity's mainnet token registry contract to a clojure
map
2017-08-19 12:52:27 +03:00
Teemu Patja
815544ec12
Fix compile error
2017-08-18 15:13:28 +03:00
Teemu Patja
350657a488
Remove duplication
...
* refactor duplication out of map values
2017-08-17 18:30:24 +03:00
Teemu Patja
7dde94ef65
Fix compile errors
...
* fix cyclic dependency issue
* fix several compile errors
2017-08-17 17:38:57 +03:00
Teemu Patja
6d7f47df4b
Replace hard-coded hex strings with util fn calls, refactoring
...
* replace hard-coded hex-strings with
* refactor some clojure code
2017-08-17 16:37:04 +03:00
Ricardo Guilherme Schmidt
ee5823a120
owners array getter, better custom tokenlist, interface to new contract
2017-08-17 10:06:14 -03:00
Teemu Patja
902129d639
Utility function for computing topic-id
...
* added utility function for computing topic ID hex-string from event signature
2017-08-17 14:52:38 +03:00
Teemu Patja
074f510aa5
Un-hardcode another hex method ID
2017-08-17 13:32:59 +03:00