Juan Picado @jotadeveloper
495133edae
refactor: readme test endpoit
...
add scenario when readme is not present
2018-06-23 20:59:25 +02:00
Juan Picado @jotadeveloper
a1a70c973f
refactor: middleware plugins
...
add es6 transpiled use case
2018-06-23 20:59:24 +02:00
Juan Picado @jotadeveloper
d5a29f72b5
refactor: plugins auth endpoints
2018-06-23 20:59:23 +02:00
Juan Picado @jotadeveloper
d4a5d813a3
refactor: race condition test
2018-06-23 20:59:21 +02:00
Juan Picado @jotadeveloper
36979bb284
refactor: scoped test gzip test
2018-06-23 20:59:20 +02:00
Juan Picado @jotadeveloper
970c0461df
refactor: more unit test constants usage
2018-06-23 20:59:19 +02:00
Juan Picado @jotadeveloper
2c8c8f0295
refactor: update jetst match
...
using more consntants
2018-06-23 20:59:18 +02:00
Juan Picado @jotadeveloper
a1439df1b5
refactor: usage constants for http status
2018-06-23 20:57:21 +02:00
Juan Picado @jotadeveloper
d8455dd15a
refactor: using constants
...
relocate uplink token test to unit test
2018-06-23 20:57:20 +02:00
Juan Picado @jotadeveloper
3d19f22ba0
refactor: test tokens
...
more usage of constants for tokens
2018-06-23 20:57:19 +02:00
Juan Picado @jotadeveloper
22dd80aa7d
chore: remove package access property
...
proxy_publish was removed long time ago 6075034521
2018-06-23 20:57:18 +02:00
Juan Picado @jotadeveloper
65cc2769b6
refactor: replace deprecated package properties
2018-06-23 20:57:17 +02:00
Juan Picado @jotadeveloper
9242d498d7
refactor: functional testing
...
* server now are executed in the jest setup phase
* disable one snapshot
2018-06-23 20:57:16 +02:00
Juan Picado @jotadeveloper
b28e6f737b
refactor: functional testing relocation
...
functional testing runs in a different process
2018-06-23 20:57:13 +02:00
Juan Picado @jotadeveloper
49c6191bb5
refactor: relocate unit test
...
no logic change, just path updates
2018-06-23 20:57:12 +02:00
Juan Picado @jotadeveloper
4245636576
feat: add published package support to template
...
The package published can be printed into the template
Improve error handling
Improve notification documentation
2018-06-14 07:25:09 +02:00
Ilya Zaytsev
1ca5298707
feat: added information about package publisher for notifications
2018-06-12 16:37:15 +07:00
Juan Picado @jotadeveloper
73324a2971
refactor: convertDistRemoteToLocalTarballUrls method
...
add unit test
improve readbility
2018-06-05 21:03:27 +02:00
Juan Picado @jotadeveloper
cee2564ac2
feat: add node 10 support for test and docker
...
update Docker to Node 10
we use yarn 1.6.0 as default for build
2018-05-20 21:46:54 +02:00
Juan Picado @jotadeveloper
08f6a64063
fix: avoid issues with missing token #693
...
also refactor other parts as string and constants
2018-05-14 20:08:49 +02:00
Juan Picado @jotadeveloper
101fd78b0d
refactor: add constant file
...
starting with json headers common usage
2018-04-30 15:41:04 +02:00
Juan Picado @jotadeveloper
d200bf4507
refactor: remove use strict
2018-03-11 00:19:47 +01:00
Juan Picado @jotadeveloper
18ef37393e
test: add unit test for isUplinkValid #571
2018-02-24 20:50:00 +01:00
Juan Picado @jotadeveloper
508d175778
test(e2e): add test scenario to display published packages on ui
2018-02-10 16:45:29 +01:00
Juan Picado @jotadeveloper
9807e21dee
test: add e2e support
2018-02-09 08:42:34 +01:00
Juan Picado @jotadeveloper
f7414e9bb2
chore(flow): update flow definitions for proxy
2018-02-04 14:15:51 +01:00
Juan Picado @jotadeveloper
7c717359fc
chore(build): skip test
2018-01-28 18:48:56 +01:00
Juan Picado @jotadeveloper
181ea648fa
fix(flow): done does not accept arguments
2018-01-28 09:46:22 +01:00
Juan Picado @jotadeveloper
e4a21839d4
chore(flowt): update jest definition
2018-01-28 09:35:33 +01:00
Juan Picado @jotadeveloper
5140b57efb
refactor(test): remove deprecate auth support, fix all test
2018-01-28 02:47:54 +01:00
Juan Picado @jotadeveloper
123625419a
build: update flow to latest
2018-01-15 23:04:58 +00:00
Juan Picado @jotadeveloper
e0d3223968
refactor: fix code review suggestions
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
0c9e504d1a
refactor: clean scripts and dependencies
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
1b1a784640
refactor: remove old module
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
e00e41b24b
refactor: fix linting
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
ca5fd82d95
refactor: jest migration completed
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
4cbbb2f370
refactor: functional testing add more test
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
037095f851
refactor: functional testing with jest set up
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
86d92e96d2
chore: add unit test for smart request
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
adf7f3adb3
refactor: refactor functional test server launch (wip)
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
a5e162d475
feature: Update Build pipeline for Babel transpiler ( #349 )
...
feature: Update Build pipeline for Babel transpiler
2018-01-07 07:59:36 +00:00
Ayush Sharma
6e35e10a72
fix: dist-tag put and delete endpoint removed
...
dist tags test fixes
minor-fixes: new line
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
7f4f7380ac
refactor: fix rebase unit test
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
121dc3c058
refactor: fix dist-tag tests
2018-01-07 07:59:36 +00:00
Ayush Sharma
b605d1ed7e
fix: notification for multiple endpoints
...
add silent fail case for notification promise
2017-12-15 08:08:16 +05:30
Håkan Canberger
374a5e8e7b
feat: Add middleware plugins from fl4re/sinopia
...
This is basically the PR fl4re/sinopia#18 by @fredr
2017-11-01 15:01:25 +01:00
Ramon Henrique Ornelas
3fcdc62736
test: add test return default headers
2017-09-30 21:29:13 -03:00
Ramon Henrique Ornelas
231a4d7227
refactor: small changes in the code
...
- describe message tests;
- remove condition duplicate;
- add logger in exceptions;
2017-09-30 21:07:45 -03:00
Ramon Henrique Ornelas
f7ad05ec86
test: add test uplink auth
2017-09-30 00:06:42 -03:00
Yuuki Tada
f80ff856ba
Add DATE and VERSION in search result
...
modified: src/lib/storage/local/local-storage.js
modified: test/functional/tags/preserve_tags.spec.js
2017-09-07 02:53:26 +00:00
Juan Picado @jotadeveloper
8b93b579d3
refactor: naming clean up, relocation, organize by category
2017-08-06 21:54:15 +02:00
Juan Picado @jotadeveloper
cda92ac5ab
refactor: relocate unit test
2017-08-02 20:45:21 +02:00
Juan Picado @jotadeveloper
a038b282ec
refactor: scoped packages unit test, relocate other unit test
2017-07-30 15:56:00 +00:00
Juan Picado @jotadeveloper
1e6c7dd6ea
refactor: unit test for readme, preserve tags on publish
2017-07-30 15:56:00 +00:00
Juan Picado @jotadeveloper
6f006fbf40
test: Add functional test to un publish a single version
2017-07-30 17:55:41 +02:00
Juan Picado @jotadeveloper
cfffd04736
refactor: disable readme test
2017-07-18 21:14:10 +02:00
Juan Picado @jotadeveloper
5b1ac962f2
fix: unit test library reference
2017-07-18 21:14:09 +02:00
Juan Picado @jotadeveloper
6e91aa88be
(test): Refactor and add documentation some unit test, relocate storages
2017-07-02 00:05:58 +02:00
Juan Picado @jotadeveloper
1ae08b6b78
(test): Add functional test for notifications on publish
2017-07-01 11:17:46 +02:00
Juan Picado @jotadeveloper
19f969d442
(fix): fix formatting, easy to read
2017-07-01 09:10:26 +02:00
Juan Picado @jotadeveloper
aeed698ed2
(fix): add functional test, unpublish package
2017-07-01 09:09:44 +02:00
Juan Picado @jotadeveloper
9640730d6c
(fix): renamed smart request file
2017-07-01 00:06:21 +02:00
Juan Picado @jotadeveloper
492eeef721
(fix): trying to fix hangs promises on travis
2017-06-30 23:11:40 +02:00
Juan Picado @jotadeveloper
b2008958f1
(test): Refactor smart request module
2017-06-30 23:11:12 +02:00
Juan Picado @jotadeveloper
e41dad708e
(test): Refactor hash method
2017-06-30 23:10:30 +02:00
Juan Picado @jotadeveloper
96c9f459c1
(test): Refactor server class, renamed methods to camelCase
2017-06-28 22:56:02 +02:00
Juan Picado @jotadeveloper
15c6cb09fd
(test): Fix mocha debug mode for > Node 7
2017-06-28 22:47:16 +02:00
cklein
7018fc99a2
[GH-131] add cache option to uplinks
2017-06-08 17:59:28 +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
52cb33ffdd
Remove es6 polyfills and use native Promises
2017-04-23 21:09:48 +02:00
Juan Picado
640240e5c2
Remove Symbols dependency, Node 4 as min version supported
2017-04-17 11:36:35 +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
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
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
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
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
04a9f14b3c
fix test broken in 79e2ff2ee
2015-02-12 14:28:19 +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
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
eda8dfe9ca
Validate package name when doing search
...
+ tests
fix #122
2014-10-02 11:14:59 +04:00
Alex Kocharin
4f028a107b
Save readme data that npm provides on publish
...
fix #100 , fix #128
2014-09-25 07:56:31 +04:00
Alex Kocharin
91ee928f06
fix hostname for travis
2014-09-25 05:25:48 +04:00
Alex Kocharin
862b1eeed4
automated tests against fd leaks
2014-09-25 05:21:59 +04:00