Age | Commit message (Collapse) | Author |
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
This centers the content inside the pages, while also not hardcoded the
size of the footer.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
|
|
|
|
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
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>
(cherry picked from commit 1fa58be1aa78ff6216b7a129925a7bb270ac9fe1)
|
|
for the following query 'SELECT "path" FROM "oc_filecache" WHERE ("storage" = $storage) AND ("size" < 0) ORDER BY "fileid" DESC LIMIT 1;'
currently the database will in some cases decide to priorize the sort by fileid over the filter when picking what index to use, resulting in a much slower query.
by creating an index that allows first sorting by fileid and also filter by storage and size this case will be greatly sped up
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
publicpage.js is loaded very early and cannot rely on jquery being loaded already.
Move the use of `$` into the `DomContentLoaded` handler.
Signed-off-by: Azul <azul@riseup.net>
|
|
[stable22] Use npm ci when running JS tests
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
[stable22] add a prefix index to filecache.path, attempt 2
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
[stable22] Add missing index for propertypath only queries of DAV properties
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
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>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
[stable22] Fix setting up 2FA when no providers are set up but backup codes
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.
This patch syncs up the login controller check with the challenge
controller check 10 lines above.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.
This fixes the logic to use the "folder-external" icon in such
scenarios.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
|
|
|
|
Signed-off-by: Joas Schilling <coding@schilljs.com>
|
|
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
[stable22] Only add the vue exeption to actual button elements
|
|
Signed-off-by: marco <marcoambrosini@pm.me>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Christopher Ng <chrng8@gmail.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement.
to prevent making it harder to add the correct index later on we don't create the index for now on postgresql
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.
Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.
Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.
Signed-off-by: Robin Appelman <robin@icewind.nl>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|
|
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
|