Commit graph

116 commits

Author SHA1 Message Date
bill bittner
af5b44be47 added patch for twitter player card url addition 2017-08-08 15:41:14 -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
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
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
8d4ae9ce3c chained promises and implemented short claimId check 2017-07-17 13:16:11 -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
3dd5cf5228 quick fix for requests with no 'accept' header 2017-07-06 18:36:42 -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
3186e667a2 redirect on publish is working 2017-07-05 23:22:47 -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
6dea616d44 the no-claims scenario is now a success case 2017-06-30 15:31:23 -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
84c0c37de3 replaced server-side google analytics with mysql 2017-06-27 15:53:53 -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
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
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
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
c2941a6619 split lbryApi from lbryHelpers 2017-06-13 15:49:58 -07:00
bill bittner
88a8a738d0 reorganized back end routes 2017-06-13 11:00:50 -07:00