Commit graph

287 commits

Author SHA1 Message Date
bill bittner
c658f67ec4 removed change_address 2017-11-02 12:25:35 -07:00
bill bittner
f9daf0f8be updated error handling 2017-11-02 11:50:05 -07:00
bill bittner
7884fa31b0 changed upload to use formdata and /post api 2017-11-01 13:07:13 -07:00
bill bittner
d6be5c4dbe moved getShortChannelId and getShortClaimId to class methods 2017-10-31 10:05:15 -07:00
bill bittner
829ac91985 created error view to present errors to client 2017-10-30 16:38:57 -07:00
bill bittner
56122f827c added Unspecified license option 2017-10-27 10:58:08 -07:00
bill bittner
1c204df793 fixed unreturned promise 2017-10-26 08:46:00 -07:00
bill bittner
a3b2f0575c removed default description on publish and show 2017-10-20 16:16:08 -07:00
bill bittner
020cafa426 adjusted /popular for smaller screens 2017-10-19 09:18:40 -07:00
bill bittner
d21cb018cc updated meta tags 2017-10-19 08:49:02 -07:00
bill bittner
607ca4d98c added check for no claim and updated request error message with ip address 2017-10-18 09:49:19 -07:00
bill bittner
d4be277ffa changed /media/ to speech url (#126) 2017-10-17 14:15:02 -07:00
bill bittner
856b408613 added additional logging 2017-10-17 12:12:39 -07:00
bill bittner
8856ee5d0e fixed call-stack-exceeded error issue 2017-10-12 13:10:44 -07:00
bill bittner
f89dd7b4de created layout for showlite 2017-10-11 14:16:28 -07:00
bill bittner
0e8a45bdfc added navbar channel select update on login from publish 2017-10-10 16:00:08 -07:00
bill bittner
1b37ef91a4 added input for video thumbnail link 2017-10-09 18:29:40 -07:00
bill bittner
66c1d4eaf1 merged api fix and updated social links 2017-10-06 18:04:20 -07:00
Bill Bittner
8e2e05ea4a Merge branch 'redesign-1' into publish-api-fix 2017-10-06 17:47:32 -07:00
bill bittner
7baf2dd75c updated post api to receive curl requests 2017-10-05 14:48:08 -07:00
bill bittner
bed72b7e94 rearranged preview code 2017-10-03 10:05:09 -07:00
bill bittner
bd2a48f883 updated api publish route 2017-09-28 10:51:02 -07:00
bill bittner
53b8fb9766 updated claim-name verification process 2017-09-27 12:12:42 -07:00
bill bittner
12279aed3b updated css 2017-09-26 15:12:47 -07:00
bill bittner
84c525dcc0 fixed view for Channel and User tables 2017-09-25 22:49:27 -07:00
bill bittner
a2b3ed1ab2 updated db.User to db.Channel refs 2017-09-25 21:03:43 -07:00
bill bittner
ede4d4804f updated input msgs and destructuring 2017-09-25 11:55:56 -07:00
bill bittner
250ead165b generalized config variable check 2017-09-25 09:31:26 -07:00
bill bittner
959f57ffc5 added config variable check on startup 2017-09-25 09:13:18 -07:00
bill bittner
0216263a8a removed address from User model 2017-09-21 16:03:58 -07:00
bill bittner
761aa1daf7 removed address from User model 2017-09-21 16:03:45 -07:00
bill bittner
99dc857380 fixed publish associations and db.Claim info 2017-09-21 12:05:04 -07:00
bill bittner
b1f4bbeaf3 added channel_name to publish params 2017-09-21 09:18:19 -07:00
bill bittner
9041d4d4dc added lbryapi createChannel functionality 2017-09-20 17:49:05 -07:00
bill bittner
86a2c6fe03 added channel validation 2017-09-19 15:39:54 -07:00
bill bittner
53981b8618 DRY input validations 2017-09-19 12:54:23 -07:00
bill bittner
f64961446f added channel select to publish tool 2017-09-19 08:47:24 -07:00
bill bittner
3325faf063 basic passport flow 2017-09-16 17:50:22 -07:00
bill bittner
ffbb9cded4 changed debug to verbose for serving log 2017-09-14 13:27:51 -07:00
bill bittner
720de3ac66 changed logger.info to debug for file serving 2017-09-14 13:22:21 -07:00
bill bittner
f53ca8d958 update error handler to convert props to keys 2017-09-14 11:34:13 -07:00
bill bittner
456c2dc831 logging error message 2017-09-14 10:05:39 -07:00
bill bittner
fd382fcd9f updated logger.error usage format 2017-09-14 09:35:58 -07:00
bill bittner
ebff2cf62b added error message to logger.error 2017-09-13 15:59:29 -07:00
bill bittner
af046e9d36 moved database related functions to model layer 2017-09-07 17:08:06 -07:00
bill bittner
f0435be0b2 moved constants back to individual modules 2017-09-07 15:31:32 -07:00
bill bittner
cb4a116d8e fixed license and description on channel page 2017-08-23 22:35:37 -07:00
bill bittner
35719e526a fixed sql call that was missing contentType 2017-08-23 22:25:27 -07:00
bill bittner
ab0e78d232 updated sql queries to return only necessary columns 2017-08-23 22:17:47 -07:00
bill bittner
fb900d40be condensed functions on serve-route 2017-08-23 17:00:16 -07:00
bill bittner
c4a4f93a32 rearranged serve route functions into serve controller 2017-08-23 16:01:28 -07:00
bill bittner
e5a0dc8eb6 tested conflicting channel ids and updated logging 2017-08-23 14:40:35 -07:00
bill bittner
2490d709c9 added basic support for /@channelname 2017-08-23 12:21:15 -07:00
bill bittner
ed9e7ffefd fix for the full channel id scenario 2017-08-22 19:14:31 -07:00
bill bittner
00045eb696 added support for /@exampleChannel/example.gif without identifier 2017-08-22 16:32:27 -07:00
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