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

3189 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
cc7bd999d3
chore(release): 4.0.0-beta.9 v4.0.0-beta.9 2019-05-20 20:59:30 +02: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
Ayush Sharma
a588588cf3 chore: removes verdaccio update banner (#1309) 2019-05-12 10:38:32 -07:00
Juan Picado @jotadeveloper
8e48eea511
fix: update @verdaccio/ui-theme:0.1.7
https://github.com/verdaccio/ui/pull/54
2019-05-11 09:30:10 +02:00
Juan Picado @jotadeveloper
b4bc6ff4e5
chore: fix #1292 add missing dependencies
remove non required dependencies
2019-05-09 23:41:16 +02:00
Juan Picado @jotadeveloper
daa7e897b6
chore(release): 4.0.0-beta.8 v4.0.0-beta.8 2019-05-07 20:59:05 +02:00
Juan Picado @jotadeveloper
3c691329c7
fix: update lock file 2019-05-07 20:58:36 +02:00
Juan Picado @jotadeveloper
144e95f4bf
chore(release): 4.0.0-beta.7 v4.0.0-beta.7 2019-05-07 20:49:16 +02:00
Juan Picado @jotadeveloper
96dd2d8306
chore(release): 4.0.0-beta.6 v4.0.0-beta.6 2019-05-07 07:43:52 +02:00
Juan Picado @jotadeveloper
1bdb338092
Merge pull request #1299 from verdaccio/fix-1297
fix: routing is aware of reverse proxy directory #1297
2019-05-07 07:07:35 +02:00
Juan Picado @jotadeveloper
86a7aa7a0c
chore: update @verdaccio/ui-theme@0.1.5 2019-05-04 16:39:01 +02:00
Juan Picado @jotadeveloper
01f8da6366
fix: routing is aware of reverse proxy directory #1297 2019-05-02 21:56:14 +02:00
Juan Picado @jotadeveloper
9589d47ff7
chore(release): 4.0.0-beta.5 v4.0.0-beta.5 2019-04-30 23:48:04 +02:00
Juan Picado @jotadeveloper
615db0affb
feat: add some security headers for web UI (#1295) @juanpicado
* feat: add some security headers for web UI

The idea behind this is have more control over the content is rendered mostly via README.

* chore: rename header for frame options

* chore: rename method better name
2019-04-30 23:46:36 +02:00
Juan Picado @jotadeveloper
5ee485e984
chore: update husky dependencies 2019-04-30 23:07:31 +02:00
Juan Picado @jotadeveloper
f48b23fbcf
fix: remove unused dependencies #1292 2019-04-30 22:49:09 +02:00
Juan Picado @jotadeveloper
f53f4c4536
chore(release): 4.0.0-beta.4 v4.0.0-beta.4 2019-04-29 08:49:03 +02:00
Daniel Ruf
ff71640e8a feat: replace chalk with kleur (#1289) @DanielRuf
* chore: replace chalk with kleur

* build: add updated lockfile

* chore: add flow-typed stub for kleur 3.0.3

* chore: remove unnecessary whitespace

* test: update snapshot for update-banner.js

* chore: migrate logger.js from chalk to kleur

* chore: use import instead of require
2019-04-29 08:44:29 +02:00
Juan Picado @jotadeveloper
780ba27014
Update main.workflow 2019-04-29 08:36:10 +02:00
Juan Picado @jotadeveloper
40c4b40c77
Merge pull request #1290 from DanielRuf/chore/replace-date-fns-with-dayjs
chore: replace date-fns with dayjs
2019-04-29 07:27:56 +02:00
Juan Picado @jotadeveloper
b8f63295b8
Merge branch 'master' into chore/replace-date-fns-with-dayjs 2019-04-29 00:46:08 +02:00