Commit Graph

74 Commits

Author SHA1 Message Date
Alex Vernacchia dc9859cd83 web-gui/updating entries shown on index page 2014-10-13 14:39:04 -04:00
Alex Kocharin 4f028a107b Save readme data that npm provides on publish
fix #100, fix #128
2014-09-25 07:56:31 +04:00
Alex Kocharin a5cd498f92 use http-errors package instead of custom stuff 2014-09-10 21:55:26 +04:00
Alex Kocharin 8d841ea8e3 hide local-list.json to storage/.sinopia-db.json
It was always in the current folder, which is a bad thing.
2014-09-07 00:50:34 +04:00
Alex Kocharin 99795b747c undefined variable fix 2014-09-06 13:07:10 +04:00
Alex Kocharin 6704abf988 bugfixes for webui 2014-08-08 06:17:05 +04:00
Alex Kocharin d9f84677f8 fix tests broken by webui 2014-08-08 05:58:25 +04:00
Alex Kocharin 57d6fe7150 Merge remote-tracking branch 'origin/0.9.x'
Conflicts:
	lib/local-storage.js
2014-08-08 05:12:42 +04:00
Alex Kocharin a8dc1b2f7b option not to cache third party files
ref #85
2014-08-08 05:08:41 +04:00
John Gozde 060dcb49b4 Filter falsey _npmUser values. 2014-08-08 03:15:39 +04:00
John Gozde 58046a2ec7 Filter falsey _npmUser values. 2014-08-01 14:08:44 -06:00
Alex Kocharin 4f913f2468 Merge https://github.com/bpeacock/sinopia.git
Conflicts:
	lib/config.js
	lib/config_def.yaml
	lib/index.js
	lib/local-storage.js
	lib/storage.js
	package.json
2014-07-26 20:36:22 +04:00
Alex Kocharin 9275b2cc85 "msg" -> "message"
former one created too much confusion
2014-07-22 23:31:01 +04:00
Alex Kocharin e929e089d0 basic support for .htpasswd 2014-06-26 20:21:23 +04:00
Alex Kocharin 9816059485 Merge pull request #65 from yannickcr/npm-search
Add search functionality
2014-06-24 06:25:28 +04:00
Brian Peacock 45e4208218 Added cases for no local packages 2014-05-07 15:31:25 -05:00
Brian Peacock c0ee2db8a4 Added readme API with markdown support 2014-05-07 14:28:10 -05:00
Brian Peacock 2901e619cb Fixed refresh issue 2014-05-07 10:10:59 -05:00
Alex Kocharin 6eada0f22e preserve tags when publishing something (ref #63) 2014-04-13 02:04:48 +00:00
Yannick Croissant 5241ddfe84 Add search functionality 2014-04-12 19:20:26 +02:00
Alex Kocharin b4c0b89365 set ignore_latest_tag to false by default 2014-04-01 00:13:59 +00:00
Alex Kocharin a8cdfcd7cd add err.status instead of checking for exact error message
it's done for consistency reasons
2014-03-29 04:32:05 +00:00
Alex Kocharin 4470cb7d55 making latest tag behaviour configurable 2014-03-29 02:31:34 +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
Sam Day 58e98c7263 Support maxage for uplinks 2014-03-02 20:47:09 +11:00
Alex Kocharin 5422de642e tag support, closes #8 2013-12-29 10:41:31 +04:00
Alex Kocharin 6c838c7947 remove all replication-like functionality
apparently it was a bad idea, it's simpler to just run a single
sinopia instance as a master

TODO: write some help in readme about it
2013-12-27 17:23:14 +04:00
Alex Kocharin 985d705ad2 working on tags / incomplete 2013-12-27 17:06:30 +04:00
Alex Kocharin b0fa7ee2d1 using eslint to check the code 2013-12-23 04:14:57 +04:00
Alex Kocharin 3b2bd161b7 logging bad versions 2013-12-21 16:09:29 +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 ede09b5c77 refactoring: move uplink.get_package() calls to it's own function 2013-12-13 20:50:41 +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 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
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 7f7c056ecd various bugfixes, camelcase for http headers 2013-12-09 08:00:16 +04:00
Alex Kocharin 4d70d8065e add via tag to prevent loops 2013-12-09 07:58:25 +04:00
Alex Kocharin 2f45649a2c improving tags support, ref #8 2013-12-08 02:55:50 +04:00
Alex Kocharin 13242c8237 add proxy support, fix #13 2013-11-24 21:07:18 +04:00
Alex Kocharin b2f6128e9c style fix 2013-10-26 16:18:36 +04:00
Alex Kocharin dafcf8647c basic support for unpublishing individual versions (local only) 2013-10-23 10:15:17 +04:00
Alex Kocharin 782abbb86d honor etags when making requests 2013-10-22 13:31:48 +04:00
Alex Kocharin 5622b2283d added couchdb-like revisions 2013-10-22 11:00:04 +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 015623f9ae making various test cases work 2013-10-11 13:50:41 +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