Commit graph

8 commits

Author SHA1 Message Date
Alex Grintsvayg
c99c2194fe
simplify logging 2018-09-27 14:10:27 -04:00
Alex Grintsvayg
874481205f
dont double-log 500s, allow errors.Base() to take args 2018-09-27 13:40:11 -04:00
Niko Storni
7294fd0181
add float support 2018-09-05 08:27:11 -04:00
Alex Grintsvayg
837e146b2b
fix wrong error code on wrapped status errors 2018-08-22 12:26:02 -04:00
Alex Grintsvayg
f06abb1f02
remove preset auth errors. they can be handled via StatusError without special cases 2018-08-22 12:05:32 -04:00
Alex Grintsvayg
91202ab6ff
small api fixes 2018-07-11 12:26:14 -04:00
Alex Grintsvayg
11f29a9d9e
export auth errors 2018-06-26 14:32:45 -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