jotadeveloper
16f8ae0f30
Merge pull request #197 from BartDubois/url_prefix-as-path
...
Allow url_prefix to be only the path
2017-05-21 23:00:09 +02:00
Bart Dubois
8927d7d144
Aplly sugestions form review
...
* Reneame the methof and use camelCase
* Use ES6 template string
2017-05-21 22:39:47 +02:00
Juan Picado @jotadeveloper
a1e6368c29
Refactor, remove eslint warnings and for npm < 2.x, npm minimum higher as 2.15.x
2017-05-20 11:50:20 +02:00
Bart Dubois
ff05d779c4
Allow url_prefix to be only the path
...
* Define utils function `get_base_url`.
* If url_prefix start with `/` construct base URL using protocol and host form request.
* Update SERVER.md with description of new `url_prefix` option.
2017-05-17 00:20:33 +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
Meeeeow
38518baf44
fix: search leak private package and ui bug
...
- Check permission in search API
- Fix author's name not show in search result
2017-04-21 11:53:05 +08:00
Jannis Achstetter
a00be0c20d
Allow configuring a tagline that is displayed on the webpage between the header and the list of packages.
2017-03-28 16:48:16 +02:00
Cody Droz
3a131f380d
optional scope in the readme package name.
2017-03-15 08:57:24 -05:00
Michael Crowe
a6fa0432ee
Prevent the server from crashing if a repo is accessed that the user does not have access to
...
https://github.com/verdaccio/verdaccio/pull/58
https://github.com/verdaccio/verdaccio/issues/56
2016-10-11 18:06:15 -05:00
Trent Earl
bb7138c3f6
Merge pull request #46 from plitex/fix-custom-template
...
Register entry partial even if custom template is provided
2016-09-17 10:35:53 -05:00
trent.earl
1efd94dfe6
HTML title should default to verdaccio
2016-08-20 11:57:36 -05:00
Miguel Mejias
7b4c105046
Register entry partial even if custom template is provided
2016-08-10 11:52:21 +02:00
steve-p-com
6301c3f169
Replace YAML package definitions with standard package.json, fix dependencies
2016-04-21 21:13:49 +01:00
Alexander Makarenko
4379821787
Sort packages before rendering in UI
2015-09-24 11:24:23 +03:00
Alex Kocharin
7c822d06f6
web: delay cb invocation to the next tick
...
ref #258
2015-05-30 18:27:18 +03:00
Alex Kocharin
74bb946a91
fix freeze in web interface on acl check
2015-04-11 23:19:45 +03:00
Alex Kocharin
3c16e59a5c
Refactor authorization plugins
2015-04-09 01:51:34 +03:00
Chris Breneman
6954898da0
Merge remote-tracking branch 'upstream/master'
...
Conflicts:
lib/auth.js
lib/index.js
lib/middleware.js
2015-03-31 09:47:20 -04:00
Alex Kocharin
d7c95d6cd6
fix custom logo and url_prefix issues
...
use config.web.logo instead of config.web['logo-sm']
2015-03-29 23:01:34 +03:00
Alex Kocharin
9047e28074
set up some linting (obvious errors only)
2015-03-28 21:25:53 +03:00
Rafael Cesar
025e23627f
Added option to use a custom template for web UI
2015-03-28 14:15:07 +03:00
Chris Breneman
0af72f0c68
Pass allow_access calls that don't use the can() middleware through the plugin interface
2015-02-24 22:21:57 -05:00
Chris Breneman
76a1e8df80
Add package settings and authorization plugin system
2015-02-24 14:28:16 -05:00
Alex Kocharin
2b9bfcc0d9
marked -> render-readme
2014-12-10 09:14:31 +03:00
Alex Kocharin
cf71b9dc9e
encrypt user+pass instead of tokens for now
2014-11-24 22:53:05 +03:00
Alex Kocharin
a425c5e2ff
add scoped packages draft
2014-11-16 20:46:01 +03:00
Alex Kocharin
972551e838
nitpick
2014-11-16 16:38:01 +03:00
Alex Kocharin
2f541130ab
auth tokens draft
2014-11-16 15:37:50 +03:00
Alex Kocharin
ca3cb6487d
refactor log and etagify middlewares
2014-11-13 22:01:20 +03:00
Alex Kocharin
4c11a42d21
separate web and api routers to different files
2014-11-13 20:14:21 +03:00
Alex Kocharin
8259455ac5
switch to express 5
...
It's needed for the better separation between rest api and web interface.
2014-11-13 20:14:14 +03:00
Alex Kocharin
1fe0cedbd0
add access control for web ui
2014-11-13 18:52:13 +03:00
Alex Kocharin
09485451f7
fix res.sendfile callback
2014-11-13 18:38:49 +03:00
Alex Kocharin
c78390752a
fix tests
2014-11-12 19:45:40 +03:00
Alex Kocharin
7687965219
handle 404 errors better
...
+ get rid of fs.exists
2014-11-12 19:26:27 +03:00
Alex Kocharin
100430227c
display favicon properly
2014-11-12 19:26:24 +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
67b4528643
add authentication to web interface
2014-11-04 17:51:45 +03:00
Facundo Chambó
9938a6bf4b
removed trailing slash to avoid duplicate slashes
2014-10-19 22:03:40 -03:00
Alex Vernacchia
daeb1eb2a3
web-gui/moving to bootstrap and finishing responsive layout
2014-10-07 14:46:16 -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
Kalman Speier
3bf26bd89e
config.logo -> config.web.logo
2014-09-24 23:52:39 +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
504430dcdd
temporarily disable web interface in config
...
I want to release 0.10 soon, and web doesn't have auth system yet.
So we'll probably disable it for now, and re-enable when its ready.
2014-09-06 23:53:28 +04:00