Daniel Berteaud
4891f88694
Start loging events in the DB
10 years ago
Daniel Berteaud
bcbe2e1f32
Add a new log_event helper
10 years ago
Daniel Berteaud
c594dfaaa5
An admin is just an owner of every rooms
10 years ago
Daniel Berteaud
34647201e3
Fix admin user not able to connect on the signaling channel
10 years ago
Daniel Berteaud
c14ab9f617
Stop using the OO Mojo::JSON interface
...
as it's deprecated and removed from Mojolicious 6
10 years ago
Daniel Berteaud
21d8c53218
Suppress timestamp from logs
...
Journald will handle this
10 years ago
Daniel Berteaud
d19733bf15
No need to limit to 3 keys
...
Just create new when needed, and remove the old ones
10 years ago
Daniel Berteaud
d04ada23f0
Fix session keys renewal logic
10 years ago
Daniel Berteaud
e77f0d6e29
Better formating for the new update_session_keys helper
10 years ago
Daniel Berteaud
a018b2bf29
Fix rendering static assets when an error is detected
10 years ago
Daniel Berteaud
14b6298d77
Automatically handle cookie signing keys
...
Which will get renewed every 24 hours. Remove the now useless cookie section of the config
10 years ago
Daniel Berteaud
c8d6bde2de
Fixes in authenticate methode
10 years ago
Daniel Berteaud
92de57efdb
Some more simplification in peer role handling
10 years ago
Daniel Berteaud
54f0648d1d
Simplifications in peer role manipulations
10 years ago
Daniel Berteaud
2b262733b1
Handle peer_id generation during Socket.IO handshake
10 years ago
Daniel Berteaud
ae2d160f9e
Some fixes in API Key and session handling
10 years ago
Daniel Berteaud
1368baec84
Log modified fields when modifying a room conf
10 years ago
Daniel Berteaud
0ca69a4edc
Some missing owner column leftover
10 years ago
Daniel Berteaud
601632c07b
Drop the owner column in rooms table, useless
10 years ago
Daniel Berteaud
a7efdd54a7
Return an error if trying to create an already existing room
10 years ago
Daniel Berteaud
57c5252f7e
Get rid of the useless name in session
10 years ago
Daniel Berteaud
c0fa2bb3e5
Don't record IP in session, as it's not used
10 years ago
Daniel Berteaud
dac6a1f3ae
Purge the DB every 15 minutes instead of 5
10 years ago
Daniel Berteaud
28b62f9931
Fix etherpad session creation
10 years ago
Daniel Berteaud
2a00e86a2e
password is not reserved anymore
10 years ago
Daniel Berteaud
761f9035d5
Get rid of the ping API call, useless now
10 years ago
Daniel Berteaud
305b6cf5eb
Some big changes arround password and authentication handling
10 years ago
Daniel Berteaud
a0273ab7aa
Set default role to participant if there's no join password
10 years ago
Daniel Berteaud
d5c95fb9eb
Remove the old password route and template
10 years ago
Daniel Berteaud
506b6f12db
Prompt for a password in a niver popup
...
Fix #97
10 years ago
Daniel Berteaud
a108b81e3a
Update authenticate method
...
so it can be called anonymously
10 years ago
Daniel Berteaud
d311b4cc6d
Typo in comment
10 years ago
Daniel Berteaud
de1cbae578
Only check invitation response if required
...
Will greatly reduce number of DB queries
10 years ago
Daniel Berteaud
c22ed01a86
get_mtime isn't needed anymore
10 years ago
Daniel Berteaud
2d8a599cc6
Detect supported lang based on files in I18N
10 years ago
Daniel Berteaud
53975723bd
Don't check if modifying persistence is allowed if not needed
10 years ago
Daniel Berteaud
98439ac100
Move conf loading in it's own pm
10 years ago
Daniel Berteaud
95e8c0d9b7
Default value for directories.cache
10 years ago
Daniel Berteaud
024a362944
Make the cache directory configurable
...
First step to be more package friendly
10 years ago
Daniel Berteaud
ef4183a47c
Change get_room_members so it returns a array of peer id
...
Instead of just the number of participants
10 years ago
Daniel Berteaud
76532851f2
Some comment enhancements
10 years ago
Daniel Berteaud
6c3499cd1c
Change class for invitation response messages
10 years ago
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
10 years ago
Daniel Berteaud
c6a39b7c0c
Purge expired rooms and invitation in an IOLoop instead of the ping hack
10 years ago
Daniel Berteaud
cc13881390
get_url doesn't exist anymore, switch to url_for
10 years ago
Daniel Berteaud
89a5e5bbc4
Don't try to log token if it's not defined
10 years ago
Daniel Berteaud
188d333098
Fix owner authenticating through the authenticate api method
10 years ago
Daniel Berteaud
15c3980792
Don't send notified emails to non owner
10 years ago
Daniel Berteaud
54a2dce8bf
Some cleanups in key/room/role association and checks
10 years ago
Daniel Berteaud
1edd844272
Some changes in the way peer role is handled
10 years ago