After ec9e283e there was still such a problem with the legacy app navigation
snapper that its width was only 266 px on the RTL layout instead of the
normal 300 px. The 266 px is the default width of Snap.js module. While the
left side snapper width is configured with the property maxPosition, the right
side snapper is configured by passing a negative value for the property
minPosition.
Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
With SSO setups users may otherwise be redirected to the IdP directly
instead of the regular login form that they reset the password for
Signed-off-by: Julius Knorr <jus@bitgrid.net>
- deprecated since Nextcloud 17
- To replace `OC.getHost` use `window.location.host`.
- To replace `OC.getHostName` use `window.location.hostname`.
- To replace `OC.getPort` use `window.location.port`.
- To replace `OC.getProtocol` use `window.location.protocol`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Its deprecated since Nextcloud 18 and nowadays we have much more complex
logic for this.
So the proper replacement is to use `validateFilename` from
`@nextcloud/files` package.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
- Deprecated since Nextcloud 17
To replace `OC.redirect` directly use `window.location`.
To replace `OC.reload` directly use `window.location.reload`.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
In Nextcloud Vue v8 the `type` prop for dialog buttons
was deprecated and replaces with the `variant` prop.
In v9 the deprecated props are removed.
Use the `variant` prop in the deprecated `OC.dialogs`.
This is a follow up for #55726.
Signed-off-by: Max <max@nextcloud.com>
Cypress has some limitations:
- its vue 2 supported was removed
- it fails with our vue 3 migration due to 2 different vue versions
being present
- its slow compared to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This setting existed already for the legacy unified search.
This commit expose that setting to the new front-end, and
also ignore non valid requests in the backend.
We also take the opportunity to register the config in the lexicon.
Signed-off-by: Louis Chemineau <louis@chmn.me>
1. By replacing `blueimp-md5` with `crypto-browserify` we reduce the
dependencies because the latter one is already used by `@nextcloud/upload`.
2. Drop the global `md5` as the changed implementation would need a wrapper,
but its also not used anymore and deprecated since Nextcloud 20.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Couple of versions ago:
- `color-text-light` was replaced with `color-main-text`
- `color-text-lighter` was replaced with `color-text-maxcontrast`
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This removes:
- “enable” for settings
- “settings” for settings sections
- “all” when there is no obvious subset of items
- “show” and “open” for navigation actions
- “changes” for applying/discarding
- “to clipboard” when copying
- Explaining things that cannot happen
- Explaining things twice, right below each other
- Unnecessary technical jargon
- Text that sounds like marketing copy and serves no other purpose
Signed-off-by: kramo <git@kramo.page>
This commit introduces a change to prevent showing the load more button,
if the length of existing results is not equal to the requested limit (which implies
it is less than because we never expect it to be more)
Additionally, there is an enhancment to override provider filders passed to the find method.
This would improve speed.
Signed-off-by: nfebe <fenn25.fn@gmail.com>
We hide **if** there is **no** notification.
We *do not* hide and *show the label* **if** there are notifications for
that application.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>