1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-08 23:25:51 +01:00
Commit Graph

329 Commits

Author SHA1 Message Date
Miroslav Bajtoš
dabf5e1c9a Make 404 responses compatible with CouchDB API
The CouchDB REST API returns always `"error": "not_found"` in the body
of a 404 response:
  http://couchdb-13.readthedocs.org/en/latest/api-basics/#http-status-codes

The npm client depends on the magic string 'not_found' as can be seen
in requestDone() in npm-registry-client/lib/request.js.

Before this change, npm install of an unknown package was reporting
the Sinopia error string and a stack trace of npm.

After this change, npm install of an unknown package returns a nice
error saying "the package is not in the npm registry, bug the author"
2014-03-13 19:47:44 +01: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
6a2a463b76 count each failed request only once 2014-03-08 04:00:07 +00:00
Alex Kocharin
f1ec18dc4b implement nginx-like logic to avoid hitting upstream when it's down 2014-03-08 03:54:28 +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
9ff1203688 throw away incomplete downloads 2014-03-07 19:48:24 +00:00
Alex Kocharin
a891354a32 always return content-length for tarballs 2014-03-07 19:39:20 +00:00
Alex Kocharin
9c4c93695b fix crash in #52 2014-03-07 18:20:41 +00:00
Alex Kocharin
3b510437a8 Merge pull request #47 from samcday/maxage-support
Support maxage for uplinks
2014-03-06 07:11:07 +00:00
Alex Kocharin
ed1ec0c27a eslint version bump 2014-03-05 20:07:38 +00:00
Alex Kocharin
526f61b136 0.6.7 v0.6.7 2014-03-05 19:16:47 +00:00
Alex Kocharin
568058d7d9 pin down express@3 with backward compat semver range
closes #49
2014-03-05 19:16:19 +00:00
Alex Kocharin
b77da91094 Merge branch 'master' of github.com:rlidwka/sinopia 2014-03-05 15:18:39 +00:00
Alex Kocharin
e2457e9e5c 0.6.6 v0.6.6 2014-03-05 14:20:20 +00:00
Alex Kocharin
c6714cd591 pin express@3 dependency 2014-03-05 14:19:41 +00:00
Sam Day
58e98c7263 Support maxage for uplinks 2014-03-02 20:47:09 +11:00
Alex Kocharin
234deb4e7e Merge pull request #46 from BarthV/patch-1
adding Chef Cookbook to README
2014-03-01 08:48:06 +00:00
Barthélemy Vessemont
4466cf6be1 Chef Cookbook is out !
Hi !

http://community.opscode.com/cookbooks/sinopia - https://github.com/BarthV/sinopia-cookbook

I made a Chef cookbook, it provides a Sinopia server for ubuntu 12.04 (for the moment) and covers most of the config.yaml options. You can easily test this cookbook with Vbox & Vagrant.

I would be happy to help Sinopia, and reply to any questions/issues about my work.

Feel free to provides PR on sinopia-cookbook !

Thanks.
2014-02-28 22:49:08 +01:00
Alex Kocharin
cf5dddb174 republishing as 0.6.5 2014-02-28 11:30:08 +00:00
Alex Kocharin
70506d54ee 0.6.5 v0.6.5 2014-02-28 11:29:08 +00:00
Alex Kocharin
09781df60a 0.6.4 v0.6.4 2014-02-28 11:26:02 +00:00
Alex Kocharin
c730670711 version bump 2014-02-28 11:25:51 +00:00
Alex Kocharin
691d62f403 eslint update + style fixes 2014-02-23 21:20:50 +04:00
Alex Kocharin
a5d0094669 remove npmsslkeys
See commit in npmconf:
e0b4a4e5cc
2014-02-23 20:55:41 +04:00
Alex Kocharin
b65cf7afe3 move eslint config to yaml 2014-02-07 00:56:46 +04:00
Alex Kocharin
e2e2c39148 0.6.3 2014-02-03 00:54:22 +04:00
Alex Kocharin
de4dbd234a 0.6.3 v0.6.3 2014-02-03 00:51:59 +04:00
Alex Kocharin
440f42415c adding test for invalid tags, fixes #40 2014-02-03 00:50:51 +04:00
Alex Kocharin
8840ac4c1f removing bad statement 2014-02-03 00:50:38 +04:00
Alex Kocharin
9f662a69e1 validate all url parameters better 2014-02-01 12:08:48 +04:00
Alex Kocharin
c098eb4661 Merge pull request #43 from saheba/link_to_puppet_module
added link to published puppet-sinopia module
2014-01-24 13:20:05 -08:00
saheba
2c28f3549e added link to published puppet-sinopia module
automates sinopia installations on unix machines with puppet.
2014-01-24 13:56:19 +01:00
Alex Kocharin
616ec7626a process.getuid doesn't always exist (fixes #41) 2014-01-24 06:36:03 +03:00
Alex Kocharin
9a915511b3 0.6.2 v0.6.2 2014-01-18 23:07:50 +04:00
Alex Kocharin
0d37933259 version bump 2014-01-18 23:07:29 +04:00
Alex Kocharin
2add883370 adding config param to specify upload limits, fixes #39 2014-01-18 23:04:12 +04:00
Alex Kocharin
e522347667 making loose semver versions work, ref #38 2014-01-18 22:57:44 +04:00
Alex Kocharin
8987ee0b2a Merge branch 'master' of github.com:rlidwka/sinopia 2014-01-13 23:46:47 +04:00
Alex Kocharin
ceb9b5be1d 0.6.1 v0.6.1 2014-01-13 23:41:23 +04:00
Alex Kocharin
6c258758c8 support setting different storage paths for different packages
fixes #35
2014-01-13 22:56:36 +04:00
Alex Kocharin
dadbf3a18b rename ChangeLog to History 2014-01-13 22:02:33 +04:00
Alex Kocharin
c18ac8015a update dependencies 2014-01-13 22:02:08 +04:00
Alex Kocharin
68d3cc7295 fs interface refactoring 2014-01-13 20:48:51 +04:00
Alex Kocharin
8ebe73d1f1 Merge pull request #34 from keyvanfatehi/patch-1
Add docker-sinopia link to README
2014-01-06 22:46:10 -08:00
Keyvan Fatehi
75ea41a55b Add docker-sinopia link to README 2014-01-06 19:09:33 -08:00
Alex Kocharin
d519e8e763 0.6.0 v0.6.0 2013-12-30 12:32:20 +04:00
Alex Kocharin
bb6b31e7c0 v0.6.0 2013-12-30 12:29:54 +04:00
Alex Kocharin
5d19b66290 adding integration tests 2013-12-30 12:25:26 +04:00
Alex Kocharin
5422de642e tag support, closes #8 2013-12-29 10:41:31 +04:00