Commit Graph

6441 Commits

Author SHA1 Message Date
Nextcloud bot
c84caca341 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-05 02:31:58 +00:00
p-bo
b4a6ac2c97 App metadata: add links to user and developer documentation
Signed-off-by: p-bo <pavel.borecki@gmail.com>
2023-01-04 19:12:14 +01:00
Nextcloud bot
c0aaef3c4b Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-04 02:25:27 +00:00
Marcel Klehr
5a97b0e858 Merge pull request #3876 from alangecker/sessions
basic notify_push usage with session handling
2023-01-03 15:42:28 +01:00
Julius Härtl
d892979efa chore(psalm): Fix annotations to make psalm happy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-03 15:22:31 +01:00
chandi Langecker
a1d2e695c6 fix intentation mistake during rebase
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 14:29:48 +01:00
chandi Langecker
a466b76946 use dependency injection for logger
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
e89cd98419 fix broken requests in tests after switch to OCS
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
f03521e2a1 fix syntax error/mistake after rebase
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
541ee13780 sessions: ignore self-emitted update events
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
6d86ec70ef sessions: fix failing tests due to changed api endpoints
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
ccf73736c4 sessions: let's be an OCS API to support extenal clients
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
5386e6e24f make psalm & linter happy
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
0ea384d1e5 session cleanup via background job
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
d7919497b6 stub OCA\NotifyPush\Queue\IQueue
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:11 +01:00
chandi Langecker
b114520d85 update @nextcloud/notify_push to 1.1.3
which resolves the dependency issue:
https://github.com/icewind1991/notify_push-client/pull/5
(during the rebase the commit with an workaround got reverted 5aa36aa5ec)

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:45:09 +01:00
chandi Langecker
8007a06c94 Update lib/Controller/SessionController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
e1e29feb7b Update lib/Controller/SessionController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi
54b390010c Update lib/Service/SessionService.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
a674b5b5b2 fix php7 syntax error (unexpected '|')
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
2d465a707f fix acl test
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
43a1b1a2e5 sessions: integration tests
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
c82a5a1228 session list: minor visual improvements
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
6684730dd7 docs: sessions API documentation
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
ed125e9439 avoid naming conflicts for indexes
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
0272b2d52f fix linter errors after rebase
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
0aede224ec remove refreshData() leftover
there is now no regular refreshing anymore, only after update events

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
af134959ce optimize sql queries / indexing
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
b3d4ac5218 don't refresh closed sessions when tab is in the background
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
cd7fb9a4bd increase session timeout
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
dd307fa353 use nextcloud's database type constants
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
567b9cc66e use data() for constants instead of a computed property
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
38aed97d69 better session handling
- separated from component
- handle visibilityState / closing of the tab

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
6bfb54e2b3 use strict types in new php classes
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
7dc64de2de dedicated Listener class, constants for events
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
fd6e15b58c ensure activeSessions is an array
sometimes the resulting json contained an object leading to JS errors

Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:59 +01:00
chandi Langecker
fcfbcc63b4 basic notify_push usage with session handling (rebased)
Signed-off-by: chandi Langecker <git@chandi.it>
2023-01-03 12:43:56 +01:00
Nextcloud bot
0c69404ac9 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-03 02:47:11 +00:00
Julius Härtl
f6826f7746 Merge pull request #4350 from nextcloud/bugfix/noid/close-sidebar
fix(Sidebar): Only close sidebar on v-click-outside for specific targets
2023-01-02 12:07:16 +01:00
Julius Härtl
8b94750e85 fix(Navigation): Default open navigation if no local storage is set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-02 11:53:46 +01:00
Julius Härtl
4ab70617a5 test(Cypress): Add e2e tests for sharing basics and navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-02 11:53:21 +01:00
Julius Härtl
9cc199dc47 fix(Sidebar): Only close sidebar on v-click-outside for specific targets
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-02 08:50:53 +01:00
Nextcloud bot
0f71a525c0 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-02 03:17:18 +00:00
Nextcloud bot
d4e6537745 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-01 03:01:25 +00:00
Nextcloud bot
77b2945fff Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-31 03:20:19 +00:00
Julius Härtl
5d4612738b Merge pull request #4206 from shoetten/feature/add-basic-integration-tests
add basic e2e tests for stack title
2022-12-30 15:48:58 +01:00
Julius Härtl
5958632534 test(cypress): Move to @nextcloud/cypress
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-12-30 15:42:33 +01:00
Simon Hötten
2be2afba16 basic e2e tests for stack title edit
Signed-off-by: Simon Hötten <s+git@hoetten.org>
2022-12-30 14:43:13 +01:00
Simon Hötten
17b6c2a967 add cypress auto generated videos to gitignore
Signed-off-by: Simon Hötten <s+git@hoetten.org>
2022-12-30 14:43:13 +01:00
Simon Hötten
411972c812 change tooltip wording of list edit
Signed-off-by: Simon Hötten <s+git@hoetten.org>
2022-12-30 14:43:13 +01:00