Commit Graph

483 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper 1ae08b6b78
(test): Add functional test for notifications on publish 2017-07-01 11:17:46 +02:00
Juan Picado @jotadeveloper 582285a37f
(cli): encouraging to use lodash 2017-06-30 23:09:59 +02:00
Juan Picado @jotadeveloper 172b271c6f
Fix #73 Add time property to new published local packages 2017-06-23 08:13:19 +02:00
Juan Picado @jotadeveloper 8fbf77a76d
Fix #73 Add time property to deliver uplink last modified package 2017-06-22 22:37:02 +02:00
Juan Picado @jotadeveloper 9fdc251b83
Fix #73 Refactor Storage methods affected 2017-06-22 22:35:09 +02:00
Waldemar Reusch ef360d6927 enable verdaccio behind a https nginx proxy (#222)
* enable verdaccio to run with http protcol behind a https reverse proxy

* add semicolon
2017-06-19 12:12:36 +08:00
Meeeeow d5a3d085aa add remote ip to request log 2017-06-17 22:13:29 +08:00
Juan Picado @jotadeveloper 2ee4f38743
Refactor Storage, move local storage to inner folder.
Refactor methods to camelCase
Relocate utilities
2017-06-10 23:41:24 +02:00
Juan Picado @jotadeveloper d2a4cf3264
Secret key should be persited in config file if exist in the data store 2017-06-10 23:18:50 +02:00
Juan Picado @jotadeveloper 1358d53dd9
Refactor storage, moves secret key generator to config file 2017-06-10 23:07:08 +02:00
Juan Picado @jotadeveloper ac456232bb
Rename local storage class 2017-06-10 23:03:50 +02:00
Juan Picado @jotadeveloper e799500893
Restore config refactoring 2017-06-10 21:40:58 +02:00
Juan Picado @jotadeveloper fcae1fa91d
#103 Refactoring Uplink Storage, Config and Storage class 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper 09ca08baaf
Refactored addPackage on Storage 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper 391e98de9f
Refactor streams, removed not needed dependency 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper fa4952408a
#103 Remove Search references from local storage 2017-06-10 20:28:42 +02:00
Juan Picado @jotadeveloper 4cb0424d23
#103 Rename variables, organize methods, privates goes to the bottom 2017-06-10 20:26:43 +02:00
Juan Picado @jotadeveloper db3233075c
#103 Config file must not be aware of storage database, storage class should handle it. 2017-06-10 20:16:20 +02:00
Juan Picado @jotadeveloper 1307181005
Refactor streams, removed not needed dependency 2017-06-10 18:48:20 +02:00
Juan Picado @jotadeveloper e9929c23e1
#103 Remove Search references from local storage 2017-06-10 18:46:02 +02:00
Juan Picado @jotadeveloper fe73eba54e
#103 Rename variables, organize methods, privates goes to the bottom 2017-06-10 18:43:20 +02:00
Juan Picado @jotadeveloper f08e733cc4
#103 Config file must not be aware of storage database, storage class should handle it. 2017-06-10 18:40:03 +02:00
cklein 7018fc99a2 [GH-131] add cache option to uplinks 2017-06-08 17:59:28 +02:00
Ryan Graham 64c3ea445b
don't blindly clobber local dist-tags
If packages are being published to verdaccio as well as upstream to
npmjs.org, then when the cache is updated from npmjs.org it uses the
dist-tags from the upstream even if the locally published version is
actually newer. This makes it very difficult to use verdaccio as a
staging registry for testing out potential releases.

This change partially reverts a change in behaviour that was introduced
in #8 which caused a regression for the staging style workflow that was
supported by sinopia.
2017-06-01 13:59:56 -07:00
jotadeveloper 16f8ae0f30 Merge pull request #197 from BartDubois/url_prefix-as-path
Allow url_prefix to be only the path
2017-05-21 23:00:09 +02:00
Bart Dubois 5336a0a611 Fix ES string delimiters
Use ` in stand of '
2017-05-21 22:55:49 +02:00
Bart Dubois f8dc1da537 Fix ES6 template string
should be ${...} not @{...}
2017-05-21 22:50:11 +02:00
Bart Dubois 8927d7d144 Aplly sugestions form review
* Reneame the methof and use camelCase
* Use ES6 template string
2017-05-21 22:39:47 +02:00
Juan Picado @jotadeveloper abc40b8e8e
Refactor, cleaned all eslint warnings, eslint set to error to avoid more warnings 2017-05-20 12:33:23 +02:00
Juan Picado @jotadeveloper a1e6368c29
Refactor, remove eslint warnings and for npm < 2.x, npm minimum higher as 2.15.x 2017-05-20 11:50:20 +02:00
Juan Picado @jotadeveloper ba6543a322
Refactor Auth class, reduce eslint warnings, moved to es6 2017-05-20 11:13:08 +02:00
Juan Picado @jotadeveloper 2961d21124
Refactor, reduce eslint warnings 2017-05-20 10:47:43 +02:00
Juan Picado 01dc7dc1d8
Refactor, reduce eslint warnings, add doc 2017-05-20 08:56:06 +02:00
Bart Dubois ff05d779c4 Allow url_prefix to be only the path
* Define utils function `get_base_url`.
 * If url_prefix start with `/` construct base URL using protocol and host form request.
 * Update SERVER.md with description of new `url_prefix` option.
2017-05-17 00:20:33 +02:00
Juan Picado dc8fe022bc
fixed publish fail in YARN #183 fix eslint error @W1U02 patch 2017-05-14 15:46:19 +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
Juan Picado 92df8bd178
Fix uppercase lint warning, streams use lowercase function name 2017-05-09 10:11:09 +02:00
Juan Picado 445df5b30e
Fix eslint, add jsdoc on storage lib 2017-05-09 09:56:54 +02:00
Juan Picado 57692cd8b1
Fix issue on handle error, missing context 2017-05-09 09:48:02 +02:00
Meeeeow c80dd8958a fix upstream search not work with gzip, close #156 2017-05-08 15:21:54 +08: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 7c6c2d2932
Merge branch 'master' of github.com:verdaccio/verdaccio 2017-04-30 16:57:27 +02:00
Juan Picado aaedc13d2c
npmjs returns an emtpy object 2017-04-30 09:58:11 +02:00
Juan Picado 1e4ac1f842
Fix eslint warnings on up-storage.js 2017-04-29 23:08:50 +02:00
Juan Picado 4ee0ca29d4
Add endpoint for the command npm ping 2017-04-29 22:29:05 +02:00
Juan Picado 90328d5faf
Fix config.js new shape 2017-04-27 06:54:53 +02:00