Commit Graph

6586 Commits

Author SHA1 Message Date
mohamed-ahmed
59adb0d680 now sends public chat messages using new message format 2013-11-14 19:24:49 +00:00
mohamed-ahmed
0a80708464 fixed comment 2013-11-13 20:36:23 +00:00
mohamed-ahmed
5541539d24 use can now connect to html5-client using new message format 2013-11-13 19:15:31 +00:00
mohamed-ahmed
874add53ef client now prints 'socket.on:connct' when the client connects 2013-11-13 18:22:56 +00:00
mohamed-ahmed
c54fb80f2e progress on changing 'user join' event 2013-11-12 22:21:11 +00:00
mohamed-ahmed
7545876fc5 starting to be able to handle user connect 2013-11-11 22:55:39 +00:00
Richard Alam
c54fc3d8b8 Merge pull request #293 from daronco/html5-bridge-new-layout
HTML5 new layout, first version
2013-11-01 12:28:23 -07:00
Leonardo Crauss Daronco
9cb5c156cd HTML5: remove all old css files and adjust what's left 2013-11-01 17:25:00 -02:00
Leonardo Crauss Daronco
d3191c84af HTML: layout with fullsize components when in very small screens
For mobile phones on portrait mode, chat, user list and video are shown
taking the whole screen.
2013-11-01 15:51:29 -02:00
tylercopeland
c887f2eb92 Public chat style updates 2013-11-01 13:47:53 -04:00
Leonardo Crauss Daronco
8a11f56ce9 HTML5: impemeting the layout positioning for mobile devices 2013-11-01 13:01:58 -02:00
tylercopeland
7fcba312cf Users list style updates 2013-11-01 10:58:09 -04:00
Leonardo Crauss Daronco
10aafeedea HTML5: showing/hiding elements when navbar buttons are clicked 2013-11-01 11:22:02 -02:00
Leonardo Crauss Daronco
cbdd3f30ee HTML5: splitting the css files in several sections
So we can work on them in paralell to implement the new layout.
2013-11-01 10:25:05 -02:00
Richard Alam
37dfef0086 Merge pull request #292 from daronco/html5-bridge-layout-setup
HTML5 new HTML markup and design
2013-10-31 18:21:00 -07:00
Leonardo Crauss Daronco
a06331f00b HTML5: cleanup session whiteboard view, remove whiteboard controls
Removed the controls that are not used anymore, are gonna be used only when
the html5 is allowed to be a presenter.
2013-10-31 22:44:34 -02:00
Leonardo Crauss Daronco
6d8e6b9210 HTML5: pushing layout changes from @tylercopeland 2013-10-31 21:58:18 -02:00
Leonardo Crauss Daronco
3c447287f3 HTML5: remaking the html markup for the chat
A lot of changes to make it easier to control the design from the css.
The actions in the chat now only add or remove classes from the elements instead
of changing their css, so the css is responsible for showing or hiding them
and controlling how they appear in the screen.
2013-10-31 21:30:37 -02:00
Leonardo Crauss Daronco
e0d394896f HTML5: restructuring the client's html
Removing all the styling from the javascript files, it should all be done
in the css. Not finished yet, the chat and login screens still need a lot
of work.
2013-10-31 17:36:38 -02:00
Richard Alam
21f851af1d Merge pull request #289 from daronco/html5-bridge-layout-setup
HTML5 layout with bootstrap
2013-10-31 10:51:10 -07:00
Leonardo Crauss Daronco
c0a8fb7b57 HTML5: setup bootstrap and update font-awesome
Versions:
- Bootstrap v3.0.1
- Font Awesome 4.0.1

Haven't added bootstrap-theme, can be add in the future if needed.
2013-10-31 15:40:17 -02:00
Leonardo Crauss Daronco
a20f3f3f6d HTML5: use less instead of plain css
Using connect-assets to automatically compile less files into css files and
serve them. All less files should be under assets/css/.
The current layout file is using less but it's a plain css, with its content
simply copied from the old layout.css file.
2013-10-31 12:50:52 -02:00
Richard Alam
0a85b0dc10 Merge pull request #288 from daronco/html5-bridge-server-refactor-2
HTML5 server refactoring 2
2013-10-31 07:11:09 -07:00
Leonardo Crauss Daronco
d6158115f1 HTML5: comment out wrong method call in RedisPublisher
Temporary, the method called doesn't exist anymore. Have to check it better,
but commented it for now so the app doesn't break.
2013-10-31 12:04:25 -02:00
Leonardo Crauss Daronco
ab6c73ca92 HTML5: fixing undo and clearPaper events in the server 2013-10-31 12:04:25 -02:00
Leonardo Crauss Daronco
814b6172fa HTML5: update redis to 0.9.0, solves a few bugs
Apparently solved errors on user joins, the error was:
Error: node_redis command queue state error. If you can reproduce this, please report it
2013-10-31 12:04:25 -02:00
Leonardo Crauss Daronco
bd4cb88e16 HTML5: restructuring the classes in the node.js server
Restructured the classes that read or write on redis to make more sense. Now
there's a single class that makes the bridge between redis and websockets,
and helper classes to publish to redis and to do any other actions on redis.
2013-10-31 12:04:25 -02:00
Leonardo Crauss Daronco
45463acc91 HTML5: cleanup and fix errors when a new user joins the session
Most changes on the method WebsocketConnection#_onUserConnected()
The server doesn't crash as much as before when a user joins.
2013-10-31 12:04:24 -02:00
Richard Alam
46420a1240 Merge pull request #286 from tylercopeland/html5-new-layout
Html5 new layout
2013-10-30 13:27:30 -07:00
tylercopeland
3866a8e4b2 chat module style updates 2013-10-30 16:09:56 -04:00
Richard Alam
cec517e67a Merge pull request #285 from daronco/html5-bridge-server-refactor
HTML5 server refactoring
2013-10-30 05:23:27 -07:00
Leonardo Crauss Daronco
ed3975674e HTML5: removing lots of unused or unnecessary code from the server
Cleanup the node.js server removing things that were not used or were related
to making the HTML5 client a presenter, which will not be necessary at this
first iteration.
The node.js server should also not change anything that's in redis, just read
it. Removed some of the code that changes redis.

Also updating the comments to match codo's format.
2013-10-30 10:08:16 -02:00
Leonardo Crauss Daronco
d681eac13b HTML5: cleanup on RedisBridge
Moved some methods that actually do things on redis to RedisAction.
2013-10-30 10:08:15 -02:00
Leonardo Crauss Daronco
b1cdb2ea8c HTML5: setting up a logger class
Prints logs with better formatting than simply calling console.log.
2013-10-30 10:08:15 -02:00
Leonardo Crauss Daronco
10f9bd592b HTML5: Setting up the test environment for the node.js server
Created tests for lib/modules.coffee and a few for routes/main_router.coffee
to be used as reference.
2013-10-30 10:08:15 -02:00
Leonardo Crauss Daronco
01654424c9 HTML5: Cleaned and refactored some code used to join the session 2013-10-30 10:08:15 -02:00
Leonardo Crauss Daronco
e20e46a7a5 Replace docco by codo for docs in the HTML5 client
Updated the documentation of lib/modules.coffee to be used as a reference.
2013-10-30 10:08:14 -02:00
Leonardo Crauss Daronco
f42eb27049 HTML5: moving global objects into modules
There's a new class Module to organize modules in the application. Prevents
errors from cyclic require's.
The number of modules can still be reduced by organizing them better.
2013-10-30 10:08:14 -02:00
Leonardo Crauss Daronco
612b818f38 HTML5: setting up docco for documentation
To be used
2013-10-30 10:08:14 -02:00
Leonardo Crauss Daronco
65d876fd00 HTML5: Clean up app.coffee as much as possible
Move methods to new classes RedisBridge and Utils.
Also made several other small fixes (typos mostly).
2013-10-30 10:08:01 -02:00
Leonardo Crauss Daronco
64de058316 HTML5: Add class RedisKeys
Contains methods to get the keys used on redis.
Reduced RedisAction a lot by having this new class.
2013-10-30 10:08:01 -02:00
Leonardo Crauss Daronco
7aa6e9114d HTML5: Update redis to 0.8.4 (latest) and small fixes
The node.js server is now working as it was before the refactoring was
started 🍻
2013-10-30 10:08:00 -02:00
Leonardo Crauss Daronco
884147f6bc Refactor routes/socketio as a class WebsocketConnection
Most of its methods are used only internally, so now the class is more isolated
than before. But still with some methods that should be refactored.
2013-10-30 10:07:30 -02:00
Leonardo Crauss Daronco
3fc84c775b Refactor routes/index as a class MainRouter
Also removed some methods/routes that were not being used and will have to
be refactored anyway if they are needed in the future. They are: get_join,
to join the session getting the username and password from the url, and
post_upload, to upload presentations from the html5 client (this was a
specially big method).
2013-10-30 10:07:30 -02:00
Leonardo Crauss Daronco
15df4de206 HTML5: Move methods from redis/index to a class RedisAction
Not working 100% yet and a lot more can be improved in this class.
The rest of the code should also be moved into classes like this one.
2013-10-30 10:06:58 -02:00
Leonardo Crauss Daronco
75769a27f0 HTML5: fix requires and global variables in the server
Now there's a 'config' module to store global configurations.
The requires have to be made locally for the modules needed, can't just
require everything on app.js as it was before.
2013-10-30 10:06:58 -02:00
Leonardo Crauss Daronco
ea13a399dc HTML5: basic conversion of the server to coffeescript
Simply converted from js to coffee, a lot is still not working and a lot
more has still to be improved.
2013-10-30 10:06:58 -02:00
tylercopeland
a4a806d254 lastest css updates 2013-10-29 19:38:52 -04:00
tylercopeland
499aba5f03 css style updates 2013-10-29 19:01:52 -04:00
Richard Alam
853044eae7 Merge pull request #284 from mohamed-ahmed/html5-bridge
Html5 bridge
2013-10-29 12:17:02 -07:00