Daniel Berteaud
426fa04522
Use a separate dir for tmp
2015-07-22 22:01:24 +02:00
Daniel Berteaud
d48d27b380
Switch to the new Etherpad perl module
...
Which replace Etherpad::API
2015-07-22 18:20:36 +02:00
Daniel Berteaud
21dc1a9e9b
Don't prompt for password if invited
...
Also bypass the lock settings as if you are invited, it probably means the chairman want you to join
2015-07-22 16:03:54 +02:00
Daniel Berteaud
9c89488558
Correctly fallback to en when requesting an unsupported lang
2015-07-22 15:00:55 +02:00
Daniel Berteaud
980b834da6
Change the way JS localization is done
...
Render a plain JS file and include it as a standard JS script instead of relying on an ajax call
This makes it available immediatly (before that there could be a slight delay), but more importantly, makes sure the response can be cached
Chrome wasn't caching XHR get responses (no matter what the header were)
2015-07-22 13:57:42 +02:00
Daniel Berteaud
409d3a6ae6
Log the same thing in the DB and on stdout
2015-07-20 09:19:23 +02:00
Daniel Berteaud
3db996d2a7
Remove obsolete email_notification API action
2015-07-19 10:48:45 +02:00
Daniel Berteaud
c67722acd7
Remove the help page
...
it wasn't useful at all
2015-07-17 18:29:24 +02:00
Daniel Berteaud
e64f824485
Ref lang is fr :-)
2015-07-17 18:23:34 +02:00
Daniel Berteaud
84ec1b3e92
Detect supported lang by checking .po files now
2015-07-17 16:10:42 +02:00
Daniel Berteaud
4fb913d0f1
Check if etherpad is enabled with the get_opt_features helper
...
Instead of stashing the value
2015-07-17 10:07:14 +02:00
Daniel Berteaud
6ed6c6fe95
Mojolicious::Plugin::RenderFile is also optional
2015-07-17 09:22:29 +02:00
Daniel Berteaud
58c31af4dd
Make Excel::Writer::XLSX and File::Temp optional
2015-07-17 09:20:33 +02:00
Daniel Berteaud
3a066728ba
Remove trailing cr in modified room message
2015-07-17 08:45:34 +02:00
Daniel Berteaud
ed2601866c
Better fit column and rows for exported events
2015-07-17 08:42:52 +02:00
Daniel Berteaud
c18c02ead1
Export events in XLSX
...
Fix #102
2015-07-16 22:47:22 +02:00
Daniel Berteaud
b8e1321af2
Create session when accessing /
...
SO room creators get the correct role
2015-07-15 22:26:25 +02:00
Daniel Berteaud
669863843b
Remove uninitialized warning
2015-07-15 08:30:09 +02:00
Daniel Berteaud
344ab80b6b
Add admin area link in the toolbar
2015-07-14 21:48:09 +02:00
Daniel Berteaud
5c1b764cf8
Really init addr and user
2015-07-14 12:27:09 +02:00
Daniel Berteaud
38f3083937
Log when passwords are being set/unset
2015-07-14 11:47:39 +02:00
Daniel Berteaud
489ad3aaae
Log an event when a peer joins
2015-07-14 11:43:20 +02:00
Daniel Berteaud
2308580ac4
Only log room_modify event if some param was changed
2015-07-14 11:40:56 +02:00
Daniel Berteaud
211800e6dc
Prevent uninit value being logged
2015-07-14 11:34:32 +02:00
Daniel Berteaud
df6b375f8c
Details modified notification emails
2015-07-14 11:33:04 +02:00
Daniel Berteaud
66a00c637f
Disable JS/CSS combine/minify when running in dev mode
2015-07-14 00:30:59 +02:00
Daniel Berteaud
7487895a4a
Make etherpad::API optional
2015-07-14 00:25:41 +02:00
Daniel Berteaud
0dc7ceea3f
Remove some debuging lines
2015-07-14 00:00:08 +02:00
Daniel Berteaud
81ecd02751
Makes sure address and user are initialized
2015-07-13 23:57:50 +02:00
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