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

414 Commits

Author SHA1 Message Date
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
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