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

247 commits

Author SHA1 Message Date
Juan Picado @jotadeveloper
046e8b1ae1
feat: add node api to launch verdaccio programmatically 2018-01-18 07:03:12 +01:00
Juan Picado @jotadeveloper
ccb14a54df build: update jest dependencies 2018-01-15 23:04:58 +00:00
Juan Picado @jotadeveloper
19f55589b3
fix: display plugins loaded by default 2018-01-13 20:46:31 +01:00
Juan Picado @jotadeveloper
7b1728a404
refactor: resolve local storage path on the plugin it self 2018-01-13 16:55:14 +01: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
9a6adc62b6 refactor: improve plugin system to load es6 modules 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
dcbd1e9db8 refactor: fix class location 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
Juan Picado @jotadeveloper
4f5443d857 refactor: remove locking files from local-storage, update to minor versions local-storage and types 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
9d82eb8820 test: add unit test for up-storage 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
0b135a863e fix: lint errors 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
d0e97cf076 test: add some unit test for local-storage 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
724e372246 refactor: utils as an import instead constructor argument 2018-01-07 07:59:36 +00:00
Ayush Sharma
4b8193041b fix: package child components gives undefined in api call
removes ununsed code

packageMeta should be required props
2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
edf2ff343d fix: wrong reference after rebase 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
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
Juan Picado @jotadeveloper
037095f851 refactor: functional testing with jest set up 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
f56b9760ad refactor: better bootstrap structure 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
66e0d4a017 refactor: provides a callback listener to verdaccio bootstrap 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
9b118a2dfb refactor: config path to resolve config files 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
5cc8405d4f refactor: update types for local storage 2018-01-07 07:59:36 +00:00
Meeeeow
bc2b44c51e refactor: 🔨 remove unused file 2018-01-07 07:59:36 +00:00
Meeeeow
6a2bcd529a refactor: 🔨 use rest spread replace prototype.push.apply 2018-01-07 07:59:36 +00:00
Meeeeow
6732d2bdcd refactor: 🔨 use destructing 2018-01-07 07:59:36 +00:00
Meeeeow
b2d54e192b refactor: 🔨 follow review, split modules to multiple components 2018-01-07 07:59:36 +00:00
Meeeeow
ba6811bd91 refactor: 🔨 move string md5 and get avatar to utils 2018-01-07 07:59:36 +00:00
Meeeeow
2cef0a4c41 fix: 🐛 extra argument after rebase 2018-01-07 07:59:36 +00:00
Meeeeow
136de84cc5 refactor: 🔨 change arguments to rest parameter 2018-01-07 07:59:36 +00:00
Meeeeow
a2512cf2a0 refactor: 💚 fix extra space in old code 2018-01-07 07:59:36 +00:00
Meeeeow
aa49098d39 fix: 🐛 local package last sync time shown as year 1970 2018-01-07 07:59:36 +00:00
Meeeeow
2a69f4e51a fix: 🐛 detail page will not load new data after route change 2018-01-07 07:59:36 +00:00
Meeeeow
f983fa3860 fix: 🐛 several api don't accept scope package 2018-01-07 07:59:36 +00:00
Meeeeow
1ffd4d7c5f feature: new sidebar in detail page 2018-01-07 07:59:36 +00:00
Meeeeow
691bc97007 refactor: ⬆️ upgrade dependencies & fix issues in dev mode 2018-01-07 07:59:36 +00:00
Meeeeow
73b7165093 refactor: 🎨 remove extra blank line & add semicolon 2018-01-07 07:59:36 +00:00
Meeeeow
0f33cddda3 refactor: 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
765c4d2b5d refactor: Update cli path and fix eslint errors for transpiled code 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
Juan Picado @jotadeveloper
a5c419f269 refactor: finished refactored on local-storage, relocated to main project 2018-01-07 07:59:36 +00:00
Juan Picado @jotadeveloper
3d53d96d80 refactor: remove inner references for local storage 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
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
Juan Picado @jotadeveloper
9c5eec1ca5 refactor: use external local storage (first step to become a plugin) 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
Juan Picado @jotadeveloper
88f3d2cc43
Merge pull request #405 from osher/patch-1
Match shell title with web title
2017-12-05 23:56:39 +01:00
Mikhail T
10a49e439c Try to appease lint 2017-12-05 12:03:18 -05:00
Mikhail T
e0fb5d927f Add signal-handling to allow proper log-rotation. 2017-12-05 11:42:14 -05:00
osher
9ff7f392e4
lindt. lol... 2017-11-15 17:59:45 +02:00
osher
ddcc4935df
Match shell title with web title 2017-11-15 17:50:01 +02:00
Juan Picado @jotadeveloper
9e59cf75f0
Merge pull request #394 from HCanber/middleware
Add middleware plugins from fl4re/sinopia
2017-11-15 08:26:25 +01:00
Meeeeow
859eccb1be fix: 🐛 incorrect logo url with slash at the end of url_prefix 2017-11-06 21:23:28 +08:00
Håkan Canberger
f08a660e3f refactor: Better variable names 2017-11-02 08:12:43 +01:00
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
Meeeeow
67e97a13b3 fix: 🐛 incorrect resource and registry url while install on sub directory 2017-11-01 01:28:34 +08:00
Lucius Gaitán
e916a0f697 fix: Check if socket exists before removing 2017-10-21 06:55:40 -02:00
Lucius Gaitán
d42a41e134 fix: Remove unix socket before listen 2017-10-21 05:20:55 -02:00
karl wiggisser
1d0a282c4b refactor: camelCasing and const binding 2017-10-18 21:54:35 +02:00
karl wiggisser
994e9a4a5d chore: fix ci errors 2017-10-18 21:54:25 +02:00
Karl Wiggisser
074086d31a refactor: use object assign 2017-10-18 21:54:17 +02:00
karl wiggisser
c84d567d76 feat: add pfx support for https 2017-10-18 21:54:00 +02:00
Ayush Sharma
d6ed202bd9 fix: plugin loader with logs
fix: warn replaced with info
2017-10-06 09:14:27 +05:30
Juan Picado @jotadeveloper
565fff53cc fix-329 2017-10-01 09:10:02 +02: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
Ramon Henrique Ornelas
ab69b258ca refactor: improvements auth uplink
- find NPM_TOKEN by default;
- remove parameter true to token_env;
- remove duplicate code to assigns header authorization;
- method created to validate rules of auth;
2017-09-29 18:16:55 -03:00
Ramon Henrique Ornelas
cc55c21303 test: fix test and done some improvements in code 2017-09-29 11:02:00 -03:00
Ramon Henrique Ornelas
7baf7cbe21 feat: header authorization uplink
- define auth type basic or bearer;
- assigns the header get process.env var NPM_TOKEN;
- assigns the header get process.env by set name;
- assigns the header raw token;
2017-09-28 22:28:58 -03:00
Miroslav Pokorný
11742db503 Changed setImmediate from async library to node default. 2017-09-17 17:35:22 +02:00
Miroslav Pokorný
b4195b15c6 Fixed bug with Maximum call stack size exceeded on packages web API. 2017-09-16 10:46:15 +02:00
Ayush Sharma
64839bd61b Fix: #322 - Message box replaced with alert
Review: Minor fixes
2017-09-13 15:08:33 +05:30
Ayush Sharma
2442571e2f Fix: Issue #319 Load logo from config
Review: catch block
2017-09-13 12:03:18 +05:30
Meeeeow
4d6a4471b2
fix: 🐛 Package metadata cache not work 2017-09-10 23:41:09 +08:00
Ayush Sharma
17847ae415 Fix #311: Debug text in green color 2017-09-07 23:10:01 +05:30
Yuuki Tada
5d7e0bc1e5 Use singlequote instead of doublequote
modified:   src/lib/storage/local/local-storage.js
2017-09-07 06:14:38 +00: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
e4f7f32f91
refactor: Parse database and error handling in separated methods 2017-08-26 07:44:17 +02:00
Meeeeow
552527c085
refactor: 🔨 don't crash main thread when the database file is corrupted
Add a lock for LocalData instance and throw error message while user trying modify package list
2017-08-26 07:44:17 +02:00
Meeeeow
5d73dcaf89
fix: 🐛 check error code to prevent data loss 2017-08-26 07:44:17 +02:00
Meeeeow
93aae05e63
fix: 🐛 check error code to prevent data loss 2017-08-26 07:43:39 +02:00
Juan Picado @jotadeveloper
5c51e485f6 Merge pull request #293 from 8eo/master
Fix auth process to check against username also and not just groups
2017-08-17 06:20:10 +02:00
J. Russell Smyth
eb0c87d77a add semicolon after media type in accept statement. Necessary for more pedantic servers such as Artifactory 2017-08-15 23:59:00 +00:00
Adam Szmyd
d0e0bc4ff3 Fix auth process to check against username also and not just groups 2017-08-15 12:21:28 +02:00
Juan Picado @jotadeveloper
b6ee1100ef
refactor: remove the feature for multi accept strings 2017-08-12 13:01:25 +02:00
Juan Picado @jotadeveloper
fab8391daf
fix: Remove accept header that seems cause issues #285 #289 and npm search fails 2017-08-12 12:51:06 +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
ba99fd5ba1
refactor: restore previous package check logic 2017-08-06 22:41:14 +02:00
Juan Picado @jotadeveloper
b804e96f4a
refactor: use utility to parse the yaml config file 2017-08-05 10:35:14 +02:00
Juan Picado @jotadeveloper
644c0981db
fix: configuration files inconsistencies, add unit test 2017-08-02 20:46:06 +02: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
442305c62f
refactor: local storage get rid of error codes dependency 2017-07-30 16:55:22 +02:00
Juan Picado @jotadeveloper
00cf9c25bb
refactor: local storage with less external dependencies 2017-07-30 15:12:32 +02:00
Juan Picado @jotadeveloper
5b52447408
refactor: local storage methods cleanup for getTarball 2017-07-30 12:34:23 +02:00
Juan Picado @jotadeveloper
cc32186328
refactor: methods clean up on uplink storage 2017-07-29 21:39:22 +02:00
Juan Picado @jotadeveloper
c4555cd64e
refactor: storage classes clean up 2017-07-29 19:11:52 +02:00
Juan Picado @jotadeveloper
94fb6adf4f
fix: refactor #268 in a better way, amended to elegant way 2017-07-29 12:03:51 +02:00
Juan Picado @jotadeveloper
420a256832
refactor: fix #268 in a better way 2017-07-29 11:04:46 +02:00
Juan Picado @jotadeveloper
e7dcf3cc86
fix: #268 remove the accept header that avoids request with some regiestries 2017-07-28 07:20:13 +02:00
Juan Picado @jotadeveloper
ff96d2ec0c
fix: undefined check 2017-07-27 08:18:34 +02:00
Juan Picado @jotadeveloper
d0afe78e98
fix: lint warning 2017-07-27 07:42:22 +02:00
Juan Picado @jotadeveloper
b1a396d9c5
fix: Param web.title from config.yaml does not work on docker image #265 2017-07-27 07:35:47 +02:00
Meeeeow
1c9fbfce50 fix: 🐛 detail page can't handle scoped package
fix: 🐛 readme leak
2017-07-24 17:16:28 +08:00
Juan Picado @jotadeveloper
672589b553
refactor: check if the param config is boolean 2017-07-24 07:38:26 +02:00
Juan Picado @jotadeveloper
430425ce2f
fix: #78 add new setting to allow publish when uplinks are offline 2017-07-24 07:38:13 +02:00
Conor Hastings
d1b30a58e2 use light version of syntax highlighter 2017-07-23 05:39:43 -04:00
Juan Picado @jotadeveloper
acb6c8ca25
fix: if author property is not part of the pkg body ui crash 2017-07-22 20:20:29 +02:00
Juan Picado @jotadeveloper
3a187945dc
fix: Display message if there are no items on search 2017-07-22 19:32:32 +02:00
Juan Picado @jotadeveloper
19490ffc51
fix: highlight is not a component, must include all dependency 😞 2017-07-22 19:00:13 +02:00
Juan Picado @jotadeveloper
a7926a72b5
fix: Better use of imports, save more than 1mb of bundle size. 2017-07-22 18:16:33 +02:00
Juan Picado @jotadeveloper
e84ff197ec
fix: extend scss lint to webpack dev and prod env 2017-07-22 17:34:29 +02:00
Juan Picado @jotadeveloper
d72ee76d74
fix: Fix 404 packages view, refactor readme and some components. Split them up for easy testing. 2017-07-22 16:52:31 +02:00
Juan Picado @jotadeveloper
0f31b364e8
fix: eslint missing warnings on ui 2017-07-22 16:48:05 +02:00
Juan Picado @jotadeveloper
b0edff4963
fix: sass lint 2017-07-22 11:33:05 +02:00
Juan Picado @jotadeveloper
b5fccd1ac9
refactor: hide search and title when there is no packages to display 2017-07-22 10:50:53 +02:00
Meeeeow
c9c22ed080 fix: 🐛 remove wrong code added in merge cause app crash 2017-07-22 02:25:00 +08:00
Meeeeow
8ff89a7141 feature: 💄 add publish introduce 2017-07-22 02:11:17 +08:00
Juan Picado @jotadeveloper
29294bdabb
fix: warnings after rebase 2017-07-18 21:25:01 +02:00
Juan Picado @jotadeveloper
84388ff1da
fix: minor UI bug fixes 2017-07-18 21:14:14 +02:00
Juan Picado @jotadeveloper
24c1f92644
fix: remove styled-component dependency in favor of css modules 2017-07-18 21:14:14 +02:00
Juan Picado @jotadeveloper
27470c0e8d
fix: avoid include complete lodash library to the bundle, save 400kb. 2017-07-18 21:14:13 +02:00
Juan Picado @jotadeveloper
f8a7483b08
refactor: move webpack to root folder and rewrite to es6 node style (legacy compatibility) 2017-07-18 21:14:13 +02:00
Juan Picado @jotadeveloper
ffdd682137
feature: add sass lint 2017-07-18 21:14:13 +02:00
Juan Picado @jotadeveloper
ceb44aa22b
fix: typo entry point 2017-07-18 21:14:12 +02:00
Juan Picado @jotadeveloper
a6321a0961
refactor: encourage usage of lodash 2017-07-18 21:14:12 +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
2e5a1e7fd9
fix: add template folder instead hosting it in the root 2017-07-18 21:14:12 +02:00
Juan Picado @jotadeveloper
a6d6e58a80
fix: lodash instead typeof 2017-07-18 21:14:12 +02:00
Meeeeow
68a559ebac
fix: 🐛 SPA not work with sub-directory reverse proxy 2017-07-18 21:14:12 +02:00
Meeeeow
beafd31cab
refactor: 🔨 add home page link to logo in the header 2017-07-18 21:14:12 +02:00
Meeeeow
fd2821fb92
fix: 🐛 use hash router to avoid pathname conflict with package name 2017-07-18 21:14:11 +02:00
Meeeeow
1351f582b0
feature: check token expire before render login button 2017-07-18 21:14:11 +02:00
Meeeeow
3a3f4ed960
fix: incorrect api url in webpack config 2017-07-18 21:14:11 +02:00
Juan Picado @jotadeveloper
5d924c0cf2
fix: eslint warnings 2017-07-18 21:14:10 +02:00
Juan Picado @jotadeveloper
68fd3d15cc
fix: replace ruby-sass-loader by sass-loader 2017-07-18 21:14:10 +02:00
Juan Picado @jotadeveloper
53349fd096
fix: eslint errors 2017-07-18 21:14:09 +02:00
Juan Picado @jotadeveloper
5ee2faf125
fix: Missing code from pr #222 lost in rebase 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
6d12e40078
refactor: new webui 2017-07-18 21:14:09 +02:00
Meeeeow
3ba8d0827b
refactor: modify webui dependencies & add some code 2017-07-18 21:14:09 +02:00
Meeeeow
d6e04be39f
refactor: login & whoami api
- Remove jju from dependencies
- Add JWT to issue token
- Remove cookie middleware
- Add JWT middleware for WebUI
2017-07-18 21:14:08 +02:00
Meeeeow
58b167268e
refactor: packages & readme & search api 2017-07-18 21:08:25 +02:00
Meeeeow
7fef14c322
refactor: directory structure 2017-07-18 21:08:10 +02:00