0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-13 22:48:31 -05:00
Commit graph

684 commits

Author SHA1 Message Date
Juan Picado
39376be345
feat: skip log static content from web (#2027)
The PR #2026 will create more noise because the static content is smaller and segmented, this PR skip all those entries to the log.
2020-12-13 22:58:36 +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
Andrey Frimuchkov
1e59b6aa6f
fix: doubled request logs in node.js >= 11 (#2012)
```
$ docker run -it --rm --name verdaccio -p 4873:4873 verdaccio/verdaccio warn --- config file  - /verdaccio/conf/config.yaml
 warn --- Verdaccio started
 warn --- Plugin successfully loaded: verdaccio-htpasswd
 warn --- Plugin successfully loaded: verdaccio-audit
 warn --- http address - http://0.0.0.0:4873/ - verdaccio/4.9.1
 http --> 200, req: 'GET https://registry.npmjs.org/execa' (streaming)
 http --> 200, req: 'GET https://registry.npmjs.org/execa', bytes: 0/119164
 http <-- 200, user: null(172.17.0.1), req: 'GET /execa', bytes: 0/27224
 http <-- 200, user: null(172.17.0.1), req: 'GET /execa', bytes: 0/27224
```
2020-12-02 21:17:36 +01:00
Juan Picado
f4a85af20d
fix: fix missing readme on npm7 (#2010)
* fix: fix missing readme on npm7

* test: update test for readme
2020-11-28 22:57:52 +01:00
Juan Picado
185babc53f
fix: check author if lastest is not found (#1994) 2020-11-22 13:55:14 +01:00
Juan Picado
4feaf241c9
fix: buffer deprecated warnings (#1993)
* chore: use Buffer.from and Buffer.alloc instead of deprecated new Buffer

* chore: fix lint

* chore: fix lint

Co-authored-by: Jarom Loveridge <jaroml@gradecam.com>
2020-11-03 07:55:08 +01:00
Juan Picado
1ece11cfc0
feat: migrate yarn 1 to yarn 2 (#1962) 2020-10-11 19:06:21 +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
Juan Picado
844267ce25
fix: revert move bodyParse to the upper level (#1841) (#1877)
This reverts commit 67c31b69
2020-07-16 21:59:21 +02:00
Jian-Chen Chen (jesse)
912482a5ae
feat: ca certificate is optional for https configuration (#1853)
* setup https server

* typed handleHttps

* fix if condition

* generate certificate on the fly

* revert yarn.lock

Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-30 19:05:29 +02: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
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
Robert Sabirov
67c31b69ca
fix: move bodyParse to the upper level (#1841)
Co-authored-by: Juan Picado <juanpicado19@gmail.com>
2020-06-19 07:40:06 +02:00
Juan Picado
c2e0e1e0bf
fix: avoid access to sidebar without login (#1794) 2020-05-01 11:09:44 +02:00
Juan Picado
416d41fa08
fix: improve token validation (#1784)
* fix: check name of credentials

* chore: improve validation
2020-04-26 22:26:49 +02:00
Juan Picado @jotadeveloper
1a9a12e918
fix: fatal exception and crash when log rotate signal event is called (#1774)
fix #1709
2020-04-10 17:36:29 +02:00
Juan Picado @jotadeveloper
d68926050d
fix: incorrect primary_color crash the ui (#1771)
* fix: incorrect primary_color crash the ui

* chore: also supports 3 and 6 characters as valid hex
2020-04-09 00:33:03 +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
c493b316b1
feat: i18n on web (#1750)
* feat: add i18n to web

* chore: enable es features
2020-03-14 07:16:47 +01:00
Joshua Jensch
9ac307adc5
feat: add support for new search endpoint(#1732)
https://github.com/verdaccio/verdaccio/issues/310

* Add an incomplete implementation of the v1/search api

* Use parseInt and || instead of ?? for processing numeric arguments

* Remove res.end, as we already use response.json

* Remove unused request parameters and add TODO comment

* Fix eslint errors

Co-authored-by: Joshua Jensch <j.jensch@hvs.de>
2020-03-06 08:19:06 +01:00
Kevin Yockey
3aaa04829a
fix: adding Content-Type to response in GET /-/all (#1697) (#1728) 2020-03-03 21:16:53 +01:00
Viktor Oreshkin
70a93da1fc
fix: tarball urls for web/package (fix #1714) (#1716) 2020-02-25 20:24:42 +01:00
Daniel Ruf
a616250e33 refactor: remove extraneous else statements (#1671)
Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-12 14:44:22 +01:00
Daniel Ruf
5dc6183802 refactor: use optimized svg for generic gravatar (#1670) 2020-01-12 11:34:53 +01:00
Robin van Boven
19d9fc2fa5 fix: use hasProxyTo to find correct uplink for tarballs (#1644)
* test: different uplinks with the same URL

This test reproduces #1642

* fix: use hasProxyTo to find correct uplink for tarballs

Fixes #1642

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
2020-01-11 08:39:58 +01:00
Giedrius Grabauskas
4f43347b50 fix: updated combine url fix method (#1647)
* test: added more combineBaseUrl tests

* fix: optimized and updated combineBaseUrl method logic
2020-01-08 09:30:23 +01:00
Daniel Ruf
f89bf27f5a fix: prevent issue with leading hyphen in package name - fixes #1429 (#1636) 2020-01-03 23:57:21 +01:00
Juan Picado @jotadeveloper
c30412b6db refactor: update monorepo deps and types (#1631) 2019-12-25 14:46:14 +01:00
Juan Picado @jotadeveloper
7fe943f7bc build: update dependencies (#1630)
* chore: update dependencies

* chore: update secrets
2019-12-23 09:29:27 +01:00
Favo Yang
158de3f768 fix: search api will not set magic date header when return array (#1598) 2019-12-14 12:08:37 +01:00
claude
e85e8bfaa9
refactor: simplify conditional expression 2019-12-12 20:33:00 +08:00
James George
05c9d0507c refactor: use Array.includes (#1596) 2019-12-07 07:44:11 +01:00
Shreynik
b06b305b59 refactor: removes ts ignore comments (#1541) 2019-11-02 11:18:37 +01:00
Anix
cbea2edecb fix: changed the exit code for info flag (#1537)
* fix: changed the exit code for info flag

* fix: changed the exit code for info
2019-10-30 08:33:05 +01:00
TJ
a7d6a9c560 chore: removes 3x unnecessary @ts-ignore comments (#1524) 2019-10-19 08:42:17 +02:00
James George
35f816bf5c fix: minor grammatical tweak (#1513) 2019-10-07 07:45:25 +02:00
Juan Picado @jotadeveloper
65d6a935b5
fix: allow add to request agentOptions (#1506)
Follow up of https://github.com/verdaccio/verdaccio/pull/1332
Documented here https://github.com/verdaccio/website/pull/126
2019-10-03 08:23:08 +02:00
polemius
02aee3a879 fix: fixing the lint issues (#1503) 2019-10-02 21:18:00 +02:00
polemius
72314e48df fix: fixing typos in comments (#1504) 2019-10-02 21:14:19 +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
Marc Udoff
962d5d529a feat: ensure every log file has at least one record (#1414) 2019-09-06 22:14:28 -07:00
Juan Picado @jotadeveloper
d5303f407b
feat: browse web package version (#1457)
* feat: allow endpoint to query by version

* chore: update @verdaccio/ui-theme

* test: add unit test for sidebar endpoint by version
2019-09-05 12:12:10 -07:00
Juan Picado @jotadeveloper
7fa23577ae
refactor: replace flow comments by ts-ignore
ts-ignore is not harmfull in specs files, since we try to force to test with values are not allowed by the types
2019-08-18 07:59:28 +02:00
Juan Picado @jotadeveloper
ac6c138309
Merge pull request #1432 from devnill/create-correct-user-groups
fix: fixed user creation endpoint to properly import groups
2019-08-10 13:48:09 +02: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
Dan Singer
50e115f52a fix: fixed user creation endpoint to properly import groups 2019-08-06 10:01:47 -06:00
jamesgeorge007
e233a578a9 Minor refactor to eliminate code redundancy 2019-07-30 13:58:45 +05:30
Juan Picado @jotadeveloper
e35d8d99db
Merge pull request #1409 from verdaccio/fix-1400
fix: allows pkg names that starts with dash
2019-07-28 23:11:03 +02:00
Juan Picado @jotadeveloper
fcd8a7f7bf
chore: remove unused parameter 2019-07-28 11:44:28 +02:00