Commit graph

165 commits

Author SHA1 Message Date
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
bill bittner
80e33e0ae0 added analytics to client side 2017-06-12 19:09:39 -07:00
bill bittner
a3f0d0f878 added google analytics 2017-06-12 15:57:14 -07:00
bill bittner
5569e53e2d added claim_address and change_address to publish' 2017-06-12 12:07:01 -07:00
bill bittner
b561abac63 added Material Design Bootstrap 2017-06-10 18:33:03 -07:00
bill bittner
23b9005fc2 converted to handlebars 2017-06-09 16:46:57 -07:00
bill bittner
98e18561d0 added ToS to homepage 2017-06-04 17:40:06 -07:00