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`
refactor: changed css
refactor: replaced CircularProgress by Spinner
fix: added a specific class to have flex-direction: column
fix: fixed detail margin
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
* 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
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}}
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.
* 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
* 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