tlksio / front Goto Github PK
View Code? Open in Web Editor NEWtlks.io front
Home Page: http://tlks.io
License: MIT License
tlks.io front
Home Page: http://tlks.io
License: MIT License
List of upvoted talks by user
YO! TravisCI supports PhantomJS, write a couple of tests to have an example ⚡
At detailed talk view, share talk to twitter button.
Add Google+ snippets to talk detail
Latest should go first
Favorite should be called throught AJAX and then update the HTML as needed.
If the user is registered allow to vote up a talk.
Upvote talk in detailed view
When we save/create a talk, tags are not trimmed.
http://localhost:8081/search?q=google*
TypeError: /home/raul/Projects/tlks.io/front/src/views/partials/talk-list.item.jade:5
3| .col-xs-2.thumb
4| //- Thumbnail
> 5| a(href="talk/play/" + talk.id)
6| img.img-responsive.img-circle.thumbnail(src="http://img.youtube.com/vi/" + talk.code + "/0.jpg")
7| .col-xs-8.content
8| //- Title
Cannot read property 'id' of undefined
at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:422:55)
at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1131:4)
at eval (eval at <anonymous> (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:218:8), <anonymous>:1472:22)
at res (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:219:38)
at Object.exports.renderFile (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:380:38)
at View.exports.renderFile [as engine] (/home/raul/Projects/tlks.io/front/node_modules/jade/lib/index.js:370:21)
at View.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/view.js:93:8)
at EventEmitter.app.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/application.js:566:10)
at ServerResponse.res.render (/home/raul/Projects/tlks.io/front/node_modules/express/lib/response.js:938:7)
at Request._callback (/home/raul/Projects/tlks.io/front/lib/routes/talk.js:47:13)
Add Facebook OpenGraph to talk detailed view
At detailed talk view, share talk to facebook button.
Place it on top right
At detailed talk view, share talk to Google+ button.
Upvote should be called throught AJAX and then update the HTML as needed.
Add Twitter Cards to talk view
All models need to use libtlks and not directly mongo or the search index.
It still uses old domain.
Add talk title to image on lists
Execute make lint
to jshint and csslint your sources:
[16:09:26] 22 errors found in /home/raul/Projects/tlks.io/front/public/css/app.css
[16:09:26] [L11:C1] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L12:C3] Expected RBRACE at line 12, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L15:C1] Unexpected token '}' at line 15, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L18:C3] Expected RBRACE at line 18, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L21:C5] Expected RBRACE at line 21, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L31:C3] Unexpected token '}' at line 31, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L32:C1] Unexpected token '}' at line 32, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L35:C3] Expected RBRACE at line 35, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L37:C5] Expected RBRACE at line 37, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L49:C7] Expected RBRACE at line 49, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L53:C7] Unexpected token '}' at line 53, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L54:C5] Unexpected token '}' at line 54, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L55:C5] Rule is empty. Rules without any properties specified should be removed. (empty-rules)
[16:09:26] [L56:C9] Expected COLON at line 56, col 9. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L59:C5] Unexpected token '}' at line 59, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L62:C7] Expected RBRACE at line 62, col 7. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L72:C5] Unexpected token '}' at line 72, col 5. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L73:C3] Unexpected token '}' at line 73, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L74:C1] Unexpected token '}' at line 74, col 1. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L79:C3] Expected RBRACE at line 79, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L83:C3] Unexpected token '}' at line 83, col 3. This rule looks for recoverable syntax errors. (errors)
[16:09:26] [L84:C1] Unexpected token '}' at line 84, col 1. This rule looks for recoverable syntax errors. (errors)
/home/raul/Projects/tlks.io/front/lib/routes/talk.js: line 236, col 33, Missing semicolon.
search string should be a value to the search string form
Show n. views, n. comments, favorited on detailed view
Talk play action should use slug instead id
Add Pinterest Rich Pin
After creating a new talk, index it to the full-text search engine
Allow to registered users to favorite talks.
If the user is not authorized we will only show the number of favorites the talk has.
List of favorite talks by user
http://localhost:8081/talk/play/ef7be370-be37-11e4-8f73-d3116e4945f9
Avoid use models ( talk and user ) in favor libtlks
./node_modules/.bin/gulp default
[16:05:57] Using gulpfile ~/Projects/tlks.io/front/gulpfile.js
[16:05:57] Starting 'jshint'...
[16:05:57] Finished 'jshint' after 15 ms
[16:05:57] Starting 'less'...
[16:05:57] Finished 'less' after 3.64 ms
[16:05:57] Starting 'csslint'...
[16:05:57] Finished 'csslint' after 2.34 ms
[16:05:57] Starting 'default'...
[16:05:57] Finished 'default' after 5.33 μs
/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68
}).done(undefined, cb);
^
TypeError: undefined is not a function
at DestroyableTransform._transform (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/index.js:68:8)
at DestroyableTransform.Transform._read (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
at DestroyableTransform.Transform._write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:12)
at doWrite (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:237:10)
at writeOrBuffer (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:227:5)
at DestroyableTransform.Writable.write (/home/raul/Projects/tlks.io/front/node_modules/gulp-less/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:194:11)
at write (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:623:24)
at flow (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:632:7)
at DestroyableTransform.pipeOnReadable (/home/raul/Projects/tlks.io/front/node_modules/gulp/node_modules/vinyl-fs/node_modules/through2/node_modules/readable-stream/lib/_stream_readable.js:664:5)
at DestroyableTransform.emit (events.js:104:17)
make: *** [build] Error 1
Update profile if there is no data set for bio, email etc ...
Add number of comments on talk lists.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.