481 Commits

Author SHA1 Message Date
Eslam λ Hefnawy
de6bebeea9 Merge pull request #3808 from rpunkfu/specify-default-option-values
Allow to provide a default value for plugin options
2017-07-19 19:25:03 +07:00
Eslam λ Hefnawy
bb32b01f7a Merge pull request #3909 from jaikdean/variable-syntax-documentation-fix
Update example custom variable syntax to work with loading files
2017-07-12 19:42:18 +07:00
horike37
172e12dfc5 update to use chai-as-promise instead of chai 2017-07-12 08:47:59 +09:00
horike37
10acadc09c remove unnecessary parts 2017-07-12 08:29:42 +09:00
horike37
311d322b82 fixed unhandled rejection errors 2017-07-12 08:26:26 +09:00
Jaik Dean
214e57621e Lint service tests 2017-07-10 13:55:33 +01:00
Philipp Muens
c67d60f5d6 Merge pull request #3888 from mangas/3629-fix-file-absolute-path
handle absolute paths in file()
2017-07-07 14:55:02 +02:00
Philipp Muens
f23d49b3f0 Update missing variableSyntax reference 2017-07-07 14:45:46 +02:00
Jaik Dean
c33c4f782a Update example alternate variable syntax to work with loading files 2017-07-06 16:42:08 +01:00
Philipp Muens
341198420c Merge pull request #3842 from infiniteluke/improve-javascript-export
Improve usage and error handling of javascript variables.
2017-07-06 11:01:45 +02:00
Filipe Azevedo
aab492f079 handle absolute paths with ~ in file() 2017-07-03 18:19:23 +01:00
Filipe Azevedo
e9e21dbd8e handle absolute paths in file() 2017-07-03 13:43:39 +01:00
Philipp Muens
34595e1f6d Add opt-out config for dev dependency exclusion 2017-06-30 09:25:59 +02:00
Philipp Muens
a76ae91488 Merge pull request #3825 from darkowlzz/3784-help-plugin-sort
Display plugin commands alphabetically under help
2017-06-26 12:34:01 +02:00
Philipp Muens
29f06670ad Lowercase comment 2017-06-26 12:21:24 +02:00
Philipp Muens
da91ba8e83 Re-arrange order for help text
To reduce ambiguity.
2017-06-26 12:20:28 +02:00
Philipp Muens
909d7d5cc2 Add info about new --verbose option 2017-06-26 12:18:40 +02:00
Philipp Muens
a709c43274 Add sorting of commands 2017-06-26 12:14:58 +02:00
Philipp Muens
7b64e71dfa Update test 2017-06-26 12:02:47 +02:00
Philipp Muens
c982548514 Switch option from --plugin to --verbose 2017-06-26 12:02:37 +02:00
Philipp Muens
734e12e3d5 Switch from undefined to null 2017-06-26 09:44:33 +02:00
Philipp Muens
1d01525350 Update error message 2017-06-26 09:39:00 +02:00
Philipp Muens
c3f9c246ca Update error message to be contained in an array
This makes the code more readable.
2017-06-26 09:36:59 +02:00
Philipp Muens
ecb9924054 Update tests 2017-06-26 09:36:13 +02:00
Sunny
ccf5a59224 Improve entrypoint cmd removal algo
Use getCommands() to fetch all the commands with filtered entrypoint
commands and reduce to the required command. Throw error when a command
is not found.
2017-06-25 19:10:39 +05:30
Sunny
185af2e519 Remove entrypoint subcmds in generateCommandsHelp 2017-06-25 15:55:38 +05:30
Luke Herrington
1264dd015c
Improve usage and error handling of javascript variables. 2017-06-23 10:49:38 -07:00
Sunny
501aa5d5bc Avoid default function parameter 2017-06-21 19:27:15 +05:30
Sunny
1aca36020c Extract, sort and display plugin commands & test 2017-06-21 17:58:33 +05:30
Eslam λ Hefnawy
ffae3adc62 Merge pull request #3812 from serverless/add-invocation-id
Add invocationId
2017-06-21 19:23:32 +08:00
Philipp Muens
a5c4539d55 Merge pull request #3811 from alexdebrie/AuthorizerStats
Add checks for HTTP Authorizers
2017-06-21 08:28:35 +02:00
Alex DeBrie
17736d0d96 Move AWS-specific data into separate object 2017-06-21 02:25:38 +00:00
Alex DeBrie
93c4f9816d Add check for cognito authorizer as string 2017-06-21 01:25:50 +00:00
Sunny
084e6669bc Format commands plugins help output with indents 2017-06-21 00:32:02 +05:30
Sunny
569bb6901c Add generateCommandsByPluginHelp() 2017-06-21 00:11:21 +05:30
Eslam λ Hefnawy
aad26dea64 Merge pull request #3813 from serverless/services
Services
2017-06-20 18:46:27 +08:00
Oskar Cieslik
d9dcd73e5d Allow to provide a default value for plugin options 2017-06-19 21:10:53 +02:00
Alex DeBrie
8e76f6d6d6 Fix linting issue 2017-06-19 14:36:44 +00:00
Alex DeBrie
2c012ab8f5 Stronger checks on how authorizers are indicated in serverless.yml 2017-06-19 14:35:53 +00:00
Nik Graf
4514bb01c3
remove legacy imports 2017-06-19 12:21:54 +02:00
Nik Graf
c5537c2343
Merge branch 'master' into services 2017-06-19 11:26:46 +02:00
Philipp Muens
d689b9e104 Add invocationId 2017-06-19 09:02:48 +02:00
Alex DeBrie
24e26b3cd1 Fix linting errors 2017-06-19 02:13:52 +00:00
Alex DeBrie
5aae161ce4 Add checks for HTTP Authorizers 2017-06-19 00:53:14 +00:00
Philipp Muens
9c19d7a773 Remove deployment bucket reference from Service class 2017-06-16 08:43:25 +01:00
Philipp Muens
b912ad91bd Minor code cleanup 2017-06-16 08:36:19 +01:00
Max Redmond
d045201315 adding test for setDeploymentBucketname()
Merge branch 'deployment'
2017-06-16 08:17:24 +01:00
Max Redmond
d3a5794c2e added setDeploymentBucketName function 2017-06-16 08:12:40 +01:00
Max Redmond
abef261722 update serverside encryption options so that they are configured in the deploymentBucket section 2017-06-16 08:12:23 +01:00
Philipp Muens
0dca35a2c1 Throw error when command not run in service 2017-06-12 10:38:59 +02:00