Commit graph

309 commits

Author SHA1 Message Date
bill bittner
63458aff19 changed the multipart download directory 2017-11-06 14:15:47 -08:00
bill bittner
821dd6be41 made fixes based on JKs feedback 2017-11-03 17:10:08 -07:00
bill bittner
0517326c43 removed the record console log 2017-11-03 16:18:00 -07:00
bill bittner
e34e78c169 fixed the anonymous discrepency 2017-11-03 13:37:23 -07:00
bill bittner
934c0fedd1 put all publish functions into an object 2017-11-02 15:12:26 -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
c573865c63 removed unnecessary console logs 2017-10-29 21:01:45 -07:00
bill bittner
331b0c9764 updated logo 2017-10-27 09:59:31 -07:00
bill bittner
bccbb8f4b1 updated publish process to show in flexboxes 2017-10-23 15:10:49 -07:00
bill bittner
ab14adca00 fixed substring issue and added no claim/no channel pages 2017-10-18 11:16:07 -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
0a62df1d76 updated no matching channel or claim to be success cases 2017-10-17 15:50:35 -07:00
bill bittner
cd0fa39f15 changed "no channel" to be a success response 2017-10-17 15:09:43 -07:00
bill bittner
26900abaa6 added verbose logging 2017-10-17 12:05:22 -07:00
bill bittner
cb7f5ac453 fixed winning channel algo to use effective amount 2017-10-16 21:25:29 -07:00
bill bittner
76a38878ba fixed zero base pagination 2017-10-12 19:08:04 -07:00
bill bittner
6b761c3e71 added channel pagination 2017-10-12 18:55:26 -07:00
bill bittner
219a045779 added foundation for pagination 2017-10-12 17:56:23 -07:00
bill bittner
8856ee5d0e fixed call-stack-exceeded error issue 2017-10-12 13:10:44 -07:00
bill bittner
c65082e610 fixed channel updates when new channel created from publish 2017-10-10 17:46:26 -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
203d18e736 updated channel login so to not refresh upload box 2017-10-06 16:42:19 -07:00
bill bittner
be0bf27a14 traded in new video thumb 2017-10-05 15:14:50 -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
c4e2975038 fixed top bar 2017-09-29 14:11:00 -07:00
bill bittner
bf17f5a6ec consolidated xhttp request code 2017-09-28 15:47:55 -07:00
bill bittner
65b5384330 added api routes for getting short ids 2017-09-28 11:42:29 -07:00
bill bittner
bd2a48f883 updated api publish route 2017-09-28 10:51:02 -07:00
bill bittner
f0914ce983 updated details toggle 2017-09-28 08:47:02 -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
5228b55a0f fixed publish 2017-09-20 17:14:33 -07:00
bill bittner
e4a56d5ed1 made channel components DRYer 2017-09-20 16:04:58 -07:00
bill bittner
3acd89f93d changed login to http request 2017-09-20 14:39:20 -07:00
bill bittner
0dd8e19a26 finished basic loop for channel creation 2017-09-19 18:50:25 -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
0e9147d9d6 basic passport structures 2017-09-18 10:14:06 -07:00
bill bittner
3325faf063 basic passport flow 2017-09-16 17:50:22 -07:00
bill bittner
aa7f6d567c refactored /popular to use same content list 2017-09-11 12:10:41 -07:00
bill bittner
8a9b1ea0cf added thumbs to @channel page 2017-09-11 09:25:05 -07:00
bill bittner
5fb652ce5f removed unnecessary param from twitter embed route 2017-09-11 09:07:00 -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
7a81d53c35 added 301 redirect for /trending 2017-09-07 12:40:35 -07:00
bill bittner
a58ca6a167 updated start date from stats controller 2017-09-07 12:36:03 -07:00
bill bittner
c201e1ecfd updated stats controller 2017-09-07 11:58:52 -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
6163b2d2c7 fixed problem on spee.ch/:claimName routes 2017-08-24 09:42:56 -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
2490d709c9 added basic support for /@channelname 2017-08-23 12:21:15 -07:00
bill bittner
5078d4e906 added support for partial channel names 2017-08-22 15:50:20 -07:00
bill bittner
ccc54b8197 fixed /:name missing arg error 2017-08-22 07:20:44 -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
bb243cf459 fixed html embed on img show route 2017-08-20 16:56:37 -07:00
bill bittner
40e398314f added basic support for showing .mp4 as .givf 2017-08-18 16:52:58 -07:00
bill bittner
dd762ec10b updated publish controller 2017-08-16 11:00:17 -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
4b3d6f72cc changed 'short url' to 'short id' 2017-08-10 10:49:19 -07:00
bill bittner
af5b44be47 added patch for twitter player card url addition 2017-08-08 15:41:14 -07:00
bill bittner
5bef9a0f31 back to example 2017-08-08 13:22:03 -07:00
bill bittner
22077a3ea6 building .mp4 upstream 2017-08-08 13:16:14 -07:00
bill bittner
25cb87ebe6 testing dummy param 2017-08-08 13:07:34 -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
7eb9926c02 made video source its own element 2017-08-08 12:39:22 -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
4f6a000757 removed switch that falls back to serve on show routes 2017-08-07 10:54:07 -07:00
bill bittner
4f5ceb1bf9 fixed 'height of null' issue on short url determination 2017-08-04 12:58:42 -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
a7f8154082 added first attempt at rest for old links 2017-08-03 16:46:44 -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
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
0de27c0b1b switched api/streamFile to static /media 2017-07-27 14:18:55 -07:00
bill bittner
299eddcdad added fallback to serve image direct on show routes (backwards compatability 2017-07-25 01:52:31 -07:00
bill bittner
89ae795b22 added file extensions to the share links 2017-07-25 00:49:40 -07:00
bill bittner
b0f43189a3 basic show and serve are functioning 2017-07-25 00:38:03 -07:00
bill bittner
bec1dd3f02 combined show and serve routes into one, and routed based on file extension presence 2017-07-25 00:22:50 -07:00
bill bittner
e9f421b51a changed 'showLite' to use 'show' layout 2017-07-24 16:12:11 -07:00
bill bittner
b393de8268 added 'show' layout with custom header info 2017-07-24 16:09:44 -07:00
bill bittner
4d61a897d9 added masonry.js to display trending images 2017-07-21 13:40:01 -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
b6de2affb6 added functions for retreiving short url and full claim id 2017-07-18 22:05:34 -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
d3509c5d98 added trending images to homepage 2017-07-13 00:19:59 -07:00
bill bittner
7b4bde56c9 added missing 'null' in publish postToStats 2017-07-13 00:05:37 -07:00
bill bittner
99c7c84cfb associated the File and Request dbs 2017-07-12 15:30:31 -07:00
bill bittner
a766076554 changed 'DownloadDirectory' config var 2017-07-12 09:00:38 -07:00
bill bittner
709db8e741 removed trending from homepage 2017-07-11 18:17:38 -07:00
bill bittner
45d1aca1c8 added 'null
' to fix publish stats
2017-07-11 17:40:23 -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
b8306abf57 fixed typo 2017-07-10 09:32:37 -07:00
bill bittner
0d1c0aabd6 removed socket.io for show 2017-07-08 15:17:40 -07:00
bill bittner
62358bc54e extrapolated file validations 2017-07-07 16:08:35 -07:00
bill bittner
3dd5cf5228 quick fix for requests with no 'accept' header 2017-07-06 18:36:42 -07:00
bill bittner
be67b71e0b changed 's' to 'show' 2017-07-06 18:03:29 -07:00
bill bittner
732c845854 copy to clipboard works 2017-07-06 17:38:57 -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
ec72307d16 updated server-side 5mb enforcement 2017-07-05 23:45:25 -07:00
bill bittner
33347556fc added 5mb upload limit 2017-07-05 23:42:08 -07:00
bill bittner
3186e667a2 redirect on publish is working 2017-07-05 23:22:47 -07:00
bill bittner
90da7a3637 show route tested and working on mp4 2017-07-05 18:38:22 -07:00
bill bittner
56ad4ce089 show route tested and working on jpegs 2017-07-05 18:26:33 -07:00
bill bittner
41e5246941 updated route to send html to client 2017-07-05 13:51:25 -07:00
bill bittner
d4560905ed build the handlebars template and serve/show route fork 2017-07-05 12:23:55 -07:00
bill bittner
0b699435dd removed unnecessary header logging 2017-07-05 09:53:52 -07:00
bill bittner
013069b686 updated logging on serves 2017-07-05 09:39:32 -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
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
dad912dd53 updated regex to disalow '_' 2017-07-03 11:36:51 -07:00
bill bittner
2206a60af5 simplified homepage 2017-07-03 11:16:51 -07:00
bill bittner
6dea616d44 the no-claims scenario is now a success case 2017-06-30 15:31:23 -07:00
bill bittner
de7eef35be changed /api stat category to 'serve' from 'publish' 2017-06-30 09:52:58 -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
9fcbcd299c added analytics to serve routes 2017-06-29 16:10:06 -07:00
bill bittner
6725345db3 removed the extra ip logs 2017-06-29 14:48:27 -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
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
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