Commit Graph

43 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper f1416ed557
feat: add support for profile cli command #392 (change password) (#1034)
* feat: add support for profile cli command #392

- it allows to update password npm profile set password
- display current profile npm profile get

https://docs.npmjs.com/cli/profile

* chore: update @verdaccio/types@4.0.0

* feat: add min password length

on npm by defaul is min 7 characters, this might be configurable in the future.

* chore: update verdaccio-htpasswd@1.0.1

* refactor: update unit test

* refactor: provide friendly error for tfa request

* test: api profile unit test

* chore: fix eslint comment

* test: update profile test

* chore: set mim as 3 characters
2018-10-12 11:07:55 +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 ceffc461c2
chore: exclude bundle files on git 2018-06-03 17:35:12 +02:00
Juan Picado @jotadeveloper 5a93589caa
chore: update gitignore
allow vscode files to be shared
2018-03-17 11:53:10 +01:00
Juan Picado @jotadeveloper 547da379e9
test: add test for proxy access
the test will check whether avoiding proxy on uplink configuration avoid proxy access
2018-03-11 18:55:19 +01:00
Juan Picado @jotadeveloper 1d5a2c8214
chore: update dependency
regular maintenance
2018-03-10 12:33:31 +01:00
Juan Picado @jotadeveloper 01676cd57d
docs: add static files 2018-01-10 03:56:44 +01:00
Juan Picado @jotadeveloper b494d47eeb test: add additonal unit test for local-storage 2018-01-07 07:59:36 +00:00
Ayush Sharma 5ae7863d8f webui snapshot testing
deps fixes for ui tests

snapshot fixes
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper 710f1fc3f5 chore: update dot files 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper 765c4d2b5d refactor: Update cli path and fix eslint errors for transpiled code 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper f783ec3df3
chore: ignore npm lock file 2017-07-22 18:25:48 +02:00
Juan Picado @jotadeveloper d072428249
fix: update git ignore, not needed files 2017-07-18 21:14:10 +02:00
Meeeeow 3ba8d0827b
refactor: modify webui dependencies & add some code 2017-07-18 21:14:09 +02:00
Juan Picado @jotadeveloper e49846bb1b
Add new web ui, replace the old one based on jQuery by React components and webpack. 2017-07-18 21:02:05 +02:00
cklein 7018fc99a2 [GH-131] add cache option to uplinks 2017-06-08 17:59:28 +02:00
Juan Picado e3e1485369
Update gitignore, IDE hidden folder: 2017-04-23 21:28:41 +02:00
Juan Picado 8372674d09
Allow use yarn on dev 2017-04-23 21:09:49 +02:00
Madison Grubb 01a6c22103 merging in changes from upstream & fixing conflicts 2017-02-04 22:58:26 -05:00
Juan Picado @jotadeveloper 0470a02b2f Add istanbul unit testing coverage 2017-02-04 00:29:34 +01:00
Madison Grubb a7c4285a68 renaming 'sinopia' to verdaccio. 2016-11-07 12:15:38 -05:00
Juan Carlos Picado 115a02b0eb restore binary cli command 2016-08-13 08:03:16 +02:00
steve-p-com 6301c3f169 Replace YAML package definitions with standard package.json, fix dependencies 2016-04-21 21:13:49 +01:00
steve-p-com dfdcaa893e Change the way package distribution tags are processed and stored 2016-04-18 20:53:00 +01:00
Alex Kocharin 841f77d36a sort out dependencies needed to build static stuff 2014-11-30 11:22:24 +03:00
Alex Kocharin 4592ec3657 bundle all the deps 2014-11-25 03:08:06 +03:00
Alex Kocharin 322f64d517 install crypt3 from npm registry 2014-11-15 04:43:21 +03:00
Alex Kocharin 34c12de81c importing all bundled deps to git 2014-09-14 18:28:17 +04:00
Alex Kocharin 4545076b0f ignore anything in bin/ folder 2014-07-26 21:27:32 +04:00
Alex Kocharin 4f913f2468 Merge https://github.com/bpeacock/sinopia.git
Conflicts:
	lib/config.js
	lib/config_def.yaml
	lib/index.js
	lib/local-storage.js
	lib/storage.js
	package.json
2014-07-26 20:36:22 +04:00
Alex Kocharin 3809d6eb32 add a bunch of tests for htpasswd 2014-07-23 01:45:28 +04:00
Brian Peacock 96126e5a2f Added back in package.json so that it can be installed from git repo 2014-05-13 17:14:25 -05:00
Brian Peacock 39083b819f Switched back to package.yaml 2014-05-12 10:42:04 -05:00
Brian Peacock edee08a778 Fixed some things 2014-05-06 14:57:50 -05:00
Brian Peacock 9e51798295 Made it a regular npm module 2014-05-06 12:06:10 -05:00
Alex Kocharin a3a59aa8f3 reorganize tests, and add new ones 2013-12-19 19:11:54 +04:00
Alex Kocharin 459002128c ignore tarballs 2013-10-05 20:37:44 +04:00
Alex Kocharin 64a0ab8be7 wrong file ignored 2013-09-27 12:54:56 +04:00
Alex Kocharin 35235db7a0 adding test stuff to gitignore 2013-09-27 12:51:36 +04:00
Alex Kocharin 1c827ebbd0 working on storage... 2013-06-14 12:34:29 +04:00
Alex Kocharin a8fa475dc1 config file changes 2013-06-13 18:21:14 +04:00
Alex Kocharin 3782bb3945 package.json -> package.yaml 2013-05-29 09:10:57 +04:00
Alex Kocharin b7bd0c2302 initial commit 2013-05-22 10:48:04 +04:00