0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-20 22:52:46 -05:00
Commit graph

446 commits

Author SHA1 Message Date
samuelmaier
3ac9646937 fix: click on logo when using url_prefix was not working (#996)
* Click on logo when using url_prefix was not working

* fix: Replace old snapshot with new one
2018-10-09 19:38:14 +02:00
Juan Picado @jotadeveloper
e3772227a6
Merge branch '4.x' of github.com:verdaccio/verdaccio into 4.x 2018-10-08 20:29:21 +02:00
Juan Picado @jotadeveloper
219d868e30
Merge remote-tracking branch 'origin/master' into 4.x 2018-10-08 20:29:00 +02:00
Ashish Surana
7f963ac4bc refactor: change API error to API_ERROR constants (#1063) 2018-10-08 07:34:40 +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
71e34e2194 refactor: rename anti_loop function to antiLoop (#1057) 2018-10-07 00:32:17 +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
Priscila
06706c857c refactor: added new component Spinner (#1037)
refactor: changed css

refactor: replaced CircularProgress by Spinner

fix: added a specific class to have flex-direction: column

fix: fixed detail margin
2018-10-02 19:44:06 +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
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
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
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
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
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
Ayush Sharma
431e7608d2 fix: ui change details issue in props update (#959) (#960) 2018-08-28 08:04:15 +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
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
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
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
231cf5a581
Merge branch 'master' into master 2018-08-13 07:20:20 +02:00