Vincent Petry
130151df3c
Merge pull request #5544 from nextcloud/bugfix/noid/dipatch-typo
Fix "dipatch" typo
5 years ago
Vincent Petry
1bef0c1e22
Fix "dipatch" typo
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
43381c62de
Merge pull request #5522 from nextcloud/tests/noid/more-js-store-tests2
More JS store tests featuring fileUploadStore and a few simple ones
5 years ago
Vincent Petry
bb474060e9
Fix tabs in config files
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Joas Schilling
30b9f662da
Merge pull request #5540 from nextcloud/dependabot/npm_and_yarn/ssri-6.0.2
Bump ssri from 6.0.1 to 6.0.2
5 years ago
Joas Schilling
8da8d35341
Make sure the user we are testing with exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
fadc36d34b
Merge pull request #5539 from nextcloud/bugfix/4386/dont-allow-to-add-the-bridge-bot-user
Don't allow to manually interact with the bridge bot user
5 years ago
Joas Schilling
46f1879642
Don't focus the first item randomly, arrow up/down does that already
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
8c34922084
Fix pressing enter action
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
dependabot[bot]
5431d78be3
Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri ) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases )
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md )
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2 )
Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Vincent Petry
0c6e58a421
Add JS tests for sidebar store
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
012f36857c
Add JS test for quote reply store
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
d7f207e63c
Add JS tests for new group conversation store
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Joas Schilling
a836957578
Don't allow to moderate the bridge-bot and show a "(bot)" on it
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3aa8e604d1
Do not allow to manually interact with the bridge-bot user
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
ecc1d2a8f3
Add a global constant for the bots userId
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Vincent Petry
3b5bd61f14
Add JS tests for guest name store
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
a41b98045d
Added file upload store tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Joas Schilling
5249c1390a
Merge pull request #5537 from nextcloud/bugfix/noid/fix-discard-upload
Fix discard upload call + naming tweaks
5 years ago
Joas Schilling
cfcdde4eb1
Also don't overwrite the last message in the UI parts
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
605437a093
Don't store commands as last messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Vincent Petry
fe9cd12349
Fix discard upload call + naming tweaks
DiscardUpload must pass args in the correct way.
Renamed fileId to temporaryMessageId for clarity.
Changed console.debug to console.error when sharing file for consistency
with the console.error from the upload.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Nextcloud bot
c5e23656f5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 years ago
Joas Schilling
33888d4290
Merge pull request #5529 from nextcloud/techdebt/noid/participant-service-decouple-store
Decouple participantsService from the store
5 years ago
Joas Schilling
b061e91521
Merge pull request #5524 from nextcloud/techdebt/noid/remove-store-usage-settingsservice
Remove store usage in settingsService
5 years ago
Joas Schilling
331ab9950c
Merge pull request #5533 from nextcloud/bugfix/noid/fix-offline-user-sorting
Fix sorting of users that are online with user status offline
5 years ago
Joas Schilling
7f242246be
Merge pull request #5531 from nextcloud/techdebt/noid/decouple-fileupload-service-from-store
Decouple fileupload and createTemporaryMessage from the global store module
5 years ago
Joas Schilling
72d871f4a5
Fix sorting of users that are online with user status offline
This was missed in https://github.com/nextcloud/spreed/pull/4253
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Vincent Petry
09e31c6ba8
Simplify hash args
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
5 years ago
Vincent Petry
151ff5ace3
Merge pull request #5530 from nextcloud/bugfix/noid/add-missing-observe-visibility
Register visibility observer in all entry points
5 years ago
Vincent Petry
2d31f14d68
More createTemporaryMessage to a store action
Since createTemporaryMessage heavily depends on a store, moved it into a
messagesStore action to decouple it from the global store module.
Note: even though it's synchronous, the dispatch() function returns a
promise so we need to treat it as if it was async.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
b9632cf7a3
Decuple fileUpload service from the global store
Moved the logic of "processFiles" into the existing "initialiseUpload"
action of the fileUploadStore
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Joas Schilling
0bb284b5ee
Merge pull request #5528 from nextcloud/bugfix/5527/fix-postnewmessages-cancelable
Fix cancelling postNewMessage
5 years ago
Joas Schilling
c7fd492bfd
Merge pull request #5532 from nextcloud/bugfix/noid/big-play-button-in-reply
Remove play button in reply to for video previews
5 years ago
Nextcloud bot
e4d11f7f6f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 years ago
Vincent Petry
bb0ed76284
Remove play button in reply to for video previews
The reply to box is too small to contain a play button, so remove it
there.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
a2741f30f1
Register visibility observer in all entry points
The observe-visibility extension was missing in many entry points
resulting in repeated console warnings.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
726fd807fc
Decouple participantsService from the store
Moved joinConversation, leaveConversation and a few other dependencies
to the participantsStore.
Removes the dependency to the store from participantsService.
There's a slight change of behavior: joinConversation in the service now
also connects to signaling, and only when this is done the first
action dispatch are done. In the previous implementation the store
already received some updates before we even connected to signaling.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
f4484df4c3
Merge pull request #5521 from nextcloud/bugfix/4939/fix-spacing-of-system-messages
Always group system messages, independent from author
5 years ago
Vincent Petry
1e9e8bb0b1
Fix cancelling postNewMessage
For timeout cancelling to work, the options need to be passed to the
request object.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
16e1d57136
Remove store usage in settingsService
Adjust setPlaySounds service function to not rely on the store.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Nextcloud bot
d72448c5eb
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 years ago
Joas Schilling
481820dd70
Always group system messages, independent from author
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joachim Bauch
a7e58c30af
Disable use of deprecated "Plan-B" semantics if HPB is used.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
5 years ago
Vincent Petry
5616b52d14
Merge pull request #5512 from nextcloud/tests/noid/more-js-store-tests
More JS tests for stores
5 years ago
Vincent Petry
fa52e80bb8
Fix date mock
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Nextcloud bot
0db3046bcc
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
5 years ago
Vincent Petry
ba4277e9ab
Merge pull request #5519 from nextcloud/bugfix/noid/sound-setting-for-users
Fix loading the correct sound setting for users
5 years ago
Joas Schilling
7526a6af71
Call services from within the store
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
47879377b2
Fix loading the correct sound setting for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago