Commit Graph

328 Commits

Author SHA1 Message Date
Teemu Patja e49ad18fd8
Refactoring & cleanup
* fix issues found by lein-kibit
2017-03-29 10:36:44 +03:00
Teemu Patja 6bcdfa905a
Fix template variable name 2017-03-28 11:46:41 +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 c2b6857a65
Fix crash when creating user 2017-03-23 08:29:40 +02:00
Teemu Patja 9f0cc6497b Merge pull request #46 from status-im/develop
Progressive Github permissioning & client-side oauth tokens
2017-03-22 22:27:37 +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 d7eb0d7f72 Merge pull request #45 from status-im/develop
Show open bounties tab regardless of sign in state
2017-03-22 13:21:11 +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 ebef4bacd6
Merge remote-tracking branch 'upstream/develop' 2017-03-17 23:23:54 +02:00
Teemu Patja 1f6ef6e161
#37: add forgotten file 2017-03-17 23:23:01 +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 020f9cdc5d
Gather usage metrics to db table with sql trigger 2017-03-17 23:17:29 +02:00
Teemu Patja 75d1da8a7a
Include commit sha in app.js URL to avoid stale caches
Fixes: #24
2017-03-17 23:17:29 +02:00
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 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 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 184f1ee6ee Merge pull request #43 from status-im/develop
css cache busting & allow forks
2017-03-15 19:09:37 +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 7c30903c2a Merge pull request #39 from status-im/develop
Include commit sha in app.js URL to avoid stale caches
2017-03-15 12:33:28 +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 fc32321622
Include commit sha in app.js URL to avoid stale caches
Fixes: #24
2017-03-15 12:27:23 +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