Commit Graph

720 Commits

Author SHA1 Message Date
Juan Cruz Viotti
807bc2f047 Make use of new SDK logs feature 2015-01-09 10:34:26 -03:00
Juan Cruz Viotti
bf7430d7fd Move logs logic to a nested logs module 2015-01-09 09:42:46 -03:00
Juan Cruz Viotti
5ec4abc710 Make deviceOption required 2015-01-08 13:30:15 -03:00
Juan Cruz Viotti
b5701f53f5 Make use of isSystemVariable from Resin SDK 2015-01-08 13:15:40 -03:00
Juan Cruz Viotti
d2b0772673 Remove duplication by relying on Capitano's new required option feature 2015-01-08 12:11:10 -03:00
Juan Cruz Viotti
dc75481880 Improve TODO comment for clarity sake 2015-01-08 11:01:47 -03:00
Juan Cruz Viotti
2f1275d617 Remove unneeded dependency 2015-01-08 11:01:04 -03:00
Juan Cruz Viotti
0452916a87 Integrate with connection.ConnectionParams 2015-01-08 10:56:46 -03:00
Juan Cruz Viotti
12f46be691 Partially get rid of nested sdk 2015-01-08 09:39:38 -03:00
Juan Cruz Viotti
07c57d335b Refactor table to get rid of map feature 2015-01-06 14:12:11 -03:00
Juan Cruz Viotti
57c86f920c Stop using table map feature 2015-01-06 14:07:35 -03:00
Juan Cruz Viotti
19e151e521 Simplify conditional 2015-01-06 13:57:11 -03:00
Juan Cruz Viotti
af98a89e51 Make errors.handle handle EISDIR and ENOENT 2015-01-06 13:54:40 -03:00
Juan Cruz Viotti
e9caca8c24 Rename error code to error exit code 2015-01-06 13:46:31 -03:00
Juan Cruz Viotti
ac00a96728 Move device manipulation logic to device model 2015-01-06 13:35:38 -03:00
Juan Cruz Viotti
be2b556d91 Move device display name logic to application model 2015-01-06 13:24:11 -03:00
Juan Cruz Viotti
c311738dd1 Move application field manipulations to the model 2015-01-06 13:22:40 -03:00
Juan Cruz Viotti
45a4f8eda0 Remove unnecessary object keys deletion 2015-01-06 13:15:40 -03:00
Juan Cruz Viotti
af8d1e4517 Implement devices supported command 2014-12-24 12:50:30 -04:00
Juan Cruz Viotti
3f9270cbb9 Implement note command 2014-12-24 12:40:40 -04:00
Juan Cruz Viotti
16ddd8ccb6 Implement interactive signup form 2014-12-24 11:14:30 -04:00
Juan Cruz Viotti
0983506efb Fix bug in device command 2014-12-23 09:54:34 -04:00
Juan Cruz Viotti
4ad7fd0132 Make devices command application option based 2014-12-23 08:54:15 -04:00
Juan Cruz Viotti
634653609e Remove IP Address from devices list
Some devices have a very long set of ips.
2014-12-23 08:44:13 -04:00
Juan Cruz Viotti
8d08affcd8 Move parseCredentials() to helpers 2014-12-22 15:48:11 -04:00
Juan Cruz Viotti
1b9c62a50f Completely decouple client code from server module 2014-12-22 15:40:57 -04:00
Juan Cruz Viotti
0746723abd Decouple client code from resin.errors 2014-12-22 15:29:15 -04:00
Juan Cruz Viotti
212c06e5a2 Decouple client code from server by creating key model 2014-12-22 15:18:47 -04:00
Juan Cruz Viotti
a6b3ca1442 Mix device module with device model 2014-12-22 15:02:52 -04:00
Juan Cruz Viotti
cda24c9e1b Move os.generateCacheName outside Resin SDK 2014-12-22 14:50:54 -04:00
Juan Cruz Viotti
46ebb7b1fd Move errors.handle() out of resin sdk 2014-12-22 12:47:12 -04:00
Juan Cruz Viotti
2351fa25a0 Move log out of resin sdk 2014-12-22 12:41:14 -04:00
Juan Cruz Viotti
5ae3077df9 Implement example clone command 2014-12-22 12:20:08 -04:00
Juan Cruz Viotti
082382d244 Implement examples and example <id> commands 2014-12-22 12:00:01 -04:00
Juan Cruz Viotti
893d836937 Implement stdin support for key add command 2014-12-22 10:30:21 -04:00
Juan Cruz Viotti
eb34d957f3 Implement env rename command 2014-12-19 14:29:53 -04:00
Juan Cruz Viotti
de4c3c986e Implement env add command 2014-12-19 14:07:53 -04:00
Juan Cruz Viotti
006f3e8aca Implement key add command 2014-12-19 13:06:58 -04:00
Juan Cruz Viotti
ff152c987d Implement device rename command 2014-12-19 10:05:54 -04:00
Juan Cruz Viotti
6cfe2bdc49 Make use of Capitano for command line parsing 2014-12-19 09:15:38 -04:00
Juan Cruz Viotti
b30b41d4bb Enable auth whoami command 2014-12-12 10:25:32 -04:00
Juan Cruz Viotti
15c73b6ed5 Document and refactor resin.vcs 2014-12-12 09:22:35 -04:00
Juan Cruz Viotti
596446835a Reimplement app init with resin.vcs 2014-12-11 16:00:24 -04:00
Juan Cruz Viotti
001d7be622 Implement app init command 2014-12-11 11:37:16 -04:00
Juan Cruz Viotti
37797f3416 Get rid of formatLongString in favor of _.chop 2014-12-09 14:35:45 -04:00
Juan Cruz Viotti
25eedd22a0 Update docs 2014-12-08 10:13:01 -04:00
Juan Cruz Viotti
4b74ec7fc4 Move UI outside resin module 2014-12-05 12:00:15 -04:00
Juan Cruz Viotti
e7495fa72d Move cli outside of resin module 2014-12-05 11:51:52 -04:00
Juan Cruz Viotti
4d0ecbdc4c Implement device info command 2014-12-05 11:32:14 -04:00
Juan Cruz Viotti
0c55a4afb6 Integrate CliConf with application 2014-12-05 11:09:31 -04:00
Juan Cruz Viotti
511e753256 Support user defined configuration file 2014-12-03 12:03:54 -04:00
Juan Cruz Viotti
4143b6da49 Namespace directories inside config.directories 2014-12-03 09:26:14 -04:00
Juan Cruz Viotti
ffdd44752a Integrate nicer progress bar for os:download 2014-12-02 17:40:13 -04:00
Juan Cruz Viotti
2b5d95af3a Support --output option 2014-12-02 11:53:34 -04:00
Juan Cruz Viotti
7ea4ef84b4 Make use of resin.os.generateCacheName in os action 2014-12-02 11:30:17 -04:00
Juan Cruz Viotti
ccf92411fe Implemence pace based os download 2014-12-02 11:08:22 -04:00
Juan Cruz Viotti
e21c1588c9 Remove config urls abs url map 2014-12-01 10:13:35 -04:00
Juan Cruz Viotti
d3eac45955 Move all urls to config 2014-12-01 10:06:03 -04:00
Juan Cruz Viotti
d4b189f785 Move device logs pubnub event to config 2014-12-01 09:50:18 -04:00
Juan Cruz Viotti
8f13e9bf44 Implement log tail option 2014-11-28 20:51:08 -04:00
Juan Cruz Viotti
25af7a2231 Implement logs -n/--num 2014-11-28 20:18:59 -04:00
Juan Cruz Viotti
4702e7b563 Refactor valid UUID check into helpers 2014-11-28 15:36:03 -04:00
Juan Cruz Viotti
721ef8413a Implement logs command 2014-11-28 15:11:15 -04:00
Juan Cruz Viotti
26f037d3c7 Don't use plugin loader for built in functionality 2014-11-27 11:26:59 -04:00
Juan Cruz Viotti
594a358bef Implement and make use of plugin loader (only in preferences for now) 2014-11-27 11:22:48 -04:00
Juan Cruz Viotti
5e3d973725 Implement command permissions 2014-11-27 10:06:11 -04:00
Juan Cruz Viotti
86ecf5b1b6 Namespace actions with an actions object 2014-11-26 15:11:34 -04:00
Juan Cruz Viotti
debc017ba3 Make environment variables model callback based 2014-11-26 14:11:11 -04:00
Juan Cruz Viotti
fa83019945 Make device model callback based 2014-11-26 14:05:55 -04:00
Juan Cruz Viotti
213cab0480 Make application model callback based 2014-11-26 13:54:05 -04:00
Juan Cruz Viotti
9529e6c335 Move config to resin module 2014-11-26 13:42:05 -04:00
Juan Cruz Viotti
3db13f6329 Move patterns to resin/ui 2014-11-26 13:29:19 -04:00
Juan Cruz Viotti
67ade4bf12 Move widgets to resin/ui module 2014-11-26 13:26:01 -04:00
Juan Cruz Viotti
ce8b11004c Move table to widget module 2014-11-26 13:20:56 -04:00
Juan Cruz Viotti
bc11b305b2 Move device to resin module 2014-11-26 13:12:39 -04:00
Juan Cruz Viotti
ff07764b39 Move auth to resin module 2014-11-26 13:02:22 -04:00
Juan Cruz Viotti
edcee1c9cf Move log and errors to resin module 2014-11-26 12:38:02 -04:00
Juan Cruz Viotti
8b81fbdbbd Move models to resin 2014-11-26 12:15:40 -04:00
Juan Cruz Viotti
698ddd168c Move server to resin module 2014-11-26 12:07:10 -04:00
Juan Cruz Viotti
927b7bc0eb Make use of errors.NotFound 2014-11-24 14:48:16 -04:00
Juan Cruz Viotti
5549a2bd9e Make use of errors.handle() everywhere 2014-11-24 14:08:58 -04:00
Juan Cruz Viotti
b9d5b0fd59 Implement env:rm command 2014-11-24 13:00:36 -04:00
Juan Cruz Viotti
7988b0cbbe Allow increasing verbosity for envs command 2014-11-24 12:43:37 -04:00
Juan Cruz Viotti
a8a78f0749 Implement envs command 2014-11-24 12:12:12 -04:00
Juan Cruz Viotti
79f7d23f35 Move /blink to config 2014-11-24 11:40:51 -04:00
Juan Cruz Viotti
f0e25589cd Add non interactive support for app:create 2014-11-24 10:56:03 -04:00
Juan Cruz Viotti
f4ad73d2f8 Implement app:create command (interacitivy only for now) 2014-11-24 10:46:33 -04:00
Juan Cruz Viotti
f56cd8162c Implement device:identify command 2014-11-21 14:21:47 -04:00
Juan Cruz Viotti
34b0c7d783 Removeu unneeded dependency 2014-11-21 13:57:51 -04:00
Juan Cruz Viotti
29054bedf1 Implement key:rm command 2014-11-21 13:56:11 -04:00
Juan Cruz Viotti
832cbf89ff Implement device rm command 2014-11-21 13:23:29 -04:00
Juan Cruz Viotti
d46cf4aced Make use of new log module everywhere 2014-11-21 11:40:37 -04:00
Juan Cruz Viotti
fed63fd178 Omit confirmation interactivity with -y/--yes 2014-11-21 10:44:48 -04:00
Juan Cruz Viotti
0697510f38 Refactor app:rm with async 2014-11-21 10:12:03 -04:00
Juan Cruz Viotti
37c68118db Implement app rm command 2014-11-21 09:43:03 -04:00
Juan Cruz Viotti
1c1e8b375e Use packageJSON directly instead of creating version action 2014-11-21 09:30:29 -04:00
Juan Cruz Viotti
b53bc060a3 Revert back to commander 2014-11-21 09:23:02 -04:00
Juan Cruz Viotti
4b20ba435d Implement key info command 2014-11-20 14:00:39 -04:00
Juan Cruz Viotti
c4bb275923 Implement key list command 2014-11-20 13:03:23 -04:00
Juan Cruz Viotti
a189e21c30 Restart URL TODO 2014-11-20 12:54:43 -04:00
Juan Cruz Viotti
574d612624 Implement app restart command 2014-11-20 12:24:39 -04:00
Juan Cruz Viotti
e1a63fb548 Implement version module 2014-11-20 12:13:59 -04:00
Juan Cruz Viotti
f1a76db5f5 Show Is Online information in devices command 2014-11-19 15:18:15 -04:00
Juan Cruz Viotti
3f1bcf3f02 Improve devices table ordering 2014-11-19 15:01:27 -04:00
Juan Cruz Viotti
55fa8435bb Implement devices command 2014-11-19 13:38:15 -04:00
Juan Cruz Viotti
e0032c090f Catch errors from applicationModel.getAll() 2014-11-19 12:15:39 -04:00
Juan Cruz Viotti
7dc5915db5 Remove unused dependencies 2014-11-19 12:14:34 -04:00
Juan Cruz Viotti
9130281862 Extend table module to handle formatting 2014-11-19 12:12:08 -04:00
Juan Cruz Viotti
e0448357df Implement table.horizontal() 2014-11-19 10:42:18 -04:00
Juan Cruz Viotti
77d84103f6 Implement app info action 2014-11-19 09:23:40 -04:00
Juan Cruz Viotti
98f4dc8e19 Require login before opening preferences 2014-11-19 09:05:26 -04:00
Juan Cruz Viotti
47a1e16dab Implement preferences module 2014-11-19 08:59:17 -04:00
Juan Cruz Viotti
76194c7d46 Use getDisplayName() in apps action 2014-11-19 08:51:42 -04:00
Juan Cruz Viotti
89ec171a3d Improve apps printing with cliff 2014-11-18 14:51:05 -04:00
Juan Cruz Viotti
8777bb9536 Make use of authHooks in actions 2014-11-18 12:37:01 -04:00
Juan Cruz Viotti
24f50fa5ec Add optional interactivity to login command 2014-11-18 12:15:40 -04:00
Juan Cruz Viotti
d671832b5a Implement logout command 2014-11-18 11:48:05 -04:00
Juan Cruz Viotti
5c53829812 Implement signup command 2014-11-18 11:37:29 -04:00
Juan Cruz Viotti
6afdd0e48a Make use of new ApplicationModel in apps list action 2014-11-18 10:12:35 -04:00
Juan Cruz Viotti
d0cc3e54ad Create actions submodule to clean app a bit 2014-11-18 08:41:13 -04:00