Commit graph

28023 commits

Author SHA1 Message Date
Thomas Citharel
79adeb8b08
feat(dav): Directly access shared calendars by URI
Each time we access a shared calendar details (with getChild), this loads every user's calendars and iterates until the correct one is found.
Now we lookup from the shared calendars which ones has the correct URI, just iterating on the possible shares (for instance a calendar can be shared directly through user-to-user share or through user-to-group share).

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-02-13 09:27:29 +01:00
Julius Härtl
8f0849a317
Merge pull request #36568 from nextcloud/perf/flow-events
perf(workflowengine): Cache query that is performed on every request
2023-02-13 08:01:18 +01:00
Nextcloud bot
c3d00095c0
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 02:25:07 +00:00
Simon L
5912e8378b
Merge pull request #36673 from nextcloud/rakekniven-patch-1
l10n: Fixed grammar
2023-02-12 11:20:58 +01:00
Nextcloud bot
4774637b5f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 02:25:57 +00:00
rakekniven
9d10607551
l10n: Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-02-11 21:54:06 +01:00
Pytal
b59b8fd808
Merge pull request #36232 from nextcloud/enh/a11y-user-menu
Port user menu to Vue
2023-02-10 19:22:45 -08:00
Nextcloud bot
fd2d91a77d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 02:26:15 +00:00
Julius Härtl
aebf654214
perf(workflowengine): Cache query that is performed on every request
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-10 14:33:07 +01:00
Julius Härtl
e0946a1608
Merge pull request #36608 from nextcloud/storageinfo-no-explicit-setup 2023-02-10 12:18:39 +01:00
Nextcloud bot
524db1c6dc
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-10 02:26:36 +00:00
Christopher Ng
c77998209f Port user menu to Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-09 17:54:59 -08:00
Julius Härtl
6d77a53dfd
Merge pull request #36469 from nextcloud/perf/autoloading/files-external-authoritative-autoloader 2023-02-09 20:49:23 +01:00
Christoph Wurst
a208cdebe0 perf(autoloading): Add authoritative autoloader for files_external
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-09 15:04:10 +00:00
Christoph Wurst
b5f7afd0fb
fix(caldav): Fix reminder timezone drift for all-day events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-02-09 15:19:00 +01:00
Julius Härtl
7b413a41eb
perf(dav): Do not call general setupFS on ever dav auth
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-02-09 10:19:37 +01:00
Nextcloud bot
c10317f7f9
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-09 02:25:43 +00:00
Robin Appelman
4532e52787 remove explicit setup when getting storage info
the implicit setup gets enough data without having to do a full setup.

Saves having to do a full fs setup for the files webui template

Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-02-08 13:47:55 +01:00
Louis Chemineau
47f406bda7 Prevent scrolling hover .files-controls
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-08 10:51:16 +01:00
Christoph Wurst
ee05e01cf4
Merge pull request #29010 from mattian/fix/19218/birthday-leap-day
dav: fix birthday calendar event generation for leap days
2023-02-08 08:55:22 +01:00
Nextcloud bot
1c7374ac58
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-08 02:25:16 +00:00
Pytal
b765a22705
Merge pull request #36570 from nextcloud/enh/a11y-profile-visibility-select
Port profile visibility select
2023-02-07 15:00:18 -08:00
Joas Schilling
80071bd8b9
fix(sharing): Remove casting to int from INF
Regression from nextcloud/server#35736
INF is a the float INF, casting it to integer will make it 0

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-07 14:13:39 +01:00
Côme Chilliet
308fcf4526
Respect OCP interface in private classes
Because the parameter type was moved to phpdoc it needs to be removed
 from implementations

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +01:00
Côme Chilliet
c4d90f3e81
Removed catch of ValueError as we cannot know if it’s >2038 or <1970
Also fixed numericToString to correctly convert float to int if it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:35 +01:00
Côme Chilliet
1765908c03
Document that size may be a float in new class VersionEntity
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet
476d5dceb2
Skip tests that cannot succeed on 32bits
For some reason a timestamp in the past also triggers the PHP error
 about not being able to represent it as an int, so skipping that test
 on 32bits.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:34 +01:00
Côme Chilliet
892e6c642a
Skip buggy tests for 32bits CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet
885e54e7e0
Psalm easy fixes in apps/files/appinfo/routes.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet
1994554b44
Fix Sabre connector test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:33 +01:00
Côme Chilliet
028c225d96
Fix psalm errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet
db80ac02b0
Fix name of skip method for phpunit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet
d315bce300
Improve behavior with dates on 32bits and fix tests or skip them
We do not support events after 2038 on 32bits but still behave better
 when date range start/end is after 2038.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:32 +01:00
Côme Chilliet
110fc79918
Silence errors of return type mismatch from Sabre for now
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet
cd885b5705
Type sizes as int|float throughout the code base
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet
5c1a0e0307
Allow float sizes in FileInfo for 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:31 +01:00
Côme Chilliet
0753be3ff2
Fix a few tests that were using too big int values for 32bits
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:30 +01:00
Côme Chilliet
ff776a90b1
Strong type filesize related methods to ease 32bits problem findings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-02-07 11:23:28 +01:00
Côme Chilliet
17ed023be2
Merge pull request #36314 from nextcloud/sso-kerberos-fix
Update kerberos sso test setup to use new user_saml config system
2023-02-07 11:16:08 +01:00
Nextcloud bot
24ebc19e10
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-07 02:26:01 +00:00
Christopher Ng
4b867bb7bb Port profile visibility select
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-02-06 17:34:12 -08:00
Joas Schilling
fa1d50ccce
Merge pull request #36267 from nextcloud/bugfix/noid/dont-reuse-query-builder
Don't reuse query builder object with populated parameters in FederatedShareProvider
2023-02-06 21:14:31 +01:00
Mattia Narducci
b55c62c6c2 dav: fix birthday calendar event generation for leap days
Fix generation of birthday calendar events for the 29th of February.

A recurring event for the 29th of February in the (default) Gregorian
calendar system would only generate instances in leap years. Fix this
behaviour by generating recurring events for the last day of February,
the 29th on leap years and the 28th otherwise.

Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
2023-02-06 19:11:46 +01:00
Christoph Wurst
3473b69ad2
Merge pull request #36509 from nextcloud/fix/user-management/delete-user-hidden-group
fix(user-management): Fix deleting user in hidden group(s)
2023-02-06 10:52:37 +01:00
Nextcloud bot
87b53dfed3
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-06 02:24:44 +00:00
Nextcloud bot
2ddd7f52bf
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-05 02:25:05 +00:00
Nextcloud bot
1f26731c1d
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-04 02:25:17 +00:00
Vincent Petry
1fed799826
Merge pull request #36452 from nextcloud/perf/share-availability-check
perf(federation): Only request root share info for checking availability
2023-02-03 13:34:35 +01:00
Joas Schilling
7cff390b56
Merge pull request #36508 from nextcloud/enh/allow-no-route
Allow settings navigation items with no route entry
2023-02-03 12:53:59 +01:00
Simon L
a579b36113
Merge pull request #36409 from nextcloud/enh/noid/dont-automatically-open-sidebar-on-mobile
Do not open the sidebar automatically on small widths
2023-02-03 10:08:29 +01:00