0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-23 22:27:34 -05:00
Commit graph

250 commits

Author SHA1 Message Date
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
Juan Picado @jotadeveloper
ca5fd82d95 refactor: jest migration completed 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
4cbbb2f370 refactor: functional testing add more test 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
037095f851 refactor: functional testing with jest set up 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
86d92e96d2 chore: add unit test for smart request 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
adf7f3adb3 refactor: refactor functional test server launch (wip) 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
31c2bd48a0 refactor: migrate unit test to Jest 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
a5e162d475 feature: Update Build pipeline for Babel transpiler (#349)
feature: Update Build pipeline for Babel transpiler
2018-01-07 07:59:36 +00:00
Ayush Sharma
6e35e10a72 fix: dist-tag put and delete endpoint removed
dist tags test fixes

minor-fixes: new line
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
7f4f7380ac refactor: fix rebase unit test 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
4c0733ca32 refactor: These files will be migrated to another repository 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
112cee789e refactor: remove local-storage in favor of the new dependency 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
121dc3c058 refactor: fix dist-tag tests 2018-01-07 07:59:36 +00:00
Ayush Sharma
b605d1ed7e fix: notification for multiple endpoints
add silent fail case for notification promise
2017-12-15 08:08:16 +05:30
Håkan Canberger
374a5e8e7b feat: Add middleware plugins from fl4re/sinopia
This is basically the PR fl4re/sinopia#18 by @fredr
2017-11-01 15:01:25 +01:00
Ramon Henrique Ornelas
3fcdc62736 test: add test return default headers 2017-09-30 21:29:13 -03:00
Ramon Henrique Ornelas
231a4d7227 refactor: small changes in the code
- describe message tests;
- remove condition duplicate;
- add logger in exceptions;
2017-09-30 21:07:45 -03:00
Ramon Henrique Ornelas
f7ad05ec86 test: add test uplink auth 2017-09-30 00:06:42 -03:00
Yuuki Tada
f80ff856ba Add DATE and VERSION in search result
modified:   src/lib/storage/local/local-storage.js
	modified:   test/functional/tags/preserve_tags.spec.js
2017-09-07 02:53:26 +00:00
Juan Picado @jotadeveloper
23bcf6fb86
test: Increase coverage for local-data storage 2017-08-26 07:44:18 +02:00
Juan Picado @jotadeveloper
2c3a8f9d42
test: Add unit test for a scenario when the database is corrupted 2017-08-26 07:44:17 +02:00
Juan Picado @jotadeveloper
d7e6bae469
refactor: move stream tarball helper as a dependency 2017-08-06 22:52:30 +02:00
Juan Picado @jotadeveloper
32a1b6e6e2
refactor: restore default time out to 20s 2017-08-06 22:04:35 +02:00
Juan Picado @jotadeveloper
8b93b579d3
refactor: naming clean up, relocation, organize by category 2017-08-06 21:54:15 +02:00
Juan Picado @jotadeveloper
d53ce9750b
refactor: rename unit test clean up 2017-08-05 10:34:31 +02:00
Juan Picado @jotadeveloper
644c0981db
fix: configuration files inconsistencies, add unit test 2017-08-02 20:46:06 +02:00
Juan Picado @jotadeveloper
cda92ac5ab
refactor: relocate unit test 2017-08-02 20:45:21 +02:00
Juan Picado @jotadeveloper
a038b282ec refactor: scoped packages unit test, relocate other unit test 2017-07-30 15:56:00 +00:00
Juan Picado @jotadeveloper
1e6c7dd6ea refactor: unit test for readme, preserve tags on publish 2017-07-30 15:56:00 +00:00
Juan Picado @jotadeveloper
6f006fbf40
test: Add functional test to un publish a single version 2017-07-30 17:55:41 +02:00
Juan Picado @jotadeveloper
2df4f7b628
fix: eslint globally read all files, rename jsx to js. Reduce amount of repeated configuration 2017-07-18 21:14:12 +02:00
Juan Picado @jotadeveloper
cfffd04736
refactor: disable readme test 2017-07-18 21:14:10 +02:00
Juan Picado @jotadeveloper
5b1ac962f2
fix: unit test library reference 2017-07-18 21:14:09 +02:00
Juan Picado @jotadeveloper
5f345a90df
fix: dot files, dependencies and update scripts 2017-07-18 21:14:09 +02:00
Meeeeow
7fef14c322
refactor: directory structure 2017-07-18 21:08:10 +02:00
Juan Picado @jotadeveloper
b3a82bc294
Refactor web, relocate files to web folder 2017-07-18 21:02:05 +02:00
Juan Picado @jotadeveloper
6e91aa88be
(test): Refactor and add documentation some unit test, relocate storages 2017-07-02 00:05:58 +02:00
Juan Picado @jotadeveloper
1ae08b6b78
(test): Add functional test for notifications on publish 2017-07-01 11:17:46 +02:00
Juan Picado @jotadeveloper
19f969d442
(fix): fix formatting, easy to read 2017-07-01 09:10:26 +02:00
Juan Picado @jotadeveloper
aeed698ed2
(fix): add functional test, unpublish package 2017-07-01 09:09:44 +02:00
Juan Picado @jotadeveloper
9640730d6c
(fix): renamed smart request file 2017-07-01 00:06:21 +02:00
Juan Picado @jotadeveloper
a702e69e16
(fix): increase mocha timeout 2017-06-30 23:17:58 +02:00
Juan Picado @jotadeveloper
492eeef721
(fix): trying to fix hangs promises on travis 2017-06-30 23:11:40 +02:00
Juan Picado @jotadeveloper
b2008958f1
(test): Refactor smart request module 2017-06-30 23:11:12 +02:00
Juan Picado @jotadeveloper
e41dad708e
(test): Refactor hash method 2017-06-30 23:10:30 +02:00
Juan Picado @jotadeveloper
1926522f99
(test): Move mocha options to mocha config file 2017-06-30 23:09:17 +02:00
Juan Picado @jotadeveloper
96c9f459c1
(test): Refactor server class, renamed methods to camelCase 2017-06-28 22:56:02 +02:00
Juan Picado @jotadeveloper
15c6cb09fd
(test): Fix mocha debug mode for > Node 7 2017-06-28 22:47:16 +02:00
Juan Picado @jotadeveloper
2ee4f38743
Refactor Storage, move local storage to inner folder.
Refactor methods to camelCase
Relocate utilities
2017-06-10 23:41:24 +02:00
Juan Picado @jotadeveloper
1307181005
Refactor streams, removed not needed dependency 2017-06-10 18:48:20 +02:00
cklein
7018fc99a2 [GH-131] add cache option to uplinks 2017-06-08 17:59:28 +02:00
Ryan Graham
64c3ea445b
don't blindly clobber local dist-tags
If packages are being published to verdaccio as well as upstream to
npmjs.org, then when the cache is updated from npmjs.org it uses the
dist-tags from the upstream even if the locally published version is
actually newer. This makes it very difficult to use verdaccio as a
staging registry for testing out potential releases.

This change partially reverts a change in behaviour that was introduced
in #8 which caused a regression for the staging style workflow that was
supported by sinopia.
2017-06-01 13:59:56 -07:00
Juan Picado
92df8bd178
Fix uppercase lint warning, streams use lowercase function name 2017-05-09 10:11:09 +02:00
Juan Picado
90328d5faf
Fix config.js new shape 2017-04-27 06:54:53 +02:00
Juan Picado
3457e0925d
rebase from master branch 2017-04-23 22:28:35 +02:00
Juan Picado
f282941075
Apply partially new eslint rules, upgrade es6 and replace octal literals by chalk colors 2017-04-23 22:19:31 +02:00
Juan Picado
b05050da5b
Update unit test es6 2017-04-23 21:28:40 +02:00
Juan Picado
d79f12d45a
Migrate Storages to classes 2017-04-23 21:25:24 +02:00
Juan Picado
52cb33ffdd
Remove es6 polyfills and use native Promises 2017-04-23 21:09:48 +02:00
jotadeveloper
d824821b7a Merge pull request #163 from Meeeeow/fix_search
Fix search feature
2017-04-22 10:42:42 +02:00
Juan Picado
580d3e77f7
Fix undefined path value 2017-04-22 09:31:12 +02:00
Juan Picado
7df6962f43
Add unit test for plugin-loader 2017-04-22 08:23:16 +02:00
Meeeeow
38518baf44 fix: search leak private package and ui bug
- Check permission in search API
- Fix author's name not show in search result
2017-04-21 11:53:05 +08:00
Juan Picado
640240e5c2
Remove Symbols dependency, Node 4 as min version supported 2017-04-17 11:36:35 +02:00
Juan Picado
18d52a4103
Add unit test Search indexer 2017-04-12 21:17:28 +02:00
Madison Grubb
01a6c22103 merging in changes from upstream & fixing conflicts 2017-02-04 22:58:26 -05:00
Aram Drevekenin
ccd3d26059 test: adduser created with htpasswd 2017-01-19 17:14:39 +02:00
Juan Carlos Picado
0210752ea5 clean warnings on unit test 2016-12-05 08:42:43 +01:00