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

195 Commits

Author SHA1 Message Date
Andrew Shanks
9ed8f3497c refactor: remove usage of assert from cache.js [#973] (#1043)
* refactor: remove usage of assert from cache.js [#973]

* refactor: remove usage of assert from no_proxy.spec.js [#973]

* refactor: remove usage of assert from cache.js [#973]
2018-10-03 23:39:45 +02:00
Ayush Sharma
83b586f000 refactor: tests for notify request service (#1039)
* refactor: tests for notify request service

* refactor: improves notify request service tests

* refactor: uses beforeEach for jest.resetModules
2018-10-03 23:32:04 +02:00
Ayush Sharma
d913145fe2 refactor: typo fixes (#1030)
* refactor: increasese use of constants

* refactor: fixes after rebase

* refactor: improves variable names
2018-10-02 07:47:46 +02:00
Priscila
d504d28dc4 refactor: add space in curly braces -> object-curly-spacing (#1035)
* refactor: allowed spaces between brackets

* chore: update bundle size max
2018-10-01 07:06:30 +02:00
Juan Picado @jotadeveloper
9117673bed
Merge remote-tracking branch 'origin/master' into 4.x
# Conflicts:
#	package.json
#	yarn.lock
2018-09-27 18:01:57 +02:00
Juan Picado @jotadeveloper
680811d2d0
Update deps all (#1023)
* chore: update dependencies

* chore: update flow@0.81.0

* chore: update e2e test
2018-09-27 16:37:45 +02:00
Juan Picado @jotadeveloper
4deefe79ad
fix: normalize contributors field #1022 (#1024) 2018-09-27 12:17:47 +02:00
Juan Picado @jotadeveloper
40e2b10915
feat: add support for multiple protocol on protocol header (#1014)
More context
https://github.com/verdaccio/verdaccio/issues/695
2018-09-25 21:28:21 +02:00
Priscila
c3edcbfcf5 Header Section Refactor - New UI (#1006)
Includes:
 - Created css variables in JS.
 - Added JS helpers.
 - Replaced old sidebar by the "APP Bar" component from Material UI.
 - Replaced logo by the new version.
 - Added Avatar icon.
 - Added Info Icon.
 - Added Information Dialog, where the user can 'copy to the clipboard' the verdaccio commands.
 - Added Verdaccio website documentation link.
 - Added Drop Down Menu on the right side with a logout option
2018-09-24 22:04:37 +02:00
Juan Picado @jotadeveloper
cf31982127
test: Increase coverage for unit test (#974)
* test(utils): add test for validate names

* test(utils): add unit test for dist-tags normalize utility

* refactor(notifications):  unit test for notifications

* test(cli): add unit test for address validation

* chore: add new constants

* chore: ignore debug from coverage

* test(bootstrap): test https is fails on start

* refactor: update code for rebase
2018-09-22 12:54:21 +02:00
Ayush Sharma
32fce8eaea
Refactor & minor fixes (#1009) 2018-09-21 17:34:12 +02:00
Ayush Sharma
e92c680586
refactor: utils method exports (#1008) 2018-09-20 19:06:52 +02:00
Ayush Sharma
bc04703ce7
feat: verdaccio update notification on CLI (#988) (#998) 2018-09-20 09:53:29 +02:00
Juan Picado @jotadeveloper
3639557118
feat: replaced element-react by Material-UI (#950) (#985)
* feat: added material-ui

refactor: replaced element-react by material-ui

refactor: updated snapshots

refactor: updated tests

* fix: modified validation.WIP

* refactor: modified tests.WIP

* test(fix): unit test for login and validat ecredentials

* chore(fix): e2e update css selectors

* test(fix): replace Object.values by supported syntax on node6
2018-09-06 21:26:54 +02:00
Juan Picado @jotadeveloper
a285fa192f
Merge branch 'master' into 4.x 2018-09-05 22:41:16 +02:00
Juan Picado @jotadeveloper
3ca20d0c4e
fix: missing properties for default matcher #981 (#982) 2018-09-05 22:10:27 +02:00
Juan Picado @jotadeveloper
92f4c10ba1
Merge branch 'master' into 4.x 2018-08-28 08:36:49 +02:00
Ayush Sharma
9f78c31f66 fix: login modal validation (#958) 2018-08-28 08:12:30 +02:00
Juan Picado @jotadeveloper
dfd95f05aa
Merge branch 'master' into 4.x 2018-08-25 17:33:12 +02:00
Ayush Sharma
cf0593813c fix: removes asciidoctor.js support (#884) (#947) 2018-08-25 13:42:18 +02:00
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
Juan Picado @jotadeveloper
0ba1ccfabb
Merge remote-tracking branch 'origin/master' into 4.x 2018-08-13 18:18:34 +02:00
Juan Picado @jotadeveloper
231cf5a581
Merge branch 'master' into master 2018-08-13 07:20:20 +02:00
Ashish Surana
fd6769850a fix(webui): search crash on ' ' as a value #898 (#902)
* fix(webui): search crash on ' ' as a value #898

* chore(test): add unit test cases for Home component

  - test case for handleSearchInput function
2018-08-12 22:25:47 +02:00
jeremy
2e5a4096f4 fix: abort the stream to prevent overwriting existing tarbal 2018-08-02 12:44:59 -07:00
Diego Louzán
4862acdc0e
refactor(docker): multistage build / support for running as random uid
- refactor docker image to use builder multistage pattern
- separate storage directories
- verdaccio code directories are not user writeable
- add generic support for random user uid on environments where the startup
  user for docker is randomized (e.g. openshift)
2018-08-02 20:23:25 +02:00
Ayush Sharma
dc9460ff07
refactor: header component test (#878)
* refactor: improves <Header /> component test cases

* refactor: adds destructuring for state in render block
2018-08-01 15:00:39 +02:00
Juan Picado @jotadeveloper
8b98302985
Merge branch 'master' into feat-webui-scope 2018-07-30 18:59:27 +02:00
Peter Cools
7c3a617d79 feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873.
Added as webui.scope option in .yaml.
> Note: in .yaml, escape @ with \\@.

See also feature request #593.
Update unit test for added scope
2018-07-29 19:11:43 +02:00
Juan Picado @jotadeveloper
5e9b593bd5
refactor: some es6 sugar 2018-07-29 16:03:09 +02:00
Juan Picado @jotadeveloper
bef6df6e1b
test(storage): add unit test for merge test 2018-07-29 15:26:22 +02:00
Juan Picado @jotadeveloper
b65b79bc09
test(storage): add checks for addVersion 2018-07-29 13:58:04 +02:00
Juan Picado @jotadeveloper
25c62f09ea
test(storage): add better test for changePackage 2018-07-29 10:28:28 +02:00
ayusharma
4df6b3b252 feat: adds gravatar support for maintainers 2018-07-29 00:45:02 +02:00
Juan Picado @jotadeveloper
ddf491740c
Merge pull request #859 from verdaccio/update-dependencies
chore: update dependencies
2018-07-28 17:14:35 +02:00
Juan Picado @jotadeveloper
b0b631af76
chore: add unit test for #857 scenario 2018-07-28 08:45:10 +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
ayusharma
263b0f78a9 refactor: <Package /> , <Footer /> and package sidebar code refactoring
refactor: variable naming
2018-07-22 21:22:51 +02:00
Juan Picado @jotadeveloper
61e33f0a30
refactor: use plugins type on loadPlugin 2018-07-18 07:52:54 +02:00
Juan Picado @jotadeveloper
7ce6abf3b2
chore: update flow to 0.75.0 2018-07-18 07:52:39 +02:00
ayusharma
d6dd2f647b refactor: removes un-necessary 'src' from webui path 2018-07-17 22:03:06 +02:00
Juan Picado @jotadeveloper
91a6c202ff
chore: more unit test for config utils 2018-07-04 07:31:51 +02:00
Juan Picado @jotadeveloper
39651bb6b3
chore: add unit test for package access normalize 2018-07-04 00:15:09 +02:00
Juan Picado @jotadeveloper
dd3a937ac9
refactor: config file using flow 2018-07-04 00:15:07 +02:00