Commit Graph

1185 Commits

Author SHA1 Message Date
Daniel Berteaud 21d8c53218 Suppress timestamp from logs
Journald will handle this
2015-07-01 13:27:35 +02:00
Daniel Berteaud d19733bf15 No need to limit to 3 keys
Just create new when needed, and remove the old ones
2015-06-30 17:22:55 +02:00
Daniel Berteaud d04ada23f0 Fix session keys renewal logic 2015-06-30 16:43:46 +02:00
Daniel Berteaud e77f0d6e29 Better formating for the new update_session_keys helper 2015-06-29 19:26:20 +02:00
Daniel Berteaud a018b2bf29 Fix rendering static assets when an error is detected 2015-06-29 19:23:23 +02:00
Daniel Berteaud 14b6298d77 Automatically handle cookie signing keys
Which will get renewed every 24 hours. Remove the now useless cookie section of the config
2015-06-29 19:09:28 +02:00
Daniel Berteaud c8d6bde2de Fixes in authenticate methode 2015-06-27 14:06:01 +02:00
Daniel Berteaud 190f28ab11 Remove escapeJqSelector as it's not used anymore 2015-06-27 13:58:29 +02:00
Daniel Berteaud bb1324a36d Code and comment cleanups in JS code 2015-06-27 13:57:52 +02:00
Daniel Berteaud 5d3ccefcf5 Now coturn is in FWS' repo, so update doc 2015-06-26 18:07:55 +02:00
Daniel Berteaud 43dc149050 Fix notification when we get promoted to owner
As getPeerRole is async now
2015-06-26 16:27:28 +02:00
Daniel Berteaud 92de57efdb Some more simplification in peer role handling 2015-06-26 16:26:02 +02:00
Daniel Berteaud 54f0648d1d Simplifications in peer role manipulations 2015-06-26 15:43:12 +02:00
Daniel Berteaud 2b262733b1 Handle peer_id generation during Socket.IO handshake 2015-06-26 15:09:28 +02:00
Daniel Berteaud ae2d160f9e Some fixes in API Key and session handling 2015-06-26 14:52:05 +02:00
Daniel Berteaud 1368baec84 Log modified fields when modifying a room conf 2015-06-26 14:38:11 +02:00
Daniel Berteaud 0ca69a4edc Some missing owner column leftover 2015-06-26 13:45:04 +02:00
Daniel Berteaud 601632c07b Drop the owner column in rooms table, useless 2015-06-26 13:36:56 +02:00
Daniel Berteaud a7efdd54a7 Return an error if trying to create an already existing room 2015-06-26 13:30:46 +02:00
Daniel Berteaud 57c5252f7e Get rid of the useless name in session 2015-06-26 12:06:37 +02:00
Daniel Berteaud c0fa2bb3e5 Don't record IP in session, as it's not used 2015-06-26 11:51:37 +02:00
Daniel Berteaud dac6a1f3ae Purge the DB every 15 minutes instead of 5 2015-06-26 11:16:37 +02:00
Daniel Berteaud ec17274725 Typo in doc 2015-06-26 09:20:04 +02:00
Daniel Berteaud 28b62f9931 Fix etherpad session creation 2015-06-26 09:15:55 +02:00
Daniel Berteaud 2a00e86a2e password is not reserved anymore 2015-06-25 23:19:34 +02:00
Daniel Berteaud 11dda5d0a9 Remove ping API permission 2015-06-25 23:19:17 +02:00
Daniel Berteaud 761f9035d5 Get rid of the ping API call, useless now 2015-06-25 23:18:18 +02:00
Daniel Berteaud 003e4ed8a5 Hide the password msg once auth is done 2015-06-25 22:44:46 +02:00
Daniel Berteaud 305b6cf5eb Some big changes arround password and authentication handling 2015-06-25 19:20:22 +02:00
Daniel Berteaud b962a9e384 Move capabilities detection earlier 2015-06-23 14:32:53 +02:00
Daniel Berteaud b5a87581d5 Make roomInfo a global var 2015-06-23 12:40:42 +02:00
Daniel Berteaud a0273ab7aa Set default role to participant if there's no join password 2015-06-23 09:50:48 +02:00
Daniel Berteaud d5c95fb9eb Remove the old password route and template 2015-06-22 22:33:17 +02:00
Daniel Berteaud 506b6f12db Prompt for a password in a niver popup
Fix #97
2015-06-22 22:27:04 +02:00
Daniel Berteaud a108b81e3a Update authenticate method
so it can be called anonymously
2015-06-22 21:32:23 +02:00
Daniel Berteaud d311b4cc6d Typo in comment 2015-06-22 19:53:29 +02:00
Daniel Berteaud de1cbae578 Only check invitation response if required
Will greatly reduce number of DB queries
2015-06-19 17:30:13 +02:00
Daniel Berteaud c22ed01a86 get_mtime isn't needed anymore 2015-06-19 16:16:54 +02:00
Daniel Berteaud 2d8a599cc6 Detect supported lang based on files in I18N 2015-06-19 15:54:28 +02:00
Daniel Berteaud 4ae712f060 Use Vroom::Conf::get_conf() in scripts 2015-06-19 15:05:33 +02:00
Daniel Berteaud 53975723bd Don't check if modifying persistence is allowed if not needed 2015-06-19 14:58:32 +02:00
Daniel Berteaud 98439ac100 Move conf loading in it's own pm 2015-06-19 14:57:18 +02:00
Daniel Berteaud 95e8c0d9b7 Default value for directories.cache 2015-06-19 08:58:41 +02:00
Daniel Berteaud d829109a00 Some documentation fixes 2015-06-18 19:29:03 +02:00
Daniel Berteaud 024a362944 Make the cache directory configurable
First step to be more package friendly
2015-06-18 19:05:13 +02:00
Daniel Berteaud 5ca9f916f6 One ping every 2 minutes will be enough now
AS it's only used to update the last activity field of a room
2015-06-18 17:44:58 +02:00
Daniel Berteaud ef4183a47c Change get_room_members so it returns a array of peer id
Instead of just the number of participants
2015-06-18 15:32:36 +02:00
Daniel Berteaud 35e1e9e4e0 Fix apache module name in doc 2015-06-18 14:29:24 +02:00
Daniel Berteaud 76532851f2 Some comment enhancements 2015-06-18 14:28:28 +02:00
Daniel Berteaud 51e61e2e7d Update to SimpleWebRTC 1.18.1
Which fix a bug Firefox
2015-06-18 10:19:18 +02:00