Alex Kocharin
a016077bf3
fix auth system
2014-09-14 19:22:24 +04:00
Alex Kocharin
19b1d76e98
hotfix: auth groups didn't work correctly
2014-09-14 19:06:27 +04:00
Alex Kocharin
a5cd498f92
use http-errors package instead of custom stuff
2014-09-10 21:55:26 +04:00
Alex Kocharin
a0c861ec5a
forgot to resolve path to storage
2014-09-07 00:57:40 +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
3a325a1e04
auth refactoring, part 1
...
moving stuff to auth.js basically + allowing usergroups
2014-09-06 13:07:10 +04:00
Alex Kocharin
b740dd11cf
remove outdated user existence check
...
doesn't work with htpasswd, and doesn't make sense with
future auth plugins
ref #115
2014-09-03 15:31:57 +04:00
Alex Kocharin
3809d6eb32
add a bunch of tests for htpasswd
2014-07-23 01:45:28 +04:00
Alex Kocharin
a528811e35
bugfixes for htpasswd authentication
2014-07-22 23:48:15 +04:00
Alex Kocharin
ff8a5e99ec
add user registration
2014-07-21 17:02:02 +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
73572b0839
fix #77 , config assert() has no effect
2014-06-18 04:52:07 +04:00
Alex Kocharin
b4c0b89365
set ignore_latest_tag to false by default
2014-04-01 00:13:59 +00:00
Alex Kocharin
4470cb7d55
making latest tag behaviour configurable
2014-03-29 02:31:34 +00:00
Alex Kocharin
bb9612441c
trim intervals
2014-03-08 04:38:37 +00:00
Alex Kocharin
48825a2e46
change intervals formatting to match nginx
...
see http://wiki.nginx.org/ConfigNotation
2014-03-08 04:37:16 +00:00
Alex Kocharin
6b9001ef6c
change interval formatting in config
...
All intervals are now in milliseconds. But you can add
multiples ("ms", "s", "m", "h", "d", "M", "y") to set
value using different units.
For example, value "1.5h" would mean 1.5 hours.
2014-03-08 03:49:59 +00:00
Alex Kocharin
68d3cc7295
fs interface refactoring
2014-01-13 20:48:51 +04:00
Alex Kocharin
bbb402f762
detecting http loops
2013-12-09 07:59:31 +04:00
Alex Kocharin
8f05e141c3
retrieving proxy values from environment if present
2013-11-24 21:08:20 +04:00
Alex Kocharin
b2f6128e9c
style fix
2013-10-26 16:18:36 +04:00
Alex Kocharin
61658cfbdc
added utils.is_object function for convenience
2013-10-22 11:29:57 +04:00
Alex Kocharin
70f717a295
using undefined instead of anonymous for non-logged in users
2013-10-11 09:53:54 +04:00
Alex Kocharin
9ee525b317
logging engine added, much better logs now
2013-10-11 09:32:59 +04:00
Alex Kocharin
2675196672
jshinting
2013-10-01 22:02:23 +04:00
Alex Kocharin
89f232b5ec
fixing bugs preventing access to upstream
2013-09-27 11:48:01 +04:00
Alex Kocharin
11bf03f130
config file error handling
2013-09-25 13:29:39 +04:00
Alex Kocharin
2ee792633c
fixing config file handling
2013-09-24 10:27:27 +04:00
Alex Kocharin
d91bef5ca0
change config file format + comments
2013-09-24 08:27:47 +04:00
Alex Kocharin
26e3e21121
using minimatch instead of regexps
2013-06-14 13:27:08 +04:00
Alex Kocharin
e92e582b88
bugfix
2013-06-14 11:17:20 +04:00
Alex Kocharin
8afafa9a17
allow anonymous users (users without auth header)
2013-06-14 11:10:50 +04:00
Alex Kocharin
a8fa475dc1
config file changes
2013-06-13 18:21:14 +04:00
Alex Kocharin
c705152966
name change + a lot of work...
2013-06-08 05:16:28 +04:00