Commit graph

898 commits

Author SHA1 Message Date
Ferdinand Thiessen
ba760fb66b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-22 16:13:10 +00:00
John Molakvoæ
245a439d47
Merge pull request #43740 from nextcloud/backport/43727/stable27 2024-02-22 10:45:17 +01:00
John Molakvoæ
9d7abdd08c
Merge pull request #43686 from nextcloud/backport/43661/stable27 2024-02-22 10:42:31 +01:00
Louis Chemineau
0820481e83
Hide some actions based on node permissions and share attributes
Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-21 21:47:50 +01:00
Julien Veyssier
9f40df789b compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 09:38:07 +00:00
nextcloud-command
8d386ed6a2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-21 09:54:32 +01:00
Louis Chemineau
035b009843 Handle error in previews for files versions
Signed-off-by: Louis Chemineau <louis@chmn.me>

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-14 17:23:09 +01:00
nextcloud-command
db6a04180e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 22:12:28 +00:00
nextcloud-command
2c20cb9ff0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-13 11:15:16 +00:00
Christopher Ng
c30c219657 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-02-08 16:16:07 -08:00
nextcloud-command
2fa7b6e068 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-04 11:01:32 +00:00
fenn-cs
080390976f Use @nextcloud/capabilities to obtain share api defaults
- Remove redundant initial state added

- Call `getCapabilities()` in share config file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-02-04 11:44:15 +01:00
nextcloud-command
9ab55c45b9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-02-03 11:25:36 +00:00
Ferdinand Thiessen
9b3136c280
fix: Update @nextcloud/dialogs to 4.2.4 to include missing translations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-30 17:12:37 +01:00
Josh
b76f446679 fix(trashbin) Switch parseWebdavPermissions->davParsePermissions
Fixes #43134

Signed-off-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-25 22:41:53 +00:00
Ferdinand Thiessen
fda0af4223
chore: Update @nextcloud/router to 2.2.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-24 18:42:27 +01:00
nextcloud-command
00c26fc085 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-18 09:57:59 +00:00
Git'Fellow
328d9c6619
Merge pull request #42778 from nextcloud/backport/42067/stable27
[stable27] Fix some silent share bugs
2024-01-17 21:33:26 +01:00
nextcloud-command
47e715e1cb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 18:33:06 +00:00
nextcloud-command
8a870e4bd5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-16 11:43:34 +00:00
Ferdinand Thiessen
0da2ea61cc
fix(files): Fix reference picker not working
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-16 11:28:05 +01:00
nextcloud-command
fa21241930 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 14:07:44 +00:00
nextcloud-command
b08805f0f0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-20 15:51:36 +00:00
Arthur Schiwon
b45a2b672c
fix(dist): assets were not compiled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-07 11:17:32 +01:00
Ferdinand Thiessen
3ec1d93e43
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 14:00:44 +01:00
Christoph Wurst
32a02b0ec7 fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-04 19:09:01 +00:00
fenn-cs
8c5ea73404 Improve share logic for enforced password & expiry date
* It's possible for the admin to enforce and expiry date after, some
 shares have been created. This commit makes possible to update the
 share with the new admin constraints.

* This commit would users to modify enforced expiry to anything within
 range and less than the enforced limit in the pre-create dialog for public
 shares.

* This commit fixes, unable to update share without updating password.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 16:26:46 +00:00
F. E Noel Nfebe
ebf289c430
Merge pull request #41734 from nextcloud/Jerome-Herbinet-change-share-update-right-wording
Nextcloud 27 : Replace "Update" with "Edit" in share dialog
2023-11-29 17:55:32 +01:00
Jérôme Herbinet
21c157e349 Replace "Update" with "Edit"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 12:24:15 +00:00
Christoph Wurst
84fd8b16fc fix(ui): Do not close all menus on right click
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-28 19:00:40 +00:00
fenn-cs
38ac4f8d92 Fix icons for bundled perms in sharing details
It appears `NcCheckboxRadioSwitch` does not take icons via
`<template #icon>` (at least not anymore) but two options in the bundled
 perms still used that and that has been fixed in this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-25 08:24:46 +01:00
Grigorii K. Shartsev
b43325fb43 fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-25 08:24:46 +01:00
Arthur Schiwon
391e6edfb0
build(js): compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-23 16:03:03 +01:00
nextcloud-command
cbde47f23a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 10:54:30 +01:00
Joas Schilling
69cf580746
chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:50:02 +01:00
Daniel Kesselberg
b0f9113eba
fix: encode uri for trashbin delete
Replace d280912 with a cleaner approach.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 14:49:32 +01:00
Grigorii K. Shartsev
d439417e17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-31 01:17:27 +01:00
dependabot[bot]
17a04a092d chore(deps): bump davclient.js from 0.2.1 to 0.2.2
Bumps [davclient.js](https://github.com/owncloud/davclient.js) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/owncloud/davclient.js/releases)
- [Commits](1ab200d099...de93b734bd)

---
updated-dependencies:
- dependency-name: davclient.js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-30 11:33:18 +00:00
fenn-cs
2f0e9a80c5 Fix dupblicate sharing option
Allow download was duplicated via a rebase/merge action during
fe78157b77 this fixes that.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:42 +01:00
fenn-cs
170a83a77e Do not treat isDefaultExpireDateEnforced as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-28 09:53:42 +01:00
fenn-cs
a5a9564069 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
fenn-cs
77b047cc62 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
fenn-cs
281e9ac559 Allow share expiry dates lower than enforced limits
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-28 09:53:41 +01:00
nextcloud-command
a83ef1226e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 10:45:27 +00:00
nextcloud-command
90402f1dbe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 01:03:11 +00:00
fenn-cs
fe78157b77 Fixed mixed translations in sharing details
Due to a typo in the app passed to the translation method, some
strings translations don't work.

This commit corrects the spelling `file_sharing` to `files_sharing` and
hence resolves : https://github.com/nextcloud/server/issues/40801

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-10 01:14:44 +01:00
Christopher Ng
4516bb0587 enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-09 23:43:08 +01:00
F. E Noel Nfebe
4ae4ccc0c2
Merge pull request #40747 from nextcloud/manual/backport/stable27/40629
[stable27] Updates to new sharing flow
2023-10-09 23:35:11 +01:00
Arthur Schiwon
a762275dd0
Merge pull request #40718 from nextcloud/backport/40428/stable27
[stable27] Multiple bug fix in users list
2023-10-09 22:51:37 +02:00
Arthur Schiwon
154b70292f
Merge pull request #40757 from nextcloud/encode-uri-trashbin-delete-2
[stable27] fix: encode uri for trashbin delete
2023-10-09 22:50:36 +02:00