Commit graph

31581 commits

Author SHA1 Message Date
Ferdinand Thiessen
75dcf901ff
fix(files): Ensure that focussed file is always scrolled right
Ensure the correct file is scrolled if the content changes,
this also sets a minimal height to the virtual scrolling area
so that the `scrollTop` can be set.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Ferdinand Thiessen
fbceac9fe1
fix(files): Keep query when trigger the sidebar action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Ferdinand Thiessen
423c93087e
fix(files): open-in-files action should also set openfile query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Ferdinand Thiessen
13d9a1007b
refactor(files): Fix TypeScript issues in FileEntryActions
* We filter the array in `enabledSubmenuActions` so we can be sure the action does have a parent
* Node attributes must be accessed using the `attributes` getter not the private `_attributes` property
* Cast action ref to correct component interface to make TypeScript happy

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-08 15:58:45 +02:00
Nextcloud bot
49c42c36ae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-08 00:19:12 +00:00
Ferdinand Thiessen
a6e0f083fb fix(files): Correctly type virtual files list ref type
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-07 18:11:03 +00:00
Arthur Schiwon
98b5cdc43d
Merge pull request #43942 from nextcloud/fix/43612/avoid-pwd-confirm-sso
fix(Session): avoid password confirmation on SSO
2024-06-07 11:25:36 +02:00
John Molakvoæ
ef01dc72c1
Merge pull request #45684 from nextcloud/feat/user-row-action-svg 2024-06-07 08:48:11 +02:00
Nextcloud bot
94a5cdeae2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-07 00:35:18 +00:00
Christopher Ng
d32f7d1ff6 feat(settings): Support svg user row action icons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-06 17:25:50 -07:00
Pytal
0310df5d3b
Merge pull request #45686 from nextcloud/feat/user-row-action-enabled
feat(settings): Add user row action enabled callback
2024-06-06 17:00:37 -07:00
nextcloud-command
0cbf2361c5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-06 21:02:15 +00:00
Andy Scherzinger
1e04619675
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 22:53:41 +02:00
nextcloud-command
b789e90f36 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-06 16:17:03 +00:00
Andy Scherzinger
c1555fc33e
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-06 18:05:37 +02:00
Côme Chilliet
e14620cb15
fix: Only list remnants as disabled if option is enabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-06 16:48:27 +02:00
Louis Chemineau
914c4a28db fix(files_sharing): usage of NcTextField in SelectShareFolderDialogue
The NcTextField needs a value property to be set.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-06 09:52:19 +02:00
Nextcloud bot
ad7341881a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-06 00:20:51 +00:00
Christopher Ng
51cd2ad13d feat(settings): Close user row action menu after click
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-05 15:05:39 -07:00
Christopher Ng
1de77edfdf feat(settings): Add action enabled callback
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-05 15:05:39 -07:00
Arthur Schiwon
f6d6efef3a
refactor(Token): introduce scope constants
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-05 19:01:14 +02:00
Nextcloud bot
94bc020d07
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 09:56:05 +00:00
skjnldsv
7f0ffac727 fix(federatedfilesharing): import external federated share script
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-06-05 08:42:40 +00:00
John Molakvoæ (skjnldsv)
af5a29e568 fix(files): reset menu pos when opening in grid mode
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-04 13:48:03 +00:00
Ferdinand Thiessen
d33cfdd14b fix(files): Only execute default action if there is an action to perform
Some files do not have a default action (can not be viewed and only downloaded).
If the `openfile` query is set on them the `handleOpenFile` will throw an error.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 14:41:08 +02:00
Ferdinand Thiessen
91ac7dfb7c fix(files): Update current fileid in route if that node was deleted
We do not change the view to the trash bin but stay in the current view,
so we need to update the current fileid on the route if that was deleted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 12:40:48 +02:00
Ferdinand Thiessen
c1fdd9031c fix(files): Close sidebar if shown node is deleted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-04 12:40:48 +02:00
nextcloud-command
9193f57a10 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-03 18:49:29 +00:00
Andy Scherzinger
ec5b60af28
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-03 20:33:31 +02:00
Anna
a28a9709ba
Merge pull request #45235 from nextcloud/fix/remove-old-scheduling-objects
fix(caldav): automatically delete outdated scheduling objects
2024-06-03 13:06: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
Ferdinand Thiessen
ceafe43a4c
refactor(files): Make currentView a prop of FilesListTableFooter
We already have this as a required prop in `FilesListVirtual`,
so passing it to the footer is straight forward and removed need of computed
value.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
e8adb97098
refactor(files): Properly add type information to FilesListTableFooter
- Add correct type for `nodes` prop.
- Use `defineComponent` to properly infer Typescript information
- Correct usage of nullish coalescing operator

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
297f0522b2
refactor(files): Fix Typescript issues in filesListWidth mixin
Use `defineComponent` to properly inherit typings.
Expect TS errors for the `$resizeOberserver` as we attach it directly on the component instance.
`filesListWidth` is now a number which defaults to 0,
making compares like `this.fileListWidth < 768` valid in Typescript.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Ferdinand Thiessen
0cb32880ee
refactor(files): Correctly cast table ref to fix TypeScript errors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 17:17:31 +02:00
Anna Larch
ad78f7e48e fix(caldav): automatically delete outdated scheduling objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-05-31 13:14:01 +02:00
Ferdinand Thiessen
622bf30031
fix(deps): Update @nextcloud/event-bus to version 3.3.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 12:46:20 +02:00
Ferdinand Thiessen
67d8277c49
fix: Update @nextcloud/files to 3.4.0 to fix public link shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 12:46:20 +02:00
Ferdinand Thiessen
2c47f24266 refactor(files): Consistently sort imports of FileEntryMixin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 11:39:39 +02:00
Ferdinand Thiessen
7c4dcf51c4 fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-31 11:39:39 +02:00
Andy Scherzinger
cc1686dba9
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-31 10:38:47 +02:00
Christopher Ng
6b583f73b7 chore: Change more "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 -07:00
Christopher Ng
fad49e6aee refactor: Shorten input focus calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 -07:00
Christopher Ng
76104aa709 fix: Autofocus username input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:20 -07:00
Christopher Ng
45ba61bbfb refactor: Migrate to built-in NcSelect input label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 -07:00
Christopher Ng
6f63ecfc80 chore: Change some "user" strings to "account"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 -07:00
Christopher Ng
359003da12 fix(settings): Move user creation modal to dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-30 15:32:19 -07:00
Andy Scherzinger
2d62b0a936
Merge pull request #45573 from nextcloud/chore/noid/spdx-batch9
Add SPDX header - batch 9
2024-05-30 19:24:53 +02:00
John Molakvoæ
dee0eb2f0b
Merge pull request #36942 from nextcloud/unmark-login-date 2024-05-30 18:09:49 +02:00
John Molakvoæ
be4e97d1dc
Merge pull request #40206 from summersab/refactor/apps/user_ldap/OC-Server-getAvatarManager 2024-05-30 17:50:54 +02:00