Commit Graph

55 Commits

Author SHA1 Message Date
Vitaliy Vlasov 3c77dd297e [FIX #206] Dynamically require commiteth.core in user namespace 2018-01-09 14:18:03 +02:00
Roman Volosovskyi 340d34186a
add precompilation of java files in order to make lein run work without cp dancing 2017-10-30 16:27:51 +01:00
Teemu Patja aba6f5b604
Update dependencies 2017-10-27 17:45:17 +03:00
Teemu Patja 97ca8a8690
Fix typo in dependency jar name 2017-09-21 12:41:32 +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 912b780c92
Revert "Update cider-nrepl version"
This reverts commit 1139e01835.
2017-08-28 23:13:08 +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 1139e01835
Update cider-nrepl version 2017-08-28 20:00:16 +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 3f5a79c223
Build contracts with leiningen
* compile .sol files and generate java with web3j as part of
  uberjar build

Related to #80
2017-08-20 13:51:10 +03:00
Teemu Patja abb36770c6
Add less build to :prep-tasks, update build instructions 2017-08-20 11:46:57 +03:00
Teemu Patja 67ca49b816
Fix uberjar build
* include all needed tasks in uberjar profile's :prep-tasks
2017-08-19 14:36:58 +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 ec2e49601d
Add web3j 2017-08-18 21:28:51 +03:00
Teemu Patja cc36b5bb02
Update dependencies + minor refactoring
* update all dependency libraries to latest
* use ring.util.http-response instead of ring.util.response everywhere
2017-08-17 11:42:08 +03:00
Foo Pang 6f2a44534b Fix Figwheel version mismatch 2017-06-16 14:59:04 +08: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 cecbd6745b
Add some uberjar exclusions
Fixes: #55
2017-04-13 11:38:11 +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 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 05944b5c88
Update dependencies, fix cljsbuild warning 2017-03-16 22:44:34 +02:00
Teemu Patja 73149ece10
Upgrade re-frisk 2017-03-13 12:37:40 +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
Teemu Patja 817466c636
Show commiteth version in page footer
* inject commit sha to project version and make it visible in cljs
* show commiteth version (commit sha) in page footer with a link to github
* downgrade snapshot versions of dependencies to last stable version
2017-03-09 09:49:22 +02:00
Teemu Patja 22d1fcc517
New scheduler implementation
* simpler and more REPL-friendly scheduler implementation
2017-03-03 23:24:31 +02:00
Teemu Patja 442f5c7821
Require Ethereum address for toggling repos
* do not allow toggling of repositories without a saved Ethereum
  address (Fixes: #20)
* fix react warning on activity view
* fix bugs in payout related re-frame handlers
* project file tweaks
2017-03-03 10:19:28 +02:00
Teemu Patja 9f010648aa
Error handling improvements, #22 fix & more
Error handling improvements
* show error message on UI in case repo toggling fails
* eliminate possibility of creating multiple webhooks

Store comment PNG for all balances of a bounty (Fixes: #22)
* include balance in computation of verification hash for image request
* store hash in db

Refactoring
* use 'owner' for a repo owner everywhere instead of 'login'

Minor
* move cider dependencies to top-level in project file to avoid errors
  with tests and migratus
2017-03-02 10:51:18 +02:00
Teemu Patja 6e108a088d
Make uberjar nrepl emacs friendly
* replace luminus nrepl with cider nrepl
+ minor cleanup
2017-02-28 14:03:33 +02:00
Teemu Patja 211cc96c90
Activity feed + UI tweaks
* finish missing parts of activity feed feature
* render time ago labels with moment.js
* css tweaks
2017-02-27 22:38:41 +02:00
Teemu Patja 9cb48b5183
Bounties view + related backend functionality & more
Changes to bounty/pull-request data model and logic
* save git sha of pull request's HEAD instead of possible merge commit
  and save it for opened, merged and closed events
* only look for bounties being accepted in pull-request closed via
  merge events (no need for compilicated logic with issue-closed event)
* pull_request now has issue_id column to make many sql queries
  simpler

Frontend
* owner-bounties app-db structure changes
* bounties view with confirm pending payout UI

Other
* removed lots of unused legacy code
* bug fixes + refactoring
* added comments + TODOs
2017-02-25 00:15:44 +02:00
Teemu Patja 2d2d11fc9d
Fix issues with injected web3 and advanced cljs compilation
* use stub js for web3 externs
* upgrade clojurescript

Fixes: #21
2017-02-23 12:26:29 +02:00
Teemu Patja 6bc3ca8937
Define goog.DEBUG false for uberjar to avoid showing re-frisk in prod 2017-02-22 21:15:39 +02:00
Teemu Patja 1663669163
Ethereum address validation + unit test
* utility function for validate Ethereum addresses
* unit test
2017-02-21 21:41:39 +02:00
Teemu Patja 9b972625e0
Rewrite Github comment PNG functionality
* removed old swing JEditorPane based html to png rendering due to
  it's lack of support for modern css
* new implementation uses wkhtmltoimage (on prod server via wrapper
  script using xvfb)
* no longer generating image on every GET request for QR, but rather
  generating image when a bounty is cretaed or contract balance
  changes
* images stored to DB
* comment image design updated according to UI spec
2017-02-21 10:49:25 +02:00
Teemu Patja d503c84928
Add sablono as dev dependency to avoid error
* reloading clj code in REPL does not work without sablono as a
  dependency (devcards issue)
2017-02-19 10:47:16 +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 5fb66d551e
Clean up project.clj
* remove unneeded dependencies
* simplify structure
* remove sassc related things
* add config less compiler
* add devcards config
2017-02-11 14:37:18 +02:00
Teemu Patja da7107ce87
Upgrade dependencies, use CDN for bootstrap + fa 2017-01-30 20:33:25 +02:00
Teemu Patja 7f90f38b1e
Gzip compress all HTTP content 2017-01-28 09:29:22 +02:00
Teemu Patja a4aafa1bd3
Enable re-frisk for dev profile 2017-01-28 08:24:05 +02:00
Teemu Patja 8cb5995d5a
Use SQL timestamp instead of time
* Use SQL data type timestamp for users.created and
  repositories.updated since we want to store datetimes, not time of
  day
* Fix :migration-dir in project file

Fixes: #15
2017-01-21 18:06:37 +02:00
Teemu Patja 0be96b26cd
Update dependencies and clean up project file 2017-01-21 11:31:47 +02:00
kagel e8375418d7 Wildfly workaround: reuse named scheduler thread between deployments 2016-09-29 17:27:20 +03:00
kagel 6d8ad78bfd Display balance in ETH + stop scheduler threads on exit 2016-09-22 03:45:06 +03:00
kagel 4079bd398d New look 2016-09-19 23:26:57 +03:00
Dmitriy Khvatov f0e61164ef Merge pull request #1 from status-im/server
change db to vps
2016-09-13 14:27:34 +03:00
kagel 8fb363218a Edit github comment on balance update 2016-09-12 19:44:29 +03:00
Adrian Tiberius 0765a2dc5d change db to vps 2016-09-12 01:48:25 +03:00
kagel 5a52b3204d Fix deps for Heroku 2016-09-07 03:26:43 +03:00
kagel d404e7d34f Post a comment with balance and QR code 2016-09-07 03:20:17 +03:00