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
ab56d750ca
fix: remove some unneeded checks ( #1182 )
2019-01-14 19:39:59 +01:00
Daniel Ruf
064f7cfa5d
fix: remove unused parameters from processBody method invocation ( #1184 )
2019-01-14 19:34:03 +01:00
Daniel Ruf
f20fefaf87
fix: remove use of comma separator ( #1186 )
2019-01-14 19:25:29 +01:00
Daniel Ruf
e9b3907859
fix: remove unused object ( #1185 )
...
Remove unused object
2019-01-14 19:19:56 +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
Juan Picado @jotadeveloper
98c3a5b8d0
Merge remote-tracking branch 'origin/4.x' into refactor-eslint
2018-12-22 16:36:31 +01:00
Juan Picado @jotadeveloper
e582ca38fc
Merge remote-tracking branch 'origin/master' into 4.x
2018-12-20 23:04:13 +01:00
Liming Jin
c99266dd54
fix: remove useless secureProtocol option ( #1158 )
2018-12-20 22:42:56 +01:00
Priscila Oliveira
4962e36bbc
fix: applied prefer-const
2018-12-16 21:09:03 +01:00
Juan Picado @jotadeveloper
eb2947213d
Merge remote-tracking branch 'origin/master' into 4.x
...
# Conflicts:
# CHANGELOG.md
# Dockerfile
# package.json
# src/lib/local-storage.js
# src/lib/utils.js
# test/unit/api/utils.spec.js
2018-12-06 23:04:42 +01:00
Juan Picado @jotadeveloper
6554973e2b
feat: allows package.json as package name ( #1149 )
2018-12-06 08:34:42 +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
Juan Picado @jotadeveloper
26794add9a
Merge remote-tracking branch 'origin/master' into 4.x
2018-11-15 21:13:41 +01:00
Michael K
4e3455157c
fix: answer with 401 instead of 403 when no credentials were sent ( #1109 )
...
fixes #1105
2018-11-15 20:14:56 +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
Juan Picado @jotadeveloper
219d868e30
Merge remote-tracking branch 'origin/master' into 4.x
2018-10-08 20:29:00 +02:00
Yuval Yogev
315a3b2699
fix: don't exit if using https and pfx is enabled ( #1061 ) ( #1062 )
...
* Don't exit if using https and pfx is enabled
* Fix indentation
2018-10-07 20:35:31 +02:00
Ashish Surana
4a6b9cb016
refactor: rename function to camel case ( #1053 )
...
- changing function folder_exists to folderExists
2018-10-06 10:24:25 +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
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
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
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
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
Juan Picado @jotadeveloper
4cfe996679
refactor: token expire error also should returns anonymous user ( #1011 )
2018-09-22 19:36:05 +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
4431c4799e
fix: load package list undefined ( #993 )
2018-09-10 18:37:35 +02:00
Juan Picado @jotadeveloper
0df8c10619
Merge branch 'master' into 4.x
2018-09-09 08:32:33 +02:00
vegawong
df237fa16a
fix: support localTimeZone for logger pretty-timestamped
format ( #984 )
...
* feat: support localTimeZone for logger `pretty-timestamped` format
* feat: use `date-fns` to format log time
2018-09-09 08:32:20 +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
2a8f1e0e3d
chore: add more trace log on auth ( #957 )
2018-09-07 07:15:03 +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
f97b44abf8
Merge remote-tracking branch 'origin/master' into 4.x
2018-09-01 00:47:33 +02:00
Marc Udoff
5ca0ca5228
feat: exposed rotating-file log for json logging ( #948 )
...
This both allows for logger type 'rotating-file' and
passing of other options from the config "option" example:
{type: rotating-file, format: json, path: /path/to/log.jsonl, level: http, options: {period: 1d}}
2018-09-01 00:42:15 +02:00