Commit graph

20927 commits

Author SHA1 Message Date
Nextcloud bot
1930c3bbb9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-22 02:32:35 +00:00
Jonas Rittershofer
c8b7a233a5 Allow CSRF on CORS routes
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>
2022-09-21 10:42:00 +00:00
Joas Schilling
29af54f10d
Merge pull request #34147 from nextcloud/bugfix/noid/fix-avatar-cleanup-on-user-delete
Fix avatar cleanup on user delete
2022-09-20 17:11:05 +02:00
Joas Schilling
efedb218e3
Fix FFMPEG preview manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 13:22:24 +02:00
Joas Schilling
c443ecfbff
Rebuild autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 10:33:26 +02:00
Nextcloud bot
3ac720aaca
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-20 02:32:43 +00:00
Joas Schilling
144514e49e
Fix avatar cleanup on user delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-19 21:36:50 +02:00
Joas Schilling
3236619e99
Revert "Make config file saving safe against write failures" 2022-09-19 14:02:07 +02:00
Carl Schwan
3950deb42f
Merge pull request #32740 from jasperweyne/patch-2
Fix open_basedir issues by AWS SDK
2022-09-19 10:19:15 +02:00
Nextcloud bot
c3a87e8c48
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-19 02:32:20 +00:00
Nextcloud bot
f780d6d94c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-18 02:26:13 +00:00
Nextcloud bot
cc814bb568
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-17 02:31:51 +00:00
Vincent Petry
25888a3d42
Merge pull request #34073 from nextcloud/login-email-filter
dont try email login if the provider username is not a valid email
2022-09-16 14:54:24 +02:00
Vincent Petry
1025d049c7
Merge pull request #24596 from kofemann/dcache-worm
make NextCloud WORM file system friendly
2022-09-16 14:39:13 +02:00
Vincent Petry
b3ca186d2d
Merge pull request #34020 from nextcloud/logical-op
Switch logical operators (and|or)
2022-09-16 13:35:19 +02:00
Vincent Petry
703dd64e7e
Merge pull request #33658 from nextcloud/dashboard-api-widgets
Extend dashboard api to allow listing of widgets
2022-09-16 12:18:24 +02:00
Tigran Mkrtchyan
f41209a061 config: add a switch to control truncate before update
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>
2022-09-16 11:10:32 +02:00
Tigran Mkrtchyan
8fc4cf67f1 files: remove destination file before copying new content (WORM)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
2022-09-16 10:57:17 +02:00
Valdnet
6bdc1f8631
l10n: Correct error messages
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:22:01 +02:00
Valdnet
77472db054
l10n: Correct error messages
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-16 09:18:24 +02:00
Joas Schilling
9c402eb745
Add since tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-16 08:23:04 +02:00
Nextcloud bot
88b66442a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-16 02:26:19 +00:00
Vincent Petry
d39f047af2
Merge pull request #34072 from nextcloud/enh/noid/default-enabled-2
set defaultEnabled in shipped.json
2022-09-15 22:03:12 +02:00
Vincent Petry
0023a1066b
Merge pull request #33718 from nextcloud/seekable-http-fseek-end
fix using FSEEK_END with SeekableHttpStream to get file size
2022-09-15 22:02:24 +02:00
Robin Appelman
d9e75f00b1
move widget options into a Option class
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:06:21 +02:00
Julien Veyssier
845149bb7c
add IItemOptionWidget to define some item-related parameters, only getItemIconsRound() for now
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-09-15 18:06:21 +02:00
Robin Appelman
a3912e264a
change widget button api to support multiple button types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
79adca6b8b
allow adding button to dashboard api output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Robin Appelman
0e5944748d
add dashboard api to list widgets
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 18:05:52 +02:00
Vincent Petry
ca747b91d4
Merge pull request #34048 from nextcloud/feat/add-nodeFilter-to-user_migration
Add a nodeFilter parameter for IExportDestination::copyFolder
2022-09-15 17:26:02 +02:00
Robin Appelman
d8961ed10f
fix using FSEEK_END with SeekableHttpStream to get file size
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-15 17:23:16 +02:00
Côme Chilliet
1013c3bf66
Merge pull request #34009 from andrey-utkin/safe-config-update
Make config file saving safe against write failures
2022-09-15 15:00:40 +02:00
Maxence Lange
b9ccc60837 fix phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-09-15 10:54:36 -01:00
Maxence Lange
381eb046b5
Merge pull request #33793 from nextcloud/fix/noid/rtrim-cloud-id
rtrim cloudId url earlier
2022-09-15 10:46:39 -01:00
Joas Schilling
df57b51c8b
Fix psalm parameter type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:28:40 +02:00
Maxence Lange
0efd6d9950 set defaultEnabled in shipped.json
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-09-15 08:15:33 -01:00
Nextcloud bot
fde8c081d8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-15 02:31:48 +00:00
Vincent Petry
da01494a37
Add accessibility entry in user menu
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 15:05:35 +02:00
Robin Appelman
1fbb951691
dont try email login if the provider username is not a valid email
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-09-14 14:04:13 +02:00
Carl Schwan
7ea015f0d1
Merge pull request #34042 from nextcloud/profile/section-plugin
Add api to load additional section in profile page
2022-09-14 13:35:31 +02:00
Carl Schwan
66a7a89898 Add api to load additional section in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Côme Chilliet
441ac433b1
Add a nodeFilter parameter for IExportDestination::copyFolder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-13 12:10:28 +02:00
Nextcloud bot
fc7cc49461
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-13 02:27:19 +00:00
Vincent Petry
4e5430c81c
Merge pull request #34019 from nextcloud/fix/quota-type
Fix quota type to int
2022-09-12 15:15:31 +02:00
Côme Chilliet
1f7e769ed6
Merge pull request #33921 from nextcloud/fix/fix-config-file-emptied
Do not empty config.php file if reading failed for any reason
2022-09-12 09:43:33 +02:00
Git'Fellow
5300f0d693
Switch logical operators (and|or)
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2022-09-12 09:35:12 +02:00
Carl Schwan
d61efdff6c
Fix quota type to int
Change the quota to int from float, since the quota is a number of bits
and a bits can not be splitted.

Fix #34010

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 09:26:04 +02:00
Nextcloud bot
a42976f3db
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-10 02:30:26 +00:00
Andriy Utkin
807c53b2ab Make config file saving safe against write failures
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>
2022-09-09 21:46:12 +01:00
Carl Schwan
bc9a488046
Update avatars on update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 14:23:41 +02:00