Commit graph

156 commits

Author SHA1 Message Date
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
99dc857380 fixed publish associations and db.Claim info 2017-09-21 12:05:04 -07:00
bill bittner
ba7e19a498 fixed associations between User and Certificate 2017-09-21 11:00:06 -07:00
bill bittner
b1f4bbeaf3 added channel_name to publish params 2017-09-21 09:18:19 -07:00
bill bittner
8fab84de73 fixed error location and messages 2017-09-20 11:36:20 -07:00
bill bittner
53981b8618 DRY input validations 2017-09-19 12:54:23 -07:00
bill bittner
ebff2cf62b added error message to logger.error 2017-09-13 15:59:29 -07:00
bill bittner
3389d3759f DRYer default thumbnail code 2017-09-11 17:57:51 -07:00
bill bittner
6158ef9724 moved all thumbnail url decisions to server-side 2017-09-11 12:54:36 -07:00
bill bittner
83b5400c9c removed uncessary logger.debug 2017-09-11 12:48:07 -07:00
bill bittner
bd2dd78200 added thumbnail to meta tags 2017-09-11 12:45:07 -07:00
bill bittner
aa7f6d567c refactored /popular to use same content list 2017-09-11 12:10:41 -07:00
bill bittner
b1dcb78a3d refactored out generic content list format 2017-09-11 11:09:38 -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
a58ca6a167 updated start date from stats controller 2017-09-07 12:36:03 -07:00
bill bittner
4d94acee77 moved sql from controller to model 2017-09-07 12:24:40 -07:00
bill bittner
c201e1ecfd updated stats controller 2017-09-07 11:58:52 -07:00
bill bittner
c901ced94c extrapolated postToStats() in serveController.js 2017-09-07 11:46:06 -07:00
bill bittner
69741dfc1d changed file ext vars from '.ext' to 'ext' 2017-09-07 09:45:00 -07:00
bill bittner
a23aa0bb82 updated new and trending pages 2017-08-24 16:09:04 -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
bcf0484b5b fixed "Cannot read property "stream" of null" on new get requests 2017-08-23 10:21:31 -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
188608818c added title and description to db.Claim upsert and show page 2017-08-20 17:45:29 -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
4981551c59 replaced getAllFreePublicClaims with calls to Claim table 2017-08-15 15:35:03 -07:00
bill bittner
1a169565bd updated Claim table schema 2017-08-14 16:16:32 -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
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
f4cf6dada8 moved upsert() to db module 2017-08-04 11:32:21 -07:00
bill bittner
a6cbb79921 updated google analytics 2017-08-03 21:59:22 -07:00
bill bittner
9c75aeb114 removed show controller 2017-08-03 12:03:10 -07:00
bill bittner
6945e3943a finished /name routes 2017-08-03 11:46:56 -07:00
bill bittner
8edd2e278e extrapolated serve/show 2017-08-03 11:14:50 -07:00
bill bittner
0d47028105 removed use of 'deferred' from promises 2017-08-03 10:44:19 -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
75d4164af9 gutted the serve route and started rebuilding /identifier/name route 2017-07-31 17:02:39 -07:00
bill bittner
56dfc245e6 revised trending to look at past 3 days 2017-07-30 11:24:12 -07:00
bill bittner
5ea7d959b9 fixed mysql null reference in trending query 2017-07-27 21:40:22 -07:00
bill bittner
032066260b added 'trendingEligible' column in file db 2017-07-26 16:24:50 -07:00
bill bittner
89ae795b22 added file extensions to the share links 2017-07-25 00:49:40 -07:00
bill bittner
d4ffd3c80a removed unnecessary logs 2017-07-19 15:42:56 -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
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
2f4fa6d970 added download directory retrieval to startup process 2017-07-18 09:52:18 -07:00
bill bittner
13471edda4 updated show route with short url 2017-07-17 13:54:50 -07:00
bill bittner
af8242a3c6 tested with daemon and fixed handle of invalid uri 2017-07-17 13:34:21 -07:00
bill bittner
8d4ae9ce3c chained promises and implemented short claimId check 2017-07-17 13:16:11 -07:00
bill bittner
476f28441c upercased table names in trending query 2017-07-13 00:12:04 -07:00
bill bittner
02d909a738 switched trending images controller function to sql query 2017-07-12 23:37:38 -07:00
bill bittner
45ce1c44c6 changed model logging 2017-07-12 16:57:12 -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
eda480b81a moved request logs to middleware and reorganized front end js 2017-07-06 13:37:03 -07:00
bill bittner
5cd3c6ef9d removed unnecessary visitor logging 2017-07-05 09:54:25 -07:00
bill bittner
5813397219 added more user params 2017-07-05 09:26:22 -07:00
bill bittner
d1a219ef03 removed unneeded 'show' analytics 2017-07-05 08:13:01 -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
c3b679636d added /api/isClaimAvailable route 2017-07-03 14:48:35 -07:00
bill bittner
35f9551533 updated publish logging 2017-06-30 17:28:53 -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
ad36f26aac removed statsHelpers into statsController 2017-06-29 17:52:37 -07:00
bill bittner
b3190004f4 changed mysql analytics to 'stats' 2017-06-29 14:34:23 -07:00
bill bittner
455125b337 fixed typo 2017-06-27 23:15:43 -07:00
bill bittner
88ec0d1070 fixed analytics display 2017-06-27 23:11:51 -07:00
bill bittner
86f8d83c05 removed console logs 2017-06-27 21:39:33 -07:00
bill bittner
7efce7739b updated error handling 2017-06-27 21:32:05 -07:00
bill bittner
8da934af84 set up a route to view basic usage analytics 2017-06-27 20:25:36 -07:00
bill bittner
84c0c37de3 replaced server-side google analytics with mysql 2017-06-27 15:53:53 -07:00
bill bittner
6170be4978 tested publishing 2017-06-26 15:01:41 -07:00
bill bittner
edeb933f8a turned publish controller into promise 2017-06-26 10:49:03 -07:00
bill bittner
1188d73f5d refactored publish controller and routes 2017-06-26 10:02:14 -07:00
bill bittner
88d217cb2c switched resolve and update functions 2017-06-22 10:28:34 -07:00
bill bittner
232591fdb3 consolidated the resolve-and-update code 2017-06-22 10:08:41 -07:00
bill bittner
15322c3639 added height to db 2017-06-21 23:33:03 -07:00
bill bittner
192f0de4da updated the post publish links 2017-06-21 19:45:56 -07:00
bill bittner
d278c4d4bb updated /name to serve local first 2017-06-21 19:10:39 -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
dd70c19b64 finished logger paths and details 2017-06-19 20:22:23 -07:00
bill bittner
dbe83da336 simplified the logs 2017-06-19 19:34:34 -07:00
bill bittner
5881c36986 added logging to controller files 2017-06-19 16:15:28 -07:00