Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(files_sharing): ShareesAPI - Return empty response when user is not ↵ | Ferdinand Thiessen | 2024-03-15 | 1 | -24/+9 |
| | | | | | | | | allowed to share Resolves: https://github.com/nextcloud/server/issues/20950 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de> | ||||
* | Merge pull request #43835 from nextcloud/backport/43605/stable28 | John Molakvoæ | 2024-02-29 | 1 | -8/+2 |
|\ | |||||
| * | fix: only cleanup orphaned shared daly | Robin Appelman | 2024-02-26 | 1 | -8/+2 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | feat(share): save date and time for expiration | Benjamin Gaussorgues | 2024-02-26 | 1 | -1/+4 |
|/ | | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | Use `@nextcloud/capabilities` to obtain share api defaults | fenn-cs | 2024-02-03 | 1 | -7/+0 |
| | | | | | | | | - Remove redundant initial state added - Call `getCapabilities()` in share config file. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> | ||||
* | Consider admin defaults when creating shares | fenn-cs | 2024-02-03 | 1 | -0/+1 |
| | | | | | | | | | | The current share logic always uses the default `BUNDLED_PERMISSIONS.ALL` which includes everything. This commit updates share creation logic to use `defaultPermissions` if set by admin for the creation of new shares. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> | ||||
* | refactor: Migrate IgnoreOpenAPI attributes to OpenAPI | provokateurin | 2024-01-19 | 2 | -4/+4 |
| | | | | Signed-off-by: provokateurin <kate@provokateurin.de> | ||||
* | fix(share): use user timezone to parse share expiration date | Benjamin Gaussorgues | 2024-01-15 | 1 | -17/+6 |
| | | | | | | | | If an user in UTC+1 try to create a share at 00:00, it's day D for him, but D-1 for the server (UTC). This fix aims to apply the correct offset Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | chore: apply changes from Nextcloud coding standards 1.1.1 | Joas Schilling | 2023-11-23 | 31 | -97/+89 |
| | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | fix: Also cleanup orphaned shares user cannot be found anymore | Julius Härtl | 2023-11-20 | 1 | -1/+6 |
| | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> | ||||
* | optimize builtin storage wrappers | Robin Appelman | 2023-11-08 | 3 | -2/+31 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | refactor: Rename OpenAPI type aliases to their namespaces | jld3103 | 2023-11-02 | 6 | -84/+84 |
| | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | Merge pull request #39044 from nextcloud/more-empty-mount-checking | Robin Appelman | 2023-10-24 | 1 | -0/+4 |
|\ | | | | | Fix root mounts not being setup in some cases | ||||
| * | add more checks to ensure mounts aren't empty | Robin Appelman | 2023-09-12 | 1 | -0/+4 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix(sharing): set name to target name in sharing cache | Max | 2023-10-18 | 1 | -0/+4 |
| | | | | | | | | | | | | Fixes #39879. Signed-off-by: Max <max@nextcloud.com> | ||||
* | | fix(federation): Use `sharing.federation.allowSelfSignedCertificates` config ↵ | Joas Schilling | 2023-10-11 | 2 | -18/+13 |
| | | | | | | | | | | | | for all OCM requests Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Convert isset ternary to null coalescing operator | Hamid Dehnavi | 2023-09-28 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com> | ||||
* | | Add single status code descriptions for OpenAPI | jld3103 | 2023-09-27 | 4 | -0/+10 |
| | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | | Merge pull request #39574 from nextcloud/fix/noid/ocm-controller | Arthur Schiwon | 2023-09-20 | 3 | -54/+75 |
|\ \ | | | | | | | OCM Services | ||||
| * | | small fixes | Maxence Lange | 2023-09-20 | 1 | -1/+4 |
| | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
| * | | set authType to basic | Maxence Lange | 2023-09-20 | 1 | -0/+1 |
| | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
| * | | ocm controller | Maxence Lange | 2023-09-20 | 3 | -54/+71 |
| | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | | | feat(files): add files_sharing indicator | John Molakvoæ (skjnldsv) | 2023-09-20 | 1 | -1/+1 |
|/ / | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | ||||
* / | Enfore allowPublicShares admin setting | fenn-cs | 2023-09-12 | 1 | -2/+21 |
|/ | | | | | | | Use the the modern intial-state library to pass data about `allowPublicUploads` to the sharing frontend. Signed-off-by: fenn-cs <fenn25.fn@gmail.com> | ||||
* | fix(cache): Remove displayname cache entry on delete | Joas Schilling | 2023-08-28 | 1 | -0/+4 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #39944 from nextcloud/share-cache-share | Robin Appelman | 2023-08-28 | 2 | -5/+14 |
|\ | | | | | pass the share to the cache instead of having to ask the storage | ||||
| * | pass the share to the cache instead of having to ask the storage | Robin Appelman | 2023-08-18 | 2 | -5/+14 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | fix(tests): Specify all positional parameters again to fix tests | Joas Schilling | 2023-08-23 | 1 | -8/+12 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | move "aways loaded" sharing script to event listener | Robin Appelman | 2023-08-17 | 1 | -5/+6 |
|/ | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Merge pull request #39605 from nextcloud/bugfix/noid/final-events-cleanup | Joas Schilling | 2023-08-04 | 3 | -69/+4 |
|\ | | | | | fix!: Final round of moving to IEventDispatcher | ||||
| * | fix!: Remove LegacyBeforeTemplateRenderedListener from files_sharing | Joas Schilling | 2023-07-28 | 2 | -59/+0 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
| * | feat!: Migrate Sharing events to typed events | Joas Schilling | 2023-07-28 | 2 | -10/+4 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | fix(notifications): Remove share notification when the node is deleted | Joas Schilling | 2023-08-03 | 1 | -0/+8 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Merge pull request #39330 from nextcloud/feature/openapi/files_sharing | Kate | 2023-08-01 | 10 | -132/+537 |
|\ \ | |/ |/| | files_sharing: Add OpenAPI spec | ||||
| * | files_sharing: Add OpenAPI spec | jld3103 | 2023-07-31 | 10 | -132/+537 |
| | | | | | | | | Signed-off-by: jld3103 <jld3103yt@gmail.com> | ||||
* | | fix(dispatcher): Move remaining simple cases in apps/ folder to IEventDispatcher | Joas Schilling | 2023-07-25 | 1 | -8/+9 |
|/ | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | fix(files_sharing): error and size/mtime for deleted shares | John Molakvoæ | 2023-07-11 | 1 | -0/+2 |
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* | fix: adjust testing | John Molakvoæ | 2023-07-11 | 3 | -12/+9 |
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* | fix: drop legacy sharing files | John Molakvoæ | 2023-07-11 | 2 | -70/+3 |
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* | feat(sharing): add sharing overview view | John Molakvoæ | 2023-07-11 | 2 | -8/+20 |
| | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com> | ||||
* | Merge pull request #39169 from ↵ | Benjamin Gaussorgues | 2023-07-11 | 5 | -131/+51 |
|\ | | | | | | | | | nextcloud/fix/migrate-to-psr-logger-interface-files_sharing Migrate files sharing to PSR LoggerInterface | ||||
| * | Migrate files sharing to PSR LoggerInterface | Benjamin Gaussorgues | 2023-07-06 | 5 | -131/+51 |
| | | | | | | | | Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | ||||
* | | Merge pull request #39170 from nextcloud/orphan-share-command | Robin Appelman | 2023-07-10 | 2 | -0/+182 |
|\ \ | |/ |/| | add command do delete orphan shares | ||||
| * | add command do delete orphan shares | Robin Appelman | 2023-07-05 | 2 | -0/+182 |
| | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | | feat(ocp): More specific type for ICapabilities::getCapabilities | Christoph Wurst | 2023-07-03 | 1 | -2/+0 |
|/ | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | displayname on federated shares | Maxence Lange | 2023-06-28 | 3 | -15/+134 |
| | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com> | ||||
* | fix(caching): Avoid checking existence before fetching | Christoph Wurst | 2023-06-12 | 2 | -4/+6 |
| | | | | | | | | The cache might expire between checking for key existence and fetching the value. In this rare case the code continues with a null value when it doesn't expect one. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Refactors "strpos" calls in /apps/files_sharing to improve code readability. | Faraz Samapoor | 2023-06-02 | 3 | -3/+3 |
| | | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com> | ||||
* | repair -1 folder sizes for object store background scan | Robin Appelman | 2023-05-10 | 1 | -2/+3 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Mutualize expireDate handling when creating and updating a share | Louis Chemineau | 2023-04-27 | 1 | -30/+19 |
| | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> |