Commit Graph

197 Commits

Author SHA1 Message Date
Teemu Patja 100fd462c0
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:08:45 +02:00
Teemu Patja 2363c88d19
Gather usage metrics to db table with sql trigger 2017-03-17 23:03:29 +02:00
Teemu Patja 6e6331f001
Include commit sha in app.js URL to avoid stale caches
Fixes: #24
2017-03-17 23:03:29 +02:00
Teemu Patja ff16f6b172
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:37:07 +02:00
Teemu Patja cb86a902ac
Show fork icon for forks in repos view 2017-03-16 21:38:35 +02:00
Teemu Patja 458de5f21d
Update dependencies, fix cljsbuild warning 2017-03-16 20:49:54 +02:00
Teemu Patja 93afa88fcf
Embed svg in cljs code
* move external svg image for dropdown into cljs code to avoid extra
  http requests
2017-03-16 19:42:39 +02:00
Teemu Patja 66d6dd37fd
Allow enabling forked repos
(Fixes: #42)
2017-03-15 19:06:27 +02:00
Teemu Patja 3cd11d4044
Cache busting for css 2017-03-15 16:23:42 +02:00
Teemu Patja f41247e5a0
Include commit sha in app.js URL to avoid stale caches
Fixes: #24
2017-03-15 12:29:02 +02:00
Teemu Patja d17b207064
Remove forgotten debug fn's 2017-03-15 10:12:43 +02:00
Teemu Patja a2fc249a62
Remove inline style attribute from <html>
* remove unwanted style attribute from <html> tag (Fixes: #34)
* define lang to make screenreaders happy
2017-03-15 10:03:50 +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 e2fa46c250
Add ga script to template 2017-03-14 17:24:46 +02:00
Teemu Patja 73149ece10
Upgrade re-frisk 2017-03-13 12:37:40 +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 b788f91149
Improve query for bounty-claim events in activity feed
* include pull-requests in activity feed that have been merged but are
  pending maintainer confirmation or bounty hunter to save own
  ethereum address
2017-03-12 19:06:51 +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
Jarrad 1cc32a74e9 Update README.md 2017-03-09 15:34:40 +01:00
Teemu Patja 9480607a58 Merge pull request #30 from status-im/agplv3
Update LICENSE to AGPLv3
2017-03-09 16:33:37 +02:00
Jarrad f362dcaaef Update LICENSE.md 2017-03-09 15:32:03 +01: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 edc547b9ab
Fix broken link to github issue
Fixes: #27
2017-03-08 22:44:30 +02:00
Teemu Patja e6e62d3adc
Indicate signing bounties not possible without web3
* show a warning div informing that signing off bounties is not
  possible without a connected wallet (Fixes #28)
2017-03-08 22:35:55 +02:00
Teemu Patja 8aa7c87835
Remove "repo" oauth scope
* remove "repo" from required permissions (fixes: #29)
* formatting
2017-03-08 22:06:15 +02:00
Teemu Patja 6e60802803
Ignore comments in PR body + unit test
* ignore markdown comments in PR body
* unit test coverage for issue-id extraction from PR webhook
2017-03-08 21:42:52 +02:00
Teemu Patja 0c52b24b51
Improve github comment text 2017-03-07 13:41:56 +02:00
Teemu Patja a8f2d1c1ab
Handle empty payout address case gracefully
* log error instead of crashing if a bounty issue gets merged and bounty
winner has no address
2017-03-06 20:47:17 +02:00
Teemu Patja 9262c3e3c2
Adopt status-react issue template
* take status-react's GitHub issue template to use with some minor modifications
2017-03-06 20:36:21 +02:00
Teemu Patja c93326e874
Post "deploying contract" image
Post a PNG image informing that the bounty contract is being deployed
immediately after bounty label.

Fixes: #26
2017-03-06 20:33:42 +02:00
Teemu Patja a3a7ac915b
Indicate testnet usage, fix comment image export
Fixes: #25
2017-03-06 17:46:31 +02:00
Teemu Patja f2c74fe4e7
Fix crash in case webhook with nil url exists for a repo 2017-03-06 15:11:54 +02:00
Teemu Patja bb9ae35fd5
Log proper stack trace in case toggling repo throws 2017-03-06 14:25:26 +02:00
Teemu Patja e6def5b3f8
Fix crash when receiving a webhook POST for unknown repo 2017-03-06 14:07:19 +02:00
Teemu Patja 317247e31a
Merge branch 'develop' 2017-03-06 12:56:01 +02:00
Teemu Patja b69a6f5728
Scheduler logging fix & fix 500 error for unexpected webhook
* log exception in case scheduled task fails
* return 403 response in case validating webhook POST secret fails
* add logging
2017-03-06 12:55:39 +02:00
Teemu Patja f8e7677c9e
Make swagger-ui available only for dev profile 2017-03-04 13:01:32 +02:00
Teemu Patja 1107ed71e7
Fix REPL reload issues with db and http-server 2017-03-04 12:42:12 +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 5cdc524c1b
Fix bug in pull request webhook handler 2017-03-03 21:37:12 +02:00
Teemu Patja 366b0f6a7a
Simplify QR image get handler 2017-03-03 17:02:58 +02:00