Juan Picado @jotadeveloper
1307181005
Refactor streams, removed not needed dependency
2017-06-10 18:48:20 +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
Juan Picado
92df8bd178
Fix uppercase lint warning, streams use lowercase function name
2017-05-09 10:11:09 +02:00
Juan Picado
90328d5faf
Fix config.js new shape
2017-04-27 06:54:53 +02:00
Juan Picado
3457e0925d
rebase from master branch
2017-04-23 22:28:35 +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
b05050da5b
Update unit test es6
2017-04-23 21:28:40 +02:00
Juan Picado
d79f12d45a
Migrate Storages to classes
2017-04-23 21:25:24 +02:00
Juan Picado
52cb33ffdd
Remove es6 polyfills and use native Promises
2017-04-23 21:09:48 +02:00
jotadeveloper
d824821b7a
Merge pull request #163 from Meeeeow/fix_search
...
Fix search feature
2017-04-22 10:42:42 +02:00
Juan Picado
580d3e77f7
Fix undefined path value
2017-04-22 09:31:12 +02:00
Juan Picado
7df6962f43
Add unit test for plugin-loader
2017-04-22 08:23:16 +02:00
Meeeeow
38518baf44
fix: search leak private package and ui bug
...
- Check permission in search API
- Fix author's name not show in search result
2017-04-21 11:53:05 +08:00
Juan Picado
640240e5c2
Remove Symbols dependency, Node 4 as min version supported
2017-04-17 11:36:35 +02:00
Juan Picado
18d52a4103
Add unit test Search indexer
2017-04-12 21:17:28 +02:00
Madison Grubb
01a6c22103
merging in changes from upstream & fixing conflicts
2017-02-04 22:58:26 -05:00
Aram Drevekenin
ccd3d26059
test: adduser created with htpasswd
2017-01-19 17:14:39 +02:00
Juan Carlos Picado
0210752ea5
clean warnings on unit test
2016-12-05 08:42:43 +01:00
Madison Grubb
a7c4285a68
renaming 'sinopia' to verdaccio.
2016-11-07 12:15:38 -05:00
Miguel Mejias
25e00a3172
Implement logout endpoint
2016-10-11 18:44:47 -05:00
trent.earl
b31198f685
Tests should check for presence of title with "Verdaccio" not "Sinopia"
2016-08-20 12:07:52 -05:00
Juan Carlos Picado
5cdadbd7fa
Remove sync write file
2016-08-13 08:21:55 +02:00
trent.earl
d8f2d95f92
Rename binary to verdaccio
2016-07-30 19:37:30 -05:00
trent.earl
dd406da3e2
Fix tests for node 6
...
Node 6 introduced two breaking changes to verdaccio/sinopia
Path functions now throw on null/undefined arguments
Buffer defaults to binary now A lot of test code explicitly converted data to utf8 which broke on checksum
2016-07-30 19:37:04 -05:00
steve-p-com
6301c3f169
Replace YAML package definitions with standard package.json, fix dependencies
2016-04-21 21:13:49 +01:00
steve-p-com
dfdcaa893e
Change the way package distribution tags are processed and stored
2016-04-18 20:53:00 +01:00
Jakub Jirutka
fde2321222
Add workaround to handle URLs of scoped packages with unencoded /
...
Fixes https://github.com/rlidwka/sinopia/issues/104#issuecomment-66790574 .
2015-07-12 01:26:18 +03:00
Alex Kocharin
45edca2218
search: stream results from npmjs instead of buffering them
2015-05-17 01:29:16 +03:00
Alex Kocharin
c09d03b20d
add dist-tags endpoints
2015-05-10 18:39:53 +03: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
137fd5978f
fix access control
...
ref #238
2015-04-21 19:43:12 +03:00
Alex Kocharin
9294981d71
fix tests for 0.10
2015-04-11 20:14:49 +03:00
Alex Kocharin
17bdfd904a
test: use promisified supertest-like asserts
2015-04-11 20:11:04 +03:00
Alex Kocharin
6cb257e51f
add tests for auth plugins
2015-04-11 16:09:19 +03:00
Alex Kocharin
3e9932d866
update mocha to 2.2.3+, + options file
2015-04-07 22:51:05 +03:00
Alex Kocharin
8a3a03805e
fix travis errors
2015-03-28 22:07:17 +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
04a9f14b3c
fix test broken in 79e2ff2ee
2015-02-12 14:28:19 +03:00
Alex Kocharin
09318d1943
fixed current folder reference in tests
2014-12-22 23:52:08 +03:00
Alex Kocharin
fad4f457ae
move logger setup to index.js + tests
2014-12-22 20:58:25 +03:00
Alex Kocharin
c07d819ce9
add tests for scoped packages
2014-12-15 00:03:42 +03:00
Alex Kocharin
bad7aee4ec
use /-/whoami endpoint instead of /whoami
...
Allows to get rid of referer magic, so it's a nice change to have.
See this issue for details:
https://github.com/npm/npm-registry-client/issues/88
2014-12-05 05:04:37 +03:00
Alex Kocharin
a425c5e2ff
add scoped packages draft
2014-11-16 20:46:01 +03:00
Alex Kocharin
4c11a42d21
separate web and api routers to different files
2014-11-13 20:14:21 +03:00
Alex Kocharin
c78390752a
fix tests
2014-11-12 19:45:40 +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
Jon de la Motte
4b20afbd15
Fix a typo in the test/README.md
...
Also made a couple wording changes and fixed a typo.
2014-10-13 12:51:35 -07:00