Commit Graph

598 Commits

Author SHA1 Message Date
Alex Kocharin 6cb257e51f add tests for auth plugins 2015-04-11 16:09:19 +03:00
Alex Kocharin 3c16e59a5c Refactor authorization plugins 2015-04-09 01:51:34 +03:00
Alex Kocharin 37f6591563 Merge branch 'feature/package-provider' of https://github.com/zipscene/sinopia into package-provider 2015-04-08 23:26:43 +03:00
Alex Kocharin 3e9932d866 update mocha to 2.2.3+, + options file 2015-04-07 22:51:05 +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 a55dc65775 1.1.0 2015-03-30 23:55:25 +03:00
Alex Kocharin 66324d718a fix shrinkwrap formatting
workaround 'cause npm reformats everything as usual
2015-03-30 23:54:45 +03:00
Alex Kocharin 553e463b7e fix history + add missed item 2015-03-30 23:52:43 +03: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 8a3a03805e fix travis errors 2015-03-28 22:07:17 +03:00
Alex Kocharin 9047e28074 set up some linting (obvious errors only) 2015-03-28 21:25:53 +03:00
Alex Kocharin 2ee12c7293 update dependencies 2015-03-28 20:15:37 +03:00
Alex Kocharin dc6b2f184a write a script to clean out shrinkwraps 2015-03-28 19:01:48 +03:00
Alex Kocharin 1a9596737e add test for parsing listen address 2015-03-28 18:03:36 +03:00
Alex Kocharin 89353f9312 add some docs for specifying listen addresses 2015-03-28 17:43:52 +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
Alex Kocharin 0a38a704fe remove "from" and "resolved" from shrinkwrap
We should lock versions, but we shouldn't hardcode urls in it,
so people will be able to install this from private networks.

See #204 for details.
2015-03-08 05:01:02 +03:00
Alex Kocharin 798ba0d262 update dependencies 2015-03-08 04:58:12 +03:00
Alex Kocharin 24e3b5efba Merge pull request #210 from einfallstoll/patch-1
Add a comment how to listen on INADDR_ANY
2015-03-07 22:54:32 +03:00
Fabio Poloni c00cde0aa3 added comment for INADDR_ANY 2015-03-05 11:14:54 +01: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 3fe188df21 travis: use container infrastructure 2015-02-18 17:59:19 +03:00
Alex Kocharin 4ed27c6eda travis: enable testing for io.js 2015-02-18 17:52:46 +03:00
Alex Kocharin 6ec76aa61f fix crash when using sinopia as a library 2015-02-18 17:52:17 +03:00
Alex Kocharin 4a46ffe3a0 update dependencies 2015-02-18 17:46:45 +03:00
Alex Kocharin e47862be71 1.0.1 2015-02-12 14:59:58 +03:00
Alex Kocharin 04a9f14b3c fix test broken in 79e2ff2ee 2015-02-12 14:28:19 +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 bc91a05dd2 1.0.0 2015-01-26 14:06:06 +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 f558c78d32 update dependencies 2015-01-26 13:55:34 +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 09318d1943 fixed current folder reference in tests 2014-12-22 23:52:08 +03:00
Alex Kocharin fad4f457ae move logger setup to index.js + tests 2014-12-22 20:58:25 +03:00
Alex Kocharin fc3668885d 1.0.0-beta.2 2014-12-22 04:09:00 +03:00
Alex Kocharin c385404e23 update dependencies 2014-12-22 03:57:36 +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
Alex Kocharin 484ba9dc25 1.0.0-beta 2014-12-15 00:09:37 +03:00
Alex Kocharin 848d591f0a update dependencies 2014-12-15 00:03:42 +03:00