aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Improve layout for the public download pageCarl Schwan2022-01-132-11/+22
| | | | | | | This centers the content inside the pages, while also not hardcoded the size of the footer. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Merge pull request #30597 from nextcloud/fix/30589/hide-hidden-file-dialogCarl Schwan2022-01-135-6/+16
|\ | | | | Fix file picker not respecting hidden files settings
| * Fix file picker not respecting hidden files settingsCarl Schwan2022-01-135-6/+16
| | | | | | | | | | | | | | | | 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>
* | Merge pull request #30648 from nextcloud/fix/update_gitattributesLouis2022-01-131-34/+2
|\ \ | | | | | | Update .gitattribute file
| * | Update .gitattribute fileLouis Chemineau2022-01-131-34/+2
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #30531 from ↵Carl Schwan2022-01-132-11/+42
|\ \ \ | |_|/ |/| | | | | | | | nextcloud/performance/optimize-filesystemtags-flow-groupfolder Optimize FileSystemTags workflow for groupfolder
| * | Fix psalm issuesCarl Schwan2022-01-132-7/+10
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Add helper method in WrapperCarl Schwan2022-01-132-13/+25
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | The storage is not static anymoreCarl Schwan2022-01-131-15/+11
| | | | | | | | | | | | | | | | | | Don't call twice $cache->getId Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Optimize FileSystemTags workflow for groupfolderCarl Schwan2022-01-131-9/+29
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #30508 from nextcloud/fix/psaml-binCarl Schwan2022-01-1378-2362/+1188
|\ \ | | | | | | Fix psalm not running
| * | Check style updateCarl Schwan2022-01-1349-162/+154
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Fix a few psalm issues and moved back to psalm/phar 4.18Carl Schwan2022-01-1227-1724/+504
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | Fix psalm not runningCarl Schwan2022-01-069-516/+570
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue was that we were using psalm/phar instead of vimeo/psalm. This caused issue with the custom psalm plugin in buildd/psalm. This is using the opportunity to also update the psalm version from 3.8 to 3.17 and the php-cs-fixer too. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #30620 from nextcloud/bugfix/14897/fix-cancellingVincent Petry2022-01-131-12/+50
|\ \ \ | | | | | | | | Properly abort uploads
| * | | Properly hide progress bar after errorVincent Petry2022-01-121-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * | | Properly abort uploadsVincent Petry2022-01-121-9/+36
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #30600 from nextcloud/fix/30595/idn-email-shareCarl Schwan2022-01-134-16/+76
|\ \ \ | | | | | | | | Fix idn emails not working in shares
| * | | Fix types warnings from psalmCarl Schwan2022-01-122-7/+11
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Add check before sending email that email address is validCarl Schwan2022-01-114-16/+69
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Fix idn emails not working in sharesCarl Schwan2022-01-111-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Fix #30595 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-1318-8/+74
| |/ / |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30605 from nextcloud/fix/remove_legacy_build_filesLouis2022-01-121-0/+1
|\ \ \ | | | | | | | | Clear dist folder during build
| * | | Clear dist folder during buildLouis Chemineau2022-01-117-10845/+1
| |/ / | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #30606 from nextcloud/deps/drop_eslint-webpack-loaderLouis2022-01-122-121/+1
|\ \ \ | | | | | | | | Drop eslint-loader
| * | | Drop eslint-loaderLouis Chemineau2022-01-122-121/+1
| |/ / | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #30572 from nextcloud/fix/lint_warningsLouis2022-01-12379-11551/+680
|\ \ \ | | | | | | | | Fix lint warnings
| * | | Compile frontend to update license filesLouis Chemineau2022-01-1186-11012/+143
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Replace license information to SPDX expressionLouis Chemineau2022-01-11257-267/+267
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Remove legacy build filesLouis Chemineau2022-01-113-28/+0
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Import type from packagesLouis Chemineau2022-01-1113-10/+19
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Add generic type and description when its missingLouis Chemineau2022-01-1136-80/+79
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Typing correctionsLouis Chemineau2022-01-11149-352/+370
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #30593 from ↵Vincent Petry2022-01-122-9/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/19048/fix-changedirectory-recommendations Trigger "changeDirectory" event on URL change
| * | | | Trigger "changeDirectory" even on URL changeVincent Petry2022-01-112-9/+14
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | Merge pull request #30625 from nextcloud/enh/jsconfig-theme-perfJoas Schilling2022-01-121-2/+0
|\ \ \ \ | | | | | | | | | | Remove shortFooter/longFooter to avoid unnecessary navigation loading
| * | | | Remove shortFooter/longFooter to avoid unnecessary navigation loadingJulius Härtl2022-01-121-2/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #30485 from ↵Louis2022-01-1210-19/+105
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/correctly_set_the_mtime_in_bulk_upload Set the file's mtime from the headers in bulk upload
| * | | | | Set the file's mtime from the headers in bulk uploadLouis Chemineau2022-01-1110-19/+105
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | | | Merge pull request #30609 from nextcloud/fix/noid/request-url-cli-checkVincent Petry2022-01-121-6/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix RequestURL check for cli commands
| * | | | | | Fix RequestURL check for cli commandsCarl Schwan2022-01-111-6/+11
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | | [tx-robot] updated from transifexNextcloud bot2022-01-1226-22/+232
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | Merge pull request #30588 from nextcloud/bugfix/noid/fix-unset-scopesPytal2022-01-112-1/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Fix testJoas Schilling2022-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | Fix undefined/unset scope in account propertiesJoas Schilling2022-01-111-0/+1
| | |_|/ / | |/| | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #30533 from nextcloud/fix/avoid-zero-divisionMichaIng2022-01-111-3/+12
|\ \ \ \ \ | | | | | | | | | | | | Avoid zero division in setup checks
| * | | | | Avoid zero division in setup checksMichaIng2022-01-111-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://github.com/nextcloud/server/issues/30532 Signed-off-by: MichaIng <micha@dietpi.com>
* | | | | | Merge pull request #30291 from nextcloud/image-memory-limitJoas Schilling2022-01-114-1/+129
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | Prevent loading images that would require too much memory.
| * | | | | Prevent loading images that would require too much memory.Joachim Bauch2022-01-114-1/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | | | | | Merge pull request #30569 from nextcloud/fix/userlang_firstloginblizzz2022-01-111-0/+9
|\ \ \ \ \ \ | | | | | | | | | | | | | | Default to language from request in L10N\Factory->getUserLanguage()