Commit Graph

74 Commits

Author SHA1 Message Date
Alex Kocharin 61658cfbdc added utils.is_object function for convenience 2013-10-22 11:29:57 +04:00
Alex Kocharin 4c2c4b87c2 calculating sha1sum of uploaded tarballs 2013-10-22 11:12:06 +04:00
Alex Kocharin 5622b2283d added couchdb-like revisions 2013-10-22 11:00:04 +04:00
Alex Kocharin 8b314040d9 fixing race conditions when updating package data 2013-10-22 09:10:25 +04:00
Alex Kocharin acc2e571ff logging didn't work on chunked output 2013-10-19 01:53:27 +04:00
Alex Kocharin fa51797602 return 500 instead of 404 if local storage is corrupted 2013-10-19 01:35:41 +04:00
Alex Kocharin 3ca3ac2dae logging fs errors 2013-10-19 01:17:53 +04:00
Alex Kocharin 012892600b handing JSON.parse errors 2013-10-19 00:46:13 +04:00
Alex Kocharin 674f944942 tweaking fs logger color 2013-10-19 00:45:36 +04:00
Alex Kocharin 1a58a0f8d8 hide authorization header in logs 2013-10-12 18:37:47 +04:00
Alex Kocharin fcebeea3ee don't print colors if output stream is not tty 2013-10-12 11:57:59 +04:00
Alex Kocharin 015623f9ae making various test cases work 2013-10-11 13:50:41 +04:00
Alex Kocharin 957f915d42 fixing a next(err) function called twice 2013-10-11 13:49:00 +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 3596a12eb7 logging caused failure in case of errors 2013-10-11 09:46:37 +04:00
Alex Kocharin 9ee525b317 logging engine added, much better logs now 2013-10-11 09:32:59 +04:00
Alex Kocharin b6082f1216 some work towards unpublishing packages 2013-10-11 09:32:12 +04:00
Alex Kocharin 0aa687624d only create config if we're asked to (+ nice help) 2013-10-09 20:22:29 +04:00
Alex Kocharin a76a443994 moved bin/sinopia to lib/cli.js 2013-10-09 19:47:55 +04:00
Alex Kocharin 94d37441ae error not raised when updating versions - fix #10 2013-10-08 22:55:32 +04:00
Alex Kocharin 7a3255d1ab very basic support for unpublishing a package 2013-10-06 12:27:50 +04:00
Alex Kocharin b9cb60da64 replacing connect.bodyParser with connect.json 2013-10-06 11:26:05 +04:00
Alex Kocharin bffc6db38f better error message, ref #9 2013-10-05 18:49:08 +04:00
Alex Kocharin 8dcb735626 rename tarball from uplink when download is finished
closes #11
2013-10-05 18:26:51 +04:00
Alex Kocharin 2f15d1c0fa fd leak 2013-10-02 22:54:46 +04:00
Alex Kocharin 16730bb7b4 fix fetching tarballs from npmjs registry 2013-10-02 22:48:32 +04:00
Alex Kocharin f38a897fa2 improving tags support (read-only for now) 2013-10-02 22:26:20 +04:00
Alex Kocharin 1556ce195a npm star/unstar calls now return proper error 2013-10-02 22:01:18 +04:00
Alex Kocharin 2675196672 jshinting 2013-10-01 22:02:23 +04:00
Alex Kocharin f5b542724b update uplink code 2013-09-28 21:31:58 +04:00
Alex Kocharin 21ad8945d9 update 2013-09-28 20:46:55 +04:00
Alex Kocharin c3de74ebfd error handling when uploading tarballs 2013-09-28 16:37:24 +04:00
Alex Kocharin 8c5628bfae uploading tarballs bugfixes 2013-09-28 16:19:40 +04:00
Alex Kocharin c8bb68a4aa adding package version to remote repository 2013-09-28 15:08:38 +04:00
Alex Kocharin 0173c55ead publishing package to all relevant uplinks 2013-09-28 14:59:05 +04:00
Alex Kocharin 5dbc825892 through -> streams2 migrate - final 2013-09-27 15:31:28 +04:00
Alex Kocharin 1570cc348c through -> streams2 transition for local-fs 2013-09-27 13:54:43 +04:00
Alex Kocharin ac2ea00b2b adding __proto__ to package name blacklist 2013-09-27 13:20:38 +04:00
Alex Kocharin 8fe23d3393 moving readable stream interfaces from through to streams2 2013-09-27 12:56:13 +04:00
Alex Kocharin 9f80a0046e showing expected content type in errors 2013-09-27 12:55:42 +04:00
Alex Kocharin b7e4bfdd14 migrating from through to streams2 2013-09-27 12:54:16 +04:00
Alex Kocharin 89f232b5ec fixing bugs preventing access to upstream 2013-09-27 11:48:01 +04:00
Alex Kocharin ff4778e3c6 adding comments 2013-09-27 04:26:15 +04:00
Alex Kocharin 11bf03f130 config file error handling 2013-09-25 13:29:39 +04:00
Alex Kocharin e01d30adb9 unimplemented functions now throw 2013-09-25 13:18:38 +04:00
Alex Kocharin 4791d0e707 inline documentation 2013-09-25 13:12:33 +04:00
Alex Kocharin 34a52f09a2 renaming storage libraries 2013-09-25 12:54:57 +04:00
Alex Kocharin fa1c4f30ee fixing bug with error handling 2013-09-25 12:10:59 +04:00
Alex Kocharin bdd748c6e2 cleanup incomplete upload requests 2013-09-24 10:28:26 +04:00
Alex Kocharin 2ee792633c fixing config file handling 2013-09-24 10:27:27 +04:00