Juan Cruz Viotti
26e3dc1aa7
Merge pull request #187 from resin-io/jviotti/feature/ignore-resinrc
...
Add resinrc.yml to gitignore
2015-09-08 09:31:40 +03:00
Juan Cruz Viotti
3bc22a7b7c
Merge pull request #186 from resin-io/jviotti/refactor/settings
...
Use settings from the SDK during login
2015-09-08 09:16:05 +03:00
Juan Cruz Viotti
7e5b2695fe
Add resinrc.yml to gitignore
...
Some modules have an use case for shipping the configuration file with
the project, however this is not the case for the CLI.
2015-09-08 09:07:48 +03:00
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
cdaaddb826
Merge pull request #185 from resin-io/jviotti/upgrade/sdk
...
Upgrade Resin SDK to v2.7.2
2015-09-07 11:45:25 +03:00
Juan Cruz Viotti
ec5f6a7cd8
Upgrade Resin SDK to v2.7.2
2015-09-07 11:25:01 +03:00
Juan Cruz Viotti
72f34031a9
Merge pull request #184 from resin-io/jviotti/fix/token-auth
...
Check token validity against the API when login
2015-09-05 20:48:22 +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
Juan Cruz Viotti
4bdcd3d2ee
Merge pull request #180 from resin-io/issue_#103
...
Resin CLI Events integration. Fix #103
2015-09-05 20:11:52 +03:00
mike
b0650530cc
Resin CLI Events integration. Fix #103
2015-09-05 19:15:31 +03:00
Juan Cruz Viotti
454669ada2
Merge pull request #183 from resin-io/jviotti/182/docs/update
...
Update documentation
2015-09-01 13:09:42 -04:00
Juan Cruz Viotti
a65975596e
Merge pull request #181 from resin-io/reword-example
...
Replace device name with uuid in env-variables command example
2015-09-01 13:03:27 -04:00
Juan Cruz Viotti
91f878cfc0
Update documentation
...
- There were changes to commands.
- Regenerates `login` documentation with production url.
Fixes: https://github.com/resin-io/resin-cli/issues/182
2015-09-01 13:01:47 -04:00
mike
8c3e832cdc
Replace device name with uuid in env-variables command example
2015-09-01 00:56:01 +03:00
Juan Cruz Viotti
a5c670902d
Merge pull request #179 from resin-io/jviotti/appveyor/cache
...
Add Appveyor cache support
2015-08-28 08:42:57 -04:00
Juan Cruz Viotti
14be1d5f9f
Add Appveyor cache support
2015-08-28 08:22:26 -04:00
Juan Cruz Viotti
41d6d5c670
Merge pull request #178 from resin-io/jviotti/refactor/quickstart
...
Refactor quickstart
2015-08-27 10:13:56 -04:00
Juan Cruz Viotti
a090e6c21d
Refactor quickstart
...
- Use promises.
- Move some logic to `helpers`.
- Inline `device await` command.
2015-08-27 10:01:33 -04:00
Juan Cruz Viotti
d78c1ffa47
Merge pull request #176 from resin-io/jviotti/cleanup/compiled-files
...
Remove orphaned files from build/
2015-08-27 09:03:38 -04:00
Michalis Korakakis
5808d20d88
Merge pull request #177 from resin-io/modify-capitanodoc
...
Update capitanodoc.json
2015-08-27 15:45:05 +03:00
mike
7f4065e3da
Update capitanodoc.json
2015-08-27 15:30:38 +03:00
Juan Cruz Viotti
07daa51051
Remove orphaned files from build/
...
Some files were deleted from `lib/` but still live in `build/`. More
specifically:
- `build/actions/update.js`.
- `build/data/`.
2015-08-27 08:29:22 -04:00
Juan Cruz Viotti
d10d4ce185
Merge pull request #174 from resin-io/jviotti/feature/confirm-abortion
...
Add `Aborted` error message when not accepting a confirmation
2015-08-24 08:47:29 -04:00
Juan Cruz Viotti
7f763e7881
Merge pull request #175 from resin-io/jviotti/fix/update-root
...
Don't check for available updates when running as root
2015-08-24 07:41:56 -04:00
Juan Cruz Viotti
5de0f66d7a
Don't check for available updates when running as root
...
`update-notifier` persist its update check results in a file, which is
then read when running again the application.
If this file gets written when the application is being run as root, we
get ugly EPERM issues.
2015-08-20 16:54:22 -04:00
Juan Cruz Viotti
354921ca92
Add Aborted
error message when not accepting a confirmation
...
This prevents a lot of duplicate code to check for confirmation status
and exit from the current action.
2015-08-20 16:16:20 -04:00
Juan Cruz Viotti
fb28cc7d2f
Merge pull request #173 from resin-io/jviotti/upgrade/form
...
Upgrade Resin CLI Form to v1.2.1
2015-08-20 16:11:17 -04:00
Juan Cruz Viotti
7cf89a9bf6
Merge pull request #172 from resin-io/jviotti/cleanup/readme
...
Remove Man pages section from README.md
2015-08-20 16:11:09 -04:00
Juan Cruz Viotti
a3cbc549d8
Upgrade Resin CLI Form to v1.2.1
...
This version contains a fix for a bug that prevented `when` properties
from working as expected.
2015-08-20 15:55:57 -04:00
Juan Cruz Viotti
1c48328347
Remove Man pages section from README.md
...
Man pages are not longer being produced.
2015-08-20 12:04:11 -04:00
Juan Cruz Viotti
9b69fe3c3c
Merge pull request #171 from resin-io/jviotti/upgrade/cli-form
...
Update Resin CLI Form to v1.2.0
2015-08-20 12:02:26 -04:00
Juan Cruz Viotti
dc513a08f6
Update Resin CLI Form to v1.2.0
...
This version includes support for the `drive` input type.
2015-08-20 11:55:53 -04:00
Juan Cruz Viotti
fcc44949a7
Merge pull request #169 from resin-io/jviotti/refactor/plugins
...
Upgrade Nplugm to v3.0.0
2015-08-19 12:49:32 -04:00
Juan Cruz Viotti
006764af66
Merge pull request #170 from resin-io/jviotti/cleanup-resin-write
...
Remove unused resin-write bin script
2015-08-19 12:49:25 -04:00
Juan Cruz Viotti
b879d3f9ea
Remove unused resin-write bin script
...
This script was used along with windosu as a workaround to call `device
init` with elevated permissions.
Since Windows elevation is not used anymore for now, this script can be
removed.
2015-08-19 11:30:48 -04:00
Juan Cruz Viotti
7f4863da86
Upgrade Nplugm to v3.0.0
...
This new version supports promises and contains speed improvements.
2015-08-19 11:27:28 -04:00
Juan Cruz Viotti
ba6f50d171
Merge pull request #168 from resin-io/jviotti/cleanup/plugins
...
Remove plugins manipulation commands
2015-08-19 11:14:35 -04:00
Juan Cruz Viotti
a803d4f646
Remove plugins manipulation commands
...
Since we're now forcing users to rely on `npm` directly for updates, we
can also get rid of plugin commands that attempt to
install/update/remove using npm programatically and require users to use
`npm` directly as well.
This commit removes the following commands:
- `plugins`
- `plugin install`
- `plugin update`
- `plugin remove`
Despite plugin related commands being removed, *the functionality that
scans for plugins and registers them remains intact*.
2015-08-19 10:57:42 -04:00
Juan Cruz Viotti
85d940df66
Merge pull request #165 from resin-io/jviotti/feature/update-notifier
...
Notify the user if there is an available update
2015-08-19 07:56:40 -04:00
Michalis Korakakis
6f9535ca34
Merge pull request #167 from resin-io/issue-166
...
Display msg when app/device does not have env variables. Fix #166 .
2015-08-18 18:17:21 +03:00
mike
019e2ac357
Display msg when app/device does not have env variables. Fix #166
2015-08-18 18:12:08 +03:00
Michalis Korakakis
433916e18a
Merge pull request #164 from resin-io/issue-90
...
Add message informing the user about potential delay in system img initialization. Fix #90 .
2015-08-18 16:04:44 +03:00
Juan Cruz Viotti
f19588032f
Notify the user if there is an available update
...
For this we use the `update-notifier` module with its default settings.
This module will print a nice banner prompting the user to run the
corresponding npm command to update.
2015-08-18 08:53:06 -04:00
mike
0595452c3d
Add message informing the user about potential delay in system img initialization. Fix #90 .
2015-08-18 15:43:52 +03:00
Michalis Korakakis
d6305df48e
Merge pull request #163 from resin-io/issue-108
...
Reword ending message in quickstart. Fix #108
2015-08-18 15:00:38 +03:00
Michalis Korakakis
f7084580b2
Merge pull request #162 from resin-io/issue-106
...
Reword output during download in device init. Fix #106 .
2015-08-18 14:59:08 +03:00
mike
3dd5f5858a
Reword ending message in quickstart. Fix #108
2015-08-18 14:34:15 +03:00
mike
02a06e1e7c
Reword output during download in device init. Fix #106 .
2015-08-18 13:55:04 +03:00
Juan Cruz Viotti
50daf8ef73
Merge pull request #161 from resin-io/jviotti/refactor/env
...
Refactor env action module to use promises
2015-08-17 10:42:40 -04:00
Juan Cruz Viotti
fd5a34a1c4
Refactor env action module to use promises
2015-08-17 10:32:22 -04:00