Commit Graph

5094 Commits

Author SHA1 Message Date
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
Juan Cruz Viotti
97d778634d Implement Authorization header support in server module 2014-11-14 11:05:30 -04:00
Juan Cruz Viotti
58300acb77 Implement Auth module 2014-11-14 09:51:59 -04:00
Juan Cruz Viotti
5d6d2f0511 Convert Token module into callback based 2014-11-07 14:51:54 -04:00
Juan Cruz Viotti
3f5da39990 Add TODO for fsUtils.isValidPath() 2014-11-07 14:17:37 -04:00
Juan Cruz Viotti
cad1d5764b Remove unused fsUtils.isFile() 2014-11-07 14:17:05 -04:00
Juan Cruz Viotti
f00691529a Implement Data module 2014-11-07 14:15:59 -04:00
Juan Cruz Viotti
453d1bbd7b Add colon after each module spec title 2014-11-07 12:43:10 -04:00
Juan Cruz Viotti
64e66e229f Implement DataPrefix module 2014-11-07 12:42:02 -04:00
Juan Cruz Viotti
afe438ff82 Don't not send an error on isFile, even when the file doesn't exists 2014-11-07 12:10:18 -04:00
Juan Cruz Viotti
89bb0d0b21 Implement fsUtils module 2014-11-07 11:21:48 -04:00
Juan Cruz Viotti
41d73eaf98 Implement precarious token persistence mechanism 2014-10-31 15:19:16 -04:00
Juan Cruz Viotti
463ed6473b Implement basic Auth module that fetches a token 2014-10-31 14:47:18 -04:00
Juan Cruz Viotti
b52d1ccb6d Throw error if serve response status code is higher or equal than 400 2014-10-31 13:25:02 -04:00
Juan Cruz Viotti
62fc40cd4b Implement Server module 2014-10-31 11:59:23 -04:00
Juan Cruz Viotti
f961d44fd7 Watch all coffee files for running test 2014-10-31 10:06:48 -04:00
Juan Cruz Viotti
a491627354 Fix Coffeelint indentation warnings 2014-10-31 09:50:50 -04:00
Juan Cruz Viotti
83dfd2c10b Add editorconfig 2014-10-31 09:49:57 -04:00
Juan Cruz Viotti
27593e2793 Add Coffeelint support 2014-10-31 09:48:53 -04:00
Juan Cruz Viotti
04da00afb2 Initial commit 2014-10-31 09:37:29 -04:00