674 Commits

Author SHA1 Message Date
Stephane Seng
5952712085 fix(GITHUB-6525-5172): Rewrite copyDirContentsSyncAllow to call fs-extra::copySync() on the directories instead of calling it on the files to copy individually.
The main motivation behind these changes is to rely on
https://github.com/jprichardson/node-fs-extra/blob/8.1.0/docs/copy-sync.md as
much as possible in order to avoid having to do the
`fullFilePath.replace(srcDir, '')` operation because this operation can be
error-prone.

Doing so fixes the following issues because the user-submitted file paths are
now correctly interpreted by fs-extra, closing both #6525 and #5172.
2019-08-12 23:09:23 +02:00
Daniel Schep
f9c25db76a
Improve interactive AWS creds flow (#6449)
Improve interactive AWS creds flow
2019-08-08 10:05:06 -04:00
Daniel Schep
c6da38b3ac backport to promises. gross. 2019-07-29 08:38:33 -04:00
Daniel Schep
9c816f2261 go with a vendorized version of open adapted for node 6 2019-07-26 09:32:17 -04:00
Daniel Schep
c44f9faf95 lint 2019-07-26 09:31:57 -04:00
Philipp Muens
871b04e238 Add EventBridge event source 2019-07-26 13:36:22 +02:00
Daniel Schep
e6367e0f6f Imporove interactive AWS creds flow
closes PLAT-1341

implemented by asking if the user has an account, if not, open browser to sign up
and then open browser (in new or existing acct case) to create an admin user for
user with serverless.

added open as a dependency to open the browser
2019-07-25 13:30:43 -04:00
Daniel Schep
710139eee9
Fix broken lint outcome after 'no-confusing-arrow' change (#6411)
Fix broken lint outcome after 'no-confusing-arrow' change
2019-07-19 12:09:05 -04:00
Daniel Schep
632fac3358
Improve tracking reliability (#6410)
Improve tracking reliability
2019-07-19 12:06:15 -04:00
Mariusz Nowak
d2e537329f
Fix lint issues
Came out after change to no-confusing-arrow rule
2019-07-19 17:46:08 +02:00
Mariusz Nowak
ee106c4711
Refactor to promises 2019-07-19 16:38:24 +02:00
Mariusz Nowak
0217b1f6ea
Disable tracking for test runs 2019-07-19 16:24:08 +02:00
Mariusz Nowak
79a15afe95
Unify result 2019-07-19 16:23:08 +02:00
Mariusz Nowak
2fd9aa2e11
Refactor isTrackingDisabled to provide answer out of a box 2019-07-19 16:17:52 +02:00
Mariusz Nowak
242cb419fc
Tests for tracking 2019-07-19 16:12:06 +02:00
Mariusz Nowak
84cc45d9af
Unify result 2019-07-19 16:08:26 +02:00
Mariusz Nowak
4e80c15820
Ensure consistent result 2019-07-19 15:58:24 +02:00
Mariusz Nowak
bea62bcf90
Fix processResponseBody handling 2019-07-19 15:58:13 +02:00
Mariusz Nowak
4c874cfa48
Increase timeout for sendPending 2019-07-19 13:51:42 +02:00
Mariusz Nowak
b298425d13
Process response body 2019-07-19 13:13:37 +02:00
Mariusz Nowak
9e80765175
Strip trailing comment when renaming service 2019-07-19 11:15:50 +02:00
Mariusz Nowak
86104ef21d
Reorganize tracking logic 2019-07-18 23:02:14 +02:00
Mariusz Nowak
9257c59e1a
Simplify request handling 2019-07-18 21:02:54 +02:00
Mariusz Nowak
cc371d267c
Seclude const to top level 2019-07-18 20:32:03 +02:00
Mariusz Nowak
6e9de0e27e
Improve error handling 2019-07-18 20:28:44 +02:00
Mariusz Nowak
6dcf5eace9
Clear obsolete comment 2019-07-18 20:25:36 +02:00
Mariusz Nowak
8e58e4d32b
Refactor to BbPromise.try 2019-07-18 20:24:55 +02:00
Mariusz Nowak
66af6c0a36
Remove not used endpoint 2019-07-18 20:16:14 +02:00
Mariusz Nowak
d72d464242
Remove noisy debug handling 2019-07-18 20:07:37 +02:00
Mariusz Nowak
868c8a3794
Cover service rename in createFromTemplate 2019-07-16 15:43:46 +02:00
Mariusz Nowak
92d54c35a6
Merge branch 'master' into interactive-serverless 2019-07-10 09:34:43 +02:00
Philipp Muens
d09b754874 Add support for existing S3 buckets 2019-07-09 15:41:59 +02:00
Mariusz Nowak
eb170a5ed1
Merge branch 'master' into interactive-serverless 2019-07-08 16:34:58 +02:00
Philipp Muens
3364b58e98 Minor code improvements 2019-07-08 11:26:48 +02:00
Johann Bich
57c1cc36e8 remove useless boolean / replaced switch case with ifs 2019-07-05 13:59:16 +09:00
Johann Bich
c18cf13d9f fix authentication issue 2019-07-04 17:05:46 +09:00
Johann Bich
49068f95f7 remove useless dependency 2019-07-04 17:05:40 +09:00
Johann Bich
a5b00dbb06 allow create from templates hosted on github entreprise 2019-07-04 17:05:22 +09:00
Mariusz Nowak
4a2b112aa8
Rename installTemplate into createFromTemplate 2019-07-02 10:25:32 +02:00
Mariusz Nowak
23b5bcfdea
Reconfigure interactive CLI into core plugin 2019-06-28 13:33:16 +02:00
Mariusz Nowak
6df0f6872f
Reorganize logic 2019-06-28 13:32:53 +02:00
Mariusz Nowak
af3ac05342
Improve formatting 2019-06-28 13:32:53 +02:00
Mariusz Nowak
9646c6e3ba
Make interactive create optional 2019-06-28 13:32:52 +02:00
Mariusz Nowak
acb397138c
Interactive setup of AWS credentials 2019-06-28 13:32:52 +02:00
Mariusz Nowak
1b7ca0535d
Initial version of interactive project creator 2019-06-28 13:32:52 +02:00
Mariusz Nowak
d7a6534e08
Seclude installTemplate logic 2019-06-28 13:32:52 +02:00
Mariusz Nowak
2f8d186bb1
Seclude getConfigFilePath util 2019-06-28 13:32:52 +02:00
Mariusz Nowak
e6ae8983de
Fix lint issues after prettification 2019-06-26 12:43:01 +02:00
Mariusz Nowak
4944f471b1
Prettify 2019-06-26 12:43:01 +02:00
Daniel Schep
970a1cc3f8 refactor getServerlessConfigFile to simply accept a serverless object 2019-06-10 11:19:14 -04:00