Commit graph

219 commits

Author SHA1 Message Date
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