Commit graph

188 commits

Author SHA1 Message Date
Niko Storni
34bb0baa4a
add slack logging
reduce claim name length (fees are too high)
delete videos in case of failure too
reduce synced videos to 1000 most recent
2018-07-12 08:21:15 -04:00
Niko Storni
b9f302e316
address more errors for better automation 2018-07-12 08:21:15 -04:00
Niko Storni
e600fb59fa
add fail state
add panic/edge cases
add marking channels as completed/failed
2018-07-12 08:19:05 -04:00
Niko Storni
c0be626ef2
add selfsync cmd
add tests
add more slack updates
remove unneded test
extract constants to own file
2018-07-12 08:19:05 -04:00
Niko Storni
7754abf1d0
add tests 2018-07-12 08:19:05 -04:00
Niko Storni
efd6a4b620
fix wallet refill handler
add slack logging
add PoC for channel fetching
2018-07-12 08:18:58 -04:00
Mark
06a20b7d5e
Merge pull request #21 from lbryio/cast_constraint_update
changed constraint as it affects internal-apis changes.
2018-07-11 12:43:39 -04:00
Mark Beamer Jr
3199079ffc changed constraint as it affects internal-apis changes. 2018-07-11 12:36:55 -04:00
Alex Grintsvayg
91202ab6ff
small api fixes 2018-07-11 12:26:14 -04:00
Alex Grintsvayg
2134a817f3
change bech32 prefix, add genesis hash, write our own DecodeAddress 2018-06-27 16:27:09 -04:00
Alex Grintsvayg
11f29a9d9e
export auth errors 2018-06-26 14:32:45 -04:00
Alex Grintsvayg
821cfb748e
refactor stopgroup to use context, which allows parent/child cancelations 2018-06-26 08:53:48 -04:00
Alex Grintsvayg
f0762e9c57
fix typo in dependencies 2018-06-13 12:44:09 -04:00
Alex Grintsvayg
de40df28c1
add Link to stop Stopper when an upstream Stopper is stopped 2018-06-13 12:37:21 -04:00
Niko Storni
d062d4ad7f
add travis CI 2018-06-11 17:53:30 -04:00
Niko Storni
e74070259e
update dependencies
fix issue preventing compilation
format project
2018-06-11 17:42:00 -04:00
Alex Grintsvayg
681a623ddf
update lockfile 2018-06-06 15:35:57 -04:00
Alex Grintsvayg
2162ea136a
Merge branch 'apiserver'
* apiserver:
  -Added API Server to lbry.go -Removed dependency on internal apis -Moved over only required packages. -Adjusted slack.go to be generic instead of hard coding channel name. -Moved over travis package from internal-apis -Added Repository struct for webhook and an IsMatch method. It is possible for any repository to send a webhook to the api and it will trigger a deploy. We should check against the owner, repo and branch. -Renamed package to api -removed util.Debugging from server.go -Added an ErrorHandling function that be used as interface for slack for internal-apis -Added Map for Header settings that can be set before the serving -Merged slack code from lbryio/boardbot -Cleaned up the slack.go code so it made more sense and flowed better -Removed gitignore entry for `.idea`, should be global -Removed debugging.go -Added option for private vs public repository for getting travis public key. -separated private vs public into if else. -Changed HeaderSettings to not be pointer. -Changed ErrorHandler to be named LogErrorFunc -removed logrus dependency, created loginfo function to handle non-error information. -Added Daemon Types and adjusted peer_list to be in line with v20 -Fixed rpcclient library usage for latest version to prevent build errors. -Changed inputs to LogError and LogInfo so that other implementations can make this customizable.
2018-06-05 15:15:03 -04:00
Mark Beamer Jr
afffa668a9 -Added API Server to lbry.go
-Removed dependency on internal apis
-Moved over only required packages.
-Adjusted slack.go to be generic instead of hard coding channel name.
-Moved over travis package from internal-apis
-Added Repository struct for webhook and an IsMatch method. It is possible for any repository to send a webhook to the api and it will trigger a deploy. We should check against the owner, repo and branch.
-Renamed package to api
-removed util.Debugging from server.go
-Added an ErrorHandling function that be used as interface for slack for internal-apis
-Added Map for Header settings that can be set before the serving
-Merged slack code from lbryio/boardbot
-Cleaned up the slack.go code so it made more sense and flowed better
-Removed gitignore entry for `.idea`, should be global
-Removed debugging.go
-Added option for private vs public repository for getting travis public key.
-separated private vs public into if else.
-Changed HeaderSettings to not be pointer.
-Changed ErrorHandler to be named LogErrorFunc
-removed logrus dependency, created loginfo function to handle non-error information.
-Added Daemon Types and adjusted peer_list to be in line with v20
-Fixed rpcclient library usage for latest version to prevent build errors.
-Changed inputs to LogError and LogInfo so that other implementations can make this customizable.
2018-05-27 11:30:04 -04:00
Alex Grintsvayg
2a6ea528bd
update stoponce 2018-05-24 12:59:34 -04:00
Alex Grintsvayg
a656ad8a14
add crypto package 2018-05-13 21:09:40 -04:00
Niko Storni
9ecbedadf5
add temporary limit for huge channels 2018-04-25 17:07:18 -04:00
Niko Storni
623a5971d9 human readable video names 2018-04-25 15:43:20 -04:00
Niko Storni
e976cd0fa0 add playlist position
add delete function
2018-04-25 14:56:26 -04:00
Niko Storni
5d6204a349
improve daemon shutdown detection 2018-04-24 14:50:10 -04:00
Niko Storni
160b08811f fix shutdown race condition
increase number of addresses to use
2018-04-20 15:06:55 -04:00
Niko Storni
540e9057e7
partially fix prefill error
skip failed videos rather than failing
2018-04-17 14:53:10 -04:00
Alex Grintsvayg
a5d371ca47
fix stoponce bug 2018-03-28 20:01:49 -04:00
Alex Grin
bc543a63e1
Merge pull request #5 from lbryio/unittests
Added unit tests for getting claimid. I based this off of a random se…
2018-03-25 16:24:49 -04:00
Mark Beamer Jr
8910639b59 Added unit tests for getting claimid. I based this off of a random selection of claims from the past year on the block chain. 2018-03-24 21:40:32 -04:00
Alex Grintsvayg
4c5d6ab161
channel_list_mine is now channel_list 2018-03-15 14:39:43 -04:00
Alex Grintsvayg
0b1546cc79
add util function for converting txid:nout to claimID 2018-03-15 10:47:16 -04:00
Niko Storni
4fda52d531
Merge branch 'youtube-lib-fix' 2018-03-13 18:17:21 -04:00
Niko Storni
5fa1681b82
update youtube download library 2018-03-13 17:48:13 -04:00
Niko Storni
4c2391030c
update dependencies 2018-03-13 17:27:32 -04:00
Alex Grintsvayg
8dd15ee220
add flag to manually refill credits into sync wallet 2018-03-12 16:58:37 -04:00
Alex Grintsvayg
263a6301a6
recover ytsync panics when processing videos, switch to our errors everywhere 2018-03-09 11:47:38 -05:00
Alex Grintsvayg
1b6c47c841
add daemon timeout option, stop ytsync gracefully during daemon startup 2018-03-08 19:42:50 -05:00
Alex Grintsvayg
f34354059f
more dep fixes 2018-03-08 19:42:42 -05:00
Alex Grintsvayg
998527e43b
Merge remote-tracking branch 'origin/dep-fix'
* origin/dep-fix:
  fix broken dependency
2018-03-08 19:28:55 -05:00
Niko Storni
0af16fd569
fix broken dependency
fix overlapping var
2018-03-07 12:27:09 +01:00
Alex Grintsvayg
fe6bc5bb14
Merge branch 'ucb'
* ucb:
  remove
  ucb
2018-03-01 14:30:01 -05:00
Alex Grintsvayg
9ceed077ff
remove 2018-03-01 14:25:13 -05:00
Alex Grintsvayg
258506d998
ucb 2018-03-01 14:23:25 -05:00
Alex Grintsvayg
2d3c89af28
add InSlice 2018-02-28 10:49:01 -05:00
Alex Grintsvayg
058f350ad0
seed rand, add dht command 2018-02-27 13:31:19 -05:00
Alex Grintsvayg
ef5a03747d
remove .idea from gitignore 2018-02-23 09:26:23 -05:00
Alex Grintsvayg
2bcf072aee
we dont use those 2018-02-22 14:20:40 -05:00
Alex Grintsvayg
2f0a1072e4
fix up lbrycrd 2018-02-22 14:17:22 -05:00
Alex Grintsvayg
49819382ac
fix package name 2018-02-22 13:26:13 -05:00