-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Marketplace login #443
Marketplace login #443
Conversation
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
============================================
- Coverage 51.57% 48.21% -3.37%
- Complexity 255 266 +11
============================================
Files 17 17
Lines 888 952 +64
============================================
+ Hits 458 459 +1
- Misses 430 493 +63
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #443 +/- ##
============================================
+ Coverage 51.57% 52.97% +1.39%
- Complexity 255 267 +12
============================================
Files 17 17
Lines 888 959 +71
============================================
+ Hits 458 508 +50
- Misses 430 451 +21
Continue to review full report at Codecov.
|
74795d5
to
ff20088
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@IljaN Looks good in general. See a few comments.
Vue templates are already indented with spaces so the formatting looks weird for them.
@VicDeo Adressed your changes. Tough not sure about:
Care to explain? |
Please don't merge yet |
@IljaN open the diff for src/App.vue here and you see that your changes are not aligned with the rest in this file. I spotted out one line, the rest are same (tabs instead of spaces) |
Hmhh App.vue seems to be mixed, sometimes tabs, sometimes spaces 🙈 |
@VicDeo Please re-review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Feel free to merge after adding type hints into PHP doc blocks.
It would be good to squash at least commits 1-5 to compact the history. But it's up to you.
lib/HttpService.php
Outdated
* | ||
* Exchange login token for api key | ||
* | ||
* @param $loginToken |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type is missing
lib/HttpService.php
Outdated
* Exchange login token for api key | ||
* | ||
* @param $loginToken | ||
* @param $codeVerifier |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type is missing
lib/HttpService.php
Outdated
@@ -273,6 +295,40 @@ private function httpGet($path, $options, $apiKey) { | |||
return $response; | |||
} | |||
|
|||
/** | |||
* @param $path |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type is missing
lib/HttpService.php
Outdated
@@ -273,6 +295,40 @@ private function httpGet($path, $options, $apiKey) { | |||
return $response; | |||
} | |||
|
|||
/** | |||
* @param $path | |||
* @param $options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type is missing
f332a64
to
6e800a7
Compare
Login directly from market-app to auto-install your api-key.
This PR can be tested against staging marketplace by setting appstoreurl.
This is NOT OAuth because OAuth requires a static callback-url
Closes #425