Commit Graph

48 Commits

Author SHA1 Message Date
Madison Grubb 01a6c22103 merging in changes from upstream & fixing conflicts 2017-02-04 22:58:26 -05:00
Aram Drevekenin ccd3d26059 test: adduser created with htpasswd 2017-01-19 17:14:39 +02:00
Juan Carlos Picado 0210752ea5 clean warnings on unit test 2016-12-05 08:42:43 +01:00
Madison Grubb a7c4285a68 renaming 'sinopia' to verdaccio. 2016-11-07 12:15:38 -05:00
Miguel Mejias 25e00a3172 Implement logout endpoint 2016-10-11 18:44:47 -05:00
Juan Carlos Picado 5cdadbd7fa Remove sync write file 2016-08-13 08:21:55 +02:00
trent.earl d8f2d95f92 Rename binary to verdaccio 2016-07-30 19:37:30 -05:00
trent.earl dd406da3e2 Fix tests for node 6
Node 6 introduced two breaking changes to verdaccio/sinopia
Path functions now throw on null/undefined arguments
Buffer defaults to binary now A lot of test code explicitly converted data to utf8 which broke on checksum
2016-07-30 19:37:04 -05:00
steve-p-com 6301c3f169 Replace YAML package definitions with standard package.json, fix dependencies 2016-04-21 21:13:49 +01:00
Jakub Jirutka fde2321222 Add workaround to handle URLs of scoped packages with unencoded /
Fixes https://github.com/rlidwka/sinopia/issues/104#issuecomment-66790574.
2015-07-12 01:26:18 +03:00
Alex Kocharin 45edca2218 search: stream results from npmjs instead of buffering them 2015-05-17 01:29:16 +03:00
Alex Kocharin c09d03b20d add dist-tags endpoints 2015-05-10 18:39:53 +03:00
Alex Kocharin 137fd5978f fix access control
ref #238
2015-04-21 19:43:12 +03:00
Alex Kocharin 9294981d71 fix tests for 0.10 2015-04-11 20:14:49 +03:00
Alex Kocharin 17bdfd904a test: use promisified supertest-like asserts 2015-04-11 20:11:04 +03:00
Alex Kocharin 6cb257e51f add tests for auth plugins 2015-04-11 16:09:19 +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 04a9f14b3c fix test broken in 79e2ff2ee 2015-02-12 14:28:19 +03:00
Alex Kocharin c07d819ce9 add tests for scoped packages 2014-12-15 00:03:42 +03:00
Alex Kocharin bad7aee4ec use /-/whoami endpoint instead of /whoami
Allows to get rid of referer magic, so it's a nice change to have.

See this issue for details:
https://github.com/npm/npm-registry-client/issues/88
2014-12-05 05:04:37 +03:00
Alex Kocharin a425c5e2ff add scoped packages draft 2014-11-16 20:46:01 +03:00
Alex Kocharin 037b3aea6a make use of es6-shim
It's mainly because of Object.setPrototypeOf()
2014-11-12 17:37:43 +03:00
Alex Kocharin 6a778e8c17 change code style to jshttp
close #155, see reasons there

This is a huge commit, so let me know if it will cause
any trouble, I might consider reverting it if it's the case.
2014-11-12 17:37:43 +03:00
Alex Kocharin eda8dfe9ca Validate package name when doing search
+ tests

fix #122
2014-10-02 11:14:59 +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 91ee928f06 fix hostname for travis 2014-09-25 05:25:48 +04:00
Alex Kocharin 862b1eeed4 automated tests against fd leaks 2014-09-25 05:21:59 +04:00
Alex Kocharin 5dd720cc21 add stuff for testing against fd leaks and memory leaks 2014-08-15 01:37:46 +04:00
Alex Kocharin 60ae815c09 make tests more verbose for travis 2014-08-11 08:09:18 +04:00
Alex Kocharin a8dc1b2f7b option not to cache third party files
ref #85
2014-08-08 05:08:41 +04:00
Alex Kocharin 3809d6eb32 add a bunch of tests for htpasswd 2014-07-23 01:45:28 +04:00
Alex Kocharin 48b7031074 fix mocha debug mode 2014-07-22 22:24:19 +04:00
Alex Kocharin 6eada0f22e preserve tags when publishing something (ref #63) 2014-04-13 02:04:48 +00:00
Alex Kocharin b4c0b89365 set ignore_latest_tag to false by default 2014-04-01 00:13:59 +00:00
Alex Kocharin 9404e811a5 accept gzip from uplinks, fix #54 2014-03-30 21:05:42 +00:00
Alex Kocharin 7967d5857d Revert "fix logs and tests for #56"
This reverts commit df49fb84c1.
2014-03-29 01:08:00 +00:00
Alex Kocharin 8af77df0e0 fix zero timeouts in config 2014-03-13 19:45:47 +00:00
Alex Kocharin df49fb84c1 fix logs and tests for #56 2014-03-13 19:23:21 +00:00
Alex Kocharin d657e180d5 fix tests 2014-03-13 19:19:02 +00:00
Alex Kocharin 9ff1203688 throw away incomplete downloads 2014-03-07 19:48:24 +00:00
Alex Kocharin 9c4c93695b fix crash in #52 2014-03-07 18:20:41 +00:00
Alex Kocharin 440f42415c adding test for invalid tags, fixes #40 2014-02-03 00:50:51 +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 02f8143097 tests for tags support 2013-12-29 10:40:47 +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 a3a59aa8f3 reorganize tests, and add new ones 2013-12-19 19:11:54 +04:00