Juan Picado @jotadeveloper
f08e733cc4
#103 Config file must not be aware of storage database, storage class should handle it.
2017-06-10 18:40:03 +02:00
cklein
7018fc99a2
[GH-131] add cache option to uplinks
2017-06-08 17:59:28 +02:00
Ryan Graham
64c3ea445b
don't blindly clobber local dist-tags
...
If packages are being published to verdaccio as well as upstream to
npmjs.org, then when the cache is updated from npmjs.org it uses the
dist-tags from the upstream even if the locally published version is
actually newer. This makes it very difficult to use verdaccio as a
staging registry for testing out potential releases.
This change partially reverts a change in behaviour that was introduced
in #8 which caused a regression for the staging style workflow that was
supported by sinopia.
2017-06-01 13:59:56 -07:00
Juan Picado
92df8bd178
Fix uppercase lint warning, streams use lowercase function name
2017-05-09 10:11:09 +02:00
Juan Picado
445df5b30e
Fix eslint, add jsdoc on storage lib
2017-05-09 09:56:54 +02:00
Meeeeow
c80dd8958a
fix upstream search not work with gzip, close #156
2017-05-08 15:21:54 +08:00
Juan Picado
2a1f1a7dfa
Fix more eslint warnings, add doc
2017-05-04 21:05:47 +02:00
Juan Picado
aaedc13d2c
npmjs returns an emtpy object
2017-04-30 09:58:11 +02:00
Juan Picado
f282941075
Apply partially new eslint rules, upgrade es6 and replace octal literals by chalk colors
2017-04-23 22:19:31 +02:00
Juan Picado
7970e52068
Migrate storages to classes
2017-04-23 21:28:08 +02:00
Juan Picado
d79f12d45a
Migrate Storages to classes
2017-04-23 21:25:24 +02:00
Juan Picado
b5acc054bf
clean up phase, moving es6 local storage
2017-04-23 21:24:30 +02:00
Madison Grubb
a7c4285a68
renaming 'sinopia' to verdaccio.
2016-11-07 12:15:38 -05:00
steve-p-com
dfdcaa893e
Change the way package distribution tags are processed and stored
2016-04-18 20:53:00 +01: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
3c16e59a5c
Refactor authorization plugins
2015-04-09 01:51:34 +03:00
Alex Kocharin
554d31d119
should add via header for all requests
2015-03-28 22:26:36 +03:00
Alex Kocharin
9047e28074
set up some linting (obvious errors only)
2015-03-28 21:25:53 +03:00
Alex Kocharin
ed3eb37c4f
download packages using https
...
Or, in general, the same protocol as the registry;
this is what npm seem to be doing.
See issue #166 for details.
2014-12-23 00:29:26 +03:00
Yannick Galatol
ea50f3d3ed
Add a query parameter "local" to the search method of storage to allow listing only local packages
2014-12-15 00:03:19 +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
7a7d794207
fix double on_open call
2014-11-01 22:57:36 +03:00
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