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

421 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
68cb10f44d
Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2018-08-21 08:08:48 +02:00
Juan Picado @jotadeveloper
945eaef277
Merge remote-tracking branch 'origin/master' into 4.x 2018-08-21 08:07:10 +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
Ayush Sharma
9cd3ccb408 fix: login without reload (#678) (#679) (#914)
* fix: login without reload (#678) (#679)

* fix: implements code review suggestions (#914)

* refactor: adds scope to the app

* refactor: handles null value from localstorage for username

* refactor: removes text type from <Input />

* refactor: replaces isNull with isNil

* refactor: improves makeLogin method

* refactor: adds error from api constant

* fix: updates error using API_ERROR constant in tests

* refactor: updates regex for moduleMapper in jest config
2018-08-20 16:29:47 +02:00
Priscila
1602840ed1 feat: replaced lunr by lunr-mutable (#915) 2018-08-17 12:14:23 +02:00
Priscila
43bd622e29 feat: added prettier (#921) 2018-08-15 22:17:41 +02:00
Juan Picado @jotadeveloper
0ebdf1e93b
chore(release): 3.6.0 2018-08-13 12:19:33 +02:00
Juan Picado @jotadeveloper
598251556b
chore(release): 3.5.1 2018-08-02 07:43:41 +02:00
Juan Picado @jotadeveloper
735e1421f0
chore(release): 3.5.0 2018-08-02 07:18:44 +02:00
Juan Picado @jotadeveloper
050a1725be
chore: update css max size 2018-07-28 20:18:52 +02:00
Juan Picado @jotadeveloper
fa591d25dc
chore: update max size 2018-07-28 17:22:09 +02:00
Juan Picado @jotadeveloper
0d9565dd1c
chore: add bundlesize integration 2018-07-28 17:18:46 +02:00
Juan Picado @jotadeveloper
71cbbccfb2
Merge branch 'master' into update-dependencies 2018-07-28 08:50:19 +02:00
Juan Picado @jotadeveloper
da2a8ff5ef
chore(release): 3.4.1 2018-07-27 23:16:23 +02:00
Juan Picado @jotadeveloper
f75e213399
chore: update dependencies 2018-07-27 20:59:51 +02:00
Juan Picado @jotadeveloper
62e3adf0db
chore: update devDependencies 2018-07-27 20:37:13 +02:00
Juan Picado @jotadeveloper
8627aac21d
chore(release): 3.4.0 2018-07-27 12:11:26 +02:00
ayusharma
4a7a94aa74 feat: adds base64 support in webui token (#840) 2018-07-26 17:11:28 +02:00
Juan Picado @jotadeveloper
ffd35c0a02
chore(release): 3.3.0 2018-07-22 22:14:43 +02:00
snyk-bot
389e306a9e fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:cryptiles:20180710
2018-07-20 04:41:05 +00:00
Michiel De Mey
11dcf798cc feat: adds support for external plugin directory (#532) 2018-07-18 14:53:08 +02:00
Juan Picado @jotadeveloper
66118ad008
chore: update Flow 0.76.0 2018-07-18 07:53:04 +02:00
Juan Picado @jotadeveloper
b2e88d12a1
chore: add sub type example with flow 2018-07-18 07:53:02 +02:00
Juan Picado @jotadeveloper
2f4dbe8564
fix: add RemoteUser type for auth 2018-07-18 07:53:00 +02:00
Juan Picado @jotadeveloper
5c2c414e03
fix: wrong auth plugin signature 2018-07-18 07:52:59 +02:00
Juan Picado @jotadeveloper
6f33876587
chore: update @verdaccio/types to 3.3.2 2018-07-18 07:52:57 +02:00
Juan Picado @jotadeveloper
61e33f0a30
refactor: use plugins type on loadPlugin 2018-07-18 07:52:54 +02:00
Juan Picado @jotadeveloper
55c146cb5d
chore: add flow plugin examples
middleware, authentication and storage
2018-07-18 07:52:45 +02:00
Juan Picado @jotadeveloper
7ce6abf3b2
chore: update flow to 0.75.0 2018-07-18 07:52:39 +02:00
Juan Picado @jotadeveloper
6491ed7e20
chore: force build ui on run all test 2018-07-15 00:51:56 +02:00
Juan Picado @jotadeveloper
dd3a937ac9
refactor: config file using flow 2018-07-04 00:15:07 +02:00
Juan Picado @jotadeveloper
23f76b1b1d
chore: rename jest config
this will avoid use config cli prop every time
2018-07-04 00:15:05 +02:00
Juan Picado @jotadeveloper
a7fd3605d1
chore: update jest and eslint 2018-07-04 00:14:59 +02:00
Daniel Ruf
dbc5f622a8
chore: remove obsolete Travis CI code 2018-06-30 19:46:56 +02:00
Juan Picado @jotadeveloper
3f5a5c2345
refactor: improve code with es6 style 2018-06-24 10:11:52 +02:00
Juan Picado @jotadeveloper
32e64c0fe3
chore: update functional script name 2018-06-23 21:02:55 +02:00
Juan Picado @jotadeveloper
55927d5408
chore: restore workers config 2018-06-23 20:57:23 +02:00
Juan Picado @jotadeveloper
d81d9eaa89
chore: circle ci do not run func test on node 6 2018-06-23 20:57:22 +02:00
Juan Picado @jotadeveloper
9242d498d7
refactor: functional testing
* server now are executed in the jest setup phase
* disable one snapshot
2018-06-23 20:57:16 +02:00
Juan Picado @jotadeveloper
b113aa3a55
refactor: jest config files relocation
still pending unit config file
2018-06-23 20:57:15 +02:00
Juan Picado @jotadeveloper
b28e6f737b
refactor: functional testing relocation
functional testing runs in a different process
2018-06-23 20:57:13 +02:00
Juan Picado @jotadeveloper
4e5deb4461
refactor: relocate jest conf file e2e 2018-06-23 20:55:24 +02:00
ayusharma
29bb57ad5f feat: adds support for ascii-doc preview in readme (#464) 2018-06-20 00:15:25 +02:00
Juan Picado @jotadeveloper
d04dc8da73
fix: ignores http_proxy and https_proxy
bump verdaccio-audit@0.2.0
2018-06-15 23:11:39 +02:00
Juan Picado @jotadeveloper
07eece71ac
chore(release): 3.2.0 2018-06-15 06:12:24 +02:00
Juan Picado @jotadeveloper
0923c4419a
chore(release): 3.1.2 2018-06-11 19:56:12 +02:00
Juan Picado @jotadeveloper
8f0508fc2e
fix: search implementation depends now of each plugin
It had still file system remaining logic on search, this will force plugin to implement search. Whether plugin do not has such implementation a warning  is displayed in the console and search will return remote search results for each endpoint anyway.
2018-06-09 09:23:13 +02:00
Juan Picado @jotadeveloper
3060ff8280
chore(release): 3.1.1 2018-06-07 07:53:39 +02:00
Juan Picado @jotadeveloper
28239df877
chore(release): 3.1.0 2018-06-05 23:16:00 +02:00
Juan Picado @jotadeveloper
72d9b4124d
chore: syntax-dynamic-import
add syntax-dynamic-import babel plugin and update webpack
2018-06-03 17:34:30 +02:00
Juan Picado @jotadeveloper
9d65ea4e44
chore(release): 3.0.2 2018-05-31 10:41:27 +02:00
Juan Picado @jotadeveloper
145355760e
chore(release): 3.0.1 2018-05-31 02:01:32 +02:00
Juan Picado @jotadeveloper
815f5b341e
chore(release): 3.0.0 2018-05-30 22:55:29 +02:00
Lucius Gaitán
3168a769c3
fix: web-ui css were not being minimized 2018-05-27 09:34:17 -03:00
Juan Picado @jotadeveloper
c35469e0b2
chore(release): 3.0.0-beta.12 2018-05-23 22:06:05 +02:00
Juan Picado @jotadeveloper
5c64fa94a0
chore: update verdaccio-audit plugin 2018-05-23 21:56:21 +02:00
Juan Picado @jotadeveloper
f9f180de98
feat: support for npm audit fix #689
it is dissabled and commented out by default
2018-05-21 12:08:14 +02:00
Juan Picado @jotadeveloper
456f4b958e
chore(release): 3.0.0-beta.11 2018-05-20 10:07:08 +02:00
Juan Picado @jotadeveloper
089b7895b1
chore(release): 3.0.0-beta.10 2018-05-14 21:49:50 +02:00
Juan Picado @jotadeveloper
0fb7c7810a
chore(release): 3.0.0-beta.9 2018-05-13 23:56:04 +02:00
Juan Picado @jotadeveloper
6aab243d58
Merge branch 'master' of github.com:verdaccio/verdaccio 2018-05-13 23:50:11 +02:00
Juan Picado @jotadeveloper
bcf128e2be
fix: vulnerabilities with lodash 2018-05-13 23:48:24 +02:00
Juan Picado @jotadeveloper
d07bfc5f16
fix: update dependencies #691
webpack
2018-05-13 23:28:01 +02:00
Juan Picado @jotadeveloper
d4722d6aa2
fix: vulnerabilities dependencies 2018-05-13 23:12:31 +02:00
Juan Picado @jotadeveloper
d48b9a38d0
chore(release): 3.0.0-beta.8 2018-05-09 07:05:11 +02:00
Juan Picado @jotadeveloper
8f2493df4c
chore(release): 3.0.0-beta.7 2018-04-30 12:43:34 +02:00
Juan Picado @jotadeveloper
4d19d7d2c8
fix: enforce maximum amount of users for new users only
When the maximum amount of users is reached, verdaccio-htpassword returned a 403 error when existing users tried to login.

https://github.com/verdaccio/verdaccio-htpasswd/pull/28
2018-04-30 12:40:13 +02:00
Juan Picado @jotadeveloper
2df0275e41
chore: update htpasswd dep version 2018-04-30 10:59:46 +02:00
Juan Picado @jotadeveloper
55ea09e984
chore: update lodash 2018-04-30 10:35:39 +02:00
Lucius Gaitán
b1c631c554 fix: upgrade webpack to v4. fixes [#544] 2018-04-27 02:47:15 -03:00
Lucius Gaitán
4ec81d4979 fix: package command build:webui breaks on non-unix platforms
Setting environment variables directly doesn't work on non-unix platforms
2018-04-27 02:47:14 -03:00
Juan Picado @jotadeveloper
4d5e8aab0b
fix: update types 2018-04-23 07:16:13 +02:00
Juan Picado @jotadeveloper
a7aa77ac3a
fix: update memory plugin 2018-04-21 18:40:28 +02:00
Juan Picado @jotadeveloper
e5caa71d35
refactor: storage is async
allows storage to initalize whether a async call is required on start up.
2018-04-21 18:36:06 +02:00
Juan Picado @jotadeveloper
df418a8ecb
fix: update memory plugin for e2e 2018-04-20 23:35:57 +02:00
Juan Picado @jotadeveloper
848e004eb5
refactor: local database methods are async 2018-04-20 19:40:48 +02:00
Juan Picado @jotadeveloper
a75b7bdcdd
fix: update memory storage plugin 2018-04-18 01:04:51 +02:00
Juan Picado @jotadeveloper
33a9df0100
refactor: secret key is handled in verdaccio side 2018-04-17 22:03:42 +02:00
Juan Picado @jotadeveloper
f1a5ee43be
chore: pin local-storage dependency
update types
2018-04-14 22:32:17 +02:00
Juan Picado @jotadeveloper
9ca3d83355
chore: update babel conf peer environment 2018-04-08 21:05:32 +02:00
Juan Picado @jotadeveloper
453891b28b
fix: should fix flow performance issues 2018-04-04 08:11:20 +02:00
Juan Picado @jotadeveloper
71ac920efb
chore(release): 3.0.0-beta.6 2018-04-03 21:33:40 +02:00
Juan Picado @jotadeveloper
3a9c994bbc
feat: update verdaccio-htpasswd plugin 2018-04-02 19:52:49 +02:00
Juan Picado @jotadeveloper
a4943264ff
chore: allow quick updates on plugins 2018-03-28 07:23:40 +02:00
Juan Picado @jotadeveloper
179d14f74a
chore(release): 3.0.0-beta.5 2018-03-26 21:15:22 +02:00
Juan Picado @jotadeveloper
57a6771681
Merge branch 'master' into issue-542 2018-03-24 20:15:58 +01:00
Ayush Sharma
0d3cf84c01 fix(test): replaces LocaleString with date-nfs/format
fix(test): replaces timezone to UTC

fix(test): updates variable definitions

fix(test): updates time format
2018-03-24 23:31:24 +05:30
Juan Picado @jotadeveloper
fef7ee75e8
chore: remove axios in favor of fetch
xhr is not in the wave anymore
2018-03-24 10:12:21 +01:00
Juan Picado @jotadeveloper
b9a6edf9b0
chore: update verdaccio-memory dep 2018-03-24 09:07:36 +01:00
Juan Picado @jotadeveloper
768ce6a882
chore(release): 3.0.0-beta.4 2018-03-18 16:26:18 +01:00
Aaron Lozier
a56e8ad030 chore: update package and yarn to latest flow-types; skip test per #542 2018-03-18 09:27:51 -05:00
Juan Picado @jotadeveloper
59a53e1919
refactor: annotate files with flow 2018-03-11 16:27:16 +01:00
Juan Picado @jotadeveloper
6b19c819ed
chore: pin dependencies 2018-03-11 07:21:49 +01:00
Juan Picado @jotadeveloper
6203554eea
chore: remove dependencies 2018-03-11 07:15:27 +01:00
Juan Picado @jotadeveloper
1d5a2c8214
chore: update dependency
regular maintenance
2018-03-10 12:33:31 +01:00
Juan Picado @jotadeveloper
dacf6bc9d9
chore(release): 3.0.0-beta.2 2018-03-04 18:04:07 +01:00
Juan Picado @jotadeveloper
75426980cc
Merge pull request #618 from ayusharma/htpasswd-integration
verdaccio-htpasswd v0.1.4
2018-03-04 18:01:36 +01:00
Ayush Sharma
2de47454bf test: updates verdaccio-htpasswd tests
bumps verdaccio-htpasswd to 0.1.4
2018-03-04 22:14:29 +05:30
Juan Picado @jotadeveloper
99eb4c1629
chore: update local-storage plugin 2018-03-03 20:07:55 +01:00
Juan Picado @jotadeveloper
6a28a91833
chore: update css lint deps 2018-03-02 23:32:03 +01:00
Juan Picado @jotadeveloper
3eefaa8683
chore: update dependencies 2018-03-02 23:28:15 +01:00
Juan Picado @jotadeveloper
3d40cb1521
Merge branch 'master' of github.com:verdaccio/verdaccio 2018-03-02 23:20:37 +01:00
Juan Picado @jotadeveloper
8f932f5f8a
chore: update some endpoints with flow 2018-03-02 23:19:08 +01:00
Renovate Bot
6a2a8615b0
chore(deps): update dependency @commitlint/cli to v6.1.2 2018-03-01 03:50:11 +00:00
snyk-bot
69180184bf fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:marked:20180225

Latest report for verdaccio/verdaccio:
https://snyk.io/test/github/verdaccio/verdaccio
2018-02-28 02:18:09 +00:00
Juan Picado @jotadeveloper
0167de508c
refactor: move specific flow types into the project 2018-02-26 21:28:09 +01:00
Juan Picado @jotadeveloper
b23cc1bc8b
chore: update types 2018-02-26 18:16:51 +01:00
Juan Picado @jotadeveloper
7d1ab390c1
fix: husky hook to lint code before commit message 2018-02-25 20:38:27 +01:00
Juan Picado @jotadeveloper
e9fc7b3f38
chore(release): 3.0.0-beta.1 2018-02-24 22:24:58 +01:00
Juan Picado @jotadeveloper
1399b5ceae
chore(release): 3.0.0-beta.0 2018-02-24 22:18:58 +01:00
Juan Picado @jotadeveloper
199c98314d
refactor: add types to new files
pluging-loader and auth
2018-02-24 20:31:03 +01:00
Juan Picado @jotadeveloper
cba3c29a9f
chore: update types library 2018-02-24 20:31:01 +01:00
Juan Picado @jotadeveloper
d086073069
fix(flow): fix flow definitions 2018-02-24 20:31:00 +01:00
Juan Picado @jotadeveloper
27efad9648
chore: remove opencollective postinstall script 2018-02-24 11:48:35 +01:00
Juan Picado @jotadeveloper
afb88fd7b5
Merge pull request #580 from opencollective/opencollective
Activating Open Collective
2018-02-24 11:46:23 +01:00
Juan Picado @jotadeveloper
4343e22f1d
fix: update htpasswd dependency to fix unit test 2018-02-17 13:28:01 +01:00
Juan Picado @jotadeveloper
d3d8d182ec
chore: add verdaccio-htpasswd plugin 2018-02-17 10:44:34 +01:00
Jess
660440e6bc Added call to donate after npm install (optional) 2018-02-17 14:57:18 +09:00
Juan Picado @jotadeveloper
7f03b5f2c5
chore(release): 3.0.0-alpha.13 2018-02-16 18:14:25 +01:00
Juan Picado @jotadeveloper
5df9830c3a
chore: update lock file and update dependency 2018-02-16 07:32:07 +01:00
snyk-bot
11f1fd76c6 fix: package.json to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/npm:lodash:20180130

Latest report for verdaccio/verdaccio:
https://snyk.io/test/github/verdaccio/verdaccio
2018-02-15 02:18:36 +00:00
Renovate Bot
3aa32ad70f
chore(deps): update dependency eslint-plugin-jest to v21.8.0 2018-02-11 10:32:05 +00:00
Renovate Bot
55c319b1d5
chore(deps): update dependency babel-plugin-flow-runtime to v0.17.0 2018-02-11 08:58:33 +00:00
Renovate Bot
23ddbdcc7e
chore(deps): pin dependencies 2018-02-10 23:12:13 +00:00
Juan Picado @jotadeveloper
508d175778
test(e2e): add test scenario to display published packages on ui 2018-02-10 16:45:29 +01:00
Juan Picado @jotadeveloper
8c2a755f84
test(e2e): add test scenario to login user 2018-02-10 09:41:01 +01:00
Juan Picado @jotadeveloper
9807e21dee
test: add e2e support 2018-02-09 08:42:34 +01:00
Juan Picado @jotadeveloper
780874ece9
test: add husky and lint 2018-02-08 23:25:18 +01:00
Juan Picado @jotadeveloper
27286a5bff
test: add e2e test - testing ci mode 2018-02-08 22:45:13 +01:00
Juan Picado @jotadeveloper
a96ac10e3b
chore(release): 3.0.0-alpha.12 2018-02-04 15:05:45 +01:00
Juan Picado @jotadeveloper
f7414e9bb2
chore(flow): update flow definitions for proxy 2018-02-04 14:15:51 +01:00
Juan Picado @jotadeveloper
7a86b71342
refactor(flow): add flow support to storage 2018-02-04 00:24:28 +01:00
Juan Picado @jotadeveloper
64daa46756
chore: update dependencies 2018-02-03 16:47:33 +01:00
Renovate Bot
354f19edce
chore(deps): pin dependencies 2018-02-03 12:26:56 +00:00
Juan Picado @jotadeveloper
8e646eb03f
chore(release): 3.0.0-alpha.11 2018-01-28 20:51:15 +01:00
Juan Picado @jotadeveloper
5140b57efb
refactor(test): remove deprecate auth support, fix all test 2018-01-28 02:47:54 +01:00
Juan Picado @jotadeveloper
eaa0e3f8bd
test(unit): add unit test for ping and whoiam 2018-01-25 21:37:37 +01:00
Renovate Bot
f8df3753c8
chore(deps): update dependency react-hot-loader to v4.0.0-beta.17 2018-01-22 16:01:27 +00:00
Renovate Bot
b4235af5e6
chore(deps): update dependency webpack-dev-server to v2.11.1 2018-01-22 07:31:01 +00:00
Renovate Bot
ab5c0a4a69
chore(deps): pin dependencies 2018-01-22 06:47:25 +00:00
Juan Picado @jotadeveloper
5acdc8778b
Merge branch 'master' into renovate/jest-monorepo 2018-01-22 07:39:17 +01:00
Roger Meier
9939f14323 chore: use commitlint and git commitmsg hook with husky 2018-01-21 21:05:18 +01:00
Renovate Bot
52cdcc65fa
chore(deps): update jest monorepo packages 2018-01-21 16:05:17 +00:00
Juan Picado @jotadeveloper
7514d04351
fix: Update website and move it to the root 2018-01-20 23:00:45 +01:00
Renovate Bot
cd828fc59b
chore(deps): update dependency react-hot-loader to v4.0.0-beta.15 2018-01-20 10:20:57 +00:00
Renovate Bot
a08c9f9189
chore(deps): update dependency eslint-plugin-jest to v21.7.0 2018-01-20 09:17:37 +00:00
Renovate Bot
89f6e3c431
chore(deps): update dependency css-loader to v0.28.9 2018-01-20 08:12:16 +00:00
Juan Picado @jotadeveloper
b1115fed54
chore(release): 3.0.0-alpha.10 2018-01-18 07:35:29 +01:00
Juan Picado @jotadeveloper
046e8b1ae1
feat: add node api to launch verdaccio programmatically 2018-01-18 07:03:12 +01:00