Commit Graph

5069 Commits

Author SHA1 Message Date
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
8bdd3b697a Implement authHooks module 2014-11-18 12:36:43 -04:00
Juan Cruz Viotti
a0c743d771 Implement messages module 2014-11-18 12:36:33 -04:00
Juan Cruz Viotti
5109bba302 Move TODO to a better place 2014-11-18 12:20:37 -04:00
Juan Cruz Viotti
24f50fa5ec Add optional interactivity to login command 2014-11-18 12:15:40 -04:00
Juan Cruz Viotti
275eed82f0 Implement widgets module 2014-11-18 12:14:48 -04:00
Juan Cruz Viotti
53c25412c3 Make auth.parseCredentials async 2014-11-18 12:11:20 -04:00
Juan Cruz Viotti
d671832b5a Implement logout command 2014-11-18 11:48:05 -04:00
Juan Cruz Viotti
c41b28d4f0 Organise action requires close to their use in app.coffee 2014-11-18 11:40:12 -04:00
Juan Cruz Viotti
5c53829812 Implement signup command 2014-11-18 11:37:29 -04:00
Juan Cruz Viotti
612bb5e605 Basic test suite for Canvas 2014-11-18 11:15:47 -04:00
Juan Cruz Viotti
719c8d199d Remove server facade duplication 2014-11-18 10:33:24 -04:00
Juan Cruz Viotti
eee13418b9 Delete obsolete comment 2014-11-18 10:13:58 -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
e4b0f3772b Implement ApplicationModel's getAll function 2014-11-18 10:11:18 -04:00
Juan Cruz Viotti
e18bc83285 Integrat resin-platform-api 2014-11-18 10:11:07 -04:00
Juan Cruz Viotti
6da7290d73 Use gzip by default in server 2014-11-18 10:05:38 -04:00
Juan Cruz Viotti
e6570efbaf Simplify header assignment in server.request 2014-11-18 10:04:26 -04:00
Juan Cruz Viotti
7524a0efa8 Option based server.request() 2014-11-18 09:59:19 -04:00
Juan Cruz Viotti
9e0940063e Use built-in url module instead of url-join 2014-11-18 09:19:20 -04:00
Juan Cruz Viotti
2fd2b702ae Rename config.baseUrl to config.remoteUrl 2014-11-18 08:53:07 -04:00
Juan Cruz Viotti
d0cc3e54ad Create actions submodule to clean app a bit 2014-11-18 08:41:13 -04:00
Juan Cruz Viotti
2b8313da74 Rename interface as simply app.coffee 2014-11-18 08:35:50 -04:00
Juan Cruz Viotti
c753e1b41b Move auth outside of cli-modules 2014-11-18 08:34:40 -04:00
Juan Cruz Viotti
dcf6215f56 Install resin-platform-api from git 2014-11-17 15:51:44 -04:00
Juan Cruz Viotti
69dbd49444 Implement simple interface module 2014-11-17 15:48:26 -04:00
Juan Cruz Viotti
8df43575d0 Correctly reference home directory 2014-11-17 15:40:16 -04:00
Juan Cruz Viotti
3c3cb3e850 Create prefix directory when using data.prefix.set 2014-11-17 15:32:35 -04:00
Juan Cruz Viotti
11998a63cd Make data.prefix.set() async 2014-11-17 15:20:19 -04:00
Juan Cruz Viotti
5eeb4e04ee Remove unneeded logErrorOrContinue 2014-11-17 15:13:31 -04:00
Juan Cruz Viotti
fa47ad1201 Implement handy logErrorOrContinue 2014-11-17 14:55:36 -04:00
Juan Cruz Viotti
798a3ded61 Improve parseCredentials error message 2014-11-17 14:54:20 -04:00
Juan Cruz Viotti
b0fe4f41c1 Implement auth.parseCredentials() 2014-11-17 14:40:32 -04:00
Juan Cruz Viotti
8e2217b9d5 Install commander.js 2014-11-17 14:14:15 -04:00
Juan Cruz Viotti
d9bfe96cb5 Pass null as first argument for consistency 2014-11-14 15:50:29 -04:00
Juan Cruz Viotti
93b3f90e92 Remove done TODO 2014-11-14 15:49:35 -04:00
Juan Cruz Viotti
58cc0be0c9 Cleanup tests 2014-11-14 15:48:37 -04:00
Juan Cruz Viotti
8143fa3ab3 Update tests that assume saveToken returned the token as the second
parameter
2014-11-14 15:37:55 -04:00
Juan Cruz Viotti
b0dde8104f Pass undefined directly on data.get when key doesn't exists
To prevent confusing async
2014-11-14 15:26:25 -04:00
Juan Cruz Viotti
a4a9ebf0bb Fix undefined callback issue 2014-11-14 15:18:08 -04:00
Juan Cruz Viotti
48d39a39f8 Reorder server unit test to get more meaningful results 2014-11-14 15:04:47 -04:00
Juan Cruz Viotti
15620145eb Make data module return undefined if key is not found 2014-11-14 14:56:52 -04:00
Juan Cruz Viotti
14bacbc4a4 Make token fs based 2014-11-14 14:28:58 -04:00
Juan Cruz Viotti
175e48d8ca Use Mocha Landing Strip reporter to prevent long lists 2014-11-14 13:40:18 -04:00
Juan Cruz Viotti
e288d3e85f Implement data.has() 2014-11-14 13:34:04 -04:00
Juan Cruz Viotti
d83e269f20 Implement data.remove() 2014-11-14 13:21:56 -04:00
Juan Cruz Viotti
86b3489a48 Implement fsUtils.isDirectory() helper 2014-11-14 12:58:05 -04:00
Juan Cruz Viotti
aef90a18e8 Use staging instead of alpha for now 2014-11-14 11:54:03 -04:00
Juan Cruz Viotti
b47adaefa4 Make sure server response body is parsed 2014-11-14 11:53:46 -04:00