1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
Commit Graph

3224 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
6ff356b312
Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-30 12:49:31 +02:00
Juan Picado @jotadeveloper
acf5a791f6
chore: update lock settings 2019-06-29 11:38:22 +02:00
Juan Picado @jotadeveloper
41310ca0fb
chore: update stale config
Inspired by gatsby community adding this message
2019-06-29 10:18:12 +02:00
Juan Picado @jotadeveloper
20bc433d5a
Merge pull request #1363 from jamesgeorge007/feat/update-docs
docs: minor tweaks
2019-06-29 08:24:02 +02:00
James George
0177241504
Minor tweaks
typo fix and grammar
2019-06-29 09:43:45 +05:30
Jason Cooke
a6a4eee66b docs: fix typo (#1362) 2019-06-27 06:01:31 +02:00
Juan Picado @jotadeveloper
b38ef9608f
Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-20 23:21:10 +02:00
Juan Picado @jotadeveloper
1aa9b4d4a5
chore(release): 4.0.4 v4.0.4 2019-06-20 22:41:26 +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
e40083a6be
chore: remove step frm GitHub actions 2019-06-14 07:18:13 +02:00
Juan Picado @jotadeveloper
1d6eb945c9
chore(release): 4.0.3 v4.0.3 2019-06-14 06:43:32 +02:00
Juan Picado @jotadeveloper
9f5f563a3b
Merge branch '4.1.x' of github.com:verdaccio/verdaccio into 4.1.x 2019-06-13 22:16:59 +02:00
Juan Picado @jotadeveloper
e3da67fad9
chore: avoid template test case is being run 2019-06-13 22:16:40 +02:00
Juan Picado @jotadeveloper
0fa26293a8
Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-13 22:04:35 +02:00
Will Smythe
eb7a8e3528 fix(api): return 503 to npm/yarn on uplink connection timeout (#1331)
fix  #1328 and #720

Type: bug

The following has been addressed in the PR:

Instead of returning a 404 (Not Found) when npm, yarn, etc requests a package and the package cannot be acquired from an uplink due to a connection timeout, socket timeout, or connection reset problem, a 503 (service unavailable) is returned by Verdaccio instead. In limited testing of a few versions of npm and yarn, both of these clients correctly attempt to retry the request when a 503 is returned.

Added functional tests to verify the behavior (this adds a dev dependency on nock, which provides HTTP request mocking

Description:

This resolves issue #1328 and #720, and ensures npm/yarn install commands don't fail immediately when there is an intermittent network timeout problem with an uplink. Instead Verdaccio will appropriately respond to the client with a 503. A 404 response (current behavior) incorrectly tells the client that the package does not exist (which may or may not be true) and to not try again.
2019-06-13 21:42:01 +02:00
Juan Picado @jotadeveloper
f242d1b261
chore(docs): add testing development notes (#1343)
* chore: add testing notes

co-contributions by:
@lirantal @DanielRuf 

This PR aims to add on boarding proccess for new contributors to test verdaccio, update test or add new features.

* chore: add new sections

* chore: add functional test notes

* chore: fix typos

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add functional test block

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add before commit guide

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: extend notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

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

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>
2019-06-13 18:28:43 +02:00
Juan Picado @jotadeveloper
e77ffb4c31
chore(release): 4.0.2 v4.0.2 2019-06-13 07:03:25 +02:00
Juan Picado @jotadeveloper
85c1bd1f76
fix(api): force authenticate on login (#1347)
When a user has a valid token and tries to login with other credentials the endpoint returns 201.

The reason was if another user logged previously and had a valid token stored in the terminal. We must authenticate any user that tries to log in even if the token stored is valid.

We must check credentials again and return a new token, if the credentials are wrong we reject the login. Furthermore, the new token will update the list of groups.
2019-06-13 06:58:43 +02:00
Juan Picado @jotadeveloper
192fb77169
fix(ui): failed to load all packages after login
more details https://github.com/verdaccio/ui/issues/72
2019-06-13 06:49:40 +02:00
Juan Picado @jotadeveloper
e5816342a6
fix: update dependencies
fix #1339 dayjs warning on yarn installation
2019-06-13 06:42:39 +02:00
Juan Picado @jotadeveloper
b6a1adca4e
chore: update policy
display PGP public key as a code block
2019-06-12 10:06:09 +02:00
Liran Tal
ddcd89da33 fix: update security policy details (#1342) 2019-06-08 10:40:00 +02:00
Daniel Ruf
94e735ad39 chore: remove update-banner code (#1333) 2019-06-04 09:40:15 +02:00
Daniel Ruf
df834f4836 fix: correctly check if the proxy setting evaluates to false (#1336) 2019-06-04 07:17:01 +02:00
Juan Picado @jotadeveloper
390d0d6066
Merge branch 'master' into 4.1.x 2019-05-29 06:50:24 +02:00
Juan Picado @jotadeveloper
d53c345bed
chore(release): 4.0.1 v4.0.1 2019-05-28 22:25:42 +02:00
Honza Hommer
de0446376d fix(web): fix sidebar tarball protocol (#1326)
fix: #1320 https://github.com/verdaccio/verdaccio/issues/1320
2019-05-28 22:24:40 +02:00
Ayush Sharma
2e71daacfd
chore(release): 4.0.0 v4.0.0 2019-05-26 14:43:06 +02: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
f0b8673ecf
Merge branch 'master' into 4.1.x 2019-05-26 12:59:53 +02:00
Juan Picado @jotadeveloper
4e4b218ed2
chore: update readme img references 2019-05-26 12:40:49 +02:00
Juan Picado @jotadeveloper
cb20169c02
Merge branch 'master' into 4.1.x 2019-05-26 07:12:36 +02:00
Juan Picado @jotadeveloper
0e9f23d8bf
feat: create security policy (#1322)
* chore: create security policy

* chore: add security.txt

* chore: add public gpg key

* chore: add security policy notification

* chore: add snyk and npmjs security report links

* chore: update security vulnerability description

* chore: update readme

* chore: update README.md

* chore: update SECURITY.md

* chore: update SECURITY.md

* chore: update SECURITY.md

* chore: update SECURITY.md

* chore: update security.md

* chore: update SECURITY.md
2019-05-25 22:11:13 +02:00
Juan Picado @jotadeveloper
995350f27e
Merge branch 'master' into 4.1.x 2019-05-25 15:22:24 +02:00
Juan Picado @jotadeveloper
46eeb7e963
chore: remove test workflow from actions (#1323)
* chore: remove test workflow from actions

It fails randomly, we need to investigate the reasons.

* chore: re-enable unit test
2019-05-25 15:21:55 +02:00
Juan Picado @jotadeveloper
1f42c526ae
chore: disable unit test
Not the best, but I don't want this fails on middle of the release
2019-05-25 14:58:53 +02:00
Juan Picado @jotadeveloper
fdbe3ae703
chore: restore image reference 2019-05-24 09:22:34 +02:00
Juan Picado @jotadeveloper
01a48af7d7
Merge branch 'master' into 4.1.x 2019-05-23 23:01:41 +02:00
Juan Picado @jotadeveloper
9fdae85421
chore: update sketch file
- add new color logos (testing)
- add right fonts
2019-05-23 22:51:52 +02:00
Juan Picado @jotadeveloper
c96590114f
chore: reorder assets, upload better svg 2019-05-23 21:48:05 +02:00
Juan Picado @jotadeveloper
bfadbf800b
chore: add funding config file 2019-05-23 20:08:14 +02:00
Juan Picado @jotadeveloper
63695e2f2b
Merge branch 'master' into 4.1.x 2019-05-21 22:54:25 -07:00
Honza Hommer
95d134bdfd feat: parse YAML/JSON/JS config file (#1258)
* Parse JSON/YAML config file.

* fix missing export

* fix: typos

* test(config): remove JSON test

* feat: better config error handling, tests

* fix: detect YAML config file via extension

* docs: https://github.com/verdaccio/website/pull/99
2019-05-21 22:50:14 -07:00
Juan Picado @jotadeveloper
e7913ab32e
Merge pull request #1319 from jinliming2/fix-root-warning
fix: warning text is hard to read when running under root
2019-05-21 10:27:05 -07:00
Liming Jin
3ac038fd8b
fix: warning text is hard to read when running under root 2019-05-21 11:53:00 +08:00
Juan Picado @jotadeveloper
197095efe3
Merge branch 'master' into 4.1.x 2019-05-20 13:05:38 -07:00
Juan Picado @jotadeveloper
81ee0fa3f2
chore(release): 4.0.0-beta.10 v4.0.0-beta.10 2019-05-20 21:31:42 +02:00
Juan Picado @jotadeveloper
8cf3966d5c
fix: add missing pkg version and name on start up 2019-05-20 21:30:51 +02:00
Juan Picado @jotadeveloper
134a738a47
Merge branch 'master' into 4.1.x 2019-05-20 12:06:54 -07:00