1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Juan Picado
15bb350ae4
feat: improve url_prefix behavior (#2122)
read pr 2122 for more details
2021-03-29 12:32:37 +02:00
Juan Picado
43f70437af
feat!: drop node 8 and node 10 (#2142)
There is no breaking changes on features aside of Node version
2021-03-28 10:40:52 +02:00
Juan Picado
647b6b3ff7
test: add test for socket timeout (#1959)
* test: add test for socket timeout

* chore: add offline online test
2020-10-11 15:58:57 +02:00
Jian-Chen Chen (jesse)
80ade97801
feat: npm deprecation support (#1842)
* support deprecation

* test case for deprecation

* fix format

* testing for multiple packages deprecation

* update README

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-19 22:54:03 +02:00
Juan Picado @jotadeveloper
5612c13e9e
chore: fix eslint warnings (#1471) 2019-09-26 18:22:14 +02:00
Juan Picado @jotadeveloper
dbf20175dc
feat: npm token command support (#1427)
* feat: support for npm token

This is an effor of:

This commit intent to provide npm token support.

https: //github.com/verdaccio/verdaccio/issues/541
https: //github.com/verdaccio/verdaccio/pull/1271
https: //github.com/verdaccio/local-storage/pull/168
Co-Authored-By: Manuel Spigolon <behemoth89@gmail.com>
Co-Authored-By: Juan Gabriel Jiménez <juangabreil@gmail.com>

* chore: update secrets baselines

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update lock file

* chore: add logger mock methods

* chore: update @verdaccio/types

* refactor: unit test was flacky

adapt the pkg access to the new configuration setup

* refactor: add plugin methods validation

* test: add test for aesEncrypt

* chore: update local-storage dependency

* chore: add support for experimetns

token will be part of the experiment lists

* chore: increase timeout

* chore: increase timeout threshold

* chore: update nock

* chore: update dependencies

* chore: update eslint config

* chore: update dependencies

* test: add unit test for npm token

* chore: update readme
2019-09-07 15:46:50 -07:00
Juan Picado @jotadeveloper
c264f944fb
fix: unpublish and add or remove star colision (#1434)
* fix: unpublish and add or remove star colision

The issue was the npm star use a similar payload, but we did not check properly the shape of the payload, this fix and allow unpublish correctly.

Improve unit testing for publishing and unpublishing
Add new code documentation for future changes.

* chore: update secrets baseline

* chore: add missing type

this will requires update types in the future
2019-08-10 13:38:06 +02:00
Juan Picado @jotadeveloper
aa94aa9b0c
chore: remove ununsed prop in storage spec config file 2019-07-27 07:21:45 +02:00
Juan Picado @jotadeveloper
d252e66588
Merge remote-tracking branch 'origin/master' into 4.1.x
# Conflicts:
#	test/unit/modules/cli/cli.spec.js
2019-06-20 15:10:26 +02:00
Daniel Ruf
a92bd5f633 fix: correctly check the keepAliveTimeout value, fixes #1352 (#1353)
* fix: correctly check the keepAliveTimeout value, fixes #1352

* test: check keepAliveTimeout configurations using the CLI
2019-06-19 09:00:48 +02:00
Juan Picado @jotadeveloper
9abe29593c
test: unit test for scoped download tarball 2019-04-28 09:34:59 +02:00
Juan Picado @jotadeveloper
6553c6bce1
test: add unit test for unpublish 2019-02-25 08:33:01 +01:00
Juan Picado @jotadeveloper
d682e4f328
chore: fix unit test 2019-02-24 23:51:36 +01:00
Juan Picado @jotadeveloper
9e17d2bc27
chore: fix unpublish issues, fix unit test 2019-02-24 23:20:25 +01:00
Juan Picado @jotadeveloper
712db31a43
feat: endpoints change password on ui (#1068)
* test: split up web and endpoints api

* chore: add reset password endpoint

not fully implemented yet

* feat: add password change api ednpoint for web
2018-11-18 18:41:05 +01:00
Juan Picado @jotadeveloper
f1416ed557
feat: add support for profile cli command #392 (change password) (#1034)
* feat: add support for profile cli command #392

- it allows to update password npm profile set password
- display current profile npm profile get

https://docs.npmjs.com/cli/profile

* chore: update @verdaccio/types@4.0.0

* feat: add min password length

on npm by defaul is min 7 characters, this might be configurable in the future.

* chore: update verdaccio-htpasswd@1.0.1

* refactor: update unit test

* refactor: provide friendly error for tfa request

* test: api profile unit test

* chore: fix eslint comment

* test: update profile test

* chore: set mim as 3 characters
2018-10-12 11:07:55 +02:00
Juan Picado @jotadeveloper
0bd2428e6c
test: add scenarios where publish or access are missing (#1054)
it will normalise those props are missing as emtpy arrays
2018-10-07 00:45:17 +02:00
Juan Picado @jotadeveloper
cf31982127
test: Increase coverage for unit test (#974)
* test(utils): add test for validate names

* test(utils): add unit test for dist-tags normalize utility

* refactor(notifications):  unit test for notifications

* test(cli): add unit test for address validation

* chore: add new constants

* chore: ignore debug from coverage

* test(bootstrap): test https is fails on start

* refactor: update code for rebase
2018-09-22 12:54:21 +02:00
Juan Picado @jotadeveloper
68cb10f44d
Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2018-08-21 08:08:48 +02:00
Juan Picado @jotadeveloper
a68d247a44
feat: add support for jwt on api (#896)
* feat: add support for jwt on api

* test: add unit test for sign token with jwt

add multiple scenarios with configuration file

* chore: add JWT verification on middleware

* chore: restore headless

* chore: restore middleware header validation

* refactor: fix login whether user exists

* refactor: JWT is signed asynchronously

* refactor: better structure and new naming convention

* test: add unit test for token signature

* test: add unit test for creating user with JWT enabled

#168

* docs: add security section jwt

* refactor: renable  web auth middleware

* test(auth): add legacy disabled scenario

* chore: update gitignore

* chore: add some es6 sugar

* feat: enable JWT token signature for new installations

* chore: add yaml files to git

I forgot add this before 😷

* chore: trace log on auth

in case we want more output
2018-08-21 08:05:34 +02:00
Juan Picado @jotadeveloper
91a6c202ff
chore: more unit test for config utils 2018-07-04 07:31:51 +02:00
Juan Picado @jotadeveloper
39651bb6b3
chore: add unit test for package access normalize 2018-07-04 00:15:09 +02:00
Juan Picado @jotadeveloper
2e157fb134
refactor: config unit test
match package access normalise
2018-07-04 00:14:59 +02:00