Commit graph

392 commits

Author SHA1 Message Date
Travis Eden
3eae4414ab add bidState parameter option 2018-10-19 11:36:42 -04:00
Jeremy Kauffman
5266f5bd7c
Merge pull request #640 from lbryio/multisite-access-fix
multisite access fix
2018-10-18 16:10:21 -04:00
Travis Eden
0753f5a58e filter by publisher_id rather than certificateId in getClaimIdAndServeAsset 2018-10-18 15:24:00 -04:00
Shawn
001b81b457 Temporary anti-spam solution 2018-10-18 12:05:01 -05:00
Travis Eden
7785320f49 filter claims by bid_state: 'Controlling' 2018-10-18 12:29:24 -04:00
Travis Eden
56b939d806 add faq 2018-10-17 17:04:14 -04:00
Travis Eden
e857a88e38 use channelId as argument variable 2018-10-17 12:17:51 -04:00
Shawn
7415ec87d1 Fix first load (publish) shortId's with daemon and chainquery 2018-10-12 01:00:07 -05:00
Thomas Zarebczan
b175f4e763
re-fix the fix
fcfc57dcfc

@skhameneh , looks like something recently brought back in old cold, possibly from the chainquery branch?
2018-10-11 01:50:04 -04:00
Shawn
2e45314610 Fix remaining chainquery exceptions and bad logic 2018-10-10 12:19:51 -05:00
Shawn
bb81441357 Fix exceptions and incorrect logic around chainquery 2018-10-10 11:28:53 -05:00
Shawn
f8f611905b Fix channel names not showing on view pages 2018-10-09 19:11:06 -05:00
Shawn
42ef398107 User anumeration for bid_state 2018-10-09 13:18:02 -05:00
Shawn
bacb05abe8 Fix minor exception in getting claimId util, fix metrics 2018-10-09 13:10:06 -05:00
Shawn
4aaff575b3 Remove old column 2018-10-09 09:57:09 -05:00
Shawn
0be8422e65 Remove deprecated index (until an async context allows support) 2018-10-08 19:15:44 -05:00
Shawn
4395579fca Remove deprecated index (until an async context allows support) 2018-10-08 19:13:24 -05:00
Shawn
29fe0cb9b8 Remove deprecated index (until an async context allows support) 2018-10-08 19:13:03 -05:00
Shawn
a695516d67 Merge branch 'add-chainquery' of https://github.com/lbryio/spee.ch into add-chainquery 2018-10-08 19:09:04 -05:00
Shawn
860c61dc47 Fix chainquery bugs and add initial metrics implementation 2018-10-08 19:02:05 -05:00
Minesh Mitha
5f99629930 Feather icons added, use click to copy, scss added to fit in icon + Lora font. 2018-10-08 20:51:09 +01:00
Shawn K
5a7e10574f
Merge branch 'master' into add-chainquery 2018-10-08 12:16:12 -05:00
Shawn
580ca10a8e Finish chainquery changes (required for metrics/migrations/trending, moving to new PR) 2018-10-08 12:14:31 -05:00
Travis Eden
fa592d2aac add terms of service 2018-10-05 11:26:43 -04:00
Travis Eden
e5132f19c3 use proper error checks; return only error message 2018-10-05 09:36:25 -04:00
Travis Eden
90a5dcf54d add quotes to bid amount 2018-10-05 09:15:31 -04:00
Shawn
158f0b4863 Add context & dynamic route sagas, req for Osprey features 2018-09-27 22:56:10 -05:00
Shawn
ec2aea5972 Unify routes/rendering 2018-09-25 21:43:57 -05:00
Shawn
c9fdc9c3cf Move channels and claims to chainquery 2018-09-25 20:20:59 -05:00
Travis Eden
50cbe12649 use constants to refer to claim length, longId, shortId 2018-09-24 09:26:58 -04:00
Travis Eden
ee1e20bd14 handle exceptions together 2018-09-24 09:26:16 -04:00
Travis Eden
6d6bb40fe6 move approved channel check to its own method 2018-09-24 09:22:28 -04:00
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
bill bittner
a8cfbd3c9e added a direct serve route 2018-06-25 18:42:30 -07:00
bill bittner
1b1ebb1b7c updated the constants used for determining request type 2018-06-25 15:01:50 -07:00
bill bittner
5db0d3f6b8 added a route to return publishing configs 2018-06-23 14:12:50 -07:00
bill bittner
391592f1b8 updated response code to 503 for disabled publishing 2018-06-23 13:53:35 -07:00
bill bittner
f9db87109c added a check on api/claim/publish for disabled publishing 2018-06-23 13:19:58 -07:00
bill bittner
9e1c7afa55 added publish request info logging 2018-06-23 10:57:04 -07:00
bill bittner
87acd65d2d commented out social bot list check 2018-06-22 15:28:35 -07:00
bill bittner
72d05c2451 vertically aligned channel contents and reversed their order 2018-06-14 13:06:19 -07:00
bill bittner
49715e742e added horizontal quad split for channel content 2018-06-11 11:36:32 -07:00
bill bittner
149af453f4 resolved merge conflicts 2018-06-07 13:46:17 -07:00
bill bittner
01802e2961 fix site config ending 2018-06-07 11:53:57 -07:00
bill bittner
4e35838da3 aliased password reset config 2018-06-07 11:50:52 -07:00
Bill Bittner
7249088a89
Merge pull request #470 from lbryio/fix-configs-loading
Fix configs loading
2018-06-07 10:40:00 -07:00
bill bittner
18953ed702 escape hatch for analytics events and removed unnecessary console logs 2018-06-07 10:33:15 -07:00
bill bittner
bf771998a8 added debug log back 2018-06-06 15:59:30 -07:00
bill bittner
f41ac47c3e rebuilt without console logs 2018-06-06 15:12:07 -07:00
bill bittner
60a74b51af changed reducers etc to take configs directly via alias 2018-06-06 12:01:11 -07:00
bill bittner
7c847ceea8 added module aliasing 2018-06-06 08:30:30 -07:00
bill bittner
a1210149b3 removed .js suffix from config 2018-06-05 19:34:24 -07:00
bill bittner
70393d4eb4 updated lbryApi config format 2018-06-05 19:05:26 -07:00
bill bittner
c1f5552e99 removed configs and moved logging and slack configuration to server/utils/ 2018-06-05 18:55:44 -07:00
bill bittner
6851ace4dd updated siteConfig logging 2018-06-05 18:01:29 -07:00
bill bittner
3f5b20f5db changed functions to consts 2018-06-05 16:24:27 -07:00
bill bittner
58660b0a20 fixed publish preview columns 2018-06-02 20:58:54 -07:00
bill bittner
a93237cf10 updated debug console logs 2018-05-31 09:38:11 -07:00
bill bittner
b4fb633c23 fixed a few bugs 2018-05-31 09:36:45 -07:00
bill bittner
7b644f9991 added route and controller for updating user password 2018-05-30 18:52:13 -07:00
bill bittner
6132ef2959 moved scss folder 2018-05-30 18:07:24 -07:00
bill bittner
30462a9d05 updated html render to use new style.css 2018-05-30 15:18:03 -07:00
bill bittner
cf7310adad Revert "Revert "added referrer to serve event analytics""
This reverts commit b569bfdca6.
2018-05-25 09:34:09 -07:00
bill bittner
b569bfdca6 Revert "added referrer to serve event analytics"
This reverts commit 0c9e47546c.
2018-05-25 09:30:28 -07:00
bill bittner
0c9e47546c added referrer to serve event analytics 2018-05-25 09:28:03 -07:00
bill bittner
7c18a82d38 rebuild render 2018-05-23 11:16:47 -07:00
bill bittner
14022d78ca transpiled 2018-05-23 01:18:50 -07:00
bill bittner
07b1d9dabd removed serialize/deserialise user console logs 2018-05-18 10:58:16 -07:00
bill bittner
8118d5b196 added check for lbrynet via startup wallet balance check 2018-05-17 18:11:22 -07:00
bill bittner
10c6fb611f removed error test log and added db creation 2018-05-17 14:42:58 -07:00
bill bittner
efd2f3bf23 removed symbol based operators 2018-05-14 15:23:50 -07:00
bill bittner
b37f03ca9d removed the viewsConfig 2018-05-13 22:39:08 -07:00
bill bittner
4afd0c7de0 removed passing of custom views config 2018-05-13 22:37:26 -07:00
bill bittner
f2794c4334 removed passing of custom views 2018-05-13 11:47:57 -07:00
bill bittner
dc98b653d7 added /multisite route 2018-05-09 23:52:43 -07:00
bill bittner
33b96099ad removing sendFile error catch 2018-05-07 11:03:30 -07:00
bill bittner
a82f5990f4 added file path to send file warning 2018-05-07 10:51:13 -07:00
bill bittner
7044a09cd6 added error chck for file sending 2018-05-04 11:36:09 -07:00
bill bittner
d817ab02b0 updated auth routes for login check and logout 2018-05-04 10:11:53 -07:00
bill bittner
52f2416d88 added claim availability check for channels via saga 2018-05-03 22:51:01 -07:00
bill bittner
9a7fdf4834 updated route to add the @ for channels 2018-05-03 20:32:54 -07:00
bill bittner
8b808b2c10 updated channel availability route 2018-05-03 15:47:58 -07:00
bill bittner
3935fb1af0 removed console log 2018-05-03 15:25:44 -07:00
bill bittner
fac77b2524 updated back end to send availability and message 2018-05-03 15:22:29 -07:00
bill bittner
c439e3d971 added a debug for the publish params 2018-05-02 18:16:23 -07:00
bill bittner
05822c393c rebuild jsx pages 2018-05-02 11:52:19 -07:00
bill bittner
69ebce3efd updated channel long id retrieval to match claims pattern 2018-04-30 15:58:04 -07:00
bill bittner
47a3fb865b updated http response code to 451 2018-04-30 15:36:03 -07:00
bill bittner
6c97b40c32 added api endpoint to trigger blocked-list refresh 2018-04-29 15:30:11 -07:00
bill bittner
bbd691018b updated api/longId route 2018-04-29 13:00:41 -07:00
bill bittner
d57a6b3340 added check for blocked content and updated claimid flow to use rejected promises 2018-04-29 12:17:23 -07:00
bill bittner
c89fdd390e added blocked model 2018-04-29 10:31:26 -07:00
bill bittner
b5c486c4ac added blocked model 2018-04-27 15:17:09 -07:00
bill bittner
060af3a957 organized auth, fallback, and page controllers; 2018-04-27 14:29:00 -07:00
bill bittner
c30b2158b3 organized assets controllers 2018-04-27 10:24:40 -07:00
bill bittner
aa1834e1c6 organized api controllers and helpers 2018-04-27 09:54:36 -07:00
bill bittner
dd012282d3 reorganized controllers into folders by route 2018-04-26 23:42:22 -07:00
bill bittner
b785edf100 moved remaining helpers except for publishHelpers 2018-04-26 19:19:11 -07:00
bill bittner
cfb7e47fbd reorganized half of the helper functions 2018-04-26 18:50:47 -07:00
bill bittner
ce9ce46b6d fixed relative path in embed page 2018-04-18 12:17:01 -07:00
bill bittner
8994b3b9c5 fixed location of SSR files 2018-04-18 12:11:25 -07:00