Commit Graph

661 Commits (cc44ec54adc9280dc6f35dadcc87abcd2b56186a)

Author SHA1 Message Date
Ferdinand Thiessen 21c30e5259
fix(AppMenu): Prevent menu entries from jumping on hover
Only grow and shrink app menu entry if needed

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 12:22:15 +07:00
Ferdinand Thiessen ea021df9fa
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +07:00
Ferdinand Thiessen ed16793089
fix: Make focussed app menu entry wider to see full name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 18:24:35 +07:00
Ferdinand Thiessen 7cef884297
fix: Make app menu overflow entries vertically aligned
The `name` property expects a `text` and just adds basically a "heading" for the text,
so lets instead just utilize the default slot.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-07 22:32:04 +07:00
Ferdinand Thiessen 91f78936c9 fix: Ensure app overflow menu is rendered centered
1. Fix app menu overflow button to be centered
2. Ensure the overflow calculation always just removed one element (incl. refactor to use `@vueuse`)
3. Ensure we use 1.5 line height for app menu, otherwise some languages look squashed under the app icon

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-07 21:29:00 +07:00
Sanskar Soni 55bb6ee87e feat(core): add selection for recommended apps
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-08-06 17:30:15 +07:00
Ferdinand Thiessen b2d053589a
fix(user_status): Adjust AccountMenu entry for user status
fixup: Adjust to design comments

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:52 +07:00
Ferdinand Thiessen 674805c994
fix(core): Migrate UserMenu / AccountMenu to NcListItem
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:48 +07:00
skjnldsv 3ca6eb5098 fix(core): app menu notification should be in the top right
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 08:19:17 +07:00
skjnldsv b92e0c7c6b fix(core): do not show unread notification on app menu hover
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 15:30:05 +07:00
skjnldsv 937bb4a539 fix(core): app menu label position and animation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 15:26:07 +07:00
Ferdinand Thiessen 842c21f96b
feat(files): Implement files list filters for name, modified time and type
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:23 +07:00
Ferdinand Thiessen 4bcb0734cd
refactor: Fix some linting issues in frontend code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-19 22:45:13 +07:00
skjnldsv 9b84831c8d fix(files_sharing): adjust IAttributes API and files_versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +07:00
Ferdinand Thiessen d82565d67d
refactor(core): Split app menu into components
This allows to split one large block of code into three components with each one usecase.
Allowing for better readability and maintainablility.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:24 +07:00
Ferdinand Thiessen a96b5940dd
chore: Make active apps initial state consistent with OCS API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:24 +07:00
Ferdinand Thiessen 691f570237
chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +07:00
Ferdinand Thiessen 4d6a21a379
refactor(core): Make AJAX cron script work without jQuery
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:28:10 +07:00
Ferdinand Thiessen 362c6238fc
fix: Allow to reset unified search using the `nextcloud:unified-search:reset` event
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +07:00
Ferdinand Thiessen dd3dcf3703
fix(unified-search): Also show local search on apps management
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +07:00
Ferdinand Thiessen e9dccef474
fix: Open unified search by pressing `ctrl + F`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +07:00
Ferdinand Thiessen 0885245235
refactor(styles): Make padding not a magic value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +07:00
Ferdinand Thiessen 0ff17b857b
fix(UnifiedSearch): Implement design comments and focus input on open
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +07:00
Marco Ambrosini 6ee965f0d9
feat: Add in-app search
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2024-06-27 12:13:14 +07:00
Ferdinand Thiessen 81ad28f910
chore(deps): Update `debounce` to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +07:00
Ferdinand Thiessen 50b9fb46cb
fix: Adjust icon generation to bring back themed icons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-17 12:07:18 +07:00
Marcel Müller f6e6d7a834 fix(login): Prevent submitting the login form multiple times
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-06-06 12:00:30 +07:00
Marcel Müller 95148ffe92 fix(login): Disable login button when already logging in
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-06-06 12:00:30 +07:00
John Molakvoæ 1a8f0c92ea fix(core): unsupported browser `getRootUrl` import
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-01 10:00:23 +07:00
John Molakvoæ (skjnldsv) fc3ee65526 fix(core): unsupported browser redirect url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-06-01 09:34:22 +07:00
Andy Scherzinger e07a190641
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-27 14:53:40 +07:00
Ferdinand Thiessen 9d2c3c1164
fix: Adjust dashboard and header menu to use new background colors
fix(UnifiedSearch): Adjust to new background color

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +07:00
Pytal 5ae18ee06e
Merge pull request #45406 from nextcloud/fix/contactsmenu/empty-content-margin
fix(contactsmenu): empty content margin
2024-05-21 10:11:32 +07:00
Simon L. 3180779404 feat(login-mask): remove `Login with` from label
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-05-21 09:22:43 +07:00
Richard Steinmetz f6ac35d15f
fix(contactsmenu): empty content margin
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-20 09:02:11 +07:00
Christopher Ng 0bd384637a chore(core): Change "username" to "account name"
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-05-17 10:15:46 +07:00
Andy Scherzinger 1f7e2ba599
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-13 17:41:36 +07:00
fenn-cs a51ab473da fix(unifiedSearch): Prevent broken avatars for federated users
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-04-29 01:12:30 +07:00
Ferdinand Thiessen 16eebd3743
fix(files): Ensure search query is cleared when changing view or directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-17 14:06:29 +07:00
Ferdinand Thiessen 3880e4c8d7
fix: Use `@simplewebauthn` for frontend logic
This simplifies the code a lot and fixes errors with the exisiting custom code,
where slightly different base64 values were emitted which are not valid according to the standard.

ref: https://github.com/web-auth/webauthn-framework/issues/510

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:51:03 +07:00
Ferdinand Thiessen 8d5c0135dc
feat: Deprecate `OC.dialogs` and replace generic dialogs with `@nextcloud/dialogs` alternative
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:53:02 +07:00
Ferdinand Thiessen 46e78d1b8b
feat: Deprecate `OC.dialogs.prompt` an replace with Vue implementation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-10 13:51:36 +07:00
Ferdinand Thiessen 76dc3787e2
fix: Add deprecation to `OC.dialogs.fileexists`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-09 20:17:24 +07:00
JEEEEEEEEEEEEEEEEEEEEEED 8e136c3f80 fix(oc-dialog): Get rid of the overlay
- Icrement Z-index of oc-dialog-dim
- Increment z-index of oc-dialog- Insert oc-dialog-dim before oc-dialog

Co-authored-by: Co-author RayanBekri <rmt.bekri@gmail.com>"
Signed-off-by: JEEEEEEEEEEEEEEEEEEEEEED <118366366+jadjoud@users.noreply.github.com>
2024-04-08 13:34:25 +07:00
Luka Trovic 945828bf4c fix: csrf check failed on public share with password
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-03-29 09:49:43 +07:00
Luka Trovic c08ab81334 fix: csrf check failed on public share with password
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-03-29 09:49:41 +07:00
Ferdinand Thiessen 3fede00732
feat(login): Clear login form (password) after IDLE timeout
For security reasons it is recommended to stop the login process at a defined time,
this could prevent password leaks by e.g. user forgetting that they entered their password on public devices.

Enforced e.g. by the BSI ORP.4.A13 rule.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 12:22:53 +07:00
Pytal 45efd28db7
Merge pull request #44368 from nextcloud/feat/new-file-menu-icon-svg
feat: Add new mdi New file menu icons
2024-03-21 10:45:50 +07:00
fenn-cs 2792d8b3f5 feat: Limit email input on auth pages to 255 chars
Excessively long emails reported make server unresponsive.

We could at some point, consider adding a configuration for sysadmins to bypass this setting
on their instance if they want.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-03-21 10:34:55 +07:00
Christopher Ng 4722cbe8f5 feat: Add new icon-filetype-text and icon-add-folder-description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-03-20 16:27:38 +07:00