Commit Graph

160 Commits (e5e139f5a6f1512a854e44ffd3ba6df788b14d3d)

Author SHA1 Message Date
fenn-cs 1534ba0c65 Fix date filter wording & improve search feedback
- Show loading when actually loading, instead of no content
- Change modified label to `Date` as it applies to a bunch of things.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 12:24:23 +07:00
Jérôme Herbinet 50d6213db3 npm run build
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-23 10:35:30 +07:00
nextcloud-command efed41fe6a chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-11-23 08:00:31 +07:00
Marco f476220f09 Add star indicator in file description
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 13:41:50 +07:00
Ferdinand Thiessen 543e2dbf0f
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:09:48 +07:00
Christopher Ng a1fcc0341d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-17 16:42:50 +07:00
Ferdinand Thiessen 9b9133c0e9
chore: Update `@nextcloud/vue` to 8.2.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:41:05 +07:00
Julius Härtl 018cf71820 fix: Avoid invisible areas through keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-17 17:48:32 +07:00
julia.kirschenheuter ff2ef8d0d6 Replace ActionLink with ActionButton on sharing tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
So-authored-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-17 16:55:05 +07:00
Christopher Ng 4c126f2906 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:05:00 +07:00
julia.kirschenheuter 9d9fffb9d3 Move delete share button into the scrolling container
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 17:11:10 +07:00
Louis Chemineau c249c56e70
Bump @nextcloud/dialogs to v5.0.1
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-15 14:11:19 +07:00
julia.kirschenheuter 7c987f0577
Adapt "advanced settings" button for accordion button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 09:08:55 +07:00
Ferdinand Thiessen d45ff35eb2
chore: Update `@nextcloud/vue`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 18:34:31 +07:00
nextcloud-command 1433f4533d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 22:45:33 +07:00
nextcloud-command 4e7a0e9e03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:00:52 +07:00
fenn-cs 360a372afc Use new SearchableList component for people filter
This commit migrates away from NcSelect which has a couple of
accesibility and display problems currently, hence a new component
`SearchableList` is now used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:32:26 +07:00
fenn-cs 13d03f45a3 Add unified search toggle in config
The new global search UI is new and might be unstable, hence
we are giving users the option to use the old unified search UI, if
the encounter signficant bottlenecks.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:27:32 +07:00
fenn-cs 20b3338288 Feat: New UI global search
We are introducing a new search UI that providers a lot more space
for users via a large centralized modal and providers various filters
which can by applied by adding various chips on the UI.

For example, users can now filter their search or scope it by limiting the results
to specific apps, time period and people by apply the appropriate filters on the
new UI, previously filters where applied using text in the search box by prefixing
with `::`.

Resolves: #39162

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:27:32 +07:00
Louis Chemineau dc00904ca0
Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:46:25 +07:00
Ferdinand Thiessen b470d33fc7
chore: Update nextcloud dependencies to stable version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:04:00 +07:00
julia.kirschenheuter a8fdb88e75 Update `calendar-availability-vue` to `^2.0.0`
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 09:48:34 +07:00
John Molakvoæ 50417bcee8
chore(jest): update snapshot after component update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:14 +07:00
Grigorii K. Shartsev eb9257bc17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:42:22 +07:00
Ferdinand Thiessen 7f0ff4092c
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +07:00
Ferdinand Thiessen eac1179111
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 01:02:07 +07:00
Ferdinand Thiessen d4727af11c
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 22:45:56 +07:00
dependabot[bot] 0449fe8779 chore(deps): bump p-queue from 7.3.4 to 7.4.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.3.4 to 7.4.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.3.4...v7.4.1)

---
updated-dependencies:
- dependency-name: p-queue
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-30 11:23:13 +07:00
Christopher Ng ac287269b7 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:07 +07:00
fenn-cs 8dfcf2e02a 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-22 16:47:32 +07:00
fenn-cs 46308e96f3 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-22 15:47:45 +07:00
fenn-cs 92417cd594 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-22 15:47:43 +07:00
Ferdinand Thiessen 18cb827d96
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:30 +07:00
Ferdinand Thiessen 77cce714c9
chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 16:23:27 +07:00
julia.kirschenheuter bfa7d33912 Reduce width of sharing entry
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 12:50:14 +07:00
Christopher Ng f8b1d7f4c5
chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:54:45 +07:00
John Molakvoæ 4b55594f55
feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +07:00
fenn-cs 9757e680e2 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-16 07:03:53 +07:00
fenn-cs 10675f7aac 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>
2023-10-09 17:39:48 +07:00
Christopher Ng 4f1751f51c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:43:01 +07:00
John Molakvoæ d79e26b25a
fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +07:00
Julien Veyssier 217a2a114d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 12:32:28 +07:00
fenn-cs 0537bbd331 Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.

For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.

Resolves : https://github.com/nextcloud/server/issues/40612

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-02 11:29:04 +07:00
fenn-cs a092bae720 Updates to sharing flow
- Show enforced expiry date for new shares.
- Improve quick share dropdown visibility in dark mode.
- Prevent expiry date from showing expire for incoming shares.
by updating the check for `share.passwordExpirationTime` to equally
check for `undefined`.
- Move "Download permission/attribute" from custom setting (as it is just
another advanced setting and not an actual permission).
- Show correct text for upload/editing when "allow public uploads" is enabled
or disabled by admin.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-02 11:59:10 +07:00
Daniel Kesselberg 4f7032475e
fix: encode uri for delete, restore and favorite
To encode # and other characters properly

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-28 20:36:22 +07:00
Christopher Ng 39adf3a4ab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 +07:00
John Molakvoæ (skjnldsv) e3b2af4d9c
fix(files): preview loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-26 20:22:10 +07:00
fenn-cs a3613350f6 Auto set password for new email shares
Suggest auto generated password for new public share (mail share).

Resolves : https://github.com/nextcloud/server/issues/40493

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 06:06:27 +07:00
dependabot[bot] 02de7ffd78 chore(deps): Bump @nextcloud/dialogs from 5.0.0-beta.2 to 5.0.0-beta.4
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.0.0-beta.2 to 5.0.0-beta.4.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.0.0-beta.2...v5.0.0-beta.4)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-24 14:30:20 +07:00
John Molakvoæ (skjnldsv) 216804f83d
fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +07:00