Commit graph

271 commits

Author SHA1 Message Date
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
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
5b6e75cbee added twitter button on publish 2017-06-21 09:14:53 -07:00
bill bittner
2a2dff47e0 added 'recent entries' to meme-fodder 2017-06-20 17:39:41 -07:00
bill bittner
adfeea1232 updated directions 2017-06-20 16:49:33 -07:00
bill bittner
b13dc53f01 meme publish works 2017-06-20 16:36:19 -07:00
bill bittner
0eebf30d48 added file download to meme 2017-06-20 13:07:49 -07:00
bill bittner
54d92a2c08 basic meme builder in place 2017-06-19 22:37:36 -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
7eaf82100e changed log level for routes level 2017-06-19 16:19:22 -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
523b8457e6 Fixed two variable names to match old es5 var-names. 2017-06-18 11:43:57 +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
2f3f2784b5 refactored mysql calls db fields 2017-06-16 10:07:31 -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
86a0417947 set X-Content-Type-Options to nosniff on serve 2017-06-14 13:11:42 -07:00
bill bittner
3047d4d997 fixed Content-Header syntax 2017-06-14 13:04:55 -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
478eb9cf78 added front end validation for publish file type 2017-06-14 09:33:19 -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
88a8a738d0 reorganized back end routes 2017-06-13 11:00:50 -07:00