Commit Graph

6500 Commits

Author SHA1 Message Date
dependabot[bot]
b1a4a0b836 Merge pull request #4366 from nextcloud/dependabot/npm_and_yarn/master/nextcloud/eslint-config-8.1.5 2023-01-07 06:25:23 +00:00
dependabot[bot]
93d8023bdc Bump dompurify from 2.4.1 to 2.4.3
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.4.1 to 2.4.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.4.1...2.4.3)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 03:34:32 +00:00
dependabot[bot]
59e8a87baf Bump @nextcloud/eslint-config from 8.1.4 to 8.1.5
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 8.1.4 to 8.1.5.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v8.1.4...v8.1.5)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-07 03:31:07 +00:00
Nextcloud bot
dd6fbb7fb4 Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-01-07 02:32:11 +00:00
Julius Härtl
05590b3550 Merge pull request #4359 from nextcloud/dependabot/npm_and_yarn/json5-and-json5-and-vue-jest-2.2.3 2023-01-05 17:03:38 +01:00
dependabot[bot]
8ba4b74e2c Bump json5 and vue-jest
Bumps [json5](https://github.com/json5/json5) to 2.2.3 and updates ancestor dependencies [json5](https://github.com/json5/json5), [json5](https://github.com/json5/json5) and [vue-jest](https://github.com/vuejs/vue-jest). These dependencies need to be updated together.


Updates `json5` from 2.2.1 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

Updates `json5` from 1.0.1 to 2.2.3
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

Updates `vue-jest` from 3.0.7 to 4.0.1
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v3.0.7...v4.0.1)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
- dependency-name: json5
  dependency-type: indirect
- dependency-name: vue-jest
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-05 15:47:51 +00:00
Julius Härtl
43817fdaeb Merge pull request #4358 from nextcloud/ci/ubuntu-latest
ci: Get rid of outdated ubuntu images on actions
2023-01-05 16:46:59 +01:00
Julius Härtl
f46ecc0b3b ci: Get rid of outdated ubuntu images on actions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-01-05 16:24:12 +01:00
Julius Härtl
aecfdc857d Merge pull request #4356 from p-bo/patch-2 2023-01-05 12:27:38 +01:00
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