Commit graph

510 commits

Author SHA1 Message Date
Arthur Schiwon
95af299cf5
Merge pull request #46398 from nextcloud/fix/46165/token-race
fix(Session): avoid race conditions on clustered setups
2024-07-11 09:24:24 +02:00
Arthur Schiwon
6a783d9b08
fix(Session): avoid race conditions on clustered setups
- re-stablishes old behaviour with cache to return null instead of throwing
  an InvalidTokenException when the token is cached as non-existing
- token invalidation and re-generation are bundled in a DB transaction now

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-10 13:28:33 +02:00
Ferdinand Thiessen
46f1efac41
feat: Add IFilenameValidator to have one consistent place for filename validation
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 15:04:34 +02:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +02:00
Robin Appelman
8fca20dc59
fix: register DI alias for IFileAccess
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-22 17:13:29 +02:00
Ferdinand Thiessen
538a04968a
fix(tests): Adjust theming test for new splitted background and primary colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:26 +02:00
Ferdinand Thiessen
482395ba2f
fix(theming): Also reset background color settings when updating global background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-05-21 20:36:21 +02:00
Marcel Klehr
4b954d2227 fix: Wire-up the new classes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-05-14 11:38:40 +02:00
Côme Chilliet
ac1d868d18
fix: Lazy load IURLGenerator from AppManager to avoid installation crash
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 15:50:06 +02:00
Côme Chilliet
733a818139
fix: Migrate a few more classes away from OC_App::getAppPath
Also fixed AppTest

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:19:01 +02:00
Côme Chilliet
0e7bac72ae
fix: Make sure that AppManager can be built before Nextcloud is installed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:17:31 +02:00
John Molakvoæ
27886aa184
Merge pull request #40125 from summersab/refactor/OC-Server-getThemingDefaults 2024-03-15 17:03:30 +01:00
John Molakvoæ
bbb7955cad
Merge branch 'master' into refactor/OC-Server-getThemingDefaults 2024-03-15 13:12:32 +01:00
Andrew Summers
cd585885b8 Refactor OC\Server::getLockdownManager
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-03-15 13:05:05 +01:00
jld3103
4ac2375ca2
feat: Add declarative settings
Signed-off-by: jld3103 <jld3103yt@gmail.com>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-03-12 13:56:54 +02:00
Maxence Lange
0a79884abf feat(appconfig): switching integrity check to lazy config values
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-11 10:59:43 -01:00
Maxence Lange
467c84ec53 feat(files): copy live photos
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-08 13:09:22 -01:00
Ferdinand Thiessen
876e2d6198
feat(AppManager): Provide getAppIcon function
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-07 22:40:31 +01:00
Robin Appelman
339702e376 refactor: make share manager buildable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-06 14:33:51 +01:00
Robin Appelman
fd4ca13867
Merge pull request #43471 from nextcloud/cache-path-by-id
Cache path by id
2024-03-05 17:26:25 +01:00
Julius Härtl
c7813bfdaf
feat: Implement team provider api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-05 08:13:58 +01:00
Robin Appelman
a9ee278ec6 perf: cache path by id to speedup getting nodes by id
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-04 13:57:31 +01:00
Benjamin Gaussorgues
3f269782aa
Merge pull request #43428 from nextcloud/feat/share-expiration-with-time 2024-02-26 10:07:41 +01:00
John Molakvoæ
09b1f049bd
Merge pull request #40135 from summersab/refactor/OC-Server-getEventLogger 2024-02-23 21:38:07 +01:00
Andrew Summers
e69ca0632a Refactor OC\Server::getEventLogger
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-02-23 15:49:01 +01:00
John Molakvoæ
b5357f7d12
Merge branch 'master' into refactor/OC-Server-getThemingDefaults
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-02-23 15:47:17 +01:00
Andrew Summers
55eb6048fa Refactor OC\Server::getTrustedDomainHelper
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2024-02-23 15:45:40 +01:00
Benjamin Gaussorgues
01983d50d4
feat(share): save date and time for expiration
Because of timezones, not saving time can lead to unexpected behaviour
when sharing an item sooner than timezone offset
Example: sharing a file before 9am when in UTC+9

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-02-22 11:26:01 +01:00
Vincent Petry
839ddaa354
feat: rename users to account or person
Replace translated text in most locations

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2024-02-13 21:06:30 +01:00
Côme Chilliet
cf6a0e0833
chore: Deprecate OC_App::loadApps and add missing return type in Server
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-08 14:34:01 +01:00
Côme Chilliet
d97567a7fd chore: Add references to phpdoc deprecation notice for IL10N
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-02-05 11:16:04 +01:00
Côme Chilliet
961ccee5f6 Make it clear in the deprecation comment that DI is preferred
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +01:00
Côme Chilliet
1332078be1 Use OCP\Util::getL10N instead of OC::$server->getL10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-05 11:16:04 +01:00
Côme Chilliet
ceff16bbf9
chore: Fix DI for integrity checker before installation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:31:05 +01:00
Maxence Lange
4367a5e633
blurhash generation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-05 11:50:51 +01:00
Daniel
b9b0ca6dea
Merge pull request #41998 from nextcloud/enh/read-replica 2023-12-27 21:57:30 +01:00
Robin Appelman
7394645eb7 restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +01:00
Julius Härtl
79c4986354
enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-16 20:27:37 +01:00
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Richard Steinmetz
909b46bb53
fix(ocp): register IAvailabilityCoordinator service alias
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-15 13:32:36 +01:00
Louis Chemineau
d3a313f192
Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Maxence Lange
e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Joas Schilling
2b7f78fc2e
Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
2023-10-26 15:53:30 +02:00
Joas Schilling
2353d3cd5c
feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Côme Chilliet
efa2dfa641
Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Marcel Klehr
3d11ab7af8 fix(TextToImage): Add autoloader changes and registerAlias
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +02:00
Joas Schilling
b246d51cbc
fix(OCM): Make the OCM provider stateful so apps can add resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +02:00
Joas Schilling
5092278b0f
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +02:00
Joas Schilling
3b6a9cd236
Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +02:00
Côme Chilliet
ff9de2efb6
Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
Migrate applications away from deprecated ILogger
2023-09-21 15:12:31 +02:00