Commit Graph

185 Commits

Author SHA1 Message Date
Teemu Patja 7285987292
Improve recovery mechanism
Only consider un-mined contract deployments older than 1 hour as
failed
2017-05-31 10:44:45 +03:00
Teemu Patja f171259ed4
Recover from bot account ETH balance running out
Recover from situation where Commit ETH bot account's ETH balance runs out and gets replenished by re-deploying contracts that were not actually written to the blockchain.

Fixes: #58
2017-05-31 09:32:46 +03:00
Teemu Patja ad2e396ef1
Mainnet support
* show "Mainnet" instead of "Testnet" on github issue comments and web UI
  if commiteth.onTestnet system property is truthy
2017-05-21 11:07:19 +03:00
Teemu Patja d271f555e5
Fix UI glitch 2017-05-04 16:12:29 +03:00
Teemu Patja a0b018ab6c
Show loading spinner for activity feed and bounties view
* show loading spinner instead "no data" text on activity feed view
  and bounties view when data is being fetched
2017-05-04 13:51:00 +03:00
Teemu Patja 098893e0d9 Merge pull request #53 from coopermaruyama/estimate-gas
feat(eth): Estimate gas instead of hard coding.
2017-04-13 12:37:19 +03:00
Teemu Patja 921b86ff7f
Fix repo loading bug, update dependencies
* fix UI getting frozen in manage repos view
* update dependencies
2017-04-13 12:18:39 +03:00
Teemu Patja 2a05a6bef7
Only request user repos when admin token available 2017-04-12 15:28:16 +03:00
Teemu Patja d6aaa2dcea
Fix calls to users/create-user
* remove extraneus parameter to users/create-user in pull_request
  webhook handler (Fixes #54)
* fix db test
2017-04-12 12:36:53 +03:00
Cooper Maruyama 8006646d6d feat(eth): Esimtae gas instead of hard coding.
Closes #19.
2017-04-10 23:15:05 -07:00
Teemu Patja f1146d5a83
Correct UI caption 2017-04-06 23:15:53 +03:00
Teemu Patja 0f3f06c19a
Add missed file 2017-04-06 22:59:50 +03:00
Teemu Patja f391330f58
Usage metrics view for status team members
* status team membership restriction auth-rule
* HTTP API method + db query
* set whole session to nil in /logout
* simple UI view showing chart of registered + active users
2017-04-06 22:52:11 +03:00
Teemu Patja 034dacf29a
"No data" text for empty repo groups
* show "No data" text for repository groups with no repositories
2017-04-03 18:16:40 +03:00
Teemu Patja a7f636c956
Fix regression in add repo feature
Fixes: #51
2017-04-03 12:18:55 +03:00
Teemu Patja 37fe9dec91
Fix activity item small resolution rendering
Related to #50
2017-04-02 20:52:00 +03:00
Teemu Patja e49ad18fd8
Refactoring & cleanup
* fix issues found by lein-kibit
2017-03-29 10:36:44 +03:00
Teemu Patja d47f74693a
Do not load user repos with timer
* load user repositories on Repositories view render (in case admin
  token exists) instead of with interval timer
* remove unused keys from re-frame default-db
2017-03-23 18:32:01 +02:00
Teemu Patja 32dbc257aa
Toggle checkbox for forked repositories
* add toggle checkbox for filtering forked repositories
* cleanup, add TODO

Fixes: #47
2017-03-23 11:46:16 +02:00
Teemu Patja bc27ec000f
Make local-storage tokens keyed by username
* eliminates the possibility of using an access-token for a different
  username than the currently signed in one (this was only possible in
  case the same user is using multiple github accounts on the same machine)
2017-03-23 09:38:41 +02:00
Teemu Patja 3f0ff567a8
Progressive Github permissioning & client-side oauth tokens
* require only user:email oauth scope when signing up
* if user wants to set bounties on repos, request additional oauth
  scopes
* do not store github access tokens on server side and use client-side
  localStorage instead

Fixes: #35
Fixes: #40
2017-03-22 22:20:52 +02:00
Teemu Patja a6690859cc
Show open bounties tab regardless of sign in state 2017-03-22 13:19:36 +02:00
Teemu Patja 35df02edea
Update bounty issue comment on PR merge
* update comment for a bounty issue when a PR is selected as the
  winning claim by merging
* fixed bug in pending-bounties causing first PR referencing a bounty
  issue to be considered as winning claim

Fixes: #44
2017-03-19 22:13:09 +02:00
Teemu Patja 7342dc920f
Add forgotten file 2017-03-19 19:43:29 +02:00
Teemu Patja bf028991e8
Update bounty issue comment after payout
* update bounty issue comment to indicate the bounty has been paid out
* minor refactoring

Fixes: #36
2017-03-19 17:10:56 +02:00
Teemu Patja b4f3d9e5c2
Improve naming 2017-03-19 16:07:42 +02:00
Teemu Patja 882660ad0c
Activity item ui tweaks 2017-03-19 16:07:26 +02:00
Teemu Patja d89938aaab
Add missing ETH text to activity item 2017-03-19 15:37:36 +02:00
Teemu Patja 665903b24d
Avatar fix (#37) 2017-03-17 23:57:02 +02:00
Teemu Patja 027fe6f2fd
Use data from /api/open-bounties (#37) 2017-03-17 23:42:03 +02:00
Teemu Patja 3d7cf03263
#37: add forgotten file 2017-03-17 23:27:51 +02:00
Teemu Patja b25e01f14d
Simple "open bounties" view
* add simple tab for showing all open bounties (#37). Probably needs
  some UX improvements
* rename old "bounties" tab to "manage payouts"
* fix issues in db migration
2017-03-17 23:17:30 +02:00
Teemu Patja 3ba4956a78
Show bounty open & balance update feed items in context of repo
For bounty related activity feed items:
* show full repository name in activity item title instead of admin name
* show owner avatar instead of admin avatar

Fixes: #41
2017-03-16 22:44:34 +02:00
Teemu Patja a3ec1591b5
Show fork icon for forks in repos view 2017-03-16 22:44:34 +02:00
Teemu Patja 05944b5c88
Update dependencies, fix cljsbuild warning 2017-03-16 22:44:34 +02:00
Teemu Patja 23de712604
Embed svg in cljs code
* move external svg image for dropdown into cljs code to avoid extra
  http requests
2017-03-16 22:44:34 +02:00
Teemu Patja 66d6dd37fd
Allow enabling forked repos
(Fixes: #42)
2017-03-15 19:06:27 +02:00
Teemu Patja d17b207064
Remove forgotten debug fn's 2017-03-15 10:12:43 +02:00
Teemu Patja bcae011231
Merge branch 'master' into develop 2017-03-14 22:44:04 +02:00
Teemu Patja 4ba777996e
Fix UI issue when confirming payout
* fix bugs in handlers related to bounty payout confirmation (Fixes: #31)
* reduce println noise
2017-03-14 22:42:29 +02:00
Teemu Patja 89ed67c39a
Update placeholder text 2017-03-14 22:23:42 +02:00
Teemu Patja a9b6a28dec
Add 'repos' oauth scope
* repos scope is needed even for read-only access to the user's
  repositories, so it is required for manage repositories to work

(Related to #29)
2017-03-14 18:41:02 +02:00
Teemu Patja 34615a6f92
Footer enhancements 2017-03-14 17:38:50 +02:00
Teemu Patja f0f7bf9c7d
Scheduled task for re-deploying failed bounty contracts
* as a secondary pre-caution, look for bounty issues where the deploy
  contract transaction has failed and re-deploy the contract

(Fixes #32)
2017-03-12 19:50:05 +02:00
Teemu Patja 3a29a577de
Remove forgotten debug fn's 2017-03-10 20:27:11 +02:00
Teemu Patja cb3feeeec3
Use random json-rpc request IDs
* use a random 0-4096 int for json-rpc request ID and ensure reponse
  has the same ID (may solve #32))
2017-03-10 20:23:14 +02:00
Teemu Patja 01f1bffd77
Store payout receipt as postgresql jsonb
* store bounty payout receipt as a jsonb object in the database
  instead of a varchar containing json
2017-03-10 20:23:14 +02:00
Teemu Patja 2bd5685638
Use random json-rpc request IDs
* use a random 0-4096 int for json-rpc request ID and ensure reponse
  has the same ID (may solve #32))
2017-03-10 20:19:35 +02:00
Teemu Patja 219d697fee
Store payout receipt as postgresql jsonb
* store bounty payout receipt as a jsonb object in the database
  instead of a varchar containing json
2017-03-09 21:50:57 +02:00
Teemu Patja 2d788cad32
Fix issues with showing version footer in uberjar
* re-implement getting git HEAD sha to cljs side due to system
  properties not containing project version in uberjar profile
2017-03-09 15:47:29 +02:00