summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* update autoloaderArthur Schiwon2022-09-222-4/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove getDefaultInstallationBundleArthur Schiwon2022-09-222-31/+4
| | | | | | - because all apps are shipped now it was returning an empty result Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove InstallCoreBundle repair stepArthur Schiwon2022-09-222-86/+0
| | | | | | | - core bundle was empty and thus removed - all former apps installed this way are shipped Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove Core BundleArthur Schiwon2022-09-222-43/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #34192 from nextcloud/move-background-clearing-stable25blizzz2022-09-225-13/+56
|\ | | | | [stable25] Move avatar clearing in the background
| * Move avatar clearing in the backgroundCarl Schwan2022-09-225-13/+56
| | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> (cherry picked from commit e21e53670c60b74ca2c49c01bf510ccdc5115b0d)
* | Fix tests for nested v4 in v6Côme Chilliet2022-09-221-14/+6
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Use new dependency to normalize IPsCôme Chilliet2022-09-221-0/+13
| | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | Add missing urldecode and idn_to_utf8 calls to local address checkerCôme Chilliet2022-09-222-2/+2
|/ | | | | | The call to idn_to_utf8 call is actually to apply normalization Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-09-226-4/+6
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Allow CSRF on CORS routesJonas Rittershofer2022-09-212-1/+5
| | | | | | Co-authored-by: Julius Härtl <jus@bitgrid.net> Co-authored-by: Andreas Brinner <andreas@everlanes.net> Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
* Merge pull request #34147 from ↵Joas Schilling2022-09-204-10/+10
|\ | | | | | | | | nextcloud/bugfix/noid/fix-avatar-cleanup-on-user-delete Fix avatar cleanup on user delete
| * Rebuild autoloaderJoas Schilling2022-09-202-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix avatar cleanup on user deleteJoas Schilling2022-09-192-8/+8
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix FFMPEG preview managerJoas Schilling2022-09-201-3/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2022-09-204-0/+4
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Revert "Make config file saving safe against write failures"Joas Schilling2022-09-191-29/+25
|
* Merge pull request #32740 from jasperweyne/patch-2Carl Schwan2022-09-191-0/+2
|\ | | | | Fix open_basedir issues by AWS SDK
| * Merge branch 'master' into patch-2Jasper Weyne2022-08-11227-1270/+2503
| |\
| * | Disable ~/.aws/config access by S3ConnectionTraitJasper Weyne2022-06-071-0/+2
| | | | | | | | | | | | | | | This commit sets the 'use_aws_shared_config_files' option to false, in order to disable configuration loading from ~/.aws/config by the AWS SDK, specifically the S3Client. It is a continuation of #27040, as that PR only changed the behaviour of the CredentialsProvider; this change affects the ConfigurationProvider as well. Signed-off-by: Jasper Weyne <jasperweyne@gmail.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-09-198-4/+20
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-09-186-0/+24
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-09-17138-548/+558
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #34073 from nextcloud/login-email-filterVincent Petry2022-09-161-0/+3
|\ \ \ | | | | | | | | dont try email login if the provider username is not a valid email
| * | | dont try email login if the provider username is not a valid emailRobin Appelman2022-09-141-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #24596 from kofemann/dcache-wormVincent Petry2022-09-161-0/+14
|\ \ \ \ | | | | | | | | | | make NextCloud WORM file system friendly
| * | | | config: add a switch to control truncate before updateTigran Mkrtchyan2022-09-161-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To avoid extra truncate on non WORM file systems, add a new config option `localstorage.unlink_on_truncate`, which defaults to false. The OC\Files\Storage\Local is update to respect that option. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
| * | | | files: remove destination file before copying new content (WORM)Tigran Mkrtchyan2022-09-161-0/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
| * | | | files: make OC\Files\Storage\Local WORM friendlyTigran Mkrtchyan2022-08-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some filesystems run as a Write-Once-Read-Many storages. This makes them impossible to use with NexeCloud, as the file system layers uses `truncate` syscall (through file_put_contents function). As Nextcloud is never updates existing files, removing the old entry and creatint a new one on update will allow NextCoud to update on such file systems. Update Local#fopen and Local#file_put_contents to remote existing file before truncating. Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
* | | | | Merge pull request #34020 from nextcloud/logical-opVincent Petry2022-09-161-18/+12
|\ \ \ \ \ | | | | | | | | | | | | Switch logical operators (and|or)
| * | | | | Switch logical operators (and|or)Git'Fellow2022-09-121-18/+12
| | | | | | | | | | | | | | | | | | Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
* | | | | | Merge pull request #33658 from nextcloud/dashboard-api-widgetsVincent Petry2022-09-167-0/+269
|\ \ \ \ \ \ | | | | | | | | | | | | | | Extend dashboard api to allow listing of widgets
| * | | | | | Add since tagsJoas Schilling2022-09-163-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | | | | move widget options into a Option classRobin Appelman2022-09-155-8/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | add IItemOptionWidget to define some item-related parameters, only ↵Julien Veyssier2022-09-151-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | getItemIconsRound() for now Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
| * | | | | | change widget button api to support multiple button typesRobin Appelman2022-09-154-17/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | allow adding button to dashboard api outputRobin Appelman2022-09-153-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | | | add dashboard api to list widgetsRobin Appelman2022-09-151-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | l10n: Correct error messagesValdnet2022-09-161-3/+3
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | | | | | l10n: Correct error messagesValdnet2022-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* | | | | | | [tx-robot] updated from transifexNextcloud bot2022-09-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | | | Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2Vincent Petry2022-09-153-4/+38
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | set defaultEnabled in shipped.json
| * | | | | | | fix phpdocMaxence Lange2022-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
| * | | | | | | set defaultEnabled in shipped.jsonMaxence Lange2022-09-153-4/+38
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | | | Merge pull request #33718 from nextcloud/seekable-http-fseek-endVincent Petry2022-09-151-21/+60
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | fix using FSEEK_END with SeekableHttpStream to get file size
| * | | | | | | fix using FSEEK_END with SeekableHttpStream to get file sizeRobin Appelman2022-09-151-21/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | | Merge pull request #34048 from nextcloud/feat/add-nodeFilter-to-user_migrationVincent Petry2022-09-151-1/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Add a nodeFilter parameter for IExportDestination::copyFolder
| * | | | | | | | Add a nodeFilter parameter for IExportDestination::copyFolderCôme Chilliet2022-09-131-1/+2
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | | | | Merge pull request #34009 from andrey-utkin/safe-config-updateCôme Chilliet2022-09-151-25/+29
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Make config file saving safe against write failures
| * | | | | | | | Make config file saving safe against write failuresAndriy Utkin2022-09-091-25/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In case of disk space depletion, writing a new version of config fails, leaving the config file empty. This patch improves safety of updates to config.php by saving the new version of the config into a randomly-named temporary file in the same directory, and then renaming it to config.php, which renaming is atomic in POSIX-compliant filesystems and shouldn't involve disk space allocation. If writing the new config version is impossible, the current config remains unchanged. This patch drops the use of file locking as unnecessary. File locking merely established order in which the concurrent independent processes attempted file writing. In the end, the process which was last to update the file "wins" - their changes persist and the changes of previous writers are dropped as there's no conflict detection or change merging mechanism anyway. With the current change, there is still some resulting ordering, and the last writer still wins in the same way. Readers don't need file locking as well, as opening config.php for reading always provides a certain consistent version of the file. Signed-off-by: Andriy Utkin <dev@autkin.net>