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
9ff1203688
throw away incomplete downloads
2014-03-07 19:48:24 +00:00
Alex Kocharin
9c4c93695b
fix crash in #52
2014-03-07 18:20:41 +00:00
Alex Kocharin
440f42415c
adding test for invalid tags, fixes #40
2014-02-03 00:50:51 +04:00
Alex Kocharin
9f662a69e1
validate all url parameters better
2014-02-01 12:08:48 +04:00
Alex Kocharin
2add883370
adding config param to specify upload limits, fixes #39
2014-01-18 23:04:12 +04:00
Alex Kocharin
e522347667
making loose semver versions work, ref #38
2014-01-18 22:57:44 +04:00
Alex Kocharin
5d19b66290
adding integration tests
2013-12-30 12:25:26 +04:00
Alex Kocharin
02f8143097
tests for tags support
2013-12-29 10:40:47 +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
Alex Kocharin
ef61515f28
try to fetch package from uplinks if user requested a tarball we don't know about
...
closes #29 + tests fix
2013-12-15 03:15:58 +04:00
Alex Kocharin
19e4d78197
test suite for #29 (nothing is fixed yet)
2013-12-13 20:49:48 +04:00
Alex Kocharin
ee16b06b3a
style fix
2013-12-13 18:00:46 +04:00
Alex Kocharin
c75249b5b0
commenting out tests that doesn't work yet
2013-12-12 02:02:20 +04:00
Alex Kocharin
942a7747ac
fixing tests
2013-12-12 02:01:23 +04:00
Alex Kocharin
203f0300e3
Merge branch '0.5.x' of github.com:rlidwka/sinopia
...
Conflicts:
lib/storage.js
test/start.sh
2013-12-12 01:44:29 +04:00
Alex Kocharin
7ee2361700
better tests for various tags (including bad ones), ref #21
2013-12-12 01:22:35 +04:00
Alex Kocharin
47a92ff273
fail-safe semver parsing + tests, ref #25
2013-12-12 00:51:48 +04:00
Brett Trotter
0b286d1fe3
exit with appropriate status code
2013-12-11 09:04:35 -06:00
Alex Kocharin
bbb402f762
detecting http loops
2013-12-09 07:59:31 +04:00
Alex Kocharin
2f45649a2c
improving tags support, ref #8
2013-12-08 02:55:50 +04:00
Alex Kocharin
98d2c3ae18
tests fix
2013-11-24 21:13:21 +04:00
Alex Kocharin
13242c8237
add proxy support, fix #13
2013-11-24 21:07:18 +04:00
Alex Kocharin
aca1dc57d7
taking $PATH into account when launching tests
2013-10-28 10:01:27 +04:00
Alex Kocharin
5da3c8ba58
transaction stub
2013-10-26 15:43:42 +04:00
Alex Kocharin
78f856cf81
shasum check for uploaded tarballs
2013-10-22 11:45:19 +04:00
Alex Kocharin
8b314040d9
fixing race conditions when updating package data
2013-10-22 09:10:25 +04:00
Alex Kocharin
015623f9ae
making various test cases work
2013-10-11 13:50:41 +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
cd9f0d7044
disabling loop tests for a while
2013-09-29 08:05:20 +04:00
Alex Kocharin
21ad8945d9
update
2013-09-28 20:46:55 +04:00
Alex Kocharin
f92a839a7f
test stuff
2013-09-28 15:14:51 +04:00
Alex Kocharin
c8bb68a4aa
adding package version to remote repository
2013-09-28 15:08:38 +04:00
Alex Kocharin
0173c55ead
publishing package to all relevant uplinks
2013-09-28 14:59:05 +04:00
Alex Kocharin
57b34a7637
config files splitting + fwd
2013-09-27 16:36:10 +04:00
Alex Kocharin
5dbc825892
through -> streams2 migrate - final
2013-09-27 15:31:28 +04:00
Alex Kocharin
361d653613
testing fetching files from uplinks
2013-09-27 12:56:44 +04:00
Alex Kocharin
102b125f14
moving to mocha for tests
2013-09-27 10:16:46 +04:00
Alex Kocharin
683f4657e4
forking 2 servers for tests
2013-09-27 08:57:09 +04:00
Alex Kocharin
6dc6f31579
better tests
2013-09-27 06:27:11 +04:00
Alex Kocharin
709ffe8e39
tests
2013-09-25 14:01:55 +04:00
Alex Kocharin
6c78876dcd
starting to write tests
2013-09-25 12:10:12 +04:00