Commit Graph

232 Commits

Author SHA1 Message Date
Robin Appelman 1f6e5c6d8e 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-02 07:37:19 +00:00
Julius Härtl b134107316
Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 15:33:54 +01:00
GretaD 6787f5de50 Add default font size
Signed-off-by: GretaD <gretadoci@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-05 08:40:28 +00:00
Robin Appelman 773bc3b496 ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-02 20:20:07 +00:00
Jacob Neplokh 633b760c6d Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-11-01 15:36:02 +00:00
Robin Appelman eb59fd2baa 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-29 09:10:33 +00:00
Richard Steinmetz a7b0778b4b 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-16 06:15:07 +00:00
Julius Härtl 098c631129 Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-13 15:57:25 +00:00
Joas Schilling 3daddfce14 Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:16:30 +00:00
John Molakvoæ (skjnldsv) 7ad973494a Prevent empty search placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 09:36:41 +00:00
John Molakvoæ (skjnldsv) 5646144fae Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 09:36:40 +00:00
John Molakvoæ (skjnldsv) 839f597921 Properly show loading state if there are still pending requests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 09:36:39 +00:00
John Molakvoæ (skjnldsv) 3c6319f275 Properly use form role=search and unify reset button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 09:36:39 +00:00
John Molakvoæ (skjnldsv) 2672f5da59 Fix loading error catch
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 09:36:39 +00: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
Joas Schilling ea8f68bea6 Hand in the route and the parameters of the request
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-05 12:52:16 +00:00
John Molakvoæ (skjnldsv) d98f7c1bd8
Make apps handle the order logic
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 11:37:45 +02:00
John Molakvoæ (skjnldsv) 71b62c4203
Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 21:36:22 +02:00
John Molakvoæ (skjnldsv) 6eced42b7a
Remove outdated legacy search scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 20:56:22 +02:00
John Molakvoæ (skjnldsv) 1a1b3e20e4 Fix unified search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-03 11:26:03 +00:00
John Molakvoæ (skjnldsv) aefdd64069
Unified search UI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-03 10:51:27 +02:00
John Molakvoæ (skjnldsv) 3a31397ac2
Use `babel-loader-exclude-node-modules-except`
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 11:00:33 +02:00
John Molakvoæ (skjnldsv) a384b4a97a
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:35:55 +02:00
John Molakvoæ (skjnldsv) 0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
Roeland Jago Douma 4c08b1754d Do not double encode the userid in webauthn login
* Else login fails with webauthn devices that send the userid
  - Like windows hello

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-22 18:56:42 +00:00
John Molakvoæ (skjnldsv) 6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +02:00
Joas Schilling 2607d2df1a
Use generateUrl and imagePath instead of OC.*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:59 +02:00
Joas Schilling ed3e03821b
Use space instead of tab inside translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:58 +02:00
Jan-Christoph Borchardt df9529e9ea Up the limit for the header app menu, fix #21635
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-10 06:43:38 +00:00
Daniel Kesselberg 5ba9825452
Fix parsing of language code
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09 21:11:27 +02:00
Christoph Wurst c25ce9ad20
Set the moment locale even earlier
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-09 15:09:05 +02:00
Julius Härtl 00d545f87e Fix placeholder issues with multiplace spaces in the name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-09 07:05:15 +00:00
Gary Kim 8773ae49c5
Make closing dialogs callback with false
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Julius Härtl 9239793a65
Fix export for davclient.js legacy dependency
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-24 11:34:16 +02:00
Joas Schilling eca3c9f6b1
Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 12:21:10 +02:00
Joas Schilling b5140309e5
Add darkmode support for the modal background
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling be0ecbc8c7
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00