Commit Graph

548 Commits

Author SHA1 Message Date
Marius bcea96b88e Add test for complete upload notifications using Concatenaiton 2016-03-12 22:52:31 +01:00
Marius af0c1bf4ca Add test for complete upload notifications 2016-03-12 22:44:54 +01:00
Marius acf2e8daee Improve documentation for complete uploads notifications 2016-03-12 22:28:24 +01:00
Marius 3ee1c61d80 Add post-terminate hook 2016-03-12 22:24:57 +01:00
Marius 5aa7928111 Embed UnroutedHandler into Handler 2016-03-12 22:01:12 +01:00
Marius 4191b2a821 Dcoument Config.StoreComposer 2016-03-12 16:51:00 +01:00
Marius e6e6637693 Merge branch 'master' of github.com:tus/tusd 2016-03-11 22:05:24 +01:00
Marius 8e6a6fbf5a Merge branch 'composer'
Conflicts:
	cmd/tusd/main.go
2016-03-11 22:05:01 +01:00
Marius e37f8f89b0 Improve README's content 2016-03-11 21:50:00 +01:00
Marius 2e44bad1b0 Add tests for Config structure 2016-03-11 20:46:34 +01:00
Marius be8fd83d0d Document functions for handling StoreComposers 2016-03-11 20:17:43 +01:00
Marius ab1c5be7d6 Protect map using a mutex 2016-03-04 22:27:44 +01:00
Marius f9a59a552f Document New() functions 2016-03-04 22:25:15 +01:00
Marius dea20c74f5 Add example for NewStoreComposer() 2016-03-04 22:14:46 +01:00
Marius 77b90ad317 Add UseIn() function for ConsulLocker 2016-03-04 22:14:09 +01:00
Marius 24e481c10c Add documentation about using tusd 2016-03-04 22:13:13 +01:00
Marius 611f4decb6 Add some comments for tusd(1) 2016-02-23 14:55:19 +01:00
Marius 0a43ce5663 Update greeting 2016-02-23 14:36:36 +01:00
Marius f3aba69ca1 Display a lovely greeting at the root route
Closes #39
2016-02-22 19:08:07 +01:00
Marius 03ab994a4e Merge branch 'master' into composer 2016-02-22 14:12:24 +01:00
Marius c542a657ff Exclude .hooks direcory from tests 2016-02-22 14:08:24 +01:00
Marius d5d0452c36 Rename postfinish hook to post-finish 2016-02-22 14:04:14 +01:00
Marius 0070379a91 Pass info object as JSON blob to hook 2016-02-22 13:59:28 +01:00
Marius a949cb6b81 Set proper offset for complete notifications 2016-02-22 13:58:05 +01:00
Marius dbd4d54b4d Add postfinish hook 2016-02-22 12:53:15 +01:00
Marius 4675d90a4e Merge branch 'master' of github.com:tus/tusd into composer
Conflicts:
	cmd/tusd/main.go
2016-02-22 12:21:23 +01:00
tim-kos 67d7757e9f fix hardcoded basePath 2016-02-22 12:11:42 +01:00
Marius 1cee5eb0f3 Correct description of max-size flag 2016-02-22 11:55:56 +01:00
Marius aaf36de210 Print capabilities of data store at start time 2016-02-22 11:00:20 +01:00
Marius 27866110c3 Merge branch 'master' into composer 2016-02-21 23:39:37 +01:00
Marius eb9100e9bb Use stat(2) for calculating file's offset 2016-02-21 23:38:38 +01:00
Marius 21ae1c45a7 Add initial draft of StoreComposr 2016-02-21 23:25:35 +01:00
Marius 13c27e1c19 Send Upload Complete Notification for concatenations 2016-02-21 18:38:43 +01:00
Marius 7ac6cf12c7 Remove useless region check 2016-02-21 18:20:31 +01:00
Marius 7d304082ea Test Golang 1.6 Release Candidate 2 2016-02-11 16:22:19 +01:00
Marius 35e024c736 Remove Go 1.2 as supported target 2016-02-11 16:21:58 +01:00
Marius 075cc584e3 Update dependencies 2016-02-11 16:15:25 +01:00
Marius 290d03aff9 Add locking using Consul 2016-02-11 16:04:50 +01:00
Marius c7ce14fbdc Fix documentation styling for memorylocker 2016-02-11 15:58:36 +01:00
Marius 11b92b91c2 Provide better URL to S3 consistency models 2016-02-11 12:23:46 +01:00
Marius bbf706622c Implement Concatentation extension for S3Store 2016-02-03 21:18:21 +01:00
Marius 9cd15b2a0f Expose additional interfaces in LimitedStore
Previously if a DataStore would be embedded as a TerminaterDataStore inside
a LimitedStore. This makes additional interfaces, such as GetReaderDataStore,
inaccessible since we are not able to cast a LimitedStore to
GetReaderDataStore. The solution was to manually expose the specific methods
although this is definitly not the nicest solution.
2016-01-27 15:18:37 +01:00
Marius ff11b6a274 Add test for FileStore.ConcatUploads 2016-01-23 22:55:08 +01:00
Marius bf4762ffd5 Remove unused GetReader function from tests
Obsolent sine the DataStore interface does not require
GetReader() any more.
2016-01-23 22:45:31 +01:00
Marius db9204927d Merge branch 'forwarded-host' 2016-01-23 14:11:47 +01:00
Marius 35b51812d5 Use correct flag for passing ldflags to goxc 2016-01-23 13:19:03 +01:00
Marius 2a84435974 Add version information for tusd builds 2016-01-23 12:43:50 +01:00
Marius 0e750291c9 Use assertions library for tests 2016-01-20 16:40:19 +01:00
Marius b6a28421af Extract concatenation into own interface 2016-01-20 15:33:17 +01:00
Marius bfde73ff89 Test interface implementations for data stores 2016-01-19 22:37:05 +01:00