0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
Commit graph

95 commits

Author SHA1 Message Date
Juan Picado
7bc61200ac migrate 6.x to 7.x 2024-09-12 22:46:49 +02:00
Juan Picado
9cb580638f fix: plugins config disable by default 2024-03-17 16:42:54 +01:00
Juan Picado
5a0ead5fb6
feat!: drop Node.js 12 (#3983)
* feat!: drop Node.js 12

- Enable minimum Node.js 16

* update notes

* restore files
2023-08-20 18:43:30 +02:00
Juan Picado
f6c22d3ea8
fix: #3666 experiments config fail on startup (#3668)
* fix: #3666 experiments config fail on startup

* Update experiments.yaml

* Update init.ts

* add tests

* Update bootstrap.ts

* update deps

* update deps
2023-03-07 22:50:16 +01:00
Ed Clement
0bc26e395a
feat: allow express 'trust proxy' to be set for ip resolution behind proxies and load-balancers (#3274) 2022-07-29 20:19:03 +02:00
Juan Picado
87fbc0fb7c
feat: allow other password hashing algorithms (#3229) 2022-06-14 21:56:50 +02:00
Juan Picado
95212188d4 chore: remove duplication 2022-04-18 19:59:21 +02:00
Juan Picado
b6e1a672c3 chore: upgrade notes config files 2022-04-18 09:10:36 +02:00
Juan Picado
5c650acbb2 chore: improving configuration documentation 2022-04-18 08:55:52 +02:00
renovate[bot]
da01a14e70
feat(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.24 (5.x) (#3130)
* fix(deps): update dependency @verdaccio/ui-theme to v6.0.0-6-next.24

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add missing props to ui

* chore: add docs

* chore: format file

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-04-17 23:39:00 +02:00
Tiny
b30ba81b86
feat(web): add a config item to web,let the developer can select whether enable the html cache (#3110)
* Add a config item to web,let the developer can select whether enable the html cache

* Add a config item to web,let the developer can select whether enable the html cache

* chore: move check close to other configuration

* chore: update configuration files to suggest new option on web

* chore: format fix

Co-authored-by: fengdi <fengdi@bbktel.com>
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2022-04-11 23:00:43 +02:00
Juan Picado
558fcafc71
build: format code prettier, enable ci (#2886)
* fix: format code prettier, enable ci

* chore: add trivago import prettier pluggin
2022-01-09 20:51:50 +01:00
Juan Picado
c91d6beb8b
feat: add rate limit to web endpoints (#2799)
* feat: add rate limit to web endpoints

* fix: types express conflict

* fix: undefined issue

* fix: tests
2021-12-23 17:35:31 +01:00
Juan Picado
251bd95373
feat: implement search v1 endpoint (#2256)
* feat: implement search v1 endpoint

* add allow_access

* chore: add types

* chore: format

* fix eslint prettier

* chore: add tests

* add tests

* chore: add npm search cli
2021-05-15 16:39:03 +02:00
Favo Yang
78d04cf9f8
feat: tarball url redirect (#1688)
* feat: tarball url redirect

* fix: handle uplinks

* feat: allow function for config.tarball_url_redirect

* fix:  hasLocalTarball was calling localStream,abort when already aborted

* chore: simplify localStream null check in hasLocalTarball

As requested in PR feedback.

* chore: fix sonarcloud code smell on test

the variable `credentials` was already declared before the tarball url tests.

* fix: move tarball_url_redirect to experiments

Co-authored-by: Gord Lea <johlea@cisco.com>
Co-authored-by: Gord Lea <jgordonlea@gmail.com>
2021-05-03 20:53:00 +02:00
Juan Picado
782dd1ca93 fix: logo and favicon configuration (#2180) 2021-04-10 11:09:50 +02:00
Juan Picado
507e55a9a5 chore: remove behindProxy
not ready for this release, need more thoughts
2021-04-05 20:48:41 +02:00
Juan Picado
ee97dcb46c
feat: replace bunyan by pino.js (#2148)
* feat: replace bunyan by pino.js

* chore: refactor logger

* chore: fix e2e

* chore: better catch
2021-03-30 20:32:46 +02:00
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
4d152ca01b
feat: enable keep alive (#2067) 2021-01-20 21:43:50 +01:00
Juan Picado
9171f25b41
feat: enable keep alive on configuration by default (#2014) 2020-12-04 07:37:45 +01:00
Andrey Frimuchkov
e2f7bb2f29
feat: Set bytesin log as optional (#2013)
https://github.com/verdaccio/verdaccio/issues/1912

Co-authored-by: frimuchkov <frimuchkov@yandex-team.ru>
2020-12-02 21:48:01 +01:00
Juan Picado
0bfdeaa2e4
fix: move search v1 endpoint as experimental (#1850)
the current one has not auth implemented, to avoid the lack of fallback to the original one now is required to be used it by default until the v1 is on shape production ready.
2020-06-22 13:33:43 +02:00
Juan Picado @jotadeveloper
4a812620cf
feat: add dark mode on and chinese translation for web (#1765)
* feat: add dark mode on ui

* chore: update description

* chore: update @verdaccio/ui-theme@1.5.0

* chore: add spaces
2020-04-08 23:24:57 +02:00
Juan Picado @jotadeveloper
17c3324e93
fix: update docs to support minimum node v10 (#1753)
At v4.5.0 we shipped some security releases, one of them is JSDOM https://github.com/jsdom/jsdom/releases/tag/16.0.0 and only supports Node.js v10

Node v8 is out of maintenance so we don't consider this a breaking change.
2020-03-14 08:28:40 +01:00
Juan Picado @jotadeveloper
c493b316b1
feat: i18n on web (#1750)
* feat: add i18n to web

* chore: enable es features
2020-03-14 07:16:47 +01:00
welling guzmán
549f4743d0 fix: minor typos, formatting, and docs (#1512) 2019-10-06 20:07:36 +02:00
polemius
72314e48df fix: fixing typos in comments (#1504) 2019-10-02 21:14:19 +02:00
Juan Picado @jotadeveloper
3438b7596a
fix: comment out experiments from configuration files (#1505) 2019-10-02 20:56:50 +02:00
Sergio Hg
bc6b084edd fix: remove jwt from docker config (#1500) 2019-10-01 20:02:45 +02:00
Sergio Hg
e9616f9e7a fix: remove jwt from default config (#1499) 2019-10-01 20:02:09 +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
b9506d6ef6
feat: prepare release v4 (#1307)
* chore: remove the next tag

* chore: update readme

* chore: add docs location info and translation

* chore: update readme
2019-05-26 14:20:38 +02:00
Juan Picado @jotadeveloper
1ec4066416
chore: update config readme 2019-04-04 08:47:47 +02:00
Rouan Wilsenach
0f8c934f29 docs: remove outdated comment 2019-03-22 16:06:26 +02:00
Juan Picado @jotadeveloper
1d13979a58
doc: add improve unpublish docs 2019-02-25 07:31:35 +01:00
Juan Picado @jotadeveloper
ee8859c99c
Merge branch '4.x' into fix-492 2019-02-18 22:05:03 +01:00
Juan Picado @jotadeveloper
ef503257f3
feat: ability to restrict unpublish action to certain users #492
This is a PoC, it needs refactor and unit testing
2019-02-07 22:04:53 +01:00
Juan Picado @jotadeveloper
49c6f0353e
feat: allow order packages via on web #1163
add new param on web sort_packages. options asc or desc
2019-02-07 21:20:43 +01:00
Juan Picado @jotadeveloper
1c301b1c3a
Merge remote-tracking branch 'origin/master' into 4.x 2019-01-31 20:32:32 +01:00
Rostislav Simonik
a3590558d7 feat: introduce server keepAliveTimeout into config files
Set default timeout to 60 seconds (it's workaround for issue reported in issues/301).
2019-01-27 10:19:46 +01:00
Juan Picado @jotadeveloper
f26d78a0d7
chore: test commit 2018-12-30 14:39:44 +01:00
Juan Picado @jotadeveloper
af0b22aba9
Merge branch 'master' into 4.x 2018-09-28 19:14:49 +02:00
Matthew Peveler
46b2d87bb1 Fix top link url in example docker.yaml (#1031) 2018-09-28 19:14:20 +02:00
Marc Udoff
5ca0ca5228 feat: exposed rotating-file log for json logging (#948)
This both allows for logger type 'rotating-file' and
passing of other options from the config "option" example:
{type: rotating-file, format: json, path: /path/to/log.jsonl, level: http, options: {period: 1d}}
2018-09-01 00:42:15 +02:00
Juan Picado @jotadeveloper
de7812558e
chore: update nbf for web token signature 2018-08-21 08:10:18 +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
26873682b8
refactor: add prettier for yaml files (#931) 2018-08-20 16:31:39 +02:00
Diego Louzán
4862acdc0e
refactor(docker): multistage build / support for running as random uid
- refactor docker image to use builder multistage pattern
- separate storage directories
- verdaccio code directories are not user writeable
- add generic support for random user uid on environments where the startup
  user for docker is randomized (e.g. openshift)
2018-08-02 20:23:25 +02:00
Peter Cools
f9e9383688 feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873.
Added as webui.scope option in .yaml.
> Note: in .yaml, escape @ with \\@.

See also feature request #593.

Corrected typo myscopy --> myscope
2018-07-31 10:58:43 +02:00