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
|
9047e28074
|
set up some linting (obvious errors only)
|
2015-03-28 21:25:53 +03:00 |
|
Alex Kocharin
|
97c7c6814f
|
Remove mentioning of 'always-auth'
It should be solved by using npm@2 anyway.
|
2015-03-28 15:14:01 +03:00 |
|
Chris Breneman
|
76a1e8df80
|
Add package settings and authorization plugin system
|
2015-02-24 14:28:16 -05:00 |
|
Alex Kocharin
|
5b5f56f51c
|
fix test noise
TypeError: Cannot read property 'name' of undefined
at log (/home/travis/build/rlidwka/sinopia/lib/middleware.js:185:32)
|
2015-01-26 14:00:37 +03:00 |
|
Alex Kocharin
|
a425c5e2ff
|
add scoped packages draft
|
2014-11-16 20:46: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
|
1fe0cedbd0
|
add access control for web ui
|
2014-11-13 18:52:13 +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
|
a5cd498f92
|
use http-errors package instead of custom stuff
|
2014-09-10 21:55:26 +04:00 |
|
Alex Kocharin
|
3a325a1e04
|
auth refactoring, part 1
moving stuff to auth.js basically + allowing usergroups
|
2014-09-06 13:07:10 +04: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
|
41d4997ea7
|
only close socket if it exists, fix #89
|
2014-07-21 19:06:44 +04:00 |
|
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
|
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
|
c4e5cb71b4
|
eslint version bump
|
2014-06-18 05:59:22 +04:00 |
|
Brian Peacock
|
37afd429ec
|
Added basic GUI
|
2014-05-06 16:34:48 -05:00 |
|
Alex Kocharin
|
7967d5857d
|
Revert "fix logs and tests for #56"
This reverts commit df49fb84c1 .
|
2014-03-29 01:08:00 +00:00 |
|
Alex Kocharin
|
df49fb84c1
|
fix logs and tests for #56
|
2014-03-13 19:23:21 +00:00 |
|
Alex Kocharin
|
9c4c93695b
|
fix crash in #52
|
2014-03-07 18:20:41 +00:00 |
|
Alex Kocharin
|
b65cf7afe3
|
move eslint config to yaml
|
2014-02-07 00:56:46 +04:00 |
|
Alex Kocharin
|
9f662a69e1
|
validate all url parameters better
|
2014-02-01 12:08:48 +04:00 |
|
Alex Kocharin
|
5422de642e
|
tag support, closes #8
|
2013-12-29 10:41:31 +04:00 |
|
Alex Kocharin
|
c0e34890e4
|
req.user -> req.remoteUser
|
2013-12-27 15:29:23 +04:00 |
|
Alex Kocharin
|
151136381e
|
style fix
|
2013-12-19 07:18:45 +04:00 |
|
Alex Kocharin
|
3abce5e2b6
|
better error message when publishing with bad auth header
|
2013-12-16 00:38:16 +04:00 |
|
Alex Kocharin
|
9094d0742f
|
better error message for incorrect package names
|
2013-12-15 03:09:55 +04:00 |
|
Alex Kocharin
|
380ec1e917
|
always end response with a newline
|
2013-12-13 19:12:24 +04:00 |
|
Alex Kocharin
|
bbb402f762
|
detecting http loops
|
2013-12-09 07:59:31 +04:00 |
|
Alex Kocharin
|
a257fc3962
|
swallow bad auth errors, fixes #17
|
2013-12-06 21:46:51 +04:00 |
|
Alex Kocharin
|
6a295ac196
|
don't send etags with errors
|
2013-12-06 21:46:11 +04:00 |
|
Alex Kocharin
|
b2f6128e9c
|
style fix
|
2013-10-26 16:18:36 +04:00 |
|
Alex Kocharin
|
3a407396b8
|
better error logging
|
2013-10-22 13:37:28 +04:00 |
|
Alex Kocharin
|
61658cfbdc
|
added utils.is_object function for convenience
|
2013-10-22 11:29:57 +04:00 |
|
Alex Kocharin
|
acc2e571ff
|
logging didn't work on chunked output
|
2013-10-19 01:53:27 +04:00 |
|
Alex Kocharin
|
1a58a0f8d8
|
hide authorization header in logs
|
2013-10-12 18:37:47 +04:00 |
|
Alex Kocharin
|
9ee525b317
|
logging engine added, much better logs now
|
2013-10-11 09:32:59 +04:00 |
|
Alex Kocharin
|
f38a897fa2
|
improving tags support (read-only for now)
|
2013-10-02 22:26:20 +04:00 |
|
Alex Kocharin
|
9f80a0046e
|
showing expected content type in errors
|
2013-09-27 12:55:42 +04:00 |
|
Alex Kocharin
|
86f02bda7d
|
add md5 etags for json
|
2013-07-03 05:49:24 +04:00 |
|
Alex Kocharin
|
1c827ebbd0
|
working on storage...
|
2013-06-14 12:34:29 +04:00 |
|
Alex Kocharin
|
8afafa9a17
|
allow anonymous users (users without auth header)
|
2013-06-14 11:10:50 +04:00 |
|
Alex Kocharin
|
c705152966
|
name change + a lot of work...
|
2013-06-08 05:16:28 +04:00 |
|