Commit Graph

33 Commits

Author SHA1 Message Date
Luka Trovic
b80e0d9297 fix: clean attachment sharing records after permanent deleted
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2025-08-22 11:09:53 +02:00
Julius Knorr
2e62a9c82a perf: Skip doing a query just to check if a board is deleted
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-08 22:13:11 +02:00
Julius Knorr
7b4586a43a fix: Adapt URLs generated in the backend to new routes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-02-12 21:56:06 +01:00
Julius Knorr
86cb011a5c style: Fix php-cs issues
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-12-17 09:22:00 +01:00
Luka Trovic
439c2b422e fix phpcs
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-09-26 17:12:53 +02:00
dependabot[bot]
ba3e97b73d Chore(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 08:14:42 +02:00
Jonas
df5b5690a0 Only check path for being accessible when the storage is a object home
Forward-ported https://github.com/nextcloud/server/pull/24103

Signed-off-by: Jonas <jonas@freesources.org>
2024-07-02 10:37:56 +02:00
Andy Scherzinger
be11113d32 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-07 15:51:49 +02:00
Robin Appelman
534c71b6f8 also filter by storage when getting shares in folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-10 22:14:45 +01:00
Julius Härtl
86d2d1a0f3 fix: limit to non-deleted cards
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-04 15:20:08 +01:00
Julius Härtl
2ccfb9beee fix: Use typed share event
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-08-07 19:28:58 +02:00
Jonas
a7608b1900 Gracefully handle not found card for a share
Fixes: #3464
Fixes: #4565

Signed-off-by: Jonas <jonas@freesources.org>
2023-03-28 19:14:09 +02:00
Julius Härtl
e2dc1c2684 Simplify fetching boards during sharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-28 20:51:22 +02:00
Julius Härtl
e639456a82 Fetch attachment folder for the correct user during cron job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-05 13:20:41 +02:00
Joas Schilling
ff39027869 Fix share provider for master changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-29 10:27:25 +02:00
Carl Schwan
44481e1c2a Switch from OC::$server->get to OCP\Server::get
And add a bit more typing to some classes + psalm issues

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-12 10:55:36 +02:00
Julius Härtl
03f400620e Move all caching to helper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-05-11 16:04:12 +02:00
Luka Trovic
ed3be361b5 fix: move shares count cache logic to the DeckShareProvider
Signed-off-by: Luka Trovic <luka@nextcloud.com>

fix: conflicts

Signed-off-by: Luka Trovic <luka@nextcloud.com>

fix: conflicts and test issues

Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-05-06 10:25:48 +02:00
Luka Trovic
0b6990f828 fix: update attachments count when sharing
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2022-05-06 10:24:32 +02:00
Julius Härtl
596834853b Fix codestyle issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:43:57 +01:00
Julius Härtl
5d3b6d92a6 Always pass user id in share provider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-21 08:20:18 +02:00
Julius Härtl
6b6aef03f7 Attempt to fix psalm false-positive
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-13 14:13:04 +02:00
Julius Härtl
79468e6f06 Use board permissions to be applied for the shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 22:26:04 +01:00
Julius Härtl
0c6dfb2442 Properly cast columns before joining
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 17:14:11 +01:00
Julius Härtl
08842d239e Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 16:01:55 +01:00
Julius Härtl
199cccf86b Add 1.1 api version to handle other attachment types properly
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 15:58:40 +01:00
Julius Härtl
b26caaa6e5 Fix integration tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +01:00
Julius Härtl
74814ad614 Fix test mocking
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +01:00
Julius Härtl
c440b7ff7d Remove autocomplete plugin for deck sharing results
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:54 +01:00
Julius Härtl
99379beb56 Move to dedicated file attachment service
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:53 +01:00
Julius Härtl
02237040d4 Handle nonexisting share provider registration
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:53 +01:00
Julius Härtl
715ab2249b Collaboration search provider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:52 +01:00
Julius Härtl
e92d34bfcb Implement share provider for deck
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-04 12:10:52 +01:00