Commit Graph

2557 Commits

Author SHA1 Message Date
Alex Kocharin 503b60a45b catch bind errors 2013-12-19 07:17:52 +04:00
Alex Kocharin 225c2bb65f added a warning to not run it under root 2013-12-17 20:25:17 +04:00
Alex Kocharin 8ea985ff6b don't color multiline strings in logs output
stack traces should be easily recognizable
2013-12-16 03:07:19 +04:00
Alex Kocharin 0cec69ee1d Merge branch 'master' of github.com:rlidwka/sinopia 2013-12-16 00:58:09 +04:00
Alex Kocharin d5d2a8bdcc moving unit tests to separate folder 2013-12-16 00:54:50 +04:00
Alex Kocharin 693aa576b4 safeguard against bad tarball names 2013-12-16 00:54:29 +04:00
Alex Kocharin 3abce5e2b6 better error message when publishing with bad auth header 2013-12-16 00:38:16 +04:00
Alex Kocharin 5c6d6301ef 0.5.7 2013-12-15 04:06:19 +04:00
Alex Kocharin f43ec71ccb 0.5.7 2013-12-15 04:05:58 +04:00
Alex Kocharin ef61515f28 try to fetch package from uplinks if user requested a tarball we don't know about
closes #29 + tests fix
2013-12-15 03:15:58 +04:00
Alex Kocharin 9094d0742f better error message for incorrect package names 2013-12-15 03:09:55 +04:00
Alex Kocharin ede09b5c77 refactoring: move uplink.get_package() calls to it's own function 2013-12-13 20:50:41 +04:00
Alex Kocharin 19e4d78197 test suite for #29 (nothing is fixed yet) 2013-12-13 20:49:48 +04:00
Alex Kocharin 380ec1e917 always end response with a newline 2013-12-13 19:12:24 +04:00
Alex Kocharin ee16b06b3a style fix 2013-12-13 18:00:46 +04:00
Alex Kocharin 8149f883b0 default express.js to production mode, not development 2013-12-12 03:19:40 +04:00
Alex Kocharin c75249b5b0 commenting out tests that doesn't work yet 2013-12-12 02:02:20 +04:00
Alex Kocharin 942a7747ac fixing tests 2013-12-12 02:01:23 +04:00
Alex Kocharin 96b336acc3 if uplink doesn't answer, stop sending requests to it for a while (2 min default) 2013-12-12 02:00:26 +04:00
Alex Kocharin 520a3b0220 cleanup 2013-12-12 01:55:40 +04:00
Alex Kocharin 230750ff88 adding sinopia version to logs 2013-12-12 01:55:17 +04:00
Alex Kocharin 84a6e36d84 semver version bump 2013-12-12 01:54:36 +04:00
Alex Kocharin 203f0300e3 Merge branch '0.5.x' of github.com:rlidwka/sinopia
Conflicts:
	lib/storage.js
	test/start.sh
2013-12-12 01:44:29 +04:00
Alex Kocharin 1cb12fec35 0.5.6 2013-12-12 01:27:34 +04:00
Alex Kocharin e5195ecfb5 version bump 2013-12-12 01:27:21 +04:00
Alex Kocharin 7ee2361700 better tests for various tags (including bad ones), ref #21 2013-12-12 01:22:35 +04:00
Alex Kocharin 47a92ff273 fail-safe semver parsing + tests, ref #25 2013-12-12 00:51:48 +04:00
Brett Trotter fc99692219 Update semver.compare to semver.compareLoose to tolerate grunt and other packages 2013-12-12 00:35:07 +04:00
Alex Kocharin bd7dde229a Merge branch 'master' of github.com:rlidwka/sinopia 2013-12-11 21:40:41 +04:00
Alex Kocharin 21a5c788e1 Merge pull request #26 from bretttrotter-uar/test-exit-status
exit with appropriate status code
2013-12-11 09:23:22 -08:00
Brett Trotter 0b286d1fe3 exit with appropriate status code 2013-12-11 09:04:35 -06:00
Alex Kocharin 987f540cde Merge pull request #25 from bretttrotter-uar/loosen-semver
Update semver.compare to semver.compareLoose to tolerate grunt and other...
2013-12-11 05:53:46 -08:00
Alex Kocharin a11da1545a 0.5.5 2013-12-11 17:04:32 +04:00
Alex Kocharin d149252a3b fixing crash on bad tags 2013-12-11 17:04:08 +04:00
Brett Trotter ed3386f044 Update semver.compare to semver.compareLoose to tolerate grunt and other packages 2013-12-10 13:04:47 -06:00
Alex Kocharin 36fa1ba655 log fatal errors 2013-12-10 14:29:46 +04:00
Alex Kocharin 77182a755d expose sinopia's version in Server header for debugging purposes 2013-12-10 14:12:34 +04:00
Alex Kocharin f05a4784fd fixing crash on bad tags 2013-12-10 13:55:35 +04:00
Alex Kocharin 7f7c056ecd various bugfixes, camelcase for http headers 2013-12-09 08:00:16 +04:00
Alex Kocharin bbb402f762 detecting http loops 2013-12-09 07:59:31 +04:00
Alex Kocharin 4d70d8065e add via tag to prevent loops 2013-12-09 07:58:25 +04:00
Alex Kocharin 3617a91f87 0.5.4 2013-12-08 04:56:14 +04:00
Alex Kocharin 03445c4c49 version bump 2013-12-08 04:55:52 +04:00
Alex Kocharin 2f45649a2c improving tags support, ref #8 2013-12-08 02:55:50 +04:00
Alex Kocharin 08d1011433 use standard \033 escape sequence for vt esc codes 2013-12-08 02:54:26 +04:00
Alex Kocharin 6e71913c46 setting default timeout to 30 seconds, #18 2013-12-08 02:37:27 +04:00
Alex Kocharin cc7165dd3c Merge branch 'master' of github.com:rlidwka/sinopia 2013-12-06 21:49:31 +04:00
Alex Kocharin a257fc3962 swallow bad auth errors, fixes #17 2013-12-06 21:46:51 +04:00
Alex Kocharin 6a295ac196 don't send etags with errors 2013-12-06 21:46:11 +04:00
Alex Kocharin ff52b00a7c Merge pull request #18 from iambrandonn/master
Adding a configurable timeout for each uplink
2013-12-05 09:31:35 -08:00