Olli Vanhoja
2bc5d26fa7
Fix whois-ns-fallback request once again ( #143 )
try-catch in getNameservers() doesn't work as expected because
a promise is returned succesfully before it's evaluation and
try-catch in the function won't catch if it fails later on.
8 years ago
Naoyuki Kanezawa
152363bf2b
Revert "Use now-io API v2"
8 years ago
Naoyuki Kanezawa
463ea607ff
use now-io api v2 ( #132 )
8 years ago
Olli Vanhoja
ea6f682ea4
Add a missing await
8 years ago
Guillermo Rauch
d450d45842
merge with master
8 years ago
Guillermo Rauch
b83dbfb6ae
index: drastically improve error handling / messages for `create`
8 years ago
Guillermo Rauch
a3fe6eda84
Add -e ( #126 )
* implement `-e`
* index: pass along `env` to `/create`
* index: add `listSecrets` method
* secrets: fix api calls
* support for escaping
8 years ago
Guillermo Rauch
954be0b939
secrets: fix api calls
8 years ago
Guillermo Rauch
08801432c6
index: add `listSecrets` method
8 years ago
Guillermo Rauch
efdd6b8d29
index: pass along `env` to `/create`
8 years ago
Nathan Rajlich
b55c3138b0
fix Docker CMD docs link ( #124 )
8 years ago
Olli Vanhoja
c6f42c36e3
Add --token and --config options
--token=MYTOKEN
--config=/path/to/.now.json
8 years ago
Olli Vanhoja
72e67224ae
Add an environment variable to change .now.json location
For issue #99
9 years ago
Olli Vanhoja
75f1cef880
Always register the domain for the user before trying to use it
8 years ago
Olli Vanhoja
74adb7b613
Don't use domain-regex
It's broken, it doesn't match what you think it will match.
9 years ago
Guillermo Rauch
20e0cd7778
secrets: fix rename
9 years ago
Guillermo Rauch
24a9e32a9d
fix for windows
9 years ago
Olli Vanhoja
749cd8ac1f
domain add: Try fallback if the list of name servers is empty ( #111 )
9 years ago
Guillermo Rauch
3025a091a5
fix try/catch in async with older babel-runtime :\
9 years ago
Guillermo Rauch
14be7dd818
build-logger: handle socket errors better
9 years ago
Guillermo Rauch
9c8211caaa
improve performance of file retrieval
9 years ago
Tony Kovanen
597d515633
Include comment parsing from the Dockerfile
9 years ago
Guillermo Rauch
092d994ec5
initial sketch
9 years ago
Olli Vanhoja
04003b207b
Show a proper error message for protected domain names
9 years ago
Nathan Rajlich
89f50abf4f
add "public" logic to the Now lib client
9 years ago
Guillermo Rauch
39a4435e4b
wow
9 years ago
Guillermo Rauch
7d9be2458d
revamping and improving ignored files
9 years ago
Guillermo Rauch
3cc3f45471
more reasonable ignored
9 years ago
Guillermo Rauch
eb0aeda7bf
improve docker validation
9 years ago
Guillermo Rauch
a23f147b48
Add support for `Dockerfile` ( #98 )
* add support for `Dockerfile`
* add dockerfile `EXPOSE` validation
9 years ago
Guillermo Rauch
4bd702bf45
use chalk for stderr colors
9 years ago
Guillermo Rauch
5791b49653
error: prevent ansi escapes for colors in stdout
9 years ago
Guillermo Rauch
eafc25eefa
shorten path for better UX
9 years ago
Tony Kovanen
264a18732b
Rename to `forwardNpm` and check .now.json for it ( #90 )
9 years ago
Guillermo Rauch
de8e3e03cd
check-update: only warn about truly new versions
9 years ago
Guillermo Rauch
396bd8713f
activate quiet mode when piping
9 years ago
Guillermo Rauch
3eabe0e183
fix updates warning about older versions
9 years ago
Guillermo Rauch
38d1e4d32f
alias: handle `ESERVFAIL`
9 years ago
Tony Kovanen
7ab8e0d344
Add cmd line flag to forward NPM auth token
9 years ago
Tony Kovanen
7539686483
Keep reading lower .npmrc if no auth in project
9 years ago
Tony Kovanen
9feed0c767
Look up `forward-npm` from now nowProperties
9 years ago
Tony Kovanen
f4c55e2864
Forward registry auth token only if asked
9 years ago
Tony Kovanen
cb86654e21
Send registry auth token from .npmrc if accessible
9 years ago
Guillermo Rauch
0af1f69ed2
index: add quiet mode
9 years ago
Guillermo Rauch
7eab45a017
build-logger: log only errors in quiet mode
9 years ago
Guillermo Rauch
e9bc5ac1c1
alias: setup * and none records automatically
9 years ago
Guillermo Rauch
eb04657b2f
Add zeit world (wip) ( #67 )
* alias: clean up the alias (trailing and leading dots)
* alias: improve domain validation and implement zeit.world
* is-zeit-world: detect valid zeit.world nameservers
* package: add domain-regex dep
* now-alias: fix edge case with older aliases or removed deployments
* alias: move listing aliases and retrying to `index`
* index: generalize retrying and alias listing
* alias: remove `retry` dep
* now-remove: print out alias warning
* typo
* now-alias: prevent double lookup
* now: add domain / domains command
* now-deploy: document `domain`
* agent: allow for tls-less, agent-less requests while testing
* is-zeit-world: fix nameserver typo
* dns: as-promised
* now-alias: fix `rm` table
* now-alias: no longer admit argument after `alias ls`
@rase- please verify this, but I think it was overkill?
* admit "aliases" as an alternative to alias
* make domain name resolution, creation and verification reusable
* index: add nameserver discover, domain setup functions (reused between alias and domains)
* now-domains: add command
* domains: commands
* package: bump eslint
* now-alias: simplify sort
* now-domains: sort list
* now-domains: improve deletion and output of empty elements
* errors: improve output
* domains: add more debug output
* domains: extra logging
* errors: improve logging
* now-remove: improve `now rm` error handling
* index: more reasonable retrying
* alias: support empty dns configurations
* dns: remove ns fn
* alias: improve post-dns-editing verification
* index: remove unneeded dns lookup
* index: implement new `getNameservers`
* index: customizable retries
* alias: improve error
* improve error handling and cert retrying
* customizable retries
* alias: better error handling
* alias: display both error messages
* better error handling
* improve error handling for certificate verification errors
* alias: set up a `*` CNAME to simplify further aliases
* alias: fewer retries for certs, more spaced out (prevent rate limiting issues)
* alias: ultimate error handling
* add whois fallback
* adjust timer labels for whois fallback
* index: whois fallback also upon 500 errors
* alias: fix error message
* fix duplicate aliases declaration
9 years ago
Naoyuki Kanezawa
15d6a9d621
don't use http2 agent when url is http ( #76 )
9 years ago
Naoyuki Kanezawa
7cab91211e
send user-agent on login ( #75 )
9 years ago
Guillermo Rauch
290d1ffb93
alias: remove `retry` dep
9 years ago