Daniel Berteaud
|
a6dc7c9ce5
|
Simplify purge_participants
|
2014-10-16 21:51:09 +02:00 |
|
Daniel Berteaud
|
88c5d3ccb2
|
Simplify has_joined
|
2014-10-16 21:50:07 +02:00 |
|
Daniel Berteaud
|
3fc530292c
|
Simplify promote_peer
|
2014-10-16 21:48:31 +02:00 |
|
Daniel Berteaud
|
5240daddd1
|
Simplify get_peer_role
|
2014-10-16 21:47:35 +02:00 |
|
Daniel Berteaud
|
ee6ce99341
|
Simplify set_peer_role
|
2014-10-16 21:45:18 +02:00 |
|
Daniel Berteaud
|
84cf94b8b5
|
Simplify and fix get_participants_list
|
2014-10-16 21:42:39 +02:00 |
|
Daniel Berteaud
|
372e7add34
|
Simplify remove_participant_from_room
|
2014-10-16 21:33:34 +02:00 |
|
Daniel Berteaud
|
dcc651763b
|
Simplify modify_room helper
|
2014-10-16 21:31:57 +02:00 |
|
Daniel Berteaud
|
91465f1c1b
|
Fix some syntaxe error
|
2014-10-16 21:30:33 +02:00 |
|
Daniel Berteaud
|
2f3ad038c1
|
Simplify get_room_by_id
|
2014-10-16 21:25:45 +02:00 |
|
Daniel Berteaud
|
f911706ddd
|
Simplify get_room_by_name
|
2014-10-16 21:23:00 +02:00 |
|
Daniel Berteaud
|
0a304dcabb
|
Simplify logout
|
2014-10-16 21:04:09 +02:00 |
|
Daniel Berteaud
|
8c2267abec
|
Simplify login
|
2014-10-16 21:03:35 +02:00 |
|
Daniel Berteaud
|
42a8962fdd
|
Simplify valid_id helper
|
2014-10-16 21:02:51 +02:00 |
|
root
|
b7924cbf2f
|
Simple return value of valid_name
|
2014-10-16 21:00:08 +02:00 |
|
Daniel Berteaud
|
effaf249ad
|
Fix ping_room timestamp updates
|
2014-10-15 23:16:33 +02:00 |
|
Daniel Berteaud
|
3a280ab370
|
Cleanups in purge_rooms helper
|
2014-10-15 23:11:42 +02:00 |
|
Daniel Berteaud
|
a5c2445c6a
|
Cleanups in purge_participants
|
2014-10-15 22:47:42 +02:00 |
|
Daniel Berteaud
|
831cec4d0f
|
Cleanups in has_joined helper
|
2014-10-15 22:44:48 +02:00 |
|
Daniel Berteaud
|
848fba10ae
|
Cleanups in promote_peer helper
|
2014-10-15 22:32:04 +02:00 |
|
Daniel Berteaud
|
47224076e0
|
Replace useless queries by JOIN statements
|
2014-10-15 22:20:59 +02:00 |
|
Daniel Berteaud
|
f69cc901de
|
CLeanups in get_peer_role helper
|
2014-10-15 22:10:15 +02:00 |
|
Daniel Berteaud
|
6a798e8ea4
|
Cleanups in set_peer_role
|
2014-10-15 21:34:18 +02:00 |
|
Daniel Berteaud
|
6ec5ce7e60
|
Minor cleanup
|
2014-10-15 20:16:41 +02:00 |
|
Daniel Berteaud
|
7c0655255f
|
CLeanups in get_participant_list helper
|
2014-10-15 20:14:08 +02:00 |
|
Daniel Berteaud
|
504b143e05
|
Cleanups in remove_participant_from_room
|
2014-10-15 20:06:03 +02:00 |
|
Daniel Berteaud
|
05179d558a
|
Cleanups in add_participant_to_room
|
2014-10-15 20:02:31 +02:00 |
|
Daniel Berteaud
|
4479376453
|
Remove lock_room helper, now handled by the generic modify_room
|
2014-10-15 19:53:04 +02:00 |
|
Daniel Berteaud
|
79d894be69
|
Cleanups in modify_room helper
|
2014-10-14 23:25:02 +02:00 |
|
Daniel Berteaud
|
fb101cb1b9
|
Return OK when everything is fine in get_room_by_*
|
2014-10-14 23:12:06 +02:00 |
|
Daniel Berteaud
|
c195448b05
|
Rename status to ok on function return
so it's not confused with json responses (which contains a status element)
|
2014-10-14 23:04:56 +02:00 |
|
Daniel Berteaud
|
8b0dfdccce
|
Remove a few useless initializations
|
2014-10-14 22:54:18 +02:00 |
|
Daniel Berteaud
|
2653bd6686
|
Cleanup get_room_by_id
|
2014-10-14 22:38:34 +02:00 |
|
Daniel Berteaud
|
907b17ade1
|
Cleanup get_room_by_name
|
2014-10-14 22:26:24 +02:00 |
|
Daniel Berteaud
|
28cffe0481
|
Cleanup create_room helper
|
2014-10-14 21:56:13 +02:00 |
|
Daniel Berteaud
|
bdb86d4973
|
Rewrite valid_room_name helper to return a hashref
|
2014-10-14 20:33:08 +02:00 |
|
Daniel Berteaud
|
88315e6423
|
Small cleanup
|
2014-10-14 19:33:53 +02:00 |
|
Daniel Berteaud
|
e9bb0e1137
|
Update logout helper to return a hashref
|
2014-10-14 19:31:53 +02:00 |
|
Daniel Berteaud
|
b5d483645c
|
Update login helper to return a hashref
|
2014-10-14 19:30:55 +02:00 |
|
Daniel Berteaud
|
798102117e
|
Add a new generic modify_room helper
|
2014-10-14 19:26:10 +02:00 |
|
Daniel Berteaud
|
cb56f6a935
|
Define constants in a separated package
|
2014-10-14 19:02:21 +02:00 |
|
Daniel Berteaud
|
946a9a749f
|
Rename a few DB tables
|
2014-10-14 18:43:09 +02:00 |
|
Daniel Berteaud
|
eda5ada45b
|
Fix invitations handling
|
2014-10-14 18:30:24 +02:00 |
|
Daniel Berteaud
|
2b5f5208e6
|
Remove useless bind variable
|
2014-10-14 18:25:14 +02:00 |
|
Daniel Berteaud
|
85da128bff
|
Fix participant last_activity
|
2014-10-13 20:22:35 +02:00 |
|
Daniel Berteaud
|
6a92875ae0
|
Another round of SQL queries updates
|
2014-10-13 20:17:51 +02:00 |
|
Daniel Berteaud
|
7370977481
|
Start adaptation to the new DB schema
|
2014-10-12 23:16:39 +02:00 |
|
Daniel Berteaud
|
b9dbc3c9fd
|
Rename get_room to get_room_by_name
|
2014-10-12 22:45:06 +02:00 |
|
Daniel Berteaud
|
8b01ca6fe9
|
Some more prepared queries
|
2014-10-12 22:13:38 +02:00 |
|
Daniel Berteaud
|
3e3f6e09f8
|
Remove support for language selection with url suffix
|
2014-10-12 21:59:53 +02:00 |
|
Daniel Berteaud
|
008e90a927
|
Directly render the feedback_thanks template
Instead of redirecting to a new route
|
2014-10-12 21:59:16 +02:00 |
|
Daniel Berteaud
|
cfb6fddac2
|
Switch conf parser to Config::Simple
Fix #84
|
2014-10-12 21:50:39 +02:00 |
|
Daniel Berteaud
|
cf3e6a28b1
|
Use Mojolicious::Plugin::Database to connect to the DB
Fix #86
|
2014-10-12 19:29:28 +02:00 |
|
Daniel Berteaud
|
e09c70e62c
|
Switch to Session::Token to generate random names
Fix #85
|
2014-10-12 18:44:53 +02:00 |
|
Daniel Berteaud
|
146d1b7881
|
Adapt to run vroom under hypnotoad instead of a CGI script
Fix #83
|
2014-10-12 18:22:02 +02:00 |
|