0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-03 23:09:17 -05:00
Commit graph

177 commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
ee8859c99c
Merge branch '4.x' into fix-492 2019-02-18 22:05:03 +01:00
Juan Picado @jotadeveloper
28231841f6
Merge branch '4.x' into fix-1163 2019-02-18 21:03:38 +01:00
Juan Picado @jotadeveloper
64f06f8467
chore: fix undefined issue 2019-02-08 08:05:13 +01:00
Juan Picado @jotadeveloper
ef503257f3
feat: ability to restrict unpublish action to certain users #492
This is a PoC, it needs refactor and unit testing
2019-02-07 22:04:53 +01:00
Juan Picado @jotadeveloper
49c6f0353e
feat: allow order packages via on web #1163
add new param on web sort_packages. options asc or desc
2019-02-07 21:20:43 +01:00
Juan Picado @jotadeveloper
d7eea01efc
Merge remote-tracking branch 'origin/4.x' into feat-new-detail-page 2019-02-03 12:25:59 +01:00
Juan Picado @jotadeveloper
752b870aba feat: not found page (#1208)
* refator: added 404 page

* fix: fixed lint errors

* fix: fixed test

* refactor: add async import
2019-01-31 21:58:59 +01:00
Juan Picado @jotadeveloper
36c1866f19
chore: fix lint errors 2019-01-27 17:47:00 +01:00
Juan Picado @jotadeveloper
5178e1be5c
Merge branch 'feat-new-detail-page' into fix-1013 2019-01-26 15:32:51 +01:00
Juan Picado @jotadeveloper
1a456fb8a6
feat: migrate react router from hash to history api #1013 2019-01-20 22:16:54 +01:00
Juan Picado @jotadeveloper
158666f163
fix: logo on header
Refactor, not need it endpoint for logo.
2019-01-20 19:25:50 +01:00
Juan Picado @jotadeveloper
5299e58341
Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2019-01-20 09:58:34 +01:00
Juan Picado @jotadeveloper
5a8d92f5f9
Merge remote-tracking branch 'origin/master' into 4.x
# Conflicts:
#	src/api/web/endpoint/package.js
#	src/lib/storage.js
#	src/lib/up-storage.js
#	src/utils/user.js
2019-01-20 09:55:24 +01:00
Daniel Ruf
056d396b59 fix: add logic to catch clause (#1183) 2019-01-15 09:29:04 +01:00
KukuruzaAndrey
394386385e feat: package version gets sent to plugins 2019-01-14 17:17:37 +02:00
Juan Picado @jotadeveloper
c338f461c9
feat: allow disable gravatar #1172 2019-01-12 15:45:47 +01:00
Juan Picado @jotadeveloper
4f4720dafb
feat: add dist-tags on ui 2019-01-12 10:08:24 +01:00
Priscila Oliveira
4962e36bbc fix: applied prefer-const 2018-12-16 21:09:03 +01:00
Juan Picado @jotadeveloper
2362310aba
feat: stop hit proxies on search web UI (#1126)
Since we look for metadata on sidebar does not make sense to hit the proxies on search, this is the first step to help with other tickets to search in the whole proxy data packages, now is limited to private packages. Unit test are not need it here since is an "assumed" behaviour we don't want anymore. This will clearly help to improve performance on UI.
2018-11-22 13:39:39 +01:00
Juan Picado @jotadeveloper
712db31a43
feat: endpoints change password on ui (#1068)
* test: split up web and endpoints api

* chore: add reset password endpoint

not fully implemented yet

* feat: add password change api ednpoint for web
2018-11-18 18:41:05 +01:00
Ayush Sharma
cbcfc9a48b
test: Increase coverage publish api tests (#1056)
* refactor: ES6 sugar

* refactor: improves code in publish

* refactor: add tests for upload tarball and add a version flow

* refactor: unpublish endpoint tests

* refactor: publish endpoint test

* docs: adds code blocks to publish functionality

* refactor: rename tests file name

* refactor: improves logic for npm star command

* refactor: replaces assert equal with strictEqual
2018-10-18 15:44:58 +02:00
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
Ashish Surana
3588df5efd refactor: moving API response to constants (#1069)
- creates TARBALL_UPLOADED & BAD_PACKAGE_DATA constant
2018-10-11 18:17:02 +02:00
Ashish Surana
7f963ac4bc refactor: change API error to API_ERROR constants (#1063) 2018-10-08 07:34:40 +02:00
Ashish Surana
71e34e2194 refactor: rename anti_loop function to antiLoop (#1057) 2018-10-07 00:32:17 +02:00
Utwo
919828fd32 refactor: remove unnecessary FlowFixMe (#1051) 2018-10-05 11:08:54 +02:00
Utwo
d41a990e97 refactor: replace all 404 with NOT_FOUND constant (#1050)
Resolve one eslint warning
2018-10-05 08:20:43 +02:00
Varij Kapil
d17c31d725 refactor: restructure Utils import (#1041) 2018-10-03 21:44:59 +02:00
Varij Kapil
385a791237 refactor: get rid off require('../lib/logger'); (#1040)
refactored `require('../lib/logger');` in `src/api/index.js`, `src/api/middleware.js` and `src/api/storage.js` and `require ('./midderlware')` from `src/api/index.js`
2018-10-03 21:35:24 +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
44144b40ce refactor: enable pragma prettify to api modules (#1019)
no logic changes, just formatting

Co-Authored-By: Priscila <priscilawebdev@users.noreply.github.com>
Co-Authored-By: Ayush Sharma <ayush.aceit@gmail.com>
2018-09-28 11:35:21 +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
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
Juan Picado @jotadeveloper
ba9dc35f87
feat: check for minimum node.js version on start (#968) 2018-09-07 07:26:44 +02:00
Juan Picado @jotadeveloper
dfd95f05aa
Merge branch 'master' into 4.x 2018-08-25 17:33:12 +02:00
Marc Udoff
cd231badb7 fix: bugs related to logging with type json (#893)
This commit cleans up some logging infra and ensures that the msg
in the json log are the same as what you get when you use pretty.
It also removes some confusing nulls that appear in the logs.
2018-08-24 22:07:24 +02:00
Juan Picado @jotadeveloper
9c94cc5732
Merge branch 'master' into 4.x 2018-08-24 18:17:24 +02:00
Viktor
5557ce5787 fix: path to static directory could be changed (#942) 2018-08-24 18:16:08 +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
Peter Cools
ac039cfcb8 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.
2018-07-29 18:30:08 +02:00
Juan Picado @jotadeveloper
61e33f0a30
refactor: use plugins type on loadPlugin 2018-07-18 07:52:54 +02:00
Juan Picado @jotadeveloper
dd3a937ac9
refactor: config file using flow 2018-07-04 00:15:07 +02:00
Juan Picado @jotadeveloper
45110ddb7b
refactor: migration assert to expect 2018-06-28 18:33:37 +02:00
Juan Picado @jotadeveloper
1fd50cc53e
refactor: add more constants 2018-06-26 06:15:09 +02:00
Juan Picado @jotadeveloper
4e25f19531
refactor: add more constants 2018-06-26 06:15:07 +02:00
Juan Picado @jotadeveloper
90e700ce78
refactor: dist-tags-merge test 2018-06-23 20:59:35 +02:00
Juan Picado @jotadeveloper
690b92a652
refactor: mirror and anti-loop 2018-06-23 20:59:27 +02:00