Commit Graph

60 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper 1d13979a58
doc: add improve unpublish docs 2019-02-25 07:31:35 +01:00
Juan Picado @jotadeveloper ee8859c99c
Merge branch '4.x' into fix-492 2019-02-18 22:05:03 +01:00
Juan Picado @jotadeveloper ef503257f3
feat: ability to restrict unpublish action to certain users #492
This is a PoC, it needs refactor and unit testing
2019-02-07 22:04:53 +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
Juan Picado @jotadeveloper 1c301b1c3a
Merge remote-tracking branch 'origin/master' into 4.x 2019-01-31 20:32:32 +01:00
Rostislav Simonik a3590558d7 feat: introduce server keepAliveTimeout into config files
Set default timeout to 60 seconds (it's workaround for issue reported in issues/301).
2019-01-27 10:19:46 +01:00
Juan Picado @jotadeveloper f26d78a0d7
chore: test commit 2018-12-30 14:39:44 +01:00
Juan Picado @jotadeveloper af0b22aba9
Merge branch 'master' into 4.x 2018-09-28 19:14:49 +02:00
Matthew Peveler 46b2d87bb1 Fix top link url in example docker.yaml (#1031) 2018-09-28 19:14:20 +02:00
Marc Udoff 5ca0ca5228 feat: exposed rotating-file log for json logging (#948)
This both allows for logger type 'rotating-file' and
passing of other options from the config "option" example:
{type: rotating-file, format: json, path: /path/to/log.jsonl, level: http, options: {period: 1d}}
2018-09-01 00:42:15 +02:00
Juan Picado @jotadeveloper de7812558e
chore: update nbf for web token signature 2018-08-21 08:10:18 +02:00
Juan Picado @jotadeveloper a68d247a44
feat: add support for jwt on api (#896)
* feat: add support for jwt on api

* test: add unit test for sign token with jwt

add multiple scenarios with configuration file

* chore: add JWT verification on middleware

* chore: restore headless

* chore: restore middleware header validation

* refactor: fix login whether user exists

* refactor: JWT is signed asynchronously

* refactor: better structure and new naming convention

* test: add unit test for token signature

* test: add unit test for creating user with JWT enabled

#168

* docs: add security section jwt

* refactor: renable  web auth middleware

* test(auth): add legacy disabled scenario

* chore: update gitignore

* chore: add some es6 sugar

* feat: enable JWT token signature for new installations

* chore: add yaml files to git

I forgot add this before 😷

* chore: trace log on auth

in case we want more output
2018-08-21 08:05:34 +02:00
Juan Picado @jotadeveloper 26873682b8
refactor: add prettier for yaml files (#931) 2018-08-20 16:31:39 +02:00
Diego Louzán 4862acdc0e
refactor(docker): multistage build / support for running as random uid
- refactor docker image to use builder multistage pattern
- separate storage directories
- verdaccio code directories are not user writeable
- add generic support for random user uid on environments where the startup
  user for docker is randomized (e.g. openshift)
2018-08-02 20:23:25 +02:00
Peter Cools f9e9383688 feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873.
Added as webui.scope option in .yaml.
> Note: in .yaml, escape @ with \\@.

See also feature request #593.

Corrected typo myscopy --> myscope
2018-07-31 10:58:43 +02:00
Peter Cools ac039cfcb8 feat: adds option to set scope in webui instructions header
If you're using this registry for a specific module scope, specify that scope to set it in the webui instructions header e.g. npm set @coolsp:registry http://localhost:4873.
Added as webui.scope option in .yaml.
> Note: in .yaml, escape @ with \\@.

See also feature request #593.
2018-07-29 18:30:08 +02:00
Michiel De Mey 11dcf798cc feat: adds support for external plugin directory (#532) 2018-07-18 14:53:08 +02:00
Juan Picado @jotadeveloper 45110ddb7b
refactor: migration assert to expect 2018-06-28 18:33:37 +02:00
Juan Picado @jotadeveloper 8df186c5d5
fix: enable audit by default
For docker and new installations
2018-05-31 10:41:00 +02:00
Juan Picado @jotadeveloper 172835f6d9
chore: add docker audit conf but disabled 2018-05-23 21:57:09 +02:00
Juan Picado @jotadeveloper 0d08aec59d
chore: update audit conf description 2018-05-21 17:19:18 +02:00
Juan Picado @jotadeveloper f9f180de98
feat: support for npm audit fix #689
it is dissabled and commented out by default
2018-05-21 12:08:14 +02:00
Aaron Lozier f0fef44885 feat: add strict_ssl_option, fixes #587 2018-03-17 09:47:28 -05:00
Juan Picado @jotadeveloper 67c63892d3
refactor(auth): remove deprecated add user logic 2018-01-26 07:35:07 +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 ae413e13be
refactor: 📝 remove invalid section and modify comment 2017-08-28 22:42:26 +08:00
Juan Picado @jotadeveloper 644c0981db
fix: configuration files inconsistencies, add unit test 2017-08-02 20:46:06 +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
Juan Picado @jotadeveloper e49846bb1b
Add new web ui, replace the old one based on jQuery by React components and webpack. 2017-07-18 21:02:05 +02:00
Juan Picado @jotadeveloper 2a25bce808
(fix): Update doc for issue found on #108 2017-07-02 00:07:42 +02:00
Christian Bewernitz 8cfd437b7e moving docker section to new wiki folder 2017-06-24 11:59:25 +02:00
Christian Bewernitz 9a4f81c2cb allow to configure port for docker
- also works for docker-compose
- updated docs accordingly
- included .dockerignore to speed up build
2017-06-24 11:21:28 +02:00
cklein 7018fc99a2 [GH-131] add cache option to uplinks 2017-06-08 17:59:28 +02:00
Juan Picado aea51476da
#189 Update https conf full yaml file 2017-05-13 11:23:05 +02:00
Ryan Graham 7d62824936 Merge branch 'master' into master-fork
# Conflicts:
#	lib/notify.js
2017-04-18 13:49:24 +01: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
Madison Grubb 01a6c22103 merging in changes from upstream & fixing conflicts 2017-02-04 22:58:26 -05:00
Ryan Graham f63e690b15 Add support for multiple notification endpoints to existing webhook system 2017-01-10 08:35:10 +00:00
Madison Grubb a7c4285a68 renaming 'sinopia' to verdaccio. 2016-11-07 12:15:38 -05:00
José De Paz 831083a976 Problem with docker.yaml
There is a problem with the docker.yaml file.

auth:
   htpasswd:
     file:/verdaccio/config/htpasswd

The file property should point to /verdaccio/conf/htpasswd because folder /verdaccio/config dosen't exist and therefore dosen't let to create users.

Thank you for working on this great tool.

Regards
2016-10-19 16:38:51 -06: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
Chad Killingsworth 6f7a28b359 Update the configs to fully support proxying scoped packages from the npm registry 2016-10-11 18:15:02 -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 3b95710f27 Remove references to sinopia in Documentation and configuration 2016-08-20 11:46:54 -05:00
Manuel de Brito Fontes cca5196752 Add Dockerfile to build docker image 2016-05-09 14:59:34 -03: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 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 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