Commit Graph

317 Commits

Author SHA1 Message Date
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
Ayush Sharma 753281effe Package detail component test 2018-01-07 07:59:36 +00:00
Ayush Sharma c56c03065b WIP: package & Package list component tests 2018-01-07 07:59:36 +00:00
Ayush Sharma 84b29fcf08 webui: <NotFound /> component test case 2018-01-07 07:59:36 +00:00
Ayush Sharma 6a6d7ed4de webui: <Help /> component test case 2018-01-07 07:59:36 +00:00
Ayush Sharma e38f284b0b webui: <NoItems /> component test case 2018-01-07 07:59:36 +00:00
Ayush Sharma b77c0ea7bb webui: <Readme /> component test case 2018-01-07 07:59:36 +00:00
Ayush Sharma 50884dfd7e webui: <Search /> component test case
Fix: placeholder test for <Search /> component

minor fix
2018-01-07 07:59:36 +00:00
Ayush Sharma de867e7a65 Webui: bootstrap and test setup 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper 0c9e504d1a refactor: clean scripts and dependencies 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper 1b1a784640 refactor: remove old module 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper e00e41b24b refactor: fix linting 2018-01-07 07:59:36 +00:00