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
d79f12d45a
Migrate Storages to classes
2017-04-23 21:25:24 +02:00
Juan Picado
b5acc054bf
clean up phase, moving es6 local storage
2017-04-23 21:24:30 +02: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
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
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
45edca2218
search: stream results from npmjs instead of buffering them
2015-05-17 01:29:16 +03:00
Alex Kocharin
3c16e59a5c
Refactor authorization plugins
2015-04-09 01:51:34 +03:00
Chris Breneman
82539add26
Change how package provider plugins are configured
2015-02-24 16:11:14 -05:00
Alex Kocharin
6ec76aa61f
fix crash when using sinopia as a library
2015-02-18 17:52:17 +03:00
Alex Kocharin
cf71b9dc9e
encrypt user+pass instead of tokens for now
2014-11-24 22:53:05 +03:00
Alex Kocharin
148795918f
move config file to separate folder
...
Make default config smaller, allow all users by default there.
2014-11-12 18:49:37 +03:00
Alex Kocharin
6a778e8c17
change code style to jshttp
...
close #155 , see reasons there
This is a huge commit, so let me know if it will cause
any trouble, I might consider reverting it if it's the case.
2014-11-12 17:37:43 +03:00
Alex Kocharin
a016077bf3
fix auth system
2014-09-14 19:22:24 +04:00
Alex Kocharin
19b1d76e98
hotfix: auth groups didn't work correctly
2014-09-14 19:06:27 +04:00
Alex Kocharin
a5cd498f92
use http-errors package instead of custom stuff
2014-09-10 21:55:26 +04:00
Alex Kocharin
a0c861ec5a
forgot to resolve path to storage
2014-09-07 00:57:40 +04:00
Alex Kocharin
8d841ea8e3
hide local-list.json to storage/.sinopia-db.json
...
It was always in the current folder, which is a bad thing.
2014-09-07 00:50:34 +04:00
Alex Kocharin
3a325a1e04
auth refactoring, part 1
...
moving stuff to auth.js basically + allowing usergroups
2014-09-06 13:07:10 +04:00
Alex Kocharin
b740dd11cf
remove outdated user existence check
...
doesn't work with htpasswd, and doesn't make sense with
future auth plugins
ref #115
2014-09-03 15:31:57 +04:00
Alex Kocharin
3809d6eb32
add a bunch of tests for htpasswd
2014-07-23 01:45:28 +04:00
Alex Kocharin
a528811e35
bugfixes for htpasswd authentication
2014-07-22 23:48:15 +04:00
Alex Kocharin
ff8a5e99ec
add user registration
2014-07-21 17:02:02 +04:00
Alex Kocharin
e929e089d0
basic support for .htpasswd
2014-06-26 20:21:23 +04:00
Alex Kocharin
81486f412f
make authentication function async
2014-06-26 19:23:21 +04:00
Alex Kocharin
73572b0839
fix #77 , config assert() has no effect
2014-06-18 04:52:07 +04:00
Alex Kocharin
b4c0b89365
set ignore_latest_tag to false by default
2014-04-01 00:13:59 +00:00
Alex Kocharin
4470cb7d55
making latest tag behaviour configurable
2014-03-29 02:31:34 +00:00
Alex Kocharin
bb9612441c
trim intervals
2014-03-08 04:38:37 +00:00
Alex Kocharin
48825a2e46
change intervals formatting to match nginx
...
see http://wiki.nginx.org/ConfigNotation
2014-03-08 04:37:16 +00:00
Alex Kocharin
6b9001ef6c
change interval formatting in config
...
All intervals are now in milliseconds. But you can add
multiples ("ms", "s", "m", "h", "d", "M", "y") to set
value using different units.
For example, value "1.5h" would mean 1.5 hours.
2014-03-08 03:49:59 +00:00
Alex Kocharin
68d3cc7295
fs interface refactoring
2014-01-13 20:48:51 +04:00
Alex Kocharin
bbb402f762
detecting http loops
2013-12-09 07:59:31 +04:00
Alex Kocharin
8f05e141c3
retrieving proxy values from environment if present
2013-11-24 21:08:20 +04:00
Alex Kocharin
b2f6128e9c
style fix
2013-10-26 16:18:36 +04:00
Alex Kocharin
61658cfbdc
added utils.is_object function for convenience
2013-10-22 11:29:57 +04:00
Alex Kocharin
70f717a295
using undefined instead of anonymous for non-logged in users
2013-10-11 09:53:54 +04:00
Alex Kocharin
9ee525b317
logging engine added, much better logs now
2013-10-11 09:32:59 +04:00
Alex Kocharin
2675196672
jshinting
2013-10-01 22:02:23 +04:00
Alex Kocharin
89f232b5ec
fixing bugs preventing access to upstream
2013-09-27 11:48:01 +04:00
Alex Kocharin
11bf03f130
config file error handling
2013-09-25 13:29:39 +04:00
Alex Kocharin
2ee792633c
fixing config file handling
2013-09-24 10:27:27 +04:00
Alex Kocharin
d91bef5ca0
change config file format + comments
2013-09-24 08:27:47 +04:00
Alex Kocharin
26e3e21121
using minimatch instead of regexps
2013-06-14 13:27:08 +04:00
Alex Kocharin
e92e582b88
bugfix
2013-06-14 11:17:20 +04:00
Alex Kocharin
8afafa9a17
allow anonymous users (users without auth header)
2013-06-14 11:10:50 +04:00
Alex Kocharin
a8fa475dc1
config file changes
2013-06-13 18:21:14 +04:00