Commit Graph

111 Commits

Author SHA1 Message Date
Juan Picado @jotadeveloper 8fbf77a76d
Fix #73 Add time property to deliver uplink last modified package 2017-06-22 22:37:02 +02:00
Juan Picado @jotadeveloper 9fdc251b83
Fix #73 Refactor Storage methods affected 2017-06-22 22:35:09 +02:00
Juan Picado @jotadeveloper 2ee4f38743
Refactor Storage, move local storage to inner folder.
Refactor methods to camelCase
Relocate utilities
2017-06-10 23:41:24 +02:00
Juan Picado @jotadeveloper 1358d53dd9
Refactor storage, moves secret key generator to config file 2017-06-10 23:07:08 +02:00
Juan Picado @jotadeveloper fcae1fa91d
#103 Refactoring Uplink Storage, Config and Storage class 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper 09ca08baaf
Refactored addPackage on Storage 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper 391e98de9f
Refactor streams, removed not needed dependency 2017-06-10 20:29:35 +02:00
Juan Picado @jotadeveloper fa4952408a
#103 Remove Search references from local storage 2017-06-10 20:28:42 +02:00
Juan Picado @jotadeveloper 4cb0424d23
#103 Rename variables, organize methods, privates goes to the bottom 2017-06-10 20:26:43 +02:00
Juan Picado @jotadeveloper db3233075c
#103 Config file must not be aware of storage database, storage class should handle it. 2017-06-10 20:16:20 +02:00
Juan Picado @jotadeveloper 1307181005
Refactor streams, removed not needed dependency 2017-06-10 18:48:20 +02:00
Juan Picado @jotadeveloper e9929c23e1
#103 Remove Search references from local storage 2017-06-10 18:46:02 +02:00
Juan Picado @jotadeveloper fe73eba54e
#103 Rename variables, organize methods, privates goes to the bottom 2017-06-10 18:43:20 +02:00
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