]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
17 months agoMerge pull request #38988 from nextcloud/fix/data-apps-slide-toggle
Simon L [Sun, 25 Jun 2023 14:16:13 +0000 (16:16 +0200)]
Merge pull request #38988 from nextcloud/fix/data-apps-slide-toggle

fix: restore AppsSlideToggle feature

17 months agofix: restore AppsSlideToggle feature 38988/head
John Molakvoæ [Sun, 25 Jun 2023 09:46:53 +0000 (11:46 +0200)]
fix: restore AppsSlideToggle feature

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #38665 from nextcloud/fix/weather_status-osm-api
Ferdinand Thiessen [Sun, 25 Jun 2023 12:14:11 +0000 (14:14 +0200)]
Merge pull request #38665 from nextcloud/fix/weather_status-osm-api

fix(weather_status): Pass address as param to OSM API

17 months agoMerge pull request #38986 from fsamapoor/refactor_lib_private_contacts
John Molakvoæ [Sun, 25 Jun 2023 10:42:18 +0000 (12:42 +0200)]
Merge pull request #38986 from fsamapoor/refactor_lib_private_contacts

17 months agoMerge pull request #38869 from nextcloud/automated/noid/master-fix-npm-audit
John Molakvoæ [Sun, 25 Jun 2023 10:20:54 +0000 (12:20 +0200)]
Merge pull request #38869 from nextcloud/automated/noid/master-fix-npm-audit

17 months agoRefactors lib/private/Contacts. 38986/head
Faraz Samapoor [Sun, 25 Jun 2023 08:26:58 +0000 (11:56 +0330)]
Refactors lib/private/Contacts.

Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agochore(deps): fix npm audit 38869/head
nextcloud-command [Sun, 25 Jun 2023 03:30:40 +0000 (03:30 +0000)]
chore(deps): fix npm audit

Signed-off-by: GitHub <noreply@github.com>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 25 Jun 2023 00:31:30 +0000 (00:31 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38844 from nextcloud/enh/add-detected-mime-type-to-exception
Simon L [Sat, 24 Jun 2023 23:49:25 +0000 (01:49 +0200)]
Merge pull request #38844 from nextcloud/enh/add-detected-mime-type-to-exception

feat: add detected mime type to exception

17 months agofeat: add detected mime type to exception 38844/head
Daniel Kesselberg [Thu, 15 Jun 2023 18:14:17 +0000 (20:14 +0200)]
feat: add detected mime type to exception

The mimetype may not match the file extension.
Helps the user to find out why a provided image is not accepted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
17 months agoMerge pull request #38852 from nextcloud/enh/noid/move-deprecation-warnings
John Molakvoæ [Sat, 24 Jun 2023 15:16:44 +0000 (17:16 +0200)]
Merge pull request #38852 from nextcloud/enh/noid/move-deprecation-warnings

17 months agoaddress review 38852/head
Simon L [Sat, 24 Jun 2023 13:10:29 +0000 (15:10 +0200)]
address review

Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agofix one more place
Simon L [Fri, 16 Jun 2023 12:13:22 +0000 (14:13 +0200)]
fix one more place

Signed-off-by: Simon L <szaimen@e.mail.de>
17 months agoonly print deprecation logs if debug mode is enabled
Simon L [Fri, 16 Jun 2023 12:03:23 +0000 (14:03 +0200)]
only print deprecation logs if debug mode is enabled

Signed-off-by: Simon L <szaimen@e.mail.de>
17 months agoMove deprecation warnings to debug
Simon L [Fri, 16 Jun 2023 11:22:55 +0000 (13:22 +0200)]
Move deprecation warnings to debug

Signed-off-by: Simon L <szaimen@e.mail.de>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 24 Jun 2023 00:26:10 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-type
Arthur Schiwon [Fri, 23 Jun 2023 22:13:43 +0000 (00:13 +0200)]
Merge pull request #38625 from nextcloud/fix/noid/querysearchehelper-narrow-type

fix: expect interface, not a specific implementation

17 months agoMerge pull request #38965 from nextcloud/dav-directory-clean-cache-path
Arthur Schiwon [Fri, 23 Jun 2023 16:48:56 +0000 (18:48 +0200)]
Merge pull request #38965 from nextcloud/dav-directory-clean-cache-path

dav: clean path before putting it in the statcache

17 months agoMerge pull request #38948 from nextcloud/Jerome-Herbinet-collaborative-tags-alignment...
John Molakvoæ [Fri, 23 Jun 2023 14:01:52 +0000 (16:01 +0200)]
Merge pull request #38948 from nextcloud/Jerome-Herbinet-collaborative-tags-alignment-change

17 months agodav: clean path before putting it in the statcache 38965/head
Robin Appelman [Fri, 23 Jun 2023 12:39:17 +0000 (14:39 +0200)]
dav: clean path before putting it in the statcache

Signed-off-by: Robin Appelman <robin@icewind.nl>
17 months agoAlign collaborative tags differently 38948/head
Jérôme Herbinet [Thu, 22 Jun 2023 14:27:18 +0000 (16:27 +0200)]
Align collaborative tags differently

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Align collaborative tags differently

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Following @skjnldsv suggestion

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
17 months agoMerge pull request #38800 from nextcloud/bugfix/noid/version-update-or-insert
Julius Härtl [Fri, 23 Jun 2023 08:40:32 +0000 (10:40 +0200)]
Merge pull request #38800 from nextcloud/bugfix/noid/version-update-or-insert

17 months agoMerge pull request #38951 from nextcloud/dependabot/npm_and_yarn/fast-xml-parser...
dependabot[bot] [Thu, 22 Jun 2023 21:08:17 +0000 (21:08 +0000)]
Merge pull request #38951 from nextcloud/dependabot/npm_and_yarn/fast-xml-parser-and-webdav-4.2.5

17 months agochore(deps): Bump fast-xml-parser and webdav 38951/head
dependabot[bot] [Thu, 22 Jun 2023 20:10:32 +0000 (20:10 +0000)]
chore(deps): Bump fast-xml-parser and webdav

Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) to 4.2.5 and updates ancestor dependency [webdav](https://github.com/perry-mitchell/webdav-client). These dependencies need to be updated together.

Updates `fast-xml-parser` from 4.2.4 to 4.2.5
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.2.4...v4.2.5)

Updates `webdav` from 5.1.0 to 5.2.1
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.1.0...v5.2.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
- dependency-name: webdav
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agoMerge pull request #38939 from nextcloud/feat/f2v/more-actions
John Molakvoæ [Thu, 22 Jun 2023 20:08:31 +0000 (22:08 +0200)]
Merge pull request #38939 from nextcloud/feat/f2v/more-actions

17 months agoMerge pull request #38457 from nextcloud/fix/improve-ldap-offset-search-perf
Arthur Schiwon [Thu, 22 Jun 2023 19:46:03 +0000 (21:46 +0200)]
Merge pull request #38457 from nextcloud/fix/improve-ldap-offset-search-perf

Use default page size for jumping to desired offset

17 months agochore(assets): Recompile assets 38939/head
nextcloud-command [Thu, 22 Jun 2023 08:58:20 +0000 (08:58 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
17 months agofeat: add rename action with tests
John Molakvoæ [Thu, 22 Jun 2023 08:37:33 +0000 (10:37 +0200)]
feat: add rename action with tests

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofix(files): action default is false if not set
John Molakvoæ [Thu, 22 Jun 2023 08:32:10 +0000 (10:32 +0200)]
fix(files): action default is false if not set

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: add favorite action with tests
John Molakvoæ [Thu, 22 Jun 2023 08:31:29 +0000 (10:31 +0200)]
feat: add favorite action with tests

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agoMerge pull request #38945 from nextcloud/dav-meta-directory-content
Robin Appelman [Thu, 22 Jun 2023 16:14:24 +0000 (18:14 +0200)]
Merge pull request #38945 from nextcloud/dav-meta-directory-content

implement optimized getDirectoryContent for DAV

17 months agoDo not create a new version if previousNode has the same mtime 38800/head
Louis Chemineau [Thu, 22 Jun 2023 15:49:49 +0000 (17:49 +0200)]
Do not create a new version if previousNode has the same mtime

Signed-off-by: Louis Chemineau <louis@chmn.me>
17 months agoimplement optimized getDirectoryContent for DAV 38945/head
Robin Appelman [Thu, 22 Jun 2023 12:33:18 +0000 (14:33 +0200)]
implement optimized getDirectoryContent for DAV

Signed-off-by: Robin Appelman <robin@icewind.nl>
17 months agoMerge pull request #38771 from fsamapoor/constructor_property_promotion_in_core_comma...
Louis [Thu, 22 Jun 2023 12:09:06 +0000 (14:09 +0200)]
Merge pull request #38771 from fsamapoor/constructor_property_promotion_in_core_command_part7

 Uses PHP8's constructor property promotion core/Command/Info, /Integrity, and /Preview

17 months agoMerge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper...
Johannes [Thu, 22 Jun 2023 09:51:33 +0000 (11:51 +0200)]
Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place

fix(sab): put location in proper address field

17 months agoMerge pull request #38928 from nextcloud/fix/missing-systemtags-index
Marcel Klehr [Thu, 22 Jun 2023 09:21:06 +0000 (11:21 +0200)]
Merge pull request #38928 from nextcloud/fix/missing-systemtags-index

17 months agofeat: add edit locally action with tests
John Molakvoæ [Wed, 21 Jun 2023 15:10:06 +0000 (17:10 +0200)]
feat: add edit locally action with tests

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofix(systemtags): Keep non-existing index 38928/head
Marcel Klehr [Thu, 22 Jun 2023 08:12:15 +0000 (10:12 +0200)]
fix(systemtags): Keep non-existing index

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
17 months agofix(systemtags): Move index creation from new migration to existing original migration
Marcel Klehr [Thu, 22 Jun 2023 07:49:53 +0000 (09:49 +0200)]
fix(systemtags): Move index creation from new migration to existing original migration

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
17 months agoMerge pull request #38917 from nextcloud/bugfix/talk-9558/plural-issue-with-some...
Joas Schilling [Thu, 22 Jun 2023 07:17:48 +0000 (09:17 +0200)]
Merge pull request #38917 from nextcloud/bugfix/talk-9558/plural-issue-with-some-language-locale-combinations

fix(l10n): Fix plural issue with different locale and language

17 months agoMerge pull request #38747 from nextcloud/perf/early-exit-mkcol
Joas Schilling [Thu, 22 Jun 2023 07:02:55 +0000 (09:02 +0200)]
Merge pull request #38747 from nextcloud/perf/early-exit-mkcol

perf: skip request without write permission

17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Thu, 22 Jun 2023 00:30:16 +0000 (00:30 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38826 from nextcloud/enh/a11y-new-user
Pytal [Wed, 21 Jun 2023 23:13:25 +0000 (16:13 -0700)]
Merge pull request #38826 from nextcloud/enh/a11y-new-user

17 months agoenh(a11y): New user modal 38826/head
Christopher Ng [Sat, 17 Jun 2023 01:03:35 +0000 (18:03 -0700)]
enh(a11y): New user modal

Signed-off-by: Christopher Ng <chrng8@gmail.com>
17 months agoMerge pull request #38924 from nextcloud/automated/update-engines/default
F. E Noel Nfebe [Wed, 21 Jun 2023 16:57:12 +0000 (17:57 +0100)]
Merge pull request #38924 from nextcloud/automated/update-engines/default

chore: update node engines to next LTS

17 months agoci: pro forma check of existence of internal method 38625/head
Arthur Schiwon [Fri, 16 Jun 2023 22:15:49 +0000 (00:15 +0200)]
ci: pro forma check of existence of internal method

createNode() is protected and used by Folder, but being an internal-only
method it shall not be exposed in the Folder or IRootFolder interface.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agorefactor: declare getMount() and getMountsIn() at IRootFolder
Arthur Schiwon [Thu, 15 Jun 2023 21:21:56 +0000 (23:21 +0200)]
refactor: declare getMount() and getMountsIn() at IRootFolder

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agochore: ugly type juggling
Arthur Schiwon [Thu, 8 Jun 2023 21:32:16 +0000 (23:32 +0200)]
chore: ugly type juggling

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agofix: add typehine for IRootFolder
Arthur Schiwon [Fri, 2 Jun 2023 23:34:06 +0000 (01:34 +0200)]
fix: add typehine for IRootFolder

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agofix: expect interface, not a specific implementation
Arthur Schiwon [Fri, 2 Jun 2023 23:19:15 +0000 (01:19 +0200)]
fix: expect interface, not a specific implementation

- fixes a regression when deleting folders while music app was enabled,
  for a LazyRoot was passed to this method.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
17 months agoMerge pull request #38927 from nextcloud/bugfix/noid/package.json-editorconfig
John Molakvoæ [Wed, 21 Jun 2023 14:41:05 +0000 (16:41 +0200)]
Merge pull request #38927 from nextcloud/bugfix/noid/package.json-editorconfig

17 months agofix(systemtags): Add missing systemtags index
Marcel Klehr [Wed, 21 Jun 2023 13:10:06 +0000 (15:10 +0200)]
fix(systemtags): Add missing systemtags index

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
17 months agochore: Adjust editorconfig for package.json and package-lock.json 38927/head
Joas Schilling [Wed, 21 Jun 2023 12:57:48 +0000 (14:57 +0200)]
chore: Adjust editorconfig for package.json and package-lock.json

Signed-off-by: Joas Schilling <coding@schilljs.com>
17 months agochore: update node engines to next LTS (node 20 / npm 9) 38924/head
John Molakvoæ [Wed, 21 Jun 2023 10:47:16 +0000 (12:47 +0200)]
chore: update node engines to next LTS (node 20 / npm 9)

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agoMerge pull request #38806 from nextcloud/feat/f2v/actions-1
John Molakvoæ [Wed, 21 Jun 2023 09:36:11 +0000 (11:36 +0200)]
Merge pull request #38806 from nextcloud/feat/f2v/actions-1

17 months agofix: Add logging statement for cases when updating the version fails
Julius Härtl [Wed, 21 Jun 2023 08:35:12 +0000 (10:35 +0200)]
fix: Add logging statement for cases when updating the version fails

Signed-off-by: Julius Härtl <jus@bitgrid.net>
17 months agochore: add `__tests__` and `__mocks__` to file checker and fix updated names 38806/head
John Molakvoæ [Wed, 21 Jun 2023 08:14:34 +0000 (10:14 +0200)]
chore: add `__tests__` and `__mocks__` to file checker and fix updated names

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agoHandle previousNode size === 0 on version creation
Louis Chemineau [Wed, 21 Jun 2023 07:51:36 +0000 (09:51 +0200)]
Handle previousNode size === 0 on version creation

Signed-off-by: Louis Chemineau <louis@chmn.me>
17 months agochore: update old codecov config
John Molakvoæ [Wed, 21 Jun 2023 07:23:12 +0000 (09:23 +0200)]
chore: update old codecov config

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: prepare jest coverage support
John Molakvoæ [Tue, 20 Jun 2023 10:12:56 +0000 (12:12 +0200)]
feat: prepare jest coverage support

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofix(jest): replace mock with jest.spyOn
John Molakvoæ [Tue, 20 Jun 2023 09:53:20 +0000 (11:53 +0200)]
fix(jest): replace mock with jest.spyOn

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: add open folder action testing
John Molakvoæ [Wed, 14 Jun 2023 08:51:17 +0000 (10:51 +0200)]
feat: add open folder action testing

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: add download action testing
John Molakvoæ [Wed, 14 Jun 2023 08:51:04 +0000 (10:51 +0200)]
feat: add download action testing

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: add delete action testing
John Molakvoæ [Wed, 14 Jun 2023 08:50:55 +0000 (10:50 +0200)]
feat: add delete action testing

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: add sidebar action testing
John Molakvoæ [Wed, 14 Jun 2023 08:50:08 +0000 (10:50 +0200)]
feat: add sidebar action testing

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofeat: prepare jest upgrade and ts testing
John Molakvoæ [Wed, 14 Jun 2023 08:49:40 +0000 (10:49 +0200)]
feat: prepare jest upgrade and ts testing

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofix: delete action import
John Molakvoæ [Fri, 9 Jun 2023 07:59:48 +0000 (09:59 +0200)]
fix: delete action import

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
17 months agofix(l10n): Fix plural issue with different locale and language 38917/head
Joas Schilling [Wed, 21 Jun 2023 05:11:16 +0000 (07:11 +0200)]
fix(l10n): Fix plural issue with different locale and language

We need to use the language code here instead of the locale,
because Symfony does not distinguish between the two and would
otherwise e.g. with locale "Czech" and language "German" try to
pick a non-existing plural rule, because Czech has 4 plural forms
and German only 2.

Signed-off-by: Joas Schilling <coding@schilljs.com>
17 months agoMerge pull request #38915 from nextcloud/enh/noid/increase-https-warning
Simon L [Wed, 21 Jun 2023 02:41:14 +0000 (04:41 +0200)]
Merge pull request #38915 from nextcloud/enh/noid/increase-https-warning

adjust admin setup check to increase warning to configure https

17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 21 Jun 2023 00:37:42 +0000 (00:37 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoadjust admin setup check to increase warning to set up https 38915/head
Simon L [Tue, 20 Jun 2023 20:54:48 +0000 (22:54 +0200)]
adjust admin setup check to increase warning to set up https

Signed-off-by: Simon L <szaimen@e.mail.de>
17 months agoMerge pull request #38762 from fsamapoor/constructor_property_promotion_in_core_comma...
Louis [Tue, 20 Jun 2023 16:56:39 +0000 (18:56 +0200)]
Merge pull request #38762 from fsamapoor/constructor_property_promotion_in_core_command_part1

Uses PHP8's constructor property promotion in core/Command/Encryption

17 months agoMerge pull request #38768 from fsamapoor/constructor_property_promotion_in_core_comma...
Louis [Tue, 20 Jun 2023 15:49:32 +0000 (17:49 +0200)]
Merge pull request #38768 from fsamapoor/constructor_property_promotion_in_core_command_part5

Uses PHP8's constructor property promotion in core/Command/Config and Group

17 months agoMerge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes...
Simon L [Tue, 20 Jun 2023 14:36:28 +0000 (16:36 +0200)]
Merge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes-all-entries

Bugfix/36644 pruneOutdatedSyncTokens deletes all entries

17 months agoUpdate core/Command/Encryption/DecryptAll.php 38762/head
Faraz Samapoor [Tue, 20 Jun 2023 08:11:21 +0000 (11:41 +0330)]
Update core/Command/Encryption/DecryptAll.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
17 months agoUpdate core/Command/Encryption/EncryptAll.php
Faraz Samapoor [Tue, 20 Jun 2023 08:11:14 +0000 (11:41 +0330)]
Update core/Command/Encryption/EncryptAll.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
17 months agoMoves single constructor parameters to new lines.
Faraz Samapoor [Tue, 13 Jun 2023 07:59:52 +0000 (11:29 +0330)]
Moves single constructor parameters to new lines.

Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agoFixes php-cs error.
Faraz Samapoor [Mon, 12 Jun 2023 14:57:35 +0000 (18:27 +0330)]
Fixes php-cs error.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agoUses PHP8's constructor property promotion in core/Command/Encryption classes.
Faraz Samapoor [Mon, 12 Jun 2023 14:22:30 +0000 (17:52 +0330)]
Uses PHP8's constructor property promotion in core/Command/Encryption classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agofix(sab): put location in proper address field 38856/head
Johannes Merkel [Fri, 16 Jun 2023 12:29:26 +0000 (14:29 +0200)]
fix(sab): put location in proper address field

Signed-off-by: Johannes Merkel <mail@johannesgge.de>
17 months agoFix paged search when offset is not a multiple of default page size 38457/head
Côme Chilliet [Tue, 20 Jun 2023 14:13:59 +0000 (16:13 +0200)]
Fix paged search when offset is not a multiple of default page size

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
17 months agoMerge pull request #38638 from fsamapoor/constructor_property_promotion_part3
Côme Chilliet [Tue, 20 Jun 2023 13:33:53 +0000 (15:33 +0200)]
Merge pull request #38638 from fsamapoor/constructor_property_promotion_part3

[3/3] Refactors /core controllers using constructor property promotion.

17 months agoMerge pull request #35424 from nextcloud/cleanup/comments
Côme Chilliet [Tue, 20 Jun 2023 12:50:04 +0000 (14:50 +0200)]
Merge pull request #35424 from nextcloud/cleanup/comments

Cleanup comments code

17 months agoThrow if creation date is read before inserting into database 35424/head
Côme Chilliet [Tue, 20 Jun 2023 10:14:57 +0000 (12:14 +0200)]
Throw if creation date is read before inserting into database

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
17 months agoImprove typing in ICommentsManager
Carl Schwan [Mon, 28 Nov 2022 09:54:47 +0000 (10:54 +0100)]
Improve typing in ICommentsManager

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
17 months agoCleanup comments code
Carl Schwan [Fri, 25 Nov 2022 10:19:47 +0000 (11:19 +0100)]
Cleanup comments code

- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
17 months agoUpdate core/Controller/SetupController.php 38638/head
Faraz Samapoor [Tue, 20 Jun 2023 08:17:04 +0000 (11:47 +0330)]
Update core/Controller/SetupController.php

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
17 months agoApplies agreed-upon indentation convention to the changed controllers.
Faraz Samapoor [Mon, 5 Jun 2023 15:17:57 +0000 (18:47 +0330)]
Applies agreed-upon indentation convention to the changed controllers.

Based on https://github.com/nextcloud/server/pull/38636#discussion_r1218167753

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
17 months agoRefactors controllers by using PHP8's constructor property promotion.
Faraz Samapoor [Sun, 4 Jun 2023 20:00:58 +0000 (23:30 +0330)]
Refactors controllers by using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
17 months agoMerge pull request #38774 from fsamapoor/constructor_property_promotion_in_core_comma...
Côme Chilliet [Tue, 20 Jun 2023 08:12:52 +0000 (10:12 +0200)]
Merge pull request #38774 from fsamapoor/constructor_property_promotion_in_core_command_part8

 Uses PHP8's constructor property promotion in core/Command/Log, /Security, and /SystemTag

17 months agoMoves single constructor parameters to new lines. 38771/head
Faraz Samapoor [Tue, 13 Jun 2023 12:31:34 +0000 (16:01 +0330)]
Moves single constructor parameters to new lines.

Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months ago Uses PHP8's constructor property promotion.
Faraz Samapoor [Mon, 12 Jun 2023 15:10:19 +0000 (18:40 +0330)]
 Uses PHP8's constructor property promotion.
 in core/Command/Info, /Integrity, and /Preview classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agoMoves single constructor parameters to new lines. 38768/head
Faraz Samapoor [Tue, 13 Jun 2023 12:11:33 +0000 (15:41 +0330)]
Moves single constructor parameters to new lines.

Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agoUses PHP8's constructor property promotion in core/Command/Config and core/Command...
Faraz Samapoor [Mon, 12 Jun 2023 14:52:05 +0000 (18:22 +0330)]
Uses PHP8's constructor property promotion in core/Command/Config and  core/Command/Group classes.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
17 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 20 Jun 2023 00:22:52 +0000 (00:22 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
17 months agoMerge pull request #38888 from nextcloud/artonge/fix/dont_disable_action_during_save
Simon L [Mon, 19 Jun 2023 22:32:54 +0000 (00:32 +0200)]
Merge pull request #38888 from nextcloud/artonge/fix/dont_disable_action_during_save

Don't disable actions when saving share permissions

17 months agoMerge pull request #38890 from nextcloud/obj-store-copy-list-source-cache
Julius Härtl [Mon, 19 Jun 2023 20:40:55 +0000 (22:40 +0200)]
Merge pull request #38890 from nextcloud/obj-store-copy-list-source-cache

17 months agoMerge pull request #38769 from fsamapoor/constructor_property_promotion_in_core_comma...
Louis [Mon, 19 Jun 2023 19:09:24 +0000 (21:09 +0200)]
Merge pull request #38769 from fsamapoor/constructor_property_promotion_in_core_command_part6

 Uses PHP8's constructor property promotion core/Command/App,/Background, and /Broadcast

17 months agoMerge pull request #38876 from Freiheitswolke/style/config/alphabetise-preview-providers
Simon L [Mon, 19 Jun 2023 18:24:02 +0000 (20:24 +0200)]
Merge pull request #38876 from Freiheitswolke/style/config/alphabetise-preview-providers

style(config): alphabetise preview providers

17 months agoMoves single constructor parameters to new lines. 38774/head
Faraz Samapoor [Tue, 13 Jun 2023 12:36:16 +0000 (16:06 +0330)]
Moves single constructor parameters to new lines.

Based on:
https://github.com/nextcloud/server/pull/38764#discussion_r1227630895

Signed-off-by: Faraz Samapoor <fsa@adlas.at>