Alex Kocharin
d9accbb6a7
better access control for search
...
For each of the packages check if user has access to it and remove
package info from the result if he doesn't.
ref #65
2014-06-24 06:50:05 +04:00
Alex Kocharin
17d8ab7dcd
use req.query instead of manually parsing querystring
...
ref #65
2014-06-24 06:48:58 +04:00
Alex Kocharin
3f746eb7c8
fix logging: in search "error" can be legitimate output (package named "error"), not an actual error
...
ref #65
2014-06-24 06:46:35 +04:00
Alex Kocharin
9816059485
Merge pull request #65 from yannickcr/npm-search
...
Add search functionality
2014-06-24 06:25:28 +04:00
Alex Kocharin
fe058b716b
0.8.2
v0.8.2
2014-06-20 08:38:17 +04:00
Alex Kocharin
dc7d7dfd53
0.8.2
2014-06-20 08:38:00 +04:00
Alex Kocharin
3e514c2c3b
add hyperlinks to issue references
2014-06-20 08:17:58 +04:00
Alex Kocharin
703adeaffc
socket could've been closed twice, fix #80
2014-06-20 08:12:37 +04:00
Alex Kocharin
c4e5cb71b4
eslint version bump
2014-06-18 05:59:22 +04:00
Alex Kocharin
73572b0839
fix #77 , config assert() has no effect
2014-06-18 04:52:07 +04:00
Alex Kocharin
88f3944f5a
whitelist all allowed characters in filenames, see #75
2014-06-18 02:01:58 +04:00
Alex Kocharin
20524118ef
Merge pull request #78 from josephg/master
...
Allow tarballs with @ in them
2014-06-18 01:57:34 +04:00
Joseph Gentle
68bf469ad4
Fixed unit tests
2014-05-15 16:17:48 -07:00
Joseph Gentle
21f7f03cf7
Fixed sinopia to allow old tarballs with @ in them
2014-05-15 16:07:33 -07:00
Alex Kocharin
a79fa68deb
lint
2014-04-14 00:44:17 +00:00
Alex Kocharin
fabf3eff4c
0.8.1
v0.8.1
2014-04-14 00:37:07 +00:00
Alex Kocharin
6a60650073
0.8.1
2014-04-14 00:36:57 +00: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
bea03619d7
add note about fs-ext
2014-04-01 00:21:51 +00:00
Alex Kocharin
8f03805697
update package.yaml, set publishConfig
2014-04-01 00:19:52 +00:00
Alex Kocharin
d0c2ac0f9d
0.8.0
v0.8.0
2014-04-01 00:17:10 +00:00
Alex Kocharin
d820a030a1
0.8.0
2014-04-01 00:17:03 +00:00
Alex Kocharin
b4c0b89365
set ignore_latest_tag to false by default
2014-04-01 00:13:59 +00:00
Alex Kocharin
752d0f62f0
make fs-ext optional
2014-03-31 04:32:11 +00:00
Alex Kocharin
9404e811a5
accept gzip from uplinks, fix #54
2014-03-30 21:05:42 +00:00
Alex Kocharin
2102e71c10
removing outdated todo
2014-03-30 19:43:03 +00:00
Alex Kocharin
f023826a59
0.7.1
v0.7.1
2014-03-29 06:16:07 +00:00
Alex Kocharin
f03512d32b
0.7.1
2014-03-29 06:15:59 +00:00
Alex Kocharin
7f56593ee3
document new config option
2014-03-29 06:15:43 +00:00
Alex Kocharin
2995858bb0
updating eslint config
2014-03-29 05:38:21 +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
4b06026d2e
Revert "Make 404 responses compatible with CouchDB API"
...
This reverts commit dabf5e1c9a7e53f435b89d9e0fbf8e091e7e40e8.
See discussion in #57
2014-03-29 01:08:28 +00:00
Alex Kocharin
7967d5857d
Revert "fix logs and tests for #56 "
...
This reverts commit df49fb84c1670fa629f69340d32a0dbafb8ee421.
2014-03-29 01:08:00 +00:00
Alex Kocharin
4ea84e8b74
0.7.0
v0.7.0
2014-03-13 19:48:42 +00:00
Alex Kocharin
bf63b9f738
0.7.0
2014-03-13 19:47:49 +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
0afd9d1bb3
Merge pull request #56 from strongloop/fix-unknown-package-name-response
...
Make 404 responses compatible with CouchDB API
2014-03-13 19:15:04 +00:00
Alex Kocharin
f839837f34
document new config options
2014-03-13 18:56:31 +00:00
Alex Kocharin
a030e1110d
release 0.7.0
2014-03-13 18:56:14 +00:00
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