provokateurin
381077028a
refactor(apps): Use constructor property promotion when possible
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +02:00
dependabot[bot]
bb598c8451
chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer
...
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 1.3.1 to 1.3.2.
- [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.3.1...v1.3.2 )
---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-19 07:57:35 +02:00
Git'Fellow
a1681b0756
chore(db): Apply query prepared statements
...
Fix: psalm
fix: bad file
fix: bug
chore: add batch
chore: add batch
chore: add batch
fix: psalm
2024-10-17 20:30:47 +02:00
Côme Chilliet
1580c8612b
chore(apps): Apply new rector configuration to autouse classes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02:00
provokateurin
6d8ffb381f
refactor(files_trashbin): Add Storage parameter strong types
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin
0356e9e82f
fix(files_trashbin): Fix all IStorage return types
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:22 +02:00
Côme Chilliet
b80bc81579
chore: Use SPDX headers and property promotion in new files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:29 +02:00
Carl Schwan
77821f8f3e
feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListener
...
oc_hooks is deprecated and will at some point be removed
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:21 +02:00
Côme Chilliet
1a4978c4ea
chore: Apply rector configuration to apps folder
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02:00
Robin Appelman
42ea824fd7
fix: improve moving object store items to trashbin
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 21:01:44 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Côme Chilliet
03b969fb95
chore: Improve typing and phpdoc comments
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 20:29:48 +02:00
Côme Chilliet
492e6997d8
chore: Fix psalm issues, put back private versions of getter in private Storage interface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Anna Larch
8af7ecb257
chore: adjust code to adhere to coding standard
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +02:00
Daniel Kesselberg
af6de04e9e
style: update codestyle for coding-standard 1.2.3
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00
John Molakvoæ
d35c4eb911
Merge branch 'master' into jr-readdir-false-false
...
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-08-16 10:53:50 +02:00
Kate
8c08ac0def
Merge pull request #46812 from nextcloud/refactor/files_trashbin/security-attributes
2024-08-14 09:46:28 +02:00
Stephan Orbaugh
5c54a3caa7
Merge pull request #46974 from nextcloud/fix/noid/add-metadata-to-migrationsteps
...
feat(migrations): add metadata to existing migrations
2024-08-06 13:27:04 +02:00
Ferdinand Thiessen
b5cd64e584
fix(files_trashbin): Original name of the deleted files should be set as display name for DAV
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:02:57 +02:00
Maxence Lange
5e1196095c
feat(migrations): add metadata to existing migrations
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-02 18:26:12 -01:00
Joas Schilling
bfd96b070b
fix(trashbin): Improve documentation of since/until timestamps of restore trashbin
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 20:33:56 +02:00
provokateurin
220c6a2bd9
refactor(files_trashbin): Replace security annotations with respective attributes
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:33:47 +02:00
Robin Appelman
c82d382a20
feat: add base class for extending the query builder
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-12 17:01:39 +02:00
Ferdinand Thiessen
dea5559d35
fix(files_trashbin): Make files view registering an init script
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +02:00
Andy Scherzinger
afa48a4e0e
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:00:00 +02:00
Christopher Ng
583517eb38
feat(trashbin): Add deleted by properties
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 16:20:41 -07:00
Christopher Ng
caed644c03
chore(trashbin): Add method to get deleted by from trash item
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 16:20:41 -07:00
Christopher Ng
b41834fb8d
chore(trashbin): Store deleted by user
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:15:02 -07:00
Christopher Ng
e2145b1377
chore(trashbin): Add deleted_by column to files_trash
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-23 15:15:02 -07:00
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +02:00
Louis Chemineau
2de9880d79
fix(files): Do not require files_trashbin in live photo sync listener
...
Fix https://github.com/nextcloud/server/issues/43299
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-14 10:55:44 +01:00
Robin Appelman
e7a7b4a401
perf: switch places that always use the first getById result to getFirstNodeById
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Côme Chilliet
ba27643d27
chore(files_trashbin): Migrate away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-20 10:03:53 +01:00
Côme Chilliet
b2e9e0fa0d
chore: Replace OC::$server->getL10N by OCP\Util::getL10N in lib and some apps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +01:00
Côme Chilliet
8bcc2d352e
chore: Fix missing template parameter for IEventListener
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Robin Appelman
60dfe31d5d
use deletion time instead of mtime in trashbin handling
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-03 14:41:58 +01:00
Louis Chemineau
2f6a4bf4a1
Synchronize operation on live photo files
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-29 19:07:32 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Maxence Lange
e62e9e3dbf
IFilesMetadata
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Côme Chilliet
0a9371f99f
Migrate applications away from deprecated ILogger
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
Robin Windey
7afcacdff7
Merge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724
...
Let `occ trashbin:restore` restore also from groupfolders and add filters
2023-09-18 12:38:57 +02:00
Robin Appelman
9055fef5ef
add IFileInfo::getParentId
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 18:42:49 +02:00
Robin Appelman
36f9ebb677
only gather dependencies for trashbin wrapper once
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-08-18 11:14:52 +02:00
Robin Windey
d7a73ffdf1
Rename since/until in verbose message
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey
acf0b4ce34
Code adjustments according to PR review
...
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey
52d77eb9fe
Make scope parsing more readable
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey
ee66518ca2
Decouple from groupfolders app & remove PSALM warnings
...
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey
98dd02b467
Let occ trashbin:restore restore also from groupfolders and add additional filters
...
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
able to adjust the filter parameters accordingly
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Joas Schilling
a6bf93501d
fix(files_trashbin): Migrate to IEventDispatcher and emit as typed event
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-19 17:37:33 +02:00