Juan Picado
01dc7dc1d8
Refactor, reduce eslint warnings, add doc
2017-05-20 08:56:06 +02:00
Juan Picado
2215dc3397
Fix #189 Increase info whether https certs are missing
2017-05-12 09:32:08 +02:00
Juan Picado
4b9af22c95
Fix #189 ca safety check is missing
2017-05-12 09:29:22 +02:00
Michael Arnel
f4c584cfce
add trailing comma for eslint rule
2017-05-07 08:44:53 -04:00
Michael Arnel
a85978f2be
Add additional requirement to output message
...
With out the ca parameter in the https config section the server fails to start with a 500 error and complains that path must be a string.
2017-05-07 08:03:00 -04:00
Juan Picado
90e1a66930
Display version on startup
2017-05-04 21:38:19 +02:00
Juan Picado
2a1f1a7dfa
Fix more eslint warnings, add doc
2017-05-04 21:05:47 +02:00
Juan Picado
f282941075
Apply partially new eslint rules, upgrade es6 and replace octal literals by chalk colors
2017-04-23 22:19:31 +02:00
Juan Picado
52cb33ffdd
Remove es6 polyfills and use native Promises
2017-04-23 21:09:48 +02:00
Emmanuel Narh
5eea1bac6c
ADDED intermediate ssl certificate option
...
The https module allows for an intermediate certificate in the options.
It was somehow missed. Adding it back since I had a certificate that
included an intermediate certificate.
2017-04-21 11:53:05 +08:00
Madison Grubb
a7c4285a68
renaming 'sinopia' to verdaccio.
2016-11-07 12:15:38 -05:00
Juan Carlos Picado
c20cf6d6e5
rename process to verdaccio
2016-09-01 20:34:53 +02:00
steve-p-com
3cbbb281a5
Fix missing version numbers
2016-04-22 13:36:29 +01:00
steve-p-com
6301c3f169
Replace YAML package definitions with standard package.json, fix dependencies
2016-04-21 21:13:49 +01:00
Alex Kocharin
97386397c2
add a code to bind on unix sockets
...
use "listen: 'unix:sinopia.sock'" for this
2015-04-22 02:38:25 +03:00
Alex Kocharin
9047e28074
set up some linting (obvious errors only)
2015-03-28 21:25:53 +03:00
Alex Kocharin
1a9596737e
add test for parsing listen address
2015-03-28 18:03:36 +03:00
Alex Kocharin
6d58d5920e
add listening on ipv6 addresses
2015-03-28 17:43:50 +03:00
Alex Kocharin
dfef2b862f
add a possibility to listen on multiple ports
2015-03-28 17:20:58 +03:00
Thomas Cort
61fff273fc
cli.js: add https support. Issue #71 .
2015-03-28 16:32:37 +03:00
Alex Kocharin
6ec76aa61f
fix crash when using sinopia as a library
2015-02-18 17:52:17 +03:00
Alex Kocharin
fad4f457ae
move logger setup to index.js + tests
2014-12-22 20:58:25 +03:00
Alex Kocharin
ae1f67d31f
reformat config file and http address messages
2014-11-16 21:44:32 +03:00
Alex Kocharin
637d51cba0
create config in xdg_config_home by default
2014-11-16 16:33:03 +03:00
Alex Kocharin
148795918f
move config file to separate folder
...
Make default config smaller, allow all users by default there.
2014-11-12 18:49:37 +03:00
Alex Kocharin
037b3aea6a
make use of es6-shim
...
It's mainly because of Object.setPrototypeOf()
2014-11-12 17:37:43 +03:00
Alex Kocharin
6a778e8c17
change code style to jshttp
...
close #155 , see reasons there
This is a huge commit, so let me know if it will cause
any trouble, I might consider reverting it if it's the case.
2014-11-12 17:37:43 +03:00
Alex Kocharin
0786ec6108
set process.title
2014-09-25 05:13:03 +04:00
Alex Kocharin
5dd720cc21
add stuff for testing against fd leaks and memory leaks
2014-08-15 01:37:46 +04:00
Alex Kocharin
691d62f403
eslint update + style fixes
2014-02-23 21:20:50 +04:00
Alex Kocharin
616ec7626a
process.getuid doesn't always exist ( fixes #41 )
2014-01-24 06:36:03 +03:00
Alex Kocharin
8c05cfe6a2
require heapdump if present on the system
2013-12-29 04:52:23 +04:00
Alex Kocharin
b0fa7ee2d1
using eslint to check the code
2013-12-23 04:14:57 +04:00
Alex Kocharin
3a31064ded
deal with js-yaml warning
2013-12-19 18:50:31 +04:00
Alex Kocharin
503b60a45b
catch bind errors
2013-12-19 07:17:52 +04:00
Alex Kocharin
225c2bb65f
added a warning to not run it under root
2013-12-17 20:25:17 +04:00
Alex Kocharin
230750ff88
adding sinopia version to logs
2013-12-12 01:55:17 +04:00
Alex Kocharin
36fa1ba655
log fatal errors
2013-12-10 14:29:46 +04:00
Alex Kocharin
b2f6128e9c
style fix
2013-10-26 16:18:36 +04:00
Alex Kocharin
1a58a0f8d8
hide authorization header in logs
2013-10-12 18:37:47 +04:00
Alex Kocharin
9ee525b317
logging engine added, much better logs now
2013-10-11 09:32:59 +04:00
Alex Kocharin
0aa687624d
only create config if we're asked to (+ nice help)
2013-10-09 20:22:29 +04:00
Alex Kocharin
a76a443994
moved bin/sinopia to lib/cli.js
2013-10-09 19:47:55 +04:00