Commit graph

854 commits

Author SHA1 Message Date
Ferdinand Thiessen
fca05f4613
fix(core): Subscribe to navigation changes on mounted for Unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-23 13:26:42 +01:00
julia.kirschenheuter
ab845405df Replace input form with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-22 14:14:56 +01:00
fenn-cs
701e626d18 Move search result section to component & hide thumbnail if error
The section that handles the search result list item is big and complex enough
 to have it's own component. Inside this component, a new method is added to hide
the thumbnail preview if the image load errors out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 13:29:03 +00:00
fenn-cs
8dadb09e54 Round avatars when needed and show url-based mime icons
- Pass `results.rounded` property that comes with search result
 data to determine if avatar would be rounded or not.

- Icons loaded via url's now visible.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
fenn-cs
4964cb838b Improve date-range logic for global search
- Allow future dates in custom date range
- Fix date ranges for example, before now, today range was roughly
 between `now()` to `now() + a few milli seconds`
- Update text in custom date range modal, right align "Search in range"
 button.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
Valdnet
b9473b46ad Correct spelling
Unification of spelling in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-15 19:26:58 +00:00
fenn-cs
987ac1e9c3 Check in-app search availability
Only show in-app serach button if available for specific app
 in question.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 20:07:42 +00:00
fenn-cs
04f2a19375 Improve no content feedback
Show some feedback when there are no search results.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
fenn-cs
5a4cc8c98a Global search : Fix basic functional issues
- Fixes remove person filter/chip when applied
- Close person searchable filter via workaround
- Person filter has no effect fixed, now uses user property instead of id
- Left align filters
- Reduce avatar size in user chip and make photo non-clickable

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
Marco
7799f6701a Close participants filter after click
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 09:20:20 +00: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 +01:00
Marco
8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +01: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 +01:00
Christoph Wurst
a5422a3998
fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +01:00
julia.kirschenheuter
7f5f93268c Fix styles for input fields on focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-06 17:24:54 +01:00
Christoph Wurst
ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Christopher Ng
5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Christopher Ng
439a6fbbdc fix: Settings nav entries typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng
3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Ferdinand Thiessen
a6d137c9a7
Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +02:00
Ferdinand Thiessen
8d907d8089
Merge pull request #40979 from nextcloud/fix/36965-fix-global-search
Fix placement of actions within unified search
2023-10-20 02:49:49 +02:00
Grigorii K. Shartsev
2d6cd78c32
fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +02:00
julia.kirschenheuter
311d5c6275 Fix placement of actions within unified search
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-19 18:49:37 +02:00
Grigorii K. Shartsev
776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Andrii Ilkiv
952760fd14 Shortcut Ctrl+F for different keyboard layouts
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2023-10-19 11:51:09 +02:00
julia.kirschenheuter
f7609276b5 Fix width of input on contacts menu
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-18 09:35:41 +02:00
Ferdinand Thiessen
0414ca35c0
fix(xhr-request): Make sure to also allow strings as url
Our utility to add `X-Requested-With` headers on API calls intercepts
calls to `window.fetch`, so we must ensure we allow all parameters that the default
browser provided `window.fetch` allows.
In this case make sure to allow all stringify-able objects.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 17:41:51 +02:00
julia.kirschenheuter
7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +02:00
Christopher Ng
a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng
f2f1e9c8d6 enh(a11y): Add avatar description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng
6c5a10fea3 enh(a11y): Add accessible user menu semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst
b914916bdb
Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vue
refactor: Contacts menu to Vue
2023-10-16 18:12:39 +02:00
Christoph Wurst
6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christoph Wurst
0321bec791
Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
2023-10-16 16:05:25 +02:00
Julien Veyssier
d2cc4c4798
only add x-requested-with header if requests point to NC
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:47 +02:00
Christoph Wurst
7d13e9563b fix(search): Close unified search at the second ctrl+f
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-16 00:30:31 +02:00
Richard Steinmetz
9a5a392bf9
fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-19 21:57:01 +02:00
Christopher Ng
861183154b enh(a11y): Add search contacts label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-07 16:23:01 -07:00
Christopher Ng
ffe29518e8 chore: Migrate to new @nextcloud/vue API
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-08-29 11:05:51 -07:00
Ferdinand Thiessen
93acc47761 fix(dialogs): Use FilePickerBuilder to create the file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:56:09 +02:00
Ferdinand Thiessen
3d74ed85ff feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default.
Still providing the legacy one until the Vue FilePicker is out of beta.
Pin beta releases so we do not get version conflicts.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-26 20:55:51 +02:00
Jérôme Herbinet
c35c78aaf6 Remove padding for longer wordings
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-08-24 11:11:36 +02:00
Julius Härtl
0904c84319 fix: Set X-Requested-With header on all requests to avoid browser auth dialogs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-18 18:22:14 +00:00
John Molakvoæ
410f58e43e
chore(files): add Headers, remove legacy methods and cleanup
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-17 18:56:37 +02:00
fenn-cs
77aa4cf7f4 Wrap long productName on login form
Resolves : https://github.com/nextcloud/server/issues/39804

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-08-13 11:10:26 +00:00
Ferdinand Thiessen
4c306a3a55 fix: Resolve code linting issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-08-02 15:19:32 +02:00
Christopher Ng
b3e5269963 enh(a11y): Add aria-modal to dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-07-20 17:13:55 -07:00
Ferdinand Thiessen
0fd567a8d3 fix: Remove jQuery from main entry point
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-13 10:18:11 +02:00
Ferdinand Thiessen
a5630abedc fix: Remove deprecation warning for already removed API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-07-06 17:40:31 +02:00
Marcel Klehr
3036f467a8 Fix(OC/password-confirmation): Hide the correct button
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-07-04 09:55:46 +02:00
fenn-cs
b83aaed283 Update aria-expanded attribute for sidebar apps-slide-toggles
Some apps which use the machanism provided in `core/src/OC/apps.js`
for toggle slide up/down in the side bar would equally rely on same for
`aria-expanded` state change.

For example : https://github.com/nextcloud/activity/pull/1230

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-30 11:47:21 +00:00
Ferdinand Thiessen
b74f0dcfe0 fix(core): Migrate from deprecated excludeClickOutsideClasses to excludeClickOutsideSelectors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-27 21:38:06 +02:00
John Molakvoæ
cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +02:00
John Molakvoæ
adff75d559
fix: restore AppsSlideToggle feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-25 15:39:32 +02:00
Simon L
95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +00:00
Simon L
908adb339b fix one more place
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L
872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Simon L
1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +02:00
Ferdinand Thiessen
7f861980a3
fix(core): Do not invert app menu text color
* Also fixes other cypress test
* Build assets

Signed-off-by: Philipp Hempel <Philipp.Hempel1@web.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-19 09:49:36 +02:00
Ferdinand Thiessen
35da64a51c fix(files): Add border around favorite marker to ensure contrast requirements are met
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
Ferdinand Thiessen
f57cf4706e fix: Adjust color of icon-starred-yellow to fulfill A11Y contrast requirements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-06-06 11:29:43 +02:00
julia.kirschenheuter
1d6121be4d Fix contrast for inactive elements of the main navigation
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-05 14:46:48 +02:00
Ferdinand Thiessen
dd1f437ad0 chore(OC): Remove deprecated legacy loader from OC (OC.loadScript and OC.loadStyle)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-31 23:15:36 +02:00
ZetaTom
d17fd1910c
Fix app menu flicker
Signed-off-by: ZetaTom <70907959+ZetaTom@users.noreply.github.com>
2023-05-31 15:48:28 +02:00
Simon L
8424b2a6eb adjust active element visibility in the usermenu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-25 18:16:55 +00:00
Varun Patil
60a7610ca6 webpack: add nonce to unsupported-browser-redirect chunk
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-24 10:38:43 +00:00
Ferdinand Thiessen
a08b098476 chore: Remove deprecated OC.appSettings
Was deprecated since NC17 and scheduled for removal on NC18.
No apps use it and neither do core.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-20 15:28:23 +02:00
Varun Patil
98ddb81e82 Make unsupported browser check asynchronous
This check is very expensive, and will pass almost 100% of the time.

Related #36728
Depends on #38329

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-19 22:00:10 +00:00
Varun Patil
db8d0b538e Remove focus-visible polyfill
Supercedes and closes #35384

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-05-17 18:21:57 +02:00
Ferdinand Thiessen
687b95519f feat(login): Improve passwordless login box
* Remove wrong background of error message boxes
* Use `NcTextInput` for username or mail to align with login box
* Add a heading for better overview where you (as a user) are currently

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Ferdinand Thiessen
57e50e04bf feat(login): Use tertiary button for "back to login"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-17 03:33:48 +02:00
Ferdinand Thiessen
8d0fd6fa9d fix(login): Make login form and footer look like a dashboard panel
Also adjust border radius to match new main content box.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-05-16 19:47:10 +02:00
John Molakvoæ
7e51305ae4
fix(search): fix load more
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-16 11:45:50 +02:00
Simon L
f5e8268ced Use the color-primary-element* variables
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-13 10:15:33 +00:00
John Molakvoæ
68abba8d73
fix: prevent malicious url in unsupported browser redirect
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-05-11 08:56:15 +02:00
Ferdinand Thiessen
88f344339d fix(AppMenu): On bright color theme the app icons in the overflow menu must be inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-05-03 14:42:14 +00:00
julia.kirschenheuter
ad7264ee5a Add aria-hidden attr to the whole navigation depending on a sidebar state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-05-03 11:56:48 +02:00
Simon L
4df145a6bc
Merge pull request #37806 from nextcloud/fix/37410
Fix profile view edit button overlapping status text
2023-04-26 17:05:04 +02:00
Christoph Wurst
defbd23cbf
Merge pull request #37206 from nextcloud/fix-skip-recommended-apps-wrong-url
fix: wrong redirect when skipping recommended apps
2023-04-26 15:43:35 +02:00
Ferdinand Thiessen
f79131aea3 fix(core): Fix profile view edit button overlapping status text
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-04-26 13:01:33 +02:00
Christopher Ng
79310bd545 Trap focus in dialogs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-04-24 15:45:40 -07:00
Daniel Kesselberg
e025cf067f
fix: wrong redirect when skipping recommended apps
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-04-23 22:15:51 +02:00
dependabot[bot]
dafda594ec
chore(deps): bump browserslist-useragent-regexp from 3.0.2 to 4.0.0
Bumps [browserslist-useragent-regexp](https://github.com/browserslist/browserslist-useragent-regexp) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/browserslist/browserslist-useragent-regexp/releases)
- [Changelog](https://github.com/browserslist/browserslist-useragent-regexp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist-useragent-regexp/commits/v4.0.0)

---
updated-dependencies:
- dependency-name: browserslist-useragent-regexp
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-22 12:16:01 +02:00
Jérôme Herbinet
16361bed5e
Merge branch 'master' into patch-20
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:32:01 +02:00
Jérôme Herbinet
461fa9a1da
Following Artonge suggestion
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-04-19 16:15:17 +02:00
Simon L
c4ab4018cf l10n: Change to a capital letter
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-04-17 16:03:25 +00:00
Josh Richards
fb25cd4b0a More honest reset password request response
Addresses request in additional comments of #37408

* Honest but still won't leak information
* Also reminds user to verify the provided user id email address/user

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Refine reset password response copy

Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>

Wrap honest password reset request response
2023-04-13 17:31:49 -04:00
Julius Härtl
389c6dc30b
fix: Fix filepicker breadcrumbs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-07 16:04:50 +02:00
John Molakvoæ
a66cae02ef
fix(deps): update webdav 5 usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:32 +02:00
John Molakvoæ
29a7f7f6ef
feat(files_trashbin): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-04-06 14:49:29 +02:00
Julius Härtl
837622cb87
fix: Adjust filepicker breadcrumb structure to recent a11y changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-04-05 11:40:40 +02:00
julia.kirschenheuter
ccf92975f3 Replace custom tooltips with native ones of entries in contacts menu.
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-29 10:41:53 +02:00
julia.kirschenheuter
db0670f0cb Change contactsmenu structure to a list
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-27 10:48:59 +02:00
John Molakvoæ
40f18c6359
chore(eslint): replace node/no-unpublished-import by n/no-unpublished-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ
ad6dcea779
chore(eslint): replace node/no-extraneous-import by n/no-extraneous-import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
John Molakvoæ
8633f13e0a
chore(eslint): fix missing import extensions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-23 08:14:19 +01:00
Julius Härtl
e23aa8883e
feat(s3): Use multipart upload for chunked uploading
This allows to stream file chunks directly to S3 during upload.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-08 14:00:04 +01:00
Joas Schilling
188e486bc0
fix(docs): Fix URL to docs of deprecated function humanFileSize
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-08 10:23:22 +01:00
julia.kirschenheuter
0cfbe54a5a Create headings for settings pages
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-03-07 17:51:19 +01:00
Christopher Ng
864fb3fe63 Add label and switch ocdialog close button to button element
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-06 12:56:12 -08:00
Christopher Ng
9d904b144b Add avatar contact img description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-03-03 13:22:14 -08:00
Julius Härtl
322dbe8860 feat: Add notes as recommended app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-03-02 23:04:43 +00:00
Julius Härtl
1da4fe48cf
feat(filepicker): Allow to pass target for rendering the file picker to different locations
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-03-02 21:01:44 +01:00
John Molakvoæ
0a4bd6db20
fix(unified-search): emptycontent messages
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:34:04 +01:00
John Molakvoæ
f26961d74a
fix(unified-search): fix code highlighting
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
John Molakvoæ
47c64dadf4
fix(unified-search): remove conflicting trigger color
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-03-02 08:21:56 +01:00
Christopher Ng
0a9ce1ff34 Add name for home breadcrumb in filepicker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-24 10:31:06 -08:00
Christopher Ng
e77b0f6693 Add focus border for search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-23 17:21:04 -08:00
Ferdinand Thiessen
cdc3848345 Deprecate OC.L10N functions in favor of translation functions from @nextcloud/l10n
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 15:03:21 +01:00
Ferdinand Thiessen
7e3372cd92 Drop OC.addTranslations deprecated since NC17 and not used by any NC app
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-02-20 12:46:30 +01:00
Simon L
2d93864cf5 fix too long entries in contacts-menu
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-02-16 00:26:19 +00:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Louis Chemineau
a547aff7a4 Restore copy button text on directory fetch error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:54:17 +01:00
Joas Schilling
04e1e2f83e
Remove usages of bootstrap
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 13:48:15 +01:00
Christopher Ng
f6f4c62936 Fix focus not returning to search icon
- Remove programmatic focusing already handled by focus-trap

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-25 17:02:51 -08:00
Christopher Ng
966872f23b Port global search menu to focus trapped NcHeaderMenu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-18 11:04:25 -08:00
Christopher Ng
f6aa5224c4 Focus trap contacts menu with NcHeaderMenu port
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-01-13 23:19:28 +00:00
zorn-v
2bcf94a88a Remove js navigation on alternative login click
Signed-off-by: zorn-v <zorn7@yandex.ru>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-10 12:52:10 +00:00
Vincent Petry
42d9e087fb
Remove unused legacy ajax/list.php in files app
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-09 15:18:37 +01:00
Thomas Citharel
56c5273206
Allow target="_blank" in app navigation items
Which was removed in the Vue rewrite in #33728. This breaks things like https://github.com/nextcloud/external/issues/79

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-01-05 07:13:50 +01:00
Thomas Citharel
ab6e7d33f8 Remove jstz usage from server
Every proper browser has this kind of data now, with more up-to-date
data than what's inside this package, which hasn't been updated in 3
years.

https://github.com/pellepim/jstimezonedetect/issues/6
https://github.com/pellepim/jstimezonedetect/issues/9

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-01-04 17:40:40 +00:00
Christopher Ng
9158a7d484 Improve verbosity of search description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-12-08 02:05:03 +00:00
Pytal
9e8545edfb
Merge pull request #35222 from nextcloud/fix/a11y-search-heading
Fix contrast of global search headings
2022-12-06 14:45:24 -08:00
Richard Steinmetz
fc4dd3041c
Fix default redirect on successful WebAuthn login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2022-12-05 12:51:53 +01:00
Simon L
d8d15c3c2b
Merge pull request #35501 from nextcloud/enh/enh-33741-Focused_item_overlaps_neighbor_elements_with_text_and_border
Change app menu focused items behavior that neighbor elements (text and border) have no overlapping
2022-11-30 10:32:38 +01:00
julia.kirschenheuter
db67670477 Change focused items behavior that neighbor elements (text and border) have no overlapping.
Add native tooltips to items.

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-30 08:22:49 +00:00
Joas Schilling
24afcda471
Remove old code from comment to not trigger automatic scanners more than needed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-29 15:15:58 +01:00
John Molakvoæ
a869259e41
More theming cypress tests and some fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-11-29 11:26:27 +01:00
Christopher Ng
29b1748e2c Fix contrast of global search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-25 00:18:14 +00:00
John Molakvoæ
b45c62a2cf
Merge pull request #34642 from nextcloud/bug/noid/revert-minimum-lenght-for-tags 2022-11-24 12:17:02 +01:00
Julius Härtl
61ce0ad293
Generate proper URL for unsupported browsers page
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-11-22 11:57:26 +01:00
Vincent Petry
4083a507e7
Fix warnings on login page
Check for app menu container before mounting.
Fix "isError" in LoginForm being a number when the throttleDelay is
zero. In fact, there is no need for existence check because both
undefined and null are not greater than a number.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-18 15:20:40 +01:00
Simon L
beba3d04e4
Merge pull request #35227 from nextcloud/bugfix/35152/fix-toggle-grid-file-picker
Limit toggle grid view button scope
2022-11-17 17:43:48 +01:00
Vincent Petry
9a948a6b39
Limit toggle grid view button scope
Limit the button action scope to the file picker dialog so that it
doesn't touch the file list present in the page.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-11-17 14:09:52 +01:00
Christopher Ng
d7c4bdc46e
Close global search menu when focus leaves
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-17 11:51:41 +01:00
Simon L
fe15069c90
Merge pull request #35029 from nextcloud/enh/34969/fix-app-menu-firefox
Fix AppMenu icons for firefox
2022-11-16 02:05:58 +01:00
John Molakvoæ
baf74f0aa1
Merge pull request #35014 from nextcloud/fix/login-headline
Fix rendering of login headline
2022-11-15 09:29:32 +01:00
Christopher Ng
6c09155e13 Allow single character search by default
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-11 01:35:02 +00:00
Simon L
2ee7221d4b Fix AppMenu icons for firefox
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-11-08 14:21:53 +01:00
Christopher Ng
b92a774c47 Fix rendering of login headline
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-11-08 01:05:43 +00:00
Daniel Kesselberg
3c83b7a9fd
Revert "Add minimumInputLength for tags select"
This reverts commit e1d9b0bae2.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-11-07 15:14:48 +01:00
John Molakvoæ
a8e8a89ade
Only check unsupported browsers on user rendering
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-28 12:23:02 +02:00
Simon L
d26c390631 Address review
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Simon L. <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
szaimen
88a0e773c0 update browser warning
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-25 23:01:29 +00:00
Christopher Ng
c6f3eb954c Fix more icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-21 01:13:11 +00:00
Christopher Ng
58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
John Molakvoæ (skjnldsv)
bd303388e3
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02:51 +02:00
Joas Schilling
aa31002b03
🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +02:00
Simon L
c78bd45c64
Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
Fix regexp for unified searching in apps
2022-10-18 19:44:51 +02:00
Carl Schwan
945edfefcd Fix icon of encrypted folders in filepicker
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 01:04:13 +02:00
Vincent Petry
331c890e4f
Fix regexp for unified searching in apps
Use the correct match for operators.

Prevent the dropdown to close itself when selecting an app to filter by.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 17:43:16 +02:00
Christopher Ng
dbaf8f3b89 Fix empty password string being submitted to server
- Fix reveal password not working

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:42:21 +00:00
Julius Härtl
27ce4bd1a4
Merge pull request #34322 from nextcloud/bugfix/noid/limit-url-matching-to-https
Only match http(s) URLs for references
2022-09-30 08:07:47 +02:00
John Molakvoæ (skjnldsv)
eb6ed7dcfd
Fix starred favourite icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 13:57:22 +02:00
Joas Schilling
474dcf05fd
Only match http(s) URLs for references
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 11:29:23 +02:00
Carl Schwan
f0cd60b21b Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-19 18:28:40 +02:00
Valdnet
ac58ba5a90
l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-17 19:34:25 +02:00
Vincent Petry
8880fe3fd1
Merge pull request #34096 from nextcloud/bug/noid/tag-loading
Tag loading
2022-09-16 14:53:12 +02:00
Daniel Kesselberg
383701914c
Set focus to input field
Fix:
- TypeError: this.$refs.user.focus is not a function
- TypeError: this.$refs.password.focus is not a function

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-16 10:51:24 +02:00
Christopher Ng
a7c7d84f59 Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 18:55:00 +00:00
Daniel Kesselberg
700875d90d
Rewrite OC.SystemTags.getDescriptiveTag to vanilla js
For every tag a deprecation warning is emitted.
With 10k tags the ui becomes unresponsive and inspector crashed occasionally.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:08:04 +02:00
Daniel Kesselberg
1bfac6d094
Improve loading for tags
When opening the tag select and type something the tags are loaded.

If you continue to type but the tags are not finally loaded yet (the first xhr request is still running)
another xhr request is triggered. This happens for every keystroke.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Daniel Kesselberg
e1d9b0bae2
Add minimumInputLength for tags select
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Joas Schilling
5267ea2624
Add an OCP method to check the shortcut state and use it for global search and menu control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:20:08 +02:00
Vincent Petry
71eab82117
Adjust recommended apps page
Removed collabora code.
Added description for richdocuments as the name will be "Nextcloud
Office" pulled from the app store.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 18:28:19 +02:00
Carl Schwan
7ea015f0d1
Merge pull request #34042 from nextcloud/profile/section-plugin
Add api to load additional section in profile page
2022-09-14 13:35:31 +02:00
Carl Schwan
66a7a89898 Add api to load additional section in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Simon L
0846a3f6fe
Merge pull request #34039 from nextcloud/enh/34037/heading-login-form
add a heading to the login form
2022-09-12 21:41:45 +02:00
Simon L
36ada4f6ea
Merge pull request #34031 from nextcloud/enh/33866/ldap-ui-buttons
fix ldap ui buttons
2022-09-12 20:00:56 +02:00
szaimen
cf7f6daa88 add a heading to the login form
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 19:02:48 +02:00
szaimen
1a0625ead2 fix ldap ui buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 15:19:39 +02:00
Carl Schwan
2453a8a72a
Make profile page scrollable again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:29:00 +02:00
Carl Schwan
9e045447f7
Fix UnifiedSearch
- Fix too big margins
- Fix horizontal scrolbar (caused by margin in text field)
- Add some spacing between the items (4px)
- Center items (I love flex)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:07:09 +02:00
Carl Schwan
43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +02:00
Carl Schwan
df40fc9172
Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +02:00
Vincent Petry
b1be4346cd
Merge pull request #33826 from nextcloud/enh/a11y-unified-search
Accessibility and design improvements to unified search
2022-09-02 12:22:46 +02:00
Christopher Ng
f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +00:00
Christopher Ng
a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +00:00
John Molakvoæ
96bbc1a7a1 Fallback to root if the picker folder doesn't exists
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +00:00
Julius Härtl
b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl
7cc814093e
Fix profile page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl
a392235e23
Cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:33 +02:00
Julius Härtl
ad8fadf157
Fix active app indicator position
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:38:39 +02:00
Julius Härtl
aa85e1c2af
Fix jsunit failures
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:36:20 +02:00
Julius Härtl
3ad4e82195
Address some more accessibility concerns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:05 +02:00
Julius Härtl
09d8214e37
Use resize observer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
e8193c2434
Fix focus border and adjust active app indicator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
5b4708c5be
Move app menu to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:03 +02:00
Carl Schwan
1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan
2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan
c17b8317d6
Remove old ie polify
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 12:42:10 +02:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
Daniel Kesselberg
f832db0801
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-24 12:56:41 +02:00
julia.kirschenheuter
6d12f8b8a1 Add ``aria-expanded`` value to select2-container om systemtag and file tags
Add ```aria-expanded``` to color picker
Add ```aria-expanded``` to UnifiedSearch.vue
Add ```aria-expanded``` to new button on files
Add ```aria-expanded``` to action menu
Add ```aria-expanded``` to icon .federation-menu
Add ```aria-expanded``` to app navigation collapse button

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-08-17 19:28:40 +00:00
John Molakvoæ
601664bc84
Allow to manually specify a theme to apply to a section of an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-16 14:43:35 +02:00
Vincent Petry
a11c6e7cc3
Add share attrs + download permission support in frontend
Added download permission checkbox in frontend
Added share attributes parsing and setting in frontend.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Carl Schwan
bbfad33a40 Fix caldav invitation related public pages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:22 +02:00
Carl Schwan
253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +02:00
Carl Schwan
9d8870eede Fix contrast of the search icon
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-25 12:48:35 +02:00
Ferdinand Thiessen
003c76cca2 FilePicker: Hide also outline of new button if type is CHOOSE
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.

This also hides the outline to fix #33142

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-20 18:03:53 +00:00
Marcel Klehr
c991089bfc LoginForm: Fix password label translation call
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-18 10:29:31 +00:00
Joas Schilling
def9e25967
Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +02:00
Joas Schilling
1ad24d22df
Fix duplicate id "hole"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 14:36:56 +02:00
Christopher Ng
8aaac57ee6 Use Button component to show password for improved accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 17:46:49 +00:00
Christopher Ng
7219847ad1 Add accessible names for file picker grid view toggle and new folder button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 00:44:05 +00:00
Christopher Ng
04cec2b686 Enable keyboard activation of legacy contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 01:32:34 +00:00
Vincent Petry
dac93fe048
Merge pull request #32616 from nextcloud/enh/a11y-keyboard-filepicker
Augment file picker modal accessibility
2022-06-09 13:20:19 +02:00
Vincent Petry
e56a072fa7
Merge pull request #32769 from nextcloud/enh/32749/regex-universal-search
Specify the filter first for unified search
2022-06-09 12:03:59 +02:00
Christopher Ng
0ea95c3ff6 Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng
343eab4c96 Update variable name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:20:37 +00:00
Christopher Ng
f876dc6882 Set circular radius on close button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:19:28 +00:00
Christopher Ng
189926b107 Add a11y utility function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng
9f09caaaea Activate the primary dialog button on enter if there is a single input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:16:04 +00:00
Christopher Ng
edba92d1f4 Use keyboard controls with the action buttons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:13:52 +00:00
Christopher Ng
16d2238de5 Use keyboard controls for new folder creation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:12:24 +00:00
Christopher Ng
0b0ef105c5 Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +00:00
Christopher Ng
83e16b89a2 Prevent pressing enter key without control focus from activating the primary button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:08:25 +00:00
Christopher Ng
fc56c0eb91 Fix focus styling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:06:53 +00:00
Christopher Ng
ba75c61868 Restore grid view toggle
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:04:49 +00:00
Christopher Ng
a9f6cd19a4 Prepend file picker to be initial keyboard focus target
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:00:13 +00:00
Christopher Ng
229c65b0d7 Handle keyboard navigation in the file picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
Daniel Kesselberg
78786a2887
Specify the filter first for unified search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-08 19:56:41 +02:00
Christopher Ng
c1054ea5eb Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 16:57:13 +00:00
Louis Chemineau
719515afe7 Properly calculate carret position
The carret position is currently hard coded based on the position of the icon in the header.

This PR calculate its position relatively to the header icon.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 13:16:20 +02:00
Carl Schwan
c1499519d4 Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
  on webkit
- Change text for link to home button to describe the destination and
  not the current page
- Improve focus effect in app sidebar navigation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 13:21:48 +02:00
John Molakvoæ
264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +02:00
John Molakvoæ
cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +02:00
John Molakvoæ
c59c3b5c1f
Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:06 +02:00
Louis Chemineau
93ee9cd592 Mount profile after DOMContentLoaded
Fix https://github.com/nextcloud/server/issues/32187

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-27 15:52:05 +02:00
John Molakvoæ
d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ (skjnldsv)
a1aaaaa0c8
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +02:00
John Molakvoæ (skjnldsv)
738fcba51a
Update search icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:05 +02:00
Julius Härtl
8e53a04e92
Merge pull request #30311 from nextcloud/enh/search-load
Add unified search options
2022-04-20 16:36:15 +02:00
Vincent Petry
089b0a643e Add extra filter for file picker
Makes it possible to be more flexible when filtering entries to be
displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-14 15:06:56 +00:00
Julius Härtl
93eb584199
Make typeahead and search limit/length configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:05:55 +02:00
Julius Härtl
de7280114a
Increase debounce timeout to be more realistic with real typing behavior
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:03:01 +02:00
Gnana Sekar
7696e3f5c6 Wrap contact search result in a link
Signed-off-by: Gnana Sekar <developersekar1992@gmail.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-11 17:13:33 +02:00
Louis Chemineau
4763a1263f Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +00:00
John Molakvoæ
53f379fe3f Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
christophe canovas
d6a9278422 Target_Blank option to open External links
Signed-off-by: christophe canovas <christophecanovas66@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-15 09:57:50 +00:00
John Molakvoæ
3192b3e2f2
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Valdnet
7c6f41ba7f l10n: Spelling unification in Transifex.
There should be no abbreviations in official sentences.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 10:14:37 +01:00
Christopher Ng
22768769c3 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-14 19:59:46 +00:00
Joas Schilling
0c4aa19c31
Don't use the deprecated method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:28:26 +01:00
Carl Schwan
1fa58be1aa
Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:36:42 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +01:00
Louis Chemineau
9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
Louis Chemineau
9ee339d430
Fix undescore version
Reason: https://github.com/nextcloud/server/pull/27279
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau
19ed04dda1
Don't import $ in every file that needs it
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Louis Chemineau
adfb9010d4
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +01:00
Louis Chemineau
b312db382d
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Louis Chemineau
e7026c0f57 Restore innocent code from IE purge
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-03 10:50:43 +01:00
Julius Härtl
8eab1fedfe
Properly apply the username prefill
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:28 +01:00
Daniel Calviño Sánchez
3fa91ecf68 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +01:00
acsfer
9ec2c36c05 Remove IE polyffils
Pursuing the "IE removal" quest ☮️

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-02 10:29:20 +00:00
Christopher Ng
02979809a6 Fix profile actions menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01 01:06:11 +00:00
John Molakvoæ (skjnldsv)
aaad09220d
Remove files_iedavclient
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-30 14:47:45 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
Christopher Ng
408e4a1983 Set profile page title
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 20:46:34 +00:00
Christopher Ng
3aea0f2c19 Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 19:05:27 +00:00
Christopher Ng
7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +00:00
Christopher Ng
a3bf35f277 Adjust margin of status on profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-25 04:45:40 +00:00
szaimen
4d92f42f19 make profile page usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 09:18:50 +00:00
Christopher Ng
6a8b2d86fe Fix wording on profile page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:23:56 +00:00
Carl Schwan
b7a35afcf1
Add autocompletion for password reset
Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-10-22 12:18:26 +02:00
Christopher Ng
3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
Christoph Wurst
4322aaba22 Switch to the "new" jcrop
The old one didn't work with recent versions of node. The patched one
does. This also replaces the github dep with a real npm registry one.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-14 13:58:45 +00:00
MichaIng
3a36984f50 Migrate deprecated toolip methods
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 22:18:20 +02:00
Daniel Kesselberg
024881dbd3
Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-15 16:58:44 +02:00
Luka Trovic
f5c3ec5365 Replace some icons with pretty icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 13:56:48 +00:00
kavita.sonawane@t-systems.com
d2aed25dd2 Search function strong tag for user input
Signed-off-by: Kavita Sonawane <kavita.sonawane@t-systems.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-01 09:31:33 +00:00
szaimen
ab592c99e6
Merge pull request #28506 from nextcloud/followup/27281/fix-oc-linktoocs
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
2021-08-31 19:45:28 +02:00
Carl Schwan
4027bba202 Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-31 15:12:55 +00:00
Joas Schilling
40d4ff3704
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
Thomas Citharel
092e6be473 Alias locales to moment supported locales
Moment doesn't have aliases for every locale and doesn't parse some locale IDs correctly so we need to alias them

Close #27982

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-12 20:24:58 +00:00
Jan C. Borchardt
310cec4057
Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 17:21:02 +02:00
dependabot[bot]
6e5191b702 Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-23 15:56:28 +02:00
John Molakvoæ (skjnldsv)
717636fd28
Fix Login & Users settings page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 14:27:39 +02:00
John Molakvoæ (skjnldsv)
7ca81f360f
Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:21:25 +02:00
szaimen
d30aa525ee Make search popup usable on mobile, too
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 09:05:16 +00:00
Christopher Ng
08d59bbb03 Update login with device page styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:40:36 +00:00
Pytal
18ff2612a1
Merge pull request #27537 from nextcloud/fix/noid/webauthn-localhost
Allow WebAuthn on localhost as well
2021-06-17 08:53:49 -07:00
Morris Jobke
86080e68b2 Allow WebAuthn on localhost as well
* browsers typically whiteliste this as well - https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API
* for developing purposes see https://developer.chrome.com/docs/devtools/webauthn/

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-17 16:05:45 +02:00
Julius Härtl
a94236483e
Let apps toggle an unread counter on app icons
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 17:12:56 +02:00
Valdnet
9c6b01abeb
l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-06-02 17:49:32 +02:00
François Freitag
b0847abcc2 Rewrite requesttoken.spec.js with Jest
[Jest](https://jestjs.io/) is a test runner that focuses on simplicity.
It instruments babel to transform modules and test them.

Using Jest simplifies the existing configuration and allows dropping a
bunch of workarounds, as well as following the shared Babel
configuration for new code.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-30 10:44:34 +02:00
Valdnet
7bc22370b4
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet
d27aecebc0
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet
ddfb081463
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Joas Schilling
da043e52c8
Merge pull request #26586 from nextcloud/bugfix/noid/handle-device-login-like-an-alternative-login
Handle device login like an alternative login
2021-04-22 15:27:58 +02:00
Joas Schilling
69290781ff Handle device login like an alternative login
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 09:11:33 +02:00
Jan C. Borchardt
34396091e8
Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Roeland Jago Douma
bddb3dfcac
Merge pull request #26567 from nextcloud/techdebt/noid/adjust-jquery-deprecation-message
Don't mentioned we will do something with an already released version
2021-04-16 10:15:36 +02:00
Joas Schilling
cbca27867a
Don't mentioned we will do something with an already released version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15 08:53:17 +02:00
Jan C. Borchardt
bdd5667ff6
Fix 'Log in with a device' link focusability
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 15:01:01 +02:00
Jan C. Borchardt
dcf044a7a6
Fix password visibility toggle alt text and hover/focus feedback
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 14:59:31 +02:00
Valdnet
7cbb2bb595 l10n: Correct spelling
Unify the spelling in applications.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-09 11:01:01 +00:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
Roeland Jago Douma
4076dfb019 Allow admins to disable the login form
In case they want to not allow this because they use SSO (and do not
want the users to enter their credentials there by accident).

?direct=1 still works.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 15:36:47 +01:00
Roeland Jago Douma
3c83604e58 Kill jstimezonedetect from bundle
Taking up space while it is not needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 08:43:53 +01:00
Richard Steinmetz
2771e4472e
Fix admin password strengthify tooltip
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-02-22 21:28:42 +01:00
Roeland Jago Douma
a9b1ed4ba7 Kill DOMPurify from main bundle
Apps using this should ship their own.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-03 22:45:15 +01:00
Arthur Schiwon
da327ebf08
do not lower case search provider names on web ui
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-25 12:03:20 +01:00
Joas Schilling
613606fb88
Fix encoding issue with OC.Notification.show
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 14:44:39 +01:00
Joas Schilling
18fdefee0b
Readd element ID after component mount.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-18 13:53:42 +01:00
Marco Ambrosini
f2b0afdb60 fix-dialog-buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-12-18 15:39:48 +01:00
Nina Pypchenko
73407d9ee1 Fix untranslated "User disabled" on login screen
Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>

Closes #24549.
2020-12-16 22:04:41 +11:00
Robin Appelman
e6f1b1033b fix loading mtime of new file in conflict dialog in firefox
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 21:45:00 +00:00
Julius Härtl
e051ef1d68
Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 08:30:51 +01:00
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Christoph Wurst
5848c31fa2
Do not print deprecation warnings during testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 12:10:01 +01:00
marco
5c93321354
Merge pull request #23798 from nextcloud/add/default_font_size
Add default font size
2020-11-03 18:25:27 +01:00
Julius Härtl
a6908b82a9
Merge pull request #23785 from nextcloud/bugfix/21459/workaround-snap-js
Work around snap.js state mess
2020-11-03 16:01:59 +01:00
GretaD
bfe87e501d Add default font size
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-11-03 13:58:04 +01:00
Vincent Petry
f2de58db8c
Work around snap.js state mess
Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-02 17:31:18 +01:00
Robin Appelman
b4107c3442
ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Jacob Neplokh
b04368c9a8
Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-10-31 11:29:15 -07:00
Robin Appelman
85ae8d5c9f catch errors when closing file conflict dialog
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-28 20:40:01 +00:00
npmbuildbot[bot]
34100f1775
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:28:19 +01:00
Julius Härtl
ca1310bd12
Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 08:48:23 +02:00
Richard Steinmetz
cb68bcef0f Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-10 12:53:23 +00:00
Joas Schilling
e3e56df727
Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:37:42 +02:00
John Molakvoæ (skjnldsv)
23a913892f
Prevent empty search placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 10:00:59 +02:00
John Molakvoæ (skjnldsv)
301006af20
Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:54 +02:00
John Molakvoæ (skjnldsv)
7991ed6cf3
Properly show loading state if there are still pending requests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
283e66b300
Properly use form role=search and unify reset button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
6120496e54
Fix loading error catch
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:46 +02:00
Jan C. Borchardt
38dd302745
Recommended apps: Fix loading spinner color
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:19:03 +02:00
Jan C. Borchardt
f59af60609
Recommended apps: Empty alt text since the app logo is decorative
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:18:08 +02:00
John Molakvoæ (skjnldsv)
58b19efd74
Add users and apps inner search and add HeaderMenu cancel
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-14 16:05:37 +02:00
Joas Schilling
fea294bb29
Move unified search to OCS api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 11:06:46 +02:00
Daniel Calviño Sánchez
96821945fb
Adjust acceptance tests to changes in @nextcloud/vue 2.6.3
The menu button and the menu of a share are no longer direct childs of
the actions of the share row. The menu button is now a child of a
".trigger" element, while the menu is a direct child of the body and has
an id defined in the "aria-describedby" attribute of the ".trigger"
element.

In XPath 1.0 it does not seem possible to "backreference" a value or
create variables, so when the share menu or one of its item is needed
now the ".trigger" element is first found and then its XPath expression
is used to compose its "aria-describedby" attribute in the XPath
expression for the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 09:09:26 +02:00
John Molakvoæ (skjnldsv)
43243ce298
Bump @nextcloud/vue to v2.6.3
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv)
f04b182b94
Fix search placeholder animation & dark theme compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv)
f359529555
Allow unified search filtering
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:09 +02:00
Raimund Schlüßler
7abfaadc54 Emit unified search query
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-02 06:04:10 +00:00
Christoph Wurst
e2d209536f
Declare OCA.Search directly, not via a monkey patch
Apps could use OCA.Search very early on a page load without a problem
prior to Nextcloud 20 (current master). Since the unified search work
moved some code around, it now was added later, resulting in `TypeError:
OCA.Search is not a constructor` errors if the apps did not wrap their
calls in a `DOMLoaded` event handler.

To ensure existing code continues to work without modification, this
patch moves the declaration of the `OCA.Search` API to where we defined
`OCA`, instead of monkey-patching it later on.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 10:31:12 +02:00
Christoph Wurst
06f8c54386
Make ellipsized unified search results visible on hover
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 20:29:59 +02:00
Joas Schilling
97a1784065
Provide from on the search query too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-26 09:48:03 +02:00
Christoph Wurst
904badad56
Add the missing cursor parameter to unified search requests
Otherwise paginated search does not work. Basically you always requested
the first x items and then showed them again and again. The second or
any other subsequent page was never requested.

On a side note this also caused lots of Vue warning due to duplicate
keys.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 09:45:21 +02:00
Joas Schilling
ace8ff87b8
Fix dark-theme selector
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-21 11:42:50 +02:00