Commit Graph

29 Commits

Author SHA1 Message Date
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
kagel 4e8a5148d5 * deploy multisig contract bytecode
* check for transaction receipt every 5 minutes
2016-09-06 03:18:33 +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 a6459a2a32 Handle issue labeling via github webhooks 2016-08-26 04:10:05 +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