Julien Veyssier
18ab5f212e
new DB table to store bridge configs
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
5 years ago
Joas Schilling
84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
ae0bf7f341
Add license and remove auto-generate comment from migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
6ddd276dd0
Extend the signaling setting API to allow somewhat clustering
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Roeland Jago Douma
ebf3973842
Add index on the session_id
This is called from time to time as well. Especially on big instances
having this proper indexed saves a lot of row scanning.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Joas Schilling
299f440cdb
Add a user index on the participants table
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
c396242111
Add some indexes for the main queries
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
4c78c3d5fb
Add a migration to update the background jobs table
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
d4fc586f1a
Bye Spreed, hello Talk!
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
8cd50644d4
Allow a timer as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
12952b93c9
Add a lobby state column to the room table
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
fc68af7340
Add missing return
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
679dc3eeaa
Remove unused repair step
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
c60ca2b83d
Add a repair step to clear the projecct access
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
e25ad64348
Fix migration script on postgresql
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
54692ebac3
Change read marker to work on the comment id isntead of datetime
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
a0d5a835a9
Add a new column to record who joined a call
This makes sure users that only joined the chat are not listed in the call summary
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
d3835dfc83
Add /wiki sample command
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
f1667ac2f7
Introduce a Read-Only state for conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
8ad3535ba9
Add a help command
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
b6e5120060
Add a service
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
c460128531
No patterns for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
c0e34c8729
Start with commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
56460baaf2
Strict controllers and migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
ee894cc5cd
Introduce notification levels for participants
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joachim Bauch
d4929b7525
Change "inCall" state to contain bit flags
The flags encode if a user is in the call and whether he is publishing
audio and/or video.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
8 years ago
Daniel Calviño Sánchez
29a72c3ede
Add columns "object_type" and "object_id" to table "talk_rooms"
Note that in Oracle string fields have to be nullable to be able to set
empty strings on them.
As the table "comments" also has columns named "object_type" and
"object_id" they must be namespaced when the last comment is included in
the room information; otherwise the created comment object would have
the object type and id from the room instead of from the comment.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
36ae3a3e55
Highlight the unread count only for mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
f37e260ac5
Left join the last comment instead of doing O(n) queries
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
ed7d2b2b32
Add update support
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
84b556629c
Store the timestamp of the last activity in a room and sort by that, instead of the last ping
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Joas Schilling
1add86b280
Handle the favorite on the participant object and fix favorite spelling
Signed-off-by: Joas Schilling <coding@schilljs.com>
7 years ago
Mario Danic
62b11f9a9f
Add support for backend favorites
Signed-off-by: Mario Danic <mario@lovelyhq.com>
8 years ago
Joas Schilling
c2387c534e
Store guest names when they leave a comment
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
11185194be
Fix update/install issue with old activity app
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
9374a6ca2f
Also set a token when it is null
Appearantly some rooms had null as a token in the past
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
c572bad105
Fix migration type hints
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
3031e1cba1
Fix typo
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
c10e399d33
Doh
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
9028d6ce6a
Make sure Postgres uses lowercase for the migration generated columns
The issue is that migrations always generate lowercase columns only.
So all columns that were created with database.xml are okay and cC.
But all intermediate columns the migrations create need to be
referenced as lowercase columns in the queries.
In the future we won't have this problem anymore because we switched
to under_score column names for 3.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
c2f2cbf838
Allow postgres for update but not < 2.0.0
Actually it's not postgres having the problem, but migrations.
Postgres allows camelCased columns, but they need to be quoted.
They were quoted from the old database.xml file but this does
not work anymore in migrations. But that means it worked on
postgres in the past, it just didn't work in 2.9~ to install
since migrations where merged. So we are reverting the check
for postgres and only allow updating from 2.0.0 or later.
This makes sure that when newly installing the migration code
is not run.
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
ce3b4952ea
Fix postgres issue when updating
Postgres could not be used in 12. It installed the tables with wrong names
so we need to ignore it on the update steps. The wrong tables will be
dropped and new tables will be created with further migrations.
But we shouldn't try to migrate data from the old and broken layout.
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
42c400893b
Fix missing defaults
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
1b13e47672
Fix migration docs and empty methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
2121735753
Make sure column names are lowercase to not break postgres
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
d0967b313f
Save more energy when installing
This fixes the migrations for postgres, but the live code still errors.
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
9b51df8f02
Simplify the owner update queries when the instance has no one2one rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
eae71a3977
Split joining a room and joining a call API wise
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
55e6f3f58e
Also functional without notifications and activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago
Joas Schilling
4c0596c510
Adjust index names
Signed-off-by: Joas Schilling <coding@schilljs.com>
8 years ago