Commit graph

25764 commits

Author SHA1 Message Date
Côme Chilliet
9b5245facf
Merge pull request #30771 from nextcloud/fix/proppatch-convert-complex-properties
Convert properties value to string before passing them to database
2022-01-20 18:31:32 +01:00
Côme Chilliet
40cdc54ae8
Convert properties value to string before passing them to database
This avoids an error when passing a complex property to PROPPATCH under
 PHP >= 7.4.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-20 15:08:04 +01:00
Valdnet
0fb15e30a8 l10n: Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 09:56:30 +00:00
Valdnet
00b43cfa6b Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 08:30:59 +00:00
Valdnet
ae8085fbf8 Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 08:20:07 +00:00
Nextcloud bot
2aa56dc416
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:22 +00:00
Nextcloud bot
deca6117ba
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:27:39 +00:00
Carl Schwan
7619dceff4
Fix tests with email templates
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-18 20:56:50 +01:00
Nextcloud bot
a7eefa293e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 02:45:20 +00:00
Nextcloud bot
174fc058c0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 02:27:08 +00:00
Nextcloud bot
6d95afe6f1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:10 +00:00
Julien Veyssier
206967a4fb
Merge pull request #30645 from nextcloud/enh/internal-link-scroll-only
New Files internal link GET param to avoid opening the file
2022-01-14 17:54:02 +01:00
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 +01: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 +01:00
Julien Veyssier
b67b4b160b
[files] new internal link GET param to avoid setting 'openfile' on redirect
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-14 10:50:13 +01: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 +01:00
John Molakvoæ
4adb60660f
Merge pull request #30568 from nextcloud/fix/user_ldap-fix-long-dn-migration 2022-01-14 09:20:29 +01: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 +01:00
John Molakvoæ
2c1eac665a
Merge pull request #30530 from nextcloud/fix/search-url 2022-01-14 09:18:44 +01:00
Nextcloud bot
88a6ac5b22
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:10 +00: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 +01: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 +01: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 +01:00
Joas Schilling
61c261b1e7
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-13 14:22:30 +01: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 +01: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 +01: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 +01: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 +01:00
Carl Schwan
cbf9064b8e
Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:30:27 +01:00
Carl Schwan
695165260f
Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:36 +01: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 +01: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 +01:00
Carl Schwan
89d109a4d9
Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
2022-01-13 09:51:04 +01:00
Vincent Petry
7d5a63ab21
Merge pull request #30620 from nextcloud/bugfix/14897/fix-cancelling
Properly abort uploads
2022-01-13 09:26:46 +01: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 +01:00
Nextcloud bot
094fbb9c0d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:26:35 +00:00
Carl Schwan
fffc19f5c3
Fix types warnings from psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:33:46 +01: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 +01: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 +01: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 +01:00
Louis
2e1491771e
Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
2022-01-12 15:48:36 +01: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 +01: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 +01: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 +01:00
Nextcloud bot
41529ec22d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:26:58 +00: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 +01: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 +01: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 +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
bc47234e6b Remove legacy build files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:16:05 +01:00