Commit Graph

521 Commits

Author SHA1 Message Date
Alex Kocharin e929e089d0 basic support for .htpasswd 2014-06-26 20:21:23 +04:00
Alex Kocharin 81486f412f make authentication function async 2014-06-26 19:23:21 +04:00
Alex Kocharin 5cc0187b67 fix tests 2014-06-24 06:57:54 +04:00
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 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
Brian Peacock 96126e5a2f Added back in package.json so that it can be installed from git repo 2014-05-13 17:14:25 -05:00
Brian Peacock 490b04f298 Removed 'root' config parameter 2014-05-13 17:12:21 -05:00
Brian Peacock abacb64479 formatting 2014-05-12 10:49:45 -05:00
Brian Peacock 2a299c9201 Switched some tabs to spaces 2014-05-12 10:43:18 -05:00
Brian Peacock 39083b819f Switched back to package.yaml 2014-05-12 10:42:04 -05:00
Brian Peacock 228f1512d7 Typo 2014-05-12 09:37:18 -05:00
Brian Peacock f5b9e0e0d5 Added default logo to the page 2014-05-12 09:35:53 -05:00
Brian Peacock daaee2b971 Updated README to reflect changes 2014-05-12 09:29:29 -05:00
Brian Peacock a38cf312b2 Updated the config 2014-05-12 09:21:07 -05:00
Brian Peacock ab44907dac Fixed bug with creating users with hashed passwords 2014-05-09 13:26:47 -05:00
Brian Peacock 1246f12f5a Added CSS for no logo 2014-05-09 09:19:42 -05:00
Brian Peacock 99b8c31d3a Added the ability to add users 2014-05-08 19:24:41 -05:00
Brian Peacock dbf3301ff9 Added favicon 2014-05-08 18:03:14 -05:00
Brian Peacock a6fe4a1516 Added logo support 2014-05-08 17:58:13 -05:00
Brian Peacock 277f1023c9 Fixed unpublish 2014-05-08 16:48:15 -05:00
Brian Peacock 820ae3f27c Tabs to spaces 2014-05-08 16:35:06 -05:00
Brian Peacock d52cfe8bac Fixed issue publishing unpublished modules 2014-05-08 16:34:16 -05:00
Brian Peacock f74d7cbd3e Added fixed header 2014-05-08 15:41:59 -05:00
Brian Peacock 7e9b5944fd Removed logging 2014-05-08 14:47:54 -05:00
Brian Peacock 6fb0be9cc0 Fixed search UI bugs 2014-05-08 14:47:24 -05:00
Brian Peacock 1ddc1c68dc Added icons, smoother animations, search readme's 2014-05-08 11:13:39 -05:00
Brian Peacock 8b3dc9072f Added nifty transitions 2014-05-07 16:51:03 -05:00
Brian Peacock 112e551240 Fixed issue with no packages and the template 2014-05-07 15:53:24 -05:00
Brian Peacock 7b4bac1874 Added url config option 2014-05-07 15:43:22 -05:00
Brian Peacock baa7f78e83 Nicer formamtting 2014-05-07 15:36:03 -05:00
Brian Peacock 45e4208218 Added cases for no local packages 2014-05-07 15:31:25 -05:00
Brian Peacock 1e48eacbf8 Changed the name back 2014-05-07 15:10:06 -05:00
Brian Peacock 9e062994fe Modified the search box 2014-05-07 15:00:36 -05:00
Brian Peacock 4f155f5004 Added highligting CSS 2014-05-07 14:56:48 -05:00
Brian Peacock c0ee2db8a4 Added readme API with markdown support 2014-05-07 14:28:10 -05:00
Brian Peacock 5464b449ce Formatted entries 2014-05-07 13:36:48 -05:00
Brian Peacock f2e433d52b Formatting 2014-05-07 13:26:44 -05:00
Brian Peacock 11fdc9340e Search works 2014-05-07 13:08:29 -05:00