Daniel Berteaud
32873b95af
Shorten event msg for API actions
2015-07-13 20:00:18 +02:00
Daniel Berteaud
f4523e34e6
Don't log get_event_list API calls
2015-07-13 19:58:38 +02:00
Daniel Berteaud
9002158e85
Only set admin key if not already done
2015-07-13 19:43:03 +02:00
Daniel Berteaud
6662c0a9e8
Basic audit viewer
2015-07-08 23:07:29 +02:00
Daniel Berteaud
90df86724f
Add basic template for the audit page
2015-07-08 22:28:55 +02:00
Daniel Berteaud
da2e03396d
Add URI handling for /admin/audit
2015-07-08 22:10:49 +02:00
Daniel Berteaud
ca7aedde5f
Log API actions
2015-07-08 22:04:17 +02:00
Daniel Berteaud
4891f88694
Start loging events in the DB
2015-07-07 18:53:59 +02:00
Daniel Berteaud
bcbe2e1f32
Add a new log_event helper
2015-07-07 18:08:42 +02:00
Daniel Berteaud
c594dfaaa5
An admin is just an owner of every rooms
2015-07-03 13:27:32 +02:00
Daniel Berteaud
34647201e3
Fix admin user not able to connect on the signaling channel
2015-07-03 13:25:15 +02:00
Daniel Berteaud
c14ab9f617
Stop using the OO Mojo::JSON interface
...
as it's deprecated and removed from Mojolicious 6
2015-07-03 13:24:37 +02:00
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
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
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
761f9035d5
Get rid of the ping API call, useless now
2015-06-25 23:18:18 +02:00
Daniel Berteaud
305b6cf5eb
Some big changes arround password and authentication handling
2015-06-25 19:20:22 +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
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
024a362944
Make the cache directory configurable
...
First step to be more package friendly
2015-06-18 19:05:13 +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
76532851f2
Some comment enhancements
2015-06-18 14:28:28 +02:00
Daniel Berteaud
6c3499cd1c
Change class for invitation response messages
2015-06-17 19:11:00 +02:00
Daniel Berteaud
d9c8904c14
Manage invitation responses in the signaling heartbeat
...
Instead of the ping API call, which results in almost instantaneous responses
And now the ping API is only used to update room activity timestamp, and will be able to get removed soon
2015-06-17 19:07:23 +02:00