Daniel Berteaud
7370977481
Start adaptation to the new DB schema
10 years ago
Daniel Berteaud
b9dbc3c9fd
Rename get_room to get_room_by_name
10 years ago
Daniel Berteaud
8b01ca6fe9
Some more prepared queries
10 years ago
Daniel Berteaud
3e3f6e09f8
Remove support for language selection with url suffix
10 years ago
Daniel Berteaud
008e90a927
Directly render the feedback_thanks template
...
Instead of redirecting to a new route
10 years ago
Daniel Berteaud
cfb6fddac2
Switch conf parser to Config::Simple
...
Fix #84
10 years ago
Daniel Berteaud
cf3e6a28b1
Use Mojolicious::Plugin::Database to connect to the DB
...
Fix #86
10 years ago
Daniel Berteaud
e09c70e62c
Switch to Session::Token to generate random names
...
Fix #85
10 years ago
Daniel Berteaud
146d1b7881
Adapt to run vroom under hypnotoad instead of a CGI script
...
Fix #83
10 years ago
Daniel Berteaud
4d90bb4e41
Small typo
10 years ago
root
98b81d2520
Use a prepared statement to create etherpad group
10 years ago
Daniel Berteaud
111344fb58
Don't load unused modules
10 years ago
root
b4497a1e80
Switch to Mojolicious::Plugin::Mail
...
Close #81
10 years ago
Daniel Berteaud
232125b88c
Add lang switch in the toolbar
10 years ago
Daniel Berteaud
8d8dfad3d4
Maintain client localizations on server-side
...
So locales can be retrieved with a get request, and be cached by the browser
10 years ago
Daniel Berteaud
a289803632
Separate owner password and persistence
...
Now, persistent rooms will be really persistent (never deleted), but can only be set by an admin
Rooms with an owner password set are now called "reserved" room, and works as before
11 years ago
Daniel Berteaud
f4a90fa9b4
Another fix in room expiration logic
...
Before that, only one room could be expired each time we called delete_rooms helper
11 years ago
Daniel Berteaud
7d02133483
Fix participant cleanup logic
11 years ago
Daniel Berteaud
b8576f687b
Code cleanup
11 years ago
Daniel Berteaud
f2db6be49e
Display the number of participants in the management page
11 years ago
Daniel Berteaud
819ac83f63
Cleanup participant table after 10 min instead of 2 hours
11 years ago
Daniel Berteaud
9f8908657c
Some code cleanup
11 years ago
Daniel Berteaud
22afd16b15
Fix case in components name
11 years ago
Daniel Berteaud
d51e6b8d2d
Fix room deletion
11 years ago
Daniel Berteaud
387048cfc0
Make the /action handler accessible under /admin
...
And bypass auth check when accessed through /admin/action
11 years ago
Daniel Berteaud
34d8649e3e
Add bootstrap-switch CSS and JS
...
It will be used on the management page
11 years ago
Daniel Berteaud
9f9b4cc8b5
Add a route to manage rooms
11 years ago
Daniel Berteaud
f2594248c7
Add a get_all_rooms helper
...
And expire rooms before entering the admin page
11 years ago
Daniel Berteaud
85cd946587
Add a route for the admin page
11 years ago
Daniel Berteaud
e5f25a93c9
Do not try to remove the participant if the session name isn't defined
11 years ago
Daniel Berteaud
2affe56392
Lowercase room name on create
11 years ago
Daniel Berteaud
f32a6af965
Get ride of Data::UUID dependency
11 years ago
Daniel Berteaud
c3543a77b5
Some more logs in debug mode
11 years ago
Daniel Berteaud
8b0a0ae6ee
Purge inactive participants from the database
...
Fix #74
11 years ago
Daniel Berteaud
35475e3638
Add the timestamp when adding a participant in the room
11 years ago
Daniel Berteaud
fdb2840451
Update activity timestamp for each peer when they ping a room
11 years ago
Daniel Berteaud
da8633c1a3
Fix a typo goodby -> goodbye
11 years ago
Daniel Berteaud
35cc1dd3a2
Add a deleteRoom action handler
...
And adapt the goodbye page to allow empty room name
11 years ago
Daniel Berteaud
192521e8c7
Add a delete_room helper to remove a specific room
11 years ago
Daniel Berteaud
351a9421c3
Fix undefined variable when loging out
11 years ago
Daniel Berteaud
5848938f08
Fix log message when setting peer role in the database
11 years ago
Daniel Berteaud
f2760ef0c2
Remove useless msg
11 years ago
Daniel Berteaud
8b6be5c14a
Add the wipe modal and implement logic to wipe data
...
Both chatHistory (client side only) and etherpad (needs server side) are handled
Fix #68
11 years ago
Daniel Berteaud
4a1a6e813c
Use a helper to create etherpad sessions
11 years ago
Daniel Berteaud
31fca2b4ef
Use a helper to create etherpad group and pad
11 years ago
Daniel Berteaud
3c0fd60be5
Also create etherpad group on room creation
11 years ago
Daniel Berteaud
081a8c18bf
Delete the pad, not just the group
11 years ago
Daniel Berteaud
bbe77d48cf
Create etherpad group when joining, not creating the room
...
So it's created for pre-existing rooms
11 years ago
Daniel Berteaud
109f4380da
Add a new etherpadBaseDomain param so you can set the domain for etherpad Cookie
11 years ago
Daniel Berteaud
c1418e3aee
Add a new slide on the index to talk about etherpad integration
...
Only if etherpad is enabled
11 years ago