Commit Graph

25751 Commits (6556508733ae2b4b050d0f1f2cdfdc32a7af0ecc)

Author SHA1 Message Date
Carl Schwan 890af1917e
Merge pull request #29923 from alacn1/fix_basicauth_must_be_string
Fix users can't login external mount user entered credentials not set
2022-01-14 16:13:21 +07:00
Carl Schwan 6264f5aef7
Merge pull request #30655 from nextcloud/fix/sizing-publi-download-page
Improve layout for the public download page
2022-01-14 11:28:53 +07:00
Simon L 6a7b088adb
Merge pull request #30363 from nextcloud/enh/noid/accessibility-settings-mobile
improve accessibility settings on mobile
2022-01-14 10:11:54 +07:00
John Molakvoæ 4adb60660f
Merge pull request #30568 from nextcloud/fix/user_ldap-fix-long-dn-migration 2022-01-14 09:20:29 +07:00
Carl Schwan 46c0ceb59c
Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 09:19:15 +07:00
John Molakvoæ 2c1eac665a
Merge pull request #30530 from nextcloud/fix/search-url 2022-01-14 09:18:44 +07:00
Nextcloud bot 88a6ac5b22
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:10 +07:00
Carl Schwan 2e55ce0899
Improve layout for the public download page
This centers the content inside the pages, while also not hardcoded the
size of the footer.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 19:18:15 +07:00
John Molakvoæ 8d3a4856cb
Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-13 18:26:07 +07:00
Côme Chilliet 843b20c4e8
Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 17:21:26 +07:00
Joas Schilling 61c261b1e7
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-13 14:22:30 +07:00
Côme Chilliet 7e4e919408
Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 14:06:59 +07:00
Côme Chilliet 23845755f2
Move duplicated code to a base class for group_mapping migrations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-01-13 14:06:59 +07:00
Côme Chilliet d4cabf8a84
Split dropTable and createTable in two migrations
It is not possible to drop and create the same table in one migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 14:06:58 +07:00
Côme Chilliet e64e08ecac
Fix primary key change in user_ldap migration
Use a backup table to copy the data, drop table and recreate it with
 correct primary key, then copy the data back and drop the backup table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 14:06:58 +07:00
Carl Schwan cbf9064b8e
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:30:27 +07:00
Carl Schwan 695165260f
Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:36 +07:00
Carl Schwan 0479fff37c
The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:36 +07:00
Carl Schwan 1f392d666a
Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:32 +07:00
Carl Schwan 89d109a4d9
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
2022-01-13 09:51:04 +07:00
Vincent Petry 7d5a63ab21
Merge pull request #30620 from nextcloud/bugfix/14897/fix-cancelling
Properly abort uploads
2022-01-13 09:26:46 +07:00
Carl Schwan b1048864f0
Merge pull request #30600 from nextcloud/fix/30595/idn-email-share
Fix idn emails not working in shares
2022-01-13 09:24:26 +07:00
Nextcloud bot 094fbb9c0d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:26:35 +07:00
Carl Schwan fffc19f5c3
Fix types warnings from psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:33:46 +07:00
Vincent Petry 11c7e100ae
Properly hide progress bar after error
Whenever an error occurs, also hide the progress bar.

The logic was also adjusted to properly detect uploads that are pending
deletion, in which case the progress bar can already be hidden.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 20:21:12 +07:00
Vincent Petry 6c4d4d8bc4
Properly abort uploads
Add a new approach for flagging an upload as aborted because we can't
rely on the browser fully cancelling the request as we now seem to
receive an error response from the server instead of a jQuery "abort"
message.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 20:21:12 +07:00
Carl Schwan aeecb72e96
Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:03:06 +07:00
Louis 2e1491771e
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
2022-01-12 15:48:36 +07:00
Vincent Petry db9fbc9307
Merge pull request #30593 from nextcloud/bugfix/19048/fix-changedirectory-recommendations
Trigger "changeDirectory" event on URL change
2022-01-12 14:41:50 +07:00
Louis 55cb608449
Merge pull request #30485 from nextcloud/fix/correctly_set_the_mtime_in_bulk_upload
Set the file's mtime from the headers in bulk upload
2022-01-12 11:57:23 +07:00
Vincent Petry 8c75fcfbb8
Merge pull request #30609 from nextcloud/fix/noid/request-url-cli-check
Fix RequestURL check for cli commands
2022-01-12 09:07:05 +07:00
Nextcloud bot 41529ec22d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:26:58 +07:00
Carl Schwan 7ecb65f725
Add check before sending email that email address is valid
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11 20:59:44 +07:00
Carl Schwan 08bf47a5de
Fix RequestURL check for cli commands
Fix https://github.com/nextcloud/files_automatedtagging/issues/526

Fix https://github.com/nextcloud/groupfolders/issues/1855

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11 19:45:07 +07:00
Vincent Petry 809e305444
Trigger "changeDirectory" even on URL change
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.

This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.

Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-11 17:48:03 +07:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +07:00
Louis Chemineau bc47234e6b Remove legacy build files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:16:05 +07:00
Louis Chemineau 37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +07: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 +07:00
Louis Chemineau d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
Louis Chemineau 69b8044b8f Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:10:14 +07:00
MichaIng 796764aafd
Merge pull request #30533 from nextcloud/fix/avoid-zero-division
Avoid zero division in setup checks
2022-01-11 13:39:02 +07:00
Joas Schilling bce7f09336
Merge pull request #30570 from nextcloud/rakekniven-branch3
Removed obselete language files - Pt. II
2022-01-11 11:56:56 +07:00
MichaIng 79cdb565dc Avoid zero division in setup checks
Fixes: https://github.com/nextcloud/server/issues/30532

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-11 10:26:57 +07:00
Nextcloud bot 7484abb6c0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 02:27:07 +07:00
szaimen d11f235fa4 address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-10 17:31:43 +07:00
szaimen cd6faf2624 address review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-10 17:31:43 +07:00
szaimen 78cab4bfd1 improve accessibility settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-10 17:31:43 +07:00
Vincent Petry db0414ad4c
Merge pull request #30499 from nextcloud/bugfix/29941/remove-shareinfo-query-from-scanner
Remove inefficient fed share scanner
2022-01-10 16:42:23 +07:00
Vincent Petry 8954e51207
Merge pull request #30567 from nextcloud/bugfix/noid/npm-ci-for-karma
Use npm ci when running JS tests
2022-01-10 16:41:11 +07:00