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

633 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
263f051507
refactor: add levels file 2019-07-26 09:34:16 +02:00
Juan Picado @jotadeveloper
3beb57f7f6
test: add unit test for parser logger strings 2019-07-26 09:33:17 +02:00
Juan Picado @jotadeveloper
66f4197236
feat: convert project to typescript (#1374)
* chore: test

* chore: add

* chore: more progress

* chore: progress in migration, fix prettier parser

* chore: reduce tsc errors

* chore: refactor storage utils types

* chore: refactor utils types

* chore: refactor local storage types

* chore: refactor config utils types

* chore: refactor tsc types

* refactor: apply eslint fix, tabs etc

* chore: fix lint errors

* test: update unit test conf to typescript setup

few test refactored to typescript

* chore: enable more unit test

migrate to typescript

* chore: migrate storage test to tsc

* chore: migrate up storage test to tsc

* refactor: enable plugin and auth test

* chore: migrate plugin loader test

* chore: update dependencies

* chore: migrate functional test to typescript

* chore: add codecove

* chore: update express

* chore: downgrade puppeteer

The latest version does not seems to work properly fine.

* chore: update dependencies
2019-07-16 08:40:01 +02:00
Juan Picado @jotadeveloper
a0cf98546b
chore: update dependencies
regular maintenance
2019-07-08 09:23:07 +02:00
Juan Picado @jotadeveloper
d252e66588
Merge remote-tracking branch 'origin/master' into 4.1.x
# Conflicts:
#	test/unit/modules/cli/cli.spec.js
2019-06-20 15:10:26 +02:00
Daniel Ruf
a92bd5f633 fix: correctly check the keepAliveTimeout value, fixes #1352 (#1353)
* fix: correctly check the keepAliveTimeout value, fixes #1352

* test: check keepAliveTimeout configurations using the CLI
2019-06-19 09:00:48 +02:00
Juan Picado @jotadeveloper
e3da67fad9
chore: avoid template test case is being run 2019-06-13 22:16:40 +02:00
Juan Picado @jotadeveloper
0fa26293a8
Merge remote-tracking branch 'origin/master' into 4.1.x 2019-06-13 22:04:35 +02:00
Will Smythe
eb7a8e3528 fix(api): return 503 to npm/yarn on uplink connection timeout (#1331)
fix  #1328 and #720

Type: bug

The following has been addressed in the PR:

Instead of returning a 404 (Not Found) when npm, yarn, etc requests a package and the package cannot be acquired from an uplink due to a connection timeout, socket timeout, or connection reset problem, a 503 (service unavailable) is returned by Verdaccio instead. In limited testing of a few versions of npm and yarn, both of these clients correctly attempt to retry the request when a 503 is returned.

Added functional tests to verify the behavior (this adds a dev dependency on nock, which provides HTTP request mocking

Description:

This resolves issue #1328 and #720, and ensures npm/yarn install commands don't fail immediately when there is an intermittent network timeout problem with an uplink. Instead Verdaccio will appropriately respond to the client with a 503. A 404 response (current behavior) incorrectly tells the client that the package does not exist (which may or may not be true) and to not try again.
2019-06-13 21:42:01 +02:00
Juan Picado @jotadeveloper
f242d1b261
chore(docs): add testing development notes (#1343)
* chore: add testing notes

co-contributions by:
@lirantal @DanielRuf 

This PR aims to add on boarding proccess for new contributors to test verdaccio, update test or add new features.

* chore: add new sections

* chore: add functional test notes

* chore: fix typos

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add functional test block

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add before commit guide

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: add ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: extend notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update ci notes

Co-Authored-By: Daniel Ruf <danielruf@users.noreply.github.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>

* chore: update test/README.md

Co-Authored-By: Liran Tal <liran.tal@gmail.com>
2019-06-13 18:28:43 +02:00
Juan Picado @jotadeveloper
85c1bd1f76
fix(api): force authenticate on login (#1347)
When a user has a valid token and tries to login with other credentials the endpoint returns 201.

The reason was if another user logged previously and had a valid token stored in the terminal. We must authenticate any user that tries to log in even if the token stored is valid.

We must check credentials again and return a new token, if the credentials are wrong we reject the login. Furthermore, the new token will update the list of groups.
2019-06-13 06:58:43 +02:00
Juan Picado @jotadeveloper
46eeb7e963
chore: remove test workflow from actions (#1323)
* chore: remove test workflow from actions

It fails randomly, we need to investigate the reasons.

* chore: re-enable unit test
2019-05-25 15:21:55 +02:00
Juan Picado @jotadeveloper
1f42c526ae
chore: disable unit test
Not the best, but I don't want this fails on middle of the release
2019-05-25 14:58:53 +02:00
Honza Hommer
95d134bdfd feat: parse YAML/JSON/JS config file (#1258)
* Parse JSON/YAML config file.

* fix missing export

* fix: typos

* test(config): remove JSON test

* feat: better config error handling, tests

* fix: detect YAML config file via extension

* docs: https://github.com/verdaccio/website/pull/99
2019-05-21 22:50:14 -07:00
Juan Picado @jotadeveloper
8786a3740e
test: relocate api spec test 2019-05-20 08:47:52 +02:00
Juan Picado @jotadeveloper
4bf6b3b844
test: fix broken test for validate parameters 2019-05-20 08:29:17 +02:00
Juan Picado @jotadeveloper
b1eb7c6278
test: relocate unit test cli, proxy, utils 2019-05-20 07:53:47 +02:00
Juan Picado @jotadeveloper
ca2e23cf9d
test: relocate unit test 2019-05-20 07:41:12 +02:00
Juan Picado @jotadeveloper
596c727a35
test: relocate notification test 2019-05-20 07:33:39 +02:00
Juan Picado @jotadeveloper
e7400cef71
test: relocate plugin storage 2019-05-20 07:26:40 +02:00
Juan Picado @jotadeveloper
3929633f7e
test: relocate test 2019-05-19 23:07:17 +02:00
Juan Picado @jotadeveloper
b4c42c1a78
test: relocate spec test 2019-05-19 22:23:12 +02:00
Juan Picado @jotadeveloper
2f3ec2ce42
test: increase usage of constants 2019-05-19 21:37:43 +02:00
Juan Picado @jotadeveloper
d052bcef89
test: relocate helpers 2019-05-19 21:03:45 +02:00
Juan Picado @jotadeveloper
26c5e2d670
Merge branch 'master' into 4.1.x 2019-05-17 08:04:13 -07:00
Juan Picado @jotadeveloper
7686417f29
feat: update readme v4 (#1312)
* feat: update readme v4

* chore: update @verdaccio/ui-theme@0.1.9

* chore: update @verdaccio/ui-theme@0.1.10
2019-05-17 08:03:58 -07:00
Marc Udoff
b9ffac5d1b feat: plugin support to filter packages
Add a plugin that can filter all package metadata before being returned.
This enables blocking of packages from verdaccio.

IPluginStorageFilter are loaded like other plugins from the config.
Verdaccio will look for plugins in config.filters and pass this to
storage.init. This is the same design as other plugins and will be
dynamically found with the same rules. These plugins must impliment
a filter_metadata method, which is called serially (in the order
loaded from the config) for every metadata request. It gets a current
copy of a package metadata and may choose to modify it as required.
For example, this may be used to block a bad version of a package or
add a time delay from when new packages can be used from your
registry. Errors in a filter will cause a 404, similar to upLinkErrors
as it is not safe to recover gracefully from them. Note: When version
is removed, be careful about updating tags.

Fixes: #818
2019-05-15 20:04:41 -04:00
Ayush Sharma
a588588cf3 chore: removes verdaccio update banner (#1309) 2019-05-12 10:38:32 -07:00
Juan Picado @jotadeveloper
b4bc6ff4e5
chore: fix #1292 add missing dependencies
remove non required dependencies
2019-05-09 23:41:16 +02:00
Daniel Ruf
ff71640e8a feat: replace chalk with kleur (#1289) @DanielRuf
* chore: replace chalk with kleur

* build: add updated lockfile

* chore: add flow-typed stub for kleur 3.0.3

* chore: remove unnecessary whitespace

* test: update snapshot for update-banner.js

* chore: migrate logger.js from chalk to kleur

* chore: use import instead of require
2019-04-29 08:44:29 +02:00
Juan Picado @jotadeveloper
9abe29593c
test: unit test for scoped download tarball 2019-04-28 09:34:59 +02:00
Juan Picado @jotadeveloper
4242eaa6b8
test: add unit test for whoami referer endpoint 2019-04-28 09:07:48 +02:00
Juan Picado @jotadeveloper
450224dc1f
chore: removed old integration test code
this is not in usage, we remove it.
2019-04-28 08:32:10 +02:00
Liming Jin
8e5203be9e
test: add unit test for the HTTP protocol check 2019-04-27 00:35:39 +08:00
Ayush Sharma
4efbad1ef7 Npm publish using GitHub actions (#1275)
* chore: bumps verdaccio-htpasswd@2.0.0

* chore: removes circle ci and publish using github-actions

* chore: adds bash doctype

* chore: adds build and test workflow

* chore: fixes coverage error

* chore: adds e2e tests

* chore: adds headless arg

* chore: sets puppeteer in docker env

* chore: runs tets through bash

* chore: minor fixes
2019-04-17 07:17:39 +02:00
Juan Picado @jotadeveloper
c3c62021e5
feat: theme as plugin (#1252)
* chore: remove ui

* chore: remove size step

* chore: update theme plugin

* chore: update lock file

* Update main.workflow

* chore: update js-yaml dep

* chore: @verdaccio/ui-theme@0.0.4

* feat: allows theme as a plugin

* chore: update package description
2019-04-06 08:35:38 +02:00
Juan Picado @jotadeveloper
672969c4eb
test: add scenario for new detail page tab 2019-03-27 22:27:46 +01:00
Juan Picado @jotadeveloper
d5e7f752aa
test: add scenario to handle 404 page 2019-03-27 20:24:34 +01:00
Juan Picado @jotadeveloper
2b89d46a74
chore: fix e2e for helper 2019-03-27 08:01:28 +01:00
Juan Picado @jotadeveloper
4043da1ea3
chore: update snapshot 2019-03-27 07:39:09 +01:00
vip30
d0d74fa21b test: remove unused var and change to toHaveLength 2019-03-12 08:03:25 +08:00
vip30
75c0e1e4ec feat: add stars api 2019-03-11 23:37:17 +08:00
vip30
84be869aaf fix: husky commitlint not work, replace invalid test 2019-03-09 21:00:47 +08:00
vip30
1ab7c504ec feat: add star and unstar api for 4.x 2019-03-09 11:16:44 +08:00
Juan Picado @jotadeveloper
d39a494131
refactor: better name for 404 2019-03-04 23:39:33 +01:00
Ayush Sharma
38362c9596 refactor: fixes snapshot 2019-03-04 22:34:10 +01:00
Juan Picado @jotadeveloper
70d8e5f624
chore: fix e2e test for package list 2019-03-04 22:19:49 +01:00
Ayush Sharma
5aff7bc1a8 refactor: package list 2019-03-03 21:53:25 +01:00
Ayush Sharma
07d9aebc62 wip 2019-03-02 10:52:03 +01:00
Juan Picado @jotadeveloper
6553c6bce1
test: add unit test for unpublish 2019-02-25 08:33:01 +01:00
Juan Picado @jotadeveloper
43f8bc3db1
chore: update toStrictEqual to toEqual 2019-02-25 07:16:49 +01:00
Juan Picado @jotadeveloper
d682e4f328
chore: fix unit test 2019-02-24 23:51:36 +01:00
Juan Picado @jotadeveloper
9e17d2bc27
chore: fix unpublish issues, fix unit test 2019-02-24 23:20:25 +01:00
Juan Picado @jotadeveloper
783fbce060
fix: #1191 overrides existing package to 0 bytes file 2019-02-24 10:26:43 +01:00
Ayush Sharma
31860540e1 refactor: versions and footer snapshot 2019-02-19 23:02:46 +01:00
Juan Picado @jotadeveloper
28231841f6
Merge branch '4.x' into fix-1163 2019-02-18 21:03:38 +01:00
Juan Picado @jotadeveloper
f1bad195e4
chore: fix e2e 2019-02-17 20:39:58 +01:00
Juan Picado @jotadeveloper
49c6f0353e
feat: allow order packages via on web #1163
add new param on web sort_packages. options asc or desc
2019-02-07 21:20:43 +01:00
Ayush Sharma
5af6b04b28 refactor: fixes unit tests for <NoItems/> component 2019-02-06 23:45:48 +01:00
Ayush Sharma
1c80c0a0fc refactor: fixes unit tests for detail URLs 2019-02-06 23:34:40 +01:00
Ayush Sharma
711f8153a5 refactor: removes old package detail component 2019-02-05 21:03:13 +01:00
Ayush Sharma
fed9711f48 refactor: removes old package sidebar 2019-02-04 22:08:26 +01:00
Juan Picado @jotadeveloper
e83d483a8e
chore: update verdaccio-htpasswd@2.0.0-beta.0 2019-02-03 19:56:02 +01:00
Juan Picado @jotadeveloper
d7eea01efc
Merge remote-tracking branch 'origin/4.x' into feat-new-detail-page 2019-02-03 12:25:59 +01:00
Juan Picado @jotadeveloper
f346534571
Merge branch 'feat-babel-preset' of github.com:verdaccio/verdaccio into feat-babel-preset 2019-02-03 12:13:21 +01:00
Juan Picado @jotadeveloper
51ac52ca57
chore: remove long timeout 2019-02-03 12:10:13 +01:00
Juan Picado @jotadeveloper
1105f39da0
chore: restore debug settings 2019-02-03 12:09:36 +01:00
Juan Picado @jotadeveloper
ae6c514dce
chore: bump up local storage beta 2019-02-03 12:06:34 +01:00
Juan Picado @jotadeveloper
e094e73802
chore: testing local-storage 2019-02-03 12:06:33 +01:00
Juan Picado @jotadeveloper
752b870aba feat: not found page (#1208)
* refator: added 404 page

* fix: fixed lint errors

* fix: fixed test

* refactor: add async import
2019-01-31 21:58:59 +01:00
Juan Picado @jotadeveloper
b12bfe8a3e
Merge branch '4.x' into feat-new-detail-page 2019-01-31 21:24:42 +01:00
Juan Picado @jotadeveloper
1c301b1c3a
Merge remote-tracking branch 'origin/master' into 4.x 2019-01-31 20:32:32 +01:00
Juan Picado @jotadeveloper
6fd8d4fd84
Merge branch 'master' into patch-1 2019-01-31 19:38:51 +01:00
BuffayBu
09ac72990c test(storage): add semicolons 2019-01-30 11:25:25 +08:00
BuffayBu
933034f3c9 test(storage): replace the hacky test 2019-01-30 11:25:39 +08:00
BuffayBu
f7685f781e test(local-storage): isolate tests & replace the hacky test 2019-01-30 11:23:59 +08:00
BuffayBu
35f0b539d9 test: use node v6 compatible fs api 2019-01-29 14:03:04 +08:00
BuffayBu
e62ef8df99 fix: don’t make change if time fields match (#1167) 2019-01-29 11:59:31 +08:00
BuffayBu
95686be47d fix: don’t packages that have no uplinks after reading (#1204) 2019-01-29 11:54:47 +08:00
Juan Picado @jotadeveloper
5178e1be5c
Merge branch 'feat-new-detail-page' into fix-1013 2019-01-26 15:32:51 +01:00
Ayush Sharma
5673837771 Merge branch '4.x' of github.com:verdaccio/verdaccio into feat-new-detail-page 2019-01-26 15:20:34 +01:00
Juan Picado @jotadeveloper
d3cc419719
chore: skip e2e testing temporary solution 2019-01-23 08:25:51 +01:00
Juan Picado @jotadeveloper
0ea798d09d
chore: fixed united test 2019-01-23 07:43:23 +01:00
Juan Picado @jotadeveloper
848dcee9ae
chore: fix unit test for search 2019-01-22 21:09:46 +01:00
Juan Picado @jotadeveloper
7808a325c5
chore: update snapshots 2019-01-21 20:54:28 +01:00
Juan Picado @jotadeveloper
158666f163
fix: logo on header
Refactor, not need it endpoint for logo.
2019-01-20 19:25:50 +01:00
Juan Picado @jotadeveloper
ac90c76db8
Merge branch '4.x' into feat-new-detail-page 2019-01-20 10:01:13 +01:00
Juan Picado @jotadeveloper
adfcbc2aff
feat: add dependencies navigation 2019-01-20 09:37:03 +01:00
KukuruzaAndrey
394386385e feat: package version gets sent to plugins 2019-01-14 17:17:37 +02:00
Juan Picado @jotadeveloper
6d960078e8
feat: register info selector 2019-01-12 20:25:06 +01:00
Juan Picado @jotadeveloper
c338f461c9
feat: allow disable gravatar #1172 2019-01-12 15:45:47 +01:00
Juan Picado @jotadeveloper
1ff72cbcc8
chore: remove header text 2019-01-11 07:25:49 +01:00
Juan Picado @jotadeveloper
b215c74ad3
Merge remote-tracking branch 'origin/4.x' into refactor-eslint 2019-01-09 08:54:11 +01:00
Priscila Oliveira
0146c7d235 refactor: fix minor issues 2019-01-06 16:19:02 +01:00
Priscila Oliveira
d349b2f0d4 refactor: actived the rule react/jsx-no-literals 2019-01-06 11:33:15 +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
a7dd409f1a refactor babel7 (#1164)
* fix: dev dependencies as dep

* refactor: babel 7 migration
2018-12-22 16:11:09 +01:00
Priscila Oliveira
3bda0cf566 fix: applied valid-describe 2018-12-16 21:34:14 +01:00
Priscila Oliveira
2b4895851b fix: applied valid-describe 2018-12-16 21:30:49 +01:00
Priscila Oliveira
c7034e7c26 fix: applied valid-expect-in-promise 2018-12-16 21:27:20 +01:00
Priscila Oliveira
4962e36bbc fix: applied prefer-const 2018-12-16 21:09:03 +01:00
Juan Picado @jotadeveloper
a7c34b348e
chore: jest/expect-expect disabled
it does not make sense for now enable this
2018-12-16 19:05:52 +01:00
Juan Picado @jotadeveloper
530f4cb629
chore: update snapshopts 2018-12-16 12:32:49 +01:00
Juan Picado @jotadeveloper
1dc26d1b93
chore: update snapshots 2018-12-16 10:01:54 +01:00
Juan Picado @jotadeveloper
529fa5656b
chore: enable react/jsx-first-prop-new-line as error 2018-12-15 16:59:05 +01:00
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