Commit graph

1508 commits

Author SHA1 Message Date
Côme Chilliet
be80943686
chore: Update baseline after rector refactoring
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:47:38 +02:00
Côme Chilliet
4ff9b3e0ce
feat(rector): Skip classes with a name too common from auto use statement
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:21 +02:00
Côme Chilliet
28153443a5
chore(rector): Add rule to import Nextcloud classes in all files
We skip all files outside of OC/OCA/OCP from "use" auto-import because
 it’s not always desirable to import classes when they have generic
 names, so it should be the developer choice.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:05 +02:00
Ferdinand Thiessen
262ed0ffeb
Merge pull request #48650 from nextcloud/fix/shipped-app-version
fix: Shipped apps should include the Nextcloud version in the cache buster
2024-10-14 17:22:24 +02:00
Ferdinand Thiessen
980ab1f56b
fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 16:04:13 +02:00
Joas Schilling
07449847e1
fix(appmanager): Fix tainted file path when loading appinfos
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-14 14:33:19 +02:00
Ferdinand Thiessen
bbc5d32c8e
fix(dav): Public WebDAV endpoint should allow GET requests
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 17:10:52 +02:00
Joas Schilling
c0ffe39421
ci: Update psalm-baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:26 +02:00
Joas Schilling
570a9e208f
ci: Add psalm baseline for security and make CI fail on change
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-01 00:11:07 +02:00
Daniel
99d507c259
Merge pull request #48455 from nextcloud/update-phpdoc-for-folder-get
update docs for Folder.get and call for Folder.nodeExists
2024-09-30 23:02:53 +02:00
Daniel Kesselberg
3db20c8b00 docs: Folder.get throws a NotPermittedException exception
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-30 19:00:36 +02:00
Hamza Mahjoubi
9be2f060f9 fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-30 17:19:32 +02:00
provokateurin
3a865813d4
fix(psalm): Update baseline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-30 12:47:26 +02:00
Ferdinand Thiessen
0f6760c810
feat(files): Make the files download action use WebDAV zip download
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:29 +02:00
Ferdinand Thiessen
d66e16b07e
feat(dav): New ZipFolderPlugin which allows to download folders using GET requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:23 +02:00
Joas Schilling
234c44a77e
fix(l10n): Fix list of RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-27 12:50:30 +02:00
provokateurin
227609a954
fix(IStorage): Use false instead of bool intersection type to match implementations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 18:13:03 +02:00
provokateurin
7cdccd058f
fix(Storage): Fix IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 18:13:03 +02:00
nextcloud-command
06b0608c61 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:55 +00:00
Joas Schilling
242f89afb3
ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 16:59:51 +02:00
Côme Chilliet
8927510685
Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
2024-09-23 15:10:30 +02:00
Côme Chilliet
98efa3bda8
chore(rector): Move rector.php into the build folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 11:58:27 +02:00
Ferdinand Thiessen
3119108654
chore(files): Remove legacy UI scripts now that everything is migrated to Vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:39 +02:00
provokateurin
5df5a979ef
fix(psalm): Update psalm baseline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 17:04:21 +02:00
provokateurin
9836e9b164
chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
nextcloud-command
bfb0160950 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-19 02:32:53 +00:00
John Molakvoæ (skjnldsv)
b24e02e5df
fix(core): profile design and pronouns support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-18 00:15:19 +02:00
John Molakvoæ (skjnldsv)
26abc86eca
feat: add profile pronouns
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 22:20:36 +02:00
nextcloud-command
f6c2ae298b chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-17 02:18:56 +00:00
John Molakvoæ
f5512ca062
Merge pull request #47792 from nextcloud/chore/use-public-api-helper 2024-09-16 11:20:58 +02:00
nextcloud-command
edb9a0360e chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:37:08 +00:00
nextcloud-command
5ec41c0988 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:37:53 +00:00
nextcloud-command
a194aa543b chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-14 02:36:49 +00:00
nextcloud-command
ce5fd09e75 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-13 02:32:35 +00:00
John Molakvoæ
2b5dd11d97
Merge pull request #47339 from nextcloud/fix/leave-share-instead-of-delete
fix: Display 'Leave share' instead of 'Delete'
2024-09-11 13:42:15 +02:00
skjnldsv
bb37954abb fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 13:17:42 +02:00
nextcloud-command
c1d1fe918d chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-10 02:35:13 +00:00
Ferdinand Thiessen
1d16bc47ff
fix(files_sharing): Handle download permission the same way for public and internal shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen
ede38709b5
chore(files): Use public API where possible
This is not fixing all issues in the helper,
but at least where possible use the public methods.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-05 23:00:27 +02:00
Anna Larch
8af7ecb257 chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +02:00
Louis Chemineau
9992e7d439
fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 16:17:32 +02:00
John Molakvoæ
f1706df367
Merge pull request #46859 from nextcloud/fix-status-check-and-saving-of-external-storages 2024-09-04 11:33:30 +02:00
Daniel Calviño Sánchez
bd4de5208d fix: Fix unmodified placeholder replacing the actual value when updating
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez
8350aef723 test: Add integration tests for saving external userglobal storages
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
nextcloud-command
a30d9a7926 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-04 02:29:30 +00:00
Joas Schilling
6cfa388e34
Merge pull request #47596 from nextcloud/fix/test/provisioning-enabled-apps
fix(test): Fix provisioning enabled apps
2024-08-29 11:16:24 +02:00
Ferdinand Thiessen
faeb2f0f43 chore: Add stylelint rules to verify we only use logical properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 08:35:06 +00:00
provokateurin
54e6103d31
fix(test): Fix provisioning enabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 09:43:03 +02:00
Ferdinand Thiessen
e0b81410f4
chore: Add vitest.config.ts as expected and remove Jest config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Daniel Kesselberg
dd165cf53a
chore: add .git-blame-ignore-revs as expected file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:35:40 +02:00