blizzz
f6f0195a3f
Merge pull request #34306 from nextcloud/fix/noid/step-file-not-moved
...
fix default value for updatedirectory setting
2022-09-28 15:51:37 +02:00
Vincent Petry
20b75480d0
Merge pull request #34152 from nextcloud/bugfix/noid/db-password-install
...
Do not store generated mysql password if it was not used
2022-09-28 15:09:03 +02:00
Arthur Schiwon
e9e6f5fe84
fix default value for updatedirectory setting
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-28 14:39:12 +02:00
Carl Schwan
de23ff38ff
Move avatar clearing in the background
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-26 15:26:31 +00:00
Julius Härtl
f69151e626
Move Reference class to public namespace
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-26 10:04:28 +02:00
Vincent Petry
c2bd4f39c1
Make phpcs happy and remove unused setup thing
...
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-23 15:07:28 +02:00
Arthur Schiwon
a133a8a9d7
remove getDefaultInstallationBundle
...
- because all apps are shipped now it was returning an empty result
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 15:11:39 +02:00
Arthur Schiwon
a7af25e1d9
remove InstallCoreBundle repair step
...
- core bundle was empty and thus removed
- all former apps installed this way are shipped
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 13:24:06 +02:00
Arthur Schiwon
759eaee5ed
remove Core Bundle
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-22 13:20:37 +02:00
Vincent Petry
2f15e83d7b
Merge pull request #34160 from nextcloud/fix/detect-weird-local-ips
...
Detect weird local ips
2022-09-22 11:38:12 +02: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
Côme Chilliet
31117fa7c7
Fix tests for nested v4 in v6
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:46:22 +02:00
Côme Chilliet
7ac688a2e5
Use new dependency to normalize IPs
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:34:04 +02:00
Côme Chilliet
a907b74c2a
Add missing urldecode and idn_to_utf8 calls to local address checker
...
The call to idn_to_utf8 call is actually to apply normalization
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-20 12:20:35 +02:00
Julius Härtl
b427ccd065
Do not store generated mysql password if it was not used
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-20 08:39:25 +02: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
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
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
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
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
381eb046b5
Merge pull request #33793 from nextcloud/fix/noid/rtrim-cloud-id
...
rtrim cloudId url earlier
2022-09-15 10:46:39 -01: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
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
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
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
Carl Schwan
76d0165330
Dark theme for guest avatar
...
And better caching policy
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:51 +02:00
Carl Schwan
f98ae2b5b0
Avatar new style
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:51 +02:00
Carl Schwan
eac54c4660
Merge pull request #33788 from nextcloud/improve-recent
...
Improve getting recent files performance
2022-09-08 16:19:41 +02:00
blizzz
c77cc80fcc
Merge pull request #33906 from nextcloud/fix/fix-calendar-tests-getTimestamp
...
Fix Calendar tests mocking a non-existant method.
2022-09-08 12:42:03 +02:00
Anna Larch
f7d73b0fc1
Fix various errors in iMIP logic
...
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-08 02:26:10 +02:00
blizzz
417f46e467
Merge pull request #33600 from nextcloud/lazy-quota
...
get quota for user only when needed
2022-09-07 18:10:33 +02:00
Côme Chilliet
c2dafb0997
Do not empty config.php file if reading failed for any reason
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-09-06 17:37:34 +02:00
Louis
1f967175f3
Merge pull request #33813 from nextcloud/fix/infinite_email_change_notification
...
Compare lowercase email when updating from ldap
2022-09-06 17:10:08 +02:00
Carl Schwan
ff49fa4415
Merge pull request #29881 from nextcloud/fix/setting/accessibility-title
...
Improve accessibility of the title of the settings
2022-09-06 16:56:14 +02:00