Commit Graph

37 Commits

Author SHA1 Message Date
Anton Georgiev
64b3929bc5 onBeforeAction requires a this.next() even if we're still waiting before rendering 2015-02-13 23:27:31 +00:00
Anton Georgiev
a6eb4865dc load the main template only on successful login (before it would load for a sec no matter what) 2015-02-06 19:41:18 +00:00
Anton Georgiev
7ff2a05a73 clear session vars before redirecting 2015-02-06 16:55:46 +00:00
Anton Georgiev
6e39140ab3 if unauthorized user attempts to subscribe, throw an error which will cause the user to be redirected to the login page 2015-02-05 19:58:39 +00:00
perroned
4788faba2d Added route handler for trying to bypass port 4000 2015-01-16 09:00:37 -08:00
Anton Georgiev
4f849c9d0e improve logs, improve flow in rouer.coffee 2014-12-11 17:23:19 +00:00
Anton Georgiev
1fdecb4e1b created an onLoadComplete function. fixed the check for user kicked out 2014-12-10 20:09:17 +00:00
Anton Georgiev
86de11305b improving the callback for cleaning old session vars 2014-12-10 19:31:03 +00:00
Anton Georgiev
1fee2f76a5 clear old session vars before setting new ones 2014-12-10 19:30:14 +00:00
Anton Georgiev
329784697f remove logout page. navigate to logOutUrl instead 2014-12-10 18:56:25 +00:00
Anton Georgiev
6b16a67e6c the default values for Session vars should be set on main page load 2014-12-05 19:04:46 +00:00
Anton Georgiev
b01e8e5418 cleaning up router.coffee 2014-11-21 18:02:53 +00:00
Anton Georgiev
a544329079 not needed anymore 2014-11-21 17:52:14 +00:00
Anton Georgiev
a003365d35 redoing the router with authToken 2014-11-21 17:07:16 +00:00
Anton Georgiev
93f2338dae subscribe using the token 2014-11-21 15:05:03 +00:00
Anton Georgiev
261066c8ae use authToken for subscribing 2014-11-20 23:35:30 +00:00
Anton Georgiev
4ab88b2a32 added the meetingId when searching for the user 2014-11-19 20:47:37 +00:00
Anton Georgiev
65d858e737 added an alphanumeric userSecret with length 10 symbols 2014-11-13 12:54:50 -05:00
Lucas Zawacki
0b3e1e570e Using iron-router params.query syntax in router.coffee 2014-11-13 12:29:27 -02:00
Anton Georgiev
0f3a877402 modified the url for routing to the sign in page 2014-11-13 08:46:39 -05:00
Lucas Zawacki
3f6cc062a9 Merge winston logging
Conflicts:
	labs/meteor-client/app/.meteor/packages
	labs/meteor-client/app/lib/router.coffee
	labs/meteor-client/app/server/collection_methods/chat.coffee
	labs/meteor-client/app/server/collection_methods/users.coffee
	labs/meteor-client/app/server/redispubsub.coffee
	labs/meteor-client/app/smart.json
	labs/meteor-client/app/smart.lock
2014-11-12 13:18:09 -02:00
Anton Georgiev
4727737691 moved the re-subscription to users to be at the end because on / it was stopping the subscription to the other collections. As a result we were not able to send a chat message immediately after login. We had to refresh first 2014-11-12 08:15:13 -05:00
Anton Georgiev
0fe03afa28 on / updates the dbid 2014-11-12 07:53:36 -05:00
Anton Georgiev
201de6e202 (not complete)on login the user is allowed to proceed towards the client only if added to the collection (i.e. if validation succeeded). 2014-11-11 14:54:28 -05:00
Anton Georgiev
fc2f560b7a simplified version to work with (no disconnection handling code) 2014-11-11 07:18:07 -05:00
Anton Georgiev
1a43a4dfed made sendMeetingInfoToClient to be a normal function; cleaning up 2014-10-31 15:25:32 +00:00
Anton Georgiev
c6cf01edcb cleaning up 2014-10-30 23:46:31 +00:00
Anton Georgiev
ca605e2e8c cleaning up 2014-10-30 23:16:47 +00:00
Anton Georgiev
5554a0d6b1 user reconnects successfully even if offline for more than x seconds. (needs further verification) 2014-10-30 23:05:28 +00:00
Anton Georgiev
5939bb2ed4 cleaned up publish.coffee; still trying to update the dbid on the client after a reconnect 2014-10-30 00:21:03 +00:00
Anton Georgiev
32debc5544 publish to the client only after the particular user was added to the collection. still need to propagate the new _id 2014-10-29 23:12:04 +00:00
Anton Georgiev
b1f444f0c3 need to return the Users cursor only after the user was added to the collection 2014-10-29 21:58:57 +00:00
Anton Georgiev
e827efbbbc add user_is_online field in Users, pass userid when subscribing for Users, only subscribe after the user has joined (must verify) 2014-10-29 20:40:39 +00:00
Anton Georgiev
22ac2f7bb4 cleaning up 2014-10-29 19:39:13 +00:00
Anton Georgiev
846a59d4c8 Merge branch 'meteor-new-auth' of github.com:perroned/bigbluebutton into meteor-new-auth 2014-10-07 19:52:51 +00:00
Anton Georgiev
319a1247a1 Merge branch 'meteor-new-auth' of github.com:perroned/bigbluebutton into meteor-new-auth
Conflicts:
	labs/meteor-client/app/client/globals.coffee
	labs/meteor-client/app/client/views/chat/chat_bar.coffee
	labs/meteor-client/app/collections/chat.coffee
	labs/meteor-client/app/collections/meetings.coffee
	labs/meteor-client/app/collections/presentations.coffee
	labs/meteor-client/app/collections/shapes.coffee
	labs/meteor-client/app/collections/slides.coffee
	labs/meteor-client/app/collections/users.coffee
2014-10-07 17:45:47 +00:00
Anton Georgiev
3905e45de7 moving the meteor files into an app folder so that grunt can reside in the root without breaking meteor 2014-10-02 16:16:34 +00:00