Alex Kocharin
97386397c2
add a code to bind on unix sockets
...
use "listen: 'unix:sinopia.sock'" for this
2015-04-22 02:38:25 +03:00
Alex Kocharin
9047e28074
set up some linting (obvious errors only)
2015-03-28 21:25:53 +03:00
Alex Kocharin
1a9596737e
add test for parsing listen address
2015-03-28 18:03:36 +03:00
Alex Kocharin
09318d1943
fixed current folder reference in tests
2014-12-22 23:52:08 +03:00
Alex Kocharin
fad4f457ae
move logger setup to index.js + tests
2014-12-22 20:58:25 +03:00
Alex Kocharin
4c11a42d21
separate web and api routers to different files
2014-11-13 20:14:21 +03:00
Alex Kocharin
c78390752a
fix tests
2014-11-12 19:45:40 +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
8d1781489b
tag_version should return if tag is fresh
2014-09-18 00:04:15 +04:00
Alex Kocharin
8f0039de92
'@all' -> '$all' (avoid yaml identifiers)
2014-09-14 19:49:15 +04:00
Alex Kocharin
734565dc05
auth refactoring: part 3
...
moving htpasswd out
2014-09-06 13:03:22 +04:00
Alex Kocharin
3809d6eb32
add a bunch of tests for htpasswd
2014-07-23 01:45:28 +04:00
Joseph Gentle
68bf469ad4
Fixed unit tests
2014-05-15 16:17:48 -07: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
9f662a69e1
validate all url parameters better
2014-02-01 12:08:48 +04:00
Alex Kocharin
6c838c7947
remove all replication-like functionality
...
apparently it was a bad idea, it's simpler to just run a single
sinopia instance as a master
TODO: write some help in readme about it
2013-12-27 17:23:14 +04:00
Alex Kocharin
f3f4fdc4ac
tests
2013-12-27 17:06:57 +04:00
Alex Kocharin
985d705ad2
working on tags / incomplete
2013-12-27 17:06:30 +04:00
Alex Kocharin
3b2bd161b7
logging bad versions
2013-12-21 16:09:29 +04:00
Alex Kocharin
a3a59aa8f3
reorganize tests, and add new ones
2013-12-19 19:11:54 +04:00
Alex Kocharin
d5d2a8bdcc
moving unit tests to separate folder
2013-12-16 00:54:50 +04:00