Commit graph

232 commits

Author SHA1 Message Date
bill bittner
994b3c6ce4 fixed issue with getClaimIdByLongChannelId 2017-08-22 16:14:42 -07:00
bill bittner
5078d4e906 added support for partial channel names 2017-08-22 15:50:20 -07:00
bill bittner
28ab926ef9 added support for channel with full id 2017-08-21 18:03:57 -07:00
bill bittner
bb243cf459 fixed html embed on img show route 2017-08-20 16:56:37 -07:00
bill bittner
cd0b19f798 removed unused files 2017-08-16 13:36:16 -07:00
bill bittner
ed68514b8f updated serve's get process to use local resolve 2017-08-16 12:23:02 -07:00
bill bittner
dd762ec10b updated publish controller 2017-08-16 11:00:17 -07:00
bill bittner
cddd7ac3b2 updated /all route and getTopFreeClaim 2017-08-16 00:40:49 -07:00
bill bittner
5b87c53aa3 updated local sql queries 2017-08-16 00:03:26 -07:00
bill bittner
bd7c6ed16a fixed script to update Claim amount 2017-08-15 18:24:15 -07:00
bill bittner
4981551c59 replaced getAllFreePublicClaims with calls to Claim table 2017-08-15 15:35:03 -07:00
bill bittner
13c5f5dfdb created local version of lbry api 2017-08-15 13:48:42 -07:00
bill bittner
ddc823aaec Merge branch 'master' of github.com:lbryio/spee.ch into claim-table 2017-08-14 10:54:07 -07:00
bill bittner
42924f0de8 updated short url algo to handle case of other claims but no matching prefix 2017-08-10 13:04:31 -07:00
bill bittner
4b3d6f72cc changed 'short url' to 'short id' 2017-08-10 10:49:19 -07:00
bill bittner
dcaa561e8f added Claim table with modelwrapper for special functions 2017-08-10 09:47:59 -07:00
bill bittner
073aa3100d removed restrictions on what licenses are resolved 2017-08-08 17:32:03 -07:00
bill bittner
b8b531d9cf trying dummy param 2017-08-08 13:05:29 -07:00
bill bittner
2a5582e231 changed embed link 2017-08-08 13:00:47 -07:00
bill bittner
e304a99ba7 added twitter embed route 2017-08-08 11:01:01 -07:00
bill bittner
7f0df2511b added twitter player route 2017-08-07 17:08:03 -07:00
bill bittner
b17e013584 added open graph meta tags 2017-08-04 17:41:06 -07:00
bill bittner
4f5ceb1bf9 fixed 'height of null' issue on short url determination 2017-08-04 12:58:42 -07:00
bill bittner
c95cb03fa8 fixed merge conflicts 2017-08-04 11:58:31 -07:00
bill bittner
f4cf6dada8 moved upsert() to db module 2017-08-04 11:32:21 -07:00
bill bittner
76e618f2ac cleaned up logging 2017-08-03 22:09:36 -07:00
bill bittner
a6cbb79921 updated google analytics 2017-08-03 21:59:22 -07:00
bill bittner
6945e3943a finished /name routes 2017-08-03 11:46:56 -07:00
bill bittner
0d47028105 removed use of 'deferred' from promises 2017-08-03 10:44:19 -07:00
bill bittner
4161d1da32 updated startup to continue if DL directory isn't available 2017-08-03 10:42:02 -07:00
bill bittner
e8a89ca795 fixed the shorturl route 2017-08-02 17:13:02 -07:00
bill bittner
657dd62e5b finished basic /shortUrl/claim route conversion 2017-08-02 13:16:39 -07:00
bill bittner
238f2af63f rebuilt the /claim_id/claim route (no update yet) 2017-08-01 18:58:13 -07:00
Bill Bittner
9ad6d1bd70 Update isFreePublicClaim.js 2017-08-01 10:06:06 -07:00
bill bittner
75d4164af9 gutted the serve route and started rebuilding /identifier/name route 2017-07-31 17:02:39 -07:00
bill bittner
90b95bdb12 lifted 5 mb limit on api post 2017-07-31 10:14:27 -07:00
bill bittner
1d08a0eec6 updated license drop down and comparison 2017-07-28 21:06:33 -07:00
caseyparker
2a10baf72c modified: helpers/functions/isFreePublicClaim.js
list of allowable licenses is now an array
2017-07-23 16:52:16 -07:00
caseyparker
1455d63047 modified: helpers/libraries/publishHelpers.js 2017-07-23 16:02:59 -07:00
bill bittner
e99e8291bd added filename special character check, and moved replace regex to front end 2017-07-22 15:09:58 -07:00
Shaikh Farhan
49f1fb8745 Update publishHelpers.js
Accept space in filename from user, and replace the space to dash. Since a lot of users are used to typing out with spaces, better UX and less errors thrown out for invalid names.
2017-07-22 18:47:46 +05:30
bill bittner
4c8157e38e added patch for recently-published, not-yet-mined short urls 2017-07-20 10:15:20 -07:00
bill bittner
2bda35968f broke 'serve' and 'show' functions into separate controller files 2017-07-19 14:11:47 -07:00
bill bittner
a6788886fd got basic serving on long and short claim ids working 2017-07-19 09:11:08 -07:00
bill bittner
db1813cd08 fixed short url passing in serveControler 2017-07-19 08:12:59 -07:00
bill bittner
06e6f0a440 simplified short url handling to focus on the given url only 2017-07-19 07:58:44 -07:00
bill bittner
b6de2affb6 added functions for retreiving short url and full claim id 2017-07-18 22:05:34 -07:00
bill bittner
9560585035 fixed sort to show lower height first 2017-07-18 16:50:30 -07:00
bill bittner
de379beec9 changed short url serve route to serve earliest-in-time shmatching claim id 2017-07-18 16:13:01 -07:00
bill bittner
2f4fa6d970 added download directory retrieval to startup process 2017-07-18 09:52:18 -07:00
bill bittner
8d4ae9ce3c chained promises and implemented short claimId check 2017-07-17 13:16:11 -07:00
bill bittner
3b30be73b7 updated env variables 2017-07-13 22:21:18 -07:00
bill bittner
99c7c84cfb associated the File and Request dbs 2017-07-12 15:30:31 -07:00
bill bittner
f8ad476488 formatted trending images and added homepage section 2017-07-11 16:55:03 -07:00
bill bittner
3fa69fd75e reworked stats db and added trending route 2017-07-10 17:51:29 -07:00
bill bittner
1cfc63ac5b small cleanup items 2017-07-10 09:29:26 -07:00
bill bittner
62358bc54e extrapolated file validations 2017-07-07 16:08:35 -07:00
bill bittner
56ad4ce089 show route tested and working on jpegs 2017-07-05 18:26:33 -07:00
bill bittner
6a2ef25726 added padding to panel 2017-07-04 08:55:40 -07:00
bill bittner
5083309edd added name check to server-side publish 2017-07-04 00:02:47 -07:00
bill bittner
db318bbac3 added new db field and search to compare speech addresses on potential hits 2017-07-03 18:27:35 -07:00
bill bittner
6dea616d44 the no-claims scenario is now a success case 2017-06-30 15:31:23 -07:00
bill bittner
f7baf5aac1 simplified lbryApi.resolve to only return the single uri object 2017-06-30 14:37:47 -07:00
bill bittner
7d701f5b57 added events for publish 2017-06-29 22:26:29 -07:00
bill bittner
ad36f26aac removed statsHelpers into statsController 2017-06-29 17:52:37 -07:00
bill bittner
b23087094a added google analytics to all routes 2017-06-29 17:10:14 -07:00
bill bittner
b3190004f4 changed mysql analytics to 'stats' 2017-06-29 14:34:23 -07:00
bill bittner
461af60c16 commented out change address 2017-06-29 12:35:36 -07:00
bill bittner
c0174fb300 added ipaddress test logs. ignored change address. 2017-06-29 10:51:23 -07:00
bill bittner
94fd907513 separating wallets to pay, claim, and change 2017-06-28 12:55:17 -07:00
bill bittner
ab9bf98c10 changed error message from string to variable 2017-06-27 23:33:14 -07:00
bill bittner
fe0d33846b finished troubleshooting updates 2017-06-27 23:04:47 -07:00
bill bittner
c26724bfd8 updated error logging 2017-06-27 22:41:48 -07:00
bill bittner
7efce7739b updated error handling 2017-06-27 21:32:05 -07:00
bill bittner
7e8bb07ca9 updated table name 2017-06-27 16:25:35 -07:00
bill bittner
84c0c37de3 replaced server-side google analytics with mysql 2017-06-27 15:53:53 -07:00
bill bittner
a102027179 fixed nsfw true/false 2017-06-26 19:39:12 -07:00
bill bittner
ae5711837a changed 'claim' to 'name' and added validation 2017-06-26 19:26:37 -07:00
bill bittner
1438583e9f updated post api 2017-06-26 17:16:46 -07:00
bill bittner
6170be4978 tested publishing 2017-06-26 15:01:41 -07:00
bill bittner
5c95b5c7ec route is properly pulling metadata 2017-06-26 10:43:35 -07:00
bill bittner
1188d73f5d refactored publish controller and routes 2017-06-26 10:02:14 -07:00
bill bittner
15322c3639 added height to db 2017-06-21 23:33:03 -07:00
bill bittner
0e5215a84e finished /claim/claimId serve local first 2017-06-21 16:36:08 -07:00
bill bittner
b13dc53f01 meme publish works 2017-06-20 16:36:19 -07:00
Bill Bittner
c1db4cb28f Update loggerSetup.js 2017-06-19 20:41:43 -07:00
bill bittner
dd70c19b64 finished logger paths and details 2017-06-19 20:22:23 -07:00
bill bittner
5f7177540c cleaned up logs 2017-06-19 19:46:39 -07:00
bill bittner
dbe83da336 simplified the logs 2017-06-19 19:34:34 -07:00
bill bittner
04f1406c73 fixed claim list sorting algo 2017-06-19 16:37:56 -07:00
bill bittner
5881c36986 added logging to controller files 2017-06-19 16:15:28 -07:00
bill bittner
14fc367c15 changed log approach and File model 2017-06-19 15:25:14 -07:00
bill bittner
a305afe5de configured logging and added to /routes 2017-06-19 13:10:06 -07:00
Fillerino
7da97e2933 Semicolon rule added
Semicolon rule enforced as the main lbry-app uses semicolons!
2017-06-19 18:37:35 +02:00
Fillerino
085d099040 Edited code to be ES6, added eslint and some basic linting configuration
Edited code to be ES6, added eslint and some basic linting configuration,(also includes husky for auto eslint before push)
2017-06-17 22:51:30 +02:00
bill bittner
d7a35bed78 fixed publish issues 2017-06-16 19:31:31 -07:00
bill bittner
6d9523ff39 refactored /helpers into /helpers and /controllers 2017-06-16 17:48:51 -07:00
bill bittner
5c40a5ccd0 added outpoint check for local files 2017-06-16 12:29:02 -07:00
bill bittner
2f3f2784b5 refactored mysql calls db fields 2017-06-16 10:07:31 -07:00
bill bittner
99413abdf6 added 'outpoint' to Files model' 2017-06-15 15:56:40 -07:00
bill bittner
50d65de6a4 added creation of db record when files are retrieved via daemon 2017-06-15 15:03:40 -07:00
bill bittner
6b2b397b85 added local search to /name route 2017-06-15 14:37:19 -07:00
bill bittner
6f7d9af768 C:/Program Files/Git/name/claim_id checks local first 2017-06-15 13:06:35 -07:00
bill bittner
36d64ad7b0 added sequelize and 'file' row creation on publish 2017-06-15 11:15:13 -07:00
bill bittner
cb5d71e8c3 fixed spee.ch/example/claim_id resolve breakage 2017-06-14 15:47:10 -07:00
bill bittner
2c732fa2f4 added no-value escape hatch to filterForFreePublicCLaims() 2017-06-14 15:02:38 -07:00
bill bittner
2908df42de fixed resolve api route typo 2017-06-14 13:07:30 -07:00
bill bittner
64b1b720ae updated serve route to use default content_type image/jpeg 2017-06-14 12:53:55 -07:00
bill bittner
07360f784b added timeout to get call 2017-06-13 17:52:29 -07:00
bill bittner
11f31b2e12 separated lbry api calls away from controller routes 2017-06-13 17:13:38 -07:00
bill bittner
c2941a6619 split lbryApi from lbryHelpers 2017-06-13 15:49:58 -07:00
bill bittner
7b4345aefb revised lbry api routes 2017-06-13 15:39:38 -07:00
bill bittner
25500a592e fixed publish analytics 2017-06-13 12:12:41 -07:00
bill bittner
44f9df1766 made client analytics ID a string' 2017-06-13 11:21:42 -07:00
bill bittner
88a8a738d0 reorganized back end routes 2017-06-13 11:00:50 -07:00
bill bittner
80e33e0ae0 added analytics to client side 2017-06-12 19:09:39 -07:00
bill bittner
a3f0d0f878 added google analytics 2017-06-12 15:57:14 -07:00
bill bittner
92786795d2 added config npm 2017-06-12 14:56:40 -07:00
bill bittner
5569e53e2d added claim_address and change_address to publish' 2017-06-12 12:07:01 -07:00
bill bittner
23b9005fc2 converted to handlebars 2017-06-09 16:46:57 -07:00
bill bittner
ba7494e067 handled non-500 daemon errors 2017-06-03 01:16:40 -07:00
bill bittner
57ae1612cc added urls on publish completion 2017-06-03 00:41:02 -07:00
bill bittner
bb5e67ade5 covered daemon 500 code errors 2017-06-02 22:19:47 -07:00
bill bittner
610951fe99 cleaned up promises 2017-06-02 20:56:33 -07:00
bill bittner
b4679a5a00 updated uri 2017-05-31 20:54:56 -07:00
bill bittner
fab8216abb uploader works locally 2017-05-31 19:48:09 -07:00
bill bittner
6098537c12 updated teh name/all/ route 2017-05-31 17:00:13 -07:00
bill bittner
0bb0a89f17 request is back to serving assets 2017-05-31 16:44:45 -07:00
bill bittner
3d6620d27a handled case of lbry daemon 'get' timeout 2017-05-26 01:25:07 -07:00
bill bittner
654c95e7ed sockets work for /claim and /claim/claim_id 2017-05-26 00:34:25 -07:00
bill bittner
fec251902e converted single-claim search to socket with promise 2017-05-25 00:59:22 -07:00
bill bittner
2e6db82301 replacing live-coded spee.ch with @billbitt js version 2017-05-24 11:07:43 -07:00