Commit Graph

185 Commits

Author SHA1 Message Date
Teemu Patja b8facb1a97
"Top hunters" UI
* front end support for "top hunters"
* placeholder data used for now
2017-02-19 19:52:22 +02:00
Teemu Patja 7ce1dc6cdc
Fix bug in handle-issue-labeled + logging 2017-02-19 14:33:02 +02:00
Teemu Patja 0fef7d931d
Add forgotten file 2017-02-19 14:32:13 +02:00
Teemu Patja 416178cf0a
Guard against invalid QR code requests 2017-02-19 11:01:02 +02:00
Teemu Patja 97c7800e4d
CSS tweaks 2017-02-18 23:36:29 +02:00
Teemu Patja e265e967e2
Fix regression + UI tweaks 2017-02-18 22:46:59 +02:00
Teemu Patja 354c262301
New 'update address' view
* show web3.eth.accounts in dropdown in case web3 available, otherwise
  edit box
2017-02-18 22:43:11 +02:00
Teemu Patja d35b794ca4
New UX, webhook securing, atomic repo toggling etc.
Secure Github webhooks (Fixes #18)
* Use a unique random secret for webhooks
* Validate payload signature when receiving webhook

Make enabling + disabling a repo more robust
* store repository state instead of enabled flag in DB
* atomic toggle UI button (Fixes #17)

New UX for managing repos
* group repos by owner
* look and feel according to UI spec

General improvements
* only request user's repos via Github API once per session
* fix issue with cljs code figwheel reload
* simplify app-db structure
2017-02-18 11:07:51 +02:00
Teemu Patja 6e646280c2
WIP: new UX
* semantic UI + less based UI styling
* header, tabs, user-profile component
* store avatar URL in DB, show image in user
* unify :user and :user-profile in app-db for simplicity
2017-02-12 22:25:32 +02:00
Teemu Patja 6fc8702a34
Move inline SVG hiccup to separate module 2017-02-11 14:53:32 +02:00
Teemu Patja e29dc1ae8a
Do not render manage page when not logged in 2017-01-30 21:57:03 +02:00
Teemu Patja 993b2a5064
Fix 'unknown prop' react warning 2017-01-30 21:34:12 +02:00
Teemu Patja c60db00f6d
Reorganize API endpoints 2017-01-30 21:26:02 +02:00
Teemu Patja fb136e656d
Show spinner when repos are loading 2017-01-30 21:06:17 +02:00
Teemu Patja 19de39d946
Add missed file 2017-01-30 17:57:23 +02:00
Teemu Patja 40f3bc0de4
Move gzip middleware to a better place 2017-01-30 17:45:45 +02:00
Teemu Patja 7f90f38b1e
Gzip compress all HTTP content 2017-01-28 09:29:22 +02:00
Teemu Patja 8812157789
Optimization: only provide needed repo map keys 2017-01-28 09:12:08 +02:00
Teemu Patja a4aafa1bd3
Enable re-frisk for dev profile 2017-01-28 08:24:05 +02:00
Teemu Patja c12e5d1311
Contract-address to comment field + disable QR image caching
* include contract address in github comment
* set cache-control: no-cache header for QR image response to avoid
  caching on Github's side. Also no longer including balance in
  comment hash function.

Fixes: #16
2017-01-22 12:26:32 +02:00
Teemu Patja 985b72754d
Create bounties for existing issues when enabling a repository
* Create bounties for existing bounty-tagged issues when a repository is
toggled on
* added commiteth.bounties ns for sharing code

Fixes: #12
2017-01-22 11:10:40 +02:00
Teemu Patja f89a83ea32
Create github issue label with different color 2017-01-22 07:57:05 +02:00
Teemu Patja 1c26d17ad9
Run pending DB migrations at startup
Run pending DB migrations at startup to make deployement
simpler (eliminates need to clone repo and run "lein migratus migrate"
on the server)
2017-01-21 19:14:12 +02:00
Teemu Patja 5d704b626e
Fix QR image update issue
Previously the QR image did not get updated when the contract balance
changed and we generated a new one. This happened because Github
caches external images and our image's URL did not change after
updating. Now we generate the QR image hash based on also the balance,
so the URL changes when balance is updated.

Fixes: #13
2017-01-20 23:34:50 +02:00
Teemu Patja b3909f4e60
Fix saving of users' email
Previously the user's email did not get saved to the db unless it was
defined as public in the profile. This commit adds an additional oauth
scope for accessing the user's emails, and the user's primary email
address is saved to the db.
2017-01-20 23:34:40 +02:00
Teemu Patja 480d85f6b5
Fix bugs in ethereum module
* Fix geth json-rpc errors caused by non-hex encoded integer
  parameters and nil :to parameter
* use personal_getTransaction instead of
  personal_signAndSendTransaction used by geth < 1.5
2017-01-20 20:36:24 +02:00
Teemu Patja 60cc76919e
Add support for using org repos
Now repositories are shown with their full name ('<org/user>/repo'
instead of 'repo') and it is possible to add bounties for both
user repositories and organization repositories. Using org repos
requires the user to have admin rights to the repo.
2017-01-20 20:36:18 +02:00
kagel e68891a936 `send` button now reflects tx status + display some errors 2016-10-04 03:13:43 +03:00
kagel feccbcce72 Refresh data every minute, please 2016-10-02 18:06:12 +03:00
kagel 401f8dcf8c Fix multisig wallet payout flow 2016-10-01 15:29:18 +03:00
kagel 1110f5817d Fix tentacles edit-comment method 2016-09-30 20:10:33 +03:00
kagel 369d45ef51 Fix multisig wallet `execute` method 2016-09-30 20:02:28 +03:00
kagel 4a009a09e8 Strange Mist behaviour workaround 2016-09-30 01:52:40 +03:00
kagel e8375418d7 Wildfly workaround: reuse named scheduler thread between deployments 2016-09-29 17:27:20 +03:00
kagel e65fabf60e Pagination 2016-09-28 04:12:33 +03:00
kagel 161b5b8052 Remove assignee and comments count 2016-09-26 01:56:00 +03:00
kagel c064c04b46 Remove table header 2016-09-26 01:50:02 +03:00
kagel 833953edc6 Update multisig wallet contract code 2016-09-25 14:49:18 +03:00
kagel 49dcdc0515 Confirm multisig transaction using web3 2016-09-22 03:45:06 +03:00
kagel 6d8ad78bfd Display balance in ETH + stop scheduler threads on exit 2016-09-22 03:45:06 +03:00
kagel 0affe53a45 React warnings 2016-09-22 03:45:06 +03:00
kagel 4079bd398d New look 2016-09-19 23:26:57 +03:00
kagel bce7ef436a Various bugfixes:
* extra newline in contract data
* insufficient gas
* wrong headless image generation
* stop scheduler threads on exit
etc.
2016-09-18 23:43:38 +03:00
kagel 4618662203 Another bugfix 2016-09-15 17:56:29 +03:00
kagel 7ffc9741de Bugfix in handle-issue-closed 2016-09-15 17:39:50 +03:00
kagel 88ed27d100 More logs please 2016-09-15 00:35:50 +03:00
kagel 59a60aa261 replace println with log 2016-09-14 15:55:52 +03:00
kagel 781f4b4a49 Externalize configuration 2016-09-14 14:40:44 +03:00
kagel 51b8fa87ff Automatically add the "bounty" label to a repository
fixes #2
2016-09-14 02:29:39 +03:00
kagel 7fb0f9ddae Update github comment only when balance changes 2016-09-13 19:50:04 +03:00
kagel 8fb363218a Edit github comment on balance update 2016-09-12 19:44:29 +03:00
kagel 397b3259b1 Embed balance and issue number into QR image 2016-09-12 02:15:59 +03:00
kagel e8c9d618aa Prevent QR code cheating 2016-09-10 09:50:13 +03:00
kagel c1af7788eb Sign transaction 2016-09-10 02:06:56 +03:00
kagel fcbf26e775 Add multisig wallet owners 2016-09-09 03:35:28 +03:00
kagel 21a9682c5c Fix period 2016-09-07 04:22:55 +03:00
kagel 8d7a78e593 Use `mount/defstate`, please 2016-09-07 04:18:33 +03:00
kagel d404e7d34f Post a comment with balance and QR code 2016-09-07 03:20:17 +03:00
kagel cfbfff4d30 Gas is not string 2016-09-06 17:02:12 +03:00
kagel 26c67a59f1 No need to compile contract each time 2016-09-06 13:30:05 +03:00
kagel 4e8a5148d5 * deploy multisig contract bytecode
* check for transaction receipt every 5 minutes
2016-09-06 03:18:33 +03:00
kagel 094ce72a46 Validate referenced issue number 2016-09-01 02:59:43 +03:00
kagel 9e8ecd50a3 Take first issue number, please 2016-09-01 02:13:17 +03:00
kagel b2f92e2f0e Link referenced issue by parsing "Fixes" keyword 2016-09-01 02:03:53 +03:00
kagel 99705264ea Another bugfix 2016-08-31 04:49:26 +03:00
kagel 1dd6be2180 Bugfix 2016-08-31 03:21:09 +03:00
kagel fdfaafc2c1 Get rid of parents and merge_commit_sha 2016-08-31 00:45:25 +03:00
kagel f9d983076c Increase session ttl 2016-08-30 23:25:11 +03:00
kagel a484d477f4 JDBC_DATABASE_URL 2016-08-30 01:57:35 +03:00
kagel 520e5e34e4 Prepare for deployment + bugfixes
Add empty css directory (again)

Remove sassc hook (Heroku)
2016-08-30 01:40:10 +03:00
kagel 7f6cb564a0 Display issues list 2016-08-29 01:16:08 +03:00
kagel 4a5196987b Issue and PR webhooks 2016-08-28 23:16:45 +03:00
kagel a6459a2a32 Handle issue labeling via github webhooks 2016-08-26 04:10:05 +03:00
kagel 656f7ce84a Embrace re-frame 0.8.0 effects 2016-08-25 02:58:55 +03:00
kagel b29eaaaf80 Repositories list 2016-08-25 01:46:29 +03:00
kagel e47c25d1ca Get user profile 2016-08-23 16:00:53 +03:00
kagel c97627c6cf Factor out profile page 2016-08-23 15:34:52 +03:00
kagel b4eb921361 UI fix 2016-08-23 15:22:38 +03:00
kagel 58a66236e7 Use form-2 please 2016-08-23 15:07:35 +03:00
kagel 601465ad39 Update user address 2016-08-23 02:27:49 +03:00
kagel 8cd7f7705c Buddy session 2016-08-22 22:38:10 +03:00
kagel baf07a21ec Persist user 2016-08-22 03:22:39 +03:00
kagel f6498069f7 Fix compile error 2016-08-22 01:13:07 +03:00
kagel 0382fa9888 Github integration hello-world 2016-08-21 03:29:39 +03:00
kagel c4bab5a6ed Luminus skeleton + useless github button 2016-08-21 00:36:09 +03:00