rapterjet2004
bc0dae7dce
fixed CI
...
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
Joas Schilling
8957cff0d0
Revert "fix: deactivate broken test and remove test platform config"
...
This reverts commit 37625403d6
.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
Andy Scherzinger
37625403d6
fix: deactivate broken test and remove test platform config
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-20 14:56:05 +02:00
Marcel Hibbe
2408d639e4
Offline support for conversations and chats
...
Authors: Julius Linus and Marcel Hibbe
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:03 +02:00
sowjanyakch
1c26c757f0
Refactor ShareUtils and remove ShareUtilsTest file
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:31 +02:00
Andy Scherzinger
bfcc6e9f86
Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 01:05:20 +01:00
Marcel Hibbe
abe9a9d5fb
fix ShareUtilsTest
...
fix to not assume baseUrl can't be null for mockito 'when' condition
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:58:40 +01:00
Marcel Hibbe
754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
...
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.
Other than that, many other changes were made as a result of this change.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
Marcel Hibbe
591d6dc3e8
remove conductor
...
- replace remaining controllers with activities
- remove conductor lib
- modify some code related to account management and conductor
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-11-23 13:26:01 +01:00
tobiasKaminsky
838b14b9dc
extracted and created tests
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2023-09-20 18:11:56 +02:00
Smarshal21
58931564ff
FIxed ktlintCheck Errors
2023-09-19 11:48:03 +05:30
Smarshal21
8913b0fc62
updated the author in the copyright headers
2023-09-19 11:48:03 +05:30
Smarshal21
b307add657
Fixed Codacy Static Code Warnings
2023-09-19 11:48:03 +05:30
Smarshal21
38081a523d
Fixed Codacy Lint Warnings
2023-09-19 11:48:03 +05:30
Smarshal21
e5debca7c1
Added Instrumentation Test and Unit Tests
2023-09-19 11:48:03 +05:30
Andy Scherzinger
f77d7e57ed
remove empty line
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-09-08 18:47:00 +02:00
Smarshall
76e86ca536
Updated Gradle and added the license header as comment
2023-09-08 10:49:34 +02:00
Smarshall
27d977af11
Added Unit Test For UserIdUtils
2023-09-08 10:49:34 +02:00
Andy Scherzinger
41d671ff47
Fix code formatting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 09:57:19 +01:00
Marcel Hibbe
d33857e603
remove unused code
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-12-07 14:40:52 +01:00
Tim Krüger
c554535bae
Respect can publish audio & video permission
...
With this implementation the can publish audio & video permission are
set during the creation of the 'CallActivity'. This permissions are
fixed for the complete call. If the permissions are changed by a
moderator the call must be left and joined again.
Resolves : #1783
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-09-26 12:39:15 +02:00
Tim Krüger
1bbc7caeee
Rename AttendeePermissionsUtil to ParticipantPermissions
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-09-26 11:07:31 +02:00
Tim Krüger
84116e4cb2
Add guests access preferences to conversation info
...
Currently a conversation can be made public via the bottom sheet menu in
the conversation list.
With this commit this is added to the conversation info to align with Talk web
and iOS. The functionality is removed from the bottom sheet menu in the
conversation list.
Resolves : #2134
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-08-29 18:42:56 +02:00
Andy Scherzinger
7230f81cf5
Migrate conversations list and next hop controllers to use the room user entity
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-13 00:22:03 +02:00
Álvaro Brey
956e6b8fce
ShareUtilsTest: remove date() test
...
Fails, has nothing to do with ShareUtils, and it's testing a third-party library
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-27 14:54:02 +02:00
Álvaro Brey
820db1e167
Convert ShareUtils to Kotlin so no TextUtils static mock is needed in tests, and re-enable relevant tests
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-27 14:40:45 +02:00
Álvaro Brey
fd4b7080cc
DoNotDisturbUtils: refactor to avoid mocking static stuff
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-27 14:26:00 +02:00
Andy Scherzinger
8ed5432045
Migrate ChatMesage, Conversation and directly linked data classes to kotlin
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-17 14:42:10 +02:00
Marcel Hibbe
be29459955
fix klint warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:07 +02:00
Marcel Hibbe
bae65ebbe9
rename canPostChatShareItemsDoReaction to hasChatPermission
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
cc6f582ee2
check capability and permission to delete message
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
d9d6af2b99
add util for permissions
...
util uses bitwise operations to access every single permission via variable
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:05 +02:00
Tim Krüger
aaa9567c19
Skip test 'ShareUtils#date'
...
The test will be skipped on the CI server because it fails there:
com.nextcloud.talk.utils.ShareUtilsIT > date[android-27(AVD) - 8.1.0] FAILED
java.lang.AssertionError: expected:<1207778138000> but was:<1207785338000>
at org.junit.Assert.fail(Assert.java:88)
Locally the test works fine. For this problem a issue were created.
See: #1737
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-08 14:52:21 +01:00
Tim Krüger
707841ec29
Mock the companion object correctly
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
Tim Krüger
c854d8c3ae
Replace deprecated methods
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-07 09:45:05 +01:00
tobiasKaminsky
eb5b6a80d9
dav library test
...
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-09-05 16:56:50 +00:00
Tim Krüger
8468535a1e
Remove unused method and dependency
...
See: commit 4c4c5839
, #1167
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-14 10:17:05 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Mario Danic
6a5aaac224
Lobby & Various bugfixes and improvements
...
Includes conversion to Kotlin of some files
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 12:13:33 +02:00
ardevd
fd0866dfc5
test: added unit tests for the DoNotDisturbUtils utility class ( #530 )
...
* test: added unit tests for the DoNotDisturbUtils utility class
Signed-off-by: eho <edvard.holst@gmail.com>
* added Mario's mandatory newline.
Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-23 15:18:22 +02:00
ardevd
0b8b0fa5c4
test: added unit tests for the ShareUtils utility class. ( #524 )
2019-04-11 18:59:14 +02:00
ardevd
b6edab3d59
refactored test names. added requested whitespace
...
Signed-off-by: ardevd <edvard.holst@gmail.com>
2019-04-11 13:24:14 +02:00
eho
d2aa3a7f50
test: added unit tests for the TextMatchers utility class.
...
- Replaced Patterns with PatternsCompat equivalent for unit testing compatibility
- Removed ExampleUnitTest placeholder test class
Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-10 22:07:50 +02:00