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

3209 Commits

Author SHA1 Message Date
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
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
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
Juan Picado @jotadeveloper
cc7bd999d3
chore(release): 4.0.0-beta.9 v4.0.0-beta.9 2019-05-20 20:59:30 +02:00
Juan Picado @jotadeveloper
8786a3740e
test: relocate api spec test 2019-05-20 08:47:52 +02:00
Juan Picado @jotadeveloper
4bf6b3b844
test: fix broken test for validate parameters 2019-05-20 08:29:17 +02:00
Juan Picado @jotadeveloper
b1eb7c6278
test: relocate unit test cli, proxy, utils 2019-05-20 07:53:47 +02:00
Juan Picado @jotadeveloper
ca2e23cf9d
test: relocate unit test 2019-05-20 07:41:12 +02:00
Juan Picado @jotadeveloper
596c727a35
test: relocate notification test 2019-05-20 07:33:39 +02:00
Juan Picado @jotadeveloper
e7400cef71
test: relocate plugin storage 2019-05-20 07:26:40 +02:00
Juan Picado @jotadeveloper
3929633f7e
test: relocate test 2019-05-19 23:07:17 +02:00
Juan Picado @jotadeveloper
b4c42c1a78
test: relocate spec test 2019-05-19 22:23:12 +02:00
Juan Picado @jotadeveloper
2f3ec2ce42
test: increase usage of constants 2019-05-19 21:37:43 +02:00
Juan Picado @jotadeveloper
d052bcef89
test: relocate helpers 2019-05-19 21:03:45 +02:00
Juan Picado @jotadeveloper
cb7b695896
chore: update lock file 2019-05-17 21:01:13 +02:00
Juan Picado @jotadeveloper
26c5e2d670
Merge branch 'master' into 4.1.x 2019-05-17 08:04:13 -07:00
Juan Picado @jotadeveloper
7686417f29
feat: update readme v4 (#1312)
* feat: update readme v4

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

* chore: update @verdaccio/ui-theme@0.1.10
2019-05-17 08:03:58 -07:00
Juan Picado @jotadeveloper
5c6b515712
Merge pull request #1161 from mlucool/filters
Filter packages
2019-05-16 04:42:21 -07:00