Commit graph

341 commits

Author SHA1 Message Date
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
bill bittner
8bf3a0753e added babel to transpile SSR jsx 2018-04-18 12:01:26 -07:00
bill bittner
bff7027828 fixed additional relative paths 2018-04-18 11:07:54 -07:00
bill bittner
fac6464679 removed extra comma in local-login 2018-04-18 11:00:39 -07:00
bill bittner
6bed683d9f finished first pass at updating relative paths 2018-04-17 14:57:45 -07:00
bill bittner
7ad111413c removed webpack and started fixing relative routes 2018-04-17 14:54:10 -07:00
bill bittner
2847060144 simplified config methods in server class 2018-04-17 14:23:03 -07:00
bill bittner
6476121de8 removed testing logs and rebuilt 2018-04-08 19:54:09 -04:00
bill bittner
e6ade3b728 updated default public folder to "public" 2018-04-02 12:20:26 -07:00
bill bittner
0723b52fd7 updated the default warning and path for static content path 2018-04-02 12:14:23 -07:00
bill bittner
da6fe2dc1d fixed showpage SSR to use proper Saga and Action 2018-04-02 11:30:24 -07:00
bill bittner
e52a4826ba removed un-used handlebars partials 2018-04-02 10:18:23 -07:00
bill bittner
b445b54aa4 renamed configureSiteDetails() -> configureSite() 2018-04-02 10:11:49 -07:00
bill bittner
8ef29f2d68 updated SSR to create custom GA listener from siteConfig 2018-03-31 18:27:24 -07:00
bill bittner
ba01ce8e68 updated siteConfig to separate custom containers, components, and pages 2018-03-31 17:49:19 -07:00
bill bittner
e230ff95d1 this package now works for custom pages 2018-03-31 13:46:42 -07:00
bill bittner
d0c13dafdc rebuilt and bumped version 2018-03-31 12:23:18 -07:00
bill bittner
579bf87637 committing build that works with spee.ch-components (although no custom homepage yet or GAListener yet) 2018-03-31 11:59:37 -07:00
bill bittner
9f3ed8c804 incorporated spee.ch-components 2018-03-31 00:20:27 -07:00
bill bittner
d52e5bf29a updated server startup to use a custom public folder 2018-03-29 18:25:50 -07:00
bill bittner
3a80c4fd3b added config var for public static folder 2018-03-29 16:10:56 -07:00
bill bittner
506c99666e fixed db import statements 2018-03-29 14:05:15 -07:00
bill bittner
fe5e9cce40 updated startup configs 2018-03-29 12:46:20 -07:00
bill bittner
3e67c784a0 updated mysql config file 2018-03-29 12:33:52 -07:00
bill bittner
6e46e3271d created bundle 2018-03-29 12:21:23 -07:00
bill bittner
c67a25ca2c fixed auth, fallback, and pages routes 2018-03-29 11:40:47 -07:00
bill bittner
9523890b65 fixed api and assets routes 2018-03-29 11:24:52 -07:00
bill bittner
d1ef102f0b renamed claimList and updated bundle 2018-03-29 10:52:27 -07:00
bill bittner
747fd0afaf added App to bundle 2018-03-29 10:01:01 -07:00
bill bittner
1ad7c60b1a updated page routes 2018-03-29 09:48:32 -07:00
bill bittner
daf6765f41 removed relative paths 2018-03-29 09:26:55 -07:00
bill bittner
86ede21445 updated auth routes 2018-03-28 22:06:08 -07:00
bill bittner
318fa626fe updated api and asset route folders 2018-03-28 17:35:41 -07:00
bill bittner
2cc261f072 narrowed down to one api route and got it working 2018-03-27 18:25:23 -07:00
bill bittner
195f193259 moved passport info into package 2018-03-27 16:08:01 -07:00
bill bittner
955a2f5e14 added console logs to config startups 2018-03-27 13:21:59 -07:00
bill bittner
ca787f3150 removed server and update route and config exports 2018-03-27 12:32:07 -07:00
bill bittner
4a3ec31bc7 fixed component lib export 2018-03-21 21:53:25 -07:00
bill bittner
94d4626ccf added dynamic imports of components 2018-03-21 17:35:51 -07:00
bill bittner
6713d660b3 got components exporting properly 2018-03-20 17:08:30 -07:00
bill bittner
e3f1dbdf5e moved /server to /server/server.js 2018-03-20 12:52:34 -07:00
bill bittner
aa3c96b8d4 moved server.js entry to root and updated build 2018-03-16 13:16:28 -07:00
bill bittner
c23b6192f9 reorganized file system 2018-03-16 10:34:26 -07:00