Commit graph

22 commits

Author SHA1 Message Date
Joas Schilling
1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-26 13:02:15 +02:00
Joas Schilling
1fe013eec2
fix(federation): Don't allow manipulating federated conversations for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-19 12:51:44 +01:00
Vitor Mattos
380fbcfdc8
Convert specific command to generic create and update
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-07-15 09:38:52 -03:00
Joas Schilling
9e8d94d58f
Replace old type constants with new ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-18 16:17:11 +02:00
Vincent Petry
bcc9f8fdb5
Fix updating listable attribute from occ
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:52 +01:00
Vincent Petry
0aa0dcfd3e
Apply suggestions from code review of listable rooms feature
Always join as USER when joining group or public room
Allow nulls for Oracle
Changes after review
Removed populateBaseRoomData and reused the existing code by adding an
extra condition for when querying listable rooms with null participant.

Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:50 +01:00
Vincent Petry
65238d1b8f
Adjustments for listable rooms after review
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:48 +01:00
Vincent Petry
17971cd34a
Add listable flags attribute for conversations
Added ability to set a conversation as listable for regular users and/or
guest users from the guest app.

This only implements the flag, endpoint and UI to manage it but not yet
making it appear in search results.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:47 +01:00
Daniel Calviño Sánchez
803766d38d
Add support for conversation descriptions to occ commands
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-08 13:00:12 +01:00
Joas Schilling
97e96b5633
Add return types to commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-26 15:24:16 +02:00
Daniel Rudolf
0b13f861f8
Move talk:room:* command and unit test DI to traits
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-29 19:04:04 +02:00
Daniel Rudolf
d4f0d2e443
Add bash autocompletion for talk:room:* commands
Implementations for option "--circle" and participant options/arguments is still pending, i.e. this is work in progress.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-13 21:29:26 +02:00
Daniel Rudolf
408baed9a6
Merge branch 'master' into feature/cmd-room-followup 2020-05-13 15:54:12 +02:00
Joas Schilling
84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12 15:04:42 +02:00
Daniel Rudolf
2efadfb80d
Various small improvements
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-12 14:21:56 +02:00
Daniel Rudolf
4ef48ab325
Remove unused code
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-12 14:09:09 +02:00
Daniel Rudolf
02f887acfe
Various small improvements to talk:room:* commands
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-08 16:49:08 +02:00
Daniel Rudolf
2ebd3a4b10
Add --owner option to talk:room:* commands
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-08 12:57:40 +02:00
Daniel Rudolf
7cd525d8a6
Proberly exclude one-to-one convos from talk:room:* commands
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-06 11:06:53 +02:00
Joas Schilling
e577601ae4
Improve talk:room:update option descriptions
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-06 11:02:19 +02:00
Daniel Rudolf
c770837f8d
Remove unused code
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-06 10:32:40 +02:00
Daniel Rudolf
f992f34146
Add talk:room:* CLI commands
* Create new rooms with talk:room:create
* Delete rooms with talk:room:delete
* Add users to rooms with talk:room:add
* Remove users from rooms with talk:room:remove
* Promote users to moderators with talk:room:promote
* Demote users with talk:room:demote
* Update room settings with talk:room:update
* List rooms of a user with talk:room:list

The talk:room:* CLI commands don't support one-to-one rooms on purpose.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2020-05-05 23:00:14 +02:00