Commit Graph

64028 Commits

Author SHA1 Message Date
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
blizzz
ef9736160b
Merge pull request #34002 from nextcloud/release/25.0.0_beta_6
25.0.0 beta 6
2022-09-09 16:59:07 +02:00
Andy Scherzinger
ae1ffee2d3
Merge pull request #34000 from nextcloud/change-default-login-background
Change default login background to cloud image
2022-09-09 16:56:10 +02:00
Carl Schwan
91042226c6
Change default login background to cloud image
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 16:23:54 +02:00
Arthur Schiwon
6bedf4d314
25.0.0 beta 6
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-09-09 16:23:38 +02:00
Carl Schwan
71d0ea84c3
Merge pull request #33998 from nextcloud/update-nc-7-beta2
Bump nc vue to beta2
2022-09-09 16:02:28 +02:00
Carl Schwan
3431e63c12
Bump nc vue to beta2
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 15:17:03 +02:00
Carl Schwan
4a82396be8
Merge pull request #33752 from nextcloud/avatar-new-style
Avatar new style
2022-09-09 15:01:35 +02: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
f3ec1d3a9f
Fix user status in the top bar with dark theme
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-09 13:37:52 +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
blizzz
76f42e121b
Merge pull request #33958 from nextcloud/enh/33860/fix-versions-visibility
fix versions icons
2022-09-09 13:25:11 +02:00
Simon L
99c85311ab
Merge pull request #33956 from nextcloud/enh/33857/fix-files_external-settings
fix files_external settings
2022-09-09 12:44:17 +02:00
Simon L
fec5bcc426
Merge pull request #33957 from nextcloud/enh/33855/overlapping-toggle
fix overlapping of elements in certain views
2022-09-09 12:43:48 +02:00
szaimen
0e57fb54e5 fix versions icons
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 09:02:12 +00:00
szaimen
7801550d33 fix files_external settings
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 08:44:08 +00:00
szaimen
0341a371ac fix overlapping of elements in certain views
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-09 08:38:40 +00:00
Simon L
aa53dedb36
Merge pull request #33954 from nextcloud/enh/33868/dashboard-scrollbar
dashboard should not have a scrollbar by default
2022-09-09 08:50:51 +02:00
Carl Schwan
0148ec3828
Merge pull request #33967 from nextcloud/fix/contactsmenu-design
Fix contactsmenu design
2022-09-09 08:44:04 +02:00
Carl Schwan
984d5ee7cb
Merge pull request #33974 from nextcloud/fix/search-menu
Fix UnifiedSearch
2022-09-09 08:43:09 +02:00
Nextcloud bot
f8796b86d1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-09 02:26:29 +00:00
Carl Schwan
9900a028be
Merge pull request #33942 from nextcloud/background-job-notecart
Use NoteCard component in BackgroundJob settings
2022-09-08 19:30:42 +02:00
Simon L
70c3bf1667
Merge pull request #33948 from nextcloud/enh/33801/fix-input-filename
fix filename input
2022-09-08 19:07:14 +02:00
Simon L
7ef6cfc988
Merge pull request #33962 from nextcloud/enh/33864/fix-2FA-icons
fix 2FA icons
2022-09-08 19:06:03 +02:00
Carl Schwan
af30e7ff5b
Port css to scss
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:24:38 +02:00
Jan C. Borchardt
43616a7b1f
Remove separation borders from contacts menu entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +02:00
Jan C. Borchardt
b0392f4a5c
Contacts menu height adjustment so it shows 4.5 entries
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:29 +02:00
Jan C. Borchardt
1ade91a551
Contacts menu mail addresses in maxcontrast
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2022-09-08 18:24:28 +02:00
Carl Schwan
9e045447f7
Fix UnifiedSearch
- Fix too big margins
- Fix horizontal scrolbar (caused by margin in text field)
- Add some spacing between the items (4px)
- Center items (I love flex)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:07:09 +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
szaimen
f0f8a22b23 fix filename input
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 14:07:22 +00:00
szaimen
055a62857f fix 2FA icons
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 14:05:49 +00:00
Simon L
92258567d4
Merge pull request #33959 from nextcloud/enh/33909/filmenu-carrot
fix the new filemenu carrot
2022-09-08 15:09:41 +02:00
Carl Schwan
0b77607362
Use NoteCard component in BackgroundJob settings
Fix #33880

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 14:13:42 +02:00
Carl Schwan
58706dd5aa
Merge pull request #33937 from nextcloud/fix/menuitem-radius
Fix menuitem border radius
2022-09-08 14:02:37 +02:00
Carl Schwan
6404e5b4ae
Merge pull request #33939 from nextcloud/fix/apps-list-redesign
Fix apps list issues caused by redesign
2022-09-08 14:01:57 +02:00
blizzz
e7e2dcbfb1
Merge pull request #33913 from nextcloud/release/25.0.0_beta_5
25.0.0 beta 5
2022-09-08 13:46:54 +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
szaimen
911290607d fix the new filemenu carrot
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-08 11:53:10 +02:00
Carl Schwan
5555500e98
Merge pull request #33953 from VincentWoglo/read-me-documentation
Fixed grammar and typos
2022-09-08 11:22:25 +02:00
Carl Schwan
3fa59ba412
Fix apps list issues caused by redesign
- Make icons work on dark theme
- Use new buttons
- Fix some eslint warnings

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:49:17 +02:00
Carl Schwan
ebd96490a5
Fix menuitem border radius
Fix #33909

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 10:25:20 +02:00
Simon L
2a2cb01696
Merge pull request #33952 from nextcloud/enh/33850/scrollbar-visibility
fix scrollbar visiblity
2022-09-08 10:18:58 +02:00
Carl Schwan
b9a50388e4
Merge pull request #33946 from nextcloud/fix/dark-theme-browser
Remove non existing lighter colour
2022-09-08 10:13:18 +02:00
szaimen
079d444f53 dashboard should not have a scrollbar by default
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-08 07:54:22 +00:00
Nextcloud bot
107aeb36e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-09-08 02:26:07 +00:00
Vincent Woglo
e093ed5629 Fixed grammar and typos 2022-09-07 19:31:49 -06:00
Anna Larch
e3a52ce13e Fix iMIP tests
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-09-08 02:26:46 +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