Juan Cruz Viotti
79afa79fd9
Use settings from the SDK during login
...
This enforces all clients to use the Resin Settings Client version that
the SDK provides, reducing incompatibilities caused by different modules
requiring different Resin Settings Client versions.
2015-09-08 09:06:03 +03:00
Juan Cruz Viotti
dc257b5cab
Check token validity against the API when login
...
Consider the following case:
The SDK is configured to point to staging, but the user passes a token
from production, or viceversa. Since the token is valid in a sense that
is valid JWT and contains real data, the CLI will report as a success.
The user will then get Unauthorized errors when using the API.
2015-09-05 20:17:34 +03:00
mike
b0650530cc
Resin CLI Events integration. Fix #103
2015-09-05 19:15:31 +03:00
Juan Cruz Viotti
70c060b124
Refactor auth actions to use promises
2015-08-17 08:22:48 -04:00
Juan Cruz Viotti
e9ec6c67b2
Validate that email address is valid during signup. Fix #111
...
For this we use a third party dependency from npm called `valid-email`
to avoid hardcoding and having to mantain a regular expression.
2015-08-13 15:22:22 -04:00
Juan Cruz Viotti
57319f26a6
Slim down unused functionality
2015-08-12 08:17:46 -04:00
mike
f31eb7c2b5
Add email address to the returned information, when using whoami(). Fix #73 .
2015-08-03 21:24:22 +03:00
mike
e2125b8ce9
Fix #73
2015-07-29 21:15:29 +03:00
mike
5b5d1be52f
Integrate resin-cli-form
2015-07-27 19:50:47 +03:00
mike
64d83dccfb
Add promise support for Resin-SDK dependency
2015-07-24 00:24:17 +03:00
Juan Cruz Viotti
8fa906dd48
Upgrade Resin CLI Visuals and use it's new capabilities
2015-06-11 12:46:56 -04:00
Juan Cruz Viotti
e9efb78280
Merge pull request #56 from resin-io/feature/login-feedback
...
Display feedback message after login
2015-06-03 08:46:18 -04:00
Juan Cruz Viotti
1ed9ae7d60
Open dashboardUrl instead of remoteUrl in auth login
2015-06-02 13:21:59 -04:00
Juan Cruz Viotti
34736c4e9b
Display feedback message after login
2015-06-02 11:57:52 -04:00
Juan Cruz Viotti
f3e193be0f
Make login command behave non interactively if a token is passed as an argument
2015-05-11 09:42:25 -03:00
Juan Cruz Viotti
8041905144
Remove duplicated whoami command
2015-04-20 12:46:43 -04:00
Juan Cruz Viotti
a96ab487ba
Fix bug with login with token
...
The commit was merged from an older branch, in which settings was
still part of the SDK.
2015-04-08 08:25:27 -04:00
Juan Cruz Viotti
03f05305cf
Fix tiny text issue
2015-04-07 08:07:06 -04:00
Juan Cruz Viotti
064afd6705
Fetch TOKEN_URL from the resin sdk
2015-04-06 17:05:13 -04:00
Juan Cruz Viotti
978ff91f87
Remove tab query from preferences token url constant
...
Tab queries were removed from the web frontend.
2015-04-06 17:04:43 -04:00
Juan Cruz Viotti
1cd0f02db5
Attempt to open a browser to the token location automatically
2015-04-06 17:04:03 -04:00
Juan Cruz Viotti
77695bb505
Allow login with token
2015-04-06 17:02:53 -04:00
Juan Cruz Viotti
cd8bb7882e
Reimplement whoami command
2015-03-19 15:57:43 -04:00
Juan Cruz Viotti
6a83a537c7
Implement basic documentation generation mechanism
2015-03-03 11:32:24 -04:00
Juan Cruz Viotti
a4cc106890
Commit build directory
2015-02-26 11:47:56 -04:00