Commit graph

260 commits

Author SHA1 Message Date
Travis Eden
69f82d814b refactor isApprovedClaim to claims folder shared by client and server 2018-09-21 16:16:01 -04:00
Travis Eden
208c56366f refactor error messages for unavailable content 2018-09-20 14:09:01 -04:00
Travis Eden
0a74e50167 refactor channel checks with isApprovedChannel 2018-09-20 13:34:53 -04:00
Travis Eden
845a0a3b01 disable signup when closedRegistration 2018-09-19 15:14:20 -04:00
Travis Eden
815149a2cd reject publishes for unapproved channels when publishOnlyApproved 2018-09-19 13:29:56 -04:00
Travis Eden
1358215e6f reject requests for content from unapproved channels when serveApprovedOnly 2018-09-19 13:30:02 -04:00
Alex Grintsvayg
3ca7f62414 fixed embed view path. fixes #597 2018-09-12 17:08:37 -04:00
Shawn
a25e736ee1 Add chainquery dependencies for Spee.ch, does not include migrations 2018-09-04 17:40:14 -05:00
Shawn
92cd020c58 Fix content-type and file extensions (enforce image/jpeg and .jpg) 2018-09-03 21:43:12 -05:00
Shawn
4c81ed7b7c Update babel packages to match major, fix dependency issues 2018-09-02 18:48:35 -05:00
bill bittner
2a1324294c updated delete file logging 2018-08-20 12:27:52 -07:00
Travis Eden
21551e6fbb get claimId from publishResults 2018-08-15 16:29:15 -04:00
Travis Eden
e542e6962d return default block height of 100000 2018-08-15 16:29:11 -04:00
bill bittner
14f7e1b7b4 only create File record if file is completed 2018-08-09 11:06:32 -07:00
bill bittner
5d6d9cf474 cosmetic change to promise chain 2018-08-09 09:46:25 -07:00
bill bittner
764f4d4b6f updated Claim model to return proper error if no matching claim id found 2018-08-08 11:39:35 -07:00
bill bittner
16c7b20fbc removed logger 2018-08-07 12:54:13 -07:00
bill bittner
e2a3039e4e set height on new publishes to current height in Claim db 2018-08-02 15:54:23 -07:00
bill bittner
d2eaaae759 removed duplicate lbryUri parser module 2018-08-01 17:31:20 -07:00
bill bittner
517d1b2a95 removed redundant config check 2018-08-01 11:17:04 -07:00
bill bittner
095ff9be98 removed commented dead code 2018-08-01 10:43:41 -07:00
bill bittner
ae1578546e updated readme 2018-08-01 10:25:35 -07:00
bill bittner
60ffe5de95 cleaned up errors and updated build scripts 2018-07-31 16:43:08 -07:00
bill bittner
dc558e9b9c moved www.spee.ch components into repo 2018-07-31 16:01:16 -07:00
bill bittner
ece07b12d1 switched hard coding for configs on channel logic 2018-07-31 09:24:03 -07:00
bill bittner
f42cc51d12 switched hard coding for configs 2018-07-31 09:20:56 -07:00
bill bittner
995d3f138b Merge branch 'master' of github.com:lbryio/spee.ch into 358-oEmbed 2018-07-31 09:14:18 -07:00
bill bittner
4baf06a57b removed imagemagick npm package 2018-07-31 09:05:39 -07:00
bill bittner
a91be45938 removed comments in serve route handlers 2018-07-30 17:02:18 -07:00
bill bittner
76a3af4522 moved speech url parser to own file 2018-07-30 16:50:36 -07:00
bill bittner
e22b676581 added channel oEmbed route 2018-07-30 15:51:01 -07:00
bill bittner
b401919bb4 updated serve url 2018-07-30 15:23:26 -07:00
bill bittner
abe405c1b5 inserted check for xml requests 2018-07-30 14:50:10 -07:00
bill bittner
79109cce69 replaced oembed route logic with two files 2018-07-30 14:22:02 -07:00
bill bittner
5230970705 updated process for getting file record in serve logic 2018-07-30 13:48:47 -07:00
bill bittner
7237899e77 fixed regex 2018-07-30 10:02:08 -07:00
bill bittner
3d7fa83e78 working on regex 2018-07-27 18:40:57 -07:00
bill bittner
67e7a6f5b9 fixed regex and oebed url creator 2018-07-27 15:56:56 -07:00
bill bittner
3a46a3714e updated publish flow and returned to image-size 2018-07-27 12:31:08 -07:00
bill bittner
0037addcda updated the publish logic 2018-07-27 11:05:10 -07:00
bill bittner
27eddbe42e wrapped imagemagic functions in promises 2018-07-27 10:43:43 -07:00
bill bittner
41ccf06370 added imagemagic and created media processing wrapper modules 2018-07-27 09:58:00 -07:00
bill bittner
aa1784417e added async await for dimension processing 2018-07-26 18:40:46 -07:00
bill bittner
59cb5b24ee updated code formatting 2018-07-26 17:57:26 -07:00
bill bittner
62137f3ca9 refactored File and Claim data creating functions 2018-07-26 13:48:53 -07:00
bill bittner
0b52a819c0 removed Request table 2018-07-26 10:23:31 -07:00
bill bittner
82f56ccc9a simplified File data creation 2018-07-25 17:29:59 -07:00
bill bittner
2d7dbdc8a0 added a migration for File table 2018-07-25 17:21:02 -07:00
bill bittner
0f6193b450 added migration for db 2018-07-25 14:25:40 -07:00
bill bittner
195d22bece changed "embed" to "serve" for terminology accuracy 2018-07-19 08:55:47 -07:00
bill bittner
9df3d68cf0 hoisted variables 2018-07-18 16:23:58 -07:00
bill bittner
792fd0ab06 updated long url routes 2018-07-18 16:17:20 -07:00
bill bittner
7dea5d5cd4 updated short url route 2018-07-18 16:05:50 -07:00
bill bittner
651f90cad9 fixed client wants asset override 2018-07-18 15:33:11 -07:00
bill bittner
2311d4c70d added check for channel request on raw claim url 2018-07-17 16:07:50 -07:00
bill bittner
3dd6940f5a fixed merge conflicts 2018-07-17 15:37:09 -07:00
bill bittner
ce26bc89b8 replaced all /asset/ urls with .ext urls 2018-07-17 14:53:26 -07:00
bill bittner
4cd3eb851a updated response type decision tree 2018-07-17 14:44:15 -07:00
bill bittner
925d025295 updated serve and show urls in publish response 2018-07-17 12:23:14 -07:00
Bill Bittner
c4cc953d01
Merge pull request #529 from lbryio/515-app-thumbnails
added embed url to api return
2018-07-17 11:10:39 -07:00
bill bittner
93325c3e98 added url property back to response for app backwards compatability 2018-07-17 11:07:41 -07:00
bill bittner
573f7f87ca added embed url to api return 2018-07-16 14:57:26 -07:00
bill bittner
7400fba3ad removed X-Frame-Option from video-embed response headers 2018-07-12 12:44:53 -07:00
bill bittner
c0418409bf merged conflicts from master 2018-07-11 17:14:46 -07:00
bill bittner
9370dc303d changed embedded urls to use /asset route 2018-07-10 13:07:50 -07:00
bill bittner
6fe04b13ce removed default jpg content type and added missing content type error 2018-07-07 15:03:21 -07:00
bill bittner
5f486e3d50 fixed content type error message for accuracy 2018-07-06 17:41:17 -07:00
bill bittner
fd4f745dc1 removed console log 2018-07-06 17:39:07 -07:00
bill bittner
93d23a3721 added check for file name in publish requests 2018-07-04 17:02:43 -07:00
bill bittner
af0595641a testing iframe page 2018-07-02 22:47:18 -07:00
bill bittner
67b5887ba5 fixed layout path 2018-07-02 18:22:06 -07:00
bill bittner
f760346265 fix: startup blocked list refresh 2018-07-02 15:27:42 -07:00
bill bittner
fda50b90bd removed catch/throw 2018-07-02 14:53:50 -07:00
bill bittner
bf30c9f8a0 fixed blocked check on api 2018-07-02 13:53:52 -07:00
bill bittner
63b9f27d33 changed blocked list to be outpoint based 2018-06-29 20:34:48 -07:00
bill bittner
5cad30068f changed indexOf to includes 2018-06-29 12:34:31 -07:00
bill bittner
6d071ae034 changed social bot list to array 2018-06-29 11:25:59 -07:00
Bill Bittner
9a1c319f82
Merge branch 'master' into refresh-blocked-list-on-start 2018-06-29 08:53:58 -07:00
bill bittner
778d75931d made the timeout a config value 2018-06-29 08:31:47 -07:00
bill bittner
bd67fdf974 updated timeout from 20 to 30 seconds 2018-06-29 08:25:39 -07:00
bill bittner
60ee901faf moved response into middleware 2018-06-28 17:58:51 -07:00
bill bittner
d01db5b5df added body to publish logging 2018-06-28 13:22:52 -07:00
bill bittner
752d679d4f updated startup to refresh blocked list 2018-06-28 13:16:48 -07:00
bill bittner
7a0a4820c9 added back publish request logging 2018-06-28 12:30:32 -07:00
bill bittner
ad23708cd6 added Tor list referesh method to model 2018-06-28 10:39:46 -07:00
bill bittner
faf7f5702b changed tor response to 403 2018-06-28 09:48:16 -07:00
bill bittner
f5e01840e3 added logging 2018-06-27 21:27:38 -07:00
bill bittner
a46b157fe1 added tor middleware response handling 2018-06-27 18:10:47 -07:00
bill bittner
aed4e05b24 fixed findall raw query 2018-06-27 17:56:28 -07:00
bill bittner
a3df219684 updated tor check to use site ip config 2018-06-27 17:39:41 -07:00
bill bittner
6aaa6bd0aa added an endpoint to update tor node list 2018-06-27 17:30:26 -07:00
bill bittner
bcca1e1df2 added a Tor model 2018-06-27 15:11:25 -07:00
bill bittner
097ef744d7 updated logging 2018-06-27 15:01:40 -07:00
bill bittner
67601ea97f added torCheck to middleware 2018-06-27 14:23:14 -07:00
Bill Bittner
536dfc9ccd
Merge pull request #492 from lbryio/465-social-share-with-extensions
465 social share with extensions
2018-06-27 09:51:51 -07:00
bill bittner
b2053a219e simplified if statement 2018-06-27 09:48:18 -07:00
bill bittner
88097ab151 used object pattern over array 2018-06-27 09:45:09 -07:00
bill bittner
ca22bbb0cc fixed extra semicolon in meta tags 2018-06-25 23:30:21 -07:00
bill bittner
824b5b4c82 updated seo tags to match routes 2018-06-25 19:04:17 -07:00
bill bittner
6ee72dabbb commented out logs 2018-06-25 18:51:54 -07:00