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 |
|
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 |
|
Alex Kocharin
|
5b5f56f51c
|
fix test noise
TypeError: Cannot read property 'name' of undefined
at log (/home/travis/build/rlidwka/sinopia/lib/middleware.js:185:32)
|
2015-01-26 14:00:37 +03:00 |
|
Alex Kocharin
|
ed3eb37c4f
|
download packages using https
Or, in general, the same protocol as the registry;
this is what npm seem to be doing.
See issue #166 for details.
|
2014-12-23 00:29:26 +03:00 |
|
Alex Kocharin
|
fad4f457ae
|
move logger setup to index.js + tests
|
2014-12-22 20:58:25 +03:00 |
|
Tarun Garg
|
a0ff6dbc9e
|
Checks whether process.env.HOME exists
Checks whether process.env.HOME exists before calling Path.join
Was not able to start sinopia on my fresh windows install due to this error.
|
2014-12-21 22:07:22 +03:00 |
|
Yannick Galatol
|
ea50f3d3ed
|
Add a query parameter "local" to the search method of storage to allow listing only local packages
|
2014-12-15 00:03:19 +03:00 |
|
Alex Kocharin
|
76bdc74670
|
web: change header position from fixed to static
Mainly because anchors (`<a name=...>`) need to be offsetted to
account for the fixed header, and it ain't worth the hassle.
|
2014-12-10 09:36:54 +03:00 |
|
Alex Kocharin
|
4a4502967e
|
disable source maps & rebuild
|
2014-12-10 09:30:02 +03:00 |
|
Alex Kocharin
|
0f6404f4ea
|
fix path to helpers.less
|
2014-12-10 09:25:42 +03:00 |
|
Alex Kocharin
|
2b9bfcc0d9
|
marked -> render-readme
|
2014-12-10 09:14:31 +03:00 |
|
Alex Kocharin
|
06bb301bab
|
fix dist.tarball replacement logic
|
2014-12-05 09:16:16 +03:00 |
|
Alex Kocharin
|
bad7aee4ec
|
use /-/whoami endpoint instead of /whoami
Allows to get rid of referer magic, so it's a nice change to have.
See this issue for details:
https://github.com/npm/npm-registry-client/issues/88
|
2014-12-05 05:04:37 +03:00 |
|
Alex Kocharin
|
841f77d36a
|
sort out dependencies needed to build static stuff
|
2014-11-30 11:22:24 +03:00 |
|
Alex Kocharin
|
b84bb568cd
|
s/self/this/ in error message
|
2014-11-25 04:24:18 +03:00 |
|
Alex Kocharin
|
b338aefe45
|
bugfix: forgot "next"
|
2014-11-25 03:22:05 +03:00 |
|
Alex Kocharin
|
feae33499e
|
make path to local-db if it doesn't exist
|
2014-11-25 03:16:58 +03:00 |
|
Alex Kocharin
|
2b99b23eec
|
fix es-shim dependency
|
2014-11-25 03:08:19 +03:00 |
|
Alex Kocharin
|
cf71b9dc9e
|
encrypt user+pass instead of tokens for now
|
2014-11-24 22:53:05 +03:00 |
|
Alex Kocharin
|
691bdb3a92
|
web: encode version strings in urls
|
2014-11-17 21:18:07 +03:00 |
|
Alex Kocharin
|
ae1f67d31f
|
reformat config file and http address messages
|
2014-11-16 21:44:32 +03:00 |
|
Alex Kocharin
|
a425c5e2ff
|
add scoped packages draft
|
2014-11-16 20:46:01 +03:00 |
|
Alex Kocharin
|
972551e838
|
nitpick
|
2014-11-16 16:38:01 +03:00 |
|