1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
Commit Graph

628 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
5abc025f9e
chore: update snapshot 2018-12-15 16:43:43 +01:00
Juan Picado @jotadeveloper
ef42cb11d0
chore: enable react/jsx-curly-spacing as error 2018-12-15 16:39:51 +01:00
Juan Picado @jotadeveloper
46d9f952c2
chore: update snapshots 2018-12-15 10:15:23 +01:00
Juan Picado @jotadeveloper
c5c33be00f
chore: fix test 2018-12-15 09:18:26 +01:00
Juan Picado @jotadeveloper
0fb344d0c2
chore: set all to warning 2018-12-15 08:55:39 +01:00
Juan Picado @jotadeveloper
172182357b
chore: apply eslint fix 2018-12-15 00:23:30 +01:00
Juan Picado @jotadeveloper
b2b176be0d
Merge remote-tracking branch 'origin/4.x' into refactor-eslint 2018-12-14 23:57:52 +01:00
Priscila
9f6106cfe9 Package Refactor (#1145)
* chore: fix unit test, forgotten line on merge

chore: add node 11 to circleci (#1153)

chore: fix the use of Node 11 in CircleCI (#1154)

refactor: added css in js, new design, added types

feat: added Tag component

refactor: added modifiers

refactor: replaced by polished ellipsis

refactor: added types, new design and css in js

refactor: removed ul. it needs refactor

refactor: changed media queries

refactor: changed icon height

refactor: changed Header media queries

refactor: removed margin top

refactor: updated snapshots

refactor: removed unnecessary format author

refactor: added license icon & changed size

refactor: changed media queries

refactor: added icon size

refactor: changed media queries

refactor: updated snap

refactor: replaced Description by Details

refactor: updated tests

refactor: fixed modifiers type

feat: created missed types

fix: fixed types

fix: fixed prop type

fix: fixed undefined prop

refactor: replaced label by name

refactor: updated snap

refactor: moved polished to dev

refactor: changed formatAuthor and pkg author type

fix: removed incorrect meta's type

refactor: removed polished

refactor: added spacing & ellipsis mixin

refactor: added modifier type

refactor: changed datetime format

refactor: updated snapshots

refactor: rreplaced polished by mixins func

* refactor: updated styled

* fix: added missed semicolon

* refactor: updated media

* refactor: updated tests

* refactor: organized modifiers

* refactor: removed unused imports

* refactor: design adjusts

* refactor: updated snapshot

* refactor: changed minor things

* refactor: updated snapshots

* refactor: commented tests. fix later
2018-12-13 19:05:47 +01:00
Juan Picado @jotadeveloper
9570d2d0e1
Merge branch '4.x' into refactor-eslint 2018-12-07 08:14:20 +01:00
Juan Picado @jotadeveloper
b3580c3e43
chore: fix unit test, forgotten line on merge 2018-12-06 23:10:46 +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
f4e9d3208a
chore: update it to test 2018-12-05 19:30:08 +01:00
Juan Picado @jotadeveloper
3c8e0fbd16
chore: update eslint rules 2018-12-04 07:17:19 +01:00
Juan Picado @jotadeveloper
4c88d2371c
chore: add new style rules 2018-12-03 07:18:45 +01:00
Stéphane Bachelier
9b52b1d396 feat: display package peer deps (#1144)
* feat: enable overriding Dependencies title

* feat: add PeerDependencies component

* test: add PeerDependencies unit tests

* test: add unit test about Dependencies title overriding

* feat: display peer dependencies in package sidebar
2018-12-03 06:41:25 +01:00
Ayush Sharma
66391f4c9c
refactor: adds unit test for <Search /> (#1137)
* refactor: adds test for <Search /> component

* refactor: <Footer /> component mocks verdaccio's version

* refactor: <Search /> component test
2018-11-26 20:28:59 +01:00
Priscila
9869edfb38 refactor: changed footer (#1125)
refactor: added types, css in js styles, new comp

refactor: updated emotion

fix: fixed import

refactor: updated image path and type

refactor: minified svg

refactor: now it's stateless

refactor: updated snap & removed click test

feat: added capitalize helper

refactor: changed medium

refactor: added title and image option

refactor: added missed &&

refactor: updated snap

fix: fixed types

fix: fixed types

fix: added flow type ignore line

fix: fixed index map

refactor: updated icons

refactor: removed unnecessary capitalize func

refactor: removed empty lines

fix: fixed svg 404
2018-11-24 22:12:46 +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
4d1349a328 refactor: <Help /> component (#1118)
* refactor: removes react-syntax-highlighter deps

* refactor: updates help component

* refactor: test cases for <Help/> component

* refactor: e2e test cases for <Help/> component

* refactor: implements code review <Help /> component
2018-11-16 22:29:56 +01:00
Ayush Sharma
9ef29df947
refactor: submit login form on enter key press (#1114) 2018-11-16 10:16:43 +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
Priscila
1d705f58b6 refactor: added flow and css in JS in NotFound (#1098) 2018-10-31 20:42:43 +08:00
Priscila
f18e749e93 refactor: added flow and css in js (#1100)
fix: fixed tests
2018-10-31 13:00:59 +08:00
Priscila
76482ec8d7 refactor: added flow type checking (#1099)
fix: added import 'github-markdown-css' stub type

fix: fixed tests
2018-10-31 12:54:26 +08:00
Priscila
9d265996f9 Refactor: Moved Search to Header (#1064)
* refactor: Moved Search to Header

feat: added TxtField. WIP

refactor: replaced downshift by react-autosuggest

refactor: moved search's state

refactor: introduced weight 300 & 500

refactor: changed container css margin

refactor: made it more abstract

refactor: replaced name by label. changed css

refactor: removed aria

refactor: removed margin

fix: fixed flow  types

fix: fixed tags overlapping

fix: fixed search. WIP

refactor: removed useless library and added rect-router

refactor: fixed tests

* chore: remove tpm file

* feat: added component Loading

feat: added component Layout

refactor: changed css

refactor: added md prop

refactor: moved Header back to App

* chore: fix flow

* fix: update snapshot

fix: fixed componentDidMount parameter

refactor: added onKeyDown event

fix: fixed bad request

refactor: renamed interfaces files

refactor: refactor: logic display results

refactor: changed minor things

fix: fixed tests

fix: fixed tests
2018-10-27 21:19:45 +02: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
9a3c8bc1ae
fix: click on logo break ui (#1073) 2018-10-13 10:51:24 +02:00
Ayush Sharma
5b34dc88bd fix: click on logo break ui (#1071) 2018-10-12 19:41:55 +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
Juan Picado @jotadeveloper
87092a5185
chore: update snapshots 2018-10-12 07:28:31 +02:00
Priscila
34faa0d074 refactor: added user's greetings (#1027)
* fix: normalize contributors field #1022 (#1024)

* refactor: added user's greetings

feat: added component Label.WIP

refactor: added user's greetings.WIP

fix: fixed lint erros

* chore: fix e2e test

* test(e2e): better approach for logout
2018-10-11 23:48:40 +02:00
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
0bd2428e6c
test: add scenarios where publish or access are missing (#1054)
it will normalise those props are missing as emtpy arrays
2018-10-07 00:45:17 +02:00
Utwo
83289224cc refactor: remove all assert imports (#1049)
* refactor: remove assert imports

* Update search.spec.js
2018-10-05 12:31:57 +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
Andrew Shanks
9ed8f3497c refactor: remove usage of assert from cache.js [#973] (#1043)
* refactor: remove usage of assert from cache.js [#973]

* refactor: remove usage of assert from no_proxy.spec.js [#973]

* refactor: remove usage of assert from cache.js [#973]
2018-10-03 23:39:45 +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
Juan Picado @jotadeveloper
d9187f124d
Merge branch 'master' into 4.x 2018-10-03 22:12:44 +02:00
Andrew Shanks
0f57dc5ea9 refactor: removed usage of assert from tags.js test file [#973] (#1042) 2018-10-03 22:05:41 +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
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
680811d2d0
Update deps all (#1023)
* chore: update dependencies

* chore: update flow@0.81.0

* chore: update e2e test
2018-09-27 16:37:45 +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
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
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
bcd5e3faa0
Merge branch 'master' into 4.x 2018-09-03 21:12:05 +02:00
Juan Picado @jotadeveloper
a5f5004a27
chore: improve vscode debugging (#969)
* chore: improve vscode debugging

* chore: add functional test settings to vscode
2018-09-03 21:11:52 +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
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
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
Juan Picado @jotadeveloper
26873682b8
refactor: add prettier for yaml files (#931) 2018-08-20 16:31:39 +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
Juan Picado @jotadeveloper
0ba1ccfabb
Merge remote-tracking branch 'origin/master' into 4.x 2018-08-13 18:18:34 +02:00
Juan Picado @jotadeveloper
231cf5a581
Merge branch 'master' into master 2018-08-13 07:20:20 +02:00
Ashish Surana
fd6769850a fix(webui): search crash on ' ' as a value #898 (#902)
* fix(webui): search crash on ' ' as a value #898

* chore(test): add unit test cases for Home component

  - test case for handleSearchInput function
2018-08-12 22:25:47 +02:00
jeremy
2e5a4096f4 fix: abort the stream to prevent overwriting existing tarbal 2018-08-02 12:44:59 -07:00
Diego Louzán
4862acdc0e
refactor(docker): multistage build / support for running as random uid
- refactor docker image to use builder multistage pattern
- separate storage directories
- verdaccio code directories are not user writeable
- add generic support for random user uid on environments where the startup
  user for docker is randomized (e.g. openshift)
2018-08-02 20:23:25 +02:00
Ayush Sharma
dc9460ff07
refactor: header component test (#878)
* refactor: improves <Header /> component test cases

* refactor: adds destructuring for state in render block
2018-08-01 15:00:39 +02:00
Juan Picado @jotadeveloper
8b98302985
Merge branch 'master' into feat-webui-scope 2018-07-30 18:59:27 +02:00
Peter Cools
7c3a617d79 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.
Update unit test for added scope
2018-07-29 19:11:43 +02:00
Juan Picado @jotadeveloper
5e9b593bd5
refactor: some es6 sugar 2018-07-29 16:03:09 +02:00
Juan Picado @jotadeveloper
bef6df6e1b
test(storage): add unit test for merge test 2018-07-29 15:26:22 +02:00
Juan Picado @jotadeveloper
b65b79bc09
test(storage): add checks for addVersion 2018-07-29 13:58:04 +02:00
Juan Picado @jotadeveloper
25c62f09ea
test(storage): add better test for changePackage 2018-07-29 10:28:28 +02:00
ayusharma
4df6b3b252 feat: adds gravatar support for maintainers 2018-07-29 00:45:02 +02:00
Juan Picado @jotadeveloper
ddf491740c
Merge pull request #859 from verdaccio/update-dependencies
chore: update dependencies
2018-07-28 17:14:35 +02:00
Juan Picado @jotadeveloper
b0b631af76
chore: add unit test for #857 scenario 2018-07-28 08:45:10 +02:00
Juan Picado @jotadeveloper
f75e213399
chore: update dependencies 2018-07-27 20:59:51 +02:00
Juan Picado @jotadeveloper
62e3adf0db
chore: update devDependencies 2018-07-27 20:37:13 +02:00
ayusharma
263b0f78a9 refactor: <Package /> , <Footer /> and package sidebar code refactoring
refactor: variable naming
2018-07-22 21:22:51 +02:00
Juan Picado @jotadeveloper
b2e88d12a1
chore: add sub type example with flow 2018-07-18 07:53:02 +02:00
Juan Picado @jotadeveloper
2f4dbe8564
fix: add RemoteUser type for auth 2018-07-18 07:53:00 +02:00
Juan Picado @jotadeveloper
5c2c414e03
fix: wrong auth plugin signature 2018-07-18 07:52:59 +02:00
Juan Picado @jotadeveloper
6f33876587
chore: update @verdaccio/types to 3.3.2 2018-07-18 07:52:57 +02:00
Juan Picado @jotadeveloper
61e33f0a30
refactor: use plugins type on loadPlugin 2018-07-18 07:52:54 +02:00
Juan Picado @jotadeveloper
55c146cb5d
chore: add flow plugin examples
middleware, authentication and storage
2018-07-18 07:52:45 +02:00
Juan Picado @jotadeveloper
7ce6abf3b2
chore: update flow to 0.75.0 2018-07-18 07:52:39 +02:00
ayusharma
d6dd2f647b refactor: removes un-necessary 'src' from webui path 2018-07-17 22:03:06 +02:00
Juan Picado @jotadeveloper
9ef13fb6b6
Merge branch 'master' into refactor-config 2018-07-12 08:50:07 +02:00
ayusharma
0e21e35c51 feat: capitalises logged in username (#752) 2018-07-11 10:08:07 +02:00
Juan Picado @jotadeveloper
91a6c202ff
chore: more unit test for config utils 2018-07-04 07:31:51 +02:00
Juan Picado @jotadeveloper
39651bb6b3
chore: add unit test for package access normalize 2018-07-04 00:15:09 +02:00
Juan Picado @jotadeveloper
dd3a937ac9
refactor: config file using flow 2018-07-04 00:15:07 +02:00
Juan Picado @jotadeveloper
957b71e8bb
refactor: user agent on config
remove logic users prop is not longer supported
67c63892d3 (diff-574051ef1fbe43a2746c5cd241d631c7)
2018-07-04 00:15:03 +02:00
Juan Picado @jotadeveloper
946d195431
refactor: pkg.access unit test
migrate more constants
2018-07-04 00:15:01 +02:00
Juan Picado @jotadeveloper
050f857fb6
refactor: add new constants 2018-07-04 00:15:00 +02:00
Juan Picado @jotadeveloper
2e157fb134
refactor: config unit test
match package access normalise
2018-07-04 00:14:59 +02:00
ayusharma
98abac4dec refactor: adds method to load verdaccio logo 2018-07-01 15:45:26 +02:00
ayusharma
4f6fd66bf3 refactor: adds tesURL for test cases 2018-07-01 15:45:26 +02:00
ayusharma
5c95551e8f refactor: unit tests and api service
refactor: fixes login api success call

refactor: fixes login respose for success case
2018-06-30 12:22:07 +02:00
Juan Picado @jotadeveloper
83b64bd798
refactor: unit test parse listeners 2018-06-28 22:17:38 +02:00
Juan Picado @jotadeveloper
45110ddb7b
refactor: migration assert to expect 2018-06-28 18:33:37 +02:00
Juan Picado @jotadeveloper
6239606ce1
chore: storage test path fix 2018-06-28 08:26:07 +02:00
Juan Picado @jotadeveloper
c6740feec3
chore: remove test folder from coverage report 2018-06-27 21:19:48 +02:00
Juan Picado @jotadeveloper
ccb73404a8
refactor: get rid of jest warnings 2018-06-27 08:52:52 +02:00
Juan Picado @jotadeveloper
88996e92a5
refactor: enable request test 2018-06-26 06:15:10 +02:00
Juan Picado @jotadeveloper
1fd50cc53e
refactor: add more constants 2018-06-26 06:15:09 +02:00
Juan Picado @jotadeveloper
57f0fa7610
refactor: unit test goes offline 2018-06-26 06:15:06 +02:00
Juan Picado @jotadeveloper
e12dc5b477
refactor: add custom store
for unit testing to avoid require connection on development
2018-06-26 06:15:05 +02:00
Juan Picado @jotadeveloper
e92a3013a5
chore: removed unused file 2018-06-24 10:13:16 +02:00
Juan Picado @jotadeveloper
3f5a5c2345
refactor: improve code with es6 style 2018-06-24 10:11:52 +02:00
Juan Picado @jotadeveloper
32e64c0fe3
chore: update functional script name 2018-06-23 21:02:55 +02:00
Juan Picado @jotadeveloper
90e700ce78
refactor: dist-tags-merge test 2018-06-23 20:59:35 +02:00
Juan Picado @jotadeveloper
2c74133dfc
refactor: get rid of personal emails
metadata should no have any personal email
2018-06-23 20:59:34 +02:00
Juan Picado @jotadeveloper
40f2aa46b1
refactor: add tags test 2018-06-23 20:59:33 +02:00
Juan Picado @jotadeveloper
1294477ff3
refactor: enable incomplete test 2018-06-23 20:59:32 +02:00
Juan Picado @jotadeveloper
0fcbb8e1bd
refactor: fix inject issue on debug mode 2018-06-23 20:59:31 +02:00
Juan Picado @jotadeveloper
e59f282a27
refactor: usage of constants on sanity test 2018-06-23 20:59:30 +02:00
Juan Picado @jotadeveloper
686f22461f
refactor: use of constants for testing 2018-06-23 20:59:29 +02:00
Juan Picado @jotadeveloper
690b92a652
refactor: mirror and anti-loop 2018-06-23 20:59:27 +02:00
Juan Picado @jotadeveloper
241945f2bb
chore: clean up deprected props 2018-06-23 20:59:26 +02:00
Juan Picado @jotadeveloper
495133edae
refactor: readme test endpoit
add scenario when readme is not present
2018-06-23 20:59:25 +02:00
Juan Picado @jotadeveloper
a1a70c973f
refactor: middleware plugins
add es6 transpiled use case
2018-06-23 20:59:24 +02:00
Juan Picado @jotadeveloper
d5a29f72b5
refactor: plugins auth endpoints 2018-06-23 20:59:23 +02:00
Juan Picado @jotadeveloper
d4a5d813a3
refactor: race condition test 2018-06-23 20:59:21 +02:00
Juan Picado @jotadeveloper
36979bb284
refactor: scoped test gzip test 2018-06-23 20:59:20 +02:00
Juan Picado @jotadeveloper
970c0461df
refactor: more unit test constants usage 2018-06-23 20:59:19 +02:00
Juan Picado @jotadeveloper
2c8c8f0295
refactor: update jetst match
using more consntants
2018-06-23 20:59:18 +02:00
Juan Picado @jotadeveloper
a1439df1b5
refactor: usage constants for http status 2018-06-23 20:57:21 +02:00
Juan Picado @jotadeveloper
d8455dd15a
refactor: using constants
relocate uplink token test to unit test
2018-06-23 20:57:20 +02:00
Juan Picado @jotadeveloper
3d19f22ba0
refactor: test tokens
more usage of constants for tokens
2018-06-23 20:57:19 +02:00
Juan Picado @jotadeveloper
22dd80aa7d
chore: remove package access property
proxy_publish was removed long time ago 6075034521
2018-06-23 20:57:18 +02:00
Juan Picado @jotadeveloper
65cc2769b6
refactor: replace deprecated package properties 2018-06-23 20:57:17 +02:00
Juan Picado @jotadeveloper
0de1e7efd4
test: restore snapshot unit test 2018-06-23 20:57:17 +02:00
Juan Picado @jotadeveloper
9242d498d7
refactor: functional testing
* server now are executed in the jest setup phase
* disable one snapshot
2018-06-23 20:57:16 +02:00
Juan Picado @jotadeveloper
b113aa3a55
refactor: jest config files relocation
still pending unit config file
2018-06-23 20:57:15 +02:00
Juan Picado @jotadeveloper
b28e6f737b
refactor: functional testing relocation
functional testing runs in a different process
2018-06-23 20:57:13 +02:00
Juan Picado @jotadeveloper
49c6191bb5
refactor: relocate unit test
no logic change, just path updates
2018-06-23 20:57:12 +02:00
Juan Picado @jotadeveloper
4e5deb4461
refactor: relocate jest conf file e2e 2018-06-23 20:55:24 +02:00
ayusharma
be3968f5e2 fix: improves regex for ascii and test (#461)
fix: file name in unit test

fix: updates snapshots

fix: updates snapshots
2018-06-23 19:53:05 +02:00
ayusharma
9fa523a0d3 fix: license field alignment on web ui (#761) 2018-06-20 21:09:49 +02:00
ayusharma
29bb57ad5f feat: adds support for ascii-doc preview in readme (#464) 2018-06-20 00:15:25 +02:00
ayusharma
e5ea0c2f5b fix: dynamic date generation for <Package /> component test
fix: adds <Package /> component snapshot
2018-06-18 23:49:51 +02:00
Juan Picado @jotadeveloper
8e16bbc5f1
test: remove time for package test 2018-06-18 23:30:43 +02:00
Juan Picado @jotadeveloper
c01cc4b851
test: add unit test merge time method 2018-06-15 07:55:30 +02:00
Juan Picado @jotadeveloper
3717ad49ee
fix: normalize package was broken #758 2018-06-14 22:44:06 +02:00
Peter Kaske
08d3f60324 Merge remote-tracking branch 'origin/feature-pkg-infos' into feature-pkg-infos 2018-06-14 08:43:21 +02:00
Peter Kaske
453bceec4c Changes as requested by reviewer.
- Fix test name in spec file
- Use lodash isString and isNill
- Move normalisation of git url into it's own function
- Create a renderSection() function to render links in a more "dry" way
2018-06-14 08:43:01 +02:00
Juan Picado @jotadeveloper
16999d3060
Merge branch 'master' into feature-pkg-infos 2018-06-14 08:06:33 +02:00
Juan Picado @jotadeveloper
4245636576
feat: add published package support to template
The package published can be printed into the template
Improve error handling
Improve notification documentation
2018-06-14 07:25:09 +02:00
Peter Kaske
7bd3a4f292 feat: Add basic package infos and resource links to sidebar.
Shows homepage, repository url and license if available in meta data.
If no data is available the module isn't shown.
2018-06-14 00:34:25 +02:00
Juan Picado @jotadeveloper
e5bf9a72df
Merge branch 'master' into feature-user-info-for-notications 2018-06-12 12:47:22 +02:00
Ilya Zaytsev
1ca5298707 feat: added information about package publisher for notifications 2018-06-12 16:37:15 +07:00
Juan Picado @jotadeveloper
92e1eb00ca
chore: update unit test sidebar 2018-06-12 08:22:23 +02:00
Juan Picado @jotadeveloper
73324a2971
refactor: convertDistRemoteToLocalTarballUrls method
add unit test
improve readbility
2018-06-05 21:03:27 +02:00
Juan Picado @jotadeveloper
d5f4b54a41
refactor: renaming validate name method 2018-06-04 23:08:50 +02:00
Juan Picado @jotadeveloper
ecbe616e46
feat: add published date and license on ui 2018-06-04 06:44:53 +02:00
Juan Picado @jotadeveloper
c920fa335c
fix: skip problematic unit test
we need to dive into the reason, it fails randomnly
2018-05-31 09:50:16 +02:00
Juan Picado @jotadeveloper
55c2333e88
test: intent to fix race condition on unit test 2018-05-30 21:48:33 +02:00
Lucius Gaitán
b8b2612e02
feat: new verdaccio skin to webui 2018-05-27 09:25:14 -03:00
Juan Picado @jotadeveloper
cee2564ac2
feat: add node 10 support for test and docker
update Docker to Node 10
we use yarn 1.6.0 as default for build
2018-05-20 21:46:54 +02:00
Juan Picado @jotadeveloper
08f6a64063
fix: avoid issues with missing token #693
also refactor other parts as string and constants
2018-05-14 20:08:49 +02:00
jharris4
f89b4985ab fix: make enter key submit the login modal form 2018-05-07 16:03:16 -04:00
jharris4
2e41d9f460 fix: disable autocomplete on search so it doesn't default to username 2018-05-07 16:02:32 -04:00
Juan Picado @jotadeveloper
44e03fa3df
refactor: remove comments ^_^ 2018-05-05 15:55:23 +02:00
Juan Picado @jotadeveloper
c92e187533
refactor: remove storage links from e2e testing 2018-05-05 15:54:10 +02:00
Juan Picado @jotadeveloper
101fd78b0d
refactor: add constant file
starting with json headers common usage
2018-04-30 15:41:04 +02:00
Juan Picado @jotadeveloper
3f6eeb4d7d
fix: update uplinks auth header
* increases unit test coverage
* remove dead code
* update documentation
* light refactoring

fix #670
2018-04-29 21:50:10 +02:00
Juan Picado @jotadeveloper
de61e469ed
refactor: storage utilities
relocate methods, no logic change
2018-04-22 22:14:21 +02:00
Juan Picado @jotadeveloper
e5caa71d35
refactor: storage is async
allows storage to initalize whether a async call is required on start up.
2018-04-21 18:36:06 +02:00
Juan Picado @jotadeveloper
848e004eb5
refactor: local database methods are async 2018-04-20 19:40:48 +02:00
Juan Picado @jotadeveloper
6491db4191
fix: api login use case when user already exist
It adds a new use case based on the plugin update. 409 in case user exists already and 201 when new user has been created.
2018-04-03 07:08:44 +02:00
Christopher Kelley
5c5af275ab
fix: correct linter errors and warnings 2018-03-26 13:51:14 -04:00
Christopher Kelley
78bb95c0c2
Merge branch 'master' into 628-auth-user-zero 2018-03-26 09:21:33 -04:00
Christopher Kelley
8bbedc933b
[Close #628] Test and correct auth plugin values 2018-03-26 09:20:12 -04:00
Juan Picado @jotadeveloper
57a6771681
Merge branch 'master' into issue-542 2018-03-24 20:15:58 +01:00
Ayush Sharma
0d3cf84c01 fix(test): replaces LocaleString with date-nfs/format
fix(test): replaces timezone to UTC

fix(test): updates variable definitions

fix(test): updates time format
2018-03-24 23:31:24 +05:30
Juan Picado @jotadeveloper
2022a30419
fix: unit test and better error handling 2018-03-24 10:12:25 +01:00
Juan Picado @jotadeveloper
b9a6edf9b0
chore: update verdaccio-memory dep 2018-03-24 09:07:36 +01:00
Juan Picado @jotadeveloper
4f395500b6
test: disable test 2018-03-20 17:46:20 +01:00
Juan Picado @jotadeveloper
011f5bf55b
test: disable test 2018-03-20 17:01:40 +01:00
Juan Picado @jotadeveloper
8d5a7f0c30
Merge branch 'master' into issue-587 2018-03-18 15:52:16 +01:00
Aaron Lozier
a56e8ad030 chore: update package and yarn to latest flow-types; skip test per #542 2018-03-18 09:27:51 -05:00
Juan Picado @jotadeveloper
d9e6e87702
test: add unit test for login web ui 2018-03-18 13:41:36 +01:00
Juan Picado @jotadeveloper
f0d2e8592f
test: add test for web ui endpoints
packages, sidebar and search
2018-03-18 08:46:02 +01:00
Juan Picado @jotadeveloper
37d2aa8d49
test: add unit test for utilities 2018-03-17 18:28:54 +01:00
Juan Picado @jotadeveloper
7237ab340f
refactor: add flow support on publish endpoint 2018-03-17 11:54:57 +01:00
Juan Picado @jotadeveloper
1740aad834
test(e2e): add test for protected packages
Protected packages are not displayed on UI
2018-03-13 22:15:21 +01:00
Juan Picado @jotadeveloper
036120b777
fix: add teardown for unit test 2018-03-11 19:25:13 +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
d200bf4507
refactor: remove use strict 2018-03-11 00:19:47 +01:00
Juan Picado @jotadeveloper
c2619854dd
refactor: migrate imports to es6 2018-03-10 23:13:26 +01:00
Juan Picado @jotadeveloper
76fe6cb5d7
refactor: apply flow and imports es6 2018-03-10 21:09:04 +01:00
Ayush Sharma
2de47454bf test: updates verdaccio-htpasswd tests
bumps verdaccio-htpasswd to 0.1.4
2018-03-04 22:14:29 +05:30
Juan Picado @jotadeveloper
0167de508c
refactor: move specific flow types into the project 2018-02-26 21:28:09 +01:00
Juan Picado @jotadeveloper
50288e79e7
fix: allow uplink comparison for https protocol
fix #571
2018-02-24 21:20:17 +01:00
Juan Picado @jotadeveloper
18ef37393e
test: add unit test for isUplinkValid #571 2018-02-24 20:50:00 +01:00
Juan Picado @jotadeveloper
199c98314d
refactor: add types to new files
pluging-loader and auth
2018-02-24 20:31:03 +01:00
Juan Picado @jotadeveloper
afd1b6e2dd
test: refactor and add small test for auth class 2018-02-24 20:31:02 +01:00
Juan Picado @jotadeveloper
d086073069
fix(flow): fix flow definitions 2018-02-24 20:31:00 +01:00
Juan Picado @jotadeveloper
66031363b9
test(e2e): add test scenario for sidebar 2018-02-11 00:02:14 +01:00
Juan Picado @jotadeveloper
e91bb8e723
test(e2e): add test scenario to load readme on detail page 2018-02-10 17:09:02 +01:00
Juan Picado @jotadeveloper
508d175778
test(e2e): add test scenario to display published packages on ui 2018-02-10 16:45:29 +01:00
Juan Picado @jotadeveloper
1f05808018
test(e2e): add logout test 2018-02-10 13:20:17 +01:00
Juan Picado @jotadeveloper
8c2a755f84
test(e2e): add test scenario to login user 2018-02-10 09:41:01 +01:00
Juan Picado @jotadeveloper
9807e21dee
test: add e2e support 2018-02-09 08:42:34 +01:00
Juan Picado @jotadeveloper
780874ece9
test: add husky and lint 2018-02-08 23:25:18 +01:00
Juan Picado @jotadeveloper
27286a5bff
test: add e2e test - testing ci mode 2018-02-08 22:45:13 +01:00
Juan Picado @jotadeveloper
f7414e9bb2
chore(flow): update flow definitions for proxy 2018-02-04 14:15:51 +01:00
Juan Picado @jotadeveloper
42f23da363
refactor: methods to camel case 2018-02-03 22:36:28 +01:00
Juan Picado @jotadeveloper
bee4d1cf4f
test(unit): add test for uplink offline, refactor proxy 2018-02-03 22:21:23 +01:00
Juan Picado @jotadeveloper
885345f4cf
test(unit): add unit test for publish and unpublish 2018-01-28 20:25:19 +01:00
Juan Picado @jotadeveloper
c08f257bf1
test(unit): add unit test for basic searc 2018-01-28 18:58:51 +01:00
Juan Picado @jotadeveloper
7c717359fc
chore(build): skip test 2018-01-28 18:48:56 +01:00
Juan Picado @jotadeveloper
234299fe2a
test(dist-tag): add unit test for dist-tag 2018-01-28 14:51:51 +01:00
Juan Picado @jotadeveloper
ec36521ab8
fix(dist-tag): fix #411 latest tag is incorrect 2018-01-28 11:53:49 +01:00
Juan Picado @jotadeveloper
819f06015e
test(unit): add unit test for packages endpoint 2018-01-28 11:38:22 +01:00
Juan Picado @jotadeveloper
181ea648fa
fix(flow): done does not accept arguments 2018-01-28 09:46:22 +01:00
Juan Picado @jotadeveloper
e4a21839d4
chore(flowt): update jest definition 2018-01-28 09:35:33 +01:00
Juan Picado @jotadeveloper
5140b57efb
refactor(test): remove deprecate auth support, fix all test 2018-01-28 02:47:54 +01:00
Juan Picado @jotadeveloper
aa3101ef9a
test(unit): add test for add_user and login 2018-01-26 18:16:51 +01:00
Juan Picado @jotadeveloper
a5ac23ef14
test(unit): relocate unit test 2018-01-25 23:31:47 +01:00
Juan Picado @jotadeveloper
d9a008e881
test(unit): add unit test for add user 2018-01-25 23:14:03 +01:00
Juan Picado @jotadeveloper
eaa0e3f8bd
test(unit): add unit test for ping and whoiam 2018-01-25 21:37:37 +01:00
Juan Picado @jotadeveloper
7d9736eaba
fix: wrong import reference 2018-01-18 07:03:21 +01:00
Juan Picado @jotadeveloper
046e8b1ae1
feat: add node api to launch verdaccio programmatically 2018-01-18 07:03:12 +01:00
Juan Picado @jotadeveloper
123625419a build: update flow to latest 2018-01-15 23:04:58 +00:00
Juan Picado @jotadeveloper
ccb14a54df build: update jest dependencies 2018-01-15 23:04:58 +00:00
Juan Picado @jotadeveloper
84b810e68a fix: add storage es6 plugin suport and fix plugin logic 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
d352c6c63f refactor: load storage as plugin and as fallback use LocalStorage 2018-01-07 07:59:36 +00:00
Ayush Sharma
cbcd86efb4 webui: package sidebar test cases 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
c602a4c9e7 test: add unit test for up-storage, getRemoteMetadata, fetchTarball 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
9d82eb8820 test: add unit test for up-storage 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
ce5af8a004 fix: flow lint errors 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
b494d47eeb test: add additonal unit test for local-storage 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
d0e97cf076 test: add some unit test for local-storage 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
e0d3223968 refactor: fix code review suggestions 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
3c157a221a refactor: update snapshots 2018-01-07 07:59:36 +00:00
Ayush Sharma
d24904c650 webui: tests and dependency mock fixes
deps fixes

deps fixes
2018-01-07 07:59:36 +00:00
Ayush Sharma
ab4b9a0e2e webui: removes function check in search component in test 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
Ayush Sharma
e03672b70b Chore: typo and spacing fixes
test name fixes
2018-01-07 07:59:36 +00:00
Ayush Sharma
ea47691300 Fix: Header component test 2018-01-07 07:59:36 +00:00
Ayush Sharma
3052e5fb22 Webui component test with Jest 2018-01-07 07:59:36 +00:00