Côme Chilliet
12524d93f4
Merge pull request #53417 from nextcloud/fix/fix-32bits-phpunit
...
fix(tests): Fix 32bits PHPUnit tests
2025-06-19 10:38:32 +02:00
Ferdinand Thiessen
35a27b5fd5
fix(FilenameValidator): use _ as default replacement for invalid chars
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-18 09:44:57 +02:00
Salvatore Martire
2465e034b8
style(occ): clean up SettingTest class
...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-17 12:33:03 +02:00
Salvatore Martire
e5b34e5392
feat: allow reading profile properties from occ
...
This change adds support for reading profile information through the occ
command, and updates the corresponding test.
Signed-off-by: Salvatore Martire <4652631+klarkent@users.noreply.github.com>
2025-06-17 12:33:03 +02:00
Ferdinand Thiessen
ad838b21a1
test: adjust karma global state mock
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-16 15:55:12 +02:00
Robin Appelman
3561937816
chore: run rector on tests with new rule
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 18:38:29 +02:00
Robin Appelman
29e39c0a2e
chore: run rector on tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-12 18:31:58 +02:00
Daniel
e1fcd6ccfb
Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpeg
...
fix: unblock ffmpeg on some broken videos
2025-06-10 22:22:04 +02:00
Kate
1474fa3407
Merge pull request #52743 from nextcloud/bug/noid/expires-date-format
2025-06-10 14:25:05 +02:00
Daniel Kesselberg
df9a275c89
test: addd test for hideFromCollaboration
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-10 13:55:53 +02:00
Daniel Kesselberg
be587def0e
fix: use correct format for expires, last-modified, and if-modified-since headers
...
Before: Sat, 10 May 2025 18:17:41 +0000
After: Sat, 10 May 2025 18:17:41 GMT
RFC: https://httpwg.org/specs/rfc9110.html#http.date
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-10 13:15:31 +02:00
Côme Chilliet
aa906391f6
fix(tests): Simplify error handling in tests/enable_all.php
...
Simply let the Exception bubble up instead of caching it and using grep
to then detect it.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-10 12:05:12 +02:00
Côme Chilliet
143bcf95ef
fix(tests): Enable more PHP modules in phpunit-32bits
...
Also add output when enabling applications, and watch phpunit
configuration file for changes.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-10 11:49:07 +02:00
Côme Chilliet
231916d403
Merge pull request #52538 from nextcloud/feat/use-php84-lazy-objects
...
Use PHP 8.4 lazy ghosts for Dependency injection
2025-06-10 10:45:12 +02:00
Ferdinand Thiessen
96d423c8d3
chore: update openAPI files
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-09 19:24:26 +02:00
Joas Schilling
a425a1affc
test: Add a hint message on boolean comparison
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:33 +02:00
Joas Schilling
ebee539902
ci: Migrate PHPUnit configs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:31 +02:00
Joas Schilling
86857f2c12
test: Load all apps locally as well
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:30 +02:00
Joas Schilling
be0fbacfdf
test: Enable all default apps
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:29 +02:00
Joas Schilling
b9984cb3ef
test: Remove tests/apps.php which is no longer supported
...
PHPUnit 10 says:
> Class apps cannot be found in …/server/tests/apps.php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:29 +02:00
Joas Schilling
6157bf9276
test: Remove suffix to reduce warnings about not extending TestCase
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:28 +02:00
Côme Chilliet
a10182f6fb
fix(tests): Force lazy ghost initialisation in container tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:23 +02:00
Côme Chilliet
89f51a8f4e
chore(tests): Add test for AppConfig::getAppInstalledVersions
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:55 +02:00
Côme Chilliet
a2fdeccc31
chore(tests): Adapt AppManager test to the use of searchValues
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +02:00
Ferdinand Thiessen
db7b0ae154
test: cleanup karma (jsunit) tests and move files_external to Cypress
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-02 18:09:31 +02:00
Ferdinand Thiessen
bbfd281ac5
Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloader
...
fix: Remove useless legacy autoloader
2025-06-02 16:14:25 +02:00
Louis
f4cb78b905
Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3
2025-06-02 11:55:54 +02:00
Joas Schilling
89a7778f87
test: Mock ITaskManager to remove test interactions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-29 12:20:20 +02:00
Andrey Borysenko
7994332338
feat: add support for sensitive Declarative settings values encryption
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-05-28 20:43:04 +03:00
Robin Appelman
be3cfefc75
Merge pull request #52816 from nextcloud/primary-object-store-settings
...
feat: move primary object store configuration to a single place
2025-05-28 17:40:53 +02:00
Robin Appelman
e21ce793a5
test: add test that object store folder copy preserves folder size
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-28 15:52:00 +02:00
Robin Appelman
7599162c7b
feat: move primary object store configuration to a single place
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-28 15:32:31 +02:00
Ferdinand Thiessen
9422b6d6d0
test: adjust library tests for PHPunit deprecations
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-28 11:20:15 +02:00
Côme Chilliet
7c251e4f96
fix: Remove useless legacy autoloader
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-27 18:06:28 +02:00
Côme Chilliet
9560e00cf3
chore: Remove useless legacy autoloader for tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-27 16:15:58 +02:00
Ferdinand Thiessen
e143921896
feat(IUser): add getQuotaBytes method to get machine readable quota
...
Proper replacement for deprecated `OC_Util::getUserQuota`.
Also we still use this in some cases we can now replace, moreover it
just makes sense to have a machine readable format in the API instead of
only the human readable format which is less precise.
Alings also with `getQuota` of the quota storage, which already returned
the machine readable format.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-22 12:50:38 +02:00
Joas Schilling
0d79156bb2
test: Speed up comments test
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-21 07:53:23 +02:00
Arthur Schiwon
bdc68989d5
fix: unbloc ffmpeg on some broken videos
...
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-20 22:12:13 +02:00
Kate
06ce2ccebe
Merge pull request #50157 from nextcloud/feat/mountmanager/emit-events
2025-05-19 17:47:31 +02:00
provokateurin
6818aa9b12
feat(UserMountCache): Emit events for added, removed and updated mounts
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-19 13:54:51 +02:00
Côme Chilliet
4574710c11
chore: Add an autoload.php file for tests relying on core class
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-19 11:30:37 +02:00
Kate
6b4f5c567c
Merge pull request #52848 from nextcloud/fix/cleanup-servercontainer
2025-05-19 07:02:11 +02:00
Ferdinand Thiessen
494a079321
test: replace OC_Helper:rmdirr with OCP\Files::rmdirr
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 23:09:37 +02:00
Ferdinand Thiessen
3868d62a8f
test: move legacy tests to non-depecated class tests
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 23:09:14 +02:00
Côme Chilliet
70ef0a8db7
fix: Remove calls to legacy callers in tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 11:47:38 +02:00
Côme Chilliet
0243d23b8c
fix(tests): Remove calls to removed getMountProviderCollection from tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:49:03 +02:00
John Molakvoæ (skjnldsv)
62a9ec2067
fix(core): remove untranslated mime names
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-15 15:07:08 +00:00
John Molakvoæ (skjnldsv)
ada985e651
chore: update mimetypenames
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-15 15:07:08 +00:00
Ferdinand Thiessen
e4ed062d68
fix(RouteParser): bail out if method name contains hashtag
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 13:57:14 +02:00
provokateurin
63ba61487b
chore(AppFramework): Remove unused RouteConfig class and migrate tests to RouteParser
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 13:57:14 +02:00