Ryan Graham
1092c89f86
Added use strict
2017-04-26 13:43:27 +01:00
Ryan Graham
977946a319
Update code style to ES6
2017-04-26 13:38:51 +01:00
Ryan Graham
373c5cb348
Merge branch 'master' into master-fork
...
# Conflicts:
# lib/notify.js
2017-04-26 13:31:29 +01:00
Ryan Graham
fee0864ba1
Fixed code style
2017-04-26 13:20:24 +01: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
7970e52068
Migrate storages to classes
2017-04-23 21:28:08 +02:00
Juan Picado
d79f12d45a
Migrate Storages to classes
2017-04-23 21:25:24 +02:00
Juan Picado
e6561e10d4
Migrate Search to class
2017-04-23 21:24:30 +02:00
Juan Picado
b5acc054bf
clean up phase, moving es6 local storage
2017-04-23 21:24:30 +02:00
Juan Picado
52cb33ffdd
Remove es6 polyfills and use native Promises
2017-04-23 21:09:48 +02:00
jotadeveloper
fe6e503ec3
Merge pull request #166 from Meeeeow/fix_upstream_search
...
fix upstream search
2017-04-22 10:51:35 +02:00
jotadeveloper
d824821b7a
Merge pull request #163 from Meeeeow/fix_search
...
Fix search feature
2017-04-22 10:42:42 +02:00
Meeeeow
e5ad620a15
fix upstream search (registry.npmjs.org)
2017-04-22 16:41:33 +08:00
Meeeeow
0a769008cf
modify varable name to accord with origin code
2017-04-22 16:33:56 +08:00
Juan Picado
580d3e77f7
Fix undefined path value
2017-04-22 09:31:12 +02:00
Meeeeow
caabe0ebda
WIP: fix upstream search
2017-04-22 02:34:30 +08:00
Cedric Darne
cb37b38ee4
Package search requires 'access' authorization
...
Added 'access' check to search route
Handle failed Ajax search request as 'No result'
2017-04-21 12:21:20 +08:00
Meeeeow
601caa8711
update compiled resource
2017-04-21 11:54:28 +08:00
Meeeeow
5150ecb973
fix loading not show after first search
2017-04-21 11:54:28 +08:00
Meeeeow
1ce74482bc
fix loading icon not align to center
2017-04-21 11:54:28 +08:00
Meeeeow
a18ac6bed6
fix npm search not show author name
2017-04-21 11:54:28 +08:00
Meeeeow
13d653e4dd
fix search not work for multiple storage
2017-04-21 11:53:05 +08:00
Meeeeow
ea4f8474c1
fix deprecared warning with fs.unlink
...
Since NodeJS 7, call async api without callback is deprecared.
2017-04-21 11:53:05 +08:00
Meeeeow
62ef3d91b6
update compiled resources
2017-04-21 11:53:05 +08: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
Emmanuel Narh
5eea1bac6c
ADDED intermediate ssl certificate option
...
The https module allows for an intermediate certificate in the options.
It was somehow missed. Adding it back since I had a certificate that
included an intermediate certificate.
2017-04-21 11:53:05 +08:00
Ryan Graham
adb40fc5f4
Fixed Changed headers array to be local to notifyEntry
2017-04-18 13:56:36 +01:00
Ryan Graham
7d62824936
Merge branch 'master' into master-fork
...
# Conflicts:
# lib/notify.js
2017-04-18 13:49:24 +01:00
Juan Picado
098675516b
#144 Add fallback support to previous config files
2017-04-13 21:32:49 +02:00
jotadeveloper
ee2439d8da
Merge pull request #152 from Verikon/master
...
Allows retrieval of all local package contents via http://server/-/search/~
2017-04-12 06:27:27 +02:00
Bren Norris
94f4cd2be1
wildcarded searches now use asterisk, not tilda
2017-04-11 20:17:24 -04:00
Juan Picado
f1ff7d0eaf
Increase verbose on notify request, helps #144
2017-04-11 21:53:21 +02:00
Bren Norris
71d5e5f150
search now accepts a tilda to list all contents of the local package list
2017-04-09 10:05:31 -04:00
Jannis Achstetter
a00be0c20d
Allow configuring a tagline that is displayed on the webpage between the header and the list of packages.
2017-03-28 16:48:16 +02:00
Cody Droz
3a131f380d
optional scope in the readme package name.
2017-03-15 08:57:24 -05:00
Alexandre-io
6fa9ed7f07
fix(plugin-loader): plugins verdaccio-* overwrite by sinopia-*
2017-03-02 17:35:27 +01:00
Madison Grubb
01a6c22103
merging in changes from upstream & fixing conflicts
2017-02-04 22:58:26 -05:00
jotadeveloper
0bc3e6c8a0
Merge pull request #112 from imsnif/master
...
Allow htpasswd-created users to log in
2017-02-03 21:03:23 +01:00
Juan Carlos Picado
6c6646873c
Rename cleanup
2017-01-22 22:23:30 +01:00
Aram Drevekenin
223d6492d4
feat: adduser created with htpasswd
2017-01-19 17:14:53 +02:00
Ryan Graham
f63e690b15
Add support for multiple notification endpoints to existing webhook system
2017-01-10 08:35:10 +00:00
Juan Carlos Picado
674057b1af
replace project names
2016-12-07 23:18:16 +01:00
Juan Carlos Picado
0210752ea5
clean warnings on unit test
2016-12-05 08:42:43 +01:00
Juan Carlos Picado
3c060766e7
Fix #65 and also PR on fl4re#4
2016-11-27 15:07:45 +01:00
Tom Vincent
c927517e37
Prevent logging of user and password
2016-11-13 16:25:14 +00:00
Madison Grubb
9fd42ffb34
allow sinopia plugins to install
2016-11-09 13:12:15 -05:00
Madison Grubb
a7c4285a68
renaming 'sinopia' to verdaccio.
2016-11-07 12:15:38 -05:00
Manuel de Brito Fontes
4fa150e077
Use __dirname to resolve local plugins
...
https://github.com/verdaccio/verdaccio/pull/25
2016-10-11 19:00:25 -05:00
trent.earl
5e00e46a9b
Logout endpoint should support tokens with /s
2016-10-11 18:53:20 -05:00
Miguel Mejias
25e00a3172
Implement logout endpoint
2016-10-11 18:44:47 -05:00
Jannis Achstetter
3d9af3152e
Implement timestamped pretty logging to stdout or stderr
...
https://github.com/verdaccio/verdaccio/pull/68
2016-10-11 18:43:20 -05:00
Jannis Achstetter
9f9c0fae71
Allow adding/overriding HTTP headers of uplinks via config
...
https://github.com/verdaccio/verdaccio/pull/67
2016-10-11 18:36:37 -05:00
Michael Crowe
a6fa0432ee
Prevent the server from crashing if a repo is accessed that the user does not have access to
...
https://github.com/verdaccio/verdaccio/pull/58
https://github.com/verdaccio/verdaccio/issues/56
2016-10-11 18:06:15 -05:00
Nate Ziarek
6fb1dc2342
Simple notification system to send publish commands to external systems (ala Slack)
2016-09-17 11:09:20 -05:00
Trent Earl
bb7138c3f6
Merge pull request #46 from plitex/fix-custom-template
...
Register entry partial even if custom template is provided
2016-09-17 10:35:53 -05:00
Juan Carlos Picado
c20cf6d6e5
rename process to verdaccio
2016-09-01 20:34:53 +02:00
trent.earl
1efd94dfe6
HTML title should default to verdaccio
2016-08-20 11:57:36 -05:00
trent.earl
6de559c020
Rename config path from sinopia to verdaccio
2016-08-13 10:04:12 -05:00
Miguel Mejias
7b4c105046
Register entry partial even if custom template is provided
2016-08-10 11:52:21 +02:00
trent.earl
dd406da3e2
Fix tests for node 6
...
Node 6 introduced two breaking changes to verdaccio/sinopia
Path functions now throw on null/undefined arguments
Buffer defaults to binary now A lot of test code explicitly converted data to utf8 which broke on checksum
2016-07-30 19:37:04 -05:00
steve-p-com
e45fe466ee
Remove optional dependencies that are not truly cross-platform
2016-05-01 10:02:01 +01:00
steve-p-com
3cbbb281a5
Fix missing version numbers
2016-04-22 13:36:29 +01:00
steve-p-com
6301c3f169
Replace YAML package definitions with standard package.json, fix dependencies
2016-04-21 21:13:49 +01:00
steve-p-com
dfdcaa893e
Change the way package distribution tags are processed and stored
2016-04-18 20:53:00 +01:00
Alex Kocharin
b5d40b083a
req.param -> req.query
2015-10-03 20:01:02 +03:00
Alex Kocharin
602f17c8b2
fix "unimplemented" error when uplink is offline
2015-10-03 19:22:45 +03:00
Alex Kocharin
74e89e94e9
Merge pull request #280 from jameslnewell/master
...
only encode the / character to fix issue installing scoped packages f…
2015-09-27 02:19:03 +03:00
Alexander Makarenko
4379821787
Sort packages before rendering in UI
2015-09-24 11:24:23 +03:00
James Newell
ee6cf0eb9f
use encodeURIComponent and replace encoded '@' value with un-encoded value
2015-07-13 12:15:18 +10:00
Jakub Jirutka
fde2321222
Add workaround to handle URLs of scoped packages with unencoded /
...
Fixes https://github.com/rlidwka/sinopia/issues/104#issuecomment-66790574 .
2015-07-12 01:26:18 +03:00
James Newell
a9c749995a
only encode the / character to fix issue installing scoped packages from an upstream registry. @see #278 .
2015-07-08 09:59:35 +10:00
Alex Kocharin
0d266be965
up-storage: don't send X-Forwarded-For for proxies
...
It's not that important a feature to have, and it could break
some proxies.
ref https://github.com/rlidwka/sinopia/issues/254
2015-05-30 18:39:47 +03:00
Alex Kocharin
7c822d06f6
web: delay cb invocation to the next tick
...
ref #258
2015-05-30 18:27:18 +03:00
Alex Kocharin
45edca2218
search: stream results from npmjs instead of buffering them
2015-05-17 01:29:16 +03:00
Alex Kocharin
f1bb9f83e6
up-storage: make streaming requests without buffering
2015-05-16 19:33:06 +03:00
Alex Kocharin
c09d03b20d
add dist-tags endpoints
2015-05-10 18:39:53 +03:00
Alex Kocharin
97386397c2
add a code to bind on unix sockets
...
use "listen: 'unix:sinopia.sock'" for this
2015-04-22 02:38:25 +03:00
Alex Kocharin
137fd5978f
fix access control
...
ref #238
2015-04-21 19:43:12 +03:00
Alex Kocharin
74bb946a91
fix freeze in web interface on acl check
2015-04-11 23:19:45 +03:00
Alex Kocharin
3c16e59a5c
Refactor authorization plugins
2015-04-09 01:51:34 +03:00
Chris Breneman
6954898da0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
lib/auth.js
lib/index.js
lib/middleware.js
2015-03-31 09:47:20 -04:00
Alex Kocharin
d7c95d6cd6
fix custom logo and url_prefix issues
...
use config.web.logo instead of config.web['logo-sm']
2015-03-29 23:01:34 +03:00
Kody J. Peterson
bf40ceb064
Fix custom logo
...
Custom logos are not loading as /-/static/-/logo-sm is not the endpoint it is /-/logo-sm
2015-03-29 23:01:18 +03:00
Alex Kocharin
554d31d119
should add via header for all requests
2015-03-28 22:26:36 +03:00
Alex Kocharin
9047e28074
set up some linting (obvious errors only)
2015-03-28 21:25:53 +03:00
Alex Kocharin
1a9596737e
add test for parsing listen address
2015-03-28 18:03:36 +03:00
Alex Kocharin
6d58d5920e
add listening on ipv6 addresses
2015-03-28 17:43:50 +03:00
Alex Kocharin
dfef2b862f
add a possibility to listen on multiple ports
2015-03-28 17:20:58 +03:00
Thomas Cort
61fff273fc
cli.js: add https support. Issue #71 .
2015-03-28 16:32:37 +03:00
Alex Kocharin
97c7c6814f
Remove mentioning of 'always-auth'
...
It should be solved by using npm@2 anyway.
2015-03-28 15:14:01 +03:00
Rafael Cesar
025e23627f
Added option to use a custom template for web UI
2015-03-28 14:15:07 +03:00
Chris Breneman
0af72f0c68
Pass allow_access calls that don't use the can() middleware through the plugin interface
2015-02-24 22:21:57 -05:00
Chris Breneman
82539add26
Change how package provider plugins are configured
2015-02-24 16:11:14 -05:00
Chris Breneman
76a1e8df80
Add package settings and authorization plugin system
2015-02-24 14:28:16 -05:00
Alex Kocharin
6ec76aa61f
fix crash when using sinopia as a library
2015-02-18 17:52:17 +03:00
Alex Kocharin
0aed9ee9f4
Merge pull request #200 from maxlaverse/master
...
Fixes NPE on POST _session when npm tries to authenticate
2015-02-12 14:26:15 +03:00
Alex Kocharin
79e2ff2ee8
change 403 error with 409 in adduser
...
Because npm does only accept 409, see #184 .
2015-02-12 14:18:47 +03:00
maxlaverse
e5880841f3
Added missing argument
...
Added missing 'next' argument to the '/_session' route callback
2015-02-06 19:59:18 +01:00
Robin Persson
c49b0699c2
Fixed issue with not being able to disable the web interface
2015-01-26 14:27:32 +03:00