Compare commits

...

3583 Commits

Author SHA1 Message Date
blizzz b9a56ee753 Merge pull request #31187 from nextcloud/release/23.0.2
23.0.2
2022-02-15 14:34:52 +01:00
blizzz d98fe9d23c Merge pull request #31171 from nextcloud/stable23-disable-bulkupload
[stable23] Disable bulk upload by not advertising it
2022-02-15 13:43:45 +01:00
Arthur Schiwon d72efb666c 23.0.2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-15 13:32:15 +01:00
Joas Schilling 585d069a71 Also comment out in test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 07:14:14 +01:00
Vincent Petry 58cec19291 Disable bulk upload by not advertising it
It has been reported broken on many instances.
Disable it for now until it can be fixed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-02-14 16:14:57 +01:00
blizzz 2260f1e914 Merge pull request #31126 from nextcloud/release/23.0.2rc1
23.0.2 RC 1
2022-02-11 12:14:31 +01:00
Arthur Schiwon 768337cb95 23.0.2 RC 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-11 11:42:19 +01:00
Vincent Petry 24349b9130 Merge pull request #31108 from nextcloud/backport/31077/stable23
[stable23] Revert the 'broken' public page changes
2022-02-10 19:31:55 +01:00
blizzz 639d4b6a15 Merge pull request #31107 from nextcloud/backport/30936/stable23
[stable23] Fix duplicated UUID migration issue
2022-02-10 19:13:08 +01:00
szaimen 6bbfaee8bd Revert "Add non-breaking space in the file size"
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-10 16:47:40 +00:00
Carl Schwan a87bd0ad40 Revert "Improve layout for the public download page"
This reverts commit 2e55ce0899.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-10 16:47:39 +00:00
Carl Schwan 970b65c139 Revert "Fix loading of the text app in public shared links"
This reverts commit d3d117c4a8.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-10 16:47:38 +00:00
Arthur Schiwon 092819d89b Setup warning for invalid LDAP user or group UUIDs.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 17:46:51 +01:00
Côme Chilliet 8cd5a901a8 Fix psalm errors in apps/user_ldap/lib/Jobs/CleanUp.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10 17:46:18 +01:00
Côme Chilliet 3c259d76ee Fix ldap:update-uuid
Generators cannot be iterated with while or returned by an other
 generator, using foreach instead.
And a few other problems.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10 17:46:09 +01:00
Arthur Schiwon b954462667 add occ command to update UUIDs (incomplete)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 17:45:48 +01:00
Arthur Schiwon 9153d698bc allow to re-run migration step when backup DB is already created
- to heal incomplete states from broken upgrades

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 17:45:01 +01:00
Arthur Schiwon f975fe4ff3 invalidated duplicated UUIDs prior to migration change
- in a proper setup there are no duplicated UUIDs
- not all setups are proper
- log warning to admin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 17:44:46 +01:00
Vincent Petry 1e2baa5a6b Merge pull request #30975 from nextcloud/nickvergessen-patch-1
Update version.php
2022-02-02 15:46:45 +01:00
Joas Schilling 26c97a4fbc Update version.php 2022-02-02 15:42:36 +01:00
Carl Schwan 0f6e1533d4 Merge pull request #30915 from nextcloud/fix/psalm-composer-stable23
[stable23] Fix psalm warning related to registerEventListener
2022-02-01 11:07:33 +01:00
Louis 77dec31419 Merge pull request #30800 from nextcloud/dependabot/npm_and_yarn/stable23/jquery-ui-1.13.1
Bump jquery-ui from 1.13.0 to 1.13.1
2022-01-31 16:40:43 +01:00
dependabot[bot] 1316acc445 Bump jquery-ui from 1.13.0 to 1.13.1
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.0...1.13.1)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-31 13:23:46 +00:00
Louis abf2ed8ce7 Merge pull request #30890 from nextcloud/backport/30886/stable23
[stable23] Fixes occ user:info when the user never logged in
2022-01-31 13:44:37 +01:00
Louis e02f1a51d1 Merge pull request #30912 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard-2.0.9
Bump clipboard from 2.0.8 to 2.0.9
2022-01-31 13:41:21 +01:00
dependabot[bot] fa064dd3a9 Bump clipboard from 2.0.8 to 2.0.9
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.8 to 2.0.9.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.8...v2.0.9)

---
updated-dependencies:
- dependency-name: clipboard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-31 11:50:08 +00:00
Côme Chilliet 19324e6342 Fixes occ user:info when the user never logged in
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-31 10:26:20 +00:00
Louis 094c10a6e5 Merge pull request #30913 from nextcloud/dependabot/npm_and_yarn/stable23/webpack-cli-4.9.2
Bump webpack-cli from 4.9.1 to 4.9.2
2022-01-31 10:32:53 +01:00
Carl Schwan d9d60687bd Merge pull request #30911 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.5
Bump dompurify from 2.3.4 to 2.3.5
2022-01-30 09:50:55 +01:00
dependabot[bot] 64b7a50b6c Bump dompurify from 2.3.4 to 2.3.5
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.4 to 2.3.5.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.4...2.3.5)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-30 01:08:53 +00:00
Carl Schwan 003f2b59c9 Fix psalm warning related to registerEventListener
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-29 12:44:02 +01:00
dependabot[bot] 25530ede6f Bump webpack-cli from 4.9.1 to 4.9.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.1 to 4.9.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.1...webpack-cli@4.9.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-29 03:36:11 +00:00
John Molakvoæ e69281c66f Merge pull request #30840 from nextcloud/releases/23.0.1 2022-01-27 20:33:21 +01:00
John Molakvoæ 3ee9bcc4f7 Merge pull request #30814 from nextcloud/backport/30508/stable23 2022-01-27 20:06:29 +01:00
Carl Schwan d69531ac8e Fix psalm not running
The issue was that we were using psalm/phar instead of vimeo/psalm. This
caused issue with the custom psalm plugin in buildd/psalm.

This is using the opportunity to also update the psalm version from 3.8
to 3.17 and the php-cs-fixer too.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 17:20:00 +01:00
John Molakvoæ 8de4709a10 Merge pull request #30872 from nextcloud/backport/30844/stable23 2022-01-27 10:42:51 +01:00
John Molakvoæ f6f4c6c94f Prevent merging on EOL branches
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-27 08:09:09 +00:00
John Molakvoæ dd5ef2c3b0 Merge pull request #30847 from nextcloud/backport/30846/stable23 2022-01-26 13:13:03 +01:00
Louis Chemineau 91e49958bb Fix php:cs
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-26 10:48:50 +00:00
John Molakvoæ 380f31114f 23.0.1 Final 2022-01-25 14:53:02 +01:00
John Molakvoæ 6b22bc3df2 Merge pull request #30799 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.1 2022-01-24 08:07:48 +01:00
John Molakvoæ 37b49e615c Merge pull request #30740 from nextcloud/backport23 2022-01-22 19:03:33 +01:00
John Molakvoæ 269f04b1b8 Merge pull request #30811 from nextcloud/backport/30795/stable23 2022-01-22 14:14:56 +01:00
John Molakvoæ 0c631830bb Merge pull request #30773 from nextcloud/backport/30769/stable23 2022-01-22 10:25:50 +01:00
Carl Schwan fc3b256dda Fix accessing undefined offsets
Move this to inside the else clause of the count($matches)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-22 08:58:20 +00:00
dependabot[bot] 454c61be82 Update sabre/dav requirement from 4.3.0 to 4.3.1 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.3.0...4.3.1)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 02:10:48 +00:00
John Molakvoæ 8cb7adc131 Merge pull request #30765 from nextcloud/release/23.0.1rc3 2022-01-20 21:37:22 +01:00
John Molakvoæ c0b03000a5 Merge pull request #30782 from nextcloud/backport/29349/stable23 2022-01-20 21:25:58 +01:00
Robin Appelman 13b8179912 Add test for samba kerberos sso in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 19:18:28 +00:00
Robin Appelman 0cdcccf9fe update icewind/smb to 3.5.2
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 19:18:27 +00:00
Robin Appelman 48f6d0f2f6 update to release smb lib
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 19:18:25 +00:00
Robin Appelman 39b294e0f8 update icewind/smb to 3.5.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 19:18:24 +00:00
Arthur Schiwon efad8ab4e3 do not use deprecated query() method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-20 19:18:23 +00:00
Arthur Schiwon 8245c81584 add changes from Sebastian/dassIT and move default_realm to backend
- Sebastian added the switch depending on the preg_match result and with it
  the fall back to login credentials
- I turned default_realm to a backend option (was previously suggested as
  system config key)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-20 19:18:22 +00:00
Arthur Schiwon dddab717bf add KerberosApacheAuth support to files_external
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-20 19:18:21 +00:00
Côme Chilliet 20c3f6d634 Always call flush() as getAllKeys() is broken
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-20 15:38:02 +00:00
John Molakvoæ 4466eb1f42 Merge pull request #30728 from nextcloud/backport/30614/stable23 2022-01-20 11:12:34 +01:00
Carl Schwan fab0e6dbe7 Fix tests with email templates
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-20 10:37:59 +01:00
John Molakvoæ 2645b6cd69 Merge pull request #29798 from nextcloud/stable23-disk 2022-01-20 10:36:40 +01:00
John Molakvoæ 182d1a3741 Merge pull request #30759 from nextcloud/backport/30731/stable23 2022-01-20 10:36:13 +01:00
John Molakvoæ 298333f07c 23.0.1 RC3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-20 10:16:39 +01:00
Joas Schilling 713342cd23 Log bruteforce throttle and blocking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-19 11:51:43 +00:00
John Molakvoæ f5dd452d5f Merge pull request #30753 from nextcloud/backport/30738/stable23 2022-01-19 11:04:33 +01:00
John Molakvoæ 84df632d62 Merge pull request #30747 from nextcloud/backport/30615/stable23 2022-01-19 10:45:33 +01:00
Joas Schilling 32c0710aa7 Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:21:13 +00:00
Christopher Ng 38221b8c68 Update autoload and ClassLoader
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-19 02:12:15 +00:00
Christopher Ng 2063c58623 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit 22768769c3)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-19 00:42:55 +00:00
Carl Schwan 49a8a8fa98 Merge pull request #30734 from nextcloud/backport/30470/stable23
[stable23] Hash job argument
2022-01-18 17:02:37 +01:00
acsfer 61509de933 [stable23] Increase email main buttons width for non-english languages
Manual backport of https://github.com/nextcloud/server/pull/30653
2022-01-18 16:01:26 +01:00
Julius Härtl fb032ad04d Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-18 15:09:27 +01:00
Marek-Wojtowicz 10ae5acf64 Update Session.php
The http headers according to rfc 2616 is iso-8859-1. This patch fixes the behavior when non-ascii characters are present in the header.

Signed-off-by: Marek Wójtowicz <Marek.Wojtowicz@agh.edu.pl>
2022-01-17 23:23:17 +00:00
MichaIng 58b4db7f7d Merge pull request #30685 from nextcloud/backport/29923/stable23
[stable23] Fix users can't login external mount user entered credentials not set
2022-01-17 21:20:05 +01:00
max-nextcloud 90ac982503 Merge pull request #30722 from nextcloud/backport/30719/stable23
[stable23] Fix loading of the text app in public shared links
2022-01-17 20:45:25 +01:00
Carl Schwan f989dcbea8 Fix loading of the text app in public shared links
Instead of doing the centering for the entire public content, only do it
for the preview. This is more safe.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-17 18:03:28 +00:00
blizzz 93fda5154d Merge pull request #30678 from nextcloud/release/23.0.1rc2
23.0.1 RC2
2022-01-17 12:28:47 +01:00
Carl Schwan 253d502471 Merge pull request #30684 from nextcloud/backport/30531/stable23
[stable23] Optimize FileSystemTags workflow for groupfolder
2022-01-17 10:15:26 +01:00
MichaIng 6c0d6e23e7 Merge pull request #30688 from nextcloud/backport/30499/stable23
[stable23] Remove inefficient fed share scanner
2022-01-15 02:52:03 +01:00
MichaIng 78f38493ba Merge pull request #30689 from nextcloud/backport/30645/stable23
[stable23] New Files internal link GET param to avoid opening the file
2022-01-15 02:50:26 +01:00
MichaIng 9f7c05cf4f Merge pull request #30695 from nextcloud/backport/30631/stable23
[stable23] updateEncryptedVersion: cleanup on target if cache already got renamed
2022-01-15 02:48:12 +01:00
MichaIng 5bebac3ab2 Merge pull request #30698 from nextcloud/backport/30655/stable23
[stable23] Improve layout for the public download page
2022-01-15 02:39:47 +01:00
Carl Schwan 05cb962361 Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 22:34:05 +00:00
Carl Schwan 7c1dfd9850 Improve layout for the public download page
This centers the content inside the pages, while also not hardcoded the
size of the footer.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 22:34:04 +00:00
Jonas Meurer 9da4620ff8 updateEncryptedVersion: cleanup on target if cache already got renamed
When moving a file to trash with encryption enabled, the cache gets
moved before the actual file. According to @icewind1991 this is in order
to not break object storage.

When moving a file from an unencrypted storage (e.g. a collectives
storage) to the encrypted trashbin storage, this causes errors, see

This commit fixes it by doing `updateEncryptedVersion()` on the target
cache entry *if* the source cache entry doesn't exist anymore, but the
corresponding target cache entry does exist already.

Fixes: #26544

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-14 21:41:10 +00:00
Julien Veyssier 55dd10acca [files] new internal link GET param to avoid setting 'openfile' on redirect
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-14 16:57:51 +00:00
John Molakvoæ 834385a190 Merge pull request #30672 from nextcloud/backport/stable23/30597 2022-01-14 17:30:13 +01:00
Vincent Petry 3cac62f7ba Remove inefficient fed share scanner
Remove scanAll which relies on the "shareinfo" endpoint that returns the
full cache tree.
The latter can become big for big shares and result in timeouts.
Furthermode, the full tree would be retrieved again for each and every
detected change which can become expensive quickly.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-14 16:09:03 +00:00
John Molakvoæ bbde8dafeb Merge pull request #30674 from nextcloud/backport/30275/stable23 2022-01-14 16:27:21 +01:00
Anderson Luiz Alves f71593e3d5 files_external SMB: throw InvalidArgument when user is not set
Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
2022-01-14 15:16:18 +00:00
Carl Schwan 61624c2213 Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:17:11 +00:00
Carl Schwan c3fcb2c199 Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:17:06 +00:00
Carl Schwan 3c060e54fa The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:17:04 +00:00
Carl Schwan 88774cfbba Optimize FileSystemTags workflow for groupfolder
In https://github.com/nextcloud/server/pull/28774 we disabled the
caching for the groupfolder application since it worked due to the fact
that in groupfolders, getFileIds could be called with the same $cacheId
and path for actually different groupfolders.

This revert this change and instead add the folderId from the
groupFolder to the cacheId. This solve the issue of the uniqueness of
the cacheId inside GroupFolder. Downside is that we introduce
groupfolder specific implementation inside the server repo.

The seconf optimization is to not consider paths starting with
__groupfolders in executeCheck. This is due to the fact that files in
the groupfolder application call two times executeCheck one time with
the url __groupfolder/<folderId>/<path> and the other time with <path>.
The first time will always return an empty systemTags array while the
second call will return the correct system tags.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 14:17:00 +00:00
Simon L 377336a8f1 Merge pull request #30671 from nextcloud/backport/30363/stable23
[stable23] improve accessibility settings on mobile
2022-01-14 14:31:05 +01:00
Arthur Schiwon 2d147a4c4c 23.0.1 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-14 12:46:43 +01:00
Vincent Petry 3bdd8aeba0 Merge pull request #30662 from nextcloud/backport/30530/stable23
[stable23] Fix wrong unified search link to folder
2022-01-14 12:21:22 +01:00
blizzz c36ae149a0 Merge pull request #30663 from nextcloud/backport/30568/stable23
[stable23] Fix primary key change in user_ldap migration
2022-01-14 12:04:06 +01:00
Joas Schilling 28c6a4db1d Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:02:47 +00:00
Carl Schwan 1904793d4b Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
(cherry picked from commit 1fa58be1aa)
2022-01-14 11:46:43 +01:00
Julius Härtl 1938c41ace Merge pull request #30659 from nextcloud/backport/29622/stable23 2022-01-14 10:41:46 +01:00
szaimen 963220dbd7 address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:39:16 +00:00
szaimen 729ef0063f address review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-14 09:39:15 +00:00
szaimen f47835cec3 improve accessibility settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-14 09:39:14 +00:00
Carl Schwan f4fcbaa8b9 Merge pull request #30643 from nextcloud/backport/30600/stable23
[stable23] Fix idn emails not working in shares
2022-01-14 10:08:19 +01:00
Côme Chilliet 101338063e Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:31:42 +00:00
Joas Schilling 9a9c8602e4 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 08:31:41 +00:00
Côme Chilliet e4235bdeba Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:31:40 +00:00
Côme Chilliet 66ca2925e7 Move duplicated code to a base class for group_mapping migrations
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-01-14 08:31:38 +00:00
Côme Chilliet 03a570a500 Split dropTable and createTable in two migrations
It is not possible to drop and create the same table in one migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:31:38 +00:00
Côme Chilliet d90e9088d0 Fix primary key change in user_ldap migration
Use a backup table to copy the data, drop table and recreate it with
 correct primary key, then copy the data back and drop the backup table.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-14 08:31:36 +00:00
John Molakvoæ c124c27cdf Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:22:29 +00:00
John Molakvoæ 05a13d3dc6 Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 08:31:38 +01:00
Carl Schwan 2b2d23ce21 Fix idn emails not working in shares
And add check before sending email that email address is valid

Fix #30595

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 17:10:43 +01:00
Vincent Petry 26b5949102 Merge pull request #30636 from nextcloud/backport/30620/stable23
[stable23] Properly abort uploads
2022-01-13 11:35:38 +01:00
Vincent Petry ac9ad51b10 Properly hide progress bar after error
Whenever an error occurs, also hide the progress bar.

The logic was also adjusted to properly detect uploads that are pending
deletion, in which case the progress bar can already be hidden.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-13 08:29:29 +00:00
Vincent Petry c78d542596 Properly abort uploads
Add a new approach for flagging an upload as aborted because we can't
rely on the browser fully cancelling the request as we now seem to
receive an error response from the server instead of a jQuery "abort"
message.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-13 08:29:28 +00:00
Vincent Petry c2f3f37f69 Merge pull request #30627 from nextcloud/backport/30593/stable23
[stable23] Trigger "changeDirectory" event on URL change
2022-01-12 17:42:45 +01:00
MichaIng 0323ced93a Merge pull request #30621 from nextcloud/backport/30358/stable23
[stable23] Reset job disabling timer on adding the job again
2022-01-12 16:01:56 +01:00
Vincent Petry 3340861c82 Trigger "changeDirectory" even on URL change
When using the browser back button or clicking on sections on the left
sidebar (like favorites), the "changeDirectory" jQuery event did not get
called, so apps like recommendations would not notice the directory
change.

This fixes the issue by also setting changeUrl to true when the file
list's directory got changed as a result from a URL change.

Added optional changedThroughUrl argument to make sure the event
recipient knows if the change was done through a URL change and make it
possible prevent a loop in the onDirectoryChange handler that actually
changes the URL when the origin was already from a URL change.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-12 13:46:13 +00:00
Carl Schwan 693771fd81 Merge pull request #30619 from nextcloud/backport/30609/stable23
[stable23] Fix RequestURL check for cli commands
2022-01-12 14:01:00 +01:00
Joas Schilling b89e743976 Merge pull request #30611 from nextcloud/backport/30588/stable23
[stable23] Fix undefined/unset scope in account properties
2022-01-12 13:51:07 +01:00
Louis 141524a0e2 Merge pull request #30623 from nextcloud/backport/30485/stable23
[stable23] Set the file's mtime from the headers in bulk upload
2022-01-12 13:36:38 +01:00
Louis Chemineau bb81f7afd8 Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-12 11:00:50 +00:00
Julius Härtl d7cb3d0643 Reset job disabling timer on adding the job again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-12 10:52:51 +00:00
blizzz 6d2b690881 Merge pull request #30602 from nextcloud/backport/30291/stable23
[stable23] Prevent loading images that would require too much memory.
2022-01-12 11:16:48 +01:00
Carl Schwan 1b8f9420a3 Fix RequestURL check for cli commands
Fix https://github.com/nextcloud/files_automatedtagging/issues/526

Fix https://github.com/nextcloud/groupfolders/issues/1855

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 09:07:31 +00:00
Joas Schilling 08037eac25 Fix test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-11 18:44:56 +00:00
Joas Schilling 8fde21460f Fix undefined/unset scope in account properties
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-11 18:44:52 +00:00
Joachim Bauch cebac86ecd Prevent loading images that would require too much memory.
For most image formats, the header specifies the width/height.
PHP allocates an image object from that size, even if the actual
image data is much smaller. This image object size is not limited
by the limit configured in PHP.

The memory limit can be configured through "config.php" setting
"preview_max_memory" and defaults to 128 MBytes which should be
enough for most images without filling up all memory.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-01-11 14:49:08 +00:00
MichaIng c5ea067795 Merge pull request #30594 from nextcloud/backport/30533/stable23
[stable23] Avoid zero division in setup checks
2022-01-11 15:35:18 +01:00
Louis 4846f5d33e Merge pull request #30592 from nextcloud/backport/30571/stable23
[stable23] fix: only use jquery once it is available
2022-01-11 14:18:28 +01:00
MichaIng 755381a4c2 Avoid zero division in setup checks
Fixes: https://github.com/nextcloud/server/issues/30532

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-11 12:42:02 +00:00
Azul 08016ac02d fix: only use jquery once it is available
publicpage.js is loaded very early and cannot rely on jquery being loaded already.

Move the use of `$` into the `DomContentLoaded` handler.

Signed-off-by: Azul <azul@riseup.net>
2022-01-11 10:34:44 +00:00
Louis ad5501a464 Merge pull request #30576 from nextcloud/backport/30565/stable23
[stable23] Fix fail when keys/files folder already exists
2022-01-11 10:44:10 +01:00
Vincent Petry 9eeaed0051 Fix fail when keys/files folder already exists
Fixes an issue with transfer ownership in move mode where the folder
"files_encryption/keys/files" already exists.

Instead of failing, its existence is checked before calling mkdir.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-11 08:20:41 +00:00
Vincent Petry 67fcbacd4f Merge pull request #30580 from nextcloud/bugfix/noid/npm-ci-for-karma/stable23
[stable23] Use npm ci when running JS tests
2022-01-11 08:53:48 +01:00
Vincent Petry 035d73db11 Make chokidar happy with fsevents
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 18:00:24 +01:00
Vincent Petry c948ceee60 Recompile JS
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 17:38:16 +01:00
Vincent Petry 4e4797b5b9 Fix JS tests after test lib updates
Prevent XHR during load by checking window.TESTING.
Adjust some expected values.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 17:30:32 +01:00
Vincent Petry 60e364018f Update node deps for JS tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 17:28:16 +01:00
Vincent Petry 7dcbcd21e1 Use npm ci when running JS tests
This makes sure that the pinned versions are selected correctly.
Fixes the colors.js incident.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 17:26:23 +01:00
John Molakvoæ ed1fcf1982 Merge pull request #30557 from nextcloud/backport/30468/stable23 2022-01-10 08:35:01 +01:00
Carl Schwan b054321fc0 Handle LocalServerException when scanning external shares
When remoteIsOwnCloud trows LocalServerException, the storage is
unavailable and instead of crashing the scanner, ignore the specific
storage.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-09 17:40:39 +00:00
blizzz 99b400c733 Merge pull request #30528 from nextcloud/backport/30511/stable23
[stable23]  update CRL after revocation of sharerenamer.crt
2022-01-08 00:55:12 +01:00
Pytal cc9a2e0558 Merge pull request #30525 from nextcloud/backport/30491/stable23 2022-01-07 11:21:43 -08:00
John Molakvoæ 7d8be4d044 Merge pull request #30518 from nextcloud/release/23.0.1 2022-01-07 14:57:27 +01:00
Vitor Mattos e2d9fb9d01 Update crl
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-07 11:25:47 +00:00
Christopher Ng c699f1bec2 Fix email verification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-07 10:52:36 +00:00
Joas Schilling deeee36132 Merge pull request #30522 from nextcloud/backport/30492/stable23
[stable23] Fix passing on the parameter
2022-01-07 10:49:55 +01:00
Joas Schilling 3ca762e0af Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-07 09:27:35 +01:00
Joas Schilling 551e1a799a Merge pull request #30486 from nextcloud/backport/29780/stable23
[stable23] Run migrations fully when reenabling an app
2022-01-07 08:43:14 +01:00
John Molakvoæ 510e99a622 Merge pull request #30433 from nextcloud/backport/30392/stable23 2022-01-07 08:41:22 +01:00
John Molakvoæ c8702c7766 Merge pull request #30339 from nextcloud/backport/27403/stable23 2022-01-07 08:41:06 +01:00
John Molakvoæ e65a5e199e 23.0.1 RC 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-07 08:20:03 +01:00
blizzz 994b32f793 Merge pull request #30351 from nextcloud/backport/29958/stable23
[stable23] Remove iconv from dependencies and tests
2022-01-06 23:37:36 +01:00
Pytal 6a28abbbb6 Merge pull request #30480 from nextcloud/backport/30423/stable23 2022-01-04 17:05:32 -08:00
Pytal b47ecc6396 Merge pull request #30431 from nextcloud/backport/30413/stable23 2022-01-04 11:21:56 -08:00
Joas Schilling e69d0b0a65 Run migrations fully when reenabling an app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 16:19:35 +00:00
Christoph Wurst df21ccd73a Add the Groupware Team as contactsinteraction co-maintainer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-04 16:08:20 +01:00
Christoph Wurst d068ae445c Fix rendering app authors with homepage or email
When the first author of an app doesn't have homepage/email attributes
set in info.xml then any further author was rendered as `[object
Object]` due to the complex XML node seralized to a JavaScript string.
The logic was fixed so that it converts any of the authors to simple
text.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-01-04 16:08:20 +01:00
John Molakvoæ 9bffa5beff Fix uploading text position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-04 08:47:00 +00:00
MichaIng 022d0058ca [stable23] Remove iconv from dependencies and tests
which is not used anymore since: https://github.com/nextcloud/server/pull/29470

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-04 03:06:55 +01:00
Louis 58dc589ed0 Merge pull request #30449 from nextcloud/backport/30440/stable23
[stable23] Make sure to get file model in template picker
2022-01-03 10:42:26 +01:00
Carl Schwan d92be7b886 Merge pull request #30462 from nextcloud/backport/30409/stable23
[stable23] Allow using composer plugin with composer 2.2
2022-01-03 08:56:35 +01:00
Julius Härtl d81768b2e2 Ignore composer/bin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-01 14:01:01 +00:00
Julius Härtl 6bbd26b955 Allow using composer plugin with composer 2.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-01 14:01:00 +00:00
Simon L f98d7827e9 Merge pull request #30455 from nextcloud/backport/30420/stable23
[stable23] improve status modal
2021-12-31 18:07:23 +01:00
szaimen e6f837f4b5 improve status modal
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 18:50:19 +00:00
Julien Veyssier dccd2a635a fix template picker for file actions using the fileInfoModel
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 15:16:31 +00:00
Louis 955cb63e41 Merge pull request #30343 from nextcloud/backport/29329/stable23
[stable23] fix potential unwarranted memberships in nested groups from LDAP
2021-12-30 11:04:39 +01:00
Louis 94f3192b82 Merge pull request #30315 from nextcloud/backport/30266/stable23
[stable23] Fix share owner not being displayed in sharing tab
2021-12-30 10:57:01 +01:00
John Molakvoæ eac352bcc3 Merge pull request #30443 from nextcloud/backport/30353/stable23 2021-12-30 08:12:01 +01:00
Carl Schwan c68304d6d5 Handle external share with invalid host
remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-29 17:13:06 +00:00
Julius Härtl af25d91b8d Merge pull request #30390 from nextcloud/backport/28438/stable23 2021-12-29 10:52:39 +01:00
Christoph Wurst 3cf98b75e2 Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 09:16:28 +00:00
Simon L 394915d2e4 Merge pull request #30411 from nextcloud/backport/30364/stable23
[stable23] improve personal settings on mobile
2021-12-27 23:54:38 +01:00
szaimen 83e5cf0ed0 improve personal settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-27 21:14:19 +00:00
Sven Strickroth 708d98d078 Don't die with LockedException when removing/restoring multiple files from trash
fixes issue #16491

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-12-23 10:26:57 +00:00
John Molakvoæ ad8cf1a2b4 Merge pull request #30356 from nextcloud/backport/30305/stable23 2021-12-21 11:17:06 +01:00
Joas Schilling b947bf3765 Merge pull request #30026 from nextcloud/backport/30013/stable23
[stable23] Don't query the bruteforce attempts when we just deleted them
2021-12-21 09:38:20 +01:00
Daniel Calviño Sánchez bcc54d06a1 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-21 07:36:36 +00:00
Louis d645869f74 Merge pull request #30344 from nextcloud/backport/30322/stable23
[stable23] fix overlapping in the help settings section
2021-12-20 11:32:02 +01:00
Côme Chilliet e0c6673884 Merge pull request #29965 from nextcloud/backport/29470/stable23
[stable23] Avoid use of iconv to get rid of unicode
2021-12-20 10:54:25 +01:00
szaimen f16b00ae23 fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-20 09:30:36 +00:00
Arthur Schiwon bf81fa432a fix potential unwarranted memberships in nested groups from LDAP
- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-20 09:18:59 +00:00
Côme Chilliet 4010e58a96 [stable23] Avoid use of iconv to get rid of unicode
Using iconv for translit depends upon server configuration, locale, and
 PHP version. Using htmlentities instead to have a consistent behavior
 independent of configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2021-12-20 03:00:37 +01:00
MichaIng fd481913ef Enhance and complement OPcache setup checks
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.

With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.

The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.

A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.

OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-20 00:10:10 +00:00
MichaIng cdedd2df38 Merge pull request #30252 from nextcloud/backport/30193/stable23
[stable23] Fix setting up 2FA when no providers are set up but backup codes
2021-12-19 19:41:20 +01:00
MichaIng 4b8b2b4740 Merge pull request #30301 from nextcloud/backport/30119/stable23
[stable23] Use proper translation source for direct editing
2021-12-19 19:39:23 +01:00
MichaIng 2217abfa44 Merge pull request #30306 from nextcloud/backport/30281/stable23
[stable23] Ignore non-existing groups when notifying group shares
2021-12-19 19:37:21 +01:00
dependabot[bot] d9bcf061d5 Merge pull request #30325 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.0 2021-12-18 05:34:16 +00:00
dependabot[bot] 1bea0296c0 Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 04:05:40 +00:00
Carl Schwan 2b7bee1bc3 Fix share owner not being displayed in sharing tab
This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.

This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-17 13:23:23 +00:00
Vincent Petry d4e83a7988 Discard share notification for non-existing groups
Group shares might exist even after a group got deleted.

This fix catches the situation and discards the notification for the
obsolete group.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-17 07:04:25 +00:00
Azul 26886d753d fix translation source in directEditing templates
The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
2021-12-16 18:23:12 +00:00
Louis 1c296cbc86 Merge pull request #30289 from nextcloud/backport/30256/stable23
[stable23] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:14 +01:00
Pytal 659d10f7d5 Merge pull request #30272 from nextcloud/backport/30254/stable23 2021-12-15 17:35:19 -08:00
Christopher Ng 7479edbc1e Migrate profile_config id column to bigint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-15 19:30:15 +00:00
nextcloud-command 1f1758ee3e Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-15 19:10:23 +00:00
Jonas Rittershofer c39c82a6bd Fix ShareLink Upload UI for Folders
Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 19:51:41 +01:00
Christopher Ng c4149aa8ed Use bigint for autoincremented column
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-14 21:34:24 +00:00
Christoph Wurst 9e9b448998 Merge pull request #30267 from nextcloud/backport/30048/stable23
[stable23] Carefully filter out non matching time ranges for CalDAV search
2021-12-14 16:08:30 +01:00
Christoph Wurst 593b4e53b3 Carefully filter out non matching time ranges for CalDAV search
When we search for CalDAV objects in the DB we take the first and last
occurence into account. For recurring events that is when they take
place the very first time and the very last time. Searching in a more
specific time range will still match this condition, because the
recurring event starts before the end of the requested range but ends
after the start of the requested range.

Sabre has filters for this. If we apply them on all seach objects of a
search with a time range, then only the recurring events actually taking
place at the time of the requested time range will be returned.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-14 13:52:56 +00:00
Côme Chilliet 5282fcec05 Merge pull request #30238 from nextcloud/backport/29523/stable23
Support LDAP dn longer than 255 characters
2021-12-14 13:15:23 +01:00
Christoph Wurst e4011bc3aa Fix setting up 2FA when no providers are set up but backup codes
2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-13 15:59:27 +00:00
MichaIng a31ee8d9f3 Merge pull request #30236 from nextcloud/backport/30200/stable23
[stable23] Don't check the configvalue for lastLogin which is never null
2021-12-13 15:20:40 +01:00
MichaIng 66e464a407 Merge pull request #30245 from nextcloud/backport/30156/stable23
[stable23] Only wildcard search if enumeration is allowed
2021-12-13 15:19:36 +01:00
Joas Schilling dd2c1c6fb8 Make psalm more happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:49:15 +01:00
Joas Schilling 39d6624ab3 Fix docs to make Psalm happier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:49:09 +01:00
Joas Schilling 955c0d4885 Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:49:03 +01:00
Joas Schilling 898c11c3b4 Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:48:55 +01:00
Joas Schilling daad1ce010 Only limit search in the system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:48:47 +01:00
Joas Schilling b5d78d0b7c Only wildcard search if enumeration is allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 13:48:41 +01:00
Côme Chilliet 6b107026dd Bump user_ldap version to make sure the migration runs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:51:44 +01:00
Joas Schilling 995b45bb62 Don't check the configvalue for lastLogin which is never null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 08:43:13 +00:00
Côme Chilliet b5b080a219 Add missing copyright headers in migration steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:40:38 +01:00
Côme Chilliet e7a769158d Use clearer names for variables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:40:15 +01:00
Côme Chilliet 9e33d51c44 Add an index for directory_uuid as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:40:08 +01:00
Côme Chilliet fbed00bab4 Make sure that hash function returns a string
The documentation says it can return false, and even if that is highly
 unlikely for sha256, better safe than sorry.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:39:55 +01:00
Côme Chilliet 98476a9d5d Add the columns and alter the index in Version1010Date20200630192842
This is to ensure new installations do not need to go through migration
 history.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:39:45 +01:00
Côme Chilliet 2336a188df Fixes in migration step
We cannot set ldap_dn_hash column as notnull because it is empty for
 existing users before postSchemaChange is called

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:39:33 +01:00
Côme Chilliet a0db2a248c Put back length check to have a clear error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:39:23 +01:00
Côme Chilliet 189852b549 Fixed migration step for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:39:12 +01:00
Joas Schilling 54007f9993 Fix variable names
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 09:39:04 +01:00
Côme Chilliet 514b34084a Change column names to ldap_dn and ldap_dn_hash and add migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:38:54 +01:00
Côme Chilliet fe3203a66e Support LDAP dns longer than 255 characters
Adds an ldap_full_dn column to store the dn, and only store a sha256
 hash in the ldap_dn which is shorter and can be indexed without
 trouble.
Migration still needs to be implemented.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-13 09:38:43 +01:00
MichaIng 86c0b22e97 Merge pull request #30214 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.4
Bump dompurify from 2.3.3 to 2.3.4
2021-12-11 21:50:21 +01:00
dependabot[bot] 2339d5d543 Bump dompurify from 2.3.3 to 2.3.4
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.3 to 2.3.4.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.3...2.3.4)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-11 16:31:23 +00:00
MichaIng 837d589cb4 Merge pull request #30215 from nextcloud/dependabot/npm_and_yarn/stable23/core-js-3.19.3
Bump core-js from 3.19.2 to 3.19.3
2021-12-11 16:04:39 +01:00
dependabot[bot] 7e2414c73a Bump core-js from 3.19.2 to 3.19.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.2 to 3.19.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.2...v3.19.3)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-11 12:59:40 +00:00
MichaIng 37b74dab89 Merge pull request #30213 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.3
Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration
2021-12-11 13:50:58 +01:00
dependabot[bot] f35d000c7f Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.1...4.2.3)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 07:04:10 +00:00
dependabot[bot] fcb2bf130d Merge pull request #30212 from nextcloud/dependabot/composer/build/integration/stable23/guzzlehttp/guzzle-6.5.5 2021-12-11 07:02:56 +00:00
dependabot[bot] 4a1c576325 Update guzzlehttp/guzzle requirement in /build/integration
Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-11 03:35:25 +00:00
Pytal 7d80036bed Merge pull request #30190 from nextcloud/backport/30157/stable23 2021-12-10 17:30:02 -08:00
Vincent Petry de8b0275a0 Merge pull request #30187 from nextcloud/backport/30164/stable23
[stable23] Use correct icon for dir-external-root
2021-12-10 12:02:36 +01:00
John Molakvoæ 32eed324a1 Fix first day locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-10 10:35:05 +00:00
John Molakvoæ ac5385101c Properly format sharing datepicker locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-10 09:47:35 +00:00
Vincent Petry 1a032ce6f1 Use correct icon for dir-external-root
When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 09:29:32 +00:00
Vincent Petry 1fc27e771c Merge pull request #30180 from nextcloud/backport/30160/stable23
[stable23] Check resource before closing in encryption wrapper
2021-12-10 08:55:50 +01:00
John Molakvoæ 497fab8fe6 Merge pull request #30175 from nextcloud/backport/30168/stable23 2021-12-10 08:46:52 +01:00
John Molakvoæ 8e1b2cd59a Merge pull request #30176 from nextcloud/backport/29996/stable23 2021-12-10 07:57:42 +01:00
Vincent Petry 1291abc130 Check resource before closing in encryption wrapper
In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-10 00:03:08 +00:00
Pytal 9135b177be Update core/Migrations/Version23000Date20211203110726.php
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-09 23:07:30 +00:00
Christopher Ng 3600b84e6e Fix relation "user_id" already exists migration error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-09 23:07:30 +00:00
John Molakvoæ 72422ccb10 Allow to delete non-migrated previews instead of moving them
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 22:59:38 +00:00
John Molakvoæ 28992a403e Merge pull request #30144 from nextcloud/backport/29968/stable23 2021-12-09 10:33:20 +01:00
Daniel Calviño Sánchez 30733d020d Remove no longer needed CSS rules
Since Nextcloud 22 the "#new-user" rules had no effect, as the DOM
structure changed to show a dialog rather than adding a row on top of
the list when adding new users.

Similarly, the z-index was no longer needed, as there will be no
"new-user" row that could overlap. Moreover, the z-index was set even
higher (100) in another rule still active.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-09 06:58:07 +01:00
Daniel Calviño Sánchez 7b53eb4066 Fix input for groups validation in new user form
The hidden input used for form validation was not actually hidden since
Nextcloud 22, as the DOM structure changed to show a dialog rather than
adding a row on top of the list when adding new users, so the CSS rules
no longer matched.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-09 06:58:07 +01:00
MichaIng c79b3be1aa Merge pull request #30151 from nextcloud/backport/30141/stable23
[stable23] Reload page instead of file list when getting 401 authentification error
2021-12-08 14:32:00 +01:00
Carl Schwan 9a81b75b38 Reload page on 401 since there is an authentification problem
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:39:57 +00:00
Carl Schwan ad44722397 Stop reloading file list when getting 401 error on root dir
When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-08 11:39:57 +00:00
Julius Härtl c311f43c1f Merge pull request #30136 from nextcloud/backport/30134/stable23 2021-12-08 09:07:24 +01:00
Julien Veyssier fb0e22a3c4 do not trigger events when setting active view in gotoplugin
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:38:22 +00:00
John Molakvoæ e0b61fb449 Merge pull request #30132 from nextcloud/backport/30114/stable23 2021-12-07 13:55:54 +01:00
John Molakvoæ 36bacaa7af Prevent writing invalid mtime
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-07 11:16:29 +00:00
John Molakvoæ 778d1a1793 Merge pull request #30009 from nextcloud/backport/29905/stable23 2021-12-07 09:27:50 +01:00
marco 07931d9bb6 Only add the vue exeption to actual button elements
Signed-off-by: marco <marcoambrosini@pm.me>
2021-12-07 01:13:21 +01:00
Côme Chilliet c630c8ccec Merge pull request #30115 from nextcloud/backport/30040/stable23
[stable23] Avoid calling image* methods on boolean
2021-12-06 16:58:23 +01:00
Louis b2967923d2 Merge pull request #30106 from nextcloud/backport/30104/stable23
[stable23] Strengthify is now in the Nextcloud org
2021-12-06 15:58:28 +01:00
Côme Chilliet f889b251b1 Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:22:05 +00:00
Côme Chilliet 3fe20bfbbb Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:22:05 +00:00
Côme Chilliet 11b51ddbbe Avoid calling image* methods on boolean
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:22:05 +00:00
Christoph Wurst f88f57612b Merge pull request #30025 from nextcloud/backport/30012/stable23
[stable23] Only check the twofactor state once per request
2021-12-06 14:49:45 +01:00
Joas Schilling 7b88878895 Strengthify is now in the Nextcloud org
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-06 08:59:57 +00:00
dependabot[bot] af29d0b63e Merge pull request #30083 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.1 2021-12-05 16:17:46 +00:00
dependabot[bot] 8fc41f6cf1 Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.0...4.2.1)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-05 16:43:43 +01:00
dependabot[bot] 6aa3677eaa Merge pull request #30088 from nextcloud/dependabot/npm_and_yarn/stable23/core-js-3.19.2 2021-12-04 13:25:01 +00:00
dependabot[bot] 99aca2f57c Bump core-js from 3.19.1 to 3.19.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.1 to 3.19.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.1...v3.19.2)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-04 12:49:10 +00:00
blizzz 76fa257789 Merge pull request #30036 from nextcloud/backport/30011/stable23
[stable23] Allow to log queries to db, ldap and redis
2021-12-03 11:53:59 +01:00
MichaIng e20b3de09e Merge pull request #30041 from nextcloud/backport/30032/stable23
[stable23] Add an index for selecting the next job
2021-12-03 03:02:13 +01:00
MichaIng d622dc63b9 Merge pull request #30053 from nextcloud/backport/30046/stable23
[stable23] Close open cursor in the caldav back-end
2021-12-03 02:56:21 +01:00
Joas Schilling 617d742aa9 Merge pull request #30062 from nextcloud/backport/30024/stable23
[stable23] list.php files are only invoked via ViewController and APIController
2021-12-03 00:02:44 +01:00
Joas Schilling d6bad0c0ba list.php files are only invoked via ViewController and APIController
Both of them actually check that the user is logged in before
and also the list.php files themselves would break with
getUserSession()->getUser()->getUID() which they contain.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 21:32:25 +00:00
Pytal 395e90c645 Merge pull request #30058 from nextcloud/backport/29735/stable23 2021-12-02 12:20:53 -08:00
Robin Appelman cc57b2b68e fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:06 +00:00
Robin Appelman 349555478f code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:06 +00:00
Robin Appelman c76c2d7581 stop background scan early if a users still has unscanned files after background scan
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman 375946b148 find users for background scan one by one
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman c9db02a921 background scan the source storage when a background scan on a storage jail is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Robin Appelman 4433732f22 teach psalm about Storage::instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:47:05 +00:00
Joas Schilling 62bff517dc Merge pull request #30037 from nextcloud/backport/30028/stable23
[stable23] Fix log_query config flag
2021-12-02 17:14:11 +01:00
Christoph Wurst 2de7273905 Close open cursor in the caldav back-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 15:34:20 +00:00
Joas Schilling 88b6a42699 Add an index for selecting the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 10:26:43 +00:00
Joas Schilling a361e69d5e Fix log_query config flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 09:35:52 +00:00
Joas Schilling 5e8fa37852 Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 09:30:44 +00:00
MichaIng e3ee81de05 Merge pull request #30021 from nextcloud/backport/30018/stable23
[stable23] Fix collaborative tags styles
2021-12-02 02:40:45 +01:00
Pytal 2ccefec021 Merge pull request #30014 from nextcloud/backport/29995/stable23 2021-12-01 15:48:03 -08:00
Joas Schilling 761b5ac91e Don't query the bruteforce attempts when we just deleted them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 20:29:47 +00:00
Joas Schilling febca701ee Only check the twofactor state once per request
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 20:29:28 +00:00
Christopher Ng 7fd7f73ab0 Fix profile actions menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01 19:57:22 +00:00
Christopher Ng e0ffaaae51 Fix collaborative tags styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-01 19:51:01 +00:00
Pytal b67c6d9730 Merge pull request #29975 from nextcloud/backport/29872/stable23 2021-12-01 10:17:20 -08:00
Christoph Wurst b2b1feba0f Merge pull request #30008 from nextcloud/backport/30001/stable23
[stable23] Cast orphan subscription id to int
2021-12-01 19:07:18 +01:00
Christoph Wurst ea450f1161 Cast orphan subscription id to int
DB columns are of type int by default, so they need to be casted.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-01 13:47:40 +00:00
Christopher Ng 510249e258 Set profile page title
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-30 17:02:52 +00:00
blizzz 4caad84389 Merge pull request #29967 from nextcloud/backport/29917/stable23
[stable23] Fix source of translations
2021-11-30 14:55:23 +01:00
Christoph Wurst c7d5f98768 Merge pull request #29977 from nextcloud/backport/29974/stable23
[stable23] Let repair step query exceptions bubble up
2021-11-30 14:34:17 +01:00
Christoph Wurst 3b2122fc11 Include previous execption for repair steps that don't exist
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 11:56:53 +00:00
Christoph Wurst 3d58f6bd2b Let repair step query exceptions bubble up
And hide the type error caused by a constructor call with missing
arguments.

`new $repairStep();` only works for the rare case that no arguments are
required. Anything else will throw. Then we previously hid the trace of
the more important query exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 11:56:53 +00:00
Louis 17a659e277 Merge pull request #29970 from nextcloud/backport/29870/stable23
[stable23] Prevent your own status from replacing another user's status on profile
2021-11-30 10:03:04 +01:00
Christopher Ng 259dc80fca Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 20:49:20 +00:00
Christoph Wurst 7b142f74a9 Merge pull request #29961 from nextcloud/backport/29951/stable23
[stable23] Interpolate the log message also for logged exceptions
2021-11-29 20:04:25 +01:00
Christopher Ng 3256de61a1 Fix source of translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-29 18:51:33 +00:00
Christoph Wurst 96aaa5dfa2 Interpolate the log message also for logged exceptions
According to PSR-3 the log message can have placeholders that are
replaced from the context object. Our logger implementation did that for
all PSR-3 logger methods. The only exception was our custom `logException`.

Since PsrLoggerAdapter calls logException when an exception key is
present in the context object, log messages were no longer interpolated.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-29 15:48:43 +00:00
dependabot[bot] b8ec50e816 Merge pull request #29937 from nextcloud/dependabot/npm_and_yarn/stable23/testing-library/jest-dom-5.15.1 2021-11-27 14:59:15 +00:00
dependabot[bot] 6ed5da993b Bump @testing-library/jest-dom from 5.15.0 to 5.15.1
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.15.0 to 5.15.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.15.0...v5.15.1)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 14:13:27 +00:00
dependabot[bot] 240e050360 Merge pull request #29936 from nextcloud/dependabot/npm_and_yarn/stable23/sass-1.43.5 2021-11-27 06:15:07 +00:00
dependabot[bot] 317e4242e6 Bump sass from 1.43.4 to 1.43.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.43.4 to 1.43.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.4...1.43.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-27 03:17:43 +00:00
blizzz 0619207f13 Merge pull request #29925 from nextcloud/release/23.0.0
23.0.0
2021-11-26 21:49:32 +01:00
blizzz 842e22f882 Merge pull request #29928 from nextcloud/backport/29926/stable23
[stable23] obey  accounts_data column length when inserting and searching
2021-11-26 20:58:36 +01:00
Arthur Schiwon 09014ec6d1 Obey col length of 255 to insert and search in accounts_data
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 17:27:16 +00:00
Arthur Schiwon c853206e8a add method to shorten a string to given byte size to Utils
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 17:27:16 +00:00
Pytal df961fa2f3 Merge pull request #29918 from nextcloud/backport/29871/stable23 2021-11-26 09:16:22 -08:00
John Molakvoæ (skjnldsv) d5f6547fb8 Nextcloud Hub II
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-26 17:17:03 +01:00
Christopher Ng cb74a9af7d Set number of visibility dropdown rows dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 14:59:24 +00:00
MichaIng 1441f46bbe Merge pull request #29848 from nextcloud/backport/29836/stable23
[stable23] Make sure mapping cache is cleared when deleting a user
2021-11-26 15:46:16 +01:00
John Molakvoæ (skjnldsv) 614cc82d48 23.0.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-26 15:37:06 +01:00
Côme Chilliet 2b58973533 Test cache invalidation for AbstractMapping in test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-26 14:19:14 +01:00
Côme Chilliet e983376e58 Make sure mapping cache is cleared when deleting a user
This avoids phantom remnants staying after user deletion

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-26 14:19:14 +01:00
Carl Schwan 9275a9f28a Merge pull request #29913 from nextcloud/backport/29906/stable23
[stable23] Use strict comparison to detect usage of redis cluster
2021-11-26 11:16:15 +01:00
Carl Schwan ab9282fe26 Merge pull request #29916 from nextcloud/backport/29893/stable23
[stable23] Improve accessibility for personal info settings and profile
2021-11-26 11:15:37 +01:00
Christopher Ng b5e314adf4 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:52:38 +00:00
Pytal d03df09879 Merge pull request #29909 from nextcloud/backport/29891/stable23 2021-11-25 16:10:58 -08:00
Joas Schilling 11722dd537 Merge pull request #29908 from nextcloud/backport/29894/stable23
[stable23] Fix inactive profile parameters being displayed in the Profile visibility section
2021-11-25 22:56:13 +01:00
Louis Chemineau 3f0cff6667 Use strict comparison to detect usage of redis cluster
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-25 18:57:35 +00:00
Christopher Ng be529b46d9 Adjust margin of status on profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-25 16:32:11 +00:00
Christopher Ng 608cf4a592 Fix inactive profile parameters being returned
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-25 16:28:34 +00:00
MichaIng e3de5140b6 Merge pull request #29800 from nextcloud/backport/29632/stable23
[stable23] fix imagecreatetruecolor() error
2021-11-25 17:13:34 +01:00
Joas Schilling b1d4efd9f2 Merge pull request #29898 from nextcloud/backport/29895/stable23
[stable23] Check for invalid characters before trimming
2021-11-25 14:14:45 +01:00
Joas Schilling 7f7f21a7b9 Correctly set the response after a ClientException as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 11:49:55 +00:00
Joas Schilling e6d35b6655 Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 11:49:54 +00:00
Joas Schilling 4736bba7f6 Check for invalid characters before trimming
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 11:49:54 +00:00
Pytal 11be6bf4ec Merge pull request #29877 from nextcloud/backport/29869/stable23 2021-11-24 11:07:38 -08:00
szaimen 43e032dd1b Merge pull request #29882 from nextcloud/backport/29826/stable23
[stable23] Personalsettings - fix marginLeft as it breaks the layout
2021-11-24 17:41:44 +01:00
szaimen 48e8f5a536 Personalsettings - remove marginLeft as it breaks the layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-24 13:47:34 +00:00
Vincent Petry 29166b6c61 Merge pull request #29876 from nextcloud/backport/29864/stable23
[stable23] Allow to fetch the creation time of folders
2021-11-24 12:45:43 +01:00
Christopher Ng 3a68a36ee4 Hide user status from public
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-24 10:33:33 +00:00
Julius Härtl 3d8aa4e038 Allow to fetch the creation time of folders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-24 10:23:30 +00:00
Pytal 21a1b0cace Merge pull request #29858 from nextcloud/backport/29791/stable23 2021-11-23 16:19:19 -08:00
szaimen d0385114e1 Merge pull request #29847 from nextcloud/backport/29833/stable23
[stable23] make profile page usable on mobile
2021-11-23 17:33:34 +01:00
szaimen ce69760500 fix imagecreatetruecolor() error
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-23 14:26:26 +00:00
szaimen 7b4c6fe066 make profile page usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 14:18:47 +00:00
Carl Schwan 17db07c50a Fix multiple bugs with user status
* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-23 13:39:27 +00:00
Louis 9b0b0fc8d3 Merge pull request #29844 from nextcloud/backport/29567/stable23
[stable23] Improve sorting of profile visibility dropdowns
2021-11-23 14:19:42 +01:00
Louis 503be0ef9f Merge pull request #29845 from nextcloud/backport/29544/stable23
[stable23] Fix wording on profile page
2021-11-23 14:17:43 +01:00
Vincent Petry a08b3b0f00 Merge pull request #29849 from nextcloud/backport/29835/stable23
[stable23] Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 14:03:01 +01:00
Vincent Petry 6ffd6b2dee Type hint in IpAddress
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2021-11-23 10:23:02 +00:00
Vincent Petry e7890cc401 Improve normalizer detecting IPv4 inside of IPv6
The subnet for an IPv4 address inside of IPv6 is now returned in its
IPv4 form.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:23:02 +00:00
Vincent Petry e98ee218be Fix getting subnet of ipv4 mapped ipv6 addresses
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-23 10:23:00 +00:00
Christopher Ng 185da2f25f Fix wording on profile page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 01:35:53 +00:00
Christopher Ng 256437d120 Improve sorting
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 01:35:52 +00:00
dependabot[bot] a33e0a6580 Merge pull request #29815 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.0 2021-11-22 20:43:40 +00:00
dependabot[bot] 2aeb134993 Update sabre/dav requirement from 4.1.5 to 4.2.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.1.5...4.2.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-22 19:58:42 +00:00
Louis 83e6007e34 Merge pull request #29813 from nextcloud/dependabot/npm_and_yarn/stable23/camelcase-6.2.1
Bump camelcase from 6.2.0 to 6.2.1
2021-11-22 11:06:23 +01:00
Joas Schilling 78db627d88 Merge pull request #29828 from nextcloud/backport/29708/stable23
[stable23] Do not print verbose info about app updates if there are none
2021-11-22 09:24:15 +01:00
Christoph Wurst 0afe44c449 Do not print verbose info about app updates if there are none
This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 02:24:59 +00:00
MichaIng 8fe072e798 Merge pull request #29793 from nextcloud/backport/29605/stable23
[stable23] Normalize file name before existence check in scanner
2021-11-21 20:02:09 +01:00
MichaIng 6debeae0cf Merge pull request #29797 from nextcloud/backport/29788/stable23
[stable23] Fix doc link in sharing settings
2021-11-21 19:58:52 +01:00
dependabot[bot] ba2145ae57 Bump camelcase from 6.2.0 to 6.2.1
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.0...v6.2.1)

---
updated-dependencies:
- dependency-name: camelcase
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-20 03:32:16 +00:00
acsfer 913e64c81a [stable23] Check for disk_free_space
Backport of https://github.com/nextcloud/server/pull/29758
2021-11-19 20:03:34 +01:00
Vincent Petry 38e7d94006 Fix doc link in sharing settings
The doc link "i" icon was on the wrong line.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 15:54:02 +00:00
szaimen 6559144834 Merge pull request #29789 from nextcloud/backport/29784/stable23
[stable23] App summary is optional
2021-11-19 16:24:45 +01:00
Vincent Petry f0661de4e5 Normalize directory entries in Encoding wrapper
Directory entry file names are now normalized in getMetaData(),
getDirectoryContents() and opendir().

This makes the scanner work properly as it assumes pre-normalized names.

In case the names were not normalized, the scanner will now skip the
entries and display a warning when applicable.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:38 +00:00
Vincent Petry 516b10de33 Move storage encoding compatibility warning logic
The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.

The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:38 +00:00
Vincent Petry 106950d493 Normalize file name before existence check in scanner
The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.

This normalizes the file name before scanning.

Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-19 14:51:38 +00:00
Joas Schilling 098cf1f9aa App summary is optional
Fixing:
Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-19 14:08:55 +00:00
blizzz d9e25f5f32 Merge pull request #29766 from nextcloud/version/23rc3
23 RC 3
2021-11-18 15:28:12 +01:00
blizzz 6c95b46948 Merge pull request #29760 from nextcloud/backport/29752/stable23
[stable23] Explicitly allow some routes without 2FA
2021-11-18 15:27:22 +01:00
Arthur Schiwon 6c7bc8ac98 23 RC 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-18 13:58:39 +01:00
Christoph Wurst ea38a798f3 Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-18 13:03:39 +01:00
Carl Schwan 7be83b23f4 Merge pull request #29749 from nextcloud/backport/29747/stable23
[stable23] Allow to serve static WebAssembly and TensorFlow Lite files
2021-11-17 20:55:12 +01:00
rakekniven 73b8a016a4 Merge pull request #29746 from nextcloud/backport/29734/stable23
[stable23] Fixed grammar
2021-11-17 16:56:05 +01:00
Daniel Calviño Sánchez 8ff4870026 Allow to serve static WebAssembly and TensorFlow Lite files
Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow
Lite (.tflite) files need to be loaded from the web server to provide
certain features (like the background blur in the WebUI).

Those files can be treated in a similar way to other static resources,
and there should not be any problem caching or compressing them.
However, as compressed TensorFlow Lite files are only ~12% smaller,
the compression directive depends on the MIME type and there is no
standard MIME type for TensorFlow Lite files it is not worth to compress
them.

Moreover, no directives to compress WebAssembly files were added either,
as it seems that they would override any other compression directives
set in the default server configuration; for reference it could be done
with something like:
<IfModule mod_deflate.c>
  <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE application/wasm
  </IfModule>
</IfModule>

Depending on the setup "application/wasm" may not be associated with
".wasm" files, so the directive was added just in case, as otherwise
browsers log a warning.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-17 14:11:52 +00:00
Vincent Petry 016482e50c Merge pull request #29672 from nextcloud/backport/29663/stable23
[stable23] Fix loading all principal calendars in the dav app calendar provider
2021-11-17 13:14:47 +01:00
Vincent Petry 2fb31dffc6 Merge pull request #29662 from nextcloud/enhancement/calendar-search-properties-api-stable23
[stable23] Document allowed property names for calendar property searches
2021-11-17 13:14:05 +01:00
rakekniven eecfa3f105 Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-11-17 11:08:09 +00:00
Vincent Petry b8318c2363 Merge pull request #29737 from nextcloud/backport/29695/stable23
[stable23] Fix missing setlocale with php 8
2021-11-17 08:10:45 +01:00
Naoto Kobayashi acece8f4ba OC_Util::isNonUTF8Locale: fix lint error
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:18 +00:00
Naoto Kobayashi 5fc031c91f OC_Util::isSetLocaleWorking: fix typo
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:18 +00:00
Naoto Kobayashi d27be604d4 OC_Util: Add fallbacks to check if current locale is UTF8
Using escapeshellcmd to get current locale causes error
if the function is disabled.

Add fallbacks to prevent the error.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:18 +00:00
Naoto Kobayashi df52393d31 Add check whether escapeshellcmd behaves the same as basename
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:18 +00:00
Naoto Kobayashi 3b83976c98 Check whether setlocale works only after setlocale
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:18 +00:00
Naoto Kobayashi 7e80182e75 Fix missing setlocale with php 8
When php version = 8, basename('§') does not bug even if LC_ALL is non-UTF-8 locale.
This cause OC_Util::isSetLocaleWorking() to skip setlocale("C.UTF-8").

Fix it by using escapeshellcmd instead of basename.

Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 17:52:17 +00:00
MichaIng a80d49a0e7 Merge pull request #29728 from nextcloud/backport/29683/stable23
[stable23] Fix core depending on theming app
2021-11-16 13:24:26 +01:00
MichaIng 077c45f173 Correct comment about OC_Defaults being used
Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-16 10:36:05 +00:00
Carl Schwan b8da11cd62 Fix core depending on theming app
This was introduced in https://github.com/nextcloud/server/commit/309354852f12ae88d5eef05d311d6ebcba8ee762
to fix a bug but I can't reproduce the bug after reverting this change.

Ideally we would need to create an interface in OCP and cleanup OC_Defaults
instead of depending on OC_Defaults.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-16 10:36:04 +00:00
John Molakvoæ 0233cd4edb Merge pull request #29716 from nextcloud/bump-doctrine-dbal-23 2021-11-15 19:55:18 +01:00
Joas Schilling ebfb94fbc0 Bump doctrine/dbal to 3.1.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:55:23 +01:00
Joas Schilling 8b0bf9eadf Allow NULL as well for limit, not integer only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:53:42 +01:00
szaimen 1e1ef32cca Merge pull request #29705 from nextcloud/backport/29679/stable23
[stable23] don't flash external storage mountpoints during the status check
2021-11-15 16:33:21 +01:00
szaimen 3bd26b630e don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-15 12:12:37 +00:00
Louis 9eac3099d3 Merge pull request #29659 from nextcloud/dependabot/npm_and_yarn/stable23/bootstrap-4.6.1
Bump bootstrap from 4.6.0 to 4.6.1
2021-11-15 11:53:29 +01:00
Louis 28376490bf Merge pull request #29653 from nextcloud/dependabot/npm_and_yarn/stable23/moment-timezone-0.5.34
Bump moment-timezone from 0.5.33 to 0.5.34
2021-11-15 11:46:53 +01:00
Louis f37d550f8a Merge pull request #29649 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.1.5
Update sabre/dav requirement from 3.2.3 to 4.1.5 in /build/integration
2021-11-15 11:34:00 +01:00
Louis ca2e024fb0 Merge pull request #29654 from nextcloud/dependabot/npm_and_yarn/stable23/marked-3.0.8
Bump marked from 3.0.7 to 3.0.8
2021-11-15 11:30:03 +01:00
John Molakvoæ b1c32d32b1 Merge pull request #29701 from nextcloud/fix-branch-selection-in-stable23 2021-11-15 10:13:41 +01:00
Christoph Wurst bf5c89bbdd Merge pull request #29671 from nextcloud/backport/29660/stable23
[stable23] Fix initialization of calendar search URIs
2021-11-15 09:52:24 +01:00
Joas Schilling 49486de8cd Fix branch selection in stable23
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 06:58:05 +01:00
dependabot[bot] 59cb10c59a Bump bootstrap from 4.6.0 to 4.6.1
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-13 21:48:51 +00:00
dependabot[bot] 025951ebf4 Update sabre/dav requirement from 3.2.3 to 4.1.5 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/3.2.3...4.1.5)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 18:09:40 +00:00
dependabot[bot] 7a5dcf7e3e Bump moment-timezone from 0.5.33 to 0.5.34
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.33 to 0.5.34.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.33...0.5.34)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-13 18:09:39 +00:00
MichaIng 6db690c3c7 Merge pull request #29651 from nextcloud/dependabot/composer/build/integration/stable23/behat/behat-approx-3.10.0
Update behat/behat requirement from ~3.9.0 to ~3.10.0 in /build/integration
2021-11-13 19:08:47 +01:00
dependabot[bot] fb214c25c6 Bump marked from 3.0.7 to 3.0.8
Bumps [marked](https://github.com/markedjs/marked) from 3.0.7 to 3.0.8.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.7...v3.0.8)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-13 16:49:45 +00:00
blizzz 84397254b6 Merge pull request #29686 from nextcloud/version/23rc2
23.0.0 RC2
2021-11-12 16:42:13 +01:00
blizzz 22641dfd3f Merge pull request #29684 from nextcloud/backport/29682/stable23
[stable23] Fix missing token update
2021-11-12 16:41:48 +01:00
Arthur Schiwon cbfb7811a5 udpdate CA bundle
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-12 16:30:14 +01:00
Arthur Schiwon d67f540d15 23.0.0 RC2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-12 15:58:14 +01:00
Joas Schilling f0045bf139 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 14:49:38 +00:00
Joas Schilling 21f7134fe0 Fix missing token update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 14:49:38 +00:00
Joas Schilling 35546c034d Merge pull request #29677 from nextcloud/bugfix/noid/fix-video-verification-tests
Fix video verification tests
2021-11-12 12:19:36 +01:00
Joas Schilling 9967198e5a Fix video verification tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 16:47:12 +01:00
John Molakvoæ 36f1714f1d Merge pull request #29666 from nextcloud/backport/29664/stable23 2021-11-11 16:44:31 +01:00
Christoph Wurst dab21ab707 Fix loading all principal calendars in the dav app calendar provider
If we load all calendar infos of a principal then we get back an array
and not a single calendar info. This was handled incorrectly and an
array of calendar infos were passed to the calendar implementation,
resulting in interesting bugs.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 15:12:51 +00:00
Christoph Wurst ddf6b82112 Fix initialization of calendar search URIs
They are an empty array by default. If you don't initialize then
accessing them via the setter will throw a type error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 15:07:36 +00:00
Joas Schilling 32005be6b2 Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 13:39:22 +00:00
Christoph Wurst 0b72abb7a5 Document allowed property names for calendar property searches
For API users it looked like any properties could be searched. But it
turned out to be a hand picked list of properties that we index and then
use for the search. To prevent application errors where special props
are not found, I suggest we document the allowed values.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 11:02:48 +01:00
dependabot[bot] 2e14d28262 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.9.0...v3.10.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-11 09:38:46 +00:00
blizzz 4e1e81f336 Merge pull request #29595 from nextcloud/release/23.0.0rc1
23.0.0 RC1
2021-11-10 20:48:14 +01:00
Carl Schwan 344a889592 Merge pull request #29484 from nextcloud/bugfix/noid/s3-external-conflict
Use unique combination of hostname/bucket/key for external storages
2021-11-10 15:56:10 +01:00
Joas Schilling 9673579f20 Merge pull request #29522 from nextcloud/bugfix/26256/make-sure-trusted_proxies-is-an-array
Make sure trusted_proxies is an array
2021-11-10 14:12:38 +01:00
Carl Schwan f5954a2761 Merge pull request #29611 from newroco/bugfix/16412/show-most-recently-deleted-files-first
Show most recently deleted files first in trash can
2021-11-10 13:55:59 +01:00
Orzu Ionut 00c23ccd02 Update filelist test
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 12:10:56 +02:00
Orzu Ionut 5b075847f8 Compile JS code
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-10 11:49:19 +02:00
Nextcloud bot 70c10f09fe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-10 02:24:27 +00:00
Joas Schilling a99efca551 Merge pull request #29559 from nextcloud/feat/28139/profile-respect-user-enumeration
Respect user enumeration settings on profile
2021-11-09 23:49:01 +01:00
Christoph Wurst 52f8f4a399 Merge pull request #29590 from nextcloud/enhanc/availibility_settings_polishing
Polish availibility settings
2021-11-09 18:06:24 +01:00
Orzu Ionut 33c1c5c91b Show most recently deleted files first in trash can
Signed-off-by: Orzu Ionut <orzu.ionut@gmail.com>
2021-11-09 16:59:16 +02:00
Joas Schilling e8f7a08e52 ArgumentCountError: Too few arguments to function OCA\Settings\Controller\CheckSetupController::__construct()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +01:00
Joas Schilling 24935666e8 PHPUnit\Framework\MockObject\DuplicateMethodException: Cannot stub or mock using a method list that contains duplicates:
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +01:00
Joas Schilling 19d070850b Make sure trusted_proxies is an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 15:13:24 +01:00
Joas Schilling 3b91e4cc48 Add unit test for share enumeration method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 14:42:57 +01:00
Julius Härtl b7d007547a Add migration to move over existing storage ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-09 14:34:05 +01:00
greta 3b22d1902d Polish availibility settings
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-09 11:58:21 +01:00
Joas Schilling fa036b2001 Move common logic to share manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-09 10:10:53 +01:00
Nextcloud bot 81b60c14c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-09 03:26:13 +00:00
Carl Schwan d879299a61 Merge pull request #29029 from nextcloud/fix/28243/render-html-entities
Fix HTML entity rendering in file comments sidebar
2021-11-08 23:51:24 +01:00
Christopher Ng e5873a2f8d Fix HTML entity rendering in file comments sidebar
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 22:21:13 +01:00
dependabot[bot] 18e32104ce Merge pull request #29574 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.1 2021-11-08 17:39:44 +00:00
John Molakvoæ c208981349 Merge pull request #29572 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.1.1
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-08 16:32:39 +00:00
Julien Veyssier 7c516a1af3 Merge pull request #29592 from nextcloud/enh/11864/drag-n-drop-empty-directory
Handle empty directory drag-and-drop in Files UI
2021-11-08 17:17:05 +01:00
John Molakvoæ c9421e39c1 Merge pull request #29594 from nextcloud/fix/force-calendar-object-change-path 2021-11-08 16:52:13 +01:00
dependabot[bot] 5a86aa98fd Bump @nextcloud/event-bus from 2.0.0 to 2.1.1
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 2.0.0 to 2.1.1.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v2.0.0...v2.1.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 15:42:24 +00:00
dependabot[bot] 17881a0b5e Bump core-js from 3.19.0 to 3.19.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.0 to 3.19.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.19.0...v3.19.1)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-08 15:42:00 +00:00
Anna Larch da22791424 Force Calendar Obejct Chnage Path to support public write
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-08 16:06:39 +01:00
John Molakvoæ cb0df3ecfa 23.0.0 RC1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-08 15:29:12 +01:00
Julien Veyssier 742703c92f refs #11864 handle empty dir drop in Files UI
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-11-08 12:22:57 +01:00
Nextcloud bot 586cc9bcbc [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-08 02:33:09 +00:00
Nextcloud bot 690ba0087e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-07 02:22:34 +00:00
dependabot[bot] b12d24707c Merge pull request #29569 from nextcloud/dependabot/npm_and_yarn/nextcloud/initial-state-1.2.1 2021-11-06 13:00:46 +00:00
dependabot[bot] 073007bfdd Bump @nextcloud/initial-state from 1.2.0 to 1.2.1
Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/initial-state"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-06 12:19:32 +00:00
dependabot[bot] 86bcf949e1 Merge pull request #29573 from nextcloud/dependabot/npm_and_yarn/jsdom-18.0.1 2021-11-06 06:32:04 +00:00
dependabot[bot] f032708dce Merge pull request #29568 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.15.0 2021-11-06 04:12:06 +00:00
dependabot[bot] 4c2204e897 Bump jsdom from 18.0.0 to 18.0.1
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.0.0 to 18.0.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/18.0.0...18.0.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-06 03:06:24 +00:00
Nextcloud bot b352bf7e97 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-06 02:22:41 +00:00
dependabot[bot] 5cd4724d32 Bump @testing-library/jest-dom from 5.14.1 to 5.15.0
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.14.1...v5.15.0)

---
updated-dependencies:
- dependency-name: "@testing-library/jest-dom"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-06 02:02:39 +00:00
Christopher Ng f4307ef4b1 Respect user enumeration settings on profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-05 21:33:03 +00:00
Vincent Petry 6d5f10eb57 Merge pull request #25332 from nextcloud/fix-removing-remote-shares-when-the-remote-server-is-unreachable
Fix removing remote shares when the remote server is unreachable
2021-11-05 14:53:11 +01:00
Vincent Petry 93fb33d863 Update lib/private/Files/Storage/Wrapper/Availability.php add void
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2021-11-05 10:28:41 +01:00
Vincent Petry c687592266 Update psalm baseline
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-05 09:48:52 +01:00
Vincent Petry db29fd29ee Return false in hasUpdated when storage is not available
Technically, saying that a storage has no updates when it's not
available is correct.

This makes it possible to retrieve the cache entry for the mount point
and also to list and remove unavailable federated shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez 51317a8b92 Add integration tests for federated shares from unavailable servers
The federated server needs to be stopped during the tests, so it is now
stopped in the FederationContext for each scenario instead of just once
in the run.sh script.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez 9497a7c4ff Add integration tests for listing federated shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:52 +01:00
Daniel Calviño Sánchez 66b5a2d56a Add integration tests for deleting federated shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-11-05 09:48:49 +01:00
Pytal ec4474c459 Merge pull request #29545 from nextcloud/fix/supported-scopes-profile-properties 2021-11-04 19:55:57 -07:00
Nextcloud bot 7cc92fff7a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-05 02:22:55 +00:00
Christopher Ng 5b3a114cc5 Fix unsupported scopes being enabled for new properties
- Shorten disabled scope messages
- Update wording

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-04 23:13:43 +00:00
Christoph Wurst e1c2c13585 Merge pull request #29536 from nextcloud/fix/add-full-calendar-path-for-public-write
Fix missing calendar path for public write on Calendars
2021-11-04 16:31:29 +01:00
Carl Schwan addab1e799 Merge pull request #29555 from nextcloud/update-composer-2-1-11
Update to composer 2.1.11
2021-11-04 16:31:04 +01:00
Anna Larch bc68108f2a Fix missing calendar path for public write on Calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-11-04 12:52:55 +01:00
Carl Schwan dacf2e47a3 Update to composer 2.1.11
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-11-04 12:30:11 +01:00
John Molakvoæ c6429e6cd1 Merge pull request #29547 from nextcloud/automated/noid/psalm-baseline-update 2021-11-04 11:48:51 +01:00
John Molakvoæ 421d8ac4b3 Add branch-suffix to update-psalm-baseline PR creation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 11:42:34 +01:00
Julius Härtl 4e57146617 Use unique combination of hostname/bucket/key for external storages
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-04 11:34:13 +01:00
John Molakvoæ d6152bf98d Fix psalm
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-04 10:24:13 +01:00
John Molakvoæ 0dc51320e8 Add 3. to review label 2021-11-04 10:19:29 +01:00
nextcloud-command b1a4b239b8 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-11-04 09:17:46 +00:00
John Molakvoæ ac4cad4330 Merge pull request #29546 from nextcloud/psalm/baseline-continue-on-error 2021-11-04 10:14:53 +01:00
John Molakvoæ e20f002c4f Add continue-on-error for update-psalm-baseline workflow 2021-11-04 10:11:56 +01:00
Julius Härtl 1dc487b9f8 Merge pull request #29529 from nextcloud/fix/update-psalm-baseline 2021-11-04 09:49:24 +01:00
John Molakvoæ 7bf9382575 Merge pull request #29482 from nextcloud/feat/revamp-profile-visibility-section 2021-11-04 08:32:22 +01:00
John Molakvoæ 42cafb9d19 Merge pull request #29501 from nextcloud/release/23.0.0beta3 2021-11-04 08:31:54 +01:00
Christoph Wurst 18e6288c89 Merge pull request #29533 from nextcloud/enhancement/get-calendars-for-principal-api
Add IManager::getCalendarsForPrincipal API
2021-11-04 07:33:49 +01:00
Christopher Ng 19c62d051f Add new profile visibility section
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-04 00:31:32 +00:00
Christopher Ng 50a6612c1f Refine profile backend for frontend visibility requirements
- Provide metadata
  - Dynamic displayId
  - Add appId
- Filter out unused parameter config properties from the existing profile config

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-04 00:17:29 +00:00
Christopher Ng eb6217f551 Better function descriptions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-03 23:15:56 +00:00
Christopher Ng ee1c6eefb4 Add additional check on action registrations
- Minor refactor

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-03 23:15:56 +00:00
Christoph Wurst b453fea4da Merge pull request #29525 from nextcloud/bugfix/noid/allow-to-inject-by-public-interface
Allow to inject the trusted domain helper by public interface
2021-11-03 14:16:12 +01:00
Christoph Wurst 3ef6a099a3 Add IManager::getCalendarsForPrincipal API
The Calendar app needs to access calendars of a given principal in the
back-end. The new calendar providers were not accessible for apps before
this patch. Now they can access the ICalendar objects on demand.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-03 12:19:47 +01:00
Joas Schilling de26160778 Allow to inject the trusted domain helper by public interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03 11:06:19 +01:00
John Molakvoæ 6ee4e6a796 Update update-psalm-baseline.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-03 10:23:33 +01:00
Nextcloud bot 5705af29a5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-03 02:23:35 +00:00
Christoph Wurst 95480f5a91 Merge pull request #29524 from nextcloud/bugfix/noid/fix-phpunit-warnings
Fix missing import of ILogger
2021-11-02 19:23:23 +01:00
Joas Schilling f8463e1fc6 Fix missing import of ILogger
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-02 16:47:16 +01:00
Côme Chilliet f90176efce Merge pull request #29479 from nextcloud/fix/images-php-8.0
Fix image handling for PHP 8.0
2021-11-02 10:57:08 +01:00
Nextcloud bot b15b41d731 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-02 02:22:15 +00:00
John Molakvoæ 44c06a9641 Merge pull request #29502 from nextcloud/revert-27378-dav-recalc-checksum 2021-11-01 13:50:52 +01:00
John Molakvoæ 2547d2a6ba Merge pull request #28385 from nextcloud/search-handle-wrapper-filtered-entries 2021-11-01 13:39:03 +01:00
Robin Appelman 118c647f61 properly handle cases where cache wrappers block access
`CacheWrapper::formatCacheEntry` can return false for files that should be filtered out

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-11-01 11:48:01 +01:00
John Molakvoæ 63d3931e80 Merge pull request #29281 from vijfhoek/master 2021-11-01 11:29:37 +01:00
John Molakvoæ d6a26b2536 Revert "add dav plugin to trigger recalculating of checksums" 2021-11-01 11:26:17 +01:00
John Molakvoæ e1bf5c1cd3 Merge pull request #27378 from nextcloud/dav-recalc-checksum 2021-11-01 11:25:21 +01:00
John Molakvoæ bad805d0c2 Merge pull request #29465 from nextcloud/crl/noid/previewgenerator 2021-11-01 11:23:09 +01:00
John Molakvoæ c8f6715cc4 23.0.0 beta 3
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-01 11:15:41 +01:00
Valdnet 67d635e099 Merge pull request #29497 from nextcloud/rakekniven-patch-1
Fixed grammar for "trash bin"
2021-11-01 11:12:10 +01:00
rakekniven 7729a01cc5 Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-01 08:41:30 +00:00
Nextcloud bot 8f114811df [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-01 02:22:37 +00:00
rakekniven 21208a9845 Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-10-31 18:25:35 +01:00
Nextcloud bot 8c9be266a8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-31 02:22:04 +00:00
dependabot[bot] 1b6e32bf88 Merge pull request #29490 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.0 2021-10-30 17:25:33 +00:00
dependabot[bot] 1894e5cef3 Bump core-js from 3.18.3 to 3.19.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.3 to 3.19.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.3...v3.19.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-30 16:46:17 +00:00
dependabot[bot] 4dfc14cc0d Merge pull request #29489 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.3 2021-10-30 16:15:53 +00:00
dependabot[bot] 5fd3056642 Bump vue-router from 3.5.2 to 3.5.3
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.5.2 to 3.5.3.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-30 15:22:43 +00:00
dependabot[bot] a6330ea72e Merge pull request #29487 from nextcloud/dependabot/npm_and_yarn/sass-1.43.4 2021-10-30 14:46:01 +00:00
dependabot[bot] 0661e05618 Bump sass from 1.43.3 to 1.43.4
Bumps [sass](https://github.com/sass/dart-sass) from 1.43.3 to 1.43.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.3...1.43.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-30 14:07:16 +00:00
Nextcloud bot 18f9f394ed [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-30 02:22:16 +00:00
Nextcloud bot 4c3ad0d69f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-29 02:22:24 +00:00
Christoph Wurst 2d698cc629 Merge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable
Fix immutable datetime handling in DAV calendar search
2021-10-28 22:15:13 +02:00
Christoph Wurst b6a4e024a4 Merge pull request #29480 from nextcloud/fix/missing-dav-calendar-provider
Register missing DAV app calendar provider
2021-10-28 21:04:45 +02:00
Christoph Wurst 2956f1c017 Fix immutable datetime handling in DAV calendar search
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-28 19:45:39 +02:00
John Molakvoæ e1273da3c4 Merge pull request #29431 from nextcloud/release/23.0.0beta2 2021-10-28 18:46:52 +02:00
Christoph Wurst b193f854d1 Register missing DAV app calendar provider
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-28 18:33:13 +02:00
Côme Chilliet 58b6f35522 Enable Avatar tests as well for PHP>=8
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-28 17:49:32 +02:00
Côme Chilliet 23a4e17bd1 Revert "Do not run image tests on php8"
This reverts commit d690f90928.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-28 17:49:21 +02:00
Côme Chilliet 3631789651 Fix resource usages in OC_Image
This makes sure using resource or GdImage (PHP>=8) behaves the same.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-28 17:48:43 +02:00
Carl Schwan df4e6bab69 Merge pull request #29115 from nextcloud/work/carl/correct-permissions-when-copying
Fix permissions when copying from ObjectStorage
2021-10-28 14:38:20 +02:00
Carl Schwan bfa60aaf27 Fix permissions when copying from ObjectStorage
Make sure that when a user copy a file from a directory they don't have
all permissions to a directory where they have more permissions, the
permissions are correctly set to the one from the parent taget folder.

This was caused by the ObjectStoreStorage::copyFromStorage using
the jailed storage and cache entry instead of the unjailed one like other
storages (the local one).
Steps to reproduce

+ Use object storage
+ Create a groupfolder with one group having full permission and another one
  who can just read files.
+ With an user who is in the second group, copy a file from the groupfolder to
  the home folder of this user.
+ The file in the home folder of the user will be read only and can't be deleted
  even though it is in their home folder and they are the owner. In oc_filecache,
  the permissions stored for this file are 1 (READ)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-28 13:29:50 +02:00
Joas Schilling 74cfe7348d Merge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain-helpers
Add an OCP for trusted domain helper
2021-10-28 11:45:03 +02:00
Joas Schilling c42f5bc5f6 Add an OCP for trusted domain helper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-28 10:24:16 +02:00
Nextcloud bot 9b7258fca5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-28 02:22:54 +00:00
Arthur Schiwon 0f22b31198 update crl
- previewgenerator was revoked

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-27 23:51:42 +02:00
blizzz 1666bb0790 Merge pull request #29454 from nextcloud/bugfix/noid/detect-mimetype-by-content-only-with-content
Detect mimetype by content only with content
2021-10-27 14:26:31 +02:00
John Molakvoæ 3f8ca991fc Merge pull request #29453 from nextcloud/bugfix/noid/improve-wording 2021-10-27 10:48:21 +02:00
Joas Schilling 7a6d559f19 Detect mimetype by content only with content
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 10:46:44 +02:00
John Molakvoæ ac7930bf1f Merge pull request #29327 from nextcloud/bugfix/noid/do-not-make-actionbuttons-spans-too-transparent 2021-10-27 10:17:11 +02:00
Joas Schilling 9a18bd7abf Improve wording
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 10:12:30 +02:00
Nextcloud bot 325606c8e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-27 02:23:37 +00:00
John Molakvoæ bb39a21079 Merge pull request #29436 from nextcloud/fix/profile-link-action-registration 2021-10-26 12:38:23 +02:00
Christopher Ng 7b1cdf1fa6 Prevent unnecesary profile action registrations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-26 08:59:28 +00:00
John Molakvoæ 1b366a033a Merge pull request #29435 from nextcloud/explicitly-name-profile-link-action 2021-10-26 10:51:11 +02:00
Vincent Petry f9629c0cb1 Merge pull request #26841 from nextcloud/bugfix/files-search-filter
Implement local filtering in file list
2021-10-26 08:23:51 +02:00
Nextcloud bot b691f30af1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-26 02:22:53 +00:00
Christopher Ng 9f8eae3f50 Use more explicit naming for profile link action
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-25 22:20:19 +00:00
Christoph Wurst 9177afe8ab Merge pull request #29318 from nextcloud/fix/dav-availability-settings-timezone-id
Read and write time zone ID when updating CalDAV availability
2021-10-25 16:57:16 +02:00
Julius Härtl 9c937a63bf Move to combined files entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 16:51:37 +02:00
Joas Schilling 584d275a50 Fix "No entries in this …" template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-25 16:17:38 +02:00
Julius Härtl df0efe0d62 Implement local filtering in file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-25 16:17:37 +02:00
Christoph Wurst a34f94df69 Get VTIMEZONE data from a time zone database lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-25 15:56:46 +02:00
John Molakvoæ b277faebe5 23.0.0 beta 2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-25 15:54:57 +02:00
Julius Härtl 9356124700 Merge pull request #29021 from nextcloud/work/smb/additional-logging 2021-10-25 13:25:04 +02:00
Louis 317d97309f Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete
Add autocompletion for password reset
2021-10-25 12:24:31 +02:00
Christoph Wurst 9b6238aabd Read and write time zone ID when updating CalDAV availability
Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-25 11:08:37 +02:00
John Molakvoæ d231d2618d Merge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2 2021-10-25 09:25:03 +02:00
John Molakvoæ 8ea91b4364 Merge pull request #26531 from J0WI/refactor-preview-exec 2021-10-25 09:23:01 +02:00
Joas Schilling 06611e4780 Revert "Fix "never catch" catches in OC_App" 2021-10-25 08:41:56 +02:00
Nextcloud bot dc9b05256c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-25 02:22:23 +00:00
Nextcloud bot 7629bc83d8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-24 02:22:24 +00:00
J0WI 047cab8dd2 Use findBinaryPath for previews
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-10-23 23:15:42 +02:00
John Molakvoæ 623ac8c706 Merge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-module 2021-10-23 19:10:34 +02:00
alanmeeson 16f70e8647 Add type hint to fread_block $blockSize param & apply cs:fix.
Signed-off-by: alanmeeson <alan@carefullycalculated.co.uk>
2021-10-23 15:11:23 +01:00
Alan Meeson 44c332a46e Fix truncation of files upon read when using object store and encryption.
When using and object store as primary storage and using the default
encryption module at the same time,  any encrypted file would be truncated
when read, and a text error message added to the end.

This was caused by a combination of the reliance of the read functions on
on knowing the unencrypted file size,  and a bug in the function which
calculated the unencrypted file size for a given file.

In order to calculate the unencrypted file size,  the function would first
skip the header block, then use fseek to skip to the last encrypted block
in the file.  Because there was a corresponence between the encrypted and
unencrypted blocks, this would also be the last encrypted block.  It would
then read the final block and decrypt it to get the unencrypted length of
the last block.  With that, the number of blocks, and the unencrypted block
size, it could calculate the unencrypted file size.

The trouble was that when using an object store, an fread call doesn't
always get you the number of bytes you asked for, even if they are
available.  To resolve this I adapted the stream_read_block function from
lib/private/Files/Streams/Encryption.php to work here.  This function
wraps the fread call in a loop and repeats until it has the entire set of
bytes that were requested,  or there are no more to get.

This fixes the imediate bug, and should (with luck) allow people to get
their encrypted files out of Nextcloud now.  (The problem was purely on
the decryption side).  In the future it would be nice to do some
refactoring here.

I have tested this with image files ranging from 1kb to 10mb using
Nextcloud version 22.1.0 (the nextcloud:22.1-apache docker image), with
sqlite and a Linode object store as the primary storage.

Signed-off-by: Alan Meeson <alan@carefullycalculated.co.uk>
2021-10-23 15:11:23 +01:00
Julius Härtl 2b651cc022 Merge pull request #29400 from nextcloud/fix/noid/undef-index-error
fixes an undefined index when getAccessList returns an empty array
2021-10-23 14:46:36 +02:00
John Molakvoæ f4e4a85fcf Merge pull request #27440 from nextcloud/is-file-handle 2021-10-23 11:18:52 +02:00
John Molakvoæ c5e9f379bd Merge pull request #28138 from nextcloud/zorn-v-patch-2 2021-10-23 11:18:07 +02:00
John Molakvoæ a06001e085 Merge pull request #29363 from nextcloud/fair-use-push 2021-10-23 10:53:22 +02:00
John Molakvoæ 7e117da435 Merge pull request #29397 from nextcloud/fix/noid/profile-missing-def-values 2021-10-23 10:52:44 +02:00
dependabot[bot] 811670a3ad Merge pull request #29413 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.5.0 2021-10-23 06:21:33 +00:00
dependabot[bot] 6bd9076427 Merge pull request #29412 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1 2021-10-23 05:27:16 +00:00
dependabot[bot] 8885f31b82 Merge pull request #29408 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.9.0 2021-10-23 05:00:44 +00:00
dependabot[bot] 5136fcc35a Merge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3 2021-10-23 03:49:04 +00:00
dependabot[bot] 475d3a6521 Bump @testing-library/user-event from 13.4.1 to 13.5.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.4.1 to 13.5.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.4.1...v13.5.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 03:46:56 +00:00
dependabot[bot] 12171669c5 Merge pull request #29401 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3 2021-10-23 03:45:23 +00:00
Nextcloud bot 7c2d8d3e82 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-23 02:22:31 +00:00
dependabot[bot] 6f36a97d34 Bump webpack-cli from 4.9.0 to 4.9.1
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.0 to 4.9.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.0...webpack-cli@4.9.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 02:17:58 +00:00
dependabot[bot] 400f1a7938 Update behat/behat requirement in /build/integration
Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 01:04:34 +00:00
dependabot[bot] f664fa8c84 Bump sass from 1.43.2 to 1.43.3
Bumps [sass](https://github.com/sass/dart-sass) from 1.43.2 to 1.43.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.2...1.43.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 01:03:33 +00:00
dependabot[bot] 20c613af47 Bump babel-loader from 8.2.2 to 8.2.3
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-23 01:03:20 +00:00
Vitor Mattos 6f7ca3432c show warning on personal settings page
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-23 00:54:51 +02:00
Vitor Mattos e55ceb2bb1 Show warning on admin settings page
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-23 00:54:50 +02:00
Vitor Mattos d613b32045 add check isFairUseOfFreePushService on login
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-23 00:54:50 +02:00
Joas Schilling b578a1e8b5 Fair use of push notifications
We want to keep offering our push notification service for free, but large
users overload our infrastructure. For this reason we have to rate-limit the
use of push notifications. If you need this feature, consider setting up your
own push server or using Nextcloud Enterprise.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-23 00:54:50 +02:00
Arthur Schiwon e26d6f080b fix populating account array with missing default values
- both $userData and $defaultUserData have numeric indices
- each element contains at least the name and other fields
- appending the missing data array is sufficient

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-22 23:05:43 +02:00
Arthur Schiwon 7d7ef1d2e6 fixes an undefined index when getAccessList returns an empty array
- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-22 22:42:25 +02:00
Daniel 1895a6dc57 Merge pull request #29378 from nextcloud/fix/unhelpful-route-name-error
Make the route name error more helpful
2021-10-22 22:33:35 +02:00
Julius Härtl 6b099ecfe5 Merge pull request #25392 from nextcloud/imountpoint-ocp-storage 2021-10-22 20:14:22 +02:00
Julius Härtl 3b06b47607 Merge pull request #29382 from nextcloud/techdebt/noid/500-on-OCS-after-internal-error 2021-10-22 15:16:32 +02:00
Carl Schwan b7a35afcf1 Add autocompletion for password reset
Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-10-22 12:18:26 +02:00
acsfer dae769d082 Update Tests 2021-10-22 12:16:11 +02:00
John Molakvoæ 8b742ab394 Merge pull request #28997 from nextcloud/fix/set-attendee-as-recipient 2021-10-22 12:07:39 +02:00
John Molakvoæ 2be0eda47c Merge pull request #29220 from nextcloud/s3-external-list 2021-10-22 12:06:05 +02:00
John Molakvoæ b2c32b7e6c Merge pull request #27731 from ZitronePlus/master 2021-10-22 12:04:07 +02:00
John Molakvoæ 09bcb766f4 Merge pull request #26989 from fuchsi3010/master 2021-10-22 11:58:14 +02:00
John Molakvoæ c98039c1df Merge pull request #26725 from nextcloud/fix-federated-scope-not-shown-when-public-addressbook-upload-is-disabled 2021-10-22 11:52:56 +02:00
John Molakvoæ e673ec0b87 Merge branch 'master' into imountpoint-ocp-storage 2021-10-22 11:47:37 +02:00
John Molakvoæ 0a35937662 Merge pull request #26347 from J0WI/clean-path-regex 2021-10-22 11:42:30 +02:00
John Molakvoæ aef40c7cf4 Merge pull request #27876 from nextcloud/bugfix/noid/use-cached-user-backend-info-for-password-login 2021-10-22 11:37:43 +02:00
John Molakvoæ 7e3b6e7088 Merge pull request #29344 from nextcloud/dependabot/composer/doctrine/dbal-3.1.3 2021-10-22 11:35:02 +02:00
John Molakvoæ 867579ced2 Merge pull request #29304 from JanBartels/master 2021-10-22 11:33:03 +02:00
zorn-v 9cb0b8c713 Fix "never catch" catches in OC_App
Need to check another legacy. Need to explicitly add to use or do not forget add slash `\`
2021-10-22 09:29:03 +00:00
Joas Schilling c160668b07 Return 500 and the exception message (on debug) on OCS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-22 11:26:18 +02:00
John Molakvoæ a9fe0fc527 Merge pull request #29357 from nextcloud/fix/concurrent-duplicate-auth-token-updates 2021-10-22 10:58:52 +02:00
Christoph Wurst e36823f79d Make the route name error more helpful
As a developer I have no clue what "Invalid route name" means. If the
exception gives me a hint I might find it easier to figure out why my
route triggers this error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22 10:41:27 +02:00
szaimen 686f293eee Merge pull request #29375 from nextcloud/bugfix/noid/translate-calendar-schedule-response
Make calendar schedule options translatable
2021-10-22 10:41:11 +02:00
Daniel e75d226fba Merge pull request #29373 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-22 10:23:25 +02:00
Julius Härtl b30f499597 Make calendar schedule options translatable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-22 09:33:40 +02:00
Christoph Wurst 7dd7256cfe Prevent duplicate auth token activity updates
The auth token activity logic works as follows
* Read auth token
* Compare last activity time stamp to current time
* Update auth token activity if it's older than x seconds

This works fine in isolation but with concurrency that means that
occasionally the same token is read simultaneously by two processes and
both of these processes will trigger an update of the same row.
Affectively the second update doesn't add much value. It might set the
time stamp to the exact same time stamp or one a few seconds later. But
the last activity is no precise science, we don't need this accuracy.

This patch changes the UPDATE query to include the expected value in a
comparison with the current data. This results in an affected row when
the data in the DB still has an old time stamp, but won't affect a row
if the time stamp is (nearly) up to date.

This is a micro optimization and will possibly not show any significant
performance improvement. Yet in setups with a DB cluster it means that
the write node has to send fewer changes to the read nodes due to the
lower number of actual changes.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22 09:32:22 +02:00
Christoph Wurst 130ab63ca1 Bump doctrine/dbal from 3.0.0 to 3.1.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-22 09:03:45 +02:00
nextcloud-command 4a3234500c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-22 04:11:24 +00:00
Nextcloud bot fb18f29148 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-22 02:21:58 +00:00
Pytal 8a511de8cb Merge pull request #29345 from nextcloud/fix/profile-preview-card 2021-10-21 15:18:07 -07:00
Christopher Ng 06c9a8d9bf Remove unused click handler
- Handle long lines unbroken by white space
- Cleanup

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-21 20:54:06 +00:00
Carl Schwan 5d9474d324 Merge pull request #29362 from nextcloud/fix/groupfolder-copy-acl
Fix security issues when copying groupfolder with advanced ACL
2021-10-21 18:12:34 +02:00
Christoph Wurst 9a8bb5e9ed Merge pull request #29343 from nextcloud/dependachristoph/composer/symfony-4.4.30-and-friends
Bump Symfony family and friends to v4.4.30
2021-10-21 17:45:15 +02:00
John Molakvoæ acea728053 Merge pull request #29332 from nextcloud/sendPasswordByMail 2021-10-21 17:41:18 +02:00
Carl Schwan 9408f8ae69 Fix security issues when copying groupfolder with advanced ACL
Using advanced ACL, it is possible that an user has access to a
directory but not to a subdirectory, so the copying use
Common::copyFromStorage instead of Local::copyFromStorage.

Fix https://github.com/nextcloud/groupfolders/issues/1692

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-21 17:11:52 +02:00
John Molakvoæ bdf44c7920 Merge pull request #23171 from nextcloud/enh/preview/move_to_bootstrap 2021-10-21 17:07:14 +02:00
Louis 4b8bf7571a Merge pull request #29355 from nextcloud/fix/carl/loging-button-arrow
Fix login button alignment
2021-10-21 15:14:24 +02:00
Julien Veyssier 0bef570fe9 Merge pull request #29256 from nextcloud/fix/noid/harmonize-appstoreenabled-check
Fix appstoreenabled check
2021-10-21 12:42:14 +02:00
Carl Schwan 6c5152e6ed Fix login button alignment
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-21 12:00:58 +02:00
Louis c5405befcf Merge pull request #29346 from nextcloud/fix/biography-resize
Allow resize of Biography/About box
2021-10-21 10:57:49 +02:00
Louis 23582089f0 Merge pull request #29351 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-21 10:53:49 +02:00
Roeland Jago Douma 8bc25e3324 Move preview provider registration to bootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-21 10:35:18 +02:00
Christoph Wurst 88490ea630 Bump Symfony family and friends to v4.4.30
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-21 10:00:48 +02:00
Joas Schilling f24e8212c3 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-21 09:27:12 +02:00
tobiasKaminsky 5217cb3df4 Adjust test
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-21 06:52:31 +02:00
nextcloud-command bd95a77f25 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-21 04:11:44 +00:00
Nextcloud bot 732a057167 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-21 02:24:14 +00:00
blizzz 5f95a0636a Merge pull request #29342 from nextcloud/fix/noid/upgrade-22.2-to-23
allow upgrading from 22.2.x
2021-10-20 19:28:00 +02:00
Christopher Ng 3afe3916cd Allow textarea resize
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-20 17:15:38 +00:00
John Molakvoæ 4dc226ee91 Merge pull request #27196 from nextcloud/fix/ApiControllerTest-testShowHiddenFiles 2021-10-20 18:48:04 +02:00
blizzz 07863f3de3 Merge pull request #29330 from nextcloud/fix/missing-profile-config-defaults
Populate missing profile config defaults
2021-10-20 18:26:25 +02:00
Arthur Schiwon ed9199495e allow upgrading from 22.2.x
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-10-20 18:01:43 +02:00
John Molakvoæ 49e727fe6a Merge pull request #29334 from nextcloud/fix/dav-availability-settings-duplicate-slots 2021-10-20 17:38:23 +02:00
Christoph Wurst 1021c89454 Merge pull request #28314 from nextcloud/sharing-ibootstrap
move files_sharing to IBootStrap
2021-10-20 17:32:10 +02:00
Christoph Wurst b98f3f31de Merge pull request #29320 from nextcloud/bugfix/28261/fix-basic-auth-for-oauth-token-endpoint
Fix basic auth for OAuth token endpoint
2021-10-20 17:31:43 +02:00
Joas Schilling 0e951eb9dc Merge pull request #29269 from nextcloud/feature/28751/provide-contactsmenu-as-ocs-simple
Add an OCS endpoint for the hovercard contact actions
2021-10-20 16:25:07 +02:00
Carl Schwan cf6bac8d6e Merge pull request #29313 from nextcloud/fix/status-menu-update
Fix status menu item not listening to status change events
2021-10-20 16:00:38 +02:00
Joas Schilling 7f1dc52a66 Change origin field to appId
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-20 14:47:28 +02:00
Joas Schilling 8ae93a7baf Merge pull request #29260 from nextcloud/fix/user_status_enumeration2
Respect user enumeration settings in user status lists
2021-10-20 12:27:55 +02:00
blizzz 7aeec25960 Merge pull request #29255 from nextcloud/updateAppstoreCrl
update CRL after revocation of twofactor_rcdevsopenotp.crt
2021-10-20 12:22:33 +02:00
Christoph Wurst e23a38e486 Prevent duplicate CalDAV availability slots for recurring slots
If there is the same time slot for more than one day, then we wrote two
recurring AVAILABILITY components before. With this patch equal blocks
are combined into one recurring component. This makes the generated
rules more compact and easier to work with.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-20 12:15:56 +02:00
John Molakvoæ 5e23800a95 Do not remove current user on findOne
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-20 11:53:45 +02:00
John Molakvoæ 873e8e219c Add appName to contactsmenu action API
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-20 11:53:45 +02:00
Jonas Meurer 65cfe9df46 Add integration tests for user_status API
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-20 11:33:37 +02:00
Jonas Meurer 3fe267b772 Respect user enumeration settings in user status lists
So far, the functions to find user statuses listed didn't respect user
enumeration settings (`shareapi_allow_share_dialog_user_enumeration`
and `shareapi_restrict_user_enumeration_to_group` core app settings).

Fix this privacy issue by returning an empty list in case
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

In the long run, we might want to return users from common groups if
`shareapi_restrict_user_enumeration_to_group` is set. It's complicated
to implement this in a way that scales, though. See the discussion at
https://github.com/nextcloud/server/pull/27879#pullrequestreview-753655308
for details.

Also, don't register the user_status dashboard widget at all if
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

Fixes: #27122

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-10-20 11:33:23 +02:00
Joas Schilling 3ce3c0f117 Add an OCS endpoint for the hovercard contact actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-20 10:22:40 +02:00
Carl Schwan 89112e5df9 Fix status menu item not listening to status change events
This makes it so that the status menu item listens to user_status:status.updated
events even when they are triggered outside of the user status modal.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-20 10:21:23 +02:00
Louis 2083e1ede2 Merge pull request #29331 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-20 09:41:36 +02:00
tobiasKaminsky 05c08b7ca2 Expose send_password_by_mail via capabilities
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-10-20 06:18:03 +02:00
nextcloud-command c7be7cfd02 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-20 04:11:07 +00:00
Nextcloud bot 1d1010de2f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:43:00 +00:00
Nextcloud bot 981d839806 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-20 02:23:10 +00:00
Christopher Ng bff02f5e51 Populate defaults into exising profile config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-20 01:07:38 +00:00
Christopher Ng f5bdf02695 Cleanup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-20 00:17:22 +00:00
marco 61cfe35a90 Do notr make action icons too transparent
Signed-off-by: marco <marcoambrosini@pm.me>
2021-10-19 17:52:13 +02:00
Robin Appelman 5155f2b0c5 Merge pull request #28541 from nextcloud/path-prefix-index2
add a prefix index to filecache.path, attempt 2
2021-10-19 14:41:23 +00:00
Robin Appelman a1ca901e58 cache versioning enabled status
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 15:03:22 +02:00
Robin Appelman eb6e6e3a85 minor directory detect improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 14:58:40 +02:00
Joas Schilling 03936d7762 Fix basic auth for OAuth token endpoint
Don't try to login when a client is trying to get a OAuth token.
OAuth needs to support basic auth too, so the login is not valid
inside Nextcloud and the Login exception would ruin it.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-19 13:03:23 +02:00
Robin Appelman 033a83b0ac fix federated sharing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 11:32:15 +02:00
Robin Appelman ef93d2ea1c update tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 11:31:08 +02:00
Robin Appelman 7345de78c5 use the correct navigation manager for the shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 11:31:08 +02:00
Robin Appelman 4b82d8d20c call setupSharingMenus again
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 11:31:07 +02:00
Robin Appelman ab275c5e38 move files_sharing to IBootStrap
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-19 11:31:07 +02:00
John Molakvoæ 1b16a136eb Merge pull request #29202 from nextcloud/release/23.0.0beta1 2021-10-19 10:46:00 +02:00
John Molakvoæ 52bff6af47 Merge branch 'master' into release/23.0.0beta1 2021-10-19 10:42:11 +02:00
Julius Härtl f3d5f2717f Merge pull request #29295 from nextcloud/fix/button-clip 2021-10-19 10:20:56 +02:00
Christoph Wurst 0882e2bbbb Merge pull request #29310 from nextcloud/fix/dav-availability-settings-trailing-commas
Add missing trailing commas in DAV availability settings
2021-10-19 10:14:08 +02:00
Christoph Wurst 227045ae63 Add missing trailing commas in DAV availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-19 09:44:19 +02:00
Christoph Wurst 6788c7dea5 Merge pull request #29308 from nextcloud/bugfix/noid/fix-missing-app-version-increment
Fix missing app version increment to trigger migrations
2021-10-19 09:36:41 +02:00
Joas Schilling 93e67020ec Fix missing app version increment to trigger migrations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-19 08:40:53 +02:00
Pytal f7b3d521f8 Merge pull request #28751 from nextcloud/feat/28139/profile-page 2021-10-18 23:03:58 -07:00
Christopher Ng 3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
Christopher Ng 309354852f Profile backend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:59:35 +00:00
Christopher Ng 7215148a24 Add new account properties
- New properties
  - Organisation
  - Role
  - Headline
  - Biography
  - Profile Enabled property
- Fix errors with building default account properties
- Fix L10N factory method `getLanguage` not public error
- Update tests

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-19 04:44:40 +00:00
Nextcloud bot 7cebde242c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-19 02:22:47 +00:00
Christoph Wurst a4368ad185 Merge pull request #27466 from nextcloud/feature/dav-scheduling-availability-settings
Add scheduling availability settings
2021-10-18 22:56:49 +02:00
Carl Schwan 4eb421ee40 Merge pull request #28403 from nextcloud/work/status
Add an API to set and rollback the user status
2021-10-18 21:52:28 +02:00
JanBartels 9068fd4a21 Patch for master-branch 2021-10-18 21:41:01 +02:00
Joas Schilling 285bc55d2c Merge pull request #29259 from nextcloud/bugfix/29257/fix-app-upgrade
Fix app upgrade
2021-10-18 21:20:05 +02:00
Carl Schwan 2cb48f484b Add an API to set and rollback the user status
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-18 20:31:37 +02:00
Christoph Wurst f432dd2e2e Add scheduling availability settings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-18 20:21:51 +02:00
Carl Schwan 478ed7ae75 Fix cliping issues in alternative logging buttons
The issues was caused because the button with its margins was bigger
than the parent. Instead of setting the margin of the button, add
padding to the parent. This is more reliable.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-18 13:01:32 +02:00
Julien Veyssier facb50ebcc fix appstoreenabled check in Fetcher so it's coherent with AppSettingsController
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-18 12:39:43 +02:00
Christoph Wurst 643e85cfe8 Merge pull request #29285 from nextcloud/fix/php-7.3-deprecation
Deprecate PHP7.3 for Nextcloud 23
2021-10-18 10:00:21 +02:00
John Molakvoæ a1c8b6e9eb Merge pull request #28768 from nextcloud/check-file-exists 2021-10-18 09:54:22 +02:00
Christoph Wurst 4b8f8c5203 Deprecate PHP7.3 for Nextcloud 23
* 7.3 reaches EOL shortly after the release of 23.0.0
* Nextcloud 24 will require PHP7.4

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-18 09:15:54 +02:00
Christopher Ng 382ba66ab5 Add profile templates
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-18 08:59:16 +02:00
Vincent Petry 822623109f Merge pull request #29243 from nextcloud/bugfix/noid/ipropagator-sizedifference
Add already used optional sizeDifference parameter to IPropagator
2021-10-18 08:34:44 +02:00
Nextcloud bot 4aff9f79af [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-18 02:24:45 +00:00
Daniel 77734cc414 Merge pull request #29279 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-10-17 22:03:29 +02:00
Sijmen Schoon 34600c78bb Move query outside the loop and reduce chunk size to 1000
This involved changing CacheQueryBuilder\whereParentIn to take a
parameter name, renaming the function accordingly.

Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-10-17 20:57:28 +02:00
Sijmen Schoon c959bf2b42 Limit parameter count per query in Cache.removeChildren
Signed-off-by: Sijmen Schoon <me@sijmenschoon.nl>
2021-10-17 19:10:58 +02:00
dependabot[bot] 25c7bf704b Merge pull request #29273 from nextcloud/dependabot/npm_and_yarn/core-js-3.18.3 2021-10-17 15:02:51 +00:00
dependabot[bot] f1915a837e Bump core-js from 3.18.2 to 3.18.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.2 to 3.18.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.2...v3.18.3)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-17 16:25:41 +02:00
Valdnet d51cd106a0 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-10-17 14:16:05 +02:00
Nextcloud bot 9a809df960 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-17 02:22:00 +00:00
Daniel bde3c4a98b Merge pull request #29274 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-16 12:19:50 +02:00
Julius Härtl 6204c63308 Merge pull request #28991 from nextcloud/feature/bulk_upload 2021-10-16 11:33:38 +02:00
Louis Chemineau def983dc7e Clean BulkUpload plugin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-16 09:42:07 +02:00
nextcloud-command fe28f08259 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-16 04:11:07 +00:00
dependabot[bot] 94ab9f5b2a Merge pull request #29272 from nextcloud/dependabot/npm_and_yarn/sass-1.43.2 2021-10-16 02:41:12 +00:00
dependabot[bot] e2f23e8f90 Merge pull request #29271 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.4.1 2021-10-16 02:30:10 +00:00
Nextcloud bot 509b8288a8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-16 02:23:22 +00:00
dependabot[bot] ec7c5fd607 Bump sass from 1.42.1 to 1.43.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.42.1 to 1.43.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.42.1...1.43.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-16 01:02:28 +00:00
dependabot[bot] f752c0757e Bump @testing-library/user-event from 13.2.1 to 13.4.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.2.1 to 13.4.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.2.1...v13.4.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-16 01:01:45 +00:00
Carl Schwan a67a12cb96 Merge pull request #29240 from nextcloud/work/admin-delegation-implementation
Add support for Delegation Settings for more apps
2021-10-15 20:59:43 +02:00
Carl Schwan ff67ada049 Merge pull request #29210 from nextcloud/work/status-navbar-vue
Add current status in navbar
2021-10-15 20:59:08 +02:00
Carl Schwan 134167ef3f Add current status in navbar
This ports the code to vue and if the user_status app is disabled this
goes back to the previous behavior.

The Avatar vue components detects changes of the status automatically.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-15 20:57:58 +02:00
Carl Schwan 719dbafd13 Add support for Delegation Settings for more apps
* This adds support for the sharing, groupware, theming and user_ldap
  app
* This adds some code who disapeared during a rebase in the initial
  delegation PR (provisioning_api)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-15 18:41:00 +02:00
Robin Appelman 247e12da96 always set Key field in headObject
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 16:43:50 +02:00
Vincent Petry 0c3d3de6eb Merge pull request #29090 from nextcloud/bug/noid/disable-versions-expire-background-job
Add configuration flag to disable the background job for files_versions
2021-10-15 16:16:57 +02:00
Robin Appelman 55346b5d6c more reliable return value for Watcher::checkUpdate
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 16:03:18 +02:00
Robin Appelman 4bd08af2ad more reliable hasUpdated for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 16:02:57 +02:00
Daniel 559edd2dc9 Merge pull request #29125 from nextcloud/bug/noid/disable-trash-expire-background-job
Add configuration flag to disable the background job for files_trashbin
2021-10-15 15:49:13 +02:00
Robin Appelman 34637697e1 remove old migration method
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:19 +02:00
Robin Appelman d3bd0b5a1b optimize filetype for s3 directories a bit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:16 +02:00
Robin Appelman 294b218895 ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:12 +02:00
Robin Appelman 294af4275c more reliable directory copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:09 +02:00
Robin Appelman 5e3c8b3af2 doesDirectoryExist fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:06 +02:00
Robin Appelman 09ffac5e6d s3 external storage listing rework
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-15 15:35:02 +02:00
Robin Appelman fadeae8c8a Merge pull request #29185 from nextcloud/revert-29165-bug/noid/s3-delete-folder-versions
Revert "Delete S3 versions in rmdir"
2021-10-15 13:30:51 +00:00
Joas Schilling 59cf2b1789 Fix app upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-15 14:16:46 +02:00
Louis Chemineau dd938dadef Add benchmark tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-15 11:54:01 +02:00
Louis Chemineau fc6e07705a Add BulkUpload DAV plugin
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-15 11:54:01 +02:00
Daniel 5645b2a18a Merge pull request #29188 from nextcloud/enhancement/public-write-api
Add calendar object creation API to OCP
2021-10-15 11:33:37 +02:00
Matthieu Gallien 29e4f9bb2d update CRL after revocation of twofactor_rcdevsopenotp.crt
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2021-10-15 11:15:19 +02:00
John Molakvoæ f7a4ff4d63 Merge pull request #27217 from nextcloud/techdebt/noid/make-debugging-a-cron-job-easier 2021-10-15 11:09:23 +02:00
John Molakvoæ b6a3ba136c Merge pull request #29235 from nextcloud/feat/appstore/enterprise 2021-10-15 11:06:32 +02:00
John Molakvoæ 8df577ba0a Merge pull request #29180 from nextcloud/bug/27798/fix-php-error-in-ldap-access 2021-10-15 11:03:08 +02:00
Daniel 1119197276 Merge pull request #29247 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-15 10:06:16 +02:00
Daniel 03311b67d0 Merge pull request #29248 from nextcloud/fix/noid/doc-bkgscan
Fix background scan doc in config
2021-10-15 10:04:44 +02:00
Vincent Petry 0da42b895e Fix background scan doc in config
The background scanner only processes entries with size < 0

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-15 09:56:57 +02:00
Anna Larch 0401d6dc0f Add create method to extended calendar implementation
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-15 09:35:29 +02:00
nextcloud-command da8a2e1d67 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-15 04:11:13 +00:00
Nextcloud bot 4e32fe8a4e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-15 02:26:04 +00:00
Pytal 9e6aaa83c0 Merge pull request #29241 from nextcloud/fix/new-jcrop 2021-10-14 14:51:15 -07:00
Daniel 792a7c0992 Merge pull request #29246 from nextcloud/fix/make-psalm-happer
Change return type to correct type
2021-10-14 22:45:25 +02:00
Anna Larch 926fb5b3de Change return type to correct type
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-14 21:05:25 +02:00
Christoph Wurst 67baaaaff9 Merge pull request #29231 from nextcloud/fix/calendar-providers-instances
Build instances of the calendar providers before using them
2021-10-14 19:29:34 +02:00
Christoph Wurst 9aa248f007 Merge pull request #29245 from nextcloud/artonge-patch-1
Add mapping for louis [CI SKIP]
2021-10-14 19:27:28 +02:00
Louis 4e09c67cb5 Add mapping for louis [CI SKIP]
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-14 18:31:04 +02:00
Christoph Wurst c6a6ab3a1b Merge pull request #29244 from nextcloud/add-kesselb-mailmap
Add mapping for kesselb [CI SKIP]
2021-10-14 18:09:12 +02:00
Daniel Kesselberg 8d6c6bfef3 Add mapping for kesselb [CI SKIP]
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-14 17:38:23 +02:00
Julius Härtl 39c4a83f9f Add already used optional sizeDifference parameter to IPropagator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-14 17:11:34 +02:00
Christoph Wurst c75a12c154 Build instances of the calendar providers before using them
What we get from the registration context are only the class names. We
still have to load the classes before we can use them.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-14 16:06:51 +02:00
Christoph Wurst 4322aaba22 Switch to the "new" jcrop
The old one didn't work with recent versions of node. The patched one
does. This also replaces the github dep with a real npm registry one.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-14 13:58:45 +00:00
John Molakvoæ 1f76423500 Send the subscription key to the appstore requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-14 14:48:45 +02:00
Côme Chilliet f9e6f2ea57 Use Psr\Log\LoggerInterface where it can easily be used in user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-14 14:12:03 +02:00
Julius Härtl acbe4b46c3 Merge pull request #29157 from nextcloud/enh/opendocument 2021-10-14 12:58:34 +02:00
Louis ed533bd128 Merge pull request #28250 from pjft/patch-3
Fix bug introduced on drag and drop external files
2021-10-14 10:59:45 +02:00
John Molakvoæ 739b67031b Merge pull request #27194 from nextcloud/new-ftp 2021-10-14 10:29:24 +02:00
Joas Schilling 3adc997833 Bump autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:58:49 +02:00
Joas Schilling 7239b3d560 Bump since version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Joas Schilling 0a812a1c09 Adjust namespace and print a message when the job was skipped
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Joas Schilling 9cd9f4b4bc Move queries to the joblist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Joas Schilling e2a7482b49 Add a command to show info about a background job and force-execute it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-14 09:57:16 +02:00
Joas Schilling 811d0cd1b5 Merge pull request #29135 from nextcloud/feat/appstore-filtering
Allow to filter apps from the appstore
2021-10-14 09:50:37 +02:00
Daniel abc2472c5d Merge pull request #29195 from nextcloud/fix/calendar-invitations-default-language
Fix default language detection for calendar emails
2021-10-14 09:24:59 +02:00
Côme Chilliet d189a23f43 Fix two mistakes in previous migration to LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-14 09:24:49 +02:00
Daniel 7129a51a95 Merge pull request #29228 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-14 09:19:20 +02:00
Christoph Wurst b1c761df99 Merge pull request #28970 from nextcloud/enhancement/calendar-appointments
Add an API for calendar providers
2021-10-14 08:57:53 +02:00
Anna Larch a58d1e6b06 Add Public Calendar Provider
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-14 08:22:24 +02:00
nextcloud-command 0b799f4794 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-14 04:11:22 +00:00
Nextcloud bot f95a268767 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-14 02:22:29 +00:00
Joas Schilling 154c189017 Merge pull request #29214 from nextcloud/bugfix/noid/dont-setup-the-filesystem-to-check-for-an-icon-we-dont-use
Don't setup the filesystem to check for a favicon we don't use anyway
2021-10-13 22:25:01 +02:00
Daniel efc3ed5bdb Merge pull request #29200 from nextcloud/enhancement/auth-token-provider-create-passwort-type-hint
Type the autentication provider passwords as nullable strings
2021-10-13 22:14:43 +02:00
Christoph Wurst 2148c448cc Fix default language detection for calendar notifications
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 20:33:29 +02:00
John Molakvoæ c721581cd9 Fix variable
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-10-13 18:14:48 +02:00
Julius Härtl 2f38781c96 Fix integrity checker tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-13 18:10:37 +02:00
Daniel b7ee885f93 Merge pull request #28637 from JensTimmerman/master
Update config.sample.php
2021-10-13 17:59:44 +02:00
Daniel c11812a6ad Merge pull request #29136 from nextcloud/bug/noid/documentation-background-scan-files
Add documentation for files_no_background_scan
2021-10-13 17:54:51 +02:00
Christoph Wurst 01b8291c76 Type the autentication provider passwords as nullable strings
For historic reasons we couldn't add a nullable type hint before
nullable type hints were supported by our target php versions. This is
now possible.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 17:17:25 +02:00
Julius Härtl 581862b51b Merge pull request #29187 from nextcloud/fix/noid/passwordless-app-password-generation 2021-10-13 16:11:22 +02:00
Joas Schilling da73990d1c Don't setup the filesystem to check for a favicon we don't use anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 15:45:42 +02:00
Christoph Wurst c9918477ab Merge pull request #29211 from nextcloud/fix/shadowed-config-var
Remove shadowed $config variable
2021-10-13 15:07:51 +02:00
Christoph Wurst 30c3202f49 Remove shadowed $config variable
The variable is overwritten a few lines later.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 13:03:40 +02:00
Julien Veyssier 0d2c2ab629 allow null password in UserLoggedInEvent
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-13 12:37:34 +02:00
Julien Veyssier de5fea4a00 fix login_credentials->password in session when loging in with apache
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-13 12:24:32 +02:00
John Molakvoæ (skjnldsv) 3b148451b2 Fix setUserValue bool test on testShowHiddenFiles & testCropImagePreviews
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-10-13 09:52:45 +00:00
John Molakvoæ b585cf1ea1 Merge pull request #26688 from nextcloud/enh/better-share-exceptiondebug 2021-10-13 11:40:59 +02:00
Joas Schilling 4cae2cc06c Merge pull request #29004 from nextcloud/bugfix/noid/fix-translated-app-details
Fix translated app details
2021-10-13 11:37:22 +02:00
John Molakvoæ 6ce5ea084e 23.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-13 11:33:03 +02:00
John Molakvoæ 1a6bac5874 Allow to whitelist apps from the apsptore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-10-13 11:13:33 +02:00
Christoph Wurst c6166c0a37 Fix default langauge detection for calendar invite emails
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 11:01:32 +02:00
Christoph Wurst e163d199d8 Merge pull request #29015 from nextcloud/enhancement/l10n-factory-find-generic-language
Add L10n factory method for generic language heuristics
2021-10-13 10:58:07 +02:00
Joas Schilling c1e7f6e11f Merge pull request #29020 from nextcloud/bugfix/noid/keep-group-restrictions-when-reenabling-apps
Keep group restrictions when reenabling apps after an update
2021-10-13 10:37:49 +02:00
Joas Schilling e9627861dd Merge pull request #29140 from nextcloud/feature/noid/prepare-for-group-mentions
Prepare for group mentions in talk (and comments?)
2021-10-13 10:15:39 +02:00
Christoph Wurst 5b727fc7da Add L10n factory method for generic language heuristics
The existing `findLanguage` method tries its best to find the best
language for the current users. For some tasks we don't want this but
rather determine the most generic language for *another* user, e.g. when
the current user trigger an email notifiaction to someone else. In this
case the current user's language is a bad guess in many multi-language
environments.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-10-13 09:57:21 +02:00
Joas Schilling 0b747538ff Keep group restrictions when reenabling apps after an update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-13 09:34:55 +02:00
Nextcloud bot 5b7764354c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-13 02:22:39 +00:00
Pytal ddf0a2cf1f Merge pull request #29101 from nextcloud/enh/noid/fileaction-in-single-filename 2021-10-12 14:58:56 -07:00
Côme Chilliet 51398d706a Use Psr\Log\LoggerInterface in OCA\User_LDAP\Access
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-12 17:19:51 +02:00
Vincent Petry d02936bfb3 Revert "Delete S3 versions in rmdir" 2021-10-12 17:06:02 +02:00
Julius Härtl 0d2e05a0b5 Add OpenDocument flat mimetypes and x-office/drawing alias
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-12 15:14:25 +02:00
Joas Schilling 3487aeeb1f Add integration tests for group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-12 14:05:38 +02:00
Côme Chilliet 437048e9b6 Avoid PHP errors when the LDAP attribute is not found
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-10-12 12:44:26 +02:00
Björn Schießle da1b97decd Merge pull request #29028 from nextcloud/add-supported-label-to-all-apps
add 'supported'-label to all supported apps
2021-10-12 10:52:58 +02:00
Nextcloud bot 0d2972cd72 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-12 02:22:34 +00:00
Vincent Petry 0f80bc03e4 Merge pull request #29165 from nextcloud/bug/noid/s3-delete-folder-versions
Delete S3 versions in rmdir
2021-10-11 16:32:54 +02:00
Louis fc7ec1ff1b Merge pull request #29151 from nextcloud/dependabot/npm_and_yarn/marked-3.0.7
Bump marked from 3.0.4 to 3.0.7
2021-10-11 15:20:00 +02:00
Louis 3390b48975 Merge pull request #29105 from nextcloud/revert/28817
Revert "Merge pull request #28817 from nextcloud/dependabot/npm_and_yarn/bootstrap-5.1.1"
2021-10-11 15:16:39 +02:00
Vincent Petry 09ab7a40fe Delete S3 versions in rmdir
When deleting a complete folder in a bucket that has versioning enabled,
also make sure to delete all associated versions and delete markers

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-11 13:45:02 +02:00
Daniel Kesselberg 3293428ac0 Add configuration flag to disable the background job for files_versions
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-11 12:32:46 +02:00
Daniel Kesselberg b0d1ad5777 Add configuration flag to disable the background job for files_trashbin
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-11 12:30:36 +02:00
Christopher Ng 3b799248c3 Set tooltip container correctly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-11 12:23:48 +02:00
Christopher Ng 006fdccf1f Revert "Merge pull request #28817 from nextcloud/dependabot/npm_and_yarn/bootstrap-5.1.1"
This reverts commit 6b2711f4c3, reversing
changes made to d0a1d99c89.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-10-11 12:23:44 +02:00
Christoph Wurst 4a1a9d6821 Merge pull request #29122 from nextcloud/bugfix/noid/apache-auth-apptoken
Tokens without password should not trigger changed password invalidation
2021-10-11 10:54:33 +02:00
Nextcloud bot 48d7e45f5c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-11 02:22:37 +00:00
dependabot[bot] 9990d2e162 Bump marked from 3.0.4 to 3.0.7
Bumps [marked](https://github.com/markedjs/marked) from 3.0.4 to 3.0.7.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.4...v3.0.7)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-10 17:54:04 +00:00
dependabot[bot] bab12e5e45 Merge pull request #29152 from nextcloud/dependabot/npm_and_yarn/core-js-3.18.2 2021-10-10 17:23:58 +00:00
dependabot[bot] 7793064eac Bump core-js from 3.18.1 to 3.18.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.1 to 3.18.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.1...v3.18.2)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-10 16:46:58 +00:00
dependabot[bot] 3db1f79e48 Merge pull request #29150 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.0 2021-10-10 13:55:34 +00:00
dependabot[bot] 650710c6f1 Bump webpack-cli from 4.8.0 to 4.9.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.8.0 to 4.9.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.8.0...webpack-cli@4.9.0)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-10 13:16:15 +00:00
dependabot[bot] 99437a2c0f Merge pull request #29146 from nextcloud/dependabot/npm_and_yarn/jquery-ui-1.13.0 2021-10-10 13:11:31 +00:00
dependabot[bot] 869f571e1d Bump jquery-ui from 1.12.1 to 1.13.0
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.12.1 to 1.13.0.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.12.1...1.13.0)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-10 12:37:16 +00:00
dependabot[bot] 9c2ba2f9a7 Merge pull request #29145 from nextcloud/dependabot/npm_and_yarn/nextcloud/files-2.1.0 2021-10-10 04:08:56 +00:00
dependabot[bot] fdd12d39c4 Bump @nextcloud/files from 2.0.0 to 2.1.0
Bumps @nextcloud/files from 2.0.0 to 2.1.0.

---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-10 02:50:18 +00:00
MichaIng fbaae23674 Merge pull request #29149 from nextcloud/dependabot/npm_and_yarn/jsdom-18.0.0
Bump jsdom from 17.0.0 to 18.0.0
2021-10-10 04:48:49 +02:00
Nextcloud bot 98d2d9e3a7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-10 02:21:17 +00:00
Nextcloud bot 372d810488 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-09 02:39:22 +00:00
dependabot[bot] 5566a08870 Bump jsdom from 17.0.0 to 18.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 17.0.0 to 18.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/17.0.0...18.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-09 02:10:17 +00:00
Robin Appelman 695326534c disable path prefix index on postgresql for now
having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement.
to prevent making it harder to add the correct index later on we don't create the index for now on postgresql

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-08 18:39:22 +02:00
Robin Appelman abd6b354ac add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-08 18:38:25 +02:00
Daniel Kesselberg fab887cb7c Update attendence for external users
For local users it's possible to select their calendar via the principal url and first update their own attendance status.
External users have no calendar event hence the recipient is the organizer.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 18:12:37 +02:00
Anna Larch 35be21dbb7 Scheduling plugin not updating responding attendee status take two
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-10-08 16:35:31 +02:00
Joas Schilling 6536ff2cec Prepare for group mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-08 13:23:18 +02:00
Vincent Petry 1ea5983568 Merge pull request #29118 from nextcloud/incomplete-index
add better index for finding unindexed paths
2021-10-08 12:07:16 +02:00
Daniel Kesselberg 110ddb9183 Add documentation for files_no_background_scan
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-08 11:41:19 +02:00
Maxence Lange 9e78b01f3a adding action.filename to FileActions
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-10-08 08:28:05 -01:00
Daniel 9187e986e1 Merge pull request #28907 from nextcloud/bug/noid/close-stream-local
explicitly close source stream on local / encryption storage
2021-10-08 10:02:01 +02:00
Daniel 8d2caa03ba Merge pull request #29128 from nextcloud/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-10-08 09:54:15 +02:00
Vincent Petry 62947867ce Merge pull request #27408 from PhrozenByte/enhancement/FilesVersionsCleanUpPath
Add occ versions:cleanup --path option
2021-10-08 08:01:55 +02:00
nextcloud-command 27ac2f461a Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-10-08 04:11:14 +00:00
Nextcloud bot 0e31e72aec [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-08 02:23:18 +00:00
Daniel db226dbd35 Merge pull request #29123 from nextcloud/bug/29119/decode-object-to-array
Set associative = true for cleanup job
2021-10-07 21:31:55 +02:00
Daniel Kesselberg 240eb02585 Set associative = true for cleanup job
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-07 20:20:09 +02:00
Julius Härtl 508fe1899c Tokens without password should not trigger changed password invalidation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-07 20:06:23 +02:00
Daniel Rudolf 54cb4ac840 Improve occ versions:cleanup --path option
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-10-07 19:18:03 +02:00
Robin Appelman a3f1d10f4d ftp ci improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 18:47:13 +02:00
Robin Appelman 7d582cb489 update copyright header
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:36:17 +02:00
Robin Appelman b3766fc99b make param names consistent with interface for copy directory polyfill
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:44 +02:00
Robin Appelman ace4756192 fixup tests for ftp limitations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:40 +02:00
Robin Appelman 6b80ae9d44 teardown
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:36 +02:00
Robin Appelman 7ec80b3957 ftp logs
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:30 +02:00
Robin Appelman ccb24416ac add new ftp backend
this uses the raw `ftp_` functions instead of the stream wrapper

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:23 +02:00
Robin Appelman 10b613810f run ftp external storage tests against multiple ftp servers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 17:19:18 +02:00
Vincent Petry f518710c52 Merge pull request #28608 from nextcloud/path-prefix-filter
generate a better optimized query for path prefix search filters
2021-10-07 17:16:39 +02:00
Robin Appelman 6502dfae34 add better index for finding unindexed paths
for the following query 'SELECT "path" FROM "oc_filecache" WHERE ("storage" = $storage) AND ("size" < 0) ORDER BY "fileid" DESC LIMIT 1;'

currently the database will in some cases decide to priorize the sort by fileid over the filter when picking what index to use, resulting in a much slower query.

by creating an index that allows first sorting by fileid and also filter by storage and size this case will be greatly sped up

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-07 16:11:49 +02:00
Joas Schilling 6829449258 Merge pull request #29108 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-10-07 14:07:57 +02:00
Vincent Petry c64e905eab Merge pull request #29110 from nextcloud/debt/noid/reset-composer-for-psalm-baseline-update
Reset composer for psalm baseline update
2021-10-07 11:07:26 +02:00
Valdnet a4b0dfa3d3 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-07 08:50:35 +00:00
Daniel Kesselberg 6cfc7f5dd3 Reset composer for automated psalm baseline update
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-07 09:27:21 +02:00
Nextcloud bot 339c6edd38 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-07 02:25:26 +00:00
Pytal 005ed982eb Merge pull request #25774 from nextcloud/add-ripple-color-variables 2021-10-06 17:33:08 -07:00
Bjoern Schiessle 664bd5802f add 'supported'-label to all supported apps, also if they are not downloaded yet
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-10-06 22:17:50 +02:00
Louis 9a569ff387 Merge pull request #29064 from nextcloud/feature/add_cache_to_local_integration_tests_container
Add caching for local run of integration and acceptance tests
2021-10-06 21:04:47 +02:00
Daniel 978b9a0614 Merge pull request #29084 from nextcloud/bugfix/noid/typos-in-readme
Fix some typos and code blocks in readme
2021-10-06 20:35:36 +02:00
Carl Schwan 3535d50f52 Merge pull request #29091 from nextcloud/bugfix/noid/improve-icon-and-section-title
Improve icon and section title of "Admin privileges"
2021-10-06 20:02:05 +02:00
Joas Schilling 0dae8805c2 Improve icon and section title of "Admin privileges"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-06 19:13:16 +02:00
Daniel 5fecbc9074 Merge pull request #29083 from nextcloud/debt/noid/update-certificates
Update the certificate bundle
2021-10-06 17:04:08 +02:00
Louis 6b2711f4c3 Merge pull request #28817 from nextcloud/dependabot/npm_and_yarn/bootstrap-5.1.1
Bump bootstrap from 4.6.0 to 5.1.1
2021-10-06 16:10:15 +02:00
Louis Chemineau b13ce08ac8 Add cache for local integration test container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-06 13:33:47 +02:00
MichaIng d0a1d99c89 Merge pull request #29081 from nextcloud/fix/acceptance-app-files
Fix acceptance test 'app-files'
2021-10-06 13:13:44 +02:00
Louis Chemineau 870ce7d3cc Fix container element for newFileMenu tooltip
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-06 12:23:06 +02:00
Daniel 4408f1724f Merge pull request #29065 from nextcloud/bugfix/noid/fix-missing-translation-of-share-folder-selection
Fix missing translations of share folder selection
2021-10-06 11:19:46 +02:00
Louis Chemineau 32dc976e0d Fix app-files acceptance tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-10-06 10:09:14 +02:00
Joas Schilling 3869f07f4b Fix some typos and code blocks in readme
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-06 09:48:57 +02:00
Vincent Petry 442eb6cc0e Merge pull request #29050 from nextcloud/debt/noid/job-to-update-psalm-baseline-broken
Fix job to update psalm baseline
2021-10-06 09:21:45 +02:00
Vincent Petry e5f4d72d0b Merge pull request #29082 from nextcloud/enh/add-sensitive-config-keys
Add a few sensitive config keys
2021-10-06 09:13:12 +02:00
Daniel Kesselberg d3067459f2 Update the certificate bundle
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-06 08:36:30 +02:00
Nextcloud bot 1e9699072a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-06 02:20:56 +00:00
Pytal 7d64948cd5 Merge pull request #29079 from nextcloud/bugfix/24089 2021-10-05 17:39:46 -07:00
dependabot[bot] db83320ad7 Bump bootstrap from 4.6.0 to 5.1.1
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.6.0 to 5.1.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v5.1.1)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-05 18:29:32 +02:00
Julien Veyssier 9d6c286ce6 consider some config keys under 'objectstore_multibucket' as sensitive
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-10-05 18:26:06 +02:00
Richard Steinmetz c5cc4caeef Merge pull request #29053 from nextcloud/debt/noid/exit-code-versioncheck
Use proper exit code
2021-10-05 16:30:22 +02:00
Joas Schilling b28f4989ff Merge pull request #29019 from nextcloud/bugfix/noid/improve-log-and-allow-duplicate-notifications-section
Improve log and allow duplicate notifications section
2021-10-05 15:09:45 +02:00
Julius Härtl c9656eff06 Only load screenshots if available from app store releases
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-10-05 13:28:08 +02:00
Julius Härtl d68f028251 Merge pull request #27733 from PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl 2021-10-05 13:06:59 +02:00
Vincent Petry ee32c7c328 Merge pull request #29058 from nextcloud/bugfix/28981/transfer-ownership-deleted-user
Do not transfer shares for deleted users
2021-10-05 08:19:49 +02:00
Nextcloud bot b73cde2396 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-05 02:22:10 +00:00
Joas Schilling 18dc15fb71 Fix missing translations of share folder selection
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-04 19:11:19 +00:00
Lukas Reschke 9178484699 Merge pull request #29027 from nextcloud/debt/noid/make-tests-independend-of-version-numbers
Make AppsEnableTest and AppsDisableTest independet of the app version…
2021-10-04 19:53:06 +02:00
Joas Schilling 04b368f2bd Improve log and allow duplicate notifications section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-04 19:02:13 +02:00
acsfer 98eac0fc05 Simplify :) 2021-10-04 17:21:37 +02:00
acsfer 8a8df49bc0 Replace file_exists() method by is_file() 2021-10-04 17:20:17 +02:00
Joas Schilling e597a5ae9a Merge pull request #29056 from nextcloud/bugfix/noid/allow-twofactor-nextcloud-notifications-to-work-again
Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA again
2021-10-04 17:17:07 +02:00
Lukas Reschke 857c769d75 Merge pull request #28939 from nextcloud/bugfix/noid/dont-setup-disabled-users
Don't further setup disabled users when logging in with apache
2021-10-04 12:59:35 +02:00
Louis 9acef06b0f Merge pull request #29030 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.2.0
Bump @nextcloud/vue from 4.1.1 to 4.2.0
2021-10-04 11:57:31 +02:00
Joas Schilling 3710eca104 Allow "TwoFactor Nextcloud Notifications" to pull the state of the 2FA again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-04 11:26:08 +02:00
Vincent Petry fa23a9f720 Do not transfer shares for deleted users
Whenever a user was deleted but is still recipient of share entries,
delete these entries upon transfer.

Usually such entries would disappear after running cleanup background
jobs.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-10-04 11:04:04 +02:00
Nextcloud bot c1d2a613d2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-04 02:26:16 +00:00
dependabot[bot] 996dab9a59 Bump @nextcloud/vue from 4.1.1 to 4.2.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.1.1 to 4.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.1.1...v4.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-03 22:07:21 +00:00
dependabot[bot] 1f31cbb8a0 Merge pull request #29036 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-2.2.0 2021-10-03 20:49:54 +00:00
dependabot[bot] 2ab8ea4437 Bump @nextcloud/browserslist-config from 2.1.0 to 2.2.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.1.0...v2.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/browserslist-config"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-03 20:16:00 +00:00
Daniel Kesselberg f47daa7ec3 Use proper exit code
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-03 21:51:45 +02:00
Daniel Kesselberg 20da1080fa Fix job to update psalm baseline
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-03 20:31:10 +02:00
Daniel fa01cacd8f Merge pull request #29044 from nextcloud/ci/noid/psalm-inline-gitub
Change output format of Psalm to Github
2021-10-03 19:37:47 +02:00
dependabot[bot] 4de03c1e8c Merge pull request #29033 from nextcloud/dependabot/npm_and_yarn/core-js-3.18.1 2021-10-03 15:15:25 +00:00
dependabot[bot] 39290695e6 Bump core-js from 3.18.0 to 3.18.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.0 to 3.18.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.0...v3.18.1)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-03 14:41:21 +00:00
Morris Jobke b4403201dc Change output format of Psalm to Github
This automatically inlines the errors into the diff view.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-10-03 14:41:31 +02:00
Nextcloud bot 239cd52045 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-03 02:26:19 +00:00
dependabot[bot] 8b4128f1f6 Merge pull request #29034 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-2.1.0 2021-10-03 00:04:11 +00:00
dependabot[bot] facd68f8e0 Bump @nextcloud/paths from 2.0.0 to 2.1.0
Bumps [@nextcloud/paths](https://github.com/nextcloud/nextcloud-paths) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-paths/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-paths/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-paths/commits/v2.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/paths"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-02 23:29:07 +00:00
dependabot[bot] e624768cfb Merge pull request #29031 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.7.0 2021-10-02 16:32:50 +00:00
dependabot[bot] e715a12df6 Bump @nextcloud/axios from 1.6.0 to 1.7.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-02 17:57:46 +02:00
dependabot[bot] 4f0c570819 Merge pull request #29035 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-2.1.0 2021-10-02 06:10:31 +00:00
dependabot[bot] 140df946c5 Merge pull request #29032 from nextcloud/dependabot/npm_and_yarn/blueimp-md5-2.19.0 2021-10-02 04:32:54 +00:00
Nextcloud bot 58b676e91a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-02 02:26:12 +00:00
dependabot[bot] 6544d9be8b Bump @nextcloud/logger from 2.0.0 to 2.1.0
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-logger/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v2.0.0...v2.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/logger"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-02 02:06:50 +00:00
dependabot[bot] 8e675bccc9 Bump blueimp-md5 from 2.18.0 to 2.19.0
Bumps [blueimp-md5](https://github.com/blueimp/JavaScript-MD5) from 2.18.0 to 2.19.0.
- [Release notes](https://github.com/blueimp/JavaScript-MD5/releases)
- [Commits](https://github.com/blueimp/JavaScript-MD5/compare/v2.18.0...v2.19.0)

---
updated-dependencies:
- dependency-name: blueimp-md5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-02 01:02:47 +00:00
Daniel Kesselberg e6ab948949 Make AppsEnableTest and AppsDisableTest independet of the app version number
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-10-01 23:08:59 +02:00
acsfer 3a25183b66 Get filesize() if file_exists()
Should make sense.
2021-10-01 21:02:38 +00:00
Carl Schwan 365f5e425f Add additional logging on SMB failure to read folder content
Currently we discard the error comming from the SMB library and create a
new exception for nextcloud. This patch makes sure that the
access/permission exception from the SMB library are logged correctly.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-01 17:54:27 +02:00
Vincent Petry fb2fd34576 Merge pull request #28263 from Hinyka/bugfix/27759
Fix Lots of Error: file_exists(): open_basedir restriction in effect.…
2021-10-01 14:45:40 +02:00
Nextcloud bot 4737708807 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-10-01 02:26:05 +00:00
Carl Schwan 59174cfa7c Merge pull request #28492 from nextcloud/bugfix/occ-status
Align occ status with status.php
2021-09-30 17:45:22 +02:00
Carl Schwan eea3d7d47d Merge pull request #28816 from nextcloud/fix/deprecated-toolip-methods
Migrate deprecated tooltip methods
2021-09-30 17:31:21 +02:00
Christoph Wurst 05cfbf472c Merge pull request #28915 from nextcloud/fix/improve-bug-reporting
Improve syntax error reporting
2021-09-30 12:30:50 +02:00
Vincent Petry 3c614aa242 Merge pull request #29005 from nextcloud/bugfix/noid/remove-dead-code
Remove dead code
2021-09-30 11:49:00 +02:00
Joas Schilling 151271f832 Remove dead code
- Return was always an empty array
- Return was not used by the one place that called the method
- the continue can be removed as there is nothing else done inside the loop

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 10:42:35 +02:00
marco f6e62b19d1 Add new variables for buttons
Signed-off-by: marco <marcoambrosini@pm.me>
2021-09-30 09:41:43 +02:00
Marco Ambrosini 231b5edc7b Do not target vue buttons with server rules
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-09-30 09:41:20 +02:00
Joas Schilling 37f40cdd46 Fix translated app details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 09:08:17 +02:00
Nextcloud bot b8641965b7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-30 02:30:22 +00:00
Carl Schwan 04f1882386 Merge pull request #28189 from nextcloud/work/carl/admin-delegation
Implement Admin Delegation
2021-09-29 22:48:32 +02:00
Carl Schwan 6958d8005a Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings
pages.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-29 21:43:31 +02:00
szaimen 75b3263e80 Merge pull request #28995 from nextcloud/fix/initial_setup_redirect
Fix redirect during initial setup
2021-09-29 17:35:53 +02:00
Louis Chemineau 18d32a1ce7 Prevent empty base URL during installation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-29 16:45:33 +02:00
Joas Schilling 5a469f54ab Merge pull request #28977 from nextcloud/update-apps-for-23
Update app versions for 23
2021-09-29 10:55:30 +02:00
Joas Schilling a586739e17 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-29 10:02:21 +02:00
Nextcloud bot 66919ab62f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-29 02:26:01 +00:00
Vincent Petry 5a6a0b0d3b Update app versions for 23
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-28 12:21:40 +02:00
kesselb ee987d7430 Merge pull request #24827 from nextcloud/bugfix/phpunit9
Run oci tests against phpunit9/php8
2021-09-28 08:36:24 +02:00
Nextcloud bot 8ef1b3b33c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-28 02:25:15 +00:00
Julius Härtl 9161f6ca4a Remove tests that just prove mocked calls and don't actually validate anything useful
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-27 14:24:48 +02:00
Julius Härtl 1e266e8b38 Run oci against all php versions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-27 14:24:05 +02:00
Julius Härtl cab44b6311 Run oci tests against phpunit9/php8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-09-27 14:24:05 +02:00
szaimen ee49498586 Merge pull request #28947 from nextcloud/fix/ocs-url-typo
Fix OCS URL typo in TransferOwnershipDialogue.vue
2021-09-27 10:45:45 +02:00
Vincent Petry ab09f1e00e Merge pull request #28853 from nextcloud/bugfix/27547/dont-allow-changing-settings-that-dont-work
Don't allow to change activity settings that don't work
2021-09-27 08:16:33 +02:00
MichaIng 3a36984f50 Migrate deprecated toolip methods
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 22:18:20 +02:00
Nextcloud bot 277eaf41e7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-26 02:27:20 +00:00
MichaIng 3979861452 Fix OCS URL typo in TransferOwnershipDialogue.vue
Introduced with nextcloud/router v2.0.0 migration: https://github.com/nextcloud/server/pull/27281

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 01:18:23 +00:00
MichaIng f060f33034 Merge pull request #28958 from nextcloud/dependabot/npm_and_yarn/core-js-3.18.0
Bump core-js from 3.17.3 to 3.18.0
2021-09-26 03:07:47 +02:00
dependabot[bot] 68a2cc7bb2 Bump core-js from 3.17.3 to 3.18.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.17.3 to 3.18.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.17.3...v3.18.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 00:31:06 +00:00
dependabot[bot] 01400a18d1 Merge pull request #28955 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.3 2021-09-25 23:35:36 +00:00
dependabot[bot] c868f3e3c2 Bump dompurify from 2.3.2 to 2.3.3
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.2...2.3.3)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 01:02:26 +02:00
dependabot[bot] cbdd515a43 Merge pull request #28956 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.13.0 2021-09-25 02:56:46 +00:00
dependabot[bot] a2416f00b3 Merge pull request #28957 from nextcloud/dependabot/npm_and_yarn/sass-1.42.1 2021-09-25 02:51:41 +00:00
Nextcloud bot 1c9da98eb3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-25 02:26:37 +00:00
dependabot[bot] fd6364a786 Bump sass from 1.41.1 to 1.42.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.41.1 to 1.42.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.41.1...1.42.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 01:03:41 +00:00
dependabot[bot] b1a7be1213 Bump vue-material-design-icons from 4.12.1 to 4.13.0
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.12.1 to 4.13.0.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.12.1...4.13.0)

---
updated-dependencies:
- dependency-name: vue-material-design-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-25 01:03:19 +00:00
szaimen 3858645eb0 Merge pull request #28927 from nextcloud/bump-3rdparty-ref-master
[master] Bump 3rdparty ref
2021-09-25 01:43:14 +02:00
blizzz e8f76b03bb Merge pull request #28876 from nextcloud/fix/28653/ldap-long-user-group-ids
ensure that user and group IDs in LDAP's tables are also max 64chars
2021-09-24 22:53:06 +02:00
MichaIng 974210ce98 Merge pull request #28933 from nextcloud/bug/28932/redis-minimal-version
Fix check for redis minimal version
2021-09-24 22:24:13 +02:00
Arthur Schiwon 6ab30a669b ensure that user and group IDs in LDAP's tables are also max 64chars
- limitation by core tables (e.g. sharing), IDs are always 64chars
- when longer group IDs were requested they are hashed (does not affect
  displaynames)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-24 17:29:29 +02:00
Vincent Petry ea20454a2b Merge pull request #28916 from nextcloud/fix/noid/objectsid
fix caching of objectsid searches
2021-09-24 17:04:12 +02:00
Nextcloud bot fb904a9670 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-24 02:26:37 +00:00
Louis dad8949b2c Merge pull request #28426 from nextcloud/dependabot/npm_and_yarn/p-limit-4.0.0
Bump p-limit from 3.1.0 to 4.0.0
2021-09-23 13:57:46 +02:00
Joas Schilling 57a816a1a6 Don't further setup disabled users when logging in with apache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-23 11:19:02 +02:00
Louis Chemineau ef50a4e7f5 Include yocto-queue to the excluded modules for babel
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-09-23 10:52:26 +02:00
Louis Chemineau c0869fd76c Merge branch 'dependabot/npm_and_yarn/p-limit-4.0.0' of github.com:nextcloud/server into dependabot/npm_and_yarn/p-limit-4.0.0 2021-09-23 09:52:14 +02:00
Nextcloud bot 344ffcc9b6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-23 02:29:39 +00:00
dependabot[bot] fb78f2d374 Bump p-limit from 3.1.0 to 4.0.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: p-limit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-22 23:18:29 +00:00
Daniel Kesselberg dff76f021f Fix check for redis minimal version
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-22 19:04:00 +02:00
Christoph Wurst 30cd6d5757 Merge pull request #28903 from nextcloud/chore/composer-autoloaders-bump
Update generated composer files to latest format
2021-09-22 18:54:48 +02:00
Lukas Reschke 831d0192cb [master] Bump 3rdparty ref
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-22 16:12:33 +02:00
Carl Schwan a01917510d Merge pull request #28863 from nextcloud/Valdnet-patch-2
l10n: Correct spelling
2021-09-22 14:08:25 +02:00
Carl Schwan 1ff06dc002 Merge pull request #28858 from nextcloud/Valdnet-patch-1
l10n: Replace "mail" to "email"
2021-09-22 13:52:57 +02:00
Valdnet 538bfc6a94 Correct spelling in test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-22 13:21:23 +02:00
Valdnet 98fc129ebb l10n: Replace "mail" to "email"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-22 11:13:28 +00:00
Christoph Wurst a2bc7e2eec Update generated composer files to latest format
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-22 11:37:04 +02:00
Nextcloud bot 0e1853df34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-22 02:26:37 +00:00
kesselb 7cab6ed3cb Merge pull request #28918 from nextcloud/fix/noid/room-type-source-of-truth
Use IRoomMetadata as source of truth for supported room types
2021-09-21 18:16:01 +02:00
Daniel Kesselberg be3f4edf1f explicitly close source stream on encryption storage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-21 17:42:22 +02:00
Daniel Kesselberg e60a829b42 explicitly close source stream on local storage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-21 17:41:59 +02:00
Richard Steinmetz 33ec7ef280 Use IRoomMetadata as source of truth for supported room types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-21 15:23:05 +02:00
Arthur Schiwon 7178194198 fix caching of objectsid searches
- store result when no name could be retrieved, too
- cached value is not an array, was treated wrongly

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-21 13:32:42 +02:00
Carl Schwan e1c4b648d1 Improve syntax error reporting
In some cases the error information is not enough to debug it.

Before:

syntax error, unexpected '<<' (T_SL)
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php
158

After:

syntax error, unexpected '<<' (T_SL) in file '/var/www/html/apps/groupfolders/lib/Mount/GroupFolderStorage.php' line 88
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php
158

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-09-21 10:28:26 +02:00
Louis d4486b8d4f Merge pull request #28861 from nextcloud/dependabot/npm_and_yarn/marked-3.0.4
Bump marked from 3.0.2 to 3.0.4
2021-09-21 10:26:45 +02:00
Nextcloud bot 9f4b640e92 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-21 02:27:11 +00:00
szaimen dbf7905149 Merge pull request #28868 from nextcloud/upd/noid/crl
Update CRL due to revoked twofactor_email.crt
2021-09-20 13:14:26 +02:00
dependabot[bot] 017c8c80b3 Bump marked from 3.0.2 to 3.0.4
Bumps [marked](https://github.com/markedjs/marked) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.2...v3.0.4)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-20 10:54:03 +00:00
szaimen d253d52007 Merge pull request #28837 from nextcloud/show-warning-if-sharing-app-disabled
Show warning on the share settings when the File Shares app is disabled
2021-09-20 12:11:42 +02:00
Vincent Petry 65988e713f Merge pull request #28889 from nextcloud/bug/28694/fallback-movie-provider
Fall back to full file for video previews
2021-09-20 11:27:39 +02:00
Louis 29cbff9d6b Merge pull request #28884 from nextcloud/dependabot/npm_and_yarn/sass-1.41.1
Bump sass from 1.39.2 to 1.41.1
2021-09-20 10:16:59 +02:00
Louis db89ea98df Merge pull request #28883 from nextcloud/dependabot/npm_and_yarn/vue-clipboard2-0.3.3
Bump vue-clipboard2 from 0.3.2 to 0.3.3
2021-09-20 10:09:15 +02:00
Nextcloud bot a31dd0a305 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-20 02:25:42 +00:00
Nextcloud bot e1e03bbd4e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-19 02:25:38 +00:00
dependabot[bot] 35a3871630 Merge pull request #28885 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.2 2021-09-18 10:11:07 +00:00
dependabot[bot] 7b3171934a Bump dompurify from 2.3.1 to 2.3.2
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.1 to 2.3.2.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.1...2.3.2)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-18 09:36:32 +00:00
Vincent Petry 24e0255378 Fall back to full file for video previews
If the first 5 MB are not enough to grab a useful frame for the
thumbnail preview, fall back to reading the full file.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-18 10:53:00 +02:00
dependabot[bot] 801bc4ba2d Bump sass from 1.39.2 to 1.41.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.2 to 1.41.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.39.2...1.41.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-18 07:34:51 +00:00
Nextcloud bot a46de28089 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-18 02:28:43 +00:00
dependabot[bot] a05694e24a Bump vue-clipboard2 from 0.3.2 to 0.3.3
Bumps [vue-clipboard2](https://github.com/Inndy/vue-clipboard2) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/Inndy/vue-clipboard2/releases)
- [Changelog](https://github.com/Inndy/vue-clipboard2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Inndy/vue-clipboard2/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: vue-clipboard2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-18 01:02:38 +00:00
Pytal a10233348b Merge pull request #28871 from nextcloud/fix/template-create-without-extension
Fix file creation from template without ext
2021-09-17 13:19:11 -07:00
Pytal b033d57e13 Merge pull request #28872 from nextcloud/fix/files-view-undefined-currentFileList
Fix files view change and undefined currentFileList
2021-09-17 12:52:02 -07:00
szaimen 3eb1d23720 Merge pull request #28838 from stefan-schilling/enh/16719-integrity-check-temp-dir
Issue 16719: CheckSetupController.php now checks configured temporary directory for existence and if it's writable
2021-09-17 18:19:22 +02:00
Stefan d4cc22daad Issue 16719: CheckSetupController.php: bugfix: test-setup was incorrect
Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
2021-09-17 13:32:42 +02:00
Stefan ea4b7bac7a Issue 16719: CheckSetupController.php: now injecting reference to ITempManager, rather than obtaining using it manually
Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
2021-09-17 13:32:42 +02:00
Stefan eb46011680 Issue 16719: CheckSetupController.php: now injecting reference to ITempManager, rather than obtaining using it manually
Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
2021-09-17 13:32:42 +02:00
Stefan 8758b36ebb Issue 16719: CheckSetupController.php now checks configured temporary directory for existence and if it's writable
Signed-off-by: Stefan <Stefan.Schilling@EXXETA.com>
2021-09-17 13:32:42 +02:00
John Molakvoæ f781135215 Fix files view change and undefined currentFileList
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-17 10:42:09 +02:00
John Molakvoæ ed8aacf415 Fix file creation from template without ext
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-17 10:08:32 +02:00
Nextcloud bot 62a814f4fb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-17 02:28:07 +00:00
Arthur Schiwon d2d163b14b Update CRL due to revoked twofactor_email.crt
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-17 00:06:45 +02:00
John Molakvoæ 06ad953047 Merge pull request #28835 from nextcloud/feat/ExternalShareActions-API 2021-09-16 18:16:52 +02:00
John Molakvoæ cbe406ea3e Bump @nextcloud/vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-16 18:12:00 +02:00
Valdnet d0558a6188 l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-16 16:16:27 +02:00
Valdnet 4fa170b918 l10n: Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-16 15:57:53 +02:00
John Molakvoæ 164b0064ed Add new ExternalShareActions API
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-09-16 15:20:50 +02:00
Christoph Wurst 959e4cb0bf Merge pull request #28822 from nextcloud/enh/noid/contactsmenu-email
Add email addresses to contacts menu
2021-09-16 09:16:21 +02:00
Nextcloud bot 5d298b4c00 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-16 02:28:41 +00:00
blizzz e26664ba42 Merge pull request #28840 from nextcloud/enh/noid/notification-email-chooser
let user choose notification email in user settings
2021-09-15 17:33:05 +02:00
Joas Schilling ad9cad1ae5 Don't allow to change activity settings that don't work
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-15 17:27:01 +02:00
Daniel Kesselberg 024881dbd3 Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-15 16:58:44 +02:00
Vincent Petry 1162dcd1bc Merge pull request #28847 from nextcloud/techdebt/28118/update-config-sample-for-transfer-ownership-defaults
Add config.php option for transfer ownership
2021-09-15 16:57:43 +02:00
Thomas Citharel b3c7927260 Show warning on the share settings when the File Shares app is disabled
Closes #3706

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-15 16:33:03 +02:00
nextcloud-command eeb418b0c2 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-15 13:44:45 +00:00
Arthur Schiwon 21af4b604b fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +02:00
Arthur Schiwon 5897029fa2 fix updating and thus UI rendering on update notification change
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +02:00
Arthur Schiwon b22628f9e6 offer to unset notification email instead of disabling
- also the only way to reset when system mail cannot be modified

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +02:00
Arthur Schiwon d93e2548f0 only offer to set locally verified mails as primary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:49 +02:00
Arthur Schiwon fe5e672654 let user choose notification email in user settings
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-15 15:38:40 +02:00
Vincent Petry 04385c7eaa Add config.php option for transfer ownership
Add option to specify whether to transfer incoming shares by default.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-09-15 14:55:52 +02:00
Daniel Josua Fuchs d9e36fa5e6 removed the '!default' flags, as not necessary
Signed-off-by: Daniel Josua Fuchs <daniel@f31.eu>
2021-09-15 11:46:55 +02:00
Daniel Josua Fuchs 15686d6d94 Merge github.com:nextcloud/server 2021-09-15 11:20:06 +02:00
John Molakvoæ 995aa65183 Merge pull request #28118 from nextcloud/transfer-incoming-shares 2021-09-15 10:26:56 +02:00
Nextcloud bot 208a7b688d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-15 02:27:54 +00:00
Pytal 3a94d7c2ea Merge pull request #28794 from nextcloud/fix/noid/guest-activation-pwd-reset-disabled
allow using of disabled password reset mechanism for special cases
2021-09-14 18:29:10 -07:00
Pytal db00014e6e Merge pull request #28828 from nextcloud/fix/noid/additional-mails-editable
the user always may modify their additional emails
2021-09-14 18:22:20 -07:00
Richard Steinmetz 9501e1be64 Merge pull request #28774 from nextcloud/fix/noid/find-system-tags-of-nested-groupfolders
Do not cache file ids in FileSystemTags inside group folders
2021-09-14 16:04:02 +02:00
nextcloud-command 1e28d14446 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-14 13:59:02 +00:00
Arthur Schiwon cec68f3f8d the user always may modify their additional emails
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-14 15:50:35 +02:00
Richard Steinmetz 8bd8e97181 Do not cache file ids in FileSystemTags inside group folders
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-09-14 15:10:44 +02:00
Julius Härtl 8e7f63b274 Merge pull request #28802 from paulijar/enh/s3_seek_from_end
Support seeking also from the end of file on S3 storage
2021-09-14 13:52:28 +02:00
Joas Schilling 1e6e0cf7b6 Merge pull request #28823 from nextcloud/copy-docs-to-sample-config
Copy doc update to sample config
2021-09-14 11:25:54 +02:00
John Molakvoæ a994ef0c4f Merge pull request #28792 from nextcloud/fix/noid/lost-password-missing-prefix
fixes missing prefix to validate password reset token
2021-09-14 09:50:22 +02:00
Joas Schilling 1444251ede Copy doc update to sample config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14 09:03:41 +02:00
Joas Schilling 1b8ebf2cf1 Use cached user backend info for password login
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14 08:40:19 +02:00
Nextcloud bot 58891a9655 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-14 02:30:41 +00:00
Julius Härtl 909de30971 Merge pull request #28404 from nextcloud/work/popover-fileeditor 2021-09-13 17:15:41 +02:00
Valdnet a6ef9dfe47 Merge pull request #28698 from nextcloud/Valdnet-patch-1
l10n: Remove a text string from translation
2021-09-13 15:27:50 +02:00
szaimen fbf59c6ade Merge pull request #28716 from nextcloud/add-orphan-subscriptions-repair-task
Add repair job to delete calendar subscriptions that were orphaned when deleting an user
2021-09-13 15:20:50 +02:00
Valdnet 325aa48b95 Correct code
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-13 12:44:31 +00:00
Valdnet a097695dad l10n: Remove a text string from translation
Removal of a text string from a translation in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-13 12:44:31 +00:00
Lukas Reschke 0dcc5c0e9f Merge pull request #28728 from nextcloud/add-database-backend-limiter
Add database ratelimiting backend
2021-09-13 13:07:37 +02:00
Lukas Reschke 474a5b55d3 Implement review feedback
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-13 11:01:35 +02:00
Lukas Reschke 358eaba7dd Apply suggestions from code review
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-09-13 10:43:01 +02:00
Nextcloud bot d31456093d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-13 02:28:15 +00:00
kesselb c39909e098 Merge pull request #28803 from nextcloud/rakekniven-patch-1
Changed spelling and aligned to other resources.
2021-09-12 14:53:28 +02:00
Nextcloud bot 7521b284c9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-12 02:28:25 +00:00
dependabot[bot] 06c4ebfe2d Merge pull request #28797 from nextcloud/dependabot/npm_and_yarn/vue-clipboard2-0.3.2 2021-09-12 00:50:30 +00:00
dependabot[bot] 3715076e38 Bump vue-clipboard2 from 0.3.1 to 0.3.2
Bumps [vue-clipboard2](https://github.com/Inndy/vue-clipboard2) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/Inndy/vue-clipboard2/releases)
- [Changelog](https://github.com/Inndy/vue-clipboard2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Inndy/vue-clipboard2/compare/v0.3.1...v0.3.2)

---
updated-dependencies:
- dependency-name: vue-clipboard2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-11 23:44:39 +00:00
dependabot[bot] 0bbf25fa82 Merge pull request #28795 from nextcloud/dependabot/npm_and_yarn/core-js-3.17.3 2021-09-11 23:05:14 +00:00
dependabot[bot] 2363bac02b Bump core-js from 3.17.2 to 3.17.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.17.2 to 3.17.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.17.2...v3.17.3)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-11 22:18:56 +00:00
rakekniven feefa45a88 Changed spelling and aligned to other resources.
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-09-11 20:47:40 +02:00
Pauli Järvinen a335592f14 Support seeking also from the end of file on S3 storage
The PR https://github.com/nextcloud/server/pull/20033 added support
for `fseek` for  the S3 storage backend. However, the seek mode SEEK_END
was left out that time. This PR fills this gap.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2021-09-11 17:43:50 +03:00
dependabot[bot] bc5350159e Merge pull request #28796 from nextcloud/dependabot/npm_and_yarn/sass-1.39.2 2021-09-11 03:36:51 +00:00
Nextcloud bot 5e989fa75b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-11 02:27:42 +00:00
dependabot[bot] 47cedb9730 Bump sass from 1.39.0 to 1.39.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.39.0 to 1.39.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.39.0...1.39.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-11 02:12:36 +00:00
Arthur Schiwon a843d3c5db allow using of disabled password reset mechanism for special cases
- LostController has three endpoints
- door opener email() still rejects
- resetform(), reachable from mail, checks the token first and may report
  that password reset is disabled
- setPassword() got its check removed as it is behind CSFR anyway and still
  requires a valid token
- this allows special cases like activating a freshly created guest account

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-10 22:48:16 +02:00
Pytal 99a1468033 Merge pull request #28707 from nextcloud/replace-icons-on-recommended-apps
hub: replace some icons with pretty ones
2021-09-10 10:50:04 -07:00
Arthur Schiwon 6857136f06 fixes missing prefix to validate password reset token
- also fixes the test which missed asserting the presence of it

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-10 19:06:50 +02:00
szaimen 14cf0fd01c Merge pull request #28788 from nextcloud/Valdnet-patch-2
l10n: Spelling unification
2021-09-10 19:03:05 +02:00
Valdnet 2eacf7fe1d l10n: Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 15:44:24 +00:00
Luka Trovic f5c3ec5365 Replace some icons with pretty icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 13:56:48 +00:00
Valdnet 58a9a70650 l10n: l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-09-10 12:03:03 +02:00
szaimen 43fcd28ea0 Merge pull request #28377 from nextcloud/fix/shared-ext-storage-scan
Scan the shared external storage source on access
2021-09-10 10:12:19 +02:00
John Molakvoæ 90b47ab7f0 Merge pull request #28764 from nextcloud/feat/sharing-link-event 2021-09-10 09:31:18 +02:00
Julius Härtl b0bf898e18 Merge pull request #28767 from nextcloud/fix/24404/touch-layout-dashboard 2021-09-10 09:21:12 +02:00
John Molakvoæ (skjnldsv) 719480ad9d Return proper watcher if SharedStorage originates from ExternalMount
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-09-10 08:55:54 +02:00
John Molakvoæ c56c317d82 Emit event on link share action
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2021-09-10 08:36:45 +02:00
John Molakvoæ 78d62063ff Merge pull request #28422 from nextcloud/enh/27465/notification-email 2021-09-10 08:34:20 +02:00
Nextcloud bot 347b59f2fd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-10 02:35:44 +00:00
blizzz 5c1b40ec36 Merge pull request #28677 from nextcloud/fix/noid/mysql-collation
make it possible to  override the default collation on mysql
2021-09-09 19:39:30 +02:00
Arthur Schiwon 763136ab48 also allow admins to set the primary email
- there will be times when it is necessary to reset this value for sure

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
Arthur Schiwon 27865d03c0 use specific email getter where necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:05 +02:00
Arthur Schiwon 4461b9e870 enable the user to set a primary (notification) email address (backend)
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00
Arthur Schiwon 0dee717c94 Confirm mails only per POST
- this is to avoid automatic confirmation by certain softwares that open
  links

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 19:23:04 +02:00
szaimen cabe36c0ab Dashboard - fix touch layout
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-09 14:59:09 +00:00
Arthur Schiwon a20de15b43 add a job to clean up expired verification tokens
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon 37f510cec2 fix parameter type hint in phpdoc
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon aacaad2a3f implement verification for additional mails
- mails added by (sub)admins are automatically verified
- provisioning_api controller as verification endpoint
- IAccountProperty gets a locallyVerified property
- IPropertyCollection gets a method to fetch an IAccountProperty by value
  - an remove equivalent was already present
- AccountManager always initiates mail verification on update if necessary
- add core success template for arbitrary title and message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:35 +02:00
Arthur Schiwon 19cc757531 move verification token logic out of lost password controller
- to make it reusable
- needed for local email verification

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-09 14:03:29 +02:00
Louis 9be939300a Merge pull request #28754 from Simounet/fix/files-trashbin-action-sticky-bar
Fix trashbin files view sticky action bar
2021-09-09 12:57:01 +02:00
Simounet ce570d0ed9 Fix trashbin files view sticky action bar
Signed-off-by: Simounet <contact@simounet.net>
2021-09-09 11:56:56 +02:00
Nextcloud bot 412888cd22 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-09 02:27:55 +00:00
John Molakvoæ 2693573be2 Merge pull request #28679 from nextcloud/fix/boolean-expected 2021-09-08 10:06:36 +02:00
Nextcloud bot f32d334209 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-08 02:27:33 +00:00
Christopher Ng 765ac6d2e6 Fix invalid prop type for isValidSection
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-07 21:16:18 +00:00
Lukas Reschke acb6c29646 Merge pull request #28743 from nextcloud/master-bump-3rdparty-ref-1
[master] Bump 3rdparty reference
2021-09-07 18:08:29 +02:00
Lukas Reschke 471167019c Implement PR review feedback
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 18:03:34 +02:00
kesselb fa8083ac12 Merge pull request #28692 from nextcloud/enh/send-invitation-to-req-participants
Send attendence links to required and optinal attendees of an event without an RSVP
2021-09-07 16:03:08 +02:00
Lukas Reschke 80d53040c9 [master] Bump 3rdparty reference
Includes https://github.com/nextcloud/3rdparty/pull/779

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 11:38:43 +02:00
Lukas Reschke 74a149720d Merge pull request #28739 from nextcloud/master-bump-3rdparty-ref
[master] Bump 3rdparty reference
2021-09-07 11:09:08 +02:00
Lukas Reschke c21a721fc1 Merge pull request #28725 from nextcloud/disallow-public-page-in-2fa-flow
Remove 2FA exemption from PublicPage annotation
2021-09-07 10:44:34 +02:00
John Molakvoæ b79f1eb6ae Merge pull request #28157 from Bibo-Joshi/share-folder-per-user 2021-09-07 10:26:38 +02:00
Lukas Reschke 3338f75f4c [master] Bump 3rdparty reference
This includes https://github.com/nextcloud/3rdparty/pull/778

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-07 09:46:07 +02:00
Lukas Reschke d4d1f5dfce Merge pull request #28726 from nextcloud/check-if-path-is-valid
Check if SVG path is valid
2021-09-07 08:31:16 +02:00
Nextcloud bot 3ead598647 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-07 02:28:11 +00:00
Lukas Reschke 19ad636373 Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 21:26:27 +02:00
Lukas Reschke a915372c56 phpcs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:50:23 +02:00
Lukas Reschke 6337bb3f59 Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:46:02 +02:00
Lukas Reschke 5600c7b43f Bump autoloader
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:32:25 +02:00
Lukas Reschke 378cc922c4 Adjust logic to store period instead of current timestamp
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 17:31:36 +02:00
Hinrich Mahler 961f8958c0 Let users choose a share_folder 2021-09-06 16:39:11 +02:00
Lukas Reschke d4f97affc1 Add database ratelimiting backend
In case no distributed memory cache is specified this adds
a database backend for ratelimit purposes.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 16:31:01 +02:00
Lukas Reschke 2994dbe215 Fix codestyle
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 10:53:01 +00:00
Lukas Reschke dd054b2ee8 Check if SVG path is valid
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 10:46:12 +00:00
Lukas Reschke 8da6a9bea9 Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 09:09:42 +00:00
Lukas Reschke 7c1038bfb3 Remove 2FA exemption from PublicPage annotation
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-09-06 08:30:54 +00:00
Nextcloud bot 33a0b75c83 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-06 02:27:43 +00:00
Nextcloud bot b656681e8a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-05 02:27:17 +00:00
Thomas Citharel 45d5a797e7 Add repair job to delete calendar subscriptions that were orphaned when
deleteding an user

Follow-up to https://github.com/nextcloud/server/pull/28419

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-09-04 20:55:12 +02:00
dependabot[bot] 113da79c8f Merge pull request #28711 from nextcloud/dependabot/npm_and_yarn/sass-1.39.0 2021-09-04 13:10:03 +00:00
dependabot[bot] 5d063ed4a1 Bump sass from 1.38.2 to 1.39.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.2 to 1.39.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.2...1.39.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-04 12:22:45 +00:00
dependabot[bot] 960a7e95c6 Merge pull request #28710 from nextcloud/dependabot/npm_and_yarn/core-js-3.17.2 2021-09-04 12:20:52 +00:00
dependabot[bot] 91002458c5 Bump core-js from 3.16.4 to 3.17.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.16.4 to 3.17.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.16.4...v3.17.2)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-04 11:23:05 +00:00
dependabot[bot] 2812f1d04c Merge pull request #28708 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.7 2021-09-04 10:51:25 +00:00
dependabot[bot] 529ad62ddd Bump css-vars-ponyfill from 2.4.6 to 2.4.7
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.6 to 2.4.7.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.6...v2.4.7)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-04 10:05:39 +00:00
Nextcloud bot a83542f2e2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-04 02:26:10 +00:00
MichaIng 913c257aa7 Merge pull request #28614 from iametza/aldatsa-patch-1
Fix typo on the DocBlock of the copy method
2021-09-03 15:57:13 +02:00
Anna Larch 56cc01c45c Send Invitation to Attendees with ROLE=REQ-PARTICIPANT
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-09-03 14:48:46 +02:00
Christoph Wurst cd8b17fd70 Merge pull request #28700 from nextcloud/fix/psalm-security-analysis-pin-version
Pin Psalm version for security analysis
2021-09-03 14:44:43 +02:00
Christoph Wurst 7559a4a97d Pin Psalm version for security analysis
The action will otherwise pull dev-master and this can break easily as
we just experience.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-09-03 13:52:04 +02:00
szaimen 46837e28d0 Merge pull request #25879 from nextcloud/fix/user-list-infinite-loading
Fix user list infinite loading state in user settings
2021-09-03 11:43:17 +02:00
Nextcloud bot 6a9afe3736 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-03 02:28:29 +00:00
kesselb 3899dba352 Merge pull request #28580 from nextcloud/dependabot/composer/egulias/email-validator-3.1.1
Bump egulias/email-validator from 2.1.25 to 3.1.1
2021-09-02 11:29:25 +02:00
John Molakvoæ c37ed98fda Merge pull request #28643 from nextmcloud/NMC-552 2021-09-02 08:15:48 +02:00
sangramsinh.desai@t-systems.com bc6b496f4c Duplicate code removed
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:49 +05:30
sangramsinh.desai@t-systems.com 86558878e4 unwanted class removed
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:48 +05:30
sangramsinh.desai@t-systems.com 0d18228eb9 space above the downloadFile element added
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:48 +05:30
sangramsinh.desai@t-systems.com 4d7b780c73 mimetype condition merged
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:48 +05:30
Sangramsinh Desai 2254a40f61 Guest view download button seperated for image
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:48 +05:30
Sangramsinh Desai ce8a8c0c83 Guest view download button seperated for video
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
2021-09-02 09:48:48 +05:30
Nextcloud bot c3ea18e11a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-09-02 02:27:12 +00:00
Joas Schilling 135bc78db6 Merge pull request #27757 from designbybeck/patch-1
Target Blank for external link
2021-09-01 22:57:02 +02:00
Beck fc5e535111 Update apps/theming/templates/settings-admin.php
including noreferrer noopener

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Beck <beck@learnopen.tech>
2021-09-01 14:51:33 -05:00
Beck db79284107 Target Blank for external link
The icon on this looks to have an arrow showing an external link, but it loads in the same window. Added target="_blank"

Signed-off-by: Beck <beck@learnopen.tech>
2021-09-01 14:51:33 -05:00
Julien Veyssier 073a67370e compile settings
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-09-01 17:25:00 +02:00
Julien Veyssier c11689b5b2 avoid 'No users in here' in user list when there actually are users
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-09-01 17:23:06 +02:00
szaimen 1a4e4b87aa Merge pull request #28682 from nextcloud/NMC-464
NMC-464 Highlight the search term on no results
2021-09-01 13:25:37 +02:00
Arthur Schiwon ce283c12b6 make it possible to override the default collation
- allows admins to configure it for edge cases like accent sensitivity

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-09-01 11:57:47 +02:00
kavita.sonawane@t-systems.com d2aed25dd2 Search function strong tag for user input
Signed-off-by: Kavita Sonawane <kavita.sonawane@t-systems.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-01 09:31:33 +00:00
szaimen ab592c99e6 Merge pull request #28506 from nextcloud/followup/27281/fix-oc-linktoocs
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
2021-08-31 19:45:28 +02:00
Carl Schwan 734a750074 Merge pull request #28660 from nextcloud/work/carl/fix-search-position
Fix position of search bar
2021-08-31 18:26:11 +02:00
Carl Schwan 4027bba202 Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-31 15:12:55 +00:00
John Molakvoæ 4411822b0e Merge pull request #28646 from nextcloud/work/carl/fix-filter-declaration 2021-08-31 15:04:20 +02:00
Joas Schilling d8cbb9fc7b Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 13:01:15 +02:00
Joas Schilling 56c8641714 Fix mountsfilelist to do the v1 call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
Joas Schilling 243098a96f Revert OC.linkToOCS() calls back to old behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
Joas Schilling 40d4ff3704 Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
Christoph Wurst 613798a54b Merge pull request #28419 from nextcloud/bug/28419/delete-calendar-subscriptions-when-deleting-user
Delete calendar subscriptions as well when deleting user
2021-08-31 08:59:50 +02:00
Christoph Wurst 506b411dfc Merge pull request #28332 from nextcloud/work/carl/argon2i2
Only recommand for php-sodium on >= PHP 7.4
2021-08-31 08:59:27 +02:00
Nextcloud bot 71c9f4c8d5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-31 02:26:48 +00:00
szaimen a772fc3d4c Merge pull request #28349 from J0WI/compress-pngs
Compress PNGs
2021-08-31 03:22:10 +02:00
Pytal d668de5f4f Merge pull request #28624 from nextcloud/dependabot/npm_and_yarn/marked-3.0.2
Bump marked from 3.0.0 to 3.0.2
2021-08-30 17:37:25 -07:00
dependabot[bot] e2f3cf23b8 Bump marked from 3.0.0 to 3.0.2
Bumps [marked](https://github.com/markedjs/marked) from 3.0.0 to 3.0.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v3.0.0...v3.0.2)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-30 20:00:09 +00:00
dependabot[bot] 1f5fede7a5 Merge pull request #28651 from nextcloud/dependabot/npm_and_yarn/sass-1.38.2 2021-08-30 19:31:03 +00:00
dependabot[bot] 8fc6feb1c5 Bump sass from 1.38.0 to 1.38.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.38.0 to 1.38.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.38.0...1.38.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-30 18:58:30 +00:00
dependabot[bot] c69980d90b Merge pull request #28620 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.1.0 2021-08-30 18:31:01 +00:00
dependabot[bot] af12f9217c Bump @nextcloud/vue from 4.0.3 to 4.1.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.0.3 to 4.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v4.0.3...v4.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-30 17:56:05 +00:00
dependabot[bot] b9d4738048 Merge pull request #28648 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.4 2021-08-30 16:26:27 +00:00
dependabot[bot] fc27c12f66 Bump core-js from 3.16.2 to 3.16.4
Bumps [core-js](https://github.com/zloirock/core-js) from 3.16.2 to 3.16.4.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.16.2...v3.16.4)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-30 15:48:59 +00:00
Carl Schwan 7eb71a72d7 Bump egulias/email-validator from 2.1.25 to 3.1.1
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-30 13:00:07 +02:00
Carl Schwan 9e401b0fce Fix filter declaration in settings appinfo.xml
It's probably just a small typo introduced in 2020. Found by using the
app-info-shipped.xsd file.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-30 12:00:01 +02:00
Julius Härtl 4de981b582 Merge pull request #28616 from nextcloud/dav-move-movable-mount
always allow dav move for movable mount root
2021-08-30 10:24:17 +02:00
Julius Härtl 6908212bf4 Merge pull request #28621 from nextcloud/dependabot/npm_and_yarn/webdav-4.7.0
Bump webdav from 4.6.1 to 4.7.0
2021-08-30 09:43:48 +02:00
Nextcloud bot cf9b888309 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-30 02:27:02 +00:00
dependabot[bot] bf780589c0 Bump webdav from 4.6.1 to 4.7.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v4.6.1...v4.7.0)

---
updated-dependencies:
- dependency-name: webdav
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-29 19:30:35 +00:00
Jens Timmerman 4c9186109b Update config.sample.php
fix typo
2021-08-29 17:48:54 +02:00
Jens Timmerman f7c3674b75 Update config.sample.php
fixes nextcloud/server#21674
2021-08-29 17:47:30 +02:00
Nextcloud bot 288be658f2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-29 02:27:09 +00:00
Nextcloud bot 08e83f1982 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-28 02:53:26 +00:00
Asier Iturralde Sarasola 3e95442ffd Fix typo on the DocBlock of the copy method
Signed-off-by: Asier Iturralde Sarasola <asier.iturralde@gmail.com>
2021-08-27 18:58:18 +02:00
Vincent Petry 5b664e02d8 Test for transfer ownership with incoming shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-27 17:56:16 +02:00
Immanuel Pasanec 1f42657bb9 Added support for transfering incoming file shares.
- new option --transfer-incoming-shares=1 | 0
- new config.php option 'transfer-incoming-shares' => true | false

The command line option overrules the config.php option.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-27 17:55:58 +02:00
Robin Appelman a334eb7ab1 always allow dav move for movable mount root
the root of a movable mountpoint can be moved even if it doesn't have update permissions

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-27 16:02:45 +02:00
Pytal 95662a1070 Merge pull request #28423 from nextcloud/feat/27869/language 2021-08-26 22:57:10 -07:00
Christopher Ng f6119b7f23 Refine input validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-27 05:15:20 +00:00
Christopher Ng 3f6586ba03 Update option separator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Christopher Ng 0552b6a7dd Vuetify
- abstract HeaderBar component

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Christopher Ng 54944822f1 Minor refactor
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Christopher Ng c65987213c Create language service and update constants
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Christopher Ng cc5815dcd0 Provide initial state
- camelCase language strings

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-27 05:06:12 +00:00
Nextcloud bot 3b2be23fee [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-27 02:26:16 +00:00
Julius Härtl 3b6be67719 Align occ status with status.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-26 22:36:26 +02:00
Julius Härtl 78a5768888 Merge pull request #28028 from nextcloud/feat/27869/full-name 2021-08-26 22:09:52 +02:00
Robin Appelman 7351059326 generate a better optimized query for path prefix search filters
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-26 19:07:52 +02:00
Vincent Petry fd93aa8162 Merge pull request #28373 from nextcloud/enh/noid/fix-encrypted-versions-detect-unencrypted
Fix encrypted version to 0 when finding unencrypted file
2021-08-26 12:51:41 +02:00
Vincent Petry 9c6bbfac45 Unregister enc stream wrapper for any exception
This prevents side effects in tests by properly cleaning up
even with expected exceptions.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 10:52:23 +02:00
Vincent Petry 60e44077b7 Fix encrypted version to 0 when finding unencrypted file
Whenever the command is run and a "legacy cipher" seems to be detected
when the legacy option is disabled, it's highly likely that the file is
actually unencrypted but the database contains a encrypted version
higher than 0 for some reason.

The command now detects this case and automatically sets the encrypted
version to 0 so that the file can be read again.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-26 10:44:49 +02:00
Julius Härtl 25e41354f3 Merge pull request #28595 from nextcloud/docs/config-dbdriveroptions-ssl
Extend description for dbdriveroptions config value for TLS/SSL setups
2021-08-26 08:21:19 +02:00
kesselb 98ad69fec2 Merge pull request #28262 from nextcloud/fix/set-up-2fa-providers-enforced-with-backup-codes
Fix setting up 2FA providers when 2FA is enforced and bc are generated
2021-08-25 14:36:54 +02:00
Lukas Reschke 97ff0c9cbd Merge pull request #28421 from nextcloud/enhancement/2fa-backup-codes-disable-admin
Allow admins to disable 2FA backup codes via occ
2021-08-25 13:12:27 +02:00
Julius Härtl 5b2070c9f5 Extend description for dbdriveroptions config value for TLS/SSL setups
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-25 12:53:53 +02:00
szaimen 48b3a6bcdb Merge pull request #28459 from nextcloud/enh/noid/improve-webmanifest-2
Allow to open any app in a standalone window
2021-08-25 12:21:12 +02:00
Christoph Wurst 006aac9a0c Merge pull request #28473 from nextcloud/fix-file-get-contents
Fix path of `file_get_contents`
2021-08-25 09:28:52 +02:00
Vincent Petry 8cbf366cf0 Merge pull request #28399 from nextcloud/share-mount-event
add event for when a share is mounted
2021-08-25 09:07:09 +02:00
nextcloud-command c67a6e5bcb Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-24 23:08:32 +00:00
Christopher Ng d738ca48b2 Refine input validation
- Remove usage of JS core checkValidity() in favour of custom backend compliant validation
- Rewrite and refactor with removal of form tag in favour of section
- Scope styles
- Remove many uses of $nextTick
- Refine disabled state logic
- Translate account property constants

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-24 23:00:36 +00:00
Robin Appelman 8597d9c7d4 add event for when a share is mounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-24 15:26:50 +02:00
Christoph Wurst d0d903c0f1 Allow admins to disable 2FA backup codes via occ
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-24 14:00:13 +02:00
Christoph Wurst a7aa200c33 Merge pull request #28574 from nextcloud/fix/transfer-ownership-restore-share-error-logging
Log exception message during failed ownership transfer share restore
2021-08-24 11:55:56 +02:00
Christoph Wurst 28f09954e7 Merge pull request #28560 from nextcloud/dependabot/composer/web-auth/webauthn-lib-3.3.9
Bump web-auth/webauthn-lib from 3.3.1 to 3.3.9
2021-08-24 11:55:38 +02:00
szaimen 0758e0258d improve webmanifest
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-08-24 11:42:04 +02:00
Julius Härtl 9e4b22ba8c Merge pull request #28548 from nextcloud/dependabot/npm_and_yarn/sass-1.38.0 2021-08-24 11:15:38 +02:00
John Molakvoæ a01332b1e8 Merge pull request #28571 from nextcloud/error-sup 2021-08-24 10:12:22 +02:00
Christoph Wurst ffcf27c757 Log exception message during failed ownership transfer share restore
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-24 09:22:30 +02:00
Vincent Petry e32d293346 Merge pull request #28476 from nextcloud/search-jail-insensitive
use case insensitive like when limiting search to jail
2021-08-24 08:59:35 +02:00
Vincent Petry 6702c2b356 Merge pull request #28566 from nextcloud/jail-search-root-unjailed
use getGetUnjailedRoot to determine if jailed search needs the path filter
2021-08-24 08:19:47 +02:00
Nextcloud bot 4817ce634a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-24 02:26:09 +00:00
acsfer 2132cde6e3 Remove error suppression
This seems no longer needed as per https://bugs.php.net/bug.php?id=50688
2021-08-24 00:57:39 +02:00
Christopher Ng 5e67677d94 Functional paradigm shift
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +00:00
Christopher Ng a8ad5a3b6e Vuetify
- abstract shared components
- rewrite email section

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +00:00
Christopher Ng db182d6517 Create display name service and update constants
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +00:00
Christopher Ng d4d59493a2 Provide initial state
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-23 21:29:47 +00:00
dependabot[bot] 0a0f655a8e Bump sass from 1.37.5 to 1.38.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.37.5 to 1.38.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.37.5...1.38.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 21:11:26 +00:00
Robin Appelman c688703117 use getGetUnjailedRoot to determine if jailed search needs the path filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-23 16:27:53 +02:00
Robin Appelman fd5e11a81a Add dav plugin to trigger recalculating of checksums
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-23 15:38:58 +02:00
John Molakvoæ 079f76ab12 Merge pull request #28550 from nextcloud/dependabot/npm_and_yarn/marked-3.0.0
Bump marked from 2.1.3 to 3.0.0
2021-08-23 15:20:24 +02:00
dependabot[bot] d91aab83a5 Bump marked from 2.1.3 to 3.0.0
Bumps [marked](https://github.com/markedjs/marked) from 2.1.3 to 3.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.1.3...v3.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 14:15:19 +02:00
Louis a8547cc0ea Merge pull request #28549 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.8.0
Bump webpack-cli from 4.7.2 to 4.8.0
2021-08-23 12:09:46 +02:00
Louis 6c89ea12a1 Merge pull request #28552 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.2
Bump core-js from 3.16.1 to 3.16.2
2021-08-23 12:09:29 +02:00
Christoph Wurst 4e7aa7e77d Bump web-auth/webauthn-lib from 3.3.1 to 3.3.9
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-23 11:29:00 +02:00
blizzz 36b72b8fd0 Merge pull request #28466 from nextcloud/bugfix/noid/verify-user-no-retain
Do not retain VerifyUserData job when lookup server is not available
2021-08-23 11:26:08 +02:00
dependabot[bot] 56fc175617 Bump core-js from 3.16.1 to 3.16.2
Bumps [core-js](https://github.com/zloirock/core-js) from 3.16.1 to 3.16.2.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.16.1...v3.16.2)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 10:41:29 +02:00
dependabot[bot] ad8cd75231 Merge pull request #28551 from nextcloud/dependabot/npm_and_yarn/webdav-4.6.1 2021-08-23 08:23:41 +00:00
Louis 0b0e404ad4 Merge pull request #28540 from nextcloud/bugfix/noid/user-status-sentry-spam
Fix "TypeError: e.t0.response is undefined" spam from user_status
2021-08-23 10:07:45 +02:00
dependabot[bot] 712d1f8005 Bump webdav from 4.6.0 to 4.6.1
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: webdav
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 09:41:40 +02:00
Nextcloud bot f678898042 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-22 02:25:52 +00:00
dependabot[bot] 44fbb2998b Bump webpack-cli from 4.7.2 to 4.8.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.2 to 4.8.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.7.2...webpack-cli@4.8.0)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-21 01:03:05 +00:00
Pytal e2375a3747 Merge pull request #26584 from nextcloud/update-htaccess
Update .htaccess (php8+ and mod_lsapi)
2021-08-20 14:25:52 -07:00
Julius Härtl 23353ab993 Merge pull request #28532 from nextcloud/bugfix/noid/versions-tabview
Do not load versions tab view if the files app is not available
2021-08-20 19:07:52 +02:00
kesselb e2116e2fb2 Merge pull request #27877 from nextcloud/enh/s3-putObject
Refactor writeObject to only use MultipartUpload when required
2021-08-20 18:54:16 +02:00
Bernd Rederlechner 3866f388b1 Refactor writeObject to only use MultipartUpload when required
Signed-off-by: Bernd Rederlechner <Bernd.Rederlechner@t-systems.com>

Co-authored-by: Julius Härtl <jus@bitgrid.net>
2021-08-20 17:02:25 +02:00
Joas Schilling e6b579351d Fix "TypeError: e.t0.response is undefined" spam from user_status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-20 16:56:34 +02:00
Julius Härtl 98e2dce3a4 Merge pull request #28452 from nextcloud/bug/noid/column-name-oci
Set alias for result of cast column function
2021-08-20 15:37:46 +02:00
Julius Härtl 041fbdad7a Merge pull request #28185 from nextcloud/investigate/pending_size_for_s3_buckets_master
Fix folder size contained in S3 buckets
2021-08-20 15:33:02 +02:00
Julius Härtl def287cdb7 Do not load versions tab view if the files app is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-20 14:53:00 +02:00
Joas Schilling 83d46efefd Merge pull request #28478 from jzombi/patch-1
Fix SQL type error
2021-08-20 11:47:27 +02:00
Richard Steinmetz 57ad9e4b0f Merge pull request #28458 from nextcloud/expose-user-language-dav
Expose user language through DAV
2021-08-20 11:31:27 +02:00
acsfer 3ee82e4405 Fix module name for PHP8+ 2021-08-20 10:33:03 +02:00
acsfer 2303eebcc8 Update .htaccess (PHP8 and mod_lsapi)
- Add `mod_lsapi` (Cloudlinux) authorization headers
- Add `mod_php8` php_values
- Reformating for better lisibilty
2021-08-20 10:33:02 +02:00
Nextcloud bot ce97244231 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-20 02:26:19 +00:00
blizzz bba80f82bf Merge pull request #28519 from nextcloud/enh/user-report-active-users
Add active user count to occ user:report
2021-08-19 21:33:16 +02:00
Christoph Wurst d73b378c22 Merge pull request #28504 from nextcloud/fix/debug-movie-preview
Properly log errors in Movie previews generation
2021-08-19 20:00:09 +02:00
Julius Härtl ed2cc082de Merge pull request #27637 from nextcloud/version-expire-search
Use search to get versions list from cache for expiry
2021-08-19 18:49:15 +02:00
Julius Härtl d201dc2c93 Add active user count to occ user:report
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-19 16:22:20 +02:00
Louis Chemineau 735fd94cc0 Fix folder size contained in S3 buckets
If 'filesystem_check_changes' was set to never, the cached size was alway set to -1 (Pending) on every access

Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-08-19 15:03:46 +02:00
John Molakvoæ 6752388c69 Merge pull request #28512 from nextcloud/feature/output_exception_in_cron
Output exception in cron
2021-08-19 14:31:24 +02:00
Christoph Wurst 8bda0ca0a0 Merge pull request #28507 from nextcloud/enhancement/composer-bin-plugin-for-tools
Scope composer tools with the bin plugin
2021-08-19 13:50:39 +02:00
Louis Chemineau 6afab63e09 Output exception in cron
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-08-19 12:40:55 +02:00
Christoph Wurst 4b0e18ae1b Merge pull request #27294 from pjft/patch-2
Update TwoFactorChallengeController.php
2021-08-19 12:40:40 +02:00
Christoph Wurst e3541da93e Scope composer tools with the bin plugin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-19 12:25:55 +02:00
Julius Härtl 3dc7fd27f1 Merge pull request #28500 from nextcloud/fix/remove-jsqueeze 2021-08-19 10:01:23 +02:00
John Molakvoæ (skjnldsv) 40c10ab145 Properly log errors in Movie previews generation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-19 09:47:12 +02:00
Christoph Wurst 797d7abb76 Remove patchwork/jsqueeze because it's not used
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-19 09:25:29 +02:00
Nextcloud bot c512d3f0d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-19 02:25:51 +00:00
blizzz 4c7892afdd Merge pull request #28502 from nextcloud/debt/noid/drop-unused-metho
Remove unused method
2021-08-19 00:33:28 +02:00
Daniel Kesselberg 60a7f5c53e Remove unused method
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-18 22:10:40 +02:00
Daniel Calviño Sánchez 193cf6cfde Split capability
The "federated" and "published" scopes are independent one from each
other, so the capability that encompassed both needs to be split.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:56:10 +02:00
Daniel Calviño Sánchez 1e19b1cc99 Hide "federated" scope when Federation app is disabled
If the Federation app is disabled it is not possible to synchronize the
users from a different server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:56:10 +02:00
Daniel Calviño Sánchez 2c70e4689a Fix "Federated" scope not shown when the lookup server is disabled
When the lookup server is disabled the address books can still be
exchanged between trusted servers. Therefore the user should be able to
set the "Federated" scope in that case.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:05:34 +02:00
Daniel Calviño Sánchez 83b39d6111 Add missing scope to test
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-08-18 19:05:33 +02:00
John Molakvoæ 3ac9b565db Merge pull request #28493 from nextcloud/bugfix/occ-error-output
Write upgrade/not-installed notices to stderr
2021-08-18 18:52:02 +02:00
Julius Härtl bccdd32d4f Merge pull request #28485 from nextcloud/bugfix/20913/check-image-resource
Fix #20913: Check image resource before attempting to preserve alpha
2021-08-18 17:33:05 +02:00
Robin Appelman 5f101d910b use search to find versions to expire
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-18 16:52:22 +02:00
Robin Appelman d20aad3e8f test for version expire
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-18 16:41:41 +02:00
acsfer 280dd851b3 Avoid usage of Nextcloud API, use PHP function 2021-08-18 15:21:05 +02:00
Julius Härtl 95987d903d Merge pull request #28481 from nextcloud/fix/hash-key
Hash cache key
2021-08-18 15:18:58 +02:00
John Molakvoæ (skjnldsv) e3fa68682d Default message for ShareNotFound exception
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-18 12:47:11 +00:00
John Molakvoæ (skjnldsv) 18f8fabd5a Add proper message to created share not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-18 12:47:11 +00:00
Julius Härtl b8b73fa9e4 Write upgrade/not-installed notices to stderr
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-18 14:31:49 +02:00
John Molakvoæ 7ab39effd3 Merge pull request #28413 from nextcloud/fix/app-token-login-name-mismatch-logging 2021-08-18 14:08:12 +02:00
John Molakvoæ 2c5d308b8e Merge pull request #28486 from nextcloud/enh/storage-info-user
Add storage info to `user:info` command
2021-08-18 14:03:15 +02:00
John Molakvoæ (skjnldsv) edeb8a5739 Add storage info to user:info command
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-08-18 08:38:49 +02:00
Simon Spannagel 58f55975e0 Fix #20913: Check image resource before attempting to preserve alpha
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-08-18 07:36:11 +02:00
Nextcloud bot 0244368e35 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-18 02:25:59 +00:00
Christopher Ng 60ecc432a4 Hash cache key
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-17 21:55:01 +00:00
Mátyás Jani 1018eb4411 Fix SQL type error
Fixing the following SQL error encountered with PostgreSQL:

    SQLSTATE[42883]: Undefined function: 7 ERROR:
    No operator matches the given name and argument types. You might need to add explicit type casts.

This prevented the Nextcloud apps/files page to show the files and directories. See #27881
2021-08-17 15:10:38 +02:00
Robin Appelman c48f9ffcdd use case insensitive like when limiting search to jail
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-08-17 13:51:45 +02:00
acsfer a3c69b8310 Fix path of file_get_contents
Try to fix #28370  and #27441 

Avoid pre-pends the `$path` to the user's own storage.
2021-08-17 13:03:45 +02:00
John Molakvoæ 0edfb24f14 Merge pull request #28464 from nextcloud/bugfix/noid/session-error-handling
Only trap E_ERROR in session handling
2021-08-17 11:39:33 +02:00
Julius Härtl f49a751283 Do not retain VerifyUserData job when lookup server is not available
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-17 11:39:24 +02:00
Julius Härtl afe6af4d78 Merge pull request #28461 from nextcloud/email-ux-improvements 2021-08-17 10:52:49 +02:00
Julius Härtl c1ea6a899c Only trap E_ERROR in session handling
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-17 10:47:25 +02:00
Nextcloud bot eb77a4b008 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-17 02:27:09 +00:00
nextcloud-command 550ed95a7a Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-17 01:02:57 +00:00
Christopher Ng f7dee7152a Autofocus only additional email inputs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-17 00:49:11 +00:00
Thomas Citharel 2a78ea9dc6 Improve PrincipalTest test file
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 19:03:01 +02:00
Thomas Citharel a7b9b398a3 Expose user language through DAV
Introduces the '{http://nextcloud.com/ns}language' prop that gives the
user's language

Closes #28449

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-16 19:03:00 +02:00
John Molakvoæ 4f0101837a Merge pull request #28445 from nextcloud/enh/header-right
Always add header-right container
2021-08-16 17:48:47 +02:00
Daniel Kesselberg 7492b3c24f Set alias for result of cast column function
On OCI an expression like to_char(events) end up as $row['to_char(events)'] in the query result.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-16 14:38:19 +02:00
Julius Härtl 5da4227380 Merge pull request #28303 from nextcloud/fix/unifiedsearchcontroller_webroot 2021-08-16 14:37:56 +02:00
szaimen 9585c4f256 Merge pull request #28211 from nextcloud/fix/27496/improve-auto-expiration-hint
Improve auto expiration hint for trashbin and file versions
2021-08-16 12:16:22 +02:00
Julius Härtl d99b46ec42 Always add header-right container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-16 12:04:40 +02:00
Jonas Meurer 7c76e85dde Use IURLGenerator function to get value of \OC::$WEBROOT global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 10:56:47 +02:00
Jonas Meurer 5f5bacde8f UnifiedSearchController: strip webroot from URL before finding a route
This should fix route matching in UnifiedSearchController on setups with
Nextcloud in a subfolder (webroot).

Fixes: #24144
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-08-16 10:56:25 +02:00
Nextcloud bot 6844449465 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-16 02:26:20 +00:00
acsfer 11169c86f8 Tests update 2021-08-15 12:23:29 +02:00
dependabot[bot] 35e73e4376 Merge pull request #28425 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.1 2021-08-15 10:21:30 +00:00
acsfer 9324a74bba Handle files with is_file instead of file_exists
Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`
2021-08-15 11:55:00 +02:00
dependabot[bot] ce60a66b17 Bump core-js from 3.16.0 to 3.16.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.16.0 to 3.16.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.16.0...v3.16.1)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-15 09:36:35 +00:00
dependabot[bot] cf895e1430 Merge pull request #28427 from nextcloud/dependabot/npm_and_yarn/jsdom-17.0.0 2021-08-15 09:27:30 +00:00
John Molakvoæ d24929b98a Merge pull request #28420 from nextcloud/fix/composer-2-missing-files
Add missing files for Composer v2
2021-08-15 10:25:46 +02:00
dependabot[bot] 106f27c026 Bump jsdom from 16.7.0 to 17.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.7.0 to 17.0.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.7.0...17.0.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-15 08:20:08 +00:00
Nextcloud bot cf85a4dc73 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-15 02:26:04 +00:00
dependabot[bot] 32be036cd6 Merge pull request #28424 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.1 2021-08-15 00:46:34 +00:00
nextcloud-command 6f894b24b9 Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-15 00:00:44 +00:00
Daniel Rudolf 1684fd0b6f Update Psalm baseline
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-08-14 13:08:46 +02:00
John Molakvoæ fd1296856b Merge pull request #24185 from nextcloud/bugfix/noid/external-s3-delete-folder 2021-08-14 09:28:16 +02:00
Nextcloud bot b61bb729c2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-14 02:26:43 +00:00
dependabot[bot] 1a05c84e02 Bump p-limit from 3.1.0 to 4.0.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v3.1.0...v4.0.0)

---
updated-dependencies:
- dependency-name: p-limit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 01:03:55 +00:00
dependabot[bot] 9716b13dc6 Bump dompurify from 2.3.0 to 2.3.1
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.0...2.3.1)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-14 01:02:03 +00:00
Julius Härtl bc3c46362a Make sure that a empty directory can still be deleted when copied from another storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-13 16:34:48 +00:00
Julius Härtl 8a14f64ac2 Delete object to cleanup leftover of paths when removing directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-13 16:34:48 +00:00
Christoph Wurst 6a50c4a344 Add missing files for Composer v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 15:01:02 +02:00
Thomas Citharel 57e2f2a903 Delete calendar subscriptions as well when deleting user
Closes #28418

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-08-13 14:19:03 +02:00
pjft 5c8e7be4a7 Fix bug introduced on drag and drop external files
Drag and drop of external (OS filesystem) to subdirectories in the browser would fail on specific cases, mainly when the subdirectory was no longer off the root folder.
This seemed to have been an issue introduced with the subdirectory free space calculation [here](https://github.com/nextcloud/server/commit/f9536b08096ed1c80391af36d33a18198be1fced) and it seems to fail for any subdirectory that doesn't belong to the root folder.

Bug reports:
- https://help.nextcloud.com/t/drag-drop-into-subfolders/120731
- https://github.com/nextcloud/server/issues/24720

I couldn't find any reference on scenarios or quota management that would suggest when a subdirectory's free space would be different to the parent's free space, other than when on the root folder, where subdirectories can be external mounts.

As such, if my understanding is correct (please review), this calculation can - and should - be made by getting the free space from the first subdirectory in the total path, which caters for all subdirectory scenarios.

Please advise, happy to help improve this.

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: pjft <pjft@users.noreply.github.com>
2021-08-13 12:57:39 +01:00
Richard Steinmetz fa56c13484 Merge pull request #28062 from nextcloud/fix/27809/smb-acl-users-without-domain
Gracefully handle smb acls for users without a domain
2021-08-13 10:38:41 +02:00
Christoph Wurst a143337791 Emit an error log when the app token login name does not match
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 10:31:51 +02:00
Richard Steinmetz 2e53cf4c1f Gracefully handle smb acls for users without a domain
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-08-13 09:43:50 +02:00
Nextcloud bot 05ec2faea8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-13 02:26:37 +00:00
szaimen 26a4d73d85 Merge pull request #28402 from nextcloud/alias-locale-to-moment-supported-locale
Alias locales to moment supported locales
2021-08-12 23:27:28 +02:00
Thomas Citharel 092e6be473 Alias locales to moment supported locales
Moment doesn't have aliases for every locale and doesn't parse some locale IDs correctly so we need to alias them

Close #27982

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-12 20:24:58 +00:00
Carl Schwan c44c643a08 Put controls above the text editor menubar
Otherwise this will creates a minor visual glitch when https://github.com/nextcloud/text/pull/1821
will get merged.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-12 19:22:02 +02:00
Nextcloud bot 9603069cc7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-12 02:27:20 +00:00
Vincent Petry 1daab5751d Merge pull request #28318 from nextcloud/bugfix/noid/flow-oracle-allow-null-on-name
Make "name" column nullable for workflows
2021-08-11 15:52:01 +02:00
Nextcloud bot 283f394c60 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-11 02:26:43 +00:00
szaimen a6ab0e188d Merge pull request #28348 from smichel17/patch-1
cron: exit 1 on exception
2021-08-10 15:01:52 +02:00
Lukas Reschke 8193a0d1cf Merge pull request #27923 from nextcloud/remove-flysystem-storage-class
Remove Flysystem storage class
2021-08-10 13:18:46 +02:00
Vincent Petry 15a62c5237 Make "name" column nullable in workflow operations
The "name" column is now unused and the code is always inserting an
empty string. While this works with most databases, Oracle complains
because an empty string is equivalent to null.

To fix this, the column definition is changed to allow null values now.

Also added some logging in case of database exceptions, because without
this nothing would be logged to detect the above problem.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-08-10 11:19:15 +02:00
John Molakvoæ 7f69a60ab1 Merge pull request #28360 from nextcloud/revert-28351-enh/27553/user-status-plural-singular
Revert "Fix Recent statuses plural/singular"
2021-08-10 07:10:56 +02:00
Nextcloud bot a716c35888 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 02:31:43 +00:00
kesselb 224fdc10f4 Revert "Fix Recent statuses plural/singular"
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-09 19:33:25 +02:00
John Molakvoæ 5bd91eac31 Merge pull request #28013 from nextcloud/jitter-appstore-and-updater-server-pinging 2021-08-09 19:30:12 +02:00
John Molakvoæ 67e6468b9e Merge pull request #28220 from nextcloud/get-by-id-multiple-mounts-single-storage 2021-08-09 19:27:23 +02:00
szaimen f5604194bc Merge pull request #28351 from nextcloud/enh/27553/user-status-plural-singular
Fix Recent statuses plural/singular
2021-08-09 10:37:15 +02:00
John Molakvoæ c5c377f3f5 Merge pull request #28352 from nextcloud/enh/18537/fix-concurrent-upload-limit
Change the concurrent upload limit to less than 10
2021-08-09 09:56:08 +02:00
Nextcloud bot 410382f765 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-09 02:26:50 +00:00
szaimen 3897b68883 Fix Recent statuses plural/singular
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-08-08 21:04:48 +02:00
szaimen 98102bfa78 Improve auto expiration hint
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-08-08 20:41:38 +02:00
szaimen b11741cf58 Change the concurrent upload limit to less than 10
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-08-08 20:17:09 +02:00
J0WI 9362fe1bd2 Compress PNGs
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-08-08 19:13:09 +02:00
smichel17 84d3a5f8e6 cron: exit 1 on exception
Allows the caller to more easily respond to cron failures.

Signed-off-by: Stephen Michel <git@smichel.me>
2021-08-08 11:59:51 -04:00
Nextcloud bot 27847a9250 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-08 02:21:43 +00:00
dependabot[bot] c934b48386 Merge pull request #28335 from nextcloud/dependabot/npm_and_yarn/sass-1.37.5 2021-08-07 04:39:35 +00:00
dependabot[bot] bb62299c1f Merge pull request #28337 from nextcloud/dependabot/npm_and_yarn/testing-library/vue-5.8.2 2021-08-07 03:20:00 +00:00
dependabot[bot] 5b4aff3eee Bump sass from 1.37.0 to 1.37.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.37.0 to 1.37.5.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.37.0...1.37.5)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-07 02:51:10 +00:00
dependabot[bot] ade3996827 Merge pull request #28336 from nextcloud/dependabot/npm_and_yarn/jsdom-16.7.0 2021-08-07 02:49:48 +00:00
dependabot[bot] feca899808 Merge pull request #28334 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.8 2021-08-07 02:39:55 +00:00
Nextcloud bot c2e7594f97 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-07 02:27:28 +00:00
dependabot[bot] 8c227064f0 Bump @testing-library/vue from 5.8.1 to 5.8.2
Bumps [@testing-library/vue](https://github.com/testing-library/vue-testing-library) from 5.8.1 to 5.8.2.
- [Release notes](https://github.com/testing-library/vue-testing-library/releases)
- [Commits](https://github.com/testing-library/vue-testing-library/compare/v5.8.1...v5.8.2)

---
updated-dependencies:
- dependency-name: "@testing-library/vue"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-07 01:03:36 +00:00
dependabot[bot] c92e49da8d Bump jsdom from 16.6.0 to 16.7.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.6.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.6.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-07 01:03:13 +00:00
dependabot[bot] b94257e2da Bump vue-loader from 15.9.7 to 15.9.8
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.7 to 15.9.8.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.7...v15.9.8)

---
updated-dependencies:
- dependency-name: vue-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-07 01:02:26 +00:00
Carl Schwan 07ccccecad Only recommand for php-sodium on >= PHP 7.4
This is because php-sodium will solve the missing PASSWORD_ARGON2I
constant problem only on >= php 7.4, previously argon2 wasn't part of
the standard extension and was disabled on Centos/RHEL.

So installing php-sodium on php 7.2 for example wouldn't hide the
message. Tested on Fedora with php 7.4, Centos 7 with php 7.2,
Centos 8 with php 7.2 and openSUSE with php 7.4.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-08-06 14:22:09 +02:00
John Molakvoæ 30d8704bf3 Merge pull request #28331 from nextcloud/feat/workflow-auto-update-command-compile.yml 2021-08-06 10:08:30 +02:00
Nextcloud bot ed36b8b7f0 Updating command-compile.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 07:33:28 +00:00
Julius Härtl 75df8182ac Merge pull request #28330 from nextcloud/clean-all-makefile
Update Makefile to clean all apps
2021-08-06 09:08:23 +02:00
Nextcloud bot de68aecb05 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 02:26:56 +00:00
Christopher Ng 0705352da8 Clean dashboard and weather_status js
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-08-05 22:40:10 +00:00
Vincent Petry ecc2a02311 Merge pull request #28325 from PhrozenByte/enhancement/noid/AutotestPhpunitEnv
autotest.sh: Add PHPUNIT_EXE environment variable
2021-08-05 21:50:43 +02:00
John Molakvoæ d65a35ed3a Merge pull request #28324 from nextcloud/bugfix/noid/avoid-stack-depth-exceed 2021-08-05 19:01:38 +02:00
Julius Härtl b235a854d3 Always list the class of an object first
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-05 17:36:15 +02:00
Julius Härtl 950de74d1d Set a maximum level of encoding nested arguments of exception traces
This will make sure that nested objects or arrays do not cause exceeding
the maximum nesting level of functions when parsing arguments of an
exception trace

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-05 17:35:52 +02:00
Daniel Rudolf b3206de736 autotest.sh: Add PHPUNIT_EXE environment variable
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-08-05 16:42:32 +02:00
John Molakvoæ fc4e1d3c42 Merge pull request #28323 from nextcloud/design/logo-fixes 2021-08-05 16:02:57 +02:00
Jan C. Borchardt 6f09e818d9 Update outdated Enterprise logo
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-08-05 14:44:40 +02:00
Jan C. Borchardt 863b36fc2e Fix SVG logo still using strokes, convert to path
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-08-05 14:44:21 +02:00
Daniel Rudolf a1d6189dfa Fix UrlGeneratorTest
And again... 😒

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-08-05 13:55:35 +02:00
Julius Härtl f843eaa1e7 Merge pull request #28306 from nextcloud/version/upgrade-22.1 2021-08-05 09:05:22 +02:00
Nextcloud bot 1bdf89733d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-05 02:27:12 +00:00
Daniel Rudolf 4d7430949a Remove usage of \OC_Util::getDefaultPageUrl() and \OC_Util::redirectToDefaultPage()
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-08-04 19:02:57 +02:00
Daniel Rudolf aa455e71d9 Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrl 2021-08-04 18:52:55 +02:00
Daniel Rudolf b768cade2b Fix UrlGeneratorTest
Again... 😒

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-08-04 18:52:53 +02:00
rakekniven 2a63219536 Merge pull request #28285 from nextcloud/rakekniven-patch-1
l10n: ignore packed js files from TX sync
2021-08-04 14:03:34 +02:00
Julius Härtl 5f00d94c27 Allow upgrade from 22.1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-04 08:17:58 +02:00
Nextcloud bot 386fa2e807 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-04 02:26:38 +00:00
Nextcloud bot f01289f8d7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-03 02:26:12 +00:00
John Molakvoæ e49d822827 Merge pull request #28284 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2021-08-02 12:57:40 +02:00
rakekniven 209ffb9ffc l10n: ignore packed js files from TX sync
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-08-02 10:47:47 +02:00
Nextcloud bot c854a3fd38 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 08:44:50 +00:00
Nextcloud bot afb0b379d9 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:56:32 +00:00
Nextcloud bot 276b8f2315 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-02 07:35:19 +00:00
dependabot[bot] 398727fd07 Merge pull request #28265 from nextcloud/dependabot/npm_and_yarn/sass-1.37.0 2021-08-01 02:07:13 +00:00
dependabot[bot] 7e3bf5dc9f Bump sass from 1.36.0 to 1.37.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-01 03:33:10 +02:00
dependabot[bot] 2607ddd681 Merge pull request #28267 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.0 2021-07-31 18:31:13 +00:00
dependabot[bot] aede98098d Bump core-js from 3.15.2 to 3.16.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.15.2 to 3.16.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.15.2...v3.16.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-31 17:55:48 +00:00
dependabot[bot] 652f6736d4 Merge pull request #28268 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.6 2021-07-31 16:53:17 +00:00
dependabot[bot] 35d107d3a6 Bump css-vars-ponyfill from 2.4.5 to 2.4.6
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.5...v2.4.6)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-31 17:43:51 +02:00
dependabot[bot] b4717ca769 Merge pull request #28266 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.2.1 2021-07-31 04:13:54 +00:00
dependabot[bot] 550c50f152 Bump @testing-library/user-event from 13.2.0 to 13.2.1
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.2.0...v13.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-31 01:02:32 +00:00
Karel Hink 18cc6c11b5 Fix Lots of Error: file_exists(): open_basedir restriction in effect. in Log
Signed-off-by: Karel Hink <info@karelhink.cz>
2021-07-30 19:28:52 +00:00
Christoph Wurst 2fca843cc0 Fix setting up 2FA providers when 2FA is enforced and bc are generated
When a user has backup codes generated and got their 2FA enforced then
they should be able to set up TOTP and similar providers during the
login.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-30 18:29:23 +02:00
Christoph Wurst a90bf7ed95 Merge pull request #28260 from nextcloud/fix/failing-user-controller-tests
fix UserController tests
2021-07-30 17:34:50 +02:00
Christoph Wurst 43e41ca532 Merge pull request #28259 from nextcloud/work/carl/sodium-check
Check that php was compiled with argon2 support or that the php-sodium extensions is installed
2021-07-30 17:34:10 +02:00
Christoph Wurst 919e00a60b Merge pull request #27764 from nextcloud/enhancement/resource-search-additional-fields
Extend caldav resource search
2021-07-30 17:32:47 +02:00
Anna Larch 904a762de7 Extend caldav resource search
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-07-30 17:14:28 +02:00
Julien Veyssier 7cc1b62883 fix UserController tests failing because of max_quota app value not provided by mocks
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-30 16:32:08 +02:00
Carl Schwan 8e51a5feda Check that php was compiled with argon2 support or that the php-sodium
extensions is installed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-30 15:11:55 +02:00
Julien Veyssier 7170c03f0e Merge pull request #28009 from nextcloud/enh/21045/quota-restrictions
Add quota restrictions options
2021-07-30 10:26:56 +02:00
Julius Härtl a9b38d8245 Merge pull request #28240 from nextcloud/accessibility/personal-info
Add h2 to personal info page, fixing accessibility issue
2021-07-30 08:11:31 +02:00
Pytal 5fd9ce9e8d Merge pull request #28242 from nextcloud/fix/tag-multiselect-action-order
Add missing order attribute to tag multiselect action
2021-07-29 12:39:29 -07:00
Julien Veyssier 416d10f76c refs #21045 add app config to disable unlimited quota and to set max quota
avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed
avoid getting/setting/displaying unlimited default quota if not allowed
implement tests for unlimited quota restrictions

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-29 19:31:36 +00:00
Lukas Reschke 7a0b374c18 Merge pull request #28237 from nextcloud/work/carl/owncloud-doc
Remove some mentions of ownCloud from our api documentation
2021-07-29 19:38:59 +02:00
Julius Härtl a4097a63c2 Merge pull request #28238 from nextcloud/accessibility/search
Fix missing label of Search function
2021-07-29 19:19:08 +02:00
Julien Veyssier ff62983edb add missing order attribute to tag multiselect action
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-29 18:53:02 +02:00
Jan C. Borchardt 310cec4057 Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 17:21:02 +02:00
Jan C. Borchardt 1bbe945482 Add h2 to personal info page, fixing accessibility issue
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 16:34:45 +02:00
Carl Schwan 28970563a2 Remove some mentions of ownCloud from our api documentation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-29 15:56:30 +02:00
Julius Härtl 6f1c2ed50b Merge pull request #28202 from nextcloud/settings-app-webpack 2021-07-29 09:31:00 +02:00
Julius Härtl db7ffb0bf9 Merge pull request #28175 from nextcloud/jail-search-root 2021-07-29 09:27:53 +02:00
Christopher Ng decfc2e3b3 Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-28 22:58:24 +00:00
Christopher Ng 63c3b9a4cc Remove chunkhash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-28 22:43:09 +00:00
MichaIng 9a9df238a6 Merge pull request #28143 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.0.3
Bump @nextcloud/vue from 3.10.1 to 4.0.3
2021-07-28 23:24:33 +02:00
dependabot[bot] 401314d5aa Bump @nextcloud/vue from 3.10.1 to 4.0.3
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.10.1 to 4.0.3.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.10.1...v4.0.3)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-28 19:57:43 +00:00
Julien Veyssier a636c38454 Merge pull request #27920 from nextcloud/fix/21263/breadcrumb-wrong-float-width-comparison
Fix Files breadcrumbs being hidden even if there is enough space
2021-07-28 18:45:29 +02:00
John Molakvoæ 58d034461b Merge pull request #28147 from nextcloud/dependabot/npm_and_yarn/marked-2.1.3
Bump marked from 2.0.6 to 2.1.3
2021-07-28 18:05:15 +02:00
John Molakvoæ fabd0a87b3 Update update-psalm-baseline.yml 2021-07-28 18:04:40 +02:00
Robin Appelman 5c2e7c7d28 fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-28 17:21:04 +02:00
Julius Härtl e840e08cef Merge pull request #28210 from nextcloud/allow-to-disable-group-change-mail-notification
Allow to disable group membership change notification
2021-07-28 17:13:49 +02:00
Robin Appelman 4d5e8bcb99 add test for searching within a "root jail"
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-28 17:11:12 +02:00
Julien Veyssier c4fcf4c0b2 refs #21263 round numbers when checking if breadcrumbs should be hidden
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-28 16:40:14 +02:00
John Molakvoæ 3ced8406a0 Merge pull request #28174 from nextcloud/feature/set_openfile_for_internal_links 2021-07-28 15:03:54 +02:00
Marco Ambrosini a4d1c55624 Allow to disable group change notification
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-07-28 12:23:47 +02:00
Louis 1ad5e8ad73 Fix typo
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2021-07-28 11:15:03 +02:00
Julius Härtl a71294ed34 Merge pull request #27751 from nextcloud/enh/23769/accept-decline-fed-sharing-ui 2021-07-28 10:38:23 +02:00
John Molakvoæ 640f339b7d Add checkout token 2021-07-28 07:40:58 +02:00
John Molakvoæ 525460c04d Use COMMAND_BOT_PAT 2021-07-28 07:34:47 +02:00
Julien Veyssier 0b8e90cb67 Merge pull request #27893 from nextcloud/fix/comments-file-action
Fix comments file action sidebar opening
2021-07-27 17:04:47 +02:00
Lukas Reschke d4352aaace Merge pull request #27886 from ecsecta/keep_pw_based_authntoken_alive_on_pwlesslogin
Keep pw based auth tokens valid when pw-less login happens
2021-07-27 14:37:15 +02:00
Vincent Petry f6f2f63016 Fix remote share deletion when deleting user
When deleting a user, we should only delete the direct remote user
shares or the remote group based subshares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 14:32:51 +02:00
John Molakvoæ 7652d732cb Delete dependabot-approve-merge.yml 2021-07-27 13:46:44 +02:00
Louis Chemineau e558a00496 Set openfile params when following internal links
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-27 11:41:32 +00:00
Vincent Petry 1125832623 Fix route path for pending remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 13:30:44 +02:00
Vincent Petry dac676c14e Replace ILogger with LoggerInterface in remote share manager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2021-07-27 13:04:39 +02:00
Julien Veyssier a8ebf37b08 fix jsunit tests for comments
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-27 12:57:44 +02:00
Vincent Petry e67e90afce Fix remote group share decline+accept code path
When declining a remote group share through the dialog that appears when
notifications are off, the mount point is now correctly saved when
re-accepting.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:20:03 +02:00
Vincent Petry 3deffc3161 Use mimetype instead of type when defaulting in remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:20:01 +02:00
Vincent Petry e8f4a524a2 Fix external share manager with multiple user groups
Use query builder with proper matching for finding the group names.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:26 +02:00
Vincent Petry 15f41a6b72 Fix remote group share API interactions
Accepting and declining can now be done repeatedly on both the parent
group share and sub-share with the same effects.

Added unit tests to cover these cases, and also when the same operation
is repeated.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:26 +02:00
Vincent Petry c1563215e6 Disable default actions in pending file list
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:25 +02:00
Vincent Petry f3f2faa815 Pending remote group share fixes
Only remove reject share for remote group shares
Also fix share indicator to appear for remote group shares as well.
Fix pending remote share icon to be the one of a share.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:25 +02:00
Vincent Petry 4b5bb4d9cf Fix re-accepting or re-rejecting remote group shares
When accepting a group share, a sub-share entry is created which also
has a different id.

When accepting or rejecting the sub-share, simply update the "accepted"
flag instead of trying to re-insert the entry.

Adjust getShare to also properly validate group share membership
when called on a sub-share id.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:24 +02:00
Vincent Petry cff8ae7ded Add logging to external shares manager
Instead of just returning false, also log the exception to make
debugging database issues easier.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:24 +02:00
Vincent Petry 46b8cf4f64 Remove "Reject share" for pending remote shares
In the list of pending shares, the option for rejecting the share has
been removed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:24 +02:00
Vincent Petry 7130a98e47 Fix received federated group shares
Fix pending shares endpoint to consider user-specific sub-entries
for group shares whenever a share was accepted or declined.

Added unit test for adding remote group shares.

Fixed "removeUserShares" to not send a remote request as we never send
remote requests for group shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:23 +02:00
Vincent Petry 53aafff972 Extend pending shares list to include remote shares
And adjust the accept/decline actions to use the right endpoint for
remote shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:18 +02:00
John Molakvoæ 702bced2b7 Add files via upload 2021-07-27 12:00:36 +02:00
Julien Veyssier 5914c5e59c fix comments file action sidebar opening
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-27 08:50:04 +00:00
John Molakvoæ 39931cab94 Update dependabot-approve-merge.yml 2021-07-27 08:16:41 +02:00
dependabot[bot] f055402d02 Bump marked from 2.0.6 to 2.1.3
Bumps [marked](https://github.com/markedjs/marked) from 2.0.6 to 2.1.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.6...v2.1.3)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-26 21:42:08 +00:00
Julius Härtl 5efbdda151 Merge pull request #28173 from nextcloud/fix/variable_override_in_file_view
Fix variable override in file view
2021-07-26 21:11:10 +02:00
John Molakvoæ cade646878 Merge pull request #28127 from nextcloud/dependabot/various 2021-07-26 20:05:04 +02:00
John Molakvoæ (skjnldsv) b2b35c2b34 Bump p-queue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-26 18:46:37 +02:00
John Molakvoæ (skjnldsv) ccc63a4c83 Bump vue and fix babel warning
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-26 18:45:21 +02:00
John Molakvoæ (skjnldsv) ae2719fcc4 Bump dependencies
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-26 18:45:21 +02:00
John Molakvoæ f304633fbc Add command-compile 2021-07-26 18:44:29 +02:00
Robin Appelman 97aadbe46c dont apply jail search filter is on the root
the extra '/' breaks things and the filter wouldn't do anything anyway except making the databases job harder

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-26 17:44:52 +02:00
Louis Chemineau 2cbc3e9245 Fix variabable override in file view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-26 15:47:37 +02:00
szaimen a65d3844c1 Merge pull request #28166 from nextcloud/enh/usermanagement/add-group-icon
User management - Add icon to user groups
2021-07-26 15:31:55 +02:00
Julien Veyssier 4c400a0283 Merge pull request #28164 from nextcloud/fix/file-multiselect-actions-sort
Fix sort function of files multiple selection actions
2021-07-26 15:08:09 +02:00
Julien Veyssier d6b4944c4b fix sort sort function of files multiple selection actions
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-26 14:08:44 +02:00
szaimen d9f8bce443 User management - Add icon to user groups
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-26 11:44:33 +00:00
Julius Härtl b31c08e536 Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-path
Admin Audit - Sharing: createShare - report the full path
2021-07-26 12:35:48 +02:00
kesselb 0d5d3ad9fd Merge pull request #28151 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-07-25 20:34:55 +02:00
Nextcloud-PR-Bot 21236473d7 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-07-25 04:10:46 +00:00
John Molakvoæ a6d91c2ccf Merge pull request #27281 from nextcloud/dependabot/npm_and_yarn/nextcloud/router-2.0.0 2021-07-24 13:11:53 +02:00
John Molakvoæ ece22815a3 Merge pull request #28132 from nextcloud/work/carl/fix-tests
Fix tests in files_versions
2021-07-24 09:37:52 +02:00
dependabot[bot] 32953644a4 Merge pull request #28146 from nextcloud/dependabot/npm_and_yarn/sass-1.36.0 2021-07-24 04:01:42 +00:00
dependabot[bot] ba8e006a4e Merge pull request #28144 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.2.0 2021-07-24 03:40:03 +00:00
dependabot[bot] 14de962940 Bump sass from 1.35.2 to 1.36.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.2 to 1.36.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.2...1.36.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 02:13:40 +00:00
dependabot[bot] 343b40e2fc Bump @testing-library/user-event from 13.1.9 to 13.2.0
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.1.9 to 13.2.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.1.9...v13.2.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 01:03:18 +00:00
Christopher Ng fd71b39d58 Rebuild
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-23 23:10:29 +00:00
John Molakvoæ 6817ba194e Merge pull request #28133 from nextcloud/feat/tag_multiple_files_at_once 2021-07-23 18:25:12 +02:00
Carl Schwan 0d987dd2a0 Fix tests in files_versions
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-23 17:50:46 +02:00
Roland Scheidel c5af910886 add an option to the multiple files selected actions to add and remove tags from multiple files at once
Signed-off-by: Roland Scheidel <kontakt@scheidel.at>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-23 17:47:26 +02:00
dependabot[bot] 6e5191b702 Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-23 15:56:28 +02:00
John Molakvoæ 229bfcbab5 Merge pull request #28129 from nextcloud/bugfix/noid/redis-allow-defaults
Allow empty Redis config
2021-07-23 14:25:59 +02:00
Carl Schwan 74e7934f04 Merge pull request #27968 from nextcloud/work/carl/file_versions-less-deprecation
Remove allmost all deprecation from the files_version app
2021-07-23 10:50:48 +02:00
Carl Schwan 701b57b81d Remove allmost all deprecation from the files_version app
The remaining deprecations are related to Utils::hooks and I will take a
look at how EventDispatcher works before working on them.

Aside from the deprecations, this patch also does a few minor
improvements around type hinting.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-23 10:07:38 +02:00
Vincent Petry 41ddbec40f Allow empty Redis config
When Redis config is empty, use defaults.
However when a Redis cluster config is specified, the "seeds" attribute
is mandatory.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-23 09:53:06 +02:00
John Molakvoæ 97976746b8 Merge pull request #28084 from nextcloud/bugfix/noid/dav-user-id
Make sure that the dav propfind plugins always use the proper user id
2021-07-23 08:31:41 +02:00
Pytal 2880941131 Merge pull request #28122 from nextcloud/tests/nodb-memoryinfo
Let memory limit set in tests fit the used amount
2021-07-22 09:38:56 -07:00
Julius Härtl 858d846999 Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 17:05:29 +02:00
szaimen 4570bb4f65 Admin Audit - Sharing: createShare - report the full path
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-22 14:20:05 +00:00
Louis 4301267373 Merge pull request #28115 from nextcloud/feat/npm7
Migrate to npm 7
2021-07-22 16:07:43 +02:00
John Molakvoæ (skjnldsv) 717636fd28 Fix Login & Users settings page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 14:27:39 +02:00
John Molakvoæ (skjnldsv) 00105dca82 Add proper node testing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:30:56 +02:00
John Molakvoæ (skjnldsv) 7ca81f360f Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:21:25 +02:00
John Molakvoæ (skjnldsv) 49b490ce6d Migrate to npm 7
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:06:17 +02:00
John Molakvoæ f14b8aa34b Merge pull request #27888 from nextcloud/fix/redis-auth 2021-07-22 12:47:26 +02:00
szaimen dd4668f935 Merge pull request #28101 from nextcloud/fix/22748/fix-file-exists-dialog-dark-theme
Fix dark theme in file exists dialog
2021-07-22 12:37:17 +02:00
Julius Härtl 6909ce6641 Make sure that the dav propfind plugins always use the proper user id
For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-22 12:28:00 +02:00
kesselb 769f84f31d Merge pull request #28104 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-07-22 11:09:54 +02:00
John Molakvoæ (skjnldsv) 6e00fe8c26 Properly support RedisCluster
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 07:42:26 +02:00
Nextcloud-PR-Bot 80ca5a0068 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-07-22 04:11:55 +00:00
szaimen bf4f91bcd1 Fix dark theme in file exists dialog
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-21 23:57:00 +02:00
Lukas Reschke b47b3d8a85 Merge pull request #28092 from nextcloud/debt/noid/add-quota-plugin
QuotaPlugin expect 1 parameter
2021-07-21 21:50:03 +02:00
szaimen 654672f4a3 Merge pull request #27674 from fstorz/hide-download-button-for-public-preview-of-audio-files
hide download button for public preview of audio files
2021-07-21 17:55:26 +02:00
Daniel Kesselberg dedf51b6e6 QuotaPlugin expect 1 parameter
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-21 17:06:03 +02:00
Lukas Reschke 63b4450141 Merge pull request #28082 from nextcloud/improve-exception-serializer
Sanitize more functions from the encryption app
2021-07-21 16:19:21 +02:00
kesselb 41eec84ade Merge pull request #28078 from nextcloud/refine-middleware
Improve provider check
2021-07-21 15:23:01 +02:00
Lukas Reschke b3ddc09895 Sanitize more functions from the encryption app
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-21 11:18:35 +02:00
Julius Härtl b6a24f87a5 Merge pull request #28077 from nextcloud/heicPerformance 2021-07-21 10:27:19 +02:00
Lukas Reschke 04fa36d411 Improve provider check
Check if there is a provider missing.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-21 09:58:17 +02:00
tobiasKaminsky f62ec2b47c Disable HEIC image preview provider for performance concerns
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-07-21 09:14:20 +02:00
Pytal c8778d83fb Merge pull request #28015 from nextcloud/enh/noid/fix-overlapping
fix overlapping of elements in certain views
2021-07-20 13:31:37 -07:00
Pytal ff761b85fd Merge pull request #28057 from nextcloud/feat/email-ux
Improve Emails UX
2021-07-20 12:21:52 -07:00
John Molakvoæ (skjnldsv) 66c1e05452 Move integration-php7.3 to latest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-20 17:57:33 +02:00
John Molakvoæ (skjnldsv) ed10d85ff3 Support redis user password auth and tls encryption
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-20 17:57:33 +02:00
Christopher Ng 38cbffb3a7 Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-20 15:09:38 +00:00
Christopher Ng 07c6ed3df2 Improve UX
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-20 14:58:38 +00:00
Carl Schwan 71109b7425 Merge pull request #27950 from CarlSchwan/work/carl/login-button-theming
Fix missing theming for login button
2021-07-20 10:53:41 +02:00
Carl Schwan da68952524 Fix missing theming for login button
Close #27495

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-20 10:07:42 +02:00
John Molakvoæ 5579aaa7cb Merge pull request #28051 from nextcloud/bug/noid/dont-log-redis-password
Mask password for Redis and RedisCluster on connection failure
2021-07-19 22:34:27 +02:00
Daniel Kesselberg 74fa8f3f84 Mask password for Redis and RedisCluster on connection failure
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-19 19:52:25 +02:00
Florian Storz b803043b80 Remove trailing whitespace from comment
Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-19 18:55:57 +02:00
Florian Storz 6aed80913f Add comment linking to PR
PR contains discussion about the implementation with pros and cons

Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-19 18:55:57 +02:00
Florian Storz 2b6ff55fa9 hide download button for public preview of audio files
When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload"

Signed-off-by: Florian Storz <florian.storz@devlix.de>
2021-07-19 18:55:57 +02:00
szaimen df1ecbaa27 Merge pull request #28046 from nextcloud/enh/noid/titleTooltip
Add titleTooltip to sidebar
2021-07-19 12:16:25 +02:00
szaimen e4770f876b Add titleTooltip to sidebar
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-19 09:16:59 +00:00
szaimen 4c20803d97 Merge pull request #27994 from nextcloud/enh/noid/fix-footer-padding
Increase footer height for longer menus
2021-07-19 10:43:13 +02:00
Nextcloud bot 3f99750a66 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-19 02:25:17 +00:00
dependabot[bot] f6b61ac05e Merge pull request #27509 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.6 2021-07-18 10:25:00 +00:00
dependabot[bot] b2d5e25b56 Bump @babel/core from 7.14.3 to 7.14.6
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.3 to 7.14.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.6/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-18 11:50:59 +02:00
Nextcloud bot 5f8335811f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-18 02:25:31 +00:00
MichaIng a31619134e Merge pull request #28026 from nextcloud/dependabot/npm_and_yarn/nextcloud/event-bus-2.0.0
Bump @nextcloud/event-bus from 1.3.0 to 2.0.0
2021-07-18 00:42:57 +02:00
dependabot[bot] d9d6102557 Bump @nextcloud/event-bus from 1.3.0 to 2.0.0
Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.3.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.3.0...v2.0.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/event-bus"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-18 00:08:56 +02:00
dependabot[bot] 43a5de0bc8 Merge pull request #28034 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.0 2021-07-17 19:16:13 +00:00
dependabot[bot] ca606b8167 Bump dompurify from 2.2.8 to 2.3.0
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.8...2.3.0)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 20:40:45 +02:00
MichaIng 3e1d29ae5e Merge pull request #28022 from nextcloud/dependabot/npm_and_yarn/autosize-5.0.1
Bump autosize from 4.0.2 to 5.0.1
2021-07-17 19:39:16 +02:00
dependabot[bot] 0438466a27 Bump autosize from 4.0.2 to 5.0.1
Bumps [autosize](https://github.com/jackmoore/autosize) from 4.0.2 to 5.0.1.
- [Release notes](https://github.com/jackmoore/autosize/releases)
- [Changelog](https://github.com/jackmoore/autosize/blob/master/changelog.md)
- [Commits](https://github.com/jackmoore/autosize/compare/4.0.2...5.0.1)

---
updated-dependencies:
- dependency-name: autosize
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 16:18:32 +00:00
dependabot[bot] 7bdeefb3ae Merge pull request #28031 from nextcloud/dependabot/npm_and_yarn/testing-library/vue-5.8.1 2021-07-17 15:08:54 +00:00
dependabot[bot] 9bbd879972 Bump @testing-library/vue from 5.6.2 to 5.8.1
Bumps [@testing-library/vue](https://github.com/testing-library/vue-testing-library) from 5.6.2 to 5.8.1.
- [Release notes](https://github.com/testing-library/vue-testing-library/releases)
- [Commits](https://github.com/testing-library/vue-testing-library/compare/v5.6.2...v5.8.1)

---
updated-dependencies:
- dependency-name: "@testing-library/vue"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-17 14:21:20 +00:00
MichaIng 97490f571c Merge pull request #28021 from nextcloud/dependabot/npm_and_yarn/nextcloud/files-2.0.0
Bump @nextcloud/files from 1.1.0 to 2.0.0
2021-07-17 16:19:02 +02:00
dependabot[bot] bbad122546 Bump @nextcloud/files from 1.1.0 to 2.0.0
Bumps @nextcloud/files from 1.1.0 to 2.0.0.

---
updated-dependencies:
- dependency-name: "@nextcloud/files"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 13:42:34 +00:00
dependabot[bot] beeaa1680f Merge pull request #28029 from nextcloud/dependabot/npm_and_yarn/sass-1.35.2 2021-07-17 13:01:58 +00:00
dependabot[bot] 4d0128ba28 Bump sass from 1.35.1 to 1.35.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.35.1 to 1.35.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.1...1.35.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-17 12:07:00 +00:00
MichaIng d250f7efb5 Merge pull request #28024 from nextcloud/dependabot/npm_and_yarn/css-loader-5.2.7
Bump css-loader from 5.2.6 to 5.2.7
2021-07-17 14:03:51 +02:00
dependabot[bot] c915832e02 Bump css-loader from 5.2.6 to 5.2.7
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-17 13:31:19 +02:00
Nextcloud bot 43e307f59e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-17 02:44:18 +00:00
dependabot[bot] de7f53b2df Merge pull request #28025 from nextcloud/dependabot/npm_and_yarn/babel-loader-exclude-node-modules-except-1.2.1 2021-07-17 02:09:54 +00:00
dependabot[bot] 671f30a5c8 Bump babel-loader-exclude-node-modules-except from 1.1.2 to 1.2.1
Bumps [babel-loader-exclude-node-modules-except](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except) from 1.1.2 to 1.2.1.
- [Release notes](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except/releases)
- [Commits](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except/compare/1.1.2...v1.2.1)

---
updated-dependencies:
- dependency-name: babel-loader-exclude-node-modules-except
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-17 01:06:59 +00:00
szaimen ce9bebda0a fix overlapping of elements in certain views
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-16 18:06:41 +02:00
szaimen 67d0053ecc Increase footer padding for longer menus
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: Julius Härtl <jus@bitgrid.net>
2021-07-16 17:05:45 +02:00
Joas Schilling 9b128d823b Jitter the requests to the appstore and updater server over 3 minutes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-16 16:58:09 +02:00
Tobias Assmann 251ae10049 Merge branch 'keep_pw_based_authntoken_alive_on_pwlesslogin' of https://github.com/ecsecta/server into keep_pw_based_authntoken_alive_on_pwlesslogin 2021-07-16 14:34:10 +02:00
Tobias Assmann ee049a159b prevent the invalidation of pw based authn tokens on a pw less login
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-07-16 14:31:06 +02:00
Julius Härtl 2766df9764 Merge pull request #27995 from nextcloud/enh/noid/multiselect-design-fixes
some multiselect  design fixes
2021-07-16 14:28:34 +02:00
Tobias Assmann 669bd4d718 add spaces around operators
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-07-16 13:33:50 +02:00
Tobias Assmann 1f1ae97824 draft to prevent the invalidation of pw based authn tokens on a pw less login
Signed-off-by: Tobias Assmann <tobias.assmann@ecsec.de>
2021-07-16 13:32:38 +02:00
Joas Schilling f86f594a3a Merge pull request #27860 from J0WI/alphanumeric-rnd
Introduce ISecureRandom::CHAR_ALPHANUMERIC
2021-07-16 12:46:20 +02:00
Christoph Wurst 23df99dbe0 Merge pull request #28004 from nextcloud/fix/unsupported-scopes
Only display supported scopes
2021-07-16 10:33:43 +02:00
blizzz b7e63137fe Merge pull request #27997 from nextcloud/update-crl
Update CRL due to revoked twofactor_nextcloud_notification.crt
2021-07-16 09:58:05 +02:00
John Molakvoæ 3508976156 Add files via upload 2021-07-16 09:13:20 +02:00
Christopher Ng dfb55979ef Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-16 05:48:06 +00:00
Christopher Ng 74aa115125 Refine unsupported federation scope checks
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-16 05:46:04 +00:00
Nextcloud bot 6744f3c083 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-16 02:26:30 +00:00
szaimen b3d5a57f18 Merge pull request #27980 from nextcloud/enh/18683/improve-notcreatable-permissions-hint
Improve notcreatable permissions hint
2021-07-15 23:12:27 +02:00
szaimen 85b0df20fa Improve notcreatable permissions hint
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-15 21:00:09 +02:00
Arthur Schiwon d168a8b160 Update CRL due to revoked twofactor_nextcloud_notification.crt
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-07-15 20:46:53 +02:00
szaimen f4db7cbe52 some multiselect design fixes
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-15 17:09:28 +02:00
Nextcloud bot 7f572c0645 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 10:37:23 +00:00
Julius Härtl 28b0e811cc Merge pull request #27379 from nextcloud/feat/26866/multiple-emails-ui 2021-07-15 12:01:51 +02:00
Christopher Ng aa92c9e287 Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:44:52 +02:00
Christopher Ng 64403d2401 Refine UX for primary email deletion
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +02:00
Christopher Ng 44763576b1 Make emails Vuetiful
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +02:00
Christopher Ng de6e55075b Create personal info service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +02:00
Christopher Ng ef41d5977a Provide initial state
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-15 10:16:06 +02:00
dependabot[bot] 8cedf0de03 Merge pull request #27683 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.2 2021-07-15 03:01:17 +00:00
Nextcloud bot 0546023981 [tx-robot] updated from transifex 2021-07-15 02:26:42 +00:00
dependabot[bot] 2e09776966 Bump vue-router from 3.5.1 to 3.5.2
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.5.1 to 3.5.2.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.5.1...v3.5.2)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-15 02:26:19 +00:00
Julius Härtl 3e67637a4a Merge pull request #26463 from Worteks/fix-s3proxy 2021-07-14 23:32:05 +02:00
blizzz 5a22b0ac67 Merge pull request #27884 from nextcloud/enh/cloud-id-local
Allow to get a local cloud id without going through the contacts manager
2021-07-14 23:18:51 +02:00
szaimen 81722d5655 Merge pull request #27973 from nextcloud/work/carl/fix-file-sidebar
Fix regression in file sidebar
2021-07-14 20:27:30 +02:00
Carl Schwan 0b931b58b6 Fix regression in file sidebar
See https://github.com/nextcloud/server/pull/27936

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-14 19:44:40 +02:00
Julius Härtl 7179002600 Allow to get a local cloud id without going through the contacts manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-14 16:08:05 +02:00
Julien Veyssier 9338be7fa1 Merge pull request #27952 from nextcloud/work/carl/accessibility-remove-unused-parameters
[Accessibility App]: Remove unused parameters in settings class
2021-07-14 15:47:15 +02:00
blizzz 5d097ddb4b Merge pull request #27875 from goyome/goyome-patch-group-shares-limit
No limit in the number of group shares
2021-07-14 13:45:50 +02:00
Julius Härtl 59f0fc0e2b Merge pull request #27761 from nextcloud/bugfix/noid/also-hide-group-from-direct-match
Also hide group from direct matches
2021-07-14 13:07:00 +02:00
Julius Härtl 1366b35081 Merge pull request #27946 from nextcloud/enh/breadcrumb-detail-view-in-menu
Show registered breadcrumb detail views in breadcrumb menu
2021-07-14 10:31:00 +02:00
Julius Härtl f43c2b45d8 Directly return cloud id from user
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-14 09:52:15 +02:00
Nextcloud bot 43d4a4c5ae [tx-robot] updated from transifex 2021-07-14 02:26:23 +00:00
MichaIng adce076808 Merge pull request #27565 from nextcloud/dependabot/npm_and_yarn/striptags-3.2.0
Bump striptags from 3.1.1 to 3.2.0
2021-07-14 01:43:32 +02:00
dependabot[bot] f750268f75 Bump striptags from 3.1.1 to 3.2.0
Bumps [striptags](https://github.com/ericnorris/striptags) from 3.1.1 to 3.2.0.
- [Release notes](https://github.com/ericnorris/striptags/releases)
- [Commits](https://github.com/ericnorris/striptags/compare/v3.1.1...v3.2.0)

---
updated-dependencies:
- dependency-name: striptags
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-14 00:51:32 +02:00
szaimen 2b623a462d Merge pull request #27936 from CarlSchwan/work/carl/fix-overflow-icon
Fix svg icons disapearing in app navigation when text overflows
2021-07-14 00:07:55 +02:00
Carl Schwan 5ff31ecd6b [Accessibility App]: Remove unused parameters in settings class
These two parameters weren't used, no need to load them

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-13 20:32:19 +02:00
Carl Schwan d0afc49df2 Fix svg icons disapearing in app navigation when text overflows
The issue is caused by the icon being positionned with negative margins
and the `overflow: hidden` rule when hide the icon when the text
overflows. Remove positioning with negative margins. This was only
happening in Firefox.

This fix #23849

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-13 16:34:44 +02:00
Julien Veyssier c035541ba4 show breadcrumb detail view in breadcrumb menu
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-13 12:51:41 +00:00
Julius Härtl 2a0bd66384 Merge pull request #27912 from nextcloud/fix/26113/dashboard-escaped-display-name
Do not escape display name in dashboard welcome text
2021-07-13 14:03:13 +02:00
szaimen 6615cdba3c Merge pull request #27867 from nextcloud/fix/noid/newfilemenu-on-public-page
fix newfileMenu on public page
2021-07-13 13:10:23 +02:00
szaimen ce0f38e95d fix newfileMenu on public page
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-13 11:34:46 +02:00
Louis 154fe59eb6 Merge pull request #27933 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-07-13 10:46:52 +02:00
Julius Härtl 6df74c2122 Merge pull request #27780 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-10.1.0
Bump puppeteer from 10.0.0 to 10.1.0 in /build
2021-07-13 09:52:35 +02:00
Julius Härtl b1099f5047 Merge pull request #27880 from nextcloud/bugfix/noid/make-integrity-check-verbose
Make integrity commands verbose
2021-07-13 09:48:06 +02:00
Julius Härtl e1f644a2ae Merge pull request #27631 from yan12125/php8-fix-error-reporting 2021-07-13 08:52:18 +02:00
Julius Härtl 3860dad9ea Merge pull request #26481 from ghost/fdroid 2021-07-13 08:49:59 +02:00
Julius Härtl 0031152de1 Merge pull request #27852 from nextcloud/bugfix/noid/allow-casting-query-functions 2021-07-13 08:48:49 +02:00
Julius Härtl 49554c657d Merge pull request #26728 from doc75/http-warning 2021-07-13 08:47:43 +02:00
Chih-Hsuan Yen 16c4991db6 Correctly skip suppressed errors in PHP 8.0
Applies the suggested transformation mentioned in
https://www.php.net/manual/en/migration80.incompatible.php,

> The @ operator will no longer silence fatal errors (E_ERROR,
> E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR,
> E_PARSE). Error handlers that expect error_reporting to be 0 when
> @ is used, should be adjusted to use a mask check instead

The new code still works on PHP 7, as error_reporting() already
returns 0 when diagnostics are suppressed.

This fixes https://github.com/nextcloud/server/issues/25807 in PHP 8.0.
For PHP 7.x, https://github.com/nextcloud/server/pull/22243 suppresses
the E_NOTICE message from the second session_start() call with the error
suppression operator @, and thus those E_NOTICE messages are still
logged in PHP 8.0.

See also https://github.com/nextcloud/server/issues/25806

Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
2021-07-13 13:23:03 +08:00
Nextcloud-PR-Bot 0c00486cb2 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-07-13 04:10:50 +00:00
Nextcloud bot cabf24480e [tx-robot] updated from transifex 2021-07-13 02:26:35 +00:00
MichaIng 243ee52cdd Merge pull request #27264 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-2.0.0
Bump @nextcloud/paths from 1.1.2 to 2.0.0
2021-07-13 00:05:02 +02:00
dependabot[bot] 7343f12b5b Bump @nextcloud/paths from 1.1.2 to 2.0.0
Bumps @nextcloud/paths from 1.1.2 to 2.0.0.

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-12 21:34:15 +00:00
MichaIng f91465f43e Merge pull request #27272 from nextcloud/dependabot/npm_and_yarn/nextcloud/logger-2.0.0
Bump @nextcloud/logger from 1.1.2 to 2.0.0
2021-07-12 22:57:36 +02:00
dependabot[bot] 5370960340 Bump @nextcloud/logger from 1.1.2 to 2.0.0
Bumps [@nextcloud/logger](https://github.com/nextcloud/nextcloud-logger) from 1.1.2 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-logger/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-logger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-logger/compare/v1.1.2...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-12 21:51:37 +02:00
kesselb dd4f112442 Merge pull request #27915 from nextcloud/fix/plasm-code-alerts
Fix Psalm code scanning alerts
2021-07-12 21:23:03 +02:00
MichaIng af61ac6a7a Fix Psalm code scanning alerts
InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6691
InvalidScalarArgument (apps/theming/lib/IconBuilder.php#L213): https://github.com/nextcloud/server/security/code-scanning/6692
MissingReturnType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6693
MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6694
MissingParamType (apps/theming/lib/IconBuilder.php#L226): https://github.com/nextcloud/server/security/code-scanning/6695
PossiblyFalseArgument (apps/theming/lib/IconBuilder.php#L232): https://github.com/nextcloud/server/security/code-scanning/6696

Signed-off-by: MichaIng <micha@dietpi.com>
2021-07-12 20:05:44 +02:00
kesselb bf4c0c7540 Merge pull request #27922 from nextcloud/check-if-dnsresponse-is-false
Check if dns_get_record returns non-false
2021-07-12 16:42:53 +02:00
Lukas Reschke 6a07acf144 Regenerate autoloader file
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 15:12:36 +02:00
Lukas Reschke 84d9b17dc7 Check for !== false instead
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 15:06:30 +02:00
Lukas Reschke 28359571de Remove Flysystem storage class
This seems unused as per https://github.com/nextcloud/server/issues/27768
and may allow us to get rid of one more dependency.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 13:21:06 +02:00
Lukas Reschke b0cef8827d Check if dns_get_record returns non-false
`dns_get_record` can return false which results in exceptions such as
the ones shown in https://github.com/nextcloud/server/issues/27870.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-12 13:15:20 +02:00
Nextcloud bot a8aeaa6c7b [tx-robot] updated from transifex 2021-07-12 02:25:35 +00:00
Julien Veyssier 984f3903f5 refs #26113 do not escape display name in dashboard welcome text
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-11 16:17:05 +00:00
Nextcloud bot b4cebc3539 [tx-robot] updated from transifex 2021-07-11 02:25:50 +00:00
Nextcloud bot bdb5d9f418 [tx-robot] updated from transifex 2021-07-10 02:31:32 +00:00
szaimen 9e00b58511 Merge pull request #27887 from nextcloud/enh/noid/fix-userstatus-mobile
make user status usable on mobile
2021-07-09 13:30:21 +02:00
szaimen cf8e380f65 make user status usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-09 09:30:56 +00:00
Joas Schilling dfb27470e2 Merge pull request #27854 from nextcloud/fix/27371/fix-dark-theme-public-pages
Fix dark theme on public link shares
2021-07-09 11:00:53 +02:00
Joas Schilling ede5db10c3 Fix accessibility theme for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 09:22:39 +02:00
szaimen 3b03324998 fix filepicker bug in dark mode
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-09 09:22:39 +02:00
Nextcloud bot c2f62ee0b8 [tx-robot] updated from transifex 2021-07-09 02:26:17 +00:00
Joas Schilling 5390d3194f Make integrity commands verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-08 21:21:57 +02:00
rakekniven dad31ce3fa Merge pull request #27847 from nextcloud/enh/26973/talk-password-failed
Update "Sending password by Nextcloud Talk failed" sentence
2021-07-08 18:14:59 +02:00
John Molakvoæ 27fb46c77d Merge pull request #27864 from nextcloud/bug/27435/add-group-button 2021-07-08 17:21:18 +02:00
Guillaume Colson 3a5918d932 No limit in the number of group shares
By default, autoaccept doesn't work if the user has more than 50 group shares

Signed-off-by: Guillaume COLSON <guillaume.colson@univ-lorraine.fr>
2021-07-08 16:56:26 +02:00
Daniel Kesselberg 090f860c65 Fix add group button
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-08 16:43:46 +02:00
John Molakvoæ 57e669e797 Merge pull request #27774 from nextcloud/feat/workflow-auto-update
Updating dependabot-approve-merge.yml workflow from template
2021-07-08 16:29:10 +02:00
J0WI 91051d9207 Generate strong, human readable OTP
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:33 +02:00
J0WI 3b656446af Introduce ISecureRandom::CHAR_ALPHANUMERIC
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-07-08 15:11:31 +02:00
Lukas Reschke 040bc04287 Merge pull request #27845 from nextcloud/update-diaspora-url
Use proper "Share to Diaspora" URL
2021-07-08 13:00:28 +02:00
Nextcloud bot 726f23ffd9 [tx-robot] updated from transifex 2021-07-08 02:26:46 +00:00
Lukas Reschke 11739ce89b Merge pull request #27835 from nextcloud/htaccess-cache
Cache images on browser
2021-07-07 19:09:54 +02:00
Lukas Reschke db0bda06b5 Merge pull request #27844 from nextcloud/fix/25037/mobile-search-popup
Make search popup usable on mobile, too
2021-07-07 16:58:43 +02:00
Lukas Reschke 09b38bce4e Merge pull request #27851 from nextcloud/backport/27848/master
[master] Fixes recursion count incrementation
2021-07-07 14:55:11 +02:00
Joas Schilling aae16c21e6 Allow casting query functions as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 14:20:24 +02:00
Joas Schilling 11d21e5f5c Add a unit test to check for casting a IQueryFunction
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 14:19:24 +02:00
Sanpi 81c272a8a5 Fixes recursion count incrementation
Signed-off-by: Sanpi <sanpi@homecomputing.fr>
2021-07-07 12:00:00 +00:00
szaimen 0c27faf711 Update "Sending password by Nextcloud Talk failed" sentence
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-07 13:39:57 +02:00
szaimen f72fe8b558 Merge pull request #27842 from nextcloud/enh/27206/everyone-active-users
Admin user settings - change Everyone to Active users
2021-07-07 12:13:30 +02:00
Lukas Reschke 69ffd7973e Use proper "Share to Diaspora" URL
The previous URL leads to an outdated GitHub page that links to websites
which are already available to sale.

This uses the somewhat more official https://share.diasporafoundation.org/

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-07-07 11:39:24 +02:00
Julius Härtl e8fb7c7640 Merge pull request #27830 from J0WI/simple-load-enc-module
Refactor getEncryptionModule routine
2021-07-07 11:38:13 +02:00
szaimen 1afc63abce Admin user settings - change Everyone to Active users
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 11:34:24 +02:00
szaimen d30aa525ee Make search popup usable on mobile, too
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 09:05:16 +00:00
kesselb d4618e9ef8 Merge pull request #27838 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-07-07 10:16:06 +02:00
John Molakvoæ 5d7d70538b Merge pull request #27827 from nextcloud/enh/27292/singular-plural 2021-07-07 08:23:39 +02:00
Nextcloud-PR-Bot c0bc502744 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-07-07 04:10:53 +00:00
Nextcloud bot 085f9d6ca9 [tx-robot] updated from transifex 2021-07-07 02:26:06 +00:00
acsfer ac9465e96d Cache images on browser
Fix #26851
2021-07-06 23:56:05 +02:00
J0WI b344ff1a67 Refactor getEncryptionModule routine 2021-07-06 19:20:32 +02:00
szaimen addc825275 add singular and plural in for days in admin sharing settings
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-06 19:05:17 +02:00
kesselb 9f04a7c71e Merge pull request #27801 from nextcloud/enh/noid/hardening-dns-pin-middleware
Ignore subdomain for soa queries
2021-07-06 18:55:25 +02:00
kesselb 5e7206d23a Merge pull request #27818 from nextcloud/fix/locking-cache-check
Fix in locking cache check
2021-07-06 18:53:51 +02:00
Nextcloud bot 17e58f5056 [tx-robot] updated from transifex 2021-07-06 02:26:02 +00:00
MichaIng 0304eea58d Fix in locking cache check
The intention obviously was to check whether $lockingCacheClass is defined, and existing class, and available. It was however checked whether the $distributedCacheClass is an existing class, which would have caused an exception already in the previous distributed cache check.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-07-05 23:11:13 +02:00
Christoph Wurst 26efbe982e Merge pull request #27794 from nextcloud/fix/clarify-lazy-event-listener-container
Clarify that lazy event listeners are built from the server container
2021-07-05 21:13:53 +02:00
Daniel Kesselberg b6530e5e82 Ignore subdomain for soa queries
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-05 20:29:06 +02:00
Pytal 04441d5012 Merge pull request #27767 from nextcloud/enh/20515/maintenance-mode-info
Improve maintenance mode info
2021-07-05 10:44:10 -07:00
Lukas Reschke 8037a4be57 Merge pull request #27799 from nextcloud/bug/26425/check-return-encrypt
Throw exception if encrypting the data failed.
2021-07-05 18:53:32 +02:00
John Molakvoæ b396aee333 Merge pull request #27758 from nullspoon/fix-dns-pinning 2021-07-05 17:37:51 +02:00
Lukas Reschke 931a871533 Merge pull request #27796 from nextcloud/bug/26839/check-pdo
Check that pdo is installed
2021-07-05 17:24:39 +02:00
Lukas Reschke d35a915a53 Merge pull request #27810 from nextcloud/Valdnet-patch-1
Add a text string to l10n
2021-07-05 16:36:20 +02:00
Valdnet 2100b38f3c Add a text string to l10n 2021-07-05 15:42:37 +02:00
Valdnet b9dd8ed873 Add a text string to l10n 2021-07-05 15:40:00 +02:00
Christoph Wurst a6a31bb419 Clarify that lazy event listeners are built from the server container
Ref https://github.com/nextcloud/server/issues/27793

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-05 12:11:54 +02:00
Lukas Reschke 415d704959 Merge pull request #27198 from nextcloud/tests/run-s3-tests
Run s3 tests again
2021-07-05 11:52:48 +02:00
Daniel Kesselberg 0a15043f69 Throw exception if encrypting the data failed.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-05 10:23:16 +02:00
Daniel Kesselberg c91bb98e5c Check that pdo is installed
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-07-05 09:49:05 +02:00
Nextcloud bot bb22d38aa1 [tx-robot] updated from transifex 2021-07-05 02:25:35 +00:00
HouraisanNEET 0ba0189260 Add F-Droid
Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
2021-07-04 21:44:55 +08:00
Nextcloud bot 4aefd04f40 [tx-robot] updated from transifex 2021-07-04 02:25:36 +00:00
Nextcloud bot 329e517fd9 [tx-robot] updated from transifex 2021-07-03 02:25:58 +00:00
dependabot[bot] ddf9b43dd2 Bump puppeteer from 10.0.0 to 10.1.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.0.0 to 10.1.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v10.0.0...v10.1.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-03 01:01:58 +00:00
Aaron Ball 484913dc31 Fix DnsPinMiddleware resolve pinning bug
Libcurl expects the value of the CURLOPT_RESOLVE configurations to be an
array of strings, those strings containing a comma delimited list of
resolved IPs for each host:port combination.

The original code here does create that array with the host:port:ip
combination, but multiple ips for a single host:port result in
additional array entries, rather than adding them to the end of the
string with a comma. Per the libcurl docs, the `CURLOPT_RESOLVE` array
entries should match the syntax `host:port:address[,address]`.

This creates a function-scoped associative array which uses `host:port`
as the key (which are supposed to be unique and this ensures that), and
the value is an array containing IP strings (ipv4 or ipv6). Once the
associative array is populated, it is then set to the CURLOPT_RESOLVE
array, imploding the ip arrays using a comma delimiter so the array
syntax matches the expected by libcurl.

Note that this reorders the "foreach ip" and "foreach port" loops.
Rather than looping over ips then ports, we now loop over ports then
ips, since ports are part of the unique host:port map, and multiple ips
can exist therein.

Signed-off-by: Aaron Ball <nullspoon@oper.io>
2021-07-02 16:08:44 -06:00
Julius Härtl a0d9dce26e Merge pull request #27750 from nextcloud/folder-search-filter-self
dont include folder being search in in the results
2021-07-02 17:50:25 +02:00
Nextcloud bot 472a51e845 Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-02 15:43:33 +00:00
Julius Härtl 24a8532393 Merge pull request #27771 from nextcloud/bugfix/noid/autotest-wait-pgsql-docker
Add connection check in autotest.sh for pgsql docker
2021-07-02 17:42:29 +02:00
Robin Appelman 9884344230 dont include folder being search in in the results
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-02 16:32:25 +02:00
Joas Schilling 8ebbd91909 Merge pull request #17148 from nextcloud/always-provide-color-to-default-personal-calendar
Always provide theme color for default personal calendar
2021-07-02 16:29:18 +02:00
Vincent Petry 526d36c290 Add connection check in autotest.sh for pgsql docker
When using pgsql docker for testing locally with autotest, make sure to
properly wait for the port to be available.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-02 15:26:06 +02:00
szaimen 37ff07b9e1 Improve maintenance mode info
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-02 13:54:33 +02:00
Joas Schilling af03f5d516 Also hide group from direct matches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-02 09:47:42 +02:00
Nextcloud bot 129214e430 [tx-robot] updated from transifex 2021-07-02 02:25:20 +00:00
blizzz 7589d5a176 Merge pull request #27533 from Rid/master
Fix scanner mistaking socket files for directories
2021-07-01 17:36:06 +02:00
blizzz 62675eb5c2 Merge pull request #27586 from nextcloud/bugfi/noid/objectstore-checksum
Reset checksum when writing files to object store
2021-07-01 17:30:54 +02:00
ZitronePlus 7d0dd31efd Fix for #26526
fix for sql query
replaced double quotes with single quotes.
Query should now also work for dbs with sql_mode including "ANSI" and "ANSI_QUOTES"

Signed-off-by: Tobias <scharft@hochschule-trier.de>
2021-07-01 16:52:03 +02:00
Daniel Rudolf 1e5962ae98 Fix UrlGeneratorTest::testGetDefaultPageUrlWithDefaultApps()
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 16:39:26 +02:00
Daniel Rudolf 15a445f743 Move UtilTest::testDefaultApps() to UrlGeneratorTest
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 16:26:55 +02:00
Daniel Rudolf e16bf707aa Fix UtilTest::testDefaultApps()
Oh wow... This definitly was no best practice... 😒

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 16:00:29 +02:00
Daniel Rudolf a43de10d1e Add RedirectToDefaultAppResponse::__construct() annotations
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 15:35:09 +02:00
John Molakvoæ 86d0afdb5e Merge pull request #27737 from nextcloud/enh/19906/contactsmenu
make contactsmenu icon bigger
2021-07-01 15:24:16 +02:00
John Molakvoæ 9a7d432b55 Merge pull request #27742 from nextcloud/enh/explicit-hint-federation-local
Clarify that federated sharing settings may also affect shares between users on the current instanc
2021-07-01 15:23:52 +02:00
Daniel Rudolf e478db9161 Deprecate RedirectToDefaultAppResponse
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 15:13:08 +02:00
Daniel Rudolf 2c7186a15f Remove \OC::$server->getURLGenerator() usage
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-07-01 15:12:15 +02:00
Julius Härtl 660c0f7942 Clarify that federated sharing settings may also affect shares between users on the current instance
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-01 11:41:21 +02:00
Julius Härtl ddb9840e2f Merge pull request #27739 from nextcloud/enh/noid/app-settings-button
design fixes to app-settings button
2021-07-01 10:28:42 +02:00
Julius Härtl 3853307a6a Merge pull request #26681 from nextcloud/techdebt/hint-exception-ocp
Move HintException to OCP
2021-07-01 08:34:55 +02:00
Julius Härtl 55cabef723 Use minio for s3 tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-07-01 08:22:24 +02:00
Nextcloud bot bb40e65e4e [tx-robot] updated from transifex 2021-07-01 02:24:48 +00:00
szaimen 2d691346ce design fixes to app-settings button
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-07-01 01:09:38 +02:00
Gary Kim b78f3a57d1 Migrate HintException to OCP
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-06-30 15:28:02 -04:00
szaimen 8b47477cae make contactsmenu icon bigger
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-30 20:35:26 +02:00
blizzz 6da9ccc9ee Merge pull request #27732 from nextcloud/fix/27576/LDAPProviderFactory-not-found
Fix LDAPProviderFactory not found
2021-06-30 18:50:06 +02:00
Daniel Rudolf 0df68f0697 Remove unused imports
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-06-30 16:48:22 +02:00
Daniel Rudolf 12059eb65b Add IUrlGenerator::linkToDefaultPageUrl()
Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public.

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-06-30 16:20:57 +02:00
Arthur Schiwon f62c066459 unset ldap provider when disabling user_ldap
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 15:25:00 +02:00
Arthur Schiwon 12e4484dba ensure that factoryClass exisits before instantiation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 15:09:27 +02:00
ZitronePlus 1d0a40a4a6 Fix for #26526
fix for sql query
replaced double quotes with single quotes.
Query should now also work for dbs with sql_mode including "ANSI" and "ANSI_QUOTES"
2021-06-30 14:52:48 +02:00
Julius Härtl 3f44fd00e2 Run s3 tests again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-30 14:30:04 +02:00
Julius Härtl 75f7287b5e Merge pull request #27638 from nextcloud/enh/noid/fix-encrypted-version 2021-06-30 14:17:38 +02:00
John Molakvoæ 192e53c1ad Merge pull request #27723 from nextcloud/fix/noid/typo-regex
fix incredible off-by-one-typo-error
2021-06-30 14:16:16 +02:00
blizzz f99a895047 Merge pull request #27700 from nextcloud/deprecate-remote
Deprecate OCP\Remote
2021-06-30 11:21:12 +02:00
Arthur Schiwon 6b910d4f02 fix incredible off-by-one-typo-error
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 11:01:46 +02:00
Maxime Besson 388a458cd5 fix(proxy): use accessor
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
2021-06-30 09:25:04 +02:00
John Molakvoæ 506265a984 Merge pull request #27717 from nextcloud/feat/workflow-auto-update
Updating dependabot-approve-merge.yml workflow from template
2021-06-30 07:44:46 +02:00
John Molakvoæ 9124c69cf6 Merge pull request #27474 from nextcloud/feat/26866/prov-api 2021-06-30 07:13:24 +02:00
Nextcloud bot 62ff4fe50a [tx-robot] updated from transifex 2021-06-30 02:25:27 +00:00
Arthur Schiwon ad0a11b2bf cleanup
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 01:03:44 +02:00
Arthur Schiwon a0752543d8 fix small issues in UsersController handling
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:48:05 +02:00
Arthur Schiwon 00ffad3c60 adjust access permissions of new controller method
- fixes wrong veriable usage also

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:48:05 +02:00
Arthur Schiwon 6eda6af5c6 fix regex
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:48:04 +02:00
Arthur Schiwon 285a56bd82 fix provisioning test check
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:48:04 +02:00
Arthur Schiwon 506227b509 adjust internal data handling logic to fix store and load
- format as stored previously in oc_accounts table is kept

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:48:01 +02:00
Arthur Schiwon 02808e38b4 create a property on editUser when it was not set before
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:47:43 +02:00
Arthur Schiwon c7bf4295cc adjust email verification checker
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:47:36 +02:00
Arthur Schiwon d64411e9df fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:45:49 +02:00
Arthur Schiwon 3d6ffd3da2 adjust verification state updater method
- also fixes scope of internal methods

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:42:42 +02:00
Arthur Schiwon af3fdbea7b make AccountManager actually write multi value properties
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:12 +02:00
Arthur Schiwon 638c04d6e0 accounts event handler to use eventdispatcher, DI and Accounts API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:11 +02:00
Arthur Schiwon d109d4f581 prov api to be able to edit multivalue properties
- adding as usual
- deleting and scope setting via additional endpoint

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:11 +02:00
Arthur Schiwon 3da9064f9d prov api reports multiple mail as editable field
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:11 +02:00
Arthur Schiwon 13818005a3 prov api reports additional emails on getUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-30 00:41:10 +02:00
Nextcloud bot b4cb5e2cff Updating dependabot-approve-merge.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-06-29 19:06:49 +00:00
John Molakvoæ 4aece4cae9 Merge pull request #27715 from nextcloud/revert-24295-perf/noid/router
Revert "First attempt to check against core routes before loading all app routes"
2021-06-29 20:50:11 +02:00
Vincent Petry d3eeecba54 Prevent running FixEncryptedVersion without master key
Return an error when running occ encryption:fix-encrypted-version
when master key encryption is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 20:44:07 +02:00
Julius Härtl d1b0ccb715 Merge pull request #27488 from msrn/win10cal-useragent
Add regex to match Windows 10 calendar user-agent
2021-06-29 18:36:51 +02:00
Vincent Petry 8535340d9a Revert "First attempt to check against core routes before loading all app routes"
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 17:54:30 +02:00
Christoph Wurst fbc937758e Merge pull request #27644 from J0WI/remember-cipher
Remember current cipher
2021-06-29 15:19:06 +02:00
Vincent Petry 101c65a949 Fix FixEncryptedVersionTest test
Fixed setup to use EncryptionTrait like other existing tests.
Fix expectations to not rely on side effects from previous test cases.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +02:00
Vincent Petry 6170912ace Fix warnings in FixEncryptedVersion command
Fixed code warnings

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +02:00
Vincent Petry 4e9241c706 Detect disabled signature check when reparing
When running occ encryption:fix-encrypted-version, detect whether the
setting 'encryption_skip_signature_check' is set and abort if it is,
because the repair cannot detect version mismatch errors with it
enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +02:00
Vincent Petry 43a0016aa7 Downstream FixEncryptedVersionTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +02:00
Vincent Petry a6dc81d419 Downstream encryption:fix-encrypted-version
For fixing "Bad signature" errors.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-29 14:39:51 +02:00
J0WI c694b9d52b Remember current cipher
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-06-29 13:41:22 +02:00
John Molakvoæ 556f51efb4 Merge pull request #27672 from nextcloud/feat/workflow-auto-update
Updating command-rebase.yml workflow from template
2021-06-29 11:08:21 +02:00
skjnldsv 2fdd8c40ef Updating command-rebase.yml workflow from template
Signed-off-by: GitHub <noreply@github.com>
2021-06-29 07:46:40 +00:00
blizzz 73c5738ac7 Merge pull request #27698 from nextcloud/fix/25761/userexistsonldap-loop
LDAP: determine shares of offline users only when needed
2021-06-28 19:13:05 +02:00
Lukas Reschke 583e597237 Merge pull request #27676 from nextcloud/localize-invitation-email-subjects
Localize invitation email subjects
2021-06-28 19:10:24 +02:00
Lukas Reschke 53695dac53 Merge pull request #27687 from nextcloud/szaimen-patch-1
Create rebase command
2021-06-28 19:09:49 +02:00
Pytal 30656212c3 Merge pull request #27697 from nextcloud/ci/approve-merge-stable
Auto approve/merge also on stable branches
2021-06-28 08:56:45 -07:00
Lukas Reschke a423aae522 Deprecate OCP\Remote
This is unused.

Fixes https://github.com/nextcloud/server/issues/25780

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-28 16:36:32 +02:00
Arthur Schiwon bbcd8c9a68 LDAP: determine shares of offline users only when needed
- determine shares may via Sharing code result in user exists checks
- this may result in an infinite loop when user exists was called before
- the info is really only required at one occ command

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-28 12:56:37 +02:00
Julius Härtl b18a7b8d22 Auto approve/merge also on stable branches
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-28 12:11:12 +02:00
Nextcloud bot ac97873a17 [tx-robot] updated from transifex 2021-06-28 02:25:09 +00:00
Nextcloud bot 67851a0262 [tx-robot] updated from transifex 2021-06-27 02:25:38 +00:00
szaimen 716dd54af2 Create rebase command
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-26 13:36:32 +02:00
Nextcloud bot 1cf04c8b6f [tx-robot] updated from transifex 2021-06-26 02:25:44 +00:00
dependabot[bot] 9e08c4f9cf Merge pull request #27645 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.5 2021-06-25 18:37:55 +00:00
dependabot[bot] 89de9af08b Bump css-vars-ponyfill from 2.4.3 to 2.4.5
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.3 to 2.4.5.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.3...v2.4.5)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-25 17:01:34 +00:00
Julius Härtl ac3e85d9a0 Merge pull request #27656 from nextcloud/dependabot/npm_and_yarn/build/node-sass-6.0.1
Bump node-sass from 6.0.0 to 6.0.1 in /build
2021-06-25 18:52:48 +02:00
Julius Härtl 99013d4bc7 Merge pull request #27668 from nextcloud/fix/harden-context-registration-app-missing
Harden bootstrap context registrations when apps are missing
2021-06-25 18:42:46 +02:00
Julius Härtl 3a44ca60ec Merge pull request #27675 from nextcloud/bugfix/noid/fix-setting-theming-color
Validate the theming color also on CLI
2021-06-25 18:16:13 +02:00
Thomas Citharel fc49b2600b Add indications for the translators
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 17:27:45 +02:00
Paweł Lechowicz f33eea69ce Subjects for Invitation, Invitation cancellation and Invitation replies are now localizable.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 17:23:00 +02:00
Joas Schilling 080e26fb80 Validate the theming color also on CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-25 16:58:29 +02:00
Thomas Citharel 8927205d8a Make default calendar only contain VEVENTS
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 14:26:18 +02:00
Thomas Citharel f73478654d Always provide theme color for default personal calendar
Before this calendar-color wasn't defined for default calendar

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-06-25 14:15:10 +02:00
John Molakvoæ 00edbc2adf Merge pull request #27664 from nextcloud/techdebt/noid/master-is-now-23-part2
Bump app version
2021-06-25 13:17:48 +02:00
Joas Schilling a651dbd2c0 Fix app version check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-25 11:49:32 +02:00
Christoph Wurst 80dd0b9418 Harden bootstrap context registrations when apps are missing
It's not expected that an app would be unavailable when the app
container is created but when services are registered, but Sentry tells
me on Nextcloud 21 there is an edge case where this can happen.
Therefore this patch hardens the code a bit to log a meaningful error
message and skipping the next code instead of logging a php notice for
the undefined index and an exception for calling a method on null.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-25 11:40:35 +02:00
John Molakvoæ e35ed31b31 Merge pull request #27663 from nextcloud/fix/unshift-crash-reporters-break-loop
Unshift crash reports when they are loaded, to break the recusion
2021-06-25 08:29:28 +02:00
Nextcloud bot 95447d0152 [tx-robot] updated from transifex 2021-06-25 02:25:29 +00:00
Joas Schilling 655108a3dc Bump app version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 16:08:39 +02:00
Christoph Wurst 35a9ad0d78 Unshift crash reports when they are loaded, to break the recusion
If, for whatever reason, during the loading of a crash reporter a new
log entry is generated, then the lazy loading mechanism will be invoked
*again* while it's already executed. This doesn't result in an endless
recursion, but means that the crash reporters will be built and
registered many times. This then means any further log entry will be
logged x times instead of once.

Unshift makes sure to take the class off the registration list right
away, so another invokation of the same method won't try to do the same
job.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-24 15:31:49 +02:00
dependabot[bot] 589dfd02fe Bump node-sass from 6.0.0 to 6.0.1 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v6.0.0...v6.0.1)

---
updated-dependencies:
- dependency-name: node-sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-24 13:17:16 +00:00
Joas Schilling bdfd2d9209 Merge pull request #27648 from nextcloud/techdebt/noid/master-is-now-23
Master is now 23
2021-06-24 15:15:23 +02:00
Joas Schilling 15e59a686d Update dependabot config too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 13:20:37 +02:00
Joas Schilling 8b0448d407 Master is now 23
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-24 12:56:06 +02:00
blizzz 4e97270372 Merge pull request #27623 from nextcloud/version/22.0.0/rc1
22.0.0 RC1
2021-06-24 11:24:57 +02:00
dependabot[bot] 0c1ba19658 Merge pull request #27629 from nextcloud/dependabot/npm_and_yarn/core-js-3.15.1 2021-06-24 07:38:27 +00:00
dependabot-preview[bot] 1a9ac8c5b2 Merge pull request #27385 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-approx-5.3 2021-06-24 07:27:37 +00:00
dependabot[bot] a6f7e0053d Bump core-js from 3.13.1 to 3.15.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.13.1 to 3.15.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.15.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-24 09:03:14 +02:00
Nextcloud bot 4158f1a848 [tx-robot] updated from transifex 2021-06-24 02:25:18 +00:00
Christoph Wurst d87248fe40 Merge pull request #27632 from nextcloud/chore/caldav-trashbin-iso-timestamps
Use ISO8601 timestamps for the CalDAV trashbin
2021-06-23 21:34:34 +02:00
Lukas Reschke a52ed8e677 Merge pull request #27605 from nextcloud/better-security-warning
Make security warning stand out more
2021-06-23 20:30:07 +02:00
Julius Härtl 6656e20872 Merge pull request #27583 from nextcloud/dependabot/add-v2-config-file 2021-06-23 19:31:46 +02:00
Pytal 9ed379da22 Merge pull request #27635 from nextcloud/fix/datetime-constants
Fix usage of DateTime constants
2021-06-23 09:56:28 -07:00
Christoph Wurst 3a690b1cb5 Use ISO8601 timestamps for the CalDAV trashbin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 16:28:16 +02:00
Lukas Reschke 19a84512d6 Merge pull request #27628 from nextcloud/security-txt
Add security.txt
2021-06-23 15:49:51 +02:00
Christoph Wurst 6d5cfe0c66 Move DateTime::RFC2822 to DateTimeInterface::2822
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 15:30:43 +02:00
Christoph Wurst 770881d5d6 Move DateTime::ATOM to DateTimeInterface::ATOM
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-23 15:28:07 +02:00
Lukas Reschke a70fd1bad1 Merge pull request #26344 from J0WI/fs-early-root
Return early if path is root
2021-06-23 15:21:56 +02:00
Lukas Reschke 6030dbe064 Move header into h3
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-23 15:12:03 +02:00
dependabot[bot] eceef4c747 Merge pull request #27627 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.14.7 2021-06-23 12:03:45 +00:00
Lukas Reschke 65742695d1 Rebuild autoloader
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-23 13:59:48 +02:00
Lukas Reschke 25ab4059c6 Add security.txt
Ref https://securitytxt.org

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-23 13:58:47 +02:00
dependabot[bot] 65164ceb2f Bump @babel/preset-env from 7.14.5 to 7.14.7
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.5 to 7.14.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.7/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 09:52:09 +00:00
Julius Härtl 3eee6e98ab Merge pull request #27611 from nextcloud/dependabot/npm_and_yarn/query-string-7.0.1
Bump query-string from 5.1.1 to 7.0.1
2021-06-23 11:36:11 +02:00
blizzz 6c65c9c44d Merge pull request #27561 from nextcloud/dav-search-offset
allow setting offset for dav search queries not limited to the users home storage
2021-06-23 11:27:41 +02:00
blizzz ee7a484284 Merge pull request #26346 from J0WI/clean-auth-regex
Cleaner removePassword regex
2021-06-23 11:20:19 +02:00
blizzz c6d5653a85 Merge pull request #26323 from J0WI/crypt-const
Use constant for supported formats
2021-06-23 11:17:05 +02:00
Arthur Schiwon 47b3c80a5a 22.0.0 RC1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-23 10:58:19 +02:00
dependabot[bot] 8cd739105b Bump query-string from 5.1.1 to 7.0.1
Bumps [query-string](https://github.com/sindresorhus/query-string) from 5.1.1 to 7.0.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v5.1.1...v7.0.1)

---
updated-dependencies:
- dependency-name: query-string
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 09:36:31 +02:00
Joas Schilling 092ff40f15 Merge pull request #27610 from nextcloud/add-throttling-to-public-auth
Throttle on public DAV endpoint
2021-06-23 09:34:48 +02:00
Julius Härtl 35fe1dfebe Merge pull request #27567 from nextcloud/dependabot/npm_and_yarn/build/karma-6.3.4
Bump karma from 5.2.3 to 6.3.4 in /build
2021-06-23 09:02:30 +02:00
Mikael Saarinen 14c33bb2e9 Add regex to match Windows 10 calendar user-agent
* Match first part of the Windows 10 calendar user-agent
* Exposes subscribed calendars for Windows 10 calendar
* Update unit test

Signed-off-by: Mikael Saarinen <mikaels@iki.fi>
2021-06-23 09:50:45 +03:00
dependabot[bot] cc79131e90 Bump karma from 5.2.3 to 6.3.4 in /build
Bumps [karma](https://github.com/karma-runner/karma) from 5.2.3 to 6.3.4.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v5.2.3...v6.3.4)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-23 08:18:02 +02:00
Julius Härtl e065324e9b Merge pull request #27383 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-10.0.0
Bump puppeteer from 5.5.0 to 10.0.0 in /build
2021-06-23 08:15:33 +02:00
Nextcloud bot 1977114f01 [tx-robot] updated from transifex 2021-06-23 02:26:18 +00:00
Pytal d517b0f5b0 Merge pull request #27604 from nextcloud/bugfix/24918
Proper opacity on multiselect actions in files
2021-06-22 16:07:04 -07:00
Pytal 85c913ad6f Merge pull request #27609 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.184.6
Bump aws/aws-sdk-php from 3.184.2 to 3.184.6
2021-06-22 16:00:48 -07:00
dependabot[bot] dfff67e21b Bump puppeteer from 5.5.0 to 10.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 5.5.0 to 10.0.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.5.0...v10.0.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 19:23:45 +00:00
Lukas Reschke 4627fe4bc1 Reference correct private variable
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 20:41:38 +02:00
Robin Appelman a317f0ff02 allow setting offset for queries not limited to the users home storage
multi-storage offset is cheap (enough) now

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-22 20:38:14 +02:00
Julius Härtl 6a3b94491b Merge pull request #27555 from nextcloud/dependabot/npm_and_yarn/sass-1.35.1
Bump sass from 1.34.1 to 1.35.1
2021-06-22 20:01:15 +02:00
Lukas Reschke d6a2f00bef Throttle on public DAV endpoint
We should throttle whenever an invalid request is sent to the public WebDAV endpoint.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 19:54:13 +02:00
Christoph Wurst b90dd8c120 Bump aws/aws-sdk-php from 3.184.2 to 3.184.6
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-22 19:43:17 +02:00
Lukas Reschke a1fe771a7d Make security warning stand out more
The security warning is currently being ignored by too many users as it's part of the text and not visually distinct.

Ref #26944

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-22 19:23:26 +02:00
Julius Härtl 2c7a1c8609 Proper opacity on multiselect actions in files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-22 19:02:06 +02:00
Lukas Reschke 1c8f5cbc82 Merge pull request #27595 from nextcloud/enh/25174/hide-hyphen-if-slogan-is-empty
mail-template - don't show hyphen if slogan is empty
2021-06-22 17:53:15 +02:00
szaimen a5bcfbe058 fix NewUserMailHelperTest
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-22 17:12:34 +02:00
szaimen 2cb85546fe fix NewUserMailHelperTest
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-22 17:01:23 +02:00
szaimen 858f578f84 mail-template - don't show hyphen if slogan is empty
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-06-22 13:43:12 +02:00
Lukas Reschke 6d129e5f79 Merge pull request #27593 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.12.25
Bump giggsey/libphonenumber-for-php from 8.12.24 to 8.12.25
2021-06-22 11:50:16 +02:00
Lukas Reschke d1001f7fd7 Merge pull request #27566 from nextcloud/fix/device-login-styles
Update Login with device page styles
2021-06-22 11:48:58 +02:00
Christoph Wurst ad65f24cf4 Bump giggsey/libphonenumber-for-php from 8.12.24 to 8.12.25
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-22 09:27:07 +02:00
kesselb b518d9ec67 Merge pull request #27590 from nextcloud/dependabot/composer/swiftmailer/swiftmailer-6.2.7
Bump swiftmailer/swiftmailer from 6.2.5 to 6.2.7
2021-06-22 09:16:21 +02:00
Nextcloud bot 25b4f11fd5 [tx-robot] updated from transifex 2021-06-22 02:26:59 +00:00
Pytal afe1ea6140 Merge pull request #27283 from nextcloud/Valdnet-patch-1
l10n: Spelling unification
2021-06-21 17:01:19 -07:00
Valdnet 52e0c65036 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:45:54 +00:00
Valdnet 64ad2eb83d l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +00:00
Valdnet 898e87ac64 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:44:56 +00:00
Christopher Ng 08d59bbb03 Update login with device page styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:40:36 +00:00
pjft b1086e25bb Add logging to 2FA failure
For security reasons, we may want to monitor failures of 2FA challenges in order to ban attackers who might try to access compromised accounts but are stopped by the 2FA challenge.
Right now, the only hindrance is rate-limiting, but it's probably not enough.
Added dependency injection.

Signed-off-by: pjft <paulo.j.tavares@gmail.com>
2021-06-21 20:43:12 +01:00
Christoph Wurst b8d2b2a0da Bump swiftmailer/swiftmailer from 6.2.5 to 6.2.7
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-21 19:28:06 +02:00
Christoph Wurst 9522cbcc92 Merge pull request #27587 from nextcloud/dependabot/composer/icewind/streams-0.7.5
Bump icewind/streams from 0.7.4 to 0.7.5
2021-06-21 19:04:26 +02:00
dependabot-preview[bot] 5aecb77f54 Merge pull request #27581 from nextcloud/dependabot/composer/vimeo/psalm-4.8.1 2021-06-21 15:16:02 +00:00
Louis Chemineau 3f6d3dc307 Fix typing error in AppFetcher.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 16:31:24 +02:00
Christoph Wurst 18edb9ed34 Bump icewind/streams from 0.7.4 to 0.7.5
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-21 15:56:43 +02:00
Louis Chemineau f0876a9e9d Update Autoloader
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 15:54:51 +02:00
Louis Chemineau 451af424e9 Update baseline again
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 14:52:47 +02:00
Julius Härtl 2e38eaa53b Merge pull request #27585 from nextcloud/dependabot/composer/phpseclib/phpseclib-2.0.32
Bump phpseclib/phpseclib from 2.0.31 to 2.0.3
2021-06-21 14:38:16 +02:00
Louis Chemineau f40150b758 Fix typing error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-21 14:14:37 +02:00
Julius Härtl 21db463bc9 Reset checksum when writing files to object store
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-21 12:04:49 +02:00
Christoph Wurst 85e1acc439 Bump phpseclib/phpseclib from 2.0.31 to 2.0.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-21 10:58:46 +02:00
dependabot-preview[bot] 2843230f84 Upgrade to GitHub-native Dependabot 2021-06-21 10:24:39 +02:00
Julius Härtl 0bf4e1e840 Update baseline
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-21 09:11:30 +02:00
dependabot-preview[bot] f9e85fbb9b Bump vimeo/psalm from 4.7.2 to 4.8.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.7.2 to 4.8.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.7.2...4.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-21 08:39:29 +02:00
dependabot-preview[bot] 1776b41ca8 Merge pull request #27573 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-4.12.1 2021-06-21 06:15:25 +00:00
dependabot-preview[bot] 75f1df4fd0 Bump vue-material-design-icons from 4.11.0 to 4.12.1
Bumps [vue-material-design-icons](https://github.com/robcresswell/vue-material-design-icons) from 4.11.0 to 4.12.1.
- [Release notes](https://github.com/robcresswell/vue-material-design-icons/releases)
- [Changelog](https://github.com/robcresswell/vue-material-design-icons/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/robcresswell/vue-material-design-icons/compare/4.11.0...4.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-21 05:43:41 +00:00
Nextcloud bot 160d0c5161 [tx-robot] updated from transifex 2021-06-21 02:26:40 +00:00
Nextcloud bot 61a31dcdd7 [tx-robot] updated from transifex 2021-06-20 02:27:02 +00:00
Nextcloud bot da408dbcbd [tx-robot] updated from transifex 2021-06-19 02:26:44 +00:00
Christoph Wurst 365819c305 Merge pull request #27544 from nextcloud/chore/phase-out-controller-reflector
Phase out the controller reflector
2021-06-18 15:02:21 +02:00
Julius Härtl bdb1525c16 Merge pull request #27540 from nextcloud/getstoragerootid-failed-storage
handle case where storage can't be created in getStorageRootId
2021-06-18 14:17:41 +02:00
Morris Jobke 38edc6fdec Merge pull request #27532 from nextcloud/fix/noid/properly-cleanup-webauthn-user-deletion
Properly cleanup entries of WebAuthn on user deletion
2021-06-18 12:52:05 +02:00
dependabot[bot] 95069c84b6 Bump sass from 1.34.1 to 1.35.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.34.1 to 1.35.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.34.1...1.35.1)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-18 10:20:07 +00:00
Morris Jobke dbed0ce680 Properly cleanup entries of WebAuthn on user deletion
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-18 09:42:32 +02:00
Julius Härtl 9a05fd4f52 Merge pull request #27548 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-18 06:47:37 +02:00
Nextcloud-PR-Bot 1fb0dc9eb8 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-18 04:11:44 +00:00
Nextcloud bot 3b70e44f2a [tx-robot] updated from transifex 2021-06-18 02:26:57 +00:00
Christoph Wurst e49f1e4319 Phase out the controller reflector
1) PHP8 attributes will soon replace phpdoc annotations
2) Most of the class was never meant to be used by an app but internally

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-17 18:21:19 +02:00
Christoph Wurst b73f40eabb Merge pull request #24318 from nextcloud/techdebt/noid/remove-oc_user-getDisplayName
Use proper methods for display name retrieval
2021-06-17 18:17:28 +02:00
Pytal 18ff2612a1 Merge pull request #27537 from nextcloud/fix/noid/webauthn-localhost
Allow WebAuthn on localhost as well
2021-06-17 08:53:49 -07:00
Joas Schilling ae331deed5 Merge pull request #27535 from nextcloud/techdebt/noid/update-shipped-info.xsd-aswell
Update shipped info.xsd too
2021-06-17 16:06:24 +02:00
Morris Jobke 86080e68b2 Allow WebAuthn on localhost as well
* browsers typically whiteliste this as well - https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API
* for developing purposes see https://developer.chrome.com/docs/devtools/webauthn/

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-17 16:05:45 +02:00
Robin Appelman 8520717b4f handle case where storage can't be created in getStorageRootId
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-17 14:32:38 +02:00
blizzz eec792446d Merge pull request #26939 from nextcloud/enh/app-icon-notification-bubble
Let apps toggle an unread counter on app icons
2021-06-17 13:33:31 +02:00
Rid 0469acfb20 Fix scanner mistaking socket files for directories
Signed-off-by: Rid <rid@cylo.io>
2021-06-17 11:44:44 +01:00
blizzz 25fc2569de Merge pull request #27525 from nextcloud/version/22.0.0-beta5
22.0.0 beta 5
2021-06-17 10:50:47 +02:00
John Molakvoæ 1c3050c42a Merge pull request #27522 from nextcloud/bugfix/noid/save-a-request-after-heartbeat
Save a request everytime we send the heartbeat
2021-06-17 10:50:37 +02:00
John Molakvoæ 6634112099 Fix jsdoc
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
2021-06-17 10:45:23 +02:00
Morris Jobke 2690481cba Use DI for files_sharing Cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-17 10:22:37 +02:00
Morris Jobke 095418493e Use proper methods for display name retrieval
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-17 10:19:07 +02:00
kesselb 330b8802f9 Merge pull request #27534 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-17 10:11:52 +02:00
Joas Schilling 3a43556f2f Update shipped info.xsd too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-17 09:14:09 +02:00
Nextcloud-PR-Bot 33bbd90aae Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-17 04:11:22 +00:00
Nextcloud bot 78bfaeaa0e [tx-robot] updated from transifex 2021-06-17 02:25:48 +00:00
Lukas Reschke f8add9d82f Merge pull request #22628 from Sp1l/simplify-htaccess-rewrites
Coalesce RewriteCond lines in .htaccess
2021-06-16 19:35:29 +02:00
John Molakvoæ c04e0d1db9 Merge pull request #27098 from nextcloud/fix/noid/missing-key-in-addInfo
force 'name' key in array
2021-06-16 17:13:45 +02:00
Julius Härtl a94236483e Let apps toggle an unread counter on app icons
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 17:12:56 +02:00
Morris Jobke 4c93249514 Merge pull request #26319 from nextcloud/files_external_app.php
Move files_external to IBootstrap and remove some deprecated stuff in the process
2021-06-16 17:12:14 +02:00
Joas Schilling cebfe4ba0e Merge pull request #27190 from nextcloud/bugfix/noid/deduplicate-translation
Deduplicate translations and fix double .
2021-06-16 16:50:19 +02:00
Morris Jobke ff8cfbb24e Merge pull request #27529 from nextcloud/fix/25950/default-product-name
Fix default product name for old themes
2021-06-16 16:49:08 +02:00
Morris Jobke f6108acea4 Fix default product name for old themes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-16 15:52:49 +02:00
Christoph Wurst 39f0aa5abe Merge pull request #27515 from nextcloud/enh/noid/read-multi-value-user-attribute
Add method to read multi-value attributes from ldap
2021-06-16 15:51:09 +02:00
blizzz 818fc95b03 Merge pull request #26571 from nextcloud/bugfix/noid/existing-link-no-reshare
Only allow removing existing shares that would not be allowed due to reshare restrictions
2021-06-16 15:26:12 +02:00
Arthur Schiwon 47a8d0d5e0 fix app disdplay name
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-16 15:19:28 +02:00
Robin Appelman 94f0c10ec6 fix some types
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-16 13:56:26 +02:00
Robin Appelman 381aaeb0cc move logic from contstructor to boot method
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-16 13:56:25 +02:00
Robin Appelman 2bb78da813 move user/group deleted listeners to new event listener service
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-16 13:56:25 +02:00
Robin Appelman 3a645e2d40 move files_external to IBootstrap
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-16 13:56:20 +02:00
Robin Appelman 1052feabed remove depricated methods from MountConfig
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-16 13:55:19 +02:00
Arthur Schiwon 12f9177ed7 22.0.0 beta 5
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-16 13:27:05 +02:00
Julius Härtl 7917f4cf76 Merge pull request #25950 from nextcloud/enh/product-name 2021-06-16 13:05:01 +02:00
Julius Härtl d9dd31b869 Use product name in the auth token list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 11:42:54 +02:00
Julius Härtl c0474ba364 Use product name in places where it is appropriate rather than the instance name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 11:42:53 +02:00
Julius Härtl 4673b54a2c Add dedicated product name to OCP\Defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 11:36:56 +02:00
Daniel Kesselberg 04411df695 Add method to read multi-value attributes from ldap.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-16 11:35:27 +02:00
Julius Härtl 51add75e51 Merge pull request #26430 from nextcloud/enh/dashboard-api 2021-06-16 11:34:46 +02:00
Julius Härtl 6b60495d82 Merge pull request #27514 from nextcloud/fix/share_activity
Fix share activity dispatch
2021-06-16 11:34:12 +02:00
Joas Schilling 38d2f978a6 Save a request everytime we send the heartbeat
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-16 11:32:32 +02:00
Morris Jobke 0a9a5f006a Merge pull request #27520 from nextcloud/enh/noid/change-reviewers
Change reviewers of Psalm baseline update
2021-06-16 11:07:34 +02:00
Louis Chemineau be42a13235 Fix share activity dispatch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-16 10:11:54 +02:00
Morris Jobke deaf0f3aa2 Change reviewers of Psalm baseline update
Change reviewers from Roeland and Me to Julius and Louis

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-16 09:19:43 +02:00
Morris Jobke c56f580f31 Merge pull request #27517 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-16 09:13:27 +02:00
Julius Härtl 437d938e8c Merge pull request #26874 from nextcloud/single-query-search 2021-06-16 09:07:40 +02:00
Nextcloud-PR-Bot d33ec63c5b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-16 04:11:58 +00:00
Nextcloud bot 4c60ff1275 [tx-robot] updated from transifex 2021-06-16 02:26:18 +00:00
Julius Härtl 08899c8b3b Update autoloader
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-15 21:36:25 +02:00
Julien Veyssier e15270cbb9 implement dashboard API for clients, new WidgetItem class, new IAPIWidget interface
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-06-15 21:34:00 +02:00
dependabot[bot] 0450e47f8d Merge pull request #27516 from nextcloud/dependabot/npm_and_yarn/postcss-7.0.36 2021-06-15 18:37:29 +00:00
kesselb ed5f9f803e Merge pull request #27512 from nextcloud/debt/noid/return-write-to-cache
Add return type for writeToCache
2021-06-15 20:19:30 +02:00
dependabot[bot] 1a258057a5 Bump postcss from 7.0.35 to 7.0.36
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 18:01:07 +00:00
Daniel Kesselberg 33801708d2 Add return type for writeToCache
writeToCache does not return a string.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-15 17:03:03 +02:00
dependabot[bot] 644ffebda8 Merge pull request #27486 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.14.5 2021-06-15 14:03:50 +00:00
dependabot[bot] d4cad6b1a8 Bump @babel/plugin-proposal-class-properties from 7.13.0 to 7.14.5
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.13.0 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-plugin-proposal-class-properties)

---
updated-dependencies:
- dependency-name: "@babel/plugin-proposal-class-properties"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-15 13:23:42 +00:00
Julius Härtl c77261d828 Merge pull request #27482 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.14.5
Bump @babel/preset-env from 7.14.4 to 7.14.5
2021-06-15 15:21:14 +02:00
kesselb fd59fff223 Merge pull request #27508 from nextcloud/fix/noid/caldav-trash-filter-deleted-calendar
Skip deleted calendar objects of deleted calendars
2021-06-15 14:21:17 +02:00
Vincent Petry cc4e6630db Merge pull request #27506 from nextcloud/bugfix/noid/fix-avatar-actions
Fix avatar actions
2021-06-15 13:49:47 +02:00
Richard Steinmetz 09ad1c4e2b Skip deleted calendar objects of deleted calendars
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-06-15 11:36:59 +02:00
Joas Schilling cd8386be04 Fix avatar actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-15 11:10:25 +02:00
Nextcloud bot eb4e4c462b [tx-robot] updated from transifex 2021-06-15 02:28:05 +00:00
Pytal 41b778ddd0 Merge pull request #27051 from nextcloud/feat/timestamp-tooltip
Add timestamp tooltip
2021-06-14 12:51:08 -07:00
Christopher Ng c2e4c2ae27 Add timestamp tooltip
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-14 17:07:15 +00:00
Pytal 22c53fb21a Merge pull request #27497 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.184.2
Bump aws/aws-sdk-php from 3.171.21 to 3.184.2
2021-06-14 09:03:19 -07:00
Robin Appelman 362cb2a11f inject SearchBuilder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:23:08 +02:00
Robin Appelman 66e10718c6 split of query building bits from searchhelper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:40 +02:00
Robin Appelman f938daa6e4 update tests and fix some edge cases around new search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:36 +02:00
Robin Appelman 27e50b24aa some cleanup and documentation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:32 +02:00
Robin Appelman 5d1d53c42e perform file search in a single query
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:29 +02:00
Robin Appelman 9774fb1573 use searchoperation for storage filter instead of db expression
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:25 +02:00
Robin Appelman e198dc1b20 rework search api to allow searching on multiple caches at once
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-14 16:11:22 +02:00
Christoph Wurst 2a5511930b Bump aws/aws-sdk-php from 3.171.21 to 3.184.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-14 11:46:32 +02:00
Christoph Wurst dfbac05f7b Merge pull request #26421 from mattian/enh/25771/occ-delete-calendar
OCC command to delete calendars
2021-06-14 10:03:44 +02:00
Nextcloud bot 1979c657f9 [tx-robot] updated from transifex 2021-06-14 02:26:30 +00:00
Mattia Narducci 4850dae1df occ: new command dav:delete-calendar
Add occ command 'dav:delete-calendar' to delete a user's calendar.

Signed-off-by: Mattia Narducci <mattianarducci1@gmail.com>
2021-06-13 23:08:15 +02:00
Nextcloud bot da1586d2d0 [tx-robot] updated from transifex 2021-06-13 02:26:07 +00:00
dependabot-preview[bot] 9f21afe9f1 Merge pull request #27483 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.14.1 2021-06-12 02:33:32 +00:00
Nextcloud bot 291bc01c19 [tx-robot] updated from transifex 2021-06-12 02:27:01 +00:00
dependabot-preview[bot] 670f452257 Bump @testing-library/jest-dom from 5.12.0 to 5.14.1
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.12.0 to 5.14.1.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.12.0...v5.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-12 01:21:17 +00:00
dependabot-preview[bot] 204b11867b Bump @babel/preset-env from 7.14.4 to 7.14.5
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.4 to 7.14.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.5/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-12 01:18:23 +00:00
kesselb 6f894c8748 Merge pull request #27469 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-11 10:53:08 +02:00
blizzz 85fde55314 Merge pull request #27470 from nextcloud/dependabot/composer/php-http/guzzle7-adapter-1.0.0
Bump php-http/guzzle7-adapter from 0.1.1 to 1.0.0
2021-06-11 10:39:40 +02:00
Christoph Wurst 120462fedf Bump php-http/guzzle7-adapter from 0.1.1 to 1.0.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-11 10:00:05 +02:00
Christoph Wurst a00b07a695 Merge pull request #27464 from nextcloud/dependabot/composer/guzzlehttp/guzzle-7.3.0
Bump guzzlehttp/guzzle from 7.2.0 to 7.3.0
2021-06-11 09:56:46 +02:00
Christoph Wurst 4c665799ae Bump guzzlehttp/guzzle from 7.2.0 to 7.3.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-11 08:24:23 +02:00
Nextcloud-PR-Bot ecbc8c4f51 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-11 04:11:19 +00:00
Nextcloud bot 64ac7331da [tx-robot] updated from transifex 2021-06-11 02:28:11 +00:00
Christoph Wurst 8f0286f2fb Merge pull request #27459 from nextcloud/dependabot/composer/christophwurst/id3parser-0.1.2
Bump christophwurst/id3parser from 0.1.1 to 0.1.2
2021-06-10 18:41:22 +02:00
John Molakvoæ b56e4eeb72 Merge pull request #27458 from nextcloud/version/noid/22.0.0beta4 2021-06-10 12:24:59 +02:00
Christoph Wurst 72a787368f Bump christophwurst/id3parser from 0.1.1 to 0.1.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-10 10:53:33 +02:00
Christoph Wurst 17550a8216 Merge pull request #27452 from nextcloud/dependabot/composer/opis/closure-3.6.2
Bump opis/closure from 3.6.1 to 3.6.2
2021-06-10 10:48:32 +02:00
Morris Jobke 5f88b86d95 22.0.0 Beta 4
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-10 10:29:00 +02:00
Morris Jobke 84c050c612 Merge pull request #27444 from nextcloud/header-colon
Header must contain a colon
2021-06-10 10:18:35 +02:00
Morris Jobke c0e1238676 Merge pull request #27451 from nextcloud/enh/log-exception
Move exception logging to separate field
2021-06-10 10:10:48 +02:00
Julius Härtl eb92c57db2 Merge pull request #27102 from nextcloud/feature/auto_trigger_click_on_load
Trigger the default action when openfile URL param is set
2021-06-10 09:07:21 +02:00
Christoph Wurst d715e168db Bump opis/closure from 3.6.1 to 3.6.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-10 08:50:59 +02:00
Christoph Wurst 2ce0fef065 Merge pull request #26701 from nextcloud/3rdparty/master/streams-0.7.4
[3rdparty] streams-0.7.4
2021-06-10 08:50:31 +02:00
Christoph Wurst 2d1d9393f7 Merge pull request #27426 from nextcloud/fix/dav-custom-props-no-scope
Allow certain custom DAV props to be readable by everyone
2021-06-10 08:00:32 +02:00
Robin Appelman 581cbdc20c [3rdparty] streams-0.7.4
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-10 07:58:32 +02:00
Julius Härtl e536b7bbcc Move exception logging to separate field
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-10 07:35:51 +02:00
Morris Jobke 6cf174f37d Merge pull request #27450 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-10 07:14:05 +02:00
Morris Jobke aa36fb731c Merge pull request #27449 from nextcloud/dependabot/submodules/3rdparty-e924cba
Bump 3rdparty from `8c6da7b` to `e924cba`
2021-06-10 07:13:35 +02:00
Nextcloud-PR-Bot 28cfcb8e03 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-10 04:16:40 +00:00
Nextcloud bot d3264df6f4 [tx-robot] updated from transifex 2021-06-10 02:32:12 +00:00
dependabot-preview[bot] 0cbcefcca6 Bump 3rdparty from 8c6da7b to e924cba
Bumps [3rdparty](https://github.com/nextcloud/3rdparty) from `8c6da7b` to `e924cba`.
- [Release notes](https://github.com/nextcloud/3rdparty/releases)
- [Commits](https://github.com/nextcloud/3rdparty/compare/8c6da7b864ba0e15bacb0fa6346f80f5b046ab8b...e924cbabc97fc5d83b9fc6c455f092e81077763d)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-10 01:14:30 +00:00
Pytal a416d508de Merge pull request #27089 from m7913d/feature/addGroupDisplayNames
[ProvisioningAPI] Allow specifying group display name during creation
2021-06-09 15:33:57 -07:00
blizzz bb2b946c51 Merge pull request #27430 from nextcloud/fix/feedback_response_check
Correctly check the reception of a remote feedback
2021-06-09 20:46:05 +02:00
acsfer ae77289511 Header must contain a colon 2021-06-09 16:20:55 +02:00
Louis Chemineau c03a14934b Trigger click event when scrollTo is set
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-09 16:19:11 +02:00
Louis Chemineau ebf35fb38a Correctly check the reception of a remote feedback
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-09 15:37:18 +02:00
Christoph Wurst 70483a16a3 Merge pull request #27439 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.12.24
Bump giggsey/libphonenumber-for-php from 8.12.20 to 8.12.24
2021-06-09 15:36:20 +02:00
Christoph Wurst 5183d42d11 Bump giggsey/libphonenumber-for-php from 8.12.20 to 8.12.24
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-09 14:26:38 +02:00
John Molakvoæ 97e427f09f Merge pull request #27436 from nextcloud/techdebt/noid/all-apps-to-get-photos-from-vobjects-too
Allow apps to get photos of VObjects
2021-06-09 14:24:49 +02:00
Christoph Wurst c613c8ceac Merge pull request #27410 from nextcloud/dependachristoph/composer/symfony-4.4.25
Bump Symfony from 4.4.19 to 4.4.25
2021-06-09 14:14:36 +02:00
John Molakvoæ b77a28df16 Merge pull request #27387 from nextcloud/dependabot/npm_and_yarn/sass-1.34.1
Bump sass from 1.34.0 to 1.34.1
2021-06-09 14:14:05 +02:00
Christoph Wurst bf564e2a5a Convert command option defaults to strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-09 13:25:31 +02:00
Christoph Wurst b2d21466ad Bump Symfony from 4.4.19 to 4.4.25
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-09 12:08:51 +02:00
Joas Schilling b1031f3985 Allow apps to get photos of VObjects
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-09 11:57:49 +02:00
Julius Härtl 964fd27666 Handle single action unshare
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-09 10:43:50 +02:00
Julius Härtl 9467a93866 Only allow removing existing shares that would not be allowed due to reshare restrictions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-09 10:36:43 +02:00
Julius Härtl 06bfbb4a8c When changing the share owner, downgrade permissions where needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-09 10:32:36 +02:00
Julius Härtl 4a2804dae2 Drop share if moved to a parent share that does not allow resharing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-09 10:32:36 +02:00
Christoph Wurst 932a385c56 Merge pull request #27429 from nextcloud/bug/26085/wrong-data-add-order-by
Don't pass a column object to addOrderBy
2021-06-09 09:12:03 +02:00
Nextcloud bot 1c97818e14 [tx-robot] updated from transifex 2021-06-09 02:26:15 +00:00
dependabot[bot] 5257688afb Merge pull request #27419 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.8.0 2021-06-08 22:55:38 +00:00
dependabot[bot] d4159fa99b Bump webpack-merge from 5.7.3 to 5.8.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.7.3 to 5.8.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.7.3...v5.8.0)

---
updated-dependencies:
- dependency-name: webpack-merge
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 22:21:53 +00:00
dependabot[bot] d8bc0665d6 Merge pull request #27282 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.14.4 2021-06-08 20:47:26 +00:00
dependabot[bot] 51c36fa7e9 Bump @babel/preset-env from 7.13.15 to 7.14.4
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.15 to 7.14.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.4/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 20:13:48 +00:00
kesselb 89c534858e Merge pull request #27414 from francoisfreitag/test-at-2
Rewrite LegacyHelperTest without $this->at()
2021-06-08 22:07:16 +02:00
Daniel Kesselberg 11cacf63f8 Fix #26085
addOrderBy expects a order expression. For the migration scenario we have column objects. Column objects are not supported by quoteColumnName yet.

A column object as order expression is most likely an edgy thing when migration database information.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-08 16:30:44 +02:00
Christoph Wurst 745543d8c0 Merge pull request #27306 from nextcloud/enh/noid/set-local-domain-for-swiftmailer
Set local domain for swiftmailer
2021-06-08 15:43:39 +02:00
blizzz 662ab937e0 Merge pull request #27189 from nextcloud/feat/26866/account-collection-properties
Extend Accounts with multivalue properties (PropertyCollection)
2021-06-08 14:25:18 +02:00
Christoph Wurst baf4ad1774 Allow certain custom DAV props to be readable by everyone
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-08 13:57:00 +02:00
kesselb b3cfa1859b Merge pull request #27420 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-08 10:05:20 +02:00
Nextcloud-PR-Bot db1509ab19 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-08 04:27:41 +00:00
Nextcloud bot f6485f98f0 [tx-robot] updated from transifex 2021-06-08 02:26:20 +00:00
dependabot[bot] ac42eed2f9 Merge pull request #27418 from nextcloud/dependabot/npm_and_yarn/build/glob-parent-5.1.2 2021-06-07 23:48:05 +00:00
dependabot[bot] 910d620edb Bump glob-parent from 5.1.1 to 5.1.2 in /build
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 23:09:12 +00:00
dependabot[bot] a4a8eeea89 Merge pull request #27417 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.7.2 2021-06-07 23:08:08 +00:00
dependabot[bot] af032dd33f Bump webpack-cli from 4.7.0 to 4.7.2
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.7.0 to 4.7.2.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.7.0...webpack-cli@4.7.2)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-07 21:43:54 +00:00
Arthur Schiwon ff2382e5a4 CI: more flexible assertions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-07 23:41:04 +02:00
Morris Jobke c2ff254f59 Merge pull request #27123 from nextcloud/feature/emit_sidebar_events
Emit Sidebar events on nextcloud-bus
2021-06-07 23:33:48 +02:00
Morris Jobke 2ae60b42ab Merge pull request #26494 from rigrig/fix-php8-deprecations
Fix some php 8 warnings
2021-06-07 23:30:59 +02:00
François Freitag 21762a1e94 Rewrite LegacyHelperTest without $this->at()
The at() matcher has been deprecated. It will be removed in PHPUnit 10.
Please refactor your test to not rely on the order in which methods are
invoked.

Signed-off-by: François Freitag <mail@franek.fr>
2021-06-07 21:43:30 +02:00
Louis Chemineau 8a66cdbdf3 Emit sidebar events
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-07 16:48:55 +02:00
blizzz ae4907b6c9 Merge pull request #26397 from nextcloud/external-storage-login-ldap-public
allow using any ldap property as login name when using external storage login credentials
2021-06-07 13:13:54 +02:00
blizzz 56b68ce4e0 Merge pull request #27375 from nextcloud/bugfix/noid/dont-update-offline-status
Don't update statuses to offline again and again
2021-06-07 12:12:33 +02:00
Morris Jobke 92d19bd79b Merge pull request #27374 from nextcloud/bugfix/noid/adjust-unit-tests
Bugfix/noid/adjust unit tests
2021-06-07 11:12:22 +02:00
Morris Jobke e238b93234 Code style fixes
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-06-07 10:31:14 +02:00
Joas Schilling 55c44580c2 Don't update statuses to offline again and again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-07 09:32:00 +02:00
Nextcloud bot d1d4725630 [tx-robot] updated from transifex 2021-06-07 02:25:07 +00:00
Daniel Rudolf c8870d0756 Add occ versions:cleanup --path option
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2021-06-07 00:32:27 +02:00
Nextcloud bot fdb2b07803 [tx-robot] updated from transifex 2021-06-06 02:26:01 +00:00
Dries Mys e16682aeda Effectively return a valid group as it would be the case in a real
situation. Returned group object is now used to set the displayname if
provided.

Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2021-06-05 22:22:39 +02:00
Dries Mys befd0452b2 Added tests for specifying custom display name during group creation.
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2021-06-05 22:22:39 +02:00
Dries Mys cb95b8de3f Group may be null if backend doesn't support creating groups
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2021-06-05 22:22:39 +02:00
Dries Mys 644cb4154b Fixed indentation
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2021-06-05 22:22:38 +02:00
Dries Mys 101153c11d [ProvisioningAPI] Allow specifying group display name during creation
Signed-off-by: Dries Mys <dries.mys@my-dreams.be>
2021-06-05 22:22:38 +02:00
dependabot-preview[bot] fcc7ea3f62 Bump sass from 1.34.0 to 1.34.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.34.0 to 1.34.1.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.34.0...1.34.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-05 10:39:15 +00:00
John Molakvoæ b211d02e9c Merge pull request #27008 from francoisfreitag/no-jq-app-calendar 2021-06-05 12:36:30 +02:00
François Freitag 70edda0342 Port dav calendar settings page to Vue.js
- Drop reliance on deprecated global jQuery object.
- Allow testing user interactions.
- Use newer technology stack.

---

Test user interactions with the groupware dav settings

Add infrastructure to test Vue components:

- Use recommended libraries:

    - https://vuejs.org/v2/guide/testing.html#Recommendations
    - Use jest-dom for robust assertions on the DOM state
    - Use user-event to be more representative of user actions

- Code is transpiled by Jest, with the help of vue-jest.

Ignore test files for no-unpublished-import. Prevent ESLint from
flagging:

```
/home/runner/work/server/server/apps/dav/src/views/CalDavSettings.spec.js
Error:   1:24  error  "@testing-library/vue" is not published         node/no-unpublished-import
Error:   2:23  error  "@testing-library/user-event" is not published  node/no-unpublished-import
```

Signed-off-by: François Freitag <mail@franek.fr>
2021-06-05 11:22:25 +02:00
Nextcloud bot 37a216467c [tx-robot] updated from transifex 2021-06-05 02:28:36 +00:00
dependabot-preview[bot] beefa797e3 Update symfony/event-dispatcher requirement in /build/integration
Updates the requirements on [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) to permit the latest version.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/5.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v4.4.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-06-05 01:15:46 +00:00
John Molakvoæ 0447b53bda Merge pull request #27381 from nextcloud/fix/licenses 2021-06-04 23:12:23 +02:00
John Molakvoæ (skjnldsv) 0d42085b53 Bump AUTHORS
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
John Molakvoæ (skjnldsv) 215aef3cbd Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-04 22:02:41 +02:00
Arthur Schiwon 35d5395089 psalm happiness
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

psalm happiness

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-04 19:57:00 +02:00
Joas Schilling e1e5026df2 Fix dispatcher handling in CalDavBackendTest
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04 10:57:41 +02:00
Joas Schilling 181aab416a Fix warnings about logException
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04 10:57:09 +02:00
Joas Schilling b4b2947248 Deduplicate translations and fix double .
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04 09:47:17 +02:00
Nextcloud bot 46dbc8fa98 [tx-robot] updated from transifex 2021-06-04 02:28:13 +00:00
Arthur Schiwon 8ec640d14a adjust property type declaration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 21:07:59 +02:00
Arthur Schiwon 2701c3e7dc fix code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:54:25 +02:00
Arthur Schiwon 44827e37c0 allow interacting with IAccountPropertyCollections
- in fact the API could be done in a nicer way and it might be possible to
  work without IAccountPropertyCollection, but only with the
  IAccountProperties.
- To keep it simple at first and not overengineer the blunt attempt is
  followed
- If necessary helpful in the further cause of development adjustements or
  extensions can be done quickly with this base


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 0bade27479 add IAccountPropertyCollection with implementation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon afea57352b update unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 839bff1641 deal with property collections when fetching users (with update)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:49 +02:00
Arthur Schiwon 956bfba2e2 refactor validators and sanitizers
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:48 +02:00
Arthur Schiwon fb79350d3e extend AccountManager API with collection const
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-03 20:49:42 +02:00
Robin Appelman 592d6d5ebc allow using any ldap property as login name when using external storage login credentials
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-06-03 18:55:25 +02:00
Christoph Wurst 188bc07869 Merge pull request #27348 from nextcloud/enhancement/calendar-trashbin-retention-prop
Export the CalDAV trash bin retention duration as property
2021-06-03 10:48:35 +02:00
Nextcloud bot 26f537fbec [tx-robot] updated from transifex 2021-06-03 02:28:43 +00:00
blizzz fdb55c65f8 Merge pull request #27342 from nextcloud/version/22.0.0-beta3
22.0.0 beta 3
2021-06-02 21:24:22 +02:00
blizzz 0bbb195af1 Merge pull request #27354 from nextcloud/escape-download-response
Escape filename in Content-Disposition
2021-06-02 21:15:25 +02:00
John Molakvoæ 949102c031 Merge pull request #27088 from nextcloud/fix/27074/removing-apps
Allow removing apps with app store disabled
2021-06-02 21:10:05 +02:00
blizzz aa40bdea0f Merge pull request #24295 from nextcloud/perf/noid/router
First attempt to check against core routes before loading all app routes
2021-06-02 21:03:29 +02:00
Lukas Reschke 377514aad1 Escape filename in Content-Disposition
We should escape all occurences of ' and \ in here.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-02 19:22:17 +02:00
Lukas Reschke 2637f92d96 Merge pull request #27352 from nextcloud/fix/l10n-test
Fix translation phpunit test
2021-06-02 19:16:54 +02:00
John Molakvoæ 9498f44d2e Merge pull request #27265 from nextcloud/fix/private-class-properties 2021-06-02 18:58:44 +02:00
Christoph Wurst f1444eac5d Export the CalDAV trash bin retention duration as property
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 18:10:07 +02:00
John Molakvoæ (skjnldsv) b228e8a361 Fix translation phpunit test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-06-02 18:00:45 +02:00
Julius Härtl 4b1576e978 First attempt to check against core routes before loading all app routes
Most of the time we will find a matching route in either the loaded ones
matched on the URL or in the core ones. Therfore we can attempt to try
those first and only load all app routes if no match was found by the
Symfony URLMatcher.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-02 17:57:04 +02:00
John Molakvoæ c1d359b7a2 Merge pull request #27063 from nextcloud/Valdnet-patch-4 2021-06-02 17:55:15 +02:00
Valdnet 9c6b01abeb l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-06-02 17:49:32 +02:00
Bernard Spil f78420702c Coalesce RewriteCond lines in .htaccess
And escape some '.' where not yet escaped
2021-06-02 17:32:33 +02:00
John Molakvoæ (skjnldsv) aef00ddeaf Replace proposal-class-private-properties by regular properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-06-02 15:10:01 +00:00
John Molakvoæ d0cf20cc51 Merge pull request #26792 from nextcloud/user-delete-cleanup-files
better cleanup of user files on user deletion
2021-06-02 17:02:00 +02:00
Christoph Wurst ac4ff6c9e3 Merge pull request #27343 from nextcloud/fix/deleted-objects-deletion-missing-acls
Add missing ACLs for deleted calendar objects to fix deletion
2021-06-02 16:56:11 +02:00
Christoph Wurst fc8daf58ee Add missing ACLs for deleted calendar objects to fix deletion
Due to a bug in Sabre it's necessary for calendar objects to implement
ACLs. Otherwise the scheduling plugin will throw an error when it tries
to fetch the owner of a calendar object that is being deleted.

Ref https://github.com/sabre-io/dav/issues/1345

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-06-02 15:41:51 +02:00
Joas Schilling 6578a93463 Merge pull request #27053 from nextcloud/bugfix/noid/dont-throw-when-comments-is-disabled
Don't throw when comments is disabled
2021-06-02 15:40:51 +02:00
Arthur Schiwon a493412cfe 22.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-02 10:16:52 +02:00
kesselb d9a9714675 Merge pull request #27340 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-02 10:09:52 +02:00
Nextcloud-PR-Bot 4b011e35fa Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-02 05:11:38 +00:00
Nextcloud bot 142d311a13 [tx-robot] updated from transifex 2021-06-02 02:28:31 +00:00
Lukas Reschke b65c3f2249 Merge pull request #27291 from nextcloud/Valdnet-patch-2
l10n: Correct spelling
2021-06-01 23:44:00 +02:00
Lukas Reschke 5438e00276 Merge pull request #27329 from nextcloud/propagate-throttle-state-for-baseresponse
Propagate throttling on OCS response
2021-06-01 21:40:41 +02:00
kesselb f4e49b5623 Merge pull request #27327 from nextcloud/fix-grammar-27024
[Fast Review] Fix grammar
2021-06-01 21:22:17 +02:00
Lukas Reschke 446c1c5ade Merge pull request #27312 from francoisfreitag/tests-at
Rewrite birthday calendar tests without $this->at()
2021-06-01 21:05:37 +02:00
Lukas Reschke 09503b0269 Merge pull request #27316 from nextcloud/bugfix/noid/getNumberOfUnreadCommentsForObjects
Fix populating the array and closing the cursors
2021-06-01 21:01:01 +02:00
Christoph Wurst 84584959b0 Merge pull request #27328 from nextcloud/fix/noid/UserLoggedInEvent-apache-auth
emit UserLoggedInEvent on apache auth
2021-06-01 17:38:41 +02:00
Christoph Wurst 6ea8f6f549 Merge pull request #27331 from nextcloud/debt/noid/add-mbstring-dependency
Add mbstring dependency
2021-06-01 17:37:15 +02:00
Daniel Kesselberg 2b60587a2f Add mbstring as dependency
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-06-01 15:43:08 +02:00
Lukas Reschke 09abcfadfa Propagate throttling on OCS response
The BaseResponse converter did not take over any throttling state from the DataResponse.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 14:15:23 +02:00
Arthur Schiwon 6ac4eafcf9 emit UserLoggedInEvent on apache auth
- post_login OC_Hook is barely used or listened to

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-06-01 13:59:40 +02:00
Lukas Reschke 1b4428644d Fix grammar
changed removed -> removed

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 13:31:10 +02:00
Valdnet 94f475686c Merge pull request #27317 from nextcloud/Valdnet-patch-3
l10n: Split sentences
2021-06-01 12:20:35 +02:00
Christoph Wurst b29c3aa03f Merge pull request #25658 from nextcloud/dav-respect-disallow-sharing-with-groups
Dav respect disallow sharing with groups
2021-06-01 12:07:29 +02:00
kesselb 68a02bbef8 Merge pull request #27320 from nextcloud/add-xdebug-env-variable
Add XDEBUG_MODE=coverage
2021-06-01 11:24:30 +02:00
Lukas Reschke a58057c45d Add XDEBUG_MODE=coverage
This should help the Codecov execution jobs.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-06-01 11:21:13 +02:00
Valdnet 50e080f37f l10n: Split sentences 2021-06-01 10:28:54 +02:00
kesselb 4dc8a4d8d9 Merge pull request #27311 from nextcloud/fix/caldav-deleted-objects-uri
Fix loading of delete caldav objet URIs
2021-06-01 10:10:22 +02:00
kesselb 943eefd66c Merge pull request #27314 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-06-01 10:06:18 +02:00
Joas Schilling c0c5340f4e Fix populating the array and closing the cursors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-01 09:15:34 +02:00
Nextcloud-PR-Bot 2ad2d1258b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-06-01 05:12:19 +00:00
Nextcloud bot f2101487a0 [tx-robot] updated from transifex 2021-06-01 02:28:20 +00:00
François Freitag 22d35141f8 Rewrite birthday calendar tests without $this->at()
Removes warnings:

```
The at() matcher has been deprecated. It will be removed in PHPUnit 10.
Please refactor your test to not rely on the order in which methods are
invoked.
```

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-31 23:13:15 +02:00
Christoph Wurst ff2a730aac Fix loading of delete caldav objet URIs
Regression of 462962197d

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 21:01:54 +02:00
Christoph Wurst 4fc002a3a5 Merge pull request #27310 from nextcloud/enhancement/caldav-trashbin-objects-calendar-id
Expose calendar-uri as property of deleted caldav events
2021-05-31 20:01:07 +02:00
Christoph Wurst 462962197d Expose calendar-uri as property of deleted caldav events
The trashbin is one report across all calendars of a user. In order to
refresh the data of a single calendar when one of its events is
restored, we need to know what calendar the event belongs to. There
doesn't seem to be a standard property for a URI, so this adds a custom
Nextcloud prop for the calendar-uri.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 18:57:40 +02:00
Christoph Wurst b908db7ac8 Merge pull request #27298 from nextcloud/fix/caldav-deleted-objects-expose-timestamp
Expose deletion timestamp for deleted CalDAV objects
2021-05-31 18:24:30 +02:00
Joas Schilling 7e8ddcd38f Merge pull request #26706 from nextcloud/Valdnet-patch-7
l10n: Spelling unification
2021-05-31 17:21:16 +02:00
Daniel Kesselberg 747325fc43 Set local domain for swiftmailer transport
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-05-31 15:04:00 +02:00
Joas Schilling 773e28d8e4 Merge pull request #27275 from nextcloud/bugfix/noid/circles-22-in-dav
Fixing invalid classes and methods for circles 22
2021-05-31 13:03:07 +02:00
Christoph Wurst fe31373a93 Expose deletion timestamp for deleted CalDAV objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 10:47:07 +02:00
John Molakvoæ fd63132f47 Merge pull request #27286 from francoisfreitag/rewrite-npm-test-with-jest
Rewrite requesttoken.spec.js with Jest
2021-05-31 10:27:58 +02:00
John Molakvoæ 30a595af2c Merge pull request #27295 from nextcloud/bug/27293/wrong-category-for-string
Set app to settings for translate
2021-05-31 08:58:20 +02:00
Christoph Wurst 9f70c6cdda Merge pull request #26083 from nextcloud/feature/dav-calendar-and-object-trashbin
Add a trashbin for calendars and calendar objects
2021-05-31 08:29:31 +02:00
Thomas Citharel 8a73b180e7 Get componenttype from the db as well when restoring a calendarobject
It's needed in ReminderService::onCalendarObjectCreate()

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-31 07:49:19 +02:00
Christoph Wurst d6d8e9215c Add a trashbin for calendars and calendar objects
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-31 07:49:19 +02:00
Nextcloud bot 9e596dd0cf [tx-robot] updated from transifex 2021-05-31 02:35:25 +00:00
Daniel Kesselberg 9873195c98 Set app to settings for translate
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-05-30 22:45:26 +02:00
Valdnet 99ebe7176b l10n: Correct spelling 2021-05-30 21:05:39 +02:00
François Freitag b0847abcc2 Rewrite requesttoken.spec.js with Jest
[Jest](https://jestjs.io/) is a test runner that focuses on simplicity.
It instruments babel to transform modules and test them.

Using Jest simplifies the existing configuration and allows dropping a
bunch of workarounds, as well as following the shared Babel
configuration for new code.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-30 10:44:34 +02:00
Nextcloud bot 719430559f [tx-robot] updated from transifex 2021-05-30 02:24:58 +00:00
John Molakvoæ 8b3fbe1f06 Merge pull request #27274 from nextcloud/dependabot/npm_and_yarn/master/various 2021-05-29 15:13:10 +02:00
John Molakvoæ (skjnldsv) 53dd7c0c20 Npm build
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-29 14:57:25 +02:00
dependabot[bot] b52a4feb03 Bump v-tooltip from 2.0.3 to 2.1.3
Bumps [v-tooltip](https://github.com/Akryum/vue-tooltip) from 2.0.3 to 2.1.3.
- [Release notes](https://github.com/Akryum/vue-tooltip/releases)
- [Commits](https://github.com/Akryum/vue-tooltip/compare/v2.0.3...v2.1.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 14:48:03 +02:00
dependabot[bot] 2c082aa971 Bump marked from 2.0.1 to 2.0.6
Bumps [marked](https://github.com/markedjs/marked) from 2.0.1 to 2.0.6.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.1...v2.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 14:48:03 +02:00
dependabot[bot] a6d43e3fd9 Bump dompurify from 2.2.7 to 2.2.8
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.7 to 2.2.8.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.7...2.2.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 14:48:03 +02:00
dependabot-preview[bot] 6653543596 Bump jsdom from 16.5.2 to 16.6.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.5.2 to 16.6.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.5.2...16.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 14:48:02 +02:00
dependabot-preview[bot] b1eb1b6311 Bump core-js from 3.10.1 to 3.13.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.10.1 to 3.13.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.13.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 14:47:50 +02:00
Richard de Boer 7990f95558 Check whether output buffering is active before turning it off
Before we just turned it off and @suppressed the error if ob was not active.
In PHP 8 this error is no longer suppressed, so try to not cause it at all.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-05-29 14:14:52 +02:00
Richard de Boer a0d265b0b1 Fix a usort comparison function returning a boolean instead of an integer
PHP 8 shows deprecation warnings about this, see #25806

Signed-off-by: Richard de Boer <git@tubul.net>
2021-05-29 14:14:52 +02:00
Richard de Boer f23d057ad9 Fix functions taking optional parameters before required ones
PHP 8 shows deprecation warnings about this, see #25806
Removes the "default" values, as they actually are required parameters anyway.

Signed-off-by: Richard de Boer <git@tubul.net>
2021-05-29 14:14:52 +02:00
Maxence Lange 11ad88e987 migration to Circles 22
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-05-29 10:04:26 -01:00
John Molakvoæ 697b22a594 Merge pull request #27090 from nextcloud/dependabot/npm_and_yarn/browserslist-4.16.6 2021-05-29 11:58:44 +02:00
dependabot[bot] ed3415a191 Merge pull request #27180 from nextcloud/dependabot/npm_and_yarn/mochapack-2.1.2 2021-05-29 09:15:13 +00:00
John Molakvoæ f37e2ecb0e Merge pull request #27172 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-import-2.23.3 2021-05-29 10:42:04 +02:00
Lukas Reschke 36fd5d83f4 Merge pull request #27244 from nextcloud/migrate-more-services-to-ghcr
Migrate more services to GHCR
2021-05-29 10:01:57 +02:00
John Molakvoæ 47217ba365 Merge pull request #27175 from nextcloud/dependabot/npm_and_yarn/webdav-4.6.0
Bump webdav from 3.6.2 to 4.6.0
2021-05-29 09:23:24 +02:00
dependabot[bot] 092b010314 Bump mochapack from 2.0.6 to 2.1.2
Bumps [mochapack](https://github.com/sysgears/mochapack) from 2.0.6 to 2.1.2.
- [Release notes](https://github.com/sysgears/mochapack/releases)
- [Commits](https://github.com/sysgears/mochapack/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 07:15:23 +00:00
John Molakvoæ 433cf1a08a Merge pull request #27263 from nextcloud/dependabot/npm_and_yarn/sinon-11.1.1
Bump sinon from 9.2.4 to 11.1.1
2021-05-29 09:13:36 +02:00
John Molakvoæ 8c8777a841 Fix name 2021-05-29 09:12:37 +02:00
John Molakvoæ 63b9932e1c Merge pull request #27267 from nextcloud/feat/fixup-action
Add fixup.yml
2021-05-29 09:11:42 +02:00
John Molakvoæ 38a19c263b Add fixup.yml 2021-05-29 09:09:03 +02:00
dependabot[bot] 11a35db944 Bump browserslist from 4.16.3 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.3 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.16.3...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 07:06:28 +00:00
John Molakvoæ 6b43d21d31 Merge pull request #27260 from nextcloud/dependabot/npm_and_yarn/webpack-node-externals-3.0.0
Bump webpack-node-externals from 2.5.2 to 3.0.0
2021-05-29 09:05:10 +02:00
John Molakvoæ 42bba33539 Merge pull request #27193 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.7.0 2021-05-29 09:03:46 +02:00
dependabot[bot] da0704d056 Bump webdav from 3.6.2 to 4.6.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 3.6.2 to 4.6.0.
- [Release notes](https://github.com/perry-mitchell/webdav-client/releases)
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v3.6.2...v4.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 08:58:26 +02:00
dependabot[bot] 2fb79a28f1 Bump sinon from 9.2.4 to 11.1.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.2.4 to 11.1.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.2.4...v11.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 05:18:59 +00:00
dependabot[bot] 2d38e24b28 Bump webpack-cli from 4.6.0 to 4.7.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.6.0...webpack-cli@4.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 05:15:29 +00:00
dependabot[bot] e6f1ccab0c Merge pull request #27238 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.7 2021-05-29 05:13:31 +00:00
dependabot-preview[bot] 039e8c90b4 Merge pull request #27253 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.3 2021-05-29 02:51:17 +00:00
dependabot[bot] 7915d04c5b Bump vue-loader from 15.9.6 to 15.9.7
Bumps [vue-loader](https://github.com/vuejs/vue-loader) from 15.9.6 to 15.9.7.
- [Release notes](https://github.com/vuejs/vue-loader/releases)
- [Changelog](https://github.com/vuejs/vue-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-loader/compare/v15.9.6...v15.9.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 02:46:54 +00:00
dependabot-preview[bot] e1c35e8357 Merge pull request #27251 from nextcloud/dependabot/npm_and_yarn/sinon-chai-3.7.0 2021-05-29 02:44:47 +00:00
dependabot-preview[bot] b0145f65d1 Merge pull request #27246 from nextcloud/dependabot/npm_and_yarn/build/ws-7.4.6 2021-05-29 02:34:04 +00:00
dependabot-preview[bot] 04046a8693 Bump webpack-node-externals from 2.5.2 to 3.0.0
Bumps [webpack-node-externals](https://github.com/liady/webpack-node-externals) from 2.5.2 to 3.0.0.
- [Release notes](https://github.com/liady/webpack-node-externals/releases)
- [Changelog](https://github.com/liady/webpack-node-externals/blob/master/CHANGELOG.md)
- [Commits](https://github.com/liady/webpack-node-externals/compare/v2.5.2...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 01:30:54 +00:00
dependabot-preview[bot] b9ec4fe3da Bump @babel/core from 7.14.2 to 7.14.3
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.2 to 7.14.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.3/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 01:21:23 +00:00
dependabot-preview[bot] 6baaeb92f9 Bump sinon-chai from 3.6.0 to 3.7.0
Bumps [sinon-chai](https://github.com/domenic/sinon-chai) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/domenic/sinon-chai/releases)
- [Changelog](https://github.com/domenic/sinon-chai/blob/master/CHANGELOG.md)
- [Commits](https://github.com/domenic/sinon-chai/compare/3.6.0...3.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 01:18:44 +00:00
dependabot-preview[bot] a77e0f5bcc [Security] Bump ws from 7.4.1 to 7.4.6 in /build
Bumps [ws](https://github.com/websockets/ws) from 7.4.1 to 7.4.6. **This update includes security fixes.**
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.4.1...7.4.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-29 01:14:33 +00:00
Lukas Reschke b4d6d8a70d Use MariaDB from GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 01:01:19 +02:00
Lukas Reschke 93da0cfd38 Move PGSQL to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 00:51:30 +02:00
Lukas Reschke be651cee11 Migrate more services to GHCR
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 00:43:48 +02:00
Lukas Reschke 948bbe8b2f Merge pull request #27243 from nextcloud/fix-tests-on-master
Fix test on master
2021-05-29 00:36:19 +02:00
Lukas Reschke b0bdd2dfbc Fix test on master
Regression by https://github.com/nextcloud/server/pull/26410

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-29 00:02:56 +02:00
Lukas Reschke 621a4bc730 Merge pull request #27214 from nextcloud/use-ghcr-acceptance
Use GHCR PHP 7.3 Acceptance Container
2021-05-28 23:58:18 +02:00
Lukas Reschke 3e6e6eeb5b Bump Container Versions
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 23:43:43 +02:00
Lukas Reschke ee2a0f2c1b Use GHCR PHP 7.3 Acceptance Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 23:40:45 +02:00
dependabot[bot] 7ed599af57 Bump eslint-plugin-import from 2.22.1 to 2.23.3
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.22.1 to 2.23.3.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.22.1...v2.23.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-28 16:33:24 +00:00
John Molakvoæ 162229dbff Fix psalm action 2021-05-28 18:17:58 +02:00
John Molakvoæ fb583d5665 Fix psalm action 2021-05-28 18:17:42 +02:00
John Molakvoæ 5495d280a3 Merge pull request #27197 from nextcloud/Valdnet-patch-1 2021-05-28 17:57:36 +02:00
John Molakvoæ 91788cc90e Merge pull request #27211 from nextcloud/use-ghcr-php7.3 2021-05-28 17:16:01 +02:00
John Molakvoæ 17d0dac906 Merge pull request #27061 from nextcloud/feature/noid/contacts-activity 2021-05-28 17:15:30 +02:00
John Molakvoæ bce941ef77 Merge pull request #27212 from nextcloud/use-gchr-for-services
Use GHCR for services
2021-05-28 17:14:40 +02:00
John Molakvoæ a0f8a5395b Merge pull request #27213 from nextcloud/use-alpine-git
Use GHCR for Git Pull image
2021-05-28 17:14:26 +02:00
John Molakvoæ 5461f082a0 Merge pull request #27215 from nextcloud/use-ghcr-selenium
Use GHCR Selenium Container
2021-05-28 17:14:12 +02:00
John Molakvoæ 907d98d16a Merge pull request #27202 from nextcloud/feat/dependabot-reviewers-schedule
Add dependabot reviewer team
2021-05-28 17:13:56 +02:00
Lukas Reschke e904f83816 Use GHCR Selenium Container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 14:13:01 +02:00
Lukas Reschke 88899dabbe Use GHCR for Git Pull image
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 14:06:47 +02:00
Lukas Reschke 11bd715ecd Use GHCR for services
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 13:58:52 +02:00
Lukas Reschke 87dcde78d0 Use GHCR PHP 7.3 container
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-28 13:46:54 +02:00
Morris Jobke 77d6611fa0 Merge pull request #27199 from nextcloud/fix/26683/use-noreply-as-share-email
Use noreply@ as email address for share emails
2021-05-28 13:40:12 +02:00
John Molakvoæ f2e731e017 Add dependabot reviewer team and remove saturday for stable branches
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-28 12:36:26 +02:00
John Molakvoæ 018e18bf8a Fix dependabot config 2021-05-28 12:25:03 +02:00
Morris Jobke fb7899135e Merge pull request #27187 from Simounet/fix/comments-query-oracle-limit-compliance
Fix Oracle query limit compliance in Comments
2021-05-28 11:19:36 +02:00
Morris Jobke dc9bdd4f39 Use noreply@ as email address for share emails
Fixes #26683

Before it used the instance name, which a) doesn't make sense to randomly guess email addresses and b) could contain characters that are not allowed in email addresses like spaces.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-28 11:13:24 +02:00
Morris Jobke 0769b17437 Merge pull request #27125 from nextcloud/use-github-registry
Use GitHub container registry
2021-05-28 11:09:33 +02:00
Valdnet ee48cd9f31 l10n: Remove space from translation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-28 09:20:20 +02:00
John Molakvoæ 11900c741e Merge pull request #27185 from nextcloud/dependabot/npm_and_yarn/master/node-sass-replace
Replace node-sass with sass & bump css-loader
2021-05-28 08:51:50 +02:00
Simounet a50eba16ad Fix Oracle query limit compliance in Comments
Signed-off-by: Simounet <contact@simounet.net>
2021-05-28 08:48:01 +02:00
Nextcloud bot 7668d3afcd [tx-robot] updated from transifex 2021-05-28 02:27:21 +00:00
Joas Schilling b1610e7247 Merge pull request #27188 from nextcloud/bugfix/noid/fix-get-editable-fields-api-endpoint
Fix the get editable fields endpoint without a user id
2021-05-28 00:59:41 +02:00
Lukas Reschke ac8f614d1b Use GitHub container registry
To avoid Docker ratelimit issues.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-27 23:10:03 +02:00
Morris Jobke e3129056c8 Merge pull request #26410 from nextcloud/fix/noid/phpdoc
Add proper PHPDoc tags to files ApiController
2021-05-27 21:00:05 +02:00
dependabot[bot] 83ebcf2a7a Bump css-loader from 5.2.0 to 5.2.6
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.0 to 5.2.6.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.0...v5.2.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 19:15:25 +02:00
John Molakvoæ (skjnldsv) fb33652982 Replace node-sass with sass
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-27 19:14:32 +02:00
John Molakvoæ 2607b572ac Merge pull request #27168 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-2.0.1 2021-05-27 19:06:01 +02:00
Julius Härtl a9d042deb1 Hide duplicate status in menu and bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-27 17:57:17 +02:00
blizzz 6f063c2ee9 Merge pull request #25770 from nextcloud/fix/25742/cli-cache-backend-recursion
Don't allow executing cli if cache backend is unavailable
2021-05-27 17:56:11 +02:00
Joas Schilling 3b6b4c8509 Add integration tests for the editable fields
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-27 14:56:22 +02:00
Joas Schilling 94584ee788 Fix the get editable fields endpoint without a user id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-27 14:23:04 +02:00
dependabot[bot] c874d89e14 Bump @nextcloud/vue-dashboard from 1.1.0 to 2.0.1
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 1.1.0 to 2.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue-dashboard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v1.1.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 08:16:40 +00:00
John Molakvoæ 54f8d48c62 Merge pull request #27118 from nextcloud/dependabot/config
Add dependabot config with proper ignore for stable branches
2021-05-27 10:14:02 +02:00
John Molakvoæ 1430d8566f Merge pull request #27130 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.10.0 2021-05-27 09:50:09 +02:00
dependabot-preview[bot] b563b98fd5 Bump @nextcloud/vue from 3.7.2 to 3.10.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.7.2 to 3.10.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/v3.10.0/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.7.2...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-27 08:16:08 +02:00
Nextcloud bot 6b0859f28e [tx-robot] updated from transifex 2021-05-27 02:27:52 +00:00
Morris Jobke 21a5cb3c7c Merge pull request #27126 from nextcloud/fix/noid/circles-shipped
Add circles as shipped app
2021-05-26 21:24:58 +02:00
Morris Jobke be89d72af1 Add circles as shipped app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-26 21:24:30 +02:00
Morris Jobke 2cba82ac22 Merge pull request #27111 from nextcloud/version/22.0.0-beta2
22.0.0 beta 2
2021-05-26 21:09:31 +02:00
Morris Jobke bc7538b088 Update CA bundle
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-26 21:07:24 +02:00
kesselb 1d3a521c12 Merge pull request #27113 from nextcloud/techdebt/noid/remove-migration-commands-unless-in-debug-mode
Remove the migration commands unless in debug mode
2021-05-26 20:41:56 +02:00
kesselb 222ac93774 Merge pull request #27117 from nextcloud/fix/add-exception-doc-to-qbmapper
Add DB exception '@throws' tag to QBMapper PHPDoc
2021-05-26 17:11:49 +02:00
John Molakvoæ (skjnldsv) c3f9f09fb0 Add dependabot config with proper ignore for stable branches
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-26 15:51:11 +02:00
John Molakvoæ 8b0ce8c8a1 Merge pull request #27099 from nextcloud/bugfix/noid/make-user-report-scale 2021-05-26 15:18:41 +02:00
Anna Larch 8fcb3f33c8 Add DB exception throws tag to QBMapper PHPDoc
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-05-26 15:12:41 +02:00
Joas Schilling f9b407d0c9 Make user:report command scale
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-26 11:33:09 +02:00
Thomas Citharel 1c0d975654 Make dav respect disallowing sharing with groups
Closes #25390

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2021-05-26 11:19:59 +02:00
Joas Schilling e4b5645883 Also make other shares listen to the "Allow sharing with groups"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-26 11:19:58 +02:00
Richard Steinmetz 0f949eaeb1 Don't allow executing cli if cache backend is unavailable
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-05-26 11:02:26 +02:00
Joas Schilling dfedd83f79 Remove the migration commands unless in debug mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-26 10:54:14 +02:00
Morris Jobke 5a04659c9f 22.0.0 beta 2
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-26 09:29:05 +02:00
John Molakvoæ 903b99bd93 Merge pull request #26466 from nextcloud/fix/ocs-api-v2 2021-05-26 08:59:43 +02:00
John Molakvoæ (skjnldsv) f1f8fa1e99 Move remnants of ocs api requests to v2 endpoint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-05-26 08:25:00 +02:00
Nextcloud bot accfe5b82d [tx-robot] updated from transifex 2021-05-26 02:28:28 +00:00
Morris Jobke 6ed728d76c Merge pull request #27043 from nextcloud/storage-info-include-external
fix return value of getStorageInfo when 'quota_include_external_storage' is enabled
2021-05-25 21:57:23 +02:00
blizzz 1b47886abb Merge pull request #27035 from nextcloud/techdebt/26866/userscontroller-accountmanager-api
do not use private AccountManager in UsersController
2021-05-25 21:22:37 +02:00
Morris Jobke 3d1c78647e Merge pull request #23065 from TomG736/FixEmptyDisplayName
Fix null displayname crash as described in #21885
2021-05-25 21:13:00 +02:00
kesselb 1b21b173e6 Merge pull request #27104 from nextcloud/properly-name-execute
[Quick Review] executeUpdate is also deprecated
2021-05-25 20:44:51 +02:00
kesselb 7b83daa6a6 Merge pull request #27103 from nextcloud/remove-unused-and-deprecated-consts
[Fast Review] Remove unused constants
2021-05-25 20:31:30 +02:00
Lukas Reschke 4e7b82169c executeUpdate is also deprecated
Ref https://github.com/nextcloud/server/blob/1089ad5d9e74a0cfd3b48ed1514f23be40fe6d45/lib/private/DB/QueryBuilder/QueryBuilder.php#L312-L323

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-25 20:25:44 +02:00
Lukas Reschke a521ed874c Remove unused constants
No calls in all of GitHub as per https://sourcegraph.com/search?q=USER_AGENT_OWNCLOUD_&patternType=literal

Deprecation has also been years ago.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-05-25 19:01:48 +02:00
dependabot-preview[bot] 677dcad257 Merge pull request #26338 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-2.1.0 2021-05-25 16:20:03 +00:00
dependabot-preview[bot] 712a10f018 Bump @nextcloud/browserslist-config from 1.0.0 to 2.1.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 1.0.0 to 2.1.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v1.0.0...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-25 17:48:30 +02:00
Morris Jobke 726d01843e Merge pull request #26600 from hosting-de/feature/occ-tags
Add commands to manage tags via OCC
2021-05-25 16:54:06 +02:00
Vincent Petry 0815be1ca8 Merge pull request #27062 from nextcloud/search-limit-offset-jail
properly use limit and offset for search in Jail wrapper
2021-05-25 15:47:09 +02:00
Arthur Schiwon 847ed37afc do not use private AccountManager in UsersController
- extends IAccountProperty for verificationData getters and setters
- implementation thereof ^
- and of course adaption of UsersController

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-25 14:35:38 +02:00
Maxence Lange 65649468f3 force 'name' key in array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-05-25 09:33:20 -01:00
Johannes Leuker d606799ee2 Add commands to manage tags via OCC
list, add, delete, edit

Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-05-25 11:29:32 +02:00
Morris Jobke 333665b43d Merge pull request #27040 from nextcloud/FlorentCoppint-master
Avoid reading ~/.aws/config when using S3 provider
2021-05-25 10:19:22 +02:00
Joas Schilling 2a2ca4dba5 Remove since from implementations and fix some more style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-25 09:28:18 +02:00
Nextcloud bot 3fa2437223 [tx-robot] updated from transifex 2021-05-25 02:27:20 +00:00
Gary Kim 92555b6014 Allow removing apps with app store disabled
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-05-24 10:35:51 -04:00
Nextcloud bot ba6f5a4a2a [tx-robot] updated from transifex 2021-05-24 02:26:31 +00:00
Nextcloud bot 8d80ee547b [tx-robot] updated from transifex 2021-05-23 02:25:47 +00:00
dependabot-preview[bot] 259e75568c Merge pull request #27072 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.7 2021-05-22 02:32:48 +00:00
Nextcloud bot 41f0cf4fca [tx-robot] updated from transifex 2021-05-22 02:27:14 +00:00
dependabot-preview[bot] a10fce002f Bump jsdoc from 3.6.6 to 3.6.7 in /build
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.6 to 3.6.7.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.7/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.6...3.6.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-22 01:15:44 +00:00
kesselb 9a80052eeb Merge pull request #27052 from nextcloud/bugfix/noid/fix-log-entry-readability
Fix log entry readability
2021-05-21 20:45:55 +02:00
Roeland Jago Douma bcf01a1b90 Fix more psalm warnings
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-21 16:58:15 +02:00
Morris Jobke eb1d16d92d Add proper PHPDoc tags to files ApiController
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-21 16:58:15 +02:00
Morris Jobke 3b230f9928 Merge pull request #26953 from nextcloud/version/22/beta1
22 beta1
2021-05-21 16:16:31 +02:00
Robin Appelman 7ee528fc5a properly use limit and offset for search in Jail wrapper
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-21 15:37:38 +02:00
Morris Jobke f1dbabd910 Merge pull request #26727 from nextcloud/group-exclude-link-share
Add option to exclude groups from creating link shares
2021-05-21 15:35:39 +02:00
Joas Schilling 9626138873 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 15:34:37 +02:00
Joas Schilling 6fff0b81fe Add activities for creating, updating and deleting contacts
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 15:08:35 +02:00
Joas Schilling 2496f83463 Add activities for addressbook management
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 15:08:35 +02:00
Joas Schilling 82629f0f55 Add a setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 15:08:35 +02:00
Joas Schilling 5fb9256acc Add a contacts filter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 15:08:21 +02:00
Morris Jobke b1ad3faf14 Merge pull request #25679 from nextcloud/drop/ocp-user
Drop \OCP\User
2021-05-21 15:05:38 +02:00
Morris Jobke 9b83995921 Update CA file
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-21 15:02:04 +02:00
Christoph Wurst 8196420063 Drop \OCP\User
Inlines and remaining usages and drops the deprecated public API.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-21 15:00:34 +02:00
Joas Schilling 5ae5729664 Don't throw when comments is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 12:04:23 +02:00
Valdnet 77ca79f697 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet 47037905+Valdnet@users.noreply.github.com
2021-05-21 11:50:12 +02:00
blizzz 4aae71cd77 Merge pull request #27032 from nextcloud/bugfix/noid/log-rotation-error
Fix filesize error on log rotation, if file does not exist
2021-05-21 11:40:40 +02:00
Julius Härtl b900d64fd4 Merge pull request #26832 from nextcloud/object-close-stream-non-count
explicitly close source stream on object store upload even if count…
2021-05-21 11:30:43 +02:00
Morris Jobke b2c2f32968 Merge pull request #27039 from nextcloud/fix/2973/rename-external-storages
Rename External storages to External storage
2021-05-21 11:09:52 +02:00
Joas Schilling f602c9328e Fix log entry readability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-21 09:07:45 +02:00
Nextcloud bot a6cb2973a9 [tx-robot] updated from transifex 2021-05-21 02:27:50 +00:00
Robin Appelman 7e22487278 fix return value of getStorageInfo when 'quota_include_external_storage' is enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-20 13:55:49 +02:00
Florent d4444f2472 Avoid reading ~/.aws/config when using S3 provider
When using S3 storage, we sometimes have open_basedir errors due to aws-sdk-php trying to read ~/.aws/config which is out of open_basedir restrictions.
Christoph Wurst already added csm=false config in #21406 but it wasn't enough, we also need to set use_arn_region=false, added in this commit.

Signed-off-by: Florent <florent@coppint.com>
2021-05-20 12:21:15 +02:00
szaimen 35d978c2fc Rename External storages to External storage
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-05-20 12:13:04 +02:00
Roeland Jago Douma 279799c6ec 22 beta1
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-20 12:05:46 +02:00
Valdnet 7ffee26aa8 Merge pull request #26511 from nextcloud/Valdnet-patch-4
l10n: Unify spelling
2021-05-20 11:27:24 +02:00
Morris Jobke dc981623aa Fix test
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-20 09:44:56 +02:00
Valdnet e7c7f9da40 l10n: Unify spelling in "Readme"
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-20 07:33:20 +00:00
Valdnet 602448a05b l10n: Unify spelling in test 2021-05-20 09:26:38 +02:00
Valdnet 0e39cef0d9 l10n: Unify spelling in test 2021-05-20 09:26:38 +02:00
Valdnet 1627eb45bb l10n: Fix test 2021-05-20 09:26:38 +02:00
Valdnet e7648c2fdd l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:26:38 +02:00
Valdnet 11dc65869d l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:26:37 +02:00
Valdnet 998bcad80c l10n: Unify spelling
Spelling unification in Nextcloud applications.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-20 09:22:58 +02:00
Valdnet 9749968308 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:08 +02:00
Valdnet 2137480a06 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet 1abb48375a l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet 7bc22370b4 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet b9d00a96b3 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet f9b7625790 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet d27aecebc0 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet ddfb081463 l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet 54fd3a480c l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:06 +02:00
Nextcloud bot 5432c958be [tx-robot] updated from transifex 2021-05-20 02:27:58 +00:00
Morris Jobke fa28782084 Merge pull request #26936 from nextcloud/external-storage-delete-clean
better cleanup of filecache when deleting an external storage
2021-05-19 20:40:15 +02:00
Robin Appelman ed2396b045 better cleanup of filecache when deleting an external storage
this way it can delete the cache entries even with per-user credentials

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-19 17:08:20 +02:00
dartcafe 40929cba79 typo
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-19 15:46:01 +02:00
dartcafe 7c77e74314 fix #25813
Signed-off-by: dartcafe <github@dartcafe.de>
2021-05-19 13:55:29 +02:00
Lukas Reschke fd284f428d Merge pull request #27024 from nextcloud/enh/audit_log/expiration_date_removal
Properly log expiration date removal in audit log
2021-05-19 13:04:34 +02:00
Morris Jobke 7a0cd9da7c Merge pull request #27025 from nextcloud/fix/26834/refine-version-comparision
Refine version comparision for repair job for major version updates
2021-05-19 12:23:00 +02:00
Morris Jobke a577768aa6 Refine version comparision for repair job for major version updates
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-05-19 10:12:57 +02:00
Roeland Jago Douma c728b1f070 Properly log expiration date removal in audit log
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-19 10:09:48 +02:00
Joas Schilling b89f4b33f0 Merge pull request #26834 from nextcloud/enh/only_run_once
Inject the repair job only once
2021-05-19 09:51:40 +02:00
Joas Schilling 4a02726f37 Merge pull request #26852 from nextcloud/fix-noauth-cors
fix error when using CORS with no auth credentials
2021-05-19 09:51:28 +02:00
Roeland Jago Douma aa785d266d Merge pull request #26963 from nextcloud/bugfix/noid/empty-template-error
Fix log error when creating files from an empty template
2021-05-19 08:46:18 +02:00
Roeland Jago Douma c1f244f608 Merge pull request #27019 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-05-19 08:40:17 +02:00
Nextcloud-PR-Bot 42d3dcb147 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-05-19 04:12:09 +00:00
Nextcloud bot c7238e79be [tx-robot] updated from transifex 2021-05-19 02:31:32 +00:00
Christoph Wurst ab7a117b8b Merge pull request #26990 from francoisfreitag/rm-unused
Remove unused apps/dav/js/schedule-response.js
2021-05-18 15:19:45 +02:00
Morris Jobke f4d543b2de Merge pull request #27007 from francoisfreitag/script
Prefer string $file over 1-element array in script()
2021-05-18 10:27:56 +02:00
Julius Härtl b8d0249b0e Fix log error when creating files from an empty template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-18 10:24:14 +02:00
dependabot-preview[bot] 321f01e2c5 Merge pull request #26987 from nextcloud/dependabot/npm_and_yarn/build/node-sass-6.0.0 2021-05-18 08:21:20 +00:00
Roeland Jago Douma 9e1c367e86 Merge pull request #26980 from nextcloud/bugfix/noid/partfile-move-storage
Use parent wrapper to properly handle moves on the same source/target storage
2021-05-18 10:20:20 +02:00
Julius Härtl 35b910cf8e Merge pull request #26322 from nextcloud/recent-search
Use file search for recent files and optimize getting share types
2021-05-18 09:44:08 +02:00
Morris Jobke 6f31d20f3d Merge pull request #26580 from castillo92/patch-2
Fix casing of exception string
2021-05-18 09:29:45 +02:00
Roeland Jago Douma e008b7915e Merge pull request #27000 from nextcloud/enh/apptoken/check_apptoken
Harden apptoken check
2021-05-18 09:28:48 +02:00
François Freitag d887851183 Prefer string $file over 1-element array in script()
The string syntax is more obvious. There should be one (and preferably
only one) way of doing things.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-18 09:24:05 +02:00
Roeland Jago Douma 83330b8c4c Merge pull request #26896 from nextcloud/Valdnet-patch-8
l10n: Replace the apostrophe with double quotation
2021-05-18 08:44:09 +02:00
Roeland Jago Douma ee3dc57cbd Merge pull request #26626 from J0WI/strict-security
Make Security module strict
2021-05-18 08:43:13 +02:00
korelstar b38e8678e4 fix error when using CORS with no auth credentials 2021-05-18 07:11:10 +02:00
Roeland Jago Douma 4a2775a442 Harden apptoken check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-17 16:05:45 +02:00
Roeland Jago Douma 44a638f961 Merge pull request #26998 from nextcloud/dependabot/npm_and_yarn/babel/core-7.14.2
Bump @babel/core from 7.13.16 to 7.14.2
2021-05-17 15:26:51 +02:00
Lukas Reschke c4fddd9b5c Merge pull request #26946 from nextcloud/enh/fed_share/respect_default_permissions
Respect default share permissions for federated reshares
2021-05-17 12:01:59 +02:00
dependabot-preview[bot] 93aff09bda Bump @babel/core from 7.13.16 to 7.14.2
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.16 to 7.14.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.14.2/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-05-17 09:51:33 +02:00
Roeland Jago Douma 3854e7f8f0 Respect default share permissions for federated reshares
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-17 09:48:31 +02:00
Morris Jobke 77a4368418 Merge pull request #26846 from nextcloud/followup/26572/reply-with-json-when-not-accepting-html
Reply with json when not accepting html on LoginException
2021-05-17 09:36:18 +02:00
Nextcloud bot 06377b7df1 [tx-robot] updated from transifex 2021-05-17 02:26:35 +00:00
Nextcloud bot 5ea903d824 [tx-robot] updated from transifex 2021-05-16 02:26:44 +00:00
Daniel Fuchs 0cdcda4210 fixed path to the img directory, from the accessability app. hack-y fix for #26578
Signed-off-by: Daniel Fuchs <fuchsi3010@gmail.com>
2021-05-15 11:10:50 +02:00
François Freitag 3f8fe4f35e Remove unused apps/dav/js/schedule-response.js
File is not included in the schedule-response-options template and is
commented out. The commented code relies on the buttonset() jQuery
plugin, which is deprecated.
https://api.jqueryui.com/buttonset/

If this code was to be re-introduced, it would take a different form.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-15 10:57:50 +02:00
Nextcloud bot 07476fd991 [tx-robot] updated from transifex 2021-05-15 02:29:20 +00:00
dependabot-preview[bot] 53e03a8b4f Bump node-sass from 5.0.0 to 6.0.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v5.0.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-15 01:14:16 +00:00
Julius Härtl bcf38692ae Use parent wrapper to properly handle moves on the same source/target storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-14 09:41:01 +02:00
Nextcloud bot 3e69ed8849 [tx-robot] updated from transifex 2021-05-14 02:24:59 +00:00
blizzz 0ab5b3e265 Merge pull request #26679 from nextcloud/bugfix/noid/fix-unauthorized-ocs-status-in-provisioning
Fix unauthorized OCS status in provisioning
2021-05-13 23:39:20 +02:00
blizzz b8b2e796bf Merge pull request #26959 from nextcloud/techdebt/noid/verifiyuserdata-iaccountmanager
VerifyUserData shall use IAccountManager, not private API
2021-05-12 23:35:39 +02:00
blizzz a923213b4f Merge pull request #26961 from nextcloud/techdet/noid/lib-accountmanager-api
ValidatePhoneNumber and PersonalInfo to use public IAccountManager
2021-05-12 23:35:28 +02:00
Arthur Schiwon 9977027321 VerifyUserData shall use IAccountManager, not private API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-12 22:57:20 +02:00
Arthur Schiwon a49588bbe5 PersonalInfo settings to use public AccoutManager API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-12 22:55:34 +02:00
Arthur Schiwon 2ee34ff76c Repair job to use public AccoutManager API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-12 22:55:28 +02:00
Roeland Jago Douma 9b36252de0 Merge pull request #26958 from nextcloud/enh/MountPublicLinkController/throttling
Throttle MountPublicLinkController when share is not found
2021-05-12 21:20:09 +02:00
Roeland Jago Douma 50517a2622 Throttle MountPublicLinkController when share is not found
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 16:26:31 +02:00
Roeland Jago Douma b01c7289ef Merge pull request #26962 from nextcloud/fix-cs
Fix CS check
2021-05-12 16:25:12 +02:00
Robin Appelman 8d7fae8fae fmt
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:55 +02:00
Robin Appelman a9eb1f6af3 update public interface with new methods
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:35 +02:00
Robin Appelman 0e6321957d allow excluding groups from creating link shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:31 +02:00
Robin Appelman b1dca57a1c load share settings from the share manager in more places
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-05-12 16:11:28 +02:00
Roeland Jago Douma 749dd1374c Fix CS check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 16:01:05 +02:00
blizzz 7e1c842d96 Merge pull request #26923 from nextcloud/techdebt/noid/provapi-no-private-accountmanager
provisioning API to use only public API of IAccountManager
2021-05-12 14:17:50 +02:00
Roeland Jago Douma 6c741724fb Merge pull request #26941 from nextcloud/enh/register-multiselect-fileactions
Allow apps to register a file action for multiselect
2021-05-12 10:53:58 +02:00
Roeland Jago Douma a2a96466fc Merge pull request #26922 from nextcloud/techdebt/noid/dav-no-private-class
dav: Converter & SyncService shall not use private AccountManager
2021-05-12 10:22:49 +02:00
Roeland Jago Douma 024ed97e7e Merge pull request #26945 from nextcloud/enh/shareinfo/throttle
Add bruteforce protection to the shareinfo endpoint
2021-05-12 10:07:28 +02:00
Julius Härtl 96515d7338 Allow apps to register a file action for multiselect
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-05-12 09:48:52 +02:00
Roeland Jago Douma 701294520a Add bruteforce protection to the shareinfo endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-12 09:34:45 +02:00
Joas Schilling b6c6527705 Fix unauthorized OCS status in provisioning
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 08:16:07 +02:00
Joas Schilling 236f1b64f9 Reply with JSON when html is not accepted like in SecurityMiddleware
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 08:02:53 +02:00
Joas Schilling a2d5d2d613 Reply with UNAUTHORIZED like on APIs when login exception was thrown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 08:02:53 +02:00
Julius Härtl 0599a8060c Merge pull request #26949 from nextcloud/fix-add-app-password
fix occ command user:add-app-password
2021-05-12 07:24:32 +02:00
Nextcloud bot 0df326ab20 [tx-robot] updated from transifex 2021-05-12 02:26:16 +00:00
Arthur Schiwon 8413ed9475 allow to set valid scopes only in AccountProperty
the auto-fallback to v2-local is removed as well to react on wrong input

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-12 01:31:15 +02:00
Arthur Schiwon 665ffbdf80 remove private AccountManager from SyncService
and fix test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-11 23:38:31 +02:00
Bjoern Schiessle da21e86a07 use the UID as loginName and not the display name.
Otherwise the app password will not work for users with a display name different to the UID.

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2021-05-11 20:38:54 +02:00
Roeland Jago Douma bf86050c77 Merge pull request #26751 from nextcloud/3rdparty/archive_tar/1.4.13
[3rdparty] Archive tar 1.4.13 bump
2021-05-11 09:17:43 +02:00
Nextcloud bot b2ad201644 [tx-robot] updated from transifex 2021-05-11 02:26:02 +00:00
Roeland Jago Douma ec6df60062 [3rdparty] Archive tar 1.4.13 bump
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-05-10 12:40:08 +02:00
Roeland Jago Douma ca49ba6441 Merge pull request #26917 from nextcloud/dependabot/npm_and_yarn/build/hosted-git-info-2.8.9
[Security] Bump hosted-git-info from 2.7.1 to 2.8.9 in /build
2021-05-10 10:22:09 +02:00
dependabot-preview[bot] cc3654ce37 [Security] Bump hosted-git-info from 2.7.1 to 2.8.9 in /build
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.7.1 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.7.1...v2.8.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-10 07:27:01 +00:00
Roeland Jago Douma 87d6b3fa01 Merge pull request #26919 from nextcloud/dependabot/npm_and_yarn/hosted-git-info-2.8.9
[Security] Bump hosted-git-info from 2.8.8 to 2.8.9
2021-05-10 09:25:20 +02:00
Valdnet 99e6849906 Change the values in test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-10 09:22:39 +02:00
Valdnet 73a616101b Change the values in the test 2021-05-10 09:19:50 +02:00
Roeland Jago Douma 42e118776c Merge pull request #26925 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-05-10 08:20:57 +02:00
Nextcloud-PR-Bot 87fa87f9fb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-05-10 04:12:20 +00:00
Nextcloud bot 488eea82dc [tx-robot] updated from transifex 2021-05-10 02:31:42 +00:00
Nextcloud bot df71883c9a [tx-robot] updated from transifex 2021-05-09 02:25:15 +00:00
Nextcloud bot 461a975749 [tx-robot] updated from transifex 2021-05-08 02:24:54 +00:00
Arthur Schiwon 1e271e9f76 provAPI to use only public API of IAccountManager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-08 01:20:17 +02:00
Arthur Schiwon 04edd067f4 dav: do not use private AccountManager
- also updates data structure in test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-05-08 00:18:17 +02:00
blizzz 0ac4563ae4 Merge pull request #26915 from nextcloud/chore/dav-calendar-untyped-events
Drop even more untyped events from the dav code
2021-05-07 22:46:35 +02:00
dependabot-preview[bot] 06b00e1ad5 [Security] Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-07 19:44:13 +00:00
Christoph Wurst cebe951b8e Remove the untyped calendar update event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 17:09:37 +02:00
Christoph Wurst 884e34b12a Remove the untyped calendar create event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 16:58:33 +02:00
Christoph Wurst f8c519f5f0 Merge pull request #26913 from nextcloud/chore/dav-calendar-object-untyped-events
Drop some more untyped events from the dav code
2021-05-07 16:47:44 +02:00
Morris Jobke ed2d6eee1e Merge pull request #26848 from nextcloud/bugfix/noid/add-datetime-support-to-qbmapper
Add datetime support to QBMapper
2021-05-07 16:02:53 +02:00
Christoph Wurst 6a14f82c1f Merge pull request #26914 from nextcloud/fix/caldav-get-shares-unused-param
Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getShares
2021-05-07 14:59:47 +02:00
Christoph Wurst f5462650f1 Clean up reminder actions and call methods directly
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 12:13:47 +02:00
Christoph Wurst 257613e6ef Remove the \OCA\DAV\CalDAV\CalDavBackend::createCalendarObject event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 12:13:45 +02:00
Christoph Wurst f808267949 Remove the \OCA\DAV\CalDAV\CalDavBackend::updateCalendarObject event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 12:10:58 +02:00
Christoph Wurst 08a4b24926 Drop the unused second parameter on \OCA\DAV\CalDAV\CalDavBackend::getShares
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 11:57:31 +02:00
Christoph Wurst d512a5629e Remove the \OCA\DAV\CalDAV\CalDavBackend::deleteCalendarObject event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-07 10:53:45 +02:00
Nextcloud bot df685b4b59 [tx-robot] updated from transifex 2021-05-07 02:26:47 +00:00
dependabot-preview[bot] d45462fcf3 Merge pull request #26907 from nextcloud/dependabot/npm_and_yarn/build/lodash-4.17.21 2021-05-06 18:33:08 +00:00
dependabot-preview[bot] f2a2cc7c66 [Security] Bump lodash from 4.17.19 to 4.17.21 in /build
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. **This update includes a security fix.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-06 17:52:36 +00:00
Valdnet 2349df4ca5 l10n: Replace the apostrophe with double quotation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-06 14:55:35 +02:00
Valdnet c5a4668c88 l10n: Replace the apostrophe with double quotation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-06 14:45:33 +02:00
Nextcloud bot 42f0f27240 [tx-robot] updated from transifex 2021-05-06 02:25:32 +00:00
Morris Jobke 1089ad5d9e Merge pull request #26877 from nextcloud/chore/query-builder-execute-statement
Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatement
2021-05-05 14:19:02 +02:00
Joas Schilling 4d82a9446d Merge pull request #26878 from nextcloud/bugfix/noid/dont-break-occ-when-an-app-is-breaking-in-application-class
Don't break OCC if an app is breaking in it's Application class
2021-05-05 11:50:40 +02:00
Joas Schilling 20b34875d9 Merge pull request #26869 from nextcloud/Valdnet-patch-8
l10n: Spelling unification
2021-05-05 10:59:52 +02:00
Joas Schilling 784b059a01 Don't break OCC if an app is breaking in it's Application class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 10:41:18 +02:00
Christoph Wurst 99f2fa73d1 Fix usage of rename executeUpdate
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-05 10:35:25 +02:00
Christoph Wurst 865661ed75 Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatement
Because executeUpdate wasn't a great name. And in DBAL they also use
executeStatement more consistently now.

Ref https://github.com/doctrine/dbal/issues/4607

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-05 10:31:54 +02:00
Valdnet 4df8fec0c3 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-04 11:38:45 +02:00
Valdnet 48d12b6441 l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-05-04 09:38:46 +02:00
Nextcloud bot 6d3aef1849 [tx-robot] updated from transifex 2021-05-04 02:26:15 +00:00
Morris Jobke 68c8fa8235 Merge pull request #26845 from nextcloud/fix/noid/import-card-fix-string-value
fix creating vcards with multiple string values
2021-05-03 15:49:43 +02:00
Christoph Wurst 7c3f8331ef Merge pull request #24835 from nextcloud/enhancement/composer-ext-zip
Add ext-zip as platform dependency
2021-05-03 13:29:12 +02:00
Christoph Wurst bf7a7b3f07 Merge pull request #26860 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-05-03 11:07:36 +02:00
Christoph Wurst ab3424ad44 Add ext-zip as platform dependency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-05-03 10:10:28 +02:00
dependabot-preview[bot] a312746238 Merge pull request #26858 from nextcloud/dependabot/submodules/3rdparty-44e7240 2021-05-03 07:24:33 +00:00
Nextcloud-PR-Bot 2b50f580d9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-05-03 04:11:45 +00:00
Nextcloud bot ea05e1a6ae [tx-robot] updated from transifex 2021-05-03 02:25:36 +00:00
dependabot-preview[bot] 032016b53b Merge pull request #26859 from nextcloud/dependabot/composer/vimeo/psalm-4.7.2 2021-05-03 01:54:21 +00:00
dependabot-preview[bot] 626192eb3e Bump vimeo/psalm from 4.7.1 to 4.7.2
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.7.1 to 4.7.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.7.1...4.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 01:24:13 +00:00
dependabot-preview[bot] 1e9410f6ba Bump 3rdparty from 3fad2ce to 44e7240
Bumps [3rdparty](https://github.com/nextcloud/3rdparty) from `3fad2ce` to `44e7240`.
- [Release notes](https://github.com/nextcloud/3rdparty/releases)
- [Commits](https://github.com/nextcloud/3rdparty/compare/3fad2cede25f6cce70d4eb4e5f2e4fbceac583f8...44e724081278c382349615e413dae9105a7b5dd4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-03 01:18:16 +00:00
Nextcloud bot a5faa98e6e [tx-robot] updated from transifex 2021-05-02 02:25:23 +00:00
Joas Schilling 5c4c527245 Add datetime support to QBMapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-01 11:59:19 +02:00
Nextcloud bot 5cccbbdd45 [tx-robot] updated from transifex 2021-05-01 02:26:34 +00:00
Arthur Schiwon a9f39aab29 fix creating vcards with multiple string values
Internally it is valid to provide multiple values for a property as
plain string. An exampe is given in the PhpDoc of
AddressBookImpl::search().

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-30 21:36:05 +02:00
blizzz 36c9441c37 Merge pull request #26593 from nextcloud/bugfix/noid/getMountsForFileId-performance
Filter mounts for file id before trying to get user information
2021-04-30 10:52:44 +02:00
Julius Härtl 1e2cf820c8 Filter mounts for file id before trying to get user information
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-30 07:55:38 +02:00
Nextcloud bot f3baab3159 [tx-robot] updated from transifex 2021-04-30 02:27:46 +00:00
Roeland Jago Douma 3b074c811a Inject the repair job only once
Since we backproted we should do a better check. Else we run the code
again for everybody upgrading to 22.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-29 20:23:12 +02:00
Robin Appelman ef6f2e68f0 explicitly close source stream on object store upload even if count wrapper isn't needed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-29 17:01:19 +02:00
Morris Jobke 22ba8fa78d Merge pull request #26826 from nextcloud/refactor/dav-typed-calendar-deleted-events
Exclusively use the typed calendar deletion events for DAV
2021-04-29 16:14:10 +02:00
Christoph Wurst 63eb3694e4 Exclusively use the typed calendar deletion events for DAV
We had both in places, but the old one isn't used anywhere outside this
app, so it's time to migrate the code.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-29 15:31:19 +02:00
dependabot-preview[bot] fdf54e9e43 Merge pull request #26736 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.16 2021-04-29 07:15:26 +00:00
Morris Jobke abb5b5d983 Merge pull request #26820 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-29 06:51:53 +02:00
Nextcloud-PR-Bot 6ce115cb2a Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-29 04:11:28 +00:00
Nextcloud bot e0f700b1bd [tx-robot] updated from transifex 2021-04-29 02:26:26 +00:00
Morris Jobke b971f69e26 Merge pull request #26461 from nextcloud/bugfix/noid/only-return-editable-displayname-field-when-allowed-by-backend
Only return display name as editable when the user backend allows it
2021-04-28 20:27:40 +02:00
Morris Jobke d93b001e27 Merge pull request #26811 from nextcloud/enh/lookupserver/do_not_send_if_not_needed
Do not try to contact lookup server if not needed
2021-04-28 17:13:16 +02:00
dependabot-preview[bot] c9b6f42c1a Bump @babel/core from 7.13.15 to 7.13.16
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.15 to 7.13.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.16/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-28 12:47:31 +00:00
Roeland Jago Douma 758a662b23 Do not try to contact lookup server if not needed
In some cases (for example you never send data to the lookup server)
there is no need for this job to even try.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-28 14:27:46 +02:00
rakekniven 48f05158e5 Merge pull request #26784 from nextcloud/Valdnet-patch-8
l10n: Change to a capital letter
2021-04-28 10:11:32 +02:00
Christoph Wurst 6a5d89c1ac Merge pull request #26758 from J0WI/more-strict
Some more strict_types
2021-04-28 09:28:19 +02:00
Valdnet c79aba9865 Change size of the letter in test 2021-04-28 08:57:53 +02:00
Roeland Jago Douma a058377169 Merge pull request #26804 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-28 07:45:40 +02:00
Nextcloud-PR-Bot c5e99c3349 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-28 04:12:29 +00:00
Nextcloud bot be4f665d2d [tx-robot] updated from transifex 2021-04-28 02:25:44 +00:00
Robin Appelman ed2d02d5f1 better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-27 20:29:51 +02:00
kesselb 9658bc9dd0 Merge pull request #26785 from nextcloud/fix/noid/ldap-beyond-last-page
LDAP: do not bother to search after the last page
2021-04-27 19:38:18 +02:00
Joas Schilling 0e6e80aaec Merge pull request #26781 from nextcloud/bugfix/noid/more-auto-add-cleanup
More cleaning after auto-add removal
2021-04-27 15:56:17 +02:00
kesselb d52ee8929c Merge pull request #26776 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-27 15:41:10 +02:00
Christoph Wurst 99f0b10421 Merge pull request #26591 from nextcloud/techdebt/noid/less-ilogger
Less ILogger
2021-04-27 15:38:12 +02:00
Joas Schilling 03b467bd23 Also check implementsAction method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 15:28:02 +02:00
Joas Schilling 48c50277a9 Merge pull request #26718 from nextcloud/bugfix/noid/fix-ratelimit-template
Fix ratelimit template
2021-04-27 15:18:02 +02:00
Joas Schilling f67a10e8d0 Only return display name as editable when the user backend allows it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 15:01:30 +02:00
Joas Schilling c52a026f55 Merge pull request #26572 from nextcloud/bugfix/noid/throw-401-when-authentication-is-provided-and-invalid
Throw "401 Unauthenticated" when authentication is provided but invalid
2021-04-27 14:37:28 +02:00
Joas Schilling 2d75868935 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 14:34:33 +02:00
Joas Schilling 29a66a5e49 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 14:34:32 +02:00
Joas Schilling 167efa19d7 Fix psalm errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 14:34:32 +02:00
Joas Schilling df47445c01 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 14:34:32 +02:00
Joas Schilling 56ae87c281 Less ILogger
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 14:34:32 +02:00
Joas Schilling 13b37a5255 Do not allow to overwrite some variables
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 13:55:35 +02:00
Joas Schilling 174f4dd043 Fix ratelimit template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 13:55:34 +02:00
Joas Schilling bf1c875425 Merge pull request #26764 from nextcloud/feature/noid/add-geo-location-as-ROS-type
Add geo location as ROS type
2021-04-27 13:54:28 +02:00
Arthur Schiwon 2a5473e146 do not try to search after the last page
- saves an LDAP requests in these cases
- prevents a Protocol Error logged on < 7.3 API (for backports)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-27 12:52:26 +02:00
Valdnet 505863c55e l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-04-27 12:38:28 +02:00
Julius Härtl 9de6efd14e Merge pull request #26774 from nextcloud/techdebt/noid/ldap-remove-pre73-paged-results 2021-04-27 07:00:28 -01:00
Joas Schilling 1029abc8f6 More cleaning after auto-add removal
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-27 08:13:47 +02:00
Joas Schilling 3f0b7fd289 Merge pull request #26765 from nextcloud/td/no_more_add_auto_trusted
No longer add trusted servers on federated share creation
2021-04-27 08:06:59 +02:00
John Molakvoæ b8cde2c8b6 Merge pull request #26775 from robottod/patch-1
Remove some deprecated calls from ShareByMailProvider.php
2021-04-27 07:59:27 +02:00
Nextcloud-PR-Bot 65d9ba620f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-27 04:12:15 +00:00
Nextcloud bot 2aad4bbed6 [tx-robot] updated from transifex 2021-04-27 02:25:33 +00:00
Arthur Schiwon 5e8f43a55e removes PagedResults adapter for PHP < 7.3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-26 22:57:42 +02:00
robottod 0451927994 Remove some deprecated calls from ShareByMailProvider.php
This moves the execute calls to the executeQuery and executeUpdate calls
Resulting in less calls to deprecated functions

Signed-off-by: rtod <robottod@protonmail.com>
2021-04-26 21:53:56 +02:00
Roeland Jago Douma 71e05b1fd3 No longer add trusted servers on federated share creation
It was disabled by default for ages. And often resulted in unwanted
behavior. If admins want trusted servers they just have to do it
manually.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-26 19:47:55 +02:00
Roeland Jago Douma 10df6b93c1 Merge pull request #26763 from nextcloud/enh/federation/improve_permissions
Improve federated permission handling
2021-04-26 17:23:12 +02:00
Joas Schilling 303d689001 Merge pull request #26762 from nextcloud/bugfix/noid/respect-the-error-level-on-logging
Respect the error level when logging
2021-04-26 17:10:52 +02:00
Joas Schilling 7d3c135146 Add geo location as ROS type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 16:47:01 +02:00
Joas Schilling 21ed3419f3 Log deprecation only as debug
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 16:19:03 +02:00
Roeland Jago Douma 70f12e7332 Improve federated permission handling
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-26 16:10:44 +02:00
Joas Schilling 8d9e5e0b91 Respect the error level when logging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-26 14:18:18 +02:00
Joas Schilling aa651fd629 Merge pull request #26259 from nextcloud/feature/noid/validate-website-to-be-valid
Validate the website field input to be a valid URL
2021-04-26 13:56:01 +02:00
J0WI 8323cbb9e5 Use strict
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-26 12:45:12 +02:00
Lukas Reschke e1a3000cbe Merge pull request #26747 from nextcloud/php8-libxml
Fix installer deprecation warnings for PHP 8
2021-04-26 12:44:38 +02:00
J0WI d1f23b0428 core: add more strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-26 12:44:37 +02:00
J0WI a369933084 Fix ini_set() type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-26 12:44:05 +02:00
J0WI efc5c57a79 Some more strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-26 12:33:45 +02:00
Christoph Wurst 8f3a0705d4 Merge pull request #26755 from yan12125/bugfix/yan12125/caldav-truncation
Correctly truncate multibyte strings to fit into the database
2021-04-26 11:56:26 +02:00
Chih-Hsuan Yen fea5b4a8b9 Correctly truncate multibyte strings to fit into the database
Closes: #26174

Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
2021-04-26 16:54:50 +08:00
Roeland Jago Douma bf9ed2d3cd Merge pull request #26721 from nextcloud/fix/noid/final-private
private cannot be final
2021-04-26 09:04:18 +02:00
Roeland Jago Douma 8238abd34a Merge pull request #26750 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-26 08:43:58 +02:00
Nextcloud-PR-Bot d6f3a6feb9 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-26 04:13:05 +00:00
Nextcloud bot 4ded8a08b7 [tx-robot] updated from transifex 2021-04-26 02:24:39 +00:00
dependabot-preview[bot] 835643b19d Merge pull request #26749 from nextcloud/dependabot/composer/vimeo/psalm-4.7.1 2021-04-26 01:47:41 +00:00
dependabot-preview[bot] 5a876f5a9d Bump vimeo/psalm from 4.7.0 to 4.7.1
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.7.0 to 4.7.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.7.0...4.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-26 01:17:16 +00:00
acsfer 3d900b1e58 PHP 8+ deprecates openssl_free_key 2021-04-25 13:50:23 +02:00
acsfer 5882648cac Only use libxml_disable_entity_loader on PHP<8 2021-04-25 13:45:14 +02:00
Nextcloud bot da17db0fdc [tx-robot] updated from transifex 2021-04-25 02:24:52 +00:00
Guillaume Virlet 910c208c4c fix broken js test
Signed-off-by: Guillaume Virlet <github@virlet.org>
2021-04-24 09:24:52 +02:00
Nextcloud bot 39764b05b1 [tx-robot] updated from transifex 2021-04-24 02:26:38 +00:00
Guillaume Virlet ec38cf3b53 [Fix #26726] wrong warning when running HTTP instance
Signed-off-by: Guillaume Virlet <github@virlet.org>
2021-04-23 22:23:23 +02:00
Daniel Calviño Sánchez 8fc8451004 Merge pull request #25417 from nextcloud/fix-account-data-visibility-after-disabling-public-addressbook-upload
Fix account data visibility after disabling public addressbook upload
2021-04-23 16:48:36 +02:00
Joas Schilling 04c15e7835 Merge pull request #26719 from nextcloud/chore/dav-cleanup-query-usage
Clean up DB code in the CalDAV backend
2021-04-23 15:38:09 +02:00
Christoph Wurst 323f95693c Close open cursors
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-23 14:35:02 +02:00
Maxence Lange bb32880ec4 private cannot be final
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2021-04-23 11:00:10 -01:00
Christoph Wurst 72a4f21efe Use the new executeQuery and executeUpdate methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-23 13:21:25 +02:00
Christoph Wurst 94bf14a8dc Drop default fetch mode parameter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-23 13:21:25 +02:00
Christoph Wurst 1a1ea4e3ea Merge pull request #26717 from nextcloud/fix/copy-etag-node-not-found
Only set copy etag if the destination source can be found
2021-04-23 13:20:08 +02:00
Daniel Calviño Sánchez da84ed7d4c Fix active scope not visible in the menu if excluded
Depending on some settings (for example, if lookup server upload is
disabled) some items can be hidden in the scope menu. However, if the
user selected an scope in the past once the settings were changed the
scope was no longer visible in the menu. Now the active scope will be
always visible in the menu, although if it is an excluded scope it will
be disabled. Selecting any other scope will then hide the excluded and
no longer active one.

When upload to the lookup server is disabled the scope menu was hidden
for display name and email in the personal information settings; now the
menu will be always shown to enable the above described behaviour.

Note that the menu will be shown even if there is a single available
scope so the user can read its description.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:42 +02:00
Daniel Calviño Sánchez 7159a70894 Guard against null phone number value
"parsePhoneNumber()" expects a string, so a TypeError would be thrown if
the phone number value is null.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:42 +02:00
Daniel Calviño Sánchez e2c4a174f2 Add integration tests for searching users in contacts menu
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:42 +02:00
Daniel Calviño Sánchez 67dd087ce4 Fix deleting properties of user settings when not given explicitly
The controller can receive an optional subset of the properties of the
user settings; values not given are set to "null" by default. However,
those null values overwrote the previously existing values, so in
practice any value not given was deleted from the user settings. Now
only non null values overwrite the previous values.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez ac0c18327e Fix TypeError when "email" is not given in the controller request
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez a7431817b9 Respect additional user settings not covered by the controller
"AccountManager::updateUser()" wipes previous user data with whichever
user data is given (except for some adjustments, like resetting the
verified status when needed). As the controller overrode the properties
those properties would lose some of their attributes even if they are
not affected by the changes made by the controller. Now the controller
only modifies the attributes set ("value" and "scope") to prevent that.

Note that with this change the controller no longer removes the
"verified" status, but this is not a problem because, as mentioned,
"AccountManager::updateUser()" resets them when needed (for example,
when the value of the website property changes).

This change is a previous step to fix overwritting properties with null
values, and it will prevent the controller from making unexpected
changes if more attributes are added in the future.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez c5e3d2e5c2 Add more unit tests for setting user settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:41 +02:00
Daniel Calviño Sánchez 190ffd75b7 Change default test data to values less similar to empty values
Right now it makes no difference, but this should make future tests
clearer, specially in case of failure.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Daniel Calviño Sánchez ef5d538448 Extract default test data to a helper getter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Daniel Calviño Sánchez 8cae515daa Use constants from interface rather than class
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-23 11:44:40 +02:00
Christoph Wurst 1722044992 Only set copy etag if the destination source can be found
The etag is only set for files, but it's also possible that in edge
cases the copy destination node can't be found. In that case we don't
need to set any etag.

Required for #26083

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-23 10:53:24 +02:00
Roeland Jago Douma 513aba623e Merge pull request #26715 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-23 08:03:54 +02:00
Nextcloud-PR-Bot 797448d2b3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-23 04:11:54 +00:00
Nextcloud bot 539c065e8e [tx-robot] updated from transifex 2021-04-23 02:26:10 +00:00
Morris Jobke 012f791c8f Merge pull request #26375 from nextcloud/techdebt/noid/symfony-component-translation-pluralization-rules-is-deprecated
"Symfony\Component\Translation\PluralizationRules" is deprecated
2021-04-22 21:20:16 +02:00
blizzz 6d25c3c7fe Merge pull request #26627 from nextcloud/smb-341
update icewind/smb to 3.4.1
2021-04-22 19:58:02 +02:00
blizzz 47c9c00b8e Merge pull request #26700 from nextcloud/bugfix/noid/fix-oci-ci
FIx Oracle by testing on Ubuntu 20.04 until oci8.so is available for …
2021-04-22 19:49:59 +02:00
blizzz 88ef393d7b Merge pull request #26699 from nextcloud/fix/noid/iresult-php-doc
remove undefined parameter, add description
2021-04-22 19:11:37 +02:00
Joas Schilling 6a43948a6e FIx Oracle by testing on Ubuntu 20.04 until oci8.so is available for 21.04
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 16:57:00 +02:00
Joas Schilling d80cc76ee7 Validate the website field input to be a valid URL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 16:34:13 +02:00
Arthur Schiwon e7691ef6ab remove undefined parameter, add description
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-22 16:23:01 +02:00
Joas Schilling 83e10b7a73 Adjust integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 15:43:57 +02:00
Joas Schilling 4ed296db9f Fix Authentication test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 15:36:34 +02:00
Joas Schilling 521bb30541 Throw "401 Unauthenticated" when authentication is provided but invalid
E.g. with an AppToken that has been revoked

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-22 15:28:43 +02:00
Joas Schilling da043e52c8 Merge pull request #26586 from nextcloud/bugfix/noid/handle-device-login-like-an-alternative-login
Handle device login like an alternative login
2021-04-22 15:27:58 +02:00
Morris Jobke a011b7021e Merge pull request #26692 from nextcloud/redirect-forum
Redirect users to forum for questions
2021-04-22 14:05:19 +02:00
Morris Jobke 393309b98f Merge pull request #25714 from nextcloud/fix/23197/explicitly_check_hex2bin_input
Explicitly check hex2bin input
2021-04-22 13:23:39 +02:00
acsfer 2e41939ece Typo 2021-04-22 13:15:10 +02:00
acsfer 9f56646694 Redirect users to forum for questions
Be more specific so more users will go directly to the forum instead using Github for non-bug reports.
2021-04-22 13:13:06 +02:00
Nextcloud bot 634b6b8b57 [tx-robot] updated from transifex 2021-04-22 02:26:21 +00:00
Roeland Jago Douma 4e39d1ce93 Merge pull request #26609 from nextcloud/Valdnet-patch-6
l10n: Improve styling
2021-04-21 19:56:41 +02:00
John Molakvoæ 3da956bcdc Merge pull request #23529 from Simounet/feat/23397-settings-new-user-modal
Settings: new user row replaced by a modal
2021-04-21 16:38:46 +02:00
Morris Jobke 3e7f7e5f9b Merge pull request #26474 from nextcloud/caugner-patch-mariadb-in-mysql-support-warning
Mention MariaDB in MySQL support warning
2021-04-21 16:26:37 +02:00
kesselb d1db7ab59e Merge pull request #26575 from nextcloud/s3-set-mimetype
set mimetype for objects uploaded to object storages
2021-04-21 16:16:10 +02:00
Robin Appelman effb7dc8ba set mimetype for objects uploaded to object storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-21 15:25:58 +02:00
Simounet 45c3b2a478 Settings: new user row replaced by a modal
Signed-off-by: Simounet <contact@simounet.net>
2021-04-21 14:42:46 +02:00
Robin Appelman 0d5f4edc22 adjust tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-21 14:09:07 +02:00
Morris Jobke d2ea068552 Merge pull request #26669 from nextcloud/nickvergessen-patch-1
Fix PHP CS
2021-04-21 14:07:17 +02:00
Robin Appelman 907e997c99 optimize getting share types for recent files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-21 13:56:11 +02:00
Robin Appelman e8221303e9 use search query for Folder::getRecent
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-21 13:56:04 +02:00
Roeland Jago Douma a384cb4e5a Merge pull request #26648 from nextcloud/Valdnet-patch-7
l10n: Spelling unification
2021-04-21 11:15:54 +02:00
John Molakvoæ 31d88209f7 Merge pull request #25991 from nextcloud/update-acceptance-tests-to-selenium3 2021-04-21 09:31:29 +02:00
Joas Schilling 2a11713337 Update CredentialsManagerTest.php
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-21 08:33:10 +02:00
Roeland Jago Douma db2aea2f04 Merge pull request #26673 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-04-21 08:24:28 +02:00
Nextcloud-PR-Bot 1ac183fb05 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-04-21 04:11:37 +00:00
Nextcloud bot e58344fb2a [tx-robot] updated from transifex 2021-04-21 02:25:58 +00:00
Morris Jobke 9e8690d912 Merge pull request #26654 from nextcloud/bugfix/noid/fix-security-credentials-manager-test
Fix security credentials manager test
2021-04-20 22:03:52 +02:00
Morris Jobke 5448306238 Merge pull request #26658 from nextcloud/bugfix/noid/continue-on-denied-acls
Do not stop directory listing when ACL is blocking access
2021-04-20 21:35:19 +02:00
Morris Jobke ea0f022816 Merge pull request #26661 from nextcloud/bugfix/noid/fix-ldap-unit-test
Fix LDAP unit tests
2021-04-20 21:34:21 +02:00
Morris Jobke 6c0bb2c338 Merge pull request #26594 from nextcloud/enh/2fa/bootstrap
Move 2FA registration to IBootstrap
2021-04-20 21:30:15 +02:00
Morris Jobke 25406ebba2 Merge pull request #26652 from nextcloud/bugfix/noid/fix-broken-test
Fix broken Expiration test
2021-04-20 21:28:36 +02:00
Roeland Jago Douma a34085e1a2 Move 2fa backupscode to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-20 21:01:16 +02:00
Roeland Jago Douma 5ee9e1f784 Move 2FA registration to IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-20 21:01:16 +02:00
Roeland Jago Douma 46872e3921 Merge pull request #26617 from nextcloud/fix/oracle-column-check-unrelated-migrations
Do not check Oracle column constraints in unrelated migrations
2021-04-20 20:49:06 +02:00
Roeland Jago Douma f31d24dd7a Merge pull request #26647 from nextcloud/bugfix/noid/empty-filename
Fail when creating new files with an empty path
2021-04-20 20:47:16 +02:00
Roeland Jago Douma 85bdf6c0fc Merge pull request #26660 from nextcloud/bugfix/noid/fix-twofactor-backupcodes-tests
Fix twofactor backup code tests
2021-04-20 20:44:33 +02:00
Roeland Jago Douma d34d3d168d Merge pull request #26659 from nextcloud/bugfix/noid/fix-updatenotification-test
Fix update notification tests
2021-04-20 20:43:56 +02:00
Roeland Jago Douma 1e767b4f44 Merge pull request #26662 from nextcloud/bugfix/noid/fix-dav-unit-tests
Fix DAV unit tests
2021-04-20 20:43:24 +02:00
Roeland Jago Douma cd5dd31ab0 Merge pull request #26663 from nextcloud/bugfix/noid/fix-support-test
Fix support tests
2021-04-20 20:42:32 +02:00
Joas Schilling 7f70f3e182 Fix support tests
2) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #0 (35, 15, 2, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

3) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #1 (35, 45, 15, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

4) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #2 (35, 45, 5, true)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

5) Test\Support\Subscription\RegistryTest::testDelegateIsHardUserLimitReachedWithoutSupportAppAndUserCount with data set #3 (35, 45, 55, false)
Cannot stub or mock class or interface "Test\Support\Subscription\UserInterface" which does not exist

Had to use the Database user backend, as using multiple interfaces is deprecated:
https://github.com/sebastianbergmann/phpunit/issues/3955
> This functionality should be deprecated as "having to use it" is almost always a symptom of bad design.
> More importantly, though, the support for the creation of test doubles that implement multiple interfaces
> resulted in code that is hard to maintain.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:36:15 +02:00
Joas Schilling 379664974c Fix DAV unit tests
6) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAccept
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

7) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptSequence
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

8) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptRecurrenceId
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

9) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptTokenNotFound
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

10) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testAcceptExpiredToken
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

11) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testDecline
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

12) OCA\DAV\Tests\Unit\DAV\Controller\InvitationResponseControllerTest::testProcessMoreOptionsResult
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

13) OCA\DAV\Tests\unit\CalDAV\CalendarTest::testConfidentialClassification with data set #0 (3, false)
No method rule is set

14) OCA\DAV\Tests\unit\DAV\Migration\RefreshWebcalJobRegistrarTest::testRun
Trying to configure method "fetch" which cannot be configured because it does not exist, has not been specified, is final, or is static

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:30:21 +02:00
Joas Schilling 39e248d330 Fix LDAP unit tests
20) OCA\user_ldap\tests\Jobs\UpdateGroupsTest::testHandleKnownGroups
Trying to configure method "fetchAll" which cannot be configured because it does not exist, has not been specified, is final, or is static

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:22:52 +02:00
Joas Schilling fe8d98f84b Fix twofactor backup code tests
16) OCA\TwoFactorBackupCodes\Tests\Unit\Listener\ActivityPublisherTest::testHandleCodesGeneratedEvent
Method publish may not return value of type Mock_IEvent_11bf8381, its return declaration is ": void"

17) OCA\TwoFactorBackupCodes\Tests\Unit\Controller\SettingsControllerTest::testCreateCodes
Method getBackupCodesState may not return value of type string, its return declaration is ": array"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:18:15 +02:00
Julius Härtl 8f01bc65f1 Continue iterating over diretory contents and just hide file if denied by acl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-20 17:17:09 +02:00
Joas Schilling 42140ab53f Fix update notification tests
18) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #1 ('app2', '1.0.1', '1.0.0', '1.0.0', true, array('user1'), array(array('user1')))
Method notify may not return value of type Mock_INotification_2134ee38, its return declaration is ": void"

19) OCA\UpdateNotification\Tests\Notification\BackgroundJobTest::testCreateNotifications with data set #2 ('app3', '1.0.1', false, false, true, array('user2', 'user3'), array(array('user2'), array('user3')))
Method notify may not return value of type Mock_INotification_2134ee38, its return declaration is ": void"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:15:31 +02:00
Joas Schilling c6978bac80 Fix security credentials manager test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 17:04:24 +02:00
Joas Schilling fc6fbb6499 Fix broken Expiration test
15) Warning
The data provider specified for OCA\Files_Trashbin\Tests\ExpirationTest::testGetMaxAgeAsTimestamp is invalid.
PHPUnit\Util\Exception: Method timestampTestData does not exist

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:53:00 +02:00
Joas Schilling 79ebc7f24c Fix test by defining plurals
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:43:43 +02:00
Joas Schilling 2228b285c5 Only check translations insteda of the full file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:43:43 +02:00
Joas Schilling 3cf447ac44 Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:43:43 +02:00
Joas Schilling 2b8e47dcac Correclty use plural for share exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:43:40 +02:00
Joas Schilling 5a514a9a41 Correctly replace all PHP placeholders with the parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:42:05 +02:00
Joas Schilling 439457d2b4 Fix languages that miss a string in the translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:42:04 +02:00
Joas Schilling a4c6749b02 Add a check for the pipe character
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:42:04 +02:00
Joas Schilling 157147cb8e "Symfony\Component\Translation\PluralizationRules" is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 16:42:04 +02:00
Morris Jobke 94322971a5 Merge pull request #26550 from nextcloud/fix/noid/prefer-cloudshare-over-mail-take2
hide mail share if a cloud share is possible – backend only solution
2021-04-20 14:26:14 +02:00
blizzz 92ca49d21d save a whitespace today
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-20 14:03:01 +02:00
Arthur Schiwon f8d1ee5cfa ignore mail shares of related remote share results
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-20 14:02:35 +02:00
Jan C. Borchardt 9d1e2c5082 Merge pull request #26548 from nextcloud/design/files-accessibility
Files & Core accessibility fixes
2021-04-20 13:51:40 +02:00
Valdnet a923761acb l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-04-20 11:33:31 +02:00
Julius Härtl 8398762d78 Fail when creating new files with an empty path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-20 11:20:20 +02:00
Morris Jobke 67ab4dd6c7 Merge pull request #26624 from nextcloud/enh/sharing/readperm
Consider read permission in sharing tab
2021-04-20 09:27:45 +02:00
Joas Schilling 69290781ff Handle device login like an alternative login
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 09:11:33 +02:00
Julius Härtl 59f8685af2 Merge pull request #26633 from nextcloud/enh/sharee/lookup_later
Make lookup search explicit
2021-04-20 05:38:00 -01:00
Nextcloud bot 79116e825c [tx-robot] updated from transifex 2021-04-20 02:25:58 +00:00
Morris Jobke a67f0b0c47 Merge pull request #26615 from nextcloud/enh/ffs/require_read
Require read permissions for federated shares
2021-04-19 21:50:48 +02:00
Jan C. Borchardt 738ac612d2 Fix accessibility of federation menu privacy buttons
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt 64e90cdc66 Fix accessibility of profile picture section
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:54 +02:00
Jan C. Borchardt f86a2239e7 Fix missing label of Files navigation sublist toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Jan C. Borchardt abedc275d9 Fix missing label of grid view toggle
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Jan C. Borchardt 34396091e8 Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Jan C. Borchardt 749a266f78 Add proper labels for personal settings privacy toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 20:34:47 +02:00
Jan C. Borchardt 317c77f70f Improve focus feedback for file list actions
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 20:34:46 +02:00
Jan C. Borchardt a649fbc404 Fix summary footer position and text contrast
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 20:34:46 +02:00
Roeland Jago Douma 2ef326d6b6 Merge pull request #26618 from nextcloud/bugfix/noid/fix-english-language
Fix English source string
2021-04-19 20:08:04 +02:00
Roeland Jago Douma dcd45427a6 Make lookup search explicit
Speedsup sharee lookup quite a bit.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 20:05:21 +02:00
Roeland Jago Douma adab9deb3e Merge pull request #26601 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-3.1.2
Bump @nextcloud/dialogs from 3.1.1 to 3.1.2
2021-04-19 19:53:14 +02:00
J0WI ca7b37ce5a Make Security module strict
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-19 17:31:12 +02:00
Daniel Calviño Sánchez 4b376a107b Add automatic handling of "ElementNotInteractable" exceptions
In the WebDriver protocol, when a command fails because it can not
interact with the target element, an "element not interactable" error is
generated. It can be a transitive issue (for example, due to an
animation), so when the error is received the command should be tried
again, just like done, for example, with "ElementNotVisible" exceptions.

However, the last version of the "instaclick/php-webdriver" library
compatible with the Selenium Driver of Mink did not support yet that
WebDriver error. And even if Chrome is run using the old protocol an
unknown "element not interactable" error can be received anyway in some
cases. When an unknown error is received by the
"instaclick/php-webdriver" library it is thrown as a generic Exception
so, until the library can be updated, the message of generic exceptions
is checked and the command is retried if it matched.

For the time being "element not interactable" errors are handled like
"ElementNotVisible" exceptions; this may need to change once the error
is better understood.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-19 16:35:11 +02:00
Robin Appelman eeb72c3338 update icewind/smb to 3.4.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-19 16:00:47 +02:00
Roeland Jago Douma 68dadc01af Consider read permission in sharing tab
When updating a share we should make sure to use all the old permissions
(and only change what we actually changed). So the READ permission in
this case should also be fetched instead of always granted.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 15:10:51 +02:00
Roeland Jago Douma 9a69b88393 Merge pull request #26613 from nextcloud/enh/no_add_to_your_nc_file_drop
Do not allow adding file drop shares to your own cloud
2021-04-19 14:56:19 +02:00
dependabot[bot] 5370c54084 Bump @nextcloud/dialogs from 3.1.1 to 3.1.2
Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v3.1.1...v3.1.2)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-19 11:37:24 +00:00
Joas Schilling 422ecdeb20 Fix English source string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-19 13:11:34 +02:00
Christoph Wurst 2ab8268128 Do not check Oracle column constraints in unrelated migrations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-04-19 13:05:34 +02:00
Roeland Jago Douma 5c42c303e4 Require read permissions for federated shares
Else they end up as weird shares that can't be properly utilized by
other parties anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 12:53:49 +02:00
Morris Jobke 2866f4f7d2 Merge pull request #26614 from nextcloud/crl/noid/update-crl-revoked-news
Update root.crl due to revoked news.crt
2021-04-19 12:29:29 +02:00
Roeland Jago Douma 241dfab33f Do not allow adding file drop shares to your own cloud
There is no reason for this and you can't create such shares normally
anyway.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-19 12:17:58 +02:00
Morris Jobke 49dfb8721d Update root.crl due to revoked news.crt
See https://github.com/nextcloud/app-certificate-requests/pull/382

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-04-19 11:56:37 +02:00
Julius Härtl dd2f3e36b0 Merge pull request #26605 from nextcloud/dependabot/npm_and_yarn/ssri-6.0.2
[Security] Bump ssri from 6.0.1 to 6.0.2
2021-04-19 06:16:08 -01:00
Joas Schilling 751be29c73 Merge pull request #26555 from nextcloud/techdebt/noid/run-migrator-tests-on-OCI
Run migrator tests on OCI
2021-04-19 08:57:41 +02:00
Nextcloud bot 8c82dd37b4 [tx-robot] updated from transifex 2021-04-19 02:26:04 +00:00
Valdnet 2445c82750 l10n: Improve styling
"Empty field" information shifted to the end of the sentence. It looks more stylistic.
2021-04-18 11:39:46 +02:00
Nextcloud bot 286acbedef [tx-robot] updated from transifex 2021-04-18 02:24:11 +00:00
Nextcloud bot 3ab7d6cf3e [tx-robot] updated from transifex 2021-04-17 02:24:04 +00:00
dependabot-preview[bot] b0b22e3b41 [Security] Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-16 22:58:18 +00:00
Daniel Calviño Sánchez 9e1246eba5 Update acceptance tests to Selenium 3
The acceptance tests used the last Selenium 2 Docker container
available, which provides a rather old Firefox version (Firefox 47).
Nevertheless, despite some rendering issues, most things still worked as
expected due to the JavaScript files being built with support for older
browsers. However, now that support for Internet Explorer 11 and older
browsers will be dropped things could start to fail, so a newer browser
(and thus a newer Selenium version) should be used in the acceptance
tests.

Selenium has been standardized by the W3C, and the protocol to
communicate between the Selenium server and the browser has changed due
to that. Firefox >= 48 only supports the new W3C protocol, but the
Selenium driver for Mink does not support it yet.

The old protocol can still be used in recent Chromium/Chrome versions by
explicitly forcing it, so for the time being the acceptance tests will
need to be run on Chrome instead (although Firefox provides some
interesting features like the fake streams that would be needed to test
calls in Talk, so they should be moved again to Firefox once possible).

Finally, the default shm size of Docker is 64 MiB. This does not seem
enough to run newer Chrome releases and causes the browser to randomly
crash during the tests ("unknown error: session deleted because of page
crash" is shown in the logs). Due to this "disable-dev-shm-usage" needs
to be used so Chrome writes shared memory files into "/tmp" instead of
"/dev/shm" (the default shm size of Docker could have been increased
instead using "docker run --shm-size...", but that seems to be
problematic when the container is run in current Drone releases).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Daniel Calviño Sánchez 14b85f4eec Replace carriage return with WebDriver "ENTER" constant
When the value is set in some input fields a carriage return was sent to
simulate pressing the enter key and thus confirming the input. However,
different browsers use different keys (Firefox uses "\r", but Chrome
uses "\n"), so the carriage return was replaced with the WebDriver
"ENTER" constant which is common to both browsers.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Daniel Calviño Sánchez 38b88422a8 Do not send "enter" key when not needed
Sending the "enter" key is not needed in those input fields that auto
save while the user is typing or when the focus is lost (which since
version 1.4.0 the Selenium driver for Mink is automatically done after
setting the value).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-04-16 20:00:15 +02:00
Roeland Jago Douma d311e08f97 Merge pull request #26592 from nextcloud/enh/2fa_backup/fancy_new_events
Listen to proper UserDeletedEvent
2021-04-16 18:06:50 +02:00
Roeland Jago Douma 9b86e6f829 Listen to proper UserDeletedEvent
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 14:31:40 +02:00
Roeland Jago Douma 874eff9aaa Merge pull request #26553 from nextcloud/enh/bootstrap/notifiers
Move NotifierService registration to IBootstrap
2021-04-16 14:27:19 +02:00
Roeland Jago Douma 0593b039fc Move over notification to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma fc11617222 Deprecate the old way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma 808e589035 Allow registering NotifierServices trough IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 13:56:28 +02:00
Roeland Jago Douma 403388269a Merge pull request #26581 from nextcloud/bugfix/noid/fix-device-login
Fix constraint violation detection in QB Mapper
2021-04-16 11:12:41 +02:00
Roeland Jago Douma ec66943efd Merge pull request #26559 from J0WI/updno-strict
Updatenotification: add missing strict_types
2021-04-16 10:16:25 +02:00
Roeland Jago Douma bddb3dfcac Merge pull request #26567 from nextcloud/techdebt/noid/adjust-jquery-deprecation-message
Don't mentioned we will do something with an already released version
2021-04-16 10:15:36 +02:00
Roeland Jago Douma 3d1015c87a Merge pull request #26560 from J0WI/backupcodes-strict
2FA backupcodes: add strict typing
2021-04-16 10:14:53 +02:00
Roeland Jago Douma 7d8ff27928 Merge pull request #26558 from J0WI/dashboard-strict
Dashboard: add missing strict_types
2021-04-16 10:13:02 +02:00
Joas Schilling 25d11b5197 Fix constraint violation detection in QB Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 10:12:17 +02:00
Joas Schilling 1670d00452 Integer 0 is not stored as Null and therefor works
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Joas Schilling 8b4ecdcc88 Test that oracle throws on EmptyValues in a NotNull columns
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Joas Schilling e88bad4b0a Run migrator tests on OCI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-16 09:57:27 +02:00
Roeland Jago Douma 657ee534a8 Merge pull request #26583 from nextcloud/fix/unit-test
Fix unit test
2021-04-16 09:56:18 +02:00
Roeland Jago Douma b5ffca00f7 Fix unit test
* Fix namespace
* Fix test

Was broken after https://github.com/nextcloud/server/pull/26529

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-16 09:47:52 +02:00
castillo92 12948aa217 Update ShareAPIController.php
Change to capital letters in an abbreviation.

Signed-off-by: castillo92 javiercizquierdo@gmail.com
2021-04-16 08:56:20 +02:00
Nextcloud bot 07278ed57d [tx-robot] updated from transifex 2021-04-16 02:25:50 +00:00
J0WI 899413b506 Format header
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-15 16:57:06 +02:00
J0WI 09368e7cf5 2FA backupcodes: add strict typing
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-15 16:57:06 +02:00
Julius Härtl 1c35b3801e Merge pull request #25320 from nextcloud/bugfix/noid/save-fed-share-expiration 2021-04-15 12:06:54 -01:00
Vincent Petry af61486aea Separate settings for remote share expiration
Added separate settings for default and enforced expiration date for
remote shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:06:09 +02:00
Vincent Petry 2650da70ca Unit tests for federated share expiration date
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:03 +02:00
Vincent Petry b0aaafe259 Fix expire date capability for federated shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:03 +02:00
Vincent Petry 8680bafc5c Implement expiration date for federated shares
Add expiration date field in UI.
Save expiration date when creating or updating federated share.
Read expiration date from DB in federated share provider.
Applies to both federated user and group shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-04-15 10:02:00 +02:00
npmbuildbot-nextcloud[bot] 48a78aabea Compile assets
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-15 07:32:59 +00:00
Joas Schilling cbca27867a Don't mentioned we will do something with an already released version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15 08:53:17 +02:00
Nextcloud bot 8ef920fdf9 [tx-robot] updated from transifex 2021-04-15 02:25:10 +00:00
J0WI 684a0da48a Dashboard: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-14 16:46:25 +02:00
J0WI 8fd2be9655 Updatenotification: add missing strict_types
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-14 16:46:02 +02:00
Roeland Jago Douma f031dd61c1 Merge pull request #26551 from nextcloud/fix/noid/redis-exists-bool
ensure redis returns bool for hasKey
2021-04-14 13:37:23 +02:00
Roeland Jago Douma 644ce9e4f0 Merge pull request #26529 from J0WI/getSystemValue-type
Use correct getSystemValue type
2021-04-14 13:36:56 +02:00
John Molakvoæ 857a40b334 Merge pull request #26533 from nextcloud/fix/add-share-resolve-default
Fix undefined error on add-share
2021-04-14 08:32:26 +02:00
Nextcloud bot 7081c63d09 [tx-robot] updated from transifex 2021-04-14 02:26:51 +00:00
Arthur Schiwon 9f5480eef4 ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-04-13 23:07:54 +02:00
John Molakvoæ 23b8e4a1d4 Merge pull request #26521 from nextcloud/design/login-accessibility 2021-04-13 09:26:08 +02:00
Joas Schilling 421914b4d0 Merge pull request #26467 from nextcloud/feature/noid/allow-apps-to-log-to-audit
Allow apps to log actions into the audit_log
2021-04-13 08:52:08 +02:00
John Molakvoæ (skjnldsv) 4b9991a4f2 Fix undefined error on add-share
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-13 06:21:48 +00:00
Nextcloud bot bab06b9abb [tx-robot] updated from transifex 2021-04-13 02:24:57 +00:00
J0WI 74a7c2eefc Use correct getSystemValue type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-12 22:54:50 +02:00
Jan C. Borchardt bdd5667ff6 Fix 'Log in with a device' link focusability
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 15:01:01 +02:00
Jan C. Borchardt 294ddf741e Fix log in button hover/focus feedback
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 14:59:59 +02:00
Jan C. Borchardt dcf044a7a6 Fix password visibility toggle alt text and hover/focus feedback
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 14:59:31 +02:00
Roeland Jago Douma 4be2e1601e Merge pull request #26486 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.13.15
Bump @babel/preset-env from 7.13.10 to 7.13.15
2021-04-12 13:33:24 +02:00
Roeland Jago Douma 789bb0d0ac Merge pull request #26266 from nextcloud/future-proof-networking
Improve networking checks
2021-04-12 12:42:33 +02:00
Joas Schilling 6d502041e0 Fix version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-12 10:31:10 +02:00
Roeland Jago Douma b07a8fd1fe Merge pull request #26230 from nextcloud/Valdnet-patch-4
l10n: Add word user in FederatedShareProvider.php
2021-04-12 08:35:50 +02:00
Nextcloud bot ac893e843b [tx-robot] updated from transifex 2021-04-12 02:24:55 +00:00
Valdnet 6da17a6fab l10n: Add word user in FederatedShareProvider.php
Standardizing text strings with other Nextcloud applications.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-11 13:52:54 +02:00
Roeland Jago Douma 295fee91a8 Merge pull request #26477 from nextcloud/fix/old-handlebar-template
Remove old unused handlebar systemtags template
2021-04-11 13:43:34 +02:00
Roeland Jago Douma 8fc1fff550 Merge pull request #26475 from nextcloud/Valdnet-patch-6
l10n: Correct spelling
2021-04-11 13:34:56 +02:00
Roeland Jago Douma 20b4d0ab11 Merge pull request #26487 from nextcloud/dependabot/npm_and_yarn/nextcloud/capabilities-1.0.4
Bump @nextcloud/capabilities from 1.0.2 to 1.0.4
2021-04-11 13:31:45 +02:00
dependabot-preview[bot] cc7e02c4ff Bump @babel/preset-env from 7.13.10 to 7.13.15
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.10 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-11 11:29:57 +00:00
Roeland Jago Douma d0ffd00cfe Merge pull request #26483 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.15
Bump @babel/core from 7.13.13 to 7.13.15
2021-04-11 13:27:09 +02:00
Nextcloud bot d942a5b2be [tx-robot] updated from transifex 2021-04-11 02:24:42 +00:00
Nextcloud bot bbee01117e [tx-robot] updated from transifex 2021-04-10 02:31:13 +00:00
dependabot-preview[bot] 523faee823 Bump @nextcloud/capabilities from 1.0.2 to 1.0.4
Bumps [@nextcloud/capabilities](https://github.com/nextcloud/nextcloud-capabilities) from 1.0.2 to 1.0.4.
- [Release notes](https://github.com/nextcloud/nextcloud-capabilities/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-capabilities/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-capabilities/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-10 01:21:15 +00:00
dependabot-preview[bot] cf0851fd97 Bump @babel/core from 7.13.13 to 7.13.15
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.13 to 7.13.15.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.15/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-10 01:17:59 +00:00
John Molakvoæ (skjnldsv) cd8bfbe09c Remove old unused handlebar systemtags template
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-09 14:43:40 +02:00
Valdnet 7cbb2bb595 l10n: Correct spelling
Unify the spelling in applications.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-09 11:01:01 +00:00
Joas Schilling 99e5367208 Move to another namespace and class name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-09 12:51:57 +02:00
Claas Augner 17963ea089 Mention MariaDB in MySQL support warning 2021-04-09 12:31:16 +02:00
Roeland Jago Douma 1f0fddbc69 Merge pull request #26334 from nextcloud/dependabot/npm_and_yarn/sinon-chai-3.6.0
Bump sinon-chai from 3.5.0 to 3.6.0
2021-04-09 11:48:48 +02:00
Joas Schilling ca939214bd Allow apps to log actions into the audit_log
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-09 10:32:45 +02:00
Maxime Besson 547438527d fix(proxy): reaching s3 storage behind some http proxy
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
2021-04-09 10:15:57 +02:00
Samuel 03fe74b95e fix(proxy): reaching s3 storage behind some http proxy
Signed-off-by: Maxime Besson <maxime.besson@worteks.com>
2021-04-09 10:15:57 +02:00
Roeland Jago Douma 4d390770d1 Merge pull request #26418 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.6.0
Bump webpack-cli from 4.5.0 to 4.6.0
2021-04-09 09:43:24 +02:00
Roeland Jago Douma 30ac98cdcd Merge pull request #26462 from nextcloud/dependabot/npm_and_yarn/core-js-3.10.1
Bump core-js from 3.9.1 to 3.10.1
2021-04-09 09:42:56 +02:00
Nextcloud bot 9de329a4c2 [tx-robot] updated from transifex 2021-04-09 02:25:11 +00:00
Roeland Jago Douma b43e21d186 Merge pull request #26401 from nextcloud/enh/handle-avatar-upload-errors
Show informative errors on avatar upload error
2021-04-08 16:12:36 +02:00
dependabot-preview[bot] e2645a5e70 Bump core-js from 3.9.1 to 3.10.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.9.1 to 3.10.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.10.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-08 15:50:13 +02:00
Roeland Jago Douma 2bedbc1793 Merge pull request #26439 from nextcloud/increase-subnet-matcher
Increase subnet matcher
2021-04-08 14:48:27 +02:00
Roeland Jago Douma 521a0b0ad3 Merge pull request #26448 from nextcloud/3rdparty/master/phpseclib-2.0.31
[3rdparty] phpseclib-2.0.31
2021-04-08 13:56:00 +02:00
Roeland Jago Douma 1c35507fc1 Merge pull request #26432 from nextcloud/add-node-and-make-to-default-
Add npm/nodejs/make to .devcontainer
2021-04-08 13:14:33 +02:00
Joas Schilling ba5c99729f Merge pull request #26458 from nextcloud/bugfix/noid/show-phone-icon-when-setting-is-on-private
Show icon-phone when setting is set to private instead of local
2021-04-08 13:03:22 +02:00
Roeland Jago Douma 3ab659ccaa Merge pull request #26433 from nextcloud/limit-max-length-of-properties
Limit size of properties to 2048 characters
2021-04-08 12:38:15 +02:00
Lukas Reschke 2befac662c Limit size of properties to 2048 characters
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-08 11:55:51 +02:00
Roeland Jago Douma bae1dde8fd [3rdparty] phpseclib-2.0.31
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-04-08 11:31:38 +02:00
Roeland Jago Douma 365569f51c Merge pull request #26452 from nextcloud/revert-26070-path-prefix-index
Revert "add a prefix index to filecache.path"
2021-04-08 11:27:51 +02:00
Joas Schilling aee1f7253c Show icon-phone when setting is set to private instead of local
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08 11:17:52 +02:00
Roeland Jago Douma 14ee17e5c5 Revert "add a prefix index to filecache.path" 2021-04-08 10:09:13 +02:00
Nextcloud bot 41216e68bf [tx-robot] updated from transifex 2021-04-08 02:24:01 +00:00
Lukas Reschke e5a4236e68 Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-07 12:28:59 +00:00
John Molakvoæ b9907df702 Merge pull request #26252 from Maxopoly/master
Add force option to app install command
2021-04-07 10:09:48 +02:00
Nextcloud bot c391e8692b [tx-robot] updated from transifex 2021-04-07 02:24:14 +00:00
blizzz f12fab23db Merge pull request #26431 from nextcloud/fix/comments-load-state
Fix comments maxAutoCompleteResults initial state
2021-04-06 22:36:40 +02:00
Lukas Reschke 4b4971ab52 Merge pull request #24966 from nextcloud/jknockaert-patch-1
avoid fread on directories and unencrypted files
2021-04-06 13:45:10 +02:00
Lukas Reschke 5fe1f134f9 Strictify null check
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:39:24 +00:00
Lukas Reschke d5c7bb2188 Generate autoload files
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:37:47 +00:00
Lukas Reschke 9dab851931 Adjust test
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:37:47 +00:00
Lukas Reschke 5f3abffe6f Improve networking checks
Whilst we currently state that SSRF is generally outside of our threat model, this is something where we should invest to improve this.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:37:47 +00:00
Lukas Reschke 1e08cd353b Add npm/nodejs/make to .devcontainer
This is required to build some apps such as the spreed app.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-04-06 11:35:00 +00:00
John Molakvoæ (skjnldsv) cd3b3a6fdf Fix comments maxAutoCompleteResults initial state
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-04-06 12:22:30 +02:00
Roeland Jago Douma 2056b76c5f Merge pull request #26415 from nextcloud/dependabot/npm_and_yarn/jsdom-16.5.2
Bump jsdom from 16.5.1 to 16.5.2
2021-04-06 09:48:43 +02:00
Nextcloud bot e9075b02cd [tx-robot] updated from transifex 2021-04-06 02:25:33 +00:00
J0WI 0c9b8ad051 Return early if path is root
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-04-05 17:19:34 +02:00
Nextcloud bot bb3ba96b37 [tx-robot] updated from transifex 2021-04-05 02:24:46 +00:00
Nextcloud bot bfd926938f [tx-robot] updated from transifex 2021-04-04 02:24:48 +00:00
Nextcloud bot 6f55d2e293 [tx-robot] updated from transifex 2021-04-03 02:25:32 +00:00
dependabot-preview[bot] d0879fd7a5 Bump webpack-cli from 4.5.0 to 4.6.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.5.0...webpack-cli@4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-03 01:23:09 +00:00
dependabot-preview[bot] 42987ba66d Bump jsdom from 16.5.1 to 16.5.2
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.5.1 to 16.5.2.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.5.1...16.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-03 01:19:10 +00:00
Nextcloud bot 4bea123c7a [tx-robot] updated from transifex 2021-04-02 02:26:04 +00:00
Morris Jobke 5fb909faa5 Merge pull request #24055 from nextcloud/bugfix/noid/enfore-no-notnull-for-boolean-to-store-false
Enforce no notnull for boolean to store false
2021-04-01 18:30:26 +02:00
Roeland Jago Douma 507facda8b Merge pull request #26396 from nextcloud/bugfix/noid/ro-root-template
Get the parent directory before creating a file from a template
2021-04-01 15:11:25 +02:00
Roeland Jago Douma 037411b381 Merge pull request #26403 from nextcloud/fix-26198-csrf
remove leftover debug @NoCSRFRequired introduced with #26198
2021-04-01 15:09:10 +02:00
Robin Appelman c232a40bdf remove leftover debug @NoCSRFRequired introduced with #26198
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-04-01 13:51:53 +02:00
Julius Härtl 6fd571461c Properly handle creating the template directory in a subfolder (fixes #25787)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:48:21 +02:00
Julius Härtl 37591f05dc Get the parent directory before creating a file from a template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-04-01 13:48:21 +02:00
Roeland Jago Douma bd2e6309b5 Merge pull request #25605 from nextcloud/trusted-proxy-warning-localhost
dont show trusted proxy warning when the proxy and remote are both localhost
2021-04-01 13:27:26 +02:00
Julien Veyssier 7b69897474 show informative errors in log and UI on avatar upload error in user settings
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-04-01 11:55:13 +02:00
Roeland Jago Douma 68d3640076 Merge pull request #26390 from nextcloud/techdebt/noid/increase-php-cs-speed
Increase PHP CS speed
2021-04-01 11:18:55 +02:00
Julius Härtl bbc64cfabc Merge pull request #26394 from nextcloud/feature/noid/updatable-account-data
Allow apps to write/update account data
2021-04-01 08:05:54 +02:00
Nextcloud bot f016cbe914 [tx-robot] updated from transifex 2021-04-01 02:24:40 +00:00
Morris Jobke 6a81477ffe Merge pull request #25326 from nextcloud/ldap-factory-no-ldap
make ILDAPProviderFactory usable when there is no ldap setup
2021-03-31 21:23:23 +02:00
blizzz ecf287a094 Merge pull request #26260 from hosting-de/feature/ldap-config-json
Add json, yaml output options to ldap:show-config
2021-03-31 21:12:29 +02:00
Robin Appelman 65b78515bd make ILDAPProviderFactory usable when there is no ldap setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-31 15:23:33 +02:00
Joas Schilling fcedbc85d0 Allow apps to write/update account data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 15:18:25 +02:00
John Molakvoæ 91ae7f22b0 Merge pull request #24743 from nextcloud/feat/js-licenses 2021-03-31 13:05:53 +02:00
Johannes Leuker 9660a3fa90 Add json, yaml output options to ldap:show-config
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-03-31 12:36:22 +02:00
John Molakvoæ (skjnldsv) 11437223e9 Compile node
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:34:13 +02:00
John Molakvoæ (skjnldsv) 3e624dc399 Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
John Molakvoæ (skjnldsv) 91510d95f1 Add js files to license
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
Joas Schilling 89cf1cb33a Merge pull request #26386 from nextcloud/bugfix/noid/also-check-default-phone-region-when-no-country-code
Also check the default phone region when the number has no country code
2021-03-31 10:28:51 +02:00
Joas Schilling f9d4fa2d38 Rename the method to match what it does
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 10:21:18 +02:00
Joas Schilling 3696ef5b96 Don't allow Notnull for boolean columns
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 10:21:17 +02:00
Joas Schilling 133a6f4fe4 Document the constraints we test against
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 10:21:17 +02:00
Joas Schilling c98cab137c Fix exception messages spacing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 10:21:10 +02:00
Joas Schilling c83d9cafb4 Increase PHP CS speed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 10:09:18 +02:00
Joas Schilling 2f99ae1120 Also check the default phone region when the number has no country code
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 08:45:32 +02:00
Roeland Jago Douma b67ac4ec9b Merge pull request #26385 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-31 07:27:35 +02:00
Nextcloud-PR-Bot aa7dd1839c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-31 04:12:05 +00:00
Nextcloud bot 855b5fc638 [tx-robot] updated from transifex 2021-03-31 02:24:50 +00:00
kesselb 2212a67fbc Merge pull request #25961 from nextcloud/enh/events/2fa_provider
Add real events for enabled 2fa providers for users
2021-03-30 23:13:36 +02:00
Roeland Jago Douma f3738eeff7 Merge pull request #25280 from nextcloud/explicit-file-permissions
Set umask before operations that create local files
2021-03-30 21:55:50 +02:00
Roeland Jago Douma 0a6416f84f Merge pull request #23444 from nextcloud/notify-dry-run
add dry-run option to files_external:notify
2021-03-30 21:46:27 +02:00
Roeland Jago Douma 7c30d1aa2d Merge pull request #26219 from nextcloud/relative-path-null
getRelativePath can return null
2021-03-30 21:10:05 +02:00
Roeland Jago Douma 06ae9c3dc7 Merge pull request #26372 from nextcloud/fix/noid/calm-down-recipient-not-in-grp
gracefully handle deleteFromSelf when share is already gone
2021-03-30 20:52:17 +02:00
Roeland Jago Douma 071a38a22f Merge pull request #26292 from nextcloud/smb-directory-readonly
ignore readonly flag for directories
2021-03-30 13:20:11 +02:00
Arthur Schiwon be3ae9a44b gracefully handle deleteFromSelf when share is already gone
- handling race conditions

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-30 12:59:40 +02:00
Roeland Jago Douma 08209e649c Merge pull request #26324 from J0WI/crypt-drop-openssl-09
Drop OpenSSL 0.9.8 workaround
2021-03-30 11:43:44 +02:00
Christoph Wurst c9e18218c8 Merge pull request #25318 from hho/patch-1
Fix "searchUsers" usage in Group_LDAP.php
2021-03-30 11:34:45 +02:00
Joas Schilling 76b4976f37 Merge pull request #26370 from nextcloud/bugfix/noid/kill-notifications-when-retesting
Remove notifications when retesting profile field input
2021-03-30 11:25:27 +02:00
John Molakvoæ 582ab4129d Merge pull request #25983 from nextcloud/update-acceptance-tests-dependencies 2021-03-30 10:31:37 +02:00
Joas Schilling ebc3b1f802 Remove notifications when retesting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-30 10:18:23 +02:00
Roeland Jago Douma 663f314aae Merge pull request #26336 from nextcloud/dependabot/npm_and_yarn/css-loader-5.2.0
Bump css-loader from 5.1.3 to 5.2.0
2021-03-30 09:49:48 +02:00
Roeland Jago Douma 739fb89c3e Merge pull request #26368 from nextcloud/dependabot/composer/vimeo/psalm-4.7.0
Bump vimeo/psalm from 4.6.4 to 4.7.0
2021-03-30 09:23:40 +02:00
Daniel Calviño Sánchez f216b9307a Update Mink from 1.7.1 to 1.8.1 in acceptance tests
Since version 1.8.0 of Mink "Mink::getSession()" no longer starts the
session automatically (see https://github.com/minkphp/Mink/pull/705), so
it now needs to be explicitly started.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez 7625a87412 Update Selenium driver for Mink from 1.3.1 to 1.4.0 in acceptance tests
Since version 1.4.0 the Selenium driver for Mink uses again the element
on which the value was set (see
https://github.com/minkphp/MinkSelenium2Driver/pull/286). When creating
a new folder or renaming one sending a new line ("\r") caused the
element on which the value was set to be removed, so the element was no
longer attached to the DOM when the driver tried to use it again, and
thus a "StaleElementReference" exception was thrown.

Due to this now it is needed to explicitly click the confirm button when
creating a new folder. In the case of the renaming, on the other hand,
nothing else besides not sending the new line is needed, as the Selenium
driver now unfocuses the element (that is why it uses again the element
after setting the value) which triggers the renaming.

Besides that, the Selenium driver for Mink uses a library to simulate
certain events, bitovi/syn. In version 1.4.0 that library was updated to
version 0.0.3, which seems to somehow break pressing the "escape" key.
Due to this now the sharing menu has to be closed by pressing "enter" on
the share menu button instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez 223b36e851 Update Behat from 3.7.0 to 3.8.1 in acceptance tests
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:16 +02:00
Daniel Calviño Sánchez b53f49b940 Update PHPUnit from 4.X to 6.X in acceptance tests
The PHPUnit update also required an update of "symfony/yaml", so besides
the changes needed for PHPUnit the "behat.yml" file also had to be
adjusted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-30 08:35:15 +02:00
Julius Härtl 59d567e864 Merge pull request #26367 from nextcloud/dependabot/npm_and_yarn/y18n-4.0.1
[Security] Bump y18n from 4.0.0 to 4.0.1
2021-03-30 08:10:10 +02:00
Nextcloud bot a9ff9670fa [tx-robot] updated from transifex 2021-03-30 02:24:18 +00:00
dependabot-preview[bot] e7f1ebaf29 Bump vimeo/psalm from 4.6.4 to 4.7.0
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.6.4 to 4.7.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.6.4...4.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-30 01:14:32 +00:00
dependabot-preview[bot] 6e2972fb65 [Security] Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 19:17:12 +00:00
Roeland Jago Douma 30e2233354 Merge pull request #26355 from nextcloud/bugfix/noid/wording-fixes-for-phone-number-integration
Fix working for phone number integration
2021-03-29 21:03:57 +02:00
Roeland Jago Douma e77088c7e8 Merge pull request #26361 from nextcloud/dependabot/npm_and_yarn/build/y18n-4.0.1
[Security] Bump y18n from 4.0.0 to 4.0.1 in /build
2021-03-29 20:49:55 +02:00
Roeland Jago Douma 2dd565a253 Merge pull request #26335 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.13
Bump @babel/core from 7.13.10 to 7.13.13
2021-03-29 20:44:02 +02:00
Roeland Jago Douma 60835646be Merge pull request #26333 from nextcloud/dependabot/npm_and_yarn/debounce-1.2.1
Bump debounce from 1.2.0 to 1.2.1
2021-03-29 20:41:25 +02:00
Roeland Jago Douma d8160fb2ad Merge pull request #26325 from J0WI/crypt-config-sample
Update cipher defaults
2021-03-29 20:38:10 +02:00
dependabot-preview[bot] c7b83a8d4a [Security] Bump y18n from 4.0.0 to 4.0.1 in /build
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. **This update includes a security fix.**
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 17:30:08 +00:00
Joas Schilling 6ae3de247d Fix working for phone number integration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 17:04:32 +02:00
Morris Jobke f8bad86097 Merge pull request #26342 from pirate/cal-invite-email-use-pngs
Fix broken Calendar Event Invite email icons in Gmail by using PNGs instead of SVGs
2021-03-29 11:01:46 +02:00
Joas Schilling 8d3fdf24c8 Merge pull request #26353 from nextcloud/techdebt/noid/make-testcase-class-compatible-with-phpunit-9.5
Make Testcase class compatible with phpunit-9.5
2021-03-29 10:47:37 +02:00
Julius Härtl 6bef9e71da Merge pull request #26337 from nextcloud/dependabot/npm_and_yarn/url-search-params-polyfill-8.1.1
Bump url-search-params-polyfill from 8.1.0 to 8.1.1
2021-03-29 10:33:38 +02:00
Joas Schilling cd35a5c71d Make Testcase class compatible with phpunit-9.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-29 09:43:08 +02:00
dependabot-preview[bot] e2216d44fd Bump url-search-params-polyfill from 8.1.0 to 8.1.1
Bumps [url-search-params-polyfill](https://github.com/jerrybendy/url-search-params-polyfill) from 8.1.0 to 8.1.1.
- [Release notes](https://github.com/jerrybendy/url-search-params-polyfill/releases)
- [Commits](https://github.com/jerrybendy/url-search-params-polyfill/compare/v8.1.0...v8.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-29 07:41:21 +00:00
Joas Schilling 602de272c0 Merge pull request #26243 from nextcloud/enh/noid/avatar-privacy-new-scope
Avatar privacy and new scope
2021-03-29 09:01:12 +02:00
Nextcloud bot 4564121c56 [tx-robot] updated from transifex 2021-03-29 02:23:55 +00:00
Roeland Jago Douma 1175c0d832 Merge pull request #26348 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-28 08:45:22 +02:00
Nextcloud-PR-Bot 3b5cb333e4 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-28 04:12:03 +00:00
Nextcloud bot be83a32411 [tx-robot] updated from transifex 2021-03-28 02:24:04 +00:00
Morris Jobke 83c7b54ba6 Merge pull request #26327 from nextcloud/fix-get-return
fix return value of Root::get
2021-03-27 22:26:32 +01:00
J0WI d58d6199d9 Cleaner normalizePath regex
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-27 21:29:28 +01:00
J0WI 5f468c0248 Cleaner removePassword regex
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-27 18:42:58 +01:00
Nick Sweeting 8c6f0aa3d2 change calendar invite emails to use pngs instead of svgs
Signed-off-by: Nick Sweeting <git@sweeting.me>
2021-03-26 23:57:48 -04:00
Nextcloud bot aec9c8437a [tx-robot] updated from transifex 2021-03-27 02:24:25 +00:00
dependabot-preview[bot] b561bac2a7 Bump css-loader from 5.1.3 to 5.2.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.3 to 5.2.0.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.3...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:23:19 +00:00
dependabot-preview[bot] a2d0f06645 Bump @babel/core from 7.13.10 to 7.13.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.10 to 7.13.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.13/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:22:05 +00:00
dependabot-preview[bot] 754b8e017f Bump sinon-chai from 3.5.0 to 3.6.0
Bumps [sinon-chai](https://github.com/domenic/sinon-chai) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/domenic/sinon-chai/releases)
- [Changelog](https://github.com/domenic/sinon-chai/blob/master/CHANGELOG.md)
- [Commits](https://github.com/domenic/sinon-chai/compare/3.5.0...3.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:20:51 +00:00
dependabot-preview[bot] afa4354c22 Bump debounce from 1.2.0 to 1.2.1
Bumps [debounce](https://github.com/component/debounce) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/component/debounce/releases)
- [Changelog](https://github.com/component/debounce/blob/master/History.md)
- [Commits](https://github.com/component/debounce/compare/1.2.0...1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-27 02:19:33 +00:00
Robin Appelman c8736e7a23 fix return value of Root::get
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-26 21:29:24 +01:00
J0WI fdd1ff2686 Update cipher defaults
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:39:08 +01:00
J0WI e617361250 Use constant for supported formats
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:24:04 +01:00
J0WI 21494a5b7b Drop OpenSSL 0.9.8 workaround
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2021-03-26 19:23:10 +01:00
Vincent Petry 00d83a5db0 Capability for federated scope
Added additional capability in the provisioning API to signal whether
the federation scope values can be used.

This is based on whether the lookup server upload is enabled or not.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 16:54:47 +01:00
Vincent Petry 5a8b7c1cb2 Update autoloader for PlaceholderAvatar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry 98e4ac39bc Int tests for provisioning API scopes
Added integration tests for the scope attributes in the provisioning
API.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry cc54f718f5 Add known user check in avatar when v2-private scope
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry 5b7a94f84c Update psalm-baseline for Avatar API quirks
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:10 +01:00
Vincent Petry aac7b52c66 Change account property capability
Include version number in capability

Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2021-03-26 13:07:10 +01:00
Vincent Petry bb008be28a Added PlaceholderAvatar with own cached images
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.

This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry b66af8a432 Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry b73df5846c Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry cb9d25c162 Enhance UsersControllerTest of provisioning API with scopes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry 2a312fe4e3 Expose avatarScope through provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:09 +01:00
Vincent Petry 266a6fb5f8 OCS allow reading and writing account property scopes
Extends the provisioning API to allow a user to get and set their own
account property scopes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry 5d14fd4396 Make extra user profile fields always editable
The fields for phone number, address, website and twitter are now
editable regardless whether federated sharing and the lookup server
are enabled or not.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry 278a73789e Map old account scope properties to new names
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry 9fb447ea42 Adjust scopes menu based on conditions
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:08 +01:00
Vincent Petry b81a1c1bdb Add new v2-private account scope
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.

Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-26 13:07:05 +01:00
Roeland Jago Douma a75f0e62fa Merge pull request #26308 from nextcloud/enhancement/timed-job-interval-description
Document that the TimedJob interval is in seconds
2021-03-26 10:45:50 +01:00
Roeland Jago Douma 9fd29173cf Merge pull request #26281 from hosting-de/fix/email
Change my email address
2021-03-26 09:59:35 +01:00
Christoph Wurst 389623a910 Document that the TimedJob interval is in seconds
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-26 09:13:05 +01:00
John Molakvoæ fbbcf26099 Merge pull request #22201 from cweiske/20492-move-contacts-with-birthday
Delete old birthday calendar object when moving contact to another ad…
2021-03-26 07:59:16 +01:00
Christian Weiske 8ee995f214 Delete old birthday calendar object when moving contact to another address book
When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.

To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.

Resolves: https://github.com/nextcloud/server/issues/20492
Signed-off-by: Christian Weiske <cweiske@cweiske.de>
2021-03-26 07:31:16 +01:00
Morris Jobke 09718c20aa Merge pull request #26304 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-26 07:08:10 +01:00
Nextcloud-PR-Bot 3319ed8aca Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-26 04:16:04 +00:00
Nextcloud bot 630eddf41b [tx-robot] updated from transifex 2021-03-26 02:25:32 +00:00
Morris Jobke c25daf5df7 Merge pull request #26299 from nextcloud/enh/noid/log-storage-unavailable
Log when a storage is marked as unavailable
2021-03-25 17:08:13 +01:00
Morris Jobke 81fef4ddee Log when a storage is marked as unavailable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-25 16:19:08 +01:00
Roeland Jago Douma 570c25c861 Merge pull request #26287 from nextcloud/Valdnet-patch-6
Fix l10n
2021-03-25 13:14:15 +01:00
Robin Appelman 43f70e5817 ignore readonly flag for directories
see http://support.microsoft.com/kb/326549

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-25 12:03:09 +01:00
Roeland Jago Douma f97491eb8f Merge pull request #26285 from nextcloud/techdebt/noid/cleanup-update-events
Remove event listener to udpate events that are not present anymore
2021-03-25 11:12:34 +01:00
Valdnet 107bbebb6c Fix l10n
Issue: #26286
2021-03-25 10:26:50 +01:00
Christoph Wurst fab7c84b92 Merge pull request #26283 from nextcloud/revert-25721-do-not-target-vue-buttons
Revert "Do not target vue buttons with server rules"
2021-03-25 09:16:34 +01:00
Morris Jobke ad16b19ec7 Merge pull request #21484 from nextcloud/better-forbidden-path-errors
show better error messages when a file with a forbidden path is encountered
2021-03-25 09:15:52 +01:00
Morris Jobke 3388758d04 Remove event listener to udpate events that are not present anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-25 09:01:09 +01:00
Roeland Jago Douma c15172bc4e Merge pull request #21641 from nextcloud/techdebt/noid/bye-bye-database-xml
Bye bye database xml
2021-03-25 08:58:07 +01:00
Nextcloud bot 9af8c0b380 [tx-robot] updated from transifex 2021-03-25 02:25:39 +00:00
Morris Jobke ab48d5e8cb Cleanup unneeded code around database.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-24 22:15:44 +01:00
Morris Jobke 2a749882e7 Merge pull request #26282 from nextcloud/psalm/avatar/data
improve type handling of Avatar::generateAvatarFromSvg
2021-03-24 21:46:21 +01:00
Joas Schilling bb0c50717c Bye bye database.xml
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-24 20:04:12 +01:00
Greta 6078eab30b Revert "Do not target vue buttons with server rules"
Signed-off-by: GretaD <gretadoci@gmail.com>
2021-03-24 20:03:57 +01:00
Robin Appelman aee4caed07 show better error messages when a file with a forbidden path is encountered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 17:13:09 +01:00
Robin Appelman db0e198fe0 improve type handling of Avatar::generateAvatarFromSv
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 17:09:53 +01:00
Joas Schilling 6e40c2fb52 Merge pull request #26274 from nextcloud/bugfix/noid/make-debugging-easier
Make debugging easier which header is being set
2021-03-24 15:24:49 +01:00
Johannes Leuker e9ca59ef0a Change my email address
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-03-24 15:13:56 +01:00
Robin Appelman 8a92229485 getStorage can also return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 14:56:40 +01:00
Robin Appelman e8184eaaad proper error for search results outside user folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 14:33:35 +01:00
Robin Appelman f842608c95 getRelativePath can return null
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 14:30:29 +01:00
Robin Appelman 98c3eb6cad add dry-run option to files_external:notify
and add some additional logging

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-24 14:28:04 +01:00
Joas Schilling 4406092fd6 Merge pull request #26265 from nextcloud/bugfix/noid/fix-php8-setup-failures
Fix casing of core test folder, bring back missing tests
2021-03-24 13:25:03 +01:00
Joas Schilling 02c011c4f7 Make debugging easier which header is being set
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-24 13:22:44 +01:00
John Molakvoæ 057c72d38b Merge pull request #26270 from nextcloud/fix/invalid-source-storage-path
Catch invalid cache source storage path
2021-03-24 12:01:46 +01:00
John Molakvoæ (skjnldsv) 2074d87d0c Catch invalid cache source storage path
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-24 10:36:51 +01:00
Vincent Petry 39a6d99526 Fix language codes test result order
Fixes issue with Oracle by enforcing the order of the results to check.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24 10:26:06 +01:00
John Molakvoæ da6019df67 Merge pull request #26255 from nextcloud/Valdnet-patch-6
l10n: Separate ellipsis
2021-03-24 09:13:20 +01:00
Vincent Petry 8b92776be4 Bring back forgotten tests
Remove "ocs-provider" test folder reference as it doesn't exist any
more.
Added back "Test" test subdir and fixed the tests inside.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24 09:07:54 +01:00
Vincent Petry 95e03fba2d Fix more controller tests in Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24 09:02:19 +01:00
Vincent Petry 9b8ca1697a Fix more tests in the Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-24 08:48:28 +01:00
Roeland Jago Douma 04e98bf0d6 Merge pull request #26269 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-24 07:16:03 +01:00
Nextcloud-PR-Bot 80409b2181 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-24 04:10:58 +00:00
Nextcloud bot bb8a71266e [tx-robot] updated from transifex 2021-03-24 02:25:07 +00:00
Vincent Petry c467f64848 Fix core tests command for app enabling/disabling
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-23 20:40:28 +01:00
Vincent Petry e210e8e35a Fix casing of core test folder
It seems Phpunit < 9 was case insensitive.
Fixed the phpunit config to target the correct name for the "Core" test
directory.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-23 18:12:46 +01:00
Robin Appelman e5dc1a8085 Set umask before operations that create local files
this solves issues where "other php stuff" is messing with the umask

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 14:52:31 +01:00
Robin Appelman 7995c6e1dc dont return private storage interface from public mount interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-23 12:25:37 +01:00
Valdnet 21db5bf9b9 l10n: Separate ellipsis
Unifying the text string with the others.
2021-03-23 09:12:52 +01:00
Roeland Jago Douma a219fa587a Merge pull request #25776 from nextcloud/fix/sabre-file-checksum-no-file-info
Only write checksum if we have a valid file info
2021-03-23 08:59:21 +01:00
Christoph Wurst 24ec924586 Merge pull request #26033 from nextcloud/enh/comments/to_initialstate
Move comments to initial state
2021-03-23 08:33:42 +01:00
Roeland Jago Douma 9c9cac6689 Merge pull request #26253 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-23 07:26:13 +01:00
Nextcloud-PR-Bot 069af5931f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-23 04:35:21 +00:00
Nextcloud bot a81408a8e1 [tx-robot] updated from transifex 2021-03-23 02:24:02 +00:00
Maxopoly 1f93721097 Add force option to app install command
Signed-off-by: Maxopoly <max@dermax.org>
2021-03-22 23:49:13 +01:00
Morris Jobke 1c074e7602 Merge pull request #26198 from nextcloud/unified-search-node
Handle limit offset and sorting in files search
2021-03-22 21:48:51 +01:00
Roeland Jago Douma 8988406789 Move comments to initial state
* Do not extend the jssettings
* Just use the proper intial state
* Use it in the js code as well

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-22 20:31:56 +00:00
Morris Jobke 1eb084cfd3 Merge pull request #25498 from Worteks/feat-federatedfilesharing-logging
feat(federatedfilesharing): log errors, as suggested by @maxbes
2021-03-22 21:21:53 +01:00
Christoph Wurst 8152189b09 Only write checksum if we have a valid file info
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-22 21:11:07 +01:00
Morris Jobke 268acd301d Merge pull request #25529 from nextcloud/fix-non-lgc-glyphs-in-avatars-and-txt-file-previews
Fix non LGC glyphs in avatars and txt file previews
2021-03-22 21:06:22 +01:00
Roeland Jago Douma 3c5cf825b3 Add real events for enabled 2fa providers for users
* Shiny new events
* Listener to still emit the old event

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-22 20:57:10 +01:00
Roeland Jago Douma 90909ab9b9 Merge pull request #26149 from nextcloud/fix/ownership-transfer-ready-encryption
Only perform login check during ownership transfer for encryption
2021-03-22 20:28:25 +01:00
Roeland Jago Douma 51823ade26 Merge pull request #26247 from nextcloud/bugfix/noid/product-name-on-updater
Bugfix/noid/product name on updater
2021-03-22 19:44:06 +01:00
Joas Schilling f35d7adf7d Don't hardcode the product name to Nextcloud but use the theming value
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 16:32:35 +01:00
Joas Schilling 7f3a5de20c Use the product name in the updater screen
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-22 16:31:50 +01:00
John Molakvoæ 6b4cfc5805 Merge pull request #26231 from nextcloud/Valdnet-patch-6
l10n: Add words user and because in ShareByMailProvider.php
2021-03-22 09:42:01 +01:00
Roeland Jago Douma 1de45da3b6 Merge pull request #26223 from nextcloud/dependabot/npm_and_yarn/mocha-8.3.2
Bump mocha from 8.3.0 to 8.3.2
2021-03-22 09:19:26 +01:00
Valdnet 1dab60a79d l10n: Add changes to text string for user 2021-03-22 09:01:45 +01:00
Roeland Jago Douma d3647dcc17 Merge pull request #24364 from nextcloud/fix/sharing-mail-link-parity
Sharing link & mail parity
2021-03-22 07:56:10 +01:00
John Molakvoæ (skjnldsv) 15767643f2 Fix sharebymail tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:47 +01:00
Daniel Calviño Sánchez f99876997a Remove duplicated query for email shares
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-22 06:50:47 +01:00
John Molakvoæ (skjnldsv) 0f3f6a6c54 Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:47 +01:00
John Molakvoæ (skjnldsv) a100186e5e Sharing link & mail parity
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:50:45 +01:00
John Molakvoæ (skjnldsv) 5e519fe17a Clear the input after adding a new share
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:41:33 +01:00
John Molakvoæ (skjnldsv) c47e79fc67 Handle enforced password for mail shares in the WebUI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:40:43 +01:00
John Molakvoæ (skjnldsv) c8e0809d43 Extract GeneratePassword function to its own file
This is needed to be able to use the function from other components.

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:40:41 +01:00
John Molakvoæ (skjnldsv) 100d5d9a47 Add labels to mail shares
Now the email is shown on a second line if a label is set.

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-22 06:34:09 +01:00
Nextcloud bot ae19cb168f [tx-robot] updated from transifex 2021-03-22 02:23:45 +00:00
Morris Jobke 9e9b014e31 Merge pull request #26046 from nextcloud/smb-3.4.0
update icewind/smb to 3.4.0
2021-03-21 21:05:57 +01:00
Morris Jobke fac3c1d278 Merge pull request #26229 from nextcloud/dependaroeland/libphonnumber
[3rdparty] Bump giggsey/libphonenumber-for-php to 8.12.20
2021-03-21 21:03:19 +01:00
Nextcloud bot 8c7e246d98 [tx-robot] updated from transifex 2021-03-21 02:23:12 +00:00
Roeland Jago Douma 1341dc329f Merge pull request #26098 from nextcloud/dependabot/npm_and_yarn/marked-2.0.1
Bump marked from 2.0.0 to 2.0.1
2021-03-20 18:01:41 +01:00
Valdnet 4b4b1f6ff1 l10n: Add word user in ShareByMailProvider.php
Standardizing text strings with other Nextcloud applications.
2021-03-20 15:37:32 +01:00
dependabot-preview[bot] c5c6d19676 Bump marked from 2.0.0 to 2.0.1
Bumps [marked](https://github.com/markedjs/marked) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-20 15:35:43 +01:00
Roeland Jago Douma 16b1c02848 Merge pull request #26101 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.10
Bump @babel/core from 7.13.8 to 7.13.10
2021-03-20 15:01:29 +01:00
dependabot-preview[bot] 7cc982df54 Merge pull request #26103 from nextcloud/dependabot/npm_and_yarn/clipboard-2.0.8 2021-03-20 13:18:33 +00:00
dependabot-preview[bot] 017537ab95 Bump clipboard from 2.0.6 to 2.0.8
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.6 to 2.0.8.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.6...v2.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-20 12:46:13 +00:00
Roeland Jago Douma 7baa7e7597 [3rdparty] Bump giggsey/libphonenumber-for-php to 8.12.20
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-20 13:36:14 +01:00
dependabot-preview[bot] ed86c2c651 Bump mocha from 8.3.0 to 8.3.2
Bumps [mocha](https://github.com/mochajs/mocha) from 8.3.0 to 8.3.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.3.0...v8.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-20 12:22:42 +00:00
dependabot-preview[bot] 004789fd36 Merge pull request #26102 from nextcloud/dependabot/npm_and_yarn/jsdom-16.5.1 2021-03-20 12:19:52 +00:00
dependabot-preview[bot] 875c41f954 Merge pull request #26104 from nextcloud/dependabot/npm_and_yarn/dompurify-2.2.7 2021-03-20 11:42:39 +00:00
dependabot-preview[bot] 387370fd37 Bump dompurify from 2.2.6 to 2.2.7
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.2.6 to 2.2.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.2.6...2.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-20 11:43:39 +01:00
Roeland Jago Douma 78e5120d98 Merge pull request #26213 from nextcloud/wiswedel/fix/style/files/settingsDisplacement
Removed unnecessary padding
2021-03-20 10:54:27 +01:00
Roeland Jago Douma bebc6a4bd2 Merge pull request #26222 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.3
Bump css-loader from 5.1.2 to 5.1.3
2021-03-20 10:50:00 +01:00
Nextcloud bot cb2745a541 [tx-robot] updated from transifex 2021-03-20 02:23:44 +00:00
dependabot-preview[bot] 350c8f1e33 Bump css-loader from 5.1.2 to 5.1.3
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-20 02:19:15 +00:00
Morris Jobke f2969dc9ca Merge pull request #26212 from nextcloud/fix-dashboard-background
Make background cover whole viewport
2021-03-19 20:30:49 +01:00
Morris Jobke 2cae541a1a Merge pull request #26070 from nextcloud/path-prefix-index
add a prefix index to filecache.path
2021-03-19 20:21:36 +01:00
Robin Appelman b28f0a0e94 add a prefix index to filecache.path
The reason that `filecache.path` hasn't had an index added is the mysql limitation of ~1kb for indexeded fields,
which is to small for the `path`, however mysql supports indexing only the first N bytes of a column instead of the entire column,
allowing us to add an index even if the column is to long.

Because the index doesn't cover the entire column it can't be used in all situations where a normal index would be used, but it does cover the `path like 'folder/path/%'` queries that are used in various places.

Sqlite and Postgresql don't support prefix indexes, but they also don't have the 1kb limit and DBAL handles the differences in index creation.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 18:52:25 +01:00
Vincent Petry cdb1d3468b Merge pull request #26061 from nextcloud/bugfix/noid/encryption-update-failure
Log and continue when failing to update encryption keys during for individual files
2021-03-19 17:36:34 +01:00
Robin Appelman b38618c813 use node search api for legacy file search endpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 16:08:01 +01:00
Robin Appelman a0fb6d2518 pass order from unified search to file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 16:07:57 +01:00
Robin Appelman bfe3712372 handle ordering in folder search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 16:07:54 +01:00
Morris Jobke fb09f3d31d Merge pull request #26145 from nextcloud/smb-force-write-option
add (hidden) option to always show smb root as writable
2021-03-19 15:31:04 +01:00
Vincent Petry e6fd9b2f55 Merge pull request #25129 from nextcloud/bugfix/smb-notify-subpath
Fix files_external:notify command when running withing a subdirectory
2021-03-19 14:53:16 +01:00
Sascha Wiswedel 8b145c7858 Removed unnecessary padding
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-03-19 14:24:10 +01:00
Vincent Petry 82891cd498 Fix phpcs issues in encryption update
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-19 14:12:10 +01:00
Julius Härtl 76170a58eb Log and continue when failing to update encryption keys during for individual files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-19 14:12:07 +01:00
Jo Sprague dc1413cad9 Make background cover whole viewport
Without a min-height, wider viewports can result in a blank white space at the bottom of the screen. This CSS ensures that doesn't happen.

Signed-off-by: Jo Sprague <git@josprague.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-19 14:06:22 +01:00
Robin Appelman feed42dd6d folder filtering in sql
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 13:41:00 +01:00
Roeland Jago Douma 1286848731 Merge pull request #23718 from nextcloud/already-shared-error-message
expand 'path is already shared' error message
2021-03-19 13:39:22 +01:00
Robin Appelman de713967c0 cleanup fileinfo creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-19 13:35:37 +01:00
Julien Veyssier 086cf56b21 Merge pull request #26196 from nextcloud/fix/app-sidebar-description-slot
Adapt files and app settings to @nc/vue changes
2021-03-19 13:32:46 +01:00
Julien Veyssier 3c172ce600 adapt files and app settings sidebar 'primary-actions' slot that became 'description' in @nc/vue v3.3.0
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-19 12:56:35 +01:00
Christoph Wurst e68c4a4ed3 Only perform login check during ownership transfer for encryption
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-19 11:25:56 +01:00
Vincent Petry 7bf5adb1fa Merge pull request #26200 from nextcloud/bugfix/26197/fix-expiration-validation-confusion
Update user share must use correct expiration validation
2021-03-19 10:51:21 +01:00
Nextcloud bot 9e70b83f13 [tx-robot] updated from transifex 2021-03-19 02:24:56 +00:00
Robin Appelman a428f7d1e0 format
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 17:44:30 +01:00
Robin Appelman bd229e7548 handle limit and offset in folder file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 17:38:31 +01:00
Robin Appelman 50e374c12f only require user to be set in a query that handles tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 17:16:28 +01:00
Vincent Petry a9e3d2a10f Update user share must use correct expiration validation
Updating a user or group share now uses the correct method for the
validation of the expiration date. Instead of using the one from links
it uses the one for internal shares.

To avoid future confusion, the method "validateExpirationDate" has been
renamed to "validateExpirationDateLink".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-18 17:12:28 +01:00
John Molakvoæ 6ade109b60 Merge pull request #26194 from nextcloud/techdebt/noid/remove-duplicate-sharing-unit-integration-tests-group-permission
Remove duplicate unit test in sharing that checks for group permission updates
2021-03-18 16:37:29 +01:00
Robin Appelman f8bca545df unify handling of Folder::search methods into "new" query objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 16:35:41 +01:00
Robin Appelman 14a1b5063e use "newer" node search api directly in unified search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 16:22:29 +01:00
Roeland Jago Douma 8f22d48f7a Merge pull request #26189 from nextcloud/techdept/qbmapper-execute-update-query
Use executeQuery and executeUpdate in the QBMapper
2021-03-18 16:17:54 +01:00
Christoph Wurst 0d8b3baf61 Use executeQuery and executeUpdate in the QBMapper
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-18 15:40:18 +01:00
Morris Jobke b34035f845 Merge pull request #26193 from nextcloud/techdebt/noid/remove-sharing-duplicate-unit-integration-tests
Permission tests for the sharing are fully covered in sharing v1 integration tests
2021-03-18 11:34:15 +01:00
Morris Jobke d650de13a4 Remove duplicate unit test in sharing that checks for group permission updates
* it was skipped before anyways
* it is covered for example in build/integration/sharing_features/sharing-v1-part3.feature#L517-L548 (see https://github.com/nextcloud/server/blob/54f8f75f6f82ca102b1cfdb88caf0d06e6c9ba31/build/integration/sharing_features/sharing-v1-part3.feature#L517-L548)
* more permission updates are tested in the webdav section, where an OCS API is called and the WebDAV response is checked for the properly changed permission

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-18 10:31:56 +01:00
Morris Jobke e6bd23acf9 Permission tests for the sharing are fully covered in sharing v1 integration tests
See build/integration/sharing_features/sharing-v1*.features for the exact same tests. Especially part3 that covers most of the different permission setups over webdav.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-18 10:15:42 +01:00
kesselb dd39f5e871 Merge pull request #25112 from nextcloud/repair-exception
dont error the entire repair process when a repair step errors
2021-03-18 10:14:47 +01:00
Morris Jobke 6401d88283 Merge pull request #25331 from nextcloud/fix-valid-storages-removed-when-cleaning-remote-storages
Fix valid storages removed when cleaning remote storages
2021-03-18 08:57:09 +01:00
Robin Appelman 9e3775618b log full expection during repair step
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 08:45:17 +01:00
Robin Appelman 9135a42781 make repair errors more visible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 08:45:16 +01:00
Robin Appelman c75b82adbb dont error the entire repair process when a repair step errors
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-18 08:45:16 +01:00
Morris Jobke 5cdc3e9c9d Merge pull request #26188 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-18 08:30:44 +01:00
Nextcloud-PR-Bot 3959313b2c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-18 04:34:21 +00:00
Nextcloud bot a186d08471 [tx-robot] updated from transifex 2021-03-18 02:25:02 +00:00
Tom Grant 23dbbca1a0 Fix indentation error
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-03-17 23:04:15 +00:00
tgrant f1710b57bc Fix null displayname crash as described in #21885
Signed-off-by: tgrant <tom.grant760@gmail.com>
2021-03-17 23:04:15 +00:00
Morris Jobke 37feee4e87 Merge pull request #24384 from nextcloud/cleanup/remove-old-migration-check
Remove dead code from checking core/apps before upgrades
2021-03-17 21:29:19 +01:00
Julius Härtl a2f3077ee8 Skip db migration simulation for core schema changes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-17 21:08:22 +01:00
Morris Jobke 459e0b311b Merge pull request #25924 from nextcloud/bugfix/noid/only-mark-migrations-as-installed-after-executing-them-in-case-the-developer-broke-them
Only mark migrations as installed after execution
2021-03-17 20:29:28 +01:00
Morris Jobke f56e5bb0db Merge pull request #25676 from nextcloud/drop/utl-is-ie
Drop \OCP\Util::isIe
2021-03-17 20:18:11 +01:00
John Molakvoæ f1fefd91df Merge pull request #26160 from nextcloud/enh/eslint 2021-03-17 18:14:31 +01:00
Morris Jobke 6867ba8e33 Merge pull request #24580 from nextcloud/enh/noid/db-convert
DB conversion: improve console output
2021-03-17 17:52:42 +01:00
Joas Schilling 0d46fafd41 Merge pull request #26161 from nextcloud/bugfix/noid/improve-matching-of-phonebook-searches
Improve search results when only phonebook-matches can we autocompleted
2021-03-17 15:22:03 +01:00
John Molakvoæ (skjnldsv) 87d39375d8 Fix comments filesplugin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 14:45:29 +01:00
Morris Jobke d011df6aa7 Merge pull request #26076 from nextcloud/enh/noid/ldap-occ-user-reset
adds ldap user:reset command
2021-03-17 14:36:18 +01:00
Simon Spannagel 244e13cd43 DB conversion: improve console output
Signed-off-by: Simon Spannagel <simonspa@kth.se>
2021-03-17 14:35:40 +01:00
Morris Jobke 2445b9491e Merge pull request #26172 from nextcloud/techdebt/noid/code-checker-is-noop
occ app:check-code is noop
2021-03-17 13:45:09 +01:00
John Molakvoæ (skjnldsv) 043b5a9de4 Fix TerserPlugin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:39 +01:00
John Molakvoæ (skjnldsv) 5d9bb5e247 Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
John Molakvoæ (skjnldsv) fb183b457c Add eslint testing
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
dependabot-preview[bot] 1b5db252c5 Merge pull request #26165 from nextcloud/dependabot/composer/vimeo/psalm-4.6.4 2021-03-17 10:47:44 +00:00
Joas Schilling 68a402d889 occ app:check-code is noop
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-17 11:29:53 +01:00
Arthur Schiwon 1b0355f2c6 adds ldap user:reset command
- allows to delete data of existing LDAP users, which otherwise is safe
  guarded
- ensures that the user is not being deleted on LDAP through a plugin

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-17 11:23:48 +01:00
Joas Schilling cf434d5107 Also limit to user group in case enumeration is enabled for groups and phonenumbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-17 11:20:30 +01:00
Vincent Petry ab5c19bb08 Merge pull request #26131 from nextcloud/fix/initialstate-templates
Fix default missing initial state for templates
2021-03-17 10:18:03 +01:00
dependabot-preview[bot] 958d6e2f34 Bump vimeo/psalm from 4.6.2 to 4.6.4
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.6.2 to 4.6.4.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.6.2...4.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-17 09:05:25 +00:00
Joas Schilling 3379e69ecc Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-17 09:51:31 +01:00
Joas Schilling 47e14c9a79 Add missing index on the user column
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-17 09:51:31 +01:00
Joas Schilling 9a189bc710 Improve search results when only phonebook-matches can we autocompleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-17 09:51:31 +01:00
Vincent Petry 98fb265e9f Merge pull request #26153 from nextcloud/psalm/26111/fix-undefined-exception-class
Use correct exception type hint in catch statement
2021-03-17 09:41:47 +01:00
Nextcloud bot 096806087c [tx-robot] updated from transifex 2021-03-17 02:24:19 +00:00
Morris Jobke 0f2c4ff64c Use correct exception type hint in catch statement
Found by psalm update 4.6.2 to 4.6.3 in #26111

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2021-03-16 22:06:07 +01:00
Robin Appelman 5938da8d20 Merge pull request #26137 from nextcloud/block-__groupfolders-uid
dont allow creating users with __groupfolders as uid
2021-03-16 18:47:40 +00:00
Robin Appelman dd477d30f9 dont allow creating users with __groupfolders as uid
Fixes https://github.com/nextcloud/groupfolders/issues/338

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16 19:03:10 +01:00
Robin Appelman f1e2fb426e Merge pull request #26013 from nextcloud/object-store-copy-cache-id
Return the fileid from `copyFromCache` and use it instead of doing an extra query
2021-03-16 16:11:17 +00:00
Robin Appelman 5ffaa94fbc add (hidden) option to always show smb root as writable
some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.

This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.

This can be enabled using

```bash
occ files_external:config <mount id> root_force_writable true
```

where you can find your mount id using

```bash
occ files_external:list
```

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-16 15:35:35 +01:00
Joas Schilling 7a09b7d60e Merge pull request #26143 from nextcloud/techdebt/noid/fix-cs
Fix CS in CacheTest
2021-03-16 12:50:07 +01:00
Joas Schilling ccaa131e96 Merge pull request #26144 from nextcloud/funding
Add funding info
2021-03-16 12:49:06 +01:00
tobiasKaminsky bfb535b2b2 Add funding info
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-03-16 11:44:59 +01:00
Vincent Petry c6d2d8746c Fix CS in CacheTest
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-16 11:43:53 +01:00
Nextcloud bot 72e6201869 [tx-robot] updated from transifex 2021-03-16 02:24:42 +00:00
Vincent Petry e559afb8d4 Merge pull request #25136 from nextcloud/cachejail-search-filter
do cachejail search filtering in sql
2021-03-15 17:45:30 +01:00
John Molakvoæ (skjnldsv) 223fe2aae6 Fix default missing initial state for templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-15 17:23:30 +01:00
Robin Appelman a550649708 expand 'path is already shared' error message
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-15 15:55:08 +01:00
Morris Jobke f512705f8f Merge pull request #26003 from nextcloud/enh/simplefile/getid
Add getID function to the simplefile implementation
2021-03-15 14:41:15 +01:00
kesselb 2a55a892f0 Merge pull request #26115 from nextcloud/enh/noid/log-share-exceptions
Log exceptions when creating share
2021-03-15 14:15:06 +01:00
Vincent Petry 6997344931 Log exceptions when creating share
Because the exceptions don't always contain a useful message for the UI,
but also because in some cases we need to find out what went wrong.

In some setups, a ShareNotFoundException might happen during creation
when we try to re-read the just written share. Usually related to Galera
Cluster where node syncing wait is not enabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-15 12:00:41 +01:00
Nextcloud bot f82edda9c1 [tx-robot] updated from transifex 2021-03-15 02:23:58 +00:00
Nextcloud bot 44ce623923 [tx-robot] updated from transifex 2021-03-14 02:23:41 +00:00
dependabot-preview[bot] 51a03f4114 Merge pull request #26097 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.2 2021-03-13 06:06:40 +00:00
dependabot-preview[bot] 2530bb6357 Bump @babel/core from 7.13.8 to 7.13.10
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.13.8 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-13 04:35:43 +00:00
dependabot-preview[bot] 0a1fc21c8a Merge pull request #26100 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.13.10 2021-03-13 04:32:58 +00:00
dependabot-preview[bot] 324dcc4c1b Bump css-loader from 5.1.1 to 5.1.2
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.1.1...v5.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-13 04:15:33 +00:00
dependabot-preview[bot] ee6262305a Merge pull request #26099 from nextcloud/dependabot/npm_and_yarn/chai-4.3.4 2021-03-13 04:12:49 +00:00
Nextcloud bot 0869c75d5a [tx-robot] updated from transifex 2021-03-13 02:22:53 +00:00
dependabot-preview[bot] c5eb4b12a2 Bump jsdom from 16.4.0 to 16.5.1
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.5.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.4.0...16.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-13 02:21:23 +00:00
dependabot-preview[bot] 62141eda47 Bump @babel/preset-env from 7.13.9 to 7.13.10
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.13.9 to 7.13.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.10/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-13 02:19:52 +00:00
dependabot-preview[bot] 0ec4ac2c21 Bump chai from 4.3.3 to 4.3.4
Bumps [chai](https://github.com/chaijs/chai) from 4.3.3 to 4.3.4.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.3...v4.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-13 02:17:13 +00:00
Robin Appelman d7748e2b4d verify that cache entry is valid
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-12 17:23:02 +01:00
Robin Appelman c2fc3195dd also implement for FailedCache and NullCache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-12 17:22:43 +01:00
Robin Appelman ad636ae12d use returned file id for object store copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-12 17:22:40 +01:00
Robin Appelman d2bcb57a54 add ICopyFromCache trait to expose existing implementation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-12 17:22:36 +01:00
Robin Appelman 32551b9ff7 Merge pull request #25722 from nextcloud/objectstore-copy-cross
apply object store copy optimization when 'cross storage' copy is wit…
2021-03-12 16:10:18 +00:00
Roeland Jago Douma bf39adb49b Merge pull request #26049 from nextcloud/search-file-limit-results
limit constructing of result objects in file search
2021-03-12 12:58:49 +01:00
Roeland Jago Douma 7ac6eee129 Merge pull request #26079 from nextcloud/bugfix/noid/chunk-phone-search
Chunk the array of phone numbers
2021-03-12 11:20:35 +01:00
blizzz 812bc83b56 Merge pull request #26080 from nextcloud/bugfix/noid/only-clear-known-users-when-we-had-at-least-one-phonebook-entry
Only clear known users when we had at least one phonebook entry
2021-03-12 10:45:36 +01:00
Joas Schilling 5c3551cf2f Only clear known users when we had at least one phonebook entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-12 09:04:13 +01:00
Joas Schilling a609074c18 Fix Test class name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-12 08:53:43 +01:00
Joas Schilling 2e08c8b5a1 Chunk the array of phone numbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-12 08:49:23 +01:00
Roeland Jago Douma 98d2f3bc5c Merge pull request #26072 from nextcloud/s3-no-explicit-close
remove explicit fclose from S3->writeStream
2021-03-12 08:21:54 +01:00
Roeland Jago Douma d7011582cd Merge pull request #26078 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-12 07:29:44 +01:00
Nextcloud-PR-Bot 0baf262aba Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-12 04:34:04 +00:00
Nextcloud bot cd3ef614be [tx-robot] updated from transifex 2021-03-12 02:22:44 +00:00
Roeland Jago Douma a1757f83a3 Merge pull request #26067 from nextcloud/techdept/psalm/trashbin/execute
Cleanp execute usage in the trashbin
2021-03-11 21:03:15 +01:00
Roeland Jago Douma 2cbc2710ec Merge pull request #26066 from nextcloud/techdept/psalm/type_error
Fix type error in CheckBackupCodes bg job
2021-03-11 21:02:35 +01:00
John Molakvoæ c8368af3cb Merge pull request #26068 from nextcloud/bugfix/noid/fix-comments-value-update
Fix comments field value update
2021-03-11 19:32:25 +01:00
Robin Appelman 3eb764e65d remove explicit fclose from S3->writeStream
streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11 18:05:04 +01:00
Robin Appelman b62ee577d7 implement PagedProvider for file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11 17:18:38 +01:00
Roeland Jago Douma a3b1c1cea3 Merge pull request #26064 from nextcloud/techdept/psalm/type_oauth_db
Add psalm annotation to the DB handlers of OAuth2
2021-03-11 16:46:08 +01:00
Roeland Jago Douma 8008b33b8d Cleanp execute usage in the trashbin
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:39:42 +01:00
Vincent Petry a60127acc8 Fix comments field value update
Fixes issue where the comment field value was not properly read out of
the rich content field.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-11 15:39:33 +01:00
Roeland Jago Douma c19708a85e Fix type error in CheckBackupCodes bg job
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 15:33:15 +01:00
dependabot-preview[bot] 69c4578b5b Merge pull request #26057 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-3.7.2 2021-03-11 14:11:40 +00:00
Robin Appelman 424db15dea limit constructing of result objects in file search
even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects.

this saves about 40% of the time spend in the search request in my local testing

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-11 14:49:57 +01:00
Roeland Jago Douma c2f7c417b2 Add psalm annotation to the DB handlers of OAuth2
* Psalm annotations
* To new executeUpdate

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-11 14:33:15 +01:00
Christoph Wurst 95cddb84e2 Merge pull request #25569 from nextcloud/JakubOnderka-patch-1
file-upload: Correctly handle error responses for HTTP2
2021-03-11 13:54:55 +01:00
John Molakvoæ (skjnldsv) 31ddfb0294 Fix SharingInput Multiselect
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-11 12:30:15 +01:00
John Molakvoæ (skjnldsv) 7f06a0cf8e Compile js
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-11 12:14:48 +01:00
dependabot-preview[bot] 12a1d4a908 Bump @nextcloud/vue from 3.2.0 to 3.7.2
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.2.0 to 3.7.2.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.2.0...v3.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-11 12:14:39 +01:00
Roeland Jago Douma f90090d2b3 Merge pull request #26019 from ste101/patch-1
Allow webp as background image
2021-03-11 10:52:31 +01:00
Roeland Jago Douma dd1248d672 Merge pull request #26047 from nextcloud/JakubOnderka-patch-2
Fix warning in AppFetcher.php when appstore is disabled
2021-03-11 10:51:35 +01:00
Christoph Wurst ba369c134e Merge pull request #25911 from nextcloud/bugfix/noid/fix-share-password-saving
Only clear share password model when actually saved
2021-03-11 10:48:34 +01:00
Vincent Petry 65bb949376 Merge pull request #26032 from nextcloud/techdept/psalm/requesthandlerController_loggerinterface
Move requesthandler controller to LoggerInterface
2021-03-11 10:37:41 +01:00
Vincent Petry b78dc6a6bf Merge pull request #26050 from nextcloud/view-search-reuse-usermanager
reuse usermanager instance when processing search results
2021-03-11 10:27:30 +01:00
Vincent Petry 3462444def Only clear share password model when actually saved
Instead of always clearing the password in the share model, now only do
it when it was actually saved.

Fixes an issue where saving another field would clear the password too
early and prevent it to be saved when the dropdown closed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-11 09:07:30 +01:00
Christoph Wurst 6db7731742 Merge pull request #26015 from nextcloud/dependabot/composer/psr/container-1.1.1
Bump psr/container from 1.0.0 to 1.1.1
2021-03-11 08:50:32 +01:00
Joas Schilling 56b08c04c7 Merge pull request #26031 from nextcloud/feature/noid/allow-autocomplete-based-on-phone-sync
Allow autocomplete based on phone sync
2021-03-11 08:29:21 +01:00
Nextcloud bot 31cc0741cb [tx-robot] updated from transifex 2021-03-11 02:23:08 +00:00
Joas Schilling b4f6aca624 Clean up the logic of the contacts store a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 20:48:17 +01:00
Joas Schilling 61ed57b757 Rename some parameters and methods to make the API more clear
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 20:30:29 +01:00
Joas Schilling 45dbc471d9 Bump version to run migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 20:05:39 +01:00
Roeland Jago Douma 1efa54827c Merge pull request #26048 from nextcloud/urlgenerator-cache-base-url
cache baseurl in url generator
2021-03-10 19:58:03 +01:00
Roeland Jago Douma a6447a5c03 Merge pull request #25940 from nextcloud/dependabot/npm_and_yarn/css-loader-5.1.1
Bump css-loader from 5.0.1 to 5.1.1
2021-03-10 19:56:40 +01:00
Christoph Wurst 7287a15acb Bump psr/container from 1.0.0 to 1.1.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-10 19:44:09 +01:00
Joas Schilling 07095fd122 Also clear the knownUser when changing via the settings endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 19:37:10 +01:00
Robin Appelman f98fed3f8a reuse usermanager instance when processing search results
saves some time when processing large search results

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-10 19:35:13 +01:00
Joas Schilling 1683e0289b Also execute the new tests on drone
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 19:10:24 +01:00
Joas Schilling cf8f9c16df Change label also in the acceptance tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 18:55:01 +01:00
Joas Schilling 78efabb073 Fix CS hopefully
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:51:28 +01:00
Joas Schilling 5b53b6f977 Add a setting to restrict returning a full match unless in phonebook or same group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:25:57 +01:00
Robin Appelman c048f0100f cache baseurl in url generator
Servers don't tend to change their url in the middle of a request

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-10 17:22:31 +01:00
Joas Schilling 177ae33ba1 Add a hint that the settings are OR based
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:56 +01:00
Joas Schilling a310a2adc7 Add integration tests for autocomplete/get (similar to sharees API)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:56 +01:00
Joas Schilling 236aa194e2 Restrict autocompletion also based on the phonebook known users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
Joas Schilling b71268e38b Add a config setting to restrict autocompletion to phonebook matches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
Joas Schilling c7be18c0d6 Add a service to find out if a user knows another user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 17:19:55 +01:00
dependabot-preview[bot] 613a5760f1 Bump css-loader from 5.0.1 to 5.1.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.0.1 to 5.1.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.0.1...v5.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 16:47:32 +01:00
Jakub Onderka 296ffc7d34 file-upload: Correctly handle error responses for HTTP2
Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
2021-03-10 16:30:37 +01:00
Jakub Onderka 1992d11d7d Fix warning in AppFetcher.php when appstore is disabled
Signed-off-by: Jakub Onderka <ahoj@jakubonderka.cz>
2021-03-10 16:30:02 +01:00
Robin Appelman 66781e74ad update icewind/smb to 3.4.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-10 15:31:09 +01:00
Joas Schilling 7baefcfc74 Delete matches when the user is being deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:49 +01:00
Joas Schilling 55a5d26c56 Delete matches when a user changes their phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:48 +01:00
Joas Schilling f62d9b50fd Store when a user knows another user based on phone number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:48 +01:00
Joas Schilling f1bb4e5699 Add a KnownUsers database with model
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 15:05:48 +01:00
kesselb 62929cc646 Merge pull request #26029 from nextcloud/enh/boostrap/provisioning_api
Provisioning API to IBootstrap
2021-03-10 14:34:02 +01:00
Joas Schilling a1e5090b3f Fix some psalm warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-10 13:02:08 +01:00
Roeland Jago Douma d090f970dd Merge pull request #25537 from nextcloud/dependabot/npm_and_yarn/marked-2.0.0
[Security] Bump marked from 1.2.8 to 2.0.0
2021-03-10 10:37:45 +01:00
Roeland Jago Douma e5b1d59dfd Provisioning API to IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 09:39:47 +01:00
Roeland Jago Douma cb232001a8 Merge pull request #26030 from nextcloud/techdept/psalm/scss-deprecations
Fix SCSS compiler deprecated function usages
2021-03-10 09:22:03 +01:00
Julius Härtl 2608dec387 Merge pull request #25916 from nextcloud/bugfix/noid/trashbin-delete-all
Remove trash items from other trash backends when deleting all
2021-03-10 08:57:41 +01:00
Roeland Jago Douma f421fd25ba Move requesthandler controller to LoggerInterface
* LoggerInterface
* executeUpdate
* log exception when there is one (just so we ahve the trace)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-10 08:50:38 +01:00
dependabot-preview[bot] c5783194e6 Bump marked from 1.2.8 to 2.0.0
Bumps [marked](https://github.com/markedjs/marked) from 1.2.8 to 2.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v1.2.8...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-10 08:36:09 +01:00
Roeland Jago Douma 72dd2c96c8 Merge pull request #26037 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-10 07:43:54 +01:00
Nextcloud-PR-Bot 4a915843ca Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-10 04:29:06 +00:00
Nextcloud bot 310e6550b1 [tx-robot] updated from transifex 2021-03-10 02:22:57 +00:00
Joas Schilling de05eab802 Merge pull request #26021 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-8.12.19
Bump libphonenumber
2021-03-09 20:53:10 +01:00
Roeland Jago Douma 321085d0a7 Fix SCSS compiler deprecated function usages
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-09 20:39:40 +01:00
Roeland Jago Douma 2f70397b03 Merge pull request #25721 from nextcloud/do-not-target-vue-buttons
Do not target vue buttons with server rules
2021-03-09 20:31:57 +01:00
Robin Appelman c87b1a50d9 apply object store copy optimization when 'cross storage' copy is within the same object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-09 20:31:27 +01:00
Christoph Wurst 7f3051e5bf Drop \OCP\Util::isIe
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-09 20:29:42 +01:00
Roeland Jago Douma 5063745cac Merge pull request #25728 from nextcloud/dependabot/npm_and_yarn/handlebars-4.7.7
Bump handlebars from 4.7.6 to 4.7.7
2021-03-09 20:20:19 +01:00
dependabot-preview[bot] 34e8f2f40d Bump handlebars from 4.7.6 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-09 18:53:30 +00:00
Roeland Jago Douma fad86afd26 Merge pull request #25533 from nextcloud/resend-share-notifications-on-recreate
send share notification instead of erroring on duplicate share
2021-03-09 19:44:22 +01:00
Joas Schilling 61f16e7a43 Bump libphonenumber
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-09 19:41:11 +01:00
Roeland Jago Douma 61f13583a2 Merge pull request #25677 from nextcloud/drop/cache-factory-create
Drop \OC\Memcache\Factory::create
2021-03-09 19:37:34 +01:00
Robin Appelman 3da33ce3fc send share notification instead of erroring on duplicate share
when creating a share that already exists, instead of erroring, resend the notifications

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-09 19:20:37 +01:00
Julius Härtl 95af966f60 Merge pull request #26017 from nextcloud/enh/boostrap/initialstate
Move initialstate bootstrap to proper types classes
2021-03-09 16:28:59 +01:00
Julius Härtl bd79d7b918 Merge pull request #25933 from nextcloud/bugfix/noid/remove-unsupported-remote-share-expiration
Hide expiration date field for remote shares
2021-03-09 16:26:27 +01:00
Roeland Jago Douma 45cfeefd1b Merge pull request #25930 from nextcloud/techdept/psalm/25839/RedundantPropertyInitializationCheck
Fix RedundantPropertyInitializationCheck
2021-03-09 13:06:55 +01:00
Roeland Jago Douma 8985290cd2 Merge pull request #26004 from nextcloud/enh/publicsharecontroller/isauthenticatedoverwrite
Allow overwriting isAuthenticated
2021-03-09 10:56:53 +01:00
Vincent Petry 77401e8c1c Hide expiration date field for remote shares
Remote shares currently do not support expiration date.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-09 10:40:14 +01:00
ste101 d41e12f2e2 Allow webp as background image 2021-03-09 10:17:06 +01:00
Roeland Jago Douma 618805b14f Fix RedundantPropertyInitializationCheck
For #25839

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-09 09:49:45 +01:00
Roeland Jago Douma f5da1ec51d Merge pull request #25998 from nextcloud/techdept/psalm/personalsettings
Fix some types in the Settings Personal pages
2021-03-09 09:41:18 +01:00
Roeland Jago Douma 05b5715f41 Merge pull request #25970 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.1.0
Bump @nextcloud/vue-dashboard from 1.0.1 to 1.1.0
2021-03-09 09:35:21 +01:00
Roeland Jago Douma 2e6cab4d82 Move initialstate bootstrap to proper types classes
For more type safety

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-09 09:19:23 +01:00
Roeland Jago Douma 30e096f3f5 Allow overwriting isAuthenticated
* Some implementations might check for different things
* IT will not change how the current ones work

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-09 09:17:30 +01:00
Roeland Jago Douma 7198bed22d Merge pull request #26018 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-09 08:54:53 +01:00
Nextcloud-PR-Bot d49630e850 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-09 04:34:03 +00:00
Nextcloud bot 73bf04c2f5 [tx-robot] updated from transifex 2021-03-09 02:23:53 +00:00
Roeland Jago Douma 3e72d29f67 Merge pull request #26012 from nextcloud/dependabot/npm_and_yarn/elliptic-6.5.4
[Security] Bump elliptic from 6.5.3 to 6.5.4
2021-03-08 20:44:04 +01:00
dependabot-preview[bot] 95bddaf36f [Security] Bump elliptic from 6.5.3 to 6.5.4
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.3...v6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-08 18:47:16 +00:00
Christoph Wurst db1e117da7 Merge pull request #25839 from nextcloud/dependabot/composer/vimeo/psalm-4.6.2
Bump vimeo/psalm from 4.2.1 to 4.6.2
2021-03-08 19:42:32 +01:00
Roeland Jago Douma bf5d5c57a3 Merge pull request #26005 from nextcloud/techdept/psalm/fix_invalid_check
Fix invalid check after constructing DateTime
2021-03-08 19:38:31 +01:00
Roeland Jago Douma 0c33fc706c Merge pull request #26007 from nextcloud/docs/config/session_lifetime
Add hint about possible limit when setting a session_lifetime
2021-03-08 19:30:05 +01:00
Lukas Reschke bb590347d2 Merge pull request #25996 from nextcloud/dependabot/composer/sabre/dav-4.1.5
Bump sabre/dav from 4.1.4 to 4.1.5
2021-03-08 17:19:35 +01:00
Julius Härtl 296332efa3 Add hint about possible limit when setting a session_lifetime
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-08 16:49:30 +01:00
Lukas Reschke 7ba89c13e7 Merge pull request #25960 from nextcloud/techdept/admin_audit
Pimp admin audit
2021-03-08 16:48:36 +01:00
Roeland Jago Douma c38069fab3 Update baseline
The rest we will just fix as we go

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 16:34:15 +01:00
dependabot-preview[bot] 10ec495682 Bump vimeo/psalm from 4.2.1 to 4.6.2
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 4.2.1 to 4.6.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/4.2.1...4.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 16:34:15 +01:00
Roeland Jago Douma 988b9f49c5 Fix invalid check after constructing DateTime
We construct an object. Either that works on not.But the result can't be
false.

Found by psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 16:32:34 +01:00
Roeland Jago Douma a63b709bed Merge pull request #25910 from nextcloud/enh/allow_login_block
Allow admins to hide the login form
2021-03-08 16:27:47 +01:00
Roeland Jago Douma 4076dfb019 Allow admins to disable the login form
In case they want to not allow this because they use SSO (and do not
want the users to enter their credentials there by accident).

?direct=1 still works.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 15:36:47 +01:00
Roeland Jago Douma cc2beee872 Add getID function to the simplefile implementation
Sometimes it is useful to get the actual fileid

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 14:59:36 +01:00
Lukas Reschke 43b333331d Merge pull request #25997 from nextcloud/techdept/psalm/redundantcast
Fix some redundant casts
2021-03-08 14:28:11 +01:00
dependabot-preview[bot] c386e59446 Bump @nextcloud/vue-dashboard from 1.0.1 to 1.1.0
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue-dashboard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v1.0.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-08 11:54:04 +00:00
Roeland Jago Douma e44be839bb Fix some types in the Settings Personal pages
* Fix types
* Typed the code

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 11:05:41 +01:00
kesselb 2ddf3c9df0 Merge pull request #25990 from nextcloud/do-not-try-to-add-an-existing-user-again-in-acceptance-tests
Do not try to add an existing user again in acceptance tests
2021-03-08 10:18:46 +01:00
Christoph Wurst 1730f2ca3b Bump sabre/dav from 4.1.4 to 4.1.5
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-03-08 10:16:07 +01:00
Roeland Jago Douma 615721df82 Merge pull request #25925 from nextcloud/techdept/psalm/ActionProviderStore
Pimp ActionProviderStore
2021-03-08 09:20:45 +01:00
Roeland Jago Douma 109b84b025 Add return type to functions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 08:56:53 +01:00
Roeland Jago Douma 43c8298dec Merge pull request #25948 from nextcloud/techdebt/noid/depreate-getHTMLName
Deprecate getHTMLName on \OCP\Defaults
2021-03-08 08:54:42 +01:00
Roeland Jago Douma f8c7ce5d48 Merge pull request #25975 from nextcloud/add-missing-waits-and-asserts-in-acceptance-tests
Add missing waits and asserts in acceptance tests
2021-03-08 08:52:08 +01:00
Roeland Jago Douma 69b26c73f3 Fix some redundant casts
Happier psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 08:51:08 +01:00
Roeland Jago Douma e148a151c1 Merge pull request #25988 from nextcloud/ci/fixup/action
Move fixup check to action
2021-03-08 07:18:24 +01:00
Nextcloud bot e8f087d7d1 [tx-robot] updated from transifex 2021-03-08 02:23:08 +00:00
Roeland Jago Douma da652ded26 Move fixup check to action
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-07 19:42:40 +01:00
Daniel Calviño Sánchez c51c3c771f Remove unneeded steps to add already existing user
User "user1" is added when installing and configuring the server, so it
is already added in all tests.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-07 18:34:10 +01:00
Daniel Calviño Sánchez 0e6401933b Fix acceptance test for searching just added users in contacts menu
User "user1" is added when installing and configuring the server, so it
is already added in all tests. As the test verifies that just added
users can be searched in the contacts menu a new user should be actually
added.

The test did not fail because it assumed that "user1" did not exist and
just checked that it existed after "adding" it, but not whether adding
it failed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-07 18:27:45 +01:00
Nextcloud bot c28542ef7f [tx-robot] updated from transifex 2021-03-07 02:22:07 +00:00
dependabot-preview[bot] 5db40a37a1 Merge pull request #25966 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.13.0 2021-03-06 09:52:03 +00:00
Roeland Jago Douma e72f92b777 Merge pull request #25959 from nextcloud/techdept/logger/AccessibilityController
AccessibilityController to LoggerInterface
2021-03-06 10:51:34 +01:00
Roeland Jago Douma 28d963cd86 Merge pull request #25972 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-06 08:41:25 +01:00
Nextcloud-PR-Bot a0ac2dd80c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-06 04:33:39 +00:00
dependabot-preview[bot] 97d6609273 Merge pull request #25969 from nextcloud/dependabot/npm_and_yarn/chai-4.3.3 2021-03-06 03:07:49 +00:00
Nextcloud bot 41f9fdab1c [tx-robot] updated from transifex 2021-03-06 02:22:22 +00:00
dependabot-preview[bot] bb29621297 Bump chai from 4.3.0 to 4.3.3
Bumps [chai](https://github.com/chaijs/chai) from 4.3.0 to 4.3.3.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/main/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.3.0...4.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-06 02:21:11 +00:00
dependabot-preview[bot] 3b29c4b320 Bump @babel/plugin-proposal-class-properties from 7.12.13 to 7.13.0
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.13 to 7.13.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.0/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-06 02:17:12 +00:00
Daniel Calviño Sánchez ee1f8104a0 Find directly the label instead of falling back to it
The input element is always hidden, so the check always ended falling
back to the label. Moreover, the label is the element that the user
interacts with, so it must be the one used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:43 +01:00
Daniel Calviño Sánchez 7b6946d2d2 Assert also element visibility instead of just finding it
Although if the element could not be found an exception would be thrown
and the test aborted if an element is in the DOM but hidden it would be
found and the test would pass.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:43 +01:00
Daniel Calviño Sánchez 78faf0105d Add explicit locator for "Enable all" bundle button
Instead of looking for the bundle button and then checking its value now
the expected value is included in the locator and the button is checked
similarly to other elements.

No "Disable all" locator was added as it was not currently needed
anywhere.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:43 +01:00
Daniel Calviño Sánchez f87473e410 Find elements through the actor rather than the driver
"Actor::find" is a more robust way to look for elements, as it handles
some exceptions that may be thrown. Therefore, even if the elements are
not actually used and it is only checked whether they exist or not using
the actor is the preferred way when possible (and it also makes it
consistent with the rest of the acceptance tests).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:43 +01:00
Daniel Calviño Sánchez 6d145ea54a Add locator for apps list
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:42 +01:00
Daniel Calviño Sánchez 4c23d24277 Fix identation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:34:42 +01:00
Daniel Calviño Sánchez bc084070c8 Fix delete user acceptance test
Adding some missing asserts showed that the "delete user" acceptance
test was silently failing, as the deletion was not being confirmed in
the dialog and thus the user was not being deleted.

The dialog button contains a single quote ("user0's"), so the XPath
expression had to be adjusted (it seems that it is not possible to
escape a single quote in a string enclosed in single quotes in XPath
1.0).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-06 01:29:54 +01:00
Daniel Calviño Sánchez d5586ec437 Verify WaitFor::element... results with an assertion
WaitFor::element... calls only perform the waiting and return whether
the condition succeeded or not, but that result needs to be explicitly
checked to prevent further steps from being executed if the wait failed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-05 22:06:05 +01:00
Daniel Calviño Sánchez caa2246568 Add missing waits when finding elements in the acceptance tests
As no timeout was specified the elements were tried to be found just
once. This caused the steps to fail if the elements did not appear yet
in the page when they were tried to be found.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-05 22:06:05 +01:00
Julius Härtl b6e434f02a Merge pull request #25945 from nextcloud/dependabot/npm_and_yarn/core-js-3.9.1
Bump core-js from 3.8.3 to 3.9.1
2021-03-05 15:21:35 +01:00
Julius Härtl b4160f367b Merge pull request #25735 from francoisfreitag/npm-ci
Remove Makefile rule clean-dev
2021-03-05 15:18:35 +01:00
Roeland Jago Douma f5dc657e94 Move background job to DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-05 14:57:07 +01:00
Roeland Jago Douma 5ec2323f25 Move admin_audit to LoggerInterface
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-05 14:51:55 +01:00
Roeland Jago Douma 900e7f99aa AccessibilityController to LoggerInterface
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-05 14:38:36 +01:00
Roeland Jago Douma c7c5150ddb Merge pull request #25932 from nextcloud/bugfix/noid/fix-fed-share-add-to-nc
Skip empty obsolete owner when adding to own NC
2021-03-05 14:33:16 +01:00
Joas Schilling f92d21e80e Merge pull request #25870 from nextcloud/techdept/settings/move_group_activity_events
Move group activities to events
2021-03-05 13:05:06 +01:00
dependabot-preview[bot] 6c8650d414 Bump core-js from 3.8.3 to 3.9.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.8.3 to 3.9.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.9.1/packages/core-js)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-05 11:34:26 +01:00
Christoph Wurst e47bd8324d Merge pull request #25928 from nextcloud/enh/contactsmenu/entry
Type Entry and IEntry
2021-03-05 09:46:40 +01:00
Christoph Wurst 11e2286a82 Merge pull request #25588 from nextcloud/techdept/custom-psr-logger
Migrate custom loggers to PSR
2021-03-05 09:46:07 +01:00
Roeland Jago Douma b1ca746395 Merge pull request #25947 from nextcloud/fix/provisioning_api/logger
Fixed error after merge in UsersController
2021-03-05 09:37:38 +01:00
Julius Härtl 9dc5b8274e Deprecate getHTMLName on \OCP\Defaults
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-05 09:34:24 +01:00
Marco Ambrosini 8691084f17 Do not target vue buttons with server rules
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-03-05 08:16:20 +00:00
Roeland Jago Douma 128b682b7c Fixed error after merge in UsersController
This was moved to the LoggerInterface so the recent merge of #25589
broke master.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-05 09:14:01 +01:00
Roeland Jago Douma ca1eed96be Merge pull request #25731 from nextcloud/dependabot/npm_and_yarn/mocha-8.3.0
Bump mocha from 8.2.1 to 8.3.0
2021-03-05 09:05:06 +01:00
Roeland Jago Douma 4a9f3ef232 Merge pull request #25589 from nextcloud/provisioning-api-invalid-argument
forward invalid argument message to frontend when creating a user fails
2021-03-05 08:59:50 +01:00
dependabot-preview[bot] ffdacf813e Merge pull request #25726 from nextcloud/dependabot/npm_and_yarn/build/handlebars-4.7.7 2021-03-05 07:57:01 +00:00
Roeland Jago Douma 54cffefed4 Merge pull request #25660 from hosting-de/feature/add-backend-list-groups
Show group backends in occ group:list --info and group:info
2021-03-05 08:49:43 +01:00
Roeland Jago Douma e6ef096e52 Merge pull request #25659 from nextcloud/smb-getmetadata-catch
catch notfound and forbidden exception in smb::getmetadata
2021-03-05 08:49:23 +01:00
Roeland Jago Douma 3c9a62721f Merge pull request #25725 from lmamane/master
token login: emit preLogin event with LoginName
2021-03-05 08:46:46 +01:00
Roeland Jago Douma 85e48d796c Merge pull request #25929 from nextcloud/techdept/psalm/25839/redundantcasts
Remove Redundantcasts
2021-03-05 08:42:54 +01:00
dependabot-preview[bot] 54b843cfc0 Bump mocha from 8.2.1 to 8.3.0
Bumps [mocha](https://github.com/mochajs/mocha) from 8.2.1 to 8.3.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v8.2.1...v8.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 07:23:24 +00:00
dependabot-preview[bot] c1105b3fda Bump handlebars from 4.7.6 to 4.7.7 in /build
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 07:23:03 +00:00
Roeland Jago Douma cfb337dc01 Merge pull request #25942 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-05 07:22:03 +01:00
Nextcloud-PR-Bot df2fea444c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-05 04:33:46 +00:00
Nextcloud bot a6c9688fd6 [tx-robot] updated from transifex 2021-03-05 02:22:00 +00:00
Joas Schilling 5c9dacf786 Merge pull request #25941 from nextcloud/techdept/CompositeExpression
Type CompositeExpression and ICompositeExpression
2021-03-04 22:38:31 +01:00
Roeland Jago Douma d7f7d3bc51 Type CompositeExpression and ICompositeExpression
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 21:47:44 +01:00
Robin Appelman b844293536 catch notfound and forbidden exception in smb::getmetadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-04 21:34:54 +01:00
Christoph Wurst b0fe408d1f Merge pull request #25927 from nextcloud/enh/sharebymail/set_expiration_on_creation
Sharebymail: set expiration on creation
2021-03-04 18:17:54 +01:00
Vincent Petry 9da935c62b Merge pull request #25926 from nextcloud/enh/activity/hidden_files
Activity: show if files are hidden or not
2021-03-04 16:44:02 +01:00
Vincent Petry 5be9acab84 Skip empty obsolete owner when adding to own NC
The owner field is nowadays always empty when adding a federated share
using "Add to your Nextcloud", so don't check for it.

Fixes an issue where "Add to your Nextcloud" doesn't add anything.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-04 15:54:21 +01:00
Roeland Jago Douma 7b7358868d Merge pull request #23665 from nextcloud/enh/querybuilder/execute_query_update
Add executeQuery and executeUpdate
2021-03-04 15:46:17 +01:00
Roeland Jago Douma c3f1eb4f7f Remove Redundantcasts
For #25839

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 14:44:04 +01:00
Roeland Jago Douma b14be34689 Type Entry and IEntry
* Fixed a docblock
* Typed the entries

Psalm happier, Roeland happier

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 14:30:21 +01:00
Roeland Jago Douma 76a6328d10 Add executeQuery and executeUpdate
Names shamelessly copied from Doctrine itself.
Internally it is still using the same flow. But I added some checks
around it.

This should make static analysis a bit more happy. Which in turn makes
me more happy.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 14:03:31 +01:00
Roeland Jago Douma d247a5fb47 Sharebymail: set expiration on creation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 13:49:21 +01:00
Roeland Jago Douma 997259d1cd Activity: show if files are hidden or not
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 13:14:52 +01:00
Roeland Jago Douma 3bbacb2f54 Merge pull request #25881 from nextcloud/techdept/psalm/sharesplugin
Fix the SharesPlugin
2021-03-04 12:33:20 +01:00
Christoph Wurst cdc9a1efd9 Merge pull request #25912 from nextcloud/techdept/psalm/sharedstorage_some_types
Add some typing to SharedStorage
2021-03-04 12:31:17 +01:00
Roeland Jago Douma f04a2ce19f Pimp ActionProviderStore
* Fix paradoxale condition
* Add types
* Move away from ILogger

Makes psalm happy, and thus me happy

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 12:29:49 +01:00
blizzz c3361a2b13 Merge pull request #25915 from nextcloud/bugfix/noid/option-always-show-unique-label
Add appconfig to always show the unique label of a sharee
2021-03-04 12:11:28 +01:00
Roeland Jago Douma 7b9ca4f7c2 Add some typing to SharedStorage
Makes psalm a bit more happy.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-04 10:49:42 +01:00
Julius Härtl 69c2864aca Add appconfig to always show the unique label of a sharee
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-04 09:25:45 +01:00
Joas Schilling 1e5fea0460 Only mark migrations as installed after execution
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-04 08:49:42 +01:00
Roeland Jago Douma 9b573c6bd5 Merge pull request #25923 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-04 07:25:57 +01:00
Nextcloud-PR-Bot efdb881372 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-04 04:32:47 +00:00
Nextcloud bot 365d31743f [tx-robot] updated from transifex 2021-03-04 02:22:10 +00:00
Roeland Jago Douma 5325c3002c Merge pull request #25917 from nextcloud/techdept/kill_deprecated/ocp_api
Remove deprecated \OCP\API
2021-03-03 21:57:34 +01:00
Roeland Jago Douma a58b4ceaab Merge pull request #25889 from nextcloud/techdept/psalm/fix_group_manager_function_return_type
Fix types in the Group Manager
2021-03-03 20:55:52 +01:00
Roeland Jago Douma cc744740b7 Remove deprecated \OCP\API
Time to remove this forgood now.
Remaining constant moved over
The world is a tiny bit better

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 20:54:32 +01:00
Julius Härtl 895e6a57b9 Merge pull request #25805 from nextcloud/bugfix/23468/clear-share-after-select
Clear multiselect after selection in share panel
2021-03-03 17:25:31 +01:00
Roeland Jago Douma 0829fea5e7 Merge pull request #25896 from nextcloud/techdept/qbmapper
Move DirectMapper to QBMapper
2021-03-03 14:58:51 +01:00
Roeland Jago Douma 68ec18323d Fix types in the Group Manager
Psalm found an issue. However the issue found was because of lying
docblocks. Fixed those and did some typing to make it all better.

For #25839

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 14:52:47 +01:00
Julius Härtl 930b40bd8a Remove trash items from other trash backends when deleting all
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-03 14:26:35 +01:00
Roeland Jago Douma b87e54bb1c Merge pull request #25902 from nextcloud/techdept/psalm/loggerinterface/part2
LoggerInterface for provisioning API Controllers
2021-03-03 12:53:15 +01:00
Roeland Jago Douma ee7702e5f0 Move DirectMapper to QBMapper
Mapper has been deprecated for some time now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 12:35:14 +01:00
Lukas Reschke f109cf0136 Merge pull request #25890 from nextcloud/techdept/psalm/check_input_command
Check command input
2021-03-03 11:50:08 +01:00
Vincent Petry c541094be0 Clear multiselect after selection in share panel
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-03-03 11:38:00 +01:00
Joas Schilling a6246be34c Merge pull request #25656 from nextcloud/enh/type/expressionbuilder
Type the experssionbuilders
2021-03-03 11:37:16 +01:00
Joas Schilling 11858a3d66 Merge pull request #25816 from nextcloud/iquerybuilder-join-conditions
allow non string join conditions in query builder
2021-03-03 11:34:56 +01:00
Roeland Jago Douma f492a6aac3 Move group activities to events
Use the fancy events.
Nicer code
Nicely isolated code

win-win

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 11:33:33 +01:00
Roeland Jago Douma 74f36173bc Merge pull request #25882 from nextcloud/bug/25748/filter-other-tables
Filter out tables that does not belong to Nextcloud
2021-03-03 11:24:47 +01:00
Roeland Jago Douma ce430c3613 Merge pull request #25892 from nextcloud/techdept/initialstate/part1
Move some settings over to the IInitialState
2021-03-03 11:08:42 +01:00
Roeland Jago Douma 4bdf9f5849 Type the experssionbuilders
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 10:44:09 +01:00
Robin Appelman 47dd8e54b5 allow non string join conditions in query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-03-03 10:43:15 +01:00
Roeland Jago Douma 49c46493d1 Merge pull request #25850 from nextcloud/techdept/js/timezonedetect
Kill jstimezonedetect from bundle
2021-03-03 10:32:38 +01:00
Roeland Jago Douma a1be5f33af Merge pull request #25895 from nextcloud/techdept/psalm/pimp_sharingcheckmiddleware
Pimp sharingcheckmiddleware
2021-03-03 10:28:32 +01:00
Roeland Jago Douma 3c83604e58 Kill jstimezonedetect from bundle
Taking up space while it is not needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 08:43:53 +01:00
Roeland Jago Douma ed772cd889 Merge pull request #25818 from nextcloud/dependabot/npm_and_yarn/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-03-03 08:39:21 +01:00
Roeland Jago Douma 252d2d3958 Merge pull request #25898 from nextcloud/fix/jsunit
Fix the jsunit tests
2021-03-03 07:18:44 +01:00
Roeland Jago Douma f09eba51a9 Merge pull request #25904 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-03 07:17:52 +01:00
Nextcloud-PR-Bot 19b2d621d2 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-03 04:28:22 +00:00
Nextcloud bot e11be3b693 [tx-robot] updated from transifex 2021-03-03 02:21:24 +00:00
Roeland Jago Douma dc7eb2bd85 LoggerInterface for provisioning API Controllers
Sweep swoop swaap swuup
away with the deprecated stuff

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:46:51 +01:00
blizzz ef5389603c Merge pull request #25860 from nextcloud/fix/noid/ldap-bind-expired
do not die after LDAP auth failed with expired acc
2021-03-02 21:34:03 +01:00
Roeland Jago Douma 5ae5aae324 Fix the jsunit tests
Followup to #25874

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:30:32 +01:00
kesselb 85fe0222ed Merge pull request #25893 from nextcloud/techdept/psalm/fix_return-type
Fix docblock return type for IShareProvider
2021-03-02 21:21:37 +01:00
Roeland Jago Douma bc961baa40 Move some settings over to the IInitialState
The old one has been deprecated. Part one of many.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 21:11:56 +01:00
Daniel Kesselberg bc91eb7c64 Filter tables with other table prefix
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-03-02 21:09:33 +01:00
dependabot-preview[bot] 7d279f8527 Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-02 20:51:19 +01:00
Valdnet 3b5c8d792d Merge pull request #25874 from nextcloud/Valdnet-patch-4
l10n: Correct text strings
2021-03-02 20:46:55 +01:00
Roeland Jago Douma 5c952e83fc Pimp sharingcheckmiddleware
Reported by psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 20:36:04 +01:00
Roeland Jago Douma 1531414e8d Fix docblock return type for IShareProvider
All the implementations already returned an array of array of shares. So
better to make sure the docblock also doesn't lie.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 20:12:46 +01:00
Roeland Jago Douma 5b0dc6dad0 Check command input
For #25839

We should check this else it crashed hard. Better to be gracefull.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 19:41:35 +01:00
Roeland Jago Douma 04dc321ee7 Merge pull request #25884 from nextcloud/techdept/psalm/no_cast
Remove redundant casts
2021-03-02 18:52:44 +01:00
Roeland Jago Douma 15f00dfa74 Merge pull request #25885 from nextcloud/enh/autoloader_update
Update autoloader files
2021-03-02 18:47:31 +01:00
Roeland Jago Douma 19e2136963 Update autoloader files
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:36:21 +01:00
Roeland Jago Douma 4f37e0ce55 Remove redundant casts
For #25839

In short with the connection adapter we now have the function is typed
to int (and casts itself). So it is not needed anymore.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:32:13 +01:00
Roeland Jago Douma c40228a65a Fix the SharesPlugin
Another attempt to fix all the typing and handling in the sharesplugin.
In short we should probably have a lot more type hinting in several
places.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 16:29:06 +01:00
Roeland Jago Douma 2afa1c5739 Merge pull request #25862 from nextcloud/techdept/psalm/some_loggers
Move away some ILoggers
2021-03-02 15:01:44 +01:00
Robin Appelman a2ecac7197 Merge pull request #25568 from nextcloud/move-storage-disable-cache
disable trasbin during the moveFromStorage fallback
2021-03-02 13:23:58 +00:00
Julius Härtl cfa2d22f4e Merge pull request #25797 from nextcloud/bugfix/noid/templates-fileactions
Do not trigger a full filelist reload after creating a new file from a template
2021-03-02 14:15:19 +01:00
Lukas Reschke 41dc18342f Merge pull request #25854 from nextcloud/techdept/psalm/checksetupcontroller
Fix lying docblocks
2021-03-02 13:33:21 +01:00
Valdnet 2b6cda99d3 l10n: Correct text strings 2021-03-02 11:41:45 +01:00
Joas Schilling 3d62233cab Merge pull request #25869 from nextcloud/fix/imanager-namespacing
Fix namespacing
2021-03-02 11:05:14 +01:00
Joas Schilling 1a724cb57f Merge pull request #25758 from nextcloud/enh/include_RichObject_forms
Include RichObject for forms
2021-03-02 10:56:40 +01:00
Roeland Jago Douma 38f761f25f Move away some ILoggers
Makes psalm happier

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-02 10:47:25 +01:00
Julius Härtl 1d5ee0324e Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02 10:46:48 +01:00
Julius Härtl 14c872a96a At least try to give the full context for the file action
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02 10:46:48 +01:00
Julius Härtl f3a8b0ac88 Do not trigger a full filelist reload after creating a new file
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-03-02 10:46:48 +01:00
Julius Härtl 20094af7f9 Merge pull request #25670 from nextcloud/enh/psalm/redundantcasts
Fix a few RedundantCast
2021-03-02 10:46:00 +01:00
Roeland Jago Douma 2b97f0fade Merge pull request #25868 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.13.9
Bump @babel/preset-env from 7.12.16 to 7.13.9
2021-03-02 10:23:28 +01:00
Anna Larch f9083ef7bf Fix namespacing
Signed-off-by: Anna Larch <anna@nextcloud.com>
2021-03-02 09:37:34 +01:00
dependabot-preview[bot] 44b83bf8be Bump @babel/preset-env from 7.12.16 to 7.13.9
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.16 to 7.13.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.9/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 08:15:51 +00:00
dependabot-preview[bot] e4cc176e00 Merge pull request #25821 from nextcloud/dependabot/npm_and_yarn/babel/core-7.13.8 2021-03-02 08:13:02 +00:00
Christoph Wurst 7be2ce82e7 Merge pull request #25544 from nextcloud/refactor/app-password-created-event
Move app_password_created to a typed event
2021-03-02 08:18:59 +01:00
Roeland Jago Douma 1d5cb3f640 Merge pull request #25865 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-03-02 07:40:20 +01:00
Nextcloud-PR-Bot 110b78a64b Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-03-02 04:30:37 +00:00
Nextcloud bot 63f68e0412 [tx-robot] updated from transifex 2021-03-02 02:22:18 +00:00
dependabot-preview[bot] b486e26b81 Bump @babel/core from 7.12.16 to 7.13.8
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.16 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-03-01 21:30:34 +00:00
Roeland Jago Douma 927e021c43 Merge pull request #25861 from nextcloud/techdebt/noid/unified-link-handling
Unified link handling in setup checks
2021-03-01 22:17:26 +01:00
Daniel Calviño Sánchez 9f96a47125 Add OCC command to reset rendered texts
The command is meant to be used when the fonts used to render texts
("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf")
are changed (for example, to add support for other scripts). The avatar
and text file previews will be removed, so they will be generated again
with the updated font when needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-01 20:54:43 +01:00
Joas Schilling db3b698fc0 Hello 2016
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 20:28:12 +01:00
Joas Schilling 96ae83c529 Remove HTML from setup check translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 20:24:02 +01:00
Joas Schilling 9569df7405 Add target black and noref rules to doc links
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-01 19:42:34 +01:00
Arthur Schiwon 5ad08c7c84 do not die after LDAP auth failed with expired acc
- some servers return error code 53

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-03-01 19:20:05 +01:00
Daniel Calviño Sánchez ee06780029 Include additional scripts in Noto fonts
Generated avatars as well as text file previews are rendered using the
"core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted
"NotoSans-Regular.ttf" file from https://www.google.com/get/noto/.
However that file does not cover some non LGC (Latin, Greek, Cyrillic)
scripts, like Arabic, Devanagari or Hebrew, to name a few.

Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is
in the same situation as the regular one.

Due to limitations in the TTF format it is not possible to provide a
single file for each style that includes all Noto fonts. However, it is
possible to add more scripts to the standard "NotoSans-Regular.ttf" and
"NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean)
glyph can be included due to the aforementioned limitations).

This commit replaces the standard files with an extended version created
using the Noto Tools. The build script (as well as a patch for the Noto
Tools) is also included for reference and to be able to update the font
files in the future if needed.

Due to the additional scripts added the font files are now much larger,
although this does not seem to increase the time spent rendering LGC
scripts.

Note that the file for the bold style still contains less scripts than
the regular one, as not all scripts supported by Noto have a bold
weight.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-03-01 19:15:01 +01:00
Roeland Jago Douma 148cc83c52 Merge pull request #25856 from nextcloud/techdept/pslam/card_getOwner
Card::getOwner should return the actual value
2021-03-01 18:25:17 +01:00
Roeland Jago Douma e28173863e Card::getOwner should return the actual value
I guess we never call this at runtime or it would already ahve done boom
very loudly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:51:36 +01:00
Roeland Jago Douma 3d0dff0d2b Fix lying docblocks
* typed the return
* removed unneeded temp variable

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:48:04 +01:00
Johannes Leuker 2796ef80ff Show group backends in occ group:list --info and group:info
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-03-01 16:02:08 +01:00
Roeland Jago Douma 5cd1880daa Fix a few RedundantCast
Reported by psalm
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-01 16:00:32 +01:00
John Molakvoæ 92d6abf216 Merge pull request #25712 from nextcloud/fix/noid/admin-password-tooltip
Fix admin password strengthify tooltip
2021-03-01 14:52:57 +01:00
Jonas Rittershofer f02362e029 Include RichObject for forms
Ref. https://github.com/nextcloud/forms/pull/789

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-03-01 14:00:33 +01:00
Roeland Jago Douma 2d856c8465 Merge pull request #25715 from nextcloud/fix/ca-checker
Bump the ca location
2021-03-01 13:33:02 +01:00
Julius Härtl d005ce5777 Merge pull request #25799 from nextcloud/wiswedel/fix/config/templatedirectory
fix typo in template directory config
2021-03-01 13:20:58 +01:00
blizzz 9cd39b0b8c Merge pull request #25757 from nextcloud/fix/noid/ldap-cyclic-group-memberships
fix detecting cyclic group memberships
2021-03-01 12:07:59 +01:00
Christoph Wurst 01f082b4a3 Merge pull request #25745 from nextcloud/dependachristoph/composer/symfony-polyfills
Bump the Symfony polyfills
2021-03-01 11:57:06 +01:00
John Molakvoæ cc7f4ab1ea Merge pull request #25803 from nextcloud/bugfix/25364/make-compatible-app-message-less-confusing
Make the compatible app message less confusing for multi versions apps
2021-03-01 10:37:13 +01:00
Roeland Jago Douma 91f260fe29 Merge pull request #25804 from nextcloud/bugfix/noid/fread-0
Do not attempt to read 0 bytes when manually iterating over a non-seekable file
2021-03-01 09:54:33 +01:00
Nextcloud bot 9a90bfba32 [tx-robot] updated from transifex 2021-03-01 02:20:19 +00:00
Nextcloud bot 24d5afb1b1 [tx-robot] updated from transifex 2021-02-28 02:19:54 +00:00
Nextcloud bot 65b0511d79 [tx-robot] updated from transifex 2021-02-27 02:22:23 +00:00
Joas Schilling 4807ce3b08 Make the compatible app message less confusing for multi versions apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-26 10:56:35 +00:00
Julius Härtl 19eb48b8a3 Properly end iterating over the file once the target has been reached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-02-26 11:29:01 +01:00
Vincent Petry 18b419f0ca Merge pull request #24255 from nextcloud/bugfix/noid/missing-checkbox-focus
Add focus-visible outline for checkboxes and radio buttons
2021-02-26 11:22:19 +01:00
Vincent Petry 49eff095ff Change outline color to --color-main-text
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:21 +01:00
Vincent Petry 53b162bad9 Fix focus-visible outline for files checkboxes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:21 +01:00
Vincent Petry 23c143e034 Add focus-visible outline for checkboxes and radio buttons
To make keyboard navigation visible in forms.
When clicking with the mouse it doesn't appear.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-26 10:15:20 +01:00
Nextcloud bot b4ccadea2b [tx-robot] updated from transifex 2021-02-26 02:21:45 +00:00
Sascha Wiswedel a58cc13e2b fix typo in template directory config
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2021-02-25 23:21:27 +01:00
kesselb c663cbe666 Merge pull request #25778 from noiob/patch-1
Remove double space in sharebymail SettingsManager
2021-02-25 19:31:34 +01:00
Christoph Wurst ce082dd49b Merge pull request #25786 from nextcloud/fix/register-aliases-params-once
Register service aliases und parameters just once
2021-02-25 09:47:27 +01:00
Nextcloud bot c8f7a808fd [tx-robot] updated from transifex 2021-02-25 02:21:21 +00:00
Christoph Wurst 6a9b693540 Register service aliases und parameters just once
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-24 17:30:10 +01:00
noiob f28ee36e20 Remove double space so php-cs stops complaining
Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
2021-02-24 11:33:19 +01:00
Nextcloud bot b89fbaf52d [tx-robot] updated from transifex 2021-02-24 02:22:06 +00:00
Arthur Schiwon 4d33449faa fix detecting cyclic group memberships
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-23 22:50:43 +01:00
Nextcloud bot ff54a0481b [tx-robot] updated from transifex 2021-02-23 02:39:25 +00:00
Richard Steinmetz 2771e4472e Fix admin password strengthify tooltip
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-02-22 21:28:42 +01:00
Christoph Wurst bfa8114069 Bump the Symfony polyfills
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-22 19:26:26 +01:00
Lukas Reschke d090341b34 Merge pull request #25743 from nextcloud/disable-vs-code-intellisense
Disable basic PHP completion in Codespace
2021-02-22 15:27:11 +01:00
Lukas Reschke cecf319747 Disable basic PHP completion in Codespace
This competes with the completions provided by
https://github.com/felixfbecker/vscode-php-intellisense.

Thus disabling the completions is recommended.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-22 11:30:17 +00:00
Lukas Reschke e5a0219133 Merge pull request #25680 from nextcloud/taint-expressionbuilder
Add expression taint source and sanitizer
2021-02-22 12:26:48 +01:00
John Molakvoæ 1eca8d21ee Merge pull request #25602 from nextcloud/bugfix/noid/only-create-share-once
Avoid creating two share links when password is enforced
2021-02-22 12:08:49 +01:00
Vincent Petry f321538c9b Merge pull request #25689 from nextcloud/bugfix/noid/disable-updater-ui-when-disabled
Hide update channel + button when web update is disabled
2021-02-22 09:29:56 +01:00
Nextcloud bot 3ff92423e2 [tx-robot] updated from transifex 2021-02-21 02:39:59 +00:00
François Freitag 5315cadf28 Remove Makefile rule clean-dev
From npm ci docs https://docs.npmjs.com/cli/v7/commands/npm-ci:

If a node_modules is already present, it will be automatically removed
before npm ci begins its install.

Unnecessary since b595d86e96.

Signed-off-by: François Freitag <mail@franek.fr>
2021-02-20 20:20:05 +01:00
Nextcloud bot ac2577a594 [tx-robot] updated from transifex 2021-02-20 02:37:22 +00:00
Lionel Elie Mamane 02809bde12 make php-cs-fixer happy
Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2021-02-19 23:18:18 +01:00
Lionel Elie Mamane f99f463834 token login: emit preLogin event with LoginName
to bring it in line with normal (non-token) login.

Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
2021-02-19 22:27:46 +01:00
Julius Härtl 9073c09c62 Avoid creating two share links when password is enforced
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-19 11:16:38 +00:00
John Molakvoæ 946430862e Merge pull request #24978 from dems54/issue24139 2021-02-19 08:20:58 +01:00
Nextcloud bot c222bac9ed [tx-robot] updated from transifex 2021-02-19 02:20:56 +00:00
Roeland Jago Douma 3a75e14844 Bump the ca location
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-18 20:21:34 +01:00
Roeland Jago Douma 16652ac6c6 Explicitly check hex2bin input
For #23197

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-18 20:12:20 +01:00
Christoph Wurst 5026d2cca1 Merge pull request #25086 from nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
2021-02-18 14:05:54 +01:00
Roeland Jago Douma bbb39cf3de Merge pull request #25707 from nextcloud/bugfix/noid/send-emails-of-password-reset-to-displayname
Send emails on password reset to the displayname
2021-02-18 14:04:09 +01:00
dependabot-preview[bot] eb502c02ff Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-18 13:31:24 +01:00
Joas Schilling 6ed4aaeeea Send emails on password reset to the displayname
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-18 12:38:43 +01:00
Roeland Jago Douma d79cc8ea6d Merge pull request #25706 from nextcloud/bugfix/noid/when-it-kicks-in
When coding style kicks in
2021-02-18 11:30:06 +01:00
Joas Schilling 1de3b8b0ec When it kicks in
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-18 10:14:12 +01:00
Vincent Petry 6ce469132c Hide updater button when web updater is disabled
Whenever the web updater is disabled, the updater button and its
matching token requesting endpoints are disabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-18 08:53:57 +01:00
Nextcloud bot 5f194dad24 [tx-robot] updated from transifex 2021-02-18 02:21:54 +00:00
Roeland Jago Douma 82f4bb0eba Merge pull request #25700 from nextcloud/fix/zipresponse-initialize-array
Initialize \OCP\AppFramework\Http\ZipResponse::$resources
2021-02-17 22:26:06 +01:00
Lukas Reschke d7590a6190 Add expression taint source and sanitizer
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-17 21:38:15 +01:00
Roeland Jago Douma 00d1a58a09 Merge pull request #25681 from nextcloud/techdebt/noid/cleanup-provisioning
Cleanup appinfo usage
2021-02-17 21:16:09 +01:00
Roeland Jago Douma 1e383c8072 Merge pull request #25697 from nextcloud/fix/noid/applicable-dav-repair-v
bump applicable version due to an intermediate release
2021-02-17 21:00:25 +01:00
Christoph Wurst 08d4458542 Initialize \OCP\AppFramework\Http\ZipResponse::$resources
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-17 19:59:27 +01:00
Arthur Schiwon 9d96b0b7fb bump applicable version due to an intermediate release
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-02-17 17:37:45 +01:00
Robin Appelman b5db4502d0 disable trasbin during the moveFromStorage fallback
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-17 16:08:57 +01:00
Christoph Wurst d4b99c81f3 Merge pull request #25668 from nextcloud/enh/carddav/to_querybuilder
Move getChangesForAddressBook to QueryBuilder
2021-02-17 10:57:47 +01:00
Roeland Jago Douma ff1c5c4e25 Move getChangesForAddressBook to QueryBuilder
Makes psalm happy, and makes me happy.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-17 09:06:00 +01:00
Roeland Jago Douma 644e6df02e Merge pull request #25440 from nextcloud/bugfix/noid/cache-the-user-backend-info-for-30s
Cache the user backend info for 5mins
2021-02-17 08:56:55 +01:00
Roeland Jago Douma ec3d7f7d97 Merge pull request #25687 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-02-17 07:29:59 +01:00
Nextcloud-PR-Bot 8b6144aae7 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-02-17 04:31:22 +00:00
Nextcloud bot 57212a99f9 [tx-robot] updated from transifex 2021-02-17 02:21:05 +00:00
Roeland Jago Douma f0c8f7421f Merge pull request #25678 from nextcloud/drop/defaults-logo-claim
Drop \OCP\Defaults::getLogoClaim
2021-02-16 16:14:04 +01:00
Joas Schilling 89d2eaca0a Cleanup appinfo usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-16 15:51:25 +01:00
Samuel 2dac72ddea Merge remote-tracking branch 'upstream/master' into feat-federatedfilesharing-logging 2021-02-16 14:33:22 +01:00
Roeland Jago Douma be0002d096 Merge pull request #25675 from nextcloud/enh/db/drop_redundant_indexes
Drop redundant indes
2021-02-16 12:39:24 +01:00
Christoph Wurst 0f9aa499e4 Drop \OC_Theme::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-16 11:48:16 +01:00
Christoph Wurst 24e035dfc8 Drop \OCP\Defaults::getLogoClaim
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-16 11:46:06 +01:00
Christoph Wurst 0c5adaddf8 Drop \OC\Memcache\Factory::create
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-16 11:43:05 +01:00
Roeland Jago Douma 2ea3cb7c93 Drop redundant indes
Those indexes are already covered by others. So those can just be used.
THose extra indexes just take up space.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-16 11:38:43 +01:00
Christoph Wurst a649dff179 Merge pull request #25669 from nextcloud/fix/psalm/encryptall
Harden EncryptAll check for empty email
2021-02-16 08:16:19 +01:00
Roeland Jago Douma 940ea8373d Merge pull request #25673 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-02-16 07:48:11 +01:00
Nextcloud-PR-Bot 7ff5797227 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-02-16 04:30:43 +00:00
Nextcloud bot 45d36ec2b2 [tx-robot] updated from transifex 2021-02-16 02:21:36 +00:00
Roeland Jago Douma 918af40f05 Harden EncryptAll check for empty email
Reported by psalm
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 22:28:28 +01:00
Roeland Jago Douma d6e34b5045 Merge pull request #25664 from nextcloud/fix/psalm/dav_casts
Fix some RedundantCast in dav code
2021-02-15 22:04:46 +01:00
Christoph Wurst 4a801f39ee Merge pull request #25661 from nextcloud/fix/crl
Updated CRL
2021-02-15 22:04:16 +01:00
Roeland Jago Douma df4c2508d6 Fix some RedundantCast in dav code
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 20:50:28 +01:00
Roeland Jago Douma c45dc502ca Merge pull request #25654 from nextcloud/abstractcacheevent-ocp
move AbstractCacheEvent into OCP
2021-02-15 20:36:15 +01:00
Roeland Jago Douma a61c3705f8 Merge pull request #25655 from nextcloud/bugfix/noid/dark-mode-applist-icons
Fix app icon list in dark mode
2021-02-15 20:34:56 +01:00
Roeland Jago Douma 6a0aadc459 Updated CRL
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 20:32:48 +01:00
Roeland Jago Douma 7d654b190b Merge pull request #25657 from nextcloud/overwriteprotocol-codespace
Set overwriteprotocol to HTTPS in Codespace
2021-02-15 19:45:57 +01:00
Robin Appelman 0363af3790 move AbstractCacheEvent into OCP
otherwise we have concrete cache events in OCP extending non OCP classes

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-15 19:12:30 +01:00
kesselb a33803a31b Merge pull request #25653 from nextcloud/fix/psalm/offlineuser
Some psalm OfflineUser fixes
2021-02-15 17:04:16 +01:00
Lukas Reschke 4dd25f8de8 Set overwriteprotocol to HTTPS in Codespace
Codespace is serving everything only as HTTPS. To keep the URLs valid, we also need to overwrite the protocol. (otherwise e.g. you can't develop the SAML app as the URLs are invalid)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-15 16:48:39 +01:00
Roeland Jago Douma 9fd72b0d3a Merge pull request #25595 from nextcloud/enh/caldavbackend/getChangesForCalendar_querybuilder
Move getChangesForCalendar to QueryBuilder
2021-02-15 16:39:46 +01:00
Roeland Jago Douma b48d53d272 Merge pull request #25623 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-promise-4.3.1
Bump eslint-plugin-promise from 4.2.1 to 4.3.1
2021-02-15 16:38:46 +01:00
Joas Schilling f83de9d194 Fix app icon list in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 16:26:30 +01:00
Roeland Jago Douma 3f4ece256e Some psalm OfflineUser fixes
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 13:36:02 +01:00
Roeland Jago Douma 9929adde08 Merge pull request #25594 from wankdanker/files_sharing_owner_display_name
Use ownerDisplayName for SharingEntry Tooltip
2021-02-15 13:17:25 +01:00
Christoph Wurst 797527e5ea Merge pull request #25578 from nextcloud/enh/simplify_weatherservice
Always use the cache
2021-02-15 12:27:03 +01:00
Christoph Wurst b794fadbce Merge pull request #25575 from k00ni/pr/add-tests-for-LoginFlowV2Service
Add tests for \OC\Core\Service\LoginFlowV2Service
2021-02-15 12:22:39 +01:00
Christoph Wurst 5faa34abb1 Merge pull request #25625 from nextcloud/enh/psalm/substr
Check substr results
2021-02-15 12:17:57 +01:00
Roeland Jago Douma b0f205f97c Move getChangesForCalendar to QueryBuilder
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 12:07:26 +01:00
Christoph Wurst 65465b5abc Merge pull request #25636 from nextcloud/fix/psalm/closure_return_types
Add some closure return types
2021-02-15 12:07:24 +01:00
Christoph Wurst 19f1cc6dde Merge pull request #25646 from nextcloud/fix/psalm/markdown
Markdown: remove redundant int cast
2021-02-15 12:04:21 +01:00
Christoph Wurst 3ca3fefb3c Merge pull request #25645 from nextcloud/enh/pslam/ocs_result
Some OCS result psalm fixes
2021-02-15 11:42:00 +01:00
Christoph Wurst 19666a0942 Merge pull request #25644 from nextcloud/fix/psalm/settings
Some psalm fixes in the settings app
2021-02-15 11:40:40 +01:00
Joas Schilling 645f83121e Cache the user backend info for 300s
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 10:36:08 +01:00
Roeland Jago Douma 4d7c4b3d2f Markdown: remove redundant int cast
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 10:29:54 +01:00
Roeland Jago Douma 507d5cf8ad Check substr results
Else this might lead to unexpeted errors.
Found by psalm.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 10:07:13 +01:00
Roeland Jago Douma 11a9bd3e19 Some OCS result psalm fixes
For #25641

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 10:03:48 +01:00
Roeland Jago Douma bd8b1786c5 Some psalm fixes in the settings app
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-15 10:00:35 +01:00
Roeland Jago Douma 84de7a8d63 Merge pull request #25580 from nextcloud/enh/fix/psalm_pluginmanager
Enhancing the dav pluginmanager
2021-02-15 09:11:16 +01:00
Roeland Jago Douma 45118df083 Merge pull request #25642 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-02-15 08:59:36 +01:00
Nextcloud-PR-Bot 974a191381 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-02-15 04:31:27 +00:00
Nextcloud bot b418a680e7 [tx-robot] updated from transifex 2021-02-15 02:20:11 +00:00
kesselb dff8457e8f Merge pull request #25635 from nextcloud/fix/psalm/ProperNameSpace
Use correct namespace (casing) in CalendarHome
2021-02-14 19:47:21 +01:00
Roeland Jago Douma d2569eed58 Fix PluginManager annotation
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-14 12:46:50 +01:00
Roeland Jago Douma e62790cfe2 Add some closure return types
Found by psalm

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-14 12:43:31 +01:00
Roeland Jago Douma 19f7476f77 Use correct namespace (casing) in CalendarHome
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-14 12:36:41 +01:00
Roeland Jago Douma d93a3665a0 Merge pull request #25634 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-02-14 09:55:49 +01:00
Nextcloud-PR-Bot abaa073923 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-02-14 04:31:01 +00:00
Nextcloud bot 65cd62e875 [tx-robot] updated from transifex 2021-02-14 02:20:02 +00:00
Roeland Jago Douma 9d987c0069 Merge pull request #25628 from nextcloud/revert-25608-trusted-proxy-check-correct-header
Revert "use the configured forwarded headers for the setup check"
2021-02-13 18:03:49 +01:00
Roeland Jago Douma 7d8e9baa77 Revert "use the configured forwarded headers for the setup check" 2021-02-13 18:03:32 +01:00
Roeland Jago Douma 24d4c3eeab Merge pull request #25577 from nextcloud/enhancement/app-code-checker-noop
Make the app code checker a NOOP
2021-02-13 15:51:41 +01:00
dependabot-preview[bot] d04f8a8b53 Merge pull request #25619 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.33 2021-02-13 14:18:56 +00:00
Roeland Jago Douma 3b8cf10a8a Merge pull request #25604 from nextcloud/bugfix/noid/fix-hover-background-for-dark-mode
Fix hover background for dark mode
2021-02-13 15:01:57 +01:00
Roeland Jago Douma ae4e47cbe7 Merge pull request #25608 from nextcloud/trusted-proxy-check-correct-header
use the configured forwarded headers for the setup check
2021-02-13 14:58:26 +01:00
Roeland Jago Douma 5b43afd076 Merge pull request #25612 from nextcloud/bugfix/noid/make-new-result-parts-optional
Make new result parts optional
2021-02-13 14:55:55 +01:00
dependabot-preview[bot] 0d597d0707 Bump moment-timezone from 0.5.32 to 0.5.33
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.32 to 0.5.33.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.32...0.5.33)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-13 13:35:27 +00:00
dependabot-preview[bot] 97f2c59612 Merge pull request #25620 from nextcloud/dependabot/npm_and_yarn/babel-loader-exclude-node-modules-except-1.1.2 2021-02-13 13:24:04 +00:00
dependabot-preview[bot] 43570dbec7 Merge pull request #25622 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.16 2021-02-13 05:55:26 +00:00
dependabot-preview[bot] 38577c3b3a Bump @babel/preset-env from 7.12.13 to 7.12.16
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-13 03:33:05 +00:00
dependabot-preview[bot] e5c776740c Merge pull request #25621 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.16 2021-02-13 03:30:25 +00:00
dependabot-preview[bot] 1d9f44f866 Bump eslint-plugin-promise from 4.2.1 to 4.3.1
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.2.1 to 4.3.1.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/compare/v4.2.1...v4.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-13 02:21:36 +00:00
Nextcloud bot 69f0d7d5d4 [tx-robot] updated from transifex 2021-02-13 02:20:27 +00:00
dependabot-preview[bot] ea25ec81ec Bump @babel/core from 7.12.13 to 7.12.16
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.13 to 7.12.16.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.16/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-13 02:18:45 +00:00
dependabot-preview[bot] 03c0b0a5f4 Bump babel-loader-exclude-node-modules-except from 1.0.3 to 1.1.2
Bumps [babel-loader-exclude-node-modules-except](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except) from 1.0.3 to 1.1.2.
- [Release notes](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except/releases)
- [Commits](https://github.com/dutchenkoOleg/babel-loader-exclude-node-modules-except/compare/1.0.3...1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-13 02:17:55 +00:00
Christoph Wurst c1b2ca8489 Merge pull request #25563 from nextcloud/direct-download-event
add event for when a direct download is triggered
2021-02-12 19:02:51 +01:00
Robin Appelman f824f273b6 add event for when a direct download is triggered
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-12 17:33:12 +01:00
Joas Schilling 83755b7b02 Make new result parts optional
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-12 16:21:47 +01:00
Robin Appelman 01118a2218 use the configured forwarded headers for the setup check
instead of always checking against the same header

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-12 14:22:27 +01:00
Robin Appelman cc0cc68c8d dont show trusted proxy warning when the proxy and remote are both localhost
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-12 13:32:51 +01:00
Joas Schilling 9c1983b714 Fix hover background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-12 13:18:39 +01:00
Konrad Abicht 330315f03e refined name of getOpenSSLEncryptedAndPrivateKey
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-12 13:01:37 +01:00
Konrad Abicht 0bc49d67cd added unit tests for LoginFlowV2Service::createTokens
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-12 12:57:24 +01:00
Dan VerWeire 1f47ae7c1b Use ownerDisplayName for SharingEntry Tooltip
Some NC installations may use a LDAP UUID for the username. If that
is the case, then the tooltip for who a file/folder was shared by may say something
like `Shared with Steve McQueen (smqueen@yada.com) by FKDJ39-38D794JG-4398GJODF9H3G-4534`.

This commit changes the value showed for the owner to the full display name.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-12 07:32:26 +00:00
Nextcloud bot 361f160d0d [tx-robot] updated from transifex 2021-02-12 02:20:18 +00:00
Roeland Jago Douma f124cb0ef1 Merge pull request #25582 from nextcloud/fix/no-imip-for-invalid-recpient
Do not send imip email to invalid recipients
2021-02-11 19:57:58 +01:00
Roeland Jago Douma 37199c1da0 Merge pull request #25585 from nextcloud/enhancement/empty-email-validation
Micro-optimize validation of empty email addresses
2021-02-11 19:51:06 +01:00
Samuel 059bcf65a5 Merge remote-tracking branch 'upstream/master' into feat-federatedfilesharing-logging 2021-02-11 19:28:34 +01:00
Robin Appelman c6ce1eb557 forward invalid argument message to frontend when creating a user fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-11 17:05:51 +01:00
Christoph Wurst 77a8ba0d11 Migrate WFE to the new PSR logger
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 16:17:37 +01:00
Christoph Wurst d45692ee96 Migrate custom loggers to PSR
This will help phase out the deprecated ILogger interface.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 16:16:34 +01:00
Christoph Wurst 5babad4f6f Merge pull request #25576 from nextcloud/fix/webp_check
Fix WebP availability check
2021-02-11 15:58:14 +01:00
Christoph Wurst 883848b58a Micro-optimize validation of empty email addresses
Then we don't have to construct any validators.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 15:15:38 +01:00
Christoph Wurst 9430de181e Do not send imip email to invalid recipients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 15:13:05 +01:00
Jan C. Borchardt e207b94554 Merge pull request #25299 from elsiehupp/favicon-touch-corners
favicon-touch image corners
2021-02-11 12:28:02 +01:00
Samuel 54cb0372c6 fix(tests)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-11 12:24:38 +01:00
Samuel 957e287b79 Merge remote-tracking branch 'upstream/master' into feat-federatedfilesharing-logging 2021-02-11 12:06:16 +01:00
Roeland Jago Douma bf4210aa8d Always use the cache
If there is no cache available we will use the null cache. Which (you
guessed it) just doesn't do anything. This makes the code flow a bit
nicer and psalm a bit happier.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-11 11:48:52 +01:00
Christoph Wurst e618ea83b5 Make the app code checker a NOOP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-11 11:46:02 +01:00
Roeland Jago Douma cc554890c1 Fix WebP availability check
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-11 11:31:38 +01:00
Konrad Abicht c755165dd4 added unit tests for LoginFlowV2Service::flowDone
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-11 10:45:47 +01:00
Roeland Jago Douma d5dea10517 Merge pull request #25378 from nextcloud/bugfix/noid/mention-match-improvements
Improve mention matches
2021-02-11 10:33:15 +01:00
Konrad Abicht d60dd8a208 added unit tests for LoginFlowV2Service::startLoginFlow
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-11 09:56:09 +01:00
Konrad Abicht f29748a5e1 added unit tests for LoginFlowV2Service::getByLoginToken
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-11 09:49:39 +01:00
Konrad Abicht b0a2278a7e added unit tests for LoginFlowV2Service::poll
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-11 09:38:29 +01:00
Nextcloud bot 02885358a9 [tx-robot] updated from transifex 2021-02-11 02:20:37 +00:00
Christoph Wurst 8a474305fa Merge pull request #25570 from nextcloud/enh/dashboard/psalm_fixes
Some psalm fixes for the DashboardController
2021-02-10 21:37:18 +01:00
Roeland Jago Douma 7bacd710a1 Merge pull request #25460 from nextcloud/fix/apppassword/always_renew
Always renew apppasswords on login
2021-02-10 21:09:20 +01:00
Roeland Jago Douma a6cd238517 Some psalm fixes for the DashboardController
* Use the AppFramework IInitialState
* Set return type

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-10 20:00:04 +01:00
Roeland Jago Douma d0cf4e2f58 Merge pull request #24904 from nextcloud/enh/github-psalm
Have psalm analysis directly on github
2021-02-10 19:03:55 +01:00
Roeland Jago Douma cd457cc68b Always renew apppasswords on login
Else you can end up that you renewed your password (LDAP for example).
But they still don't work because you did not use them before you logged
in.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-10 19:02:37 +01:00
Roeland Jago Douma 1cc23c6e6e Merge pull request #25558 from nextcloud/deprecate/generic-event-wrapper
Deprecate the GenericEvent wrapper
2021-02-10 18:57:07 +01:00
Roeland Jago Douma 847ee4041a Merge pull request #25566 from nextcloud/fix/25359/followup
Fix remaining #25359
2021-02-10 18:02:24 +01:00
Christoph Wurst 039ecbdcf9 Merge pull request #25560 from nextcloud/enhancement/pure-psr-event
Make our event base class independent of Symfony and follow PSR
2021-02-10 16:13:06 +01:00
Roeland Jago Douma 25f9203a70 Fix remaining #25359
As a wise man once said:

"I like PRs that pass tests before merging"
C. Wurst, Feb 9th 2021

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-10 15:41:25 +01:00
Christoph Wurst 2f26ff40e9 Merge pull request #25359 from nextcloud/enhancement/typed-service-registration
Type the service registration
2021-02-10 15:31:42 +01:00
Roeland Jago Douma 8677870a09 Merge pull request #25435 from nextcloud/fix/favorite-icon
Fix favorite dark icon
2021-02-10 15:19:04 +01:00
Christoph Wurst 0a28440bf6 Make our event base class independent of Symfony and follow PSR
Symfony is migrating towards a pure PSR event dispatcher, hence their
event class is POPO that implements the PSR stoppable event interface.
Since we can do that ourself and this change doesn't come with any API
changes (breakage), it's easy for us to become independent of Symfony
but also stay PSR-compliant at the same step.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-10 15:15:29 +01:00
Roeland Jago Douma f9a4871bd4 Merge pull request #25557 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2021-02-10 15:15:04 +01:00
Roeland Jago Douma cc18213c98 Have psalm analysis directly on github
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-10 14:57:36 +01:00
Lukas Reschke d42f9e65a2 Merge pull request #25554 from nextcloud/fix/pslam/tainted_cookie
tain-escape the cookie input
2021-02-10 12:20:49 +01:00
Christoph Wurst aabd73912e Type the service registration
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-10 09:44:24 +01:00
Christoph Wurst f76ec25e58 Deprecate the GenericEvent wrapper
This class is a convenience type to replace the old Symfony GenericEvent
with our own type, to ease the transition from Symfony events to our
(PSR) events. Hence we can deprecate the class as precaution to smoothen
the next transition step in the future.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-10 08:54:08 +01:00
Nextcloud-PR-Bot 130ce14892 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-02-10 04:31:13 +00:00
Nextcloud bot decb70b9ac [tx-robot] updated from transifex 2021-02-10 02:20:59 +00:00
Roeland Jago Douma 784a752c0f tain-escape the cookie input
we only set the cookie if it is a proper <=32 char alphanum string.
Otherwise we just ignore the input.
Makes psalm also happier so that we can focus on other errors.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-09 22:35:18 +01:00
Christoph Wurst e4ca0c9fa0 Merge pull request #25548 from k00ni/pr/add-tests-for-LoginFlowV2Credentials
Added tests for OC\Core\Data\LoginFlowV2Credentials
2021-02-09 21:37:37 +01:00
Lukas Reschke 1fb03b3b2f Merge pull request #25545 from k00ni/fix/Dockerfile-wrong-package-name-php7.4-acpu
Corrected package name used in .devcontainer/Dockerfile (php7.4-acpu => php7.4-apcu)
2021-02-09 21:26:30 +01:00
Christoph Wurst 3c2ea99940 Merge pull request #25546 from nextcloud/techdept/deprecate-event-constants
Deprecate all remaining event constants
2021-02-09 20:19:04 +01:00
Christoph Wurst f96f0f6cad Merge pull request #25543 from nextcloud/deprecate/idb-events
Deprecate the internal IDBConnection event name constants
2021-02-09 18:50:55 +01:00
Christoph Wurst f8808e260d Move app_password_created to a typed event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-09 18:49:35 +01:00
Christoph Wurst 4201fb25d3 Merge pull request #25549 from nextcloud/remove-reconnect-wrapper
remove ReconnectWrapper
2021-02-09 18:15:56 +01:00
Robin Appelman 111fa47f10 remove ReconnectWrapper
dbal now handles it's own reconnections: https://github.com/doctrine/dbal/blob/3.0.x/UPGRADE.md#the-pingableconnection-interface-is-removed

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-09 16:40:09 +01:00
Konrad Abicht a50c615d37 simplified tests
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-09 15:48:37 +01:00
Konrad Abicht a28705064b fixed coding style issue
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-09 15:40:19 +01:00
Konrad Abicht b38a619212 added tests for OC\Core\Data\LoginFlowV2Credentials
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-09 15:25:37 +01:00
Roeland Jago Douma f797a94393 Merge pull request #25531 from nextcloud/fix/dispatcher-argument-order
Fix the legacy dispatcher argument order
2021-02-09 14:39:12 +01:00
Christoph Wurst 4c6bc62f38 Merge pull request #25535 from nextcloud/query-exception-foreward
Improve exception when auto-wiring fails
2021-02-09 14:27:43 +01:00
Christoph Wurst 4fc0b2c639 Deprecate all remaining event constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-09 13:53:41 +01:00
Konrad Abicht f987eaea10 corrected package name used in .devcontainer/Dockerfile (php7.4-acpu => php7.4-apcu)
Signed-off-by: Konrad Abicht <hi@inspirito.de>
2021-02-09 13:52:52 +01:00
Roeland Jago Douma a36186980d Merge pull request #25542 from nextcloud/fix-file-checker
Add .devcontainer to file-checker.php
2021-02-09 13:20:10 +01:00
Robin Appelman ec875227ec forward query exception when fallback construction fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-09 13:15:22 +01:00
Christoph Wurst 3d075c370a Deprecate the internal IDBConnection event name constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-09 11:27:59 +01:00
Lukas Reschke d4c718acad Add .devcontainer to file-checker.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-09 11:22:29 +01:00
Christoph Wurst abc61a9f63 Fix the legacy dispatcher argument order
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-09 10:47:14 +01:00
Samuel 75fbc66f9b fix(sahre20): missing ILogger param instantiating Notifications
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 09:55:39 +01:00
Samuel dca4e4d528 fix(no_unused_imports)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 09:46:52 +01:00
Samuel d441da2a80 fix(php-cs)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 09:41:07 +01:00
Samuel 9b600a5365 fix(misc)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 08:35:16 +01:00
Samuel 6e4cd33d12 fix(php-cs)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 08:18:16 +01:00
Samuel e7ea31dcaa fix(logger): use logger from constructor arguments
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-09 07:49:01 +01:00
Nextcloud bot 9eea1e56dc [tx-robot] updated from transifex 2021-02-09 02:20:45 +00:00
Roeland Jago Douma 983f7f3e49 Merge pull request #25493 from Worteks/fix-filessharing-debug
fix(log): remove debug log in _formatRemoteShare, suggested by @maxbes
2021-02-08 21:40:05 +01:00
Roeland Jago Douma 4854f91d94 Merge pull request #25423 from nextcloud/codespace
Add support for Codespaces
2021-02-08 21:27:02 +01:00
Robin Appelman 3401be216d forward original query exception when querying by name fails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-08 19:13:25 +01:00
Lukas Reschke 838c7005d3 Install more PHP modules by default
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 17:16:29 +00:00
Lukas Reschke b68ff8df64 Hard-code SMTP configuration
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 17:08:42 +00:00
Lukas Reschke 7f983cc549 Add initial support for GitHub codespaces
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-08 16:55:01 +00:00
Samuel 28214f73f3 fix(pebkac): missing use OC
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-08 10:18:02 +01:00
Samuel 77825e6961 fix(logger): set logger in constructor
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-08 10:11:00 +01:00
Nextcloud bot 26a20ed13f [tx-robot] updated from transifex 2021-02-08 02:20:05 +00:00
dependabot-preview[bot] 4c0ad08084 Merge pull request #25517 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.12.13 2021-02-07 12:05:36 +00:00
dependabot-preview[bot] a21a8adb2b Bump @babel/preset-env from 7.12.11 to 7.12.13
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-preset-env)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-07 11:36:26 +00:00
Samuel 69df6c41de fix(ci): build additionalScripts
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-07 11:06:11 +01:00
dependabot-preview[bot] 9e1a3a1447 Merge pull request #25516 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.3 2021-02-07 09:38:42 +00:00
dependabot-preview[bot] 2d4e33da83 Bump css-vars-ponyfill from 2.4.2 to 2.4.3
Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.2 to 2.4.3.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.2...v2.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-07 09:11:00 +00:00
Nextcloud bot f19287ae57 [tx-robot] updated from transifex 2021-02-07 02:20:51 +00:00
Joas Schilling 98032425b4 Fix linter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-06 13:07:06 +01:00
Joas Schilling 86109f77e0 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-06 13:07:06 +01:00
Joas Schilling ef7ed47f14 Make Psalm happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-06 13:07:06 +01:00
Joas Schilling 1344c61145 Improve mention matches
The previous regex didn't correctly match users with . ' or -

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-06 13:07:05 +01:00
Roeland Jago Douma cd77b1f238 Merge pull request #25499 from nextcloud/test/symfony-adapter
Test the symfony adapter / fix missing return object
2021-02-06 13:01:23 +01:00
dependabot-preview[bot] 6945bd8cc3 Merge pull request #25518 from nextcloud/dependabot/npm_and_yarn/chai-4.3.0 2021-02-06 10:07:47 +00:00
Roeland Jago Douma 572dd7b088 Merge pull request #25503 from nextcloud/bugfix/23617/fix-share-dropdown-position
Sharing dropdown now opens below
2021-02-06 10:59:32 +01:00
Roeland Jago Douma 6b1a4fa983 Merge pull request #25505 from nextcloud/versions-expire-handle-unavailable
dont stop expiring versions if we cant check if the source file still exists
2021-02-06 10:57:14 +01:00
dependabot-preview[bot] 593b0ae9e1 Merge pull request #25515 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.5.0 2021-02-06 09:46:31 +00:00
dependabot-preview[bot] c055d41135 Merge pull request #25521 from nextcloud/dependabot/npm_and_yarn/babel/core-7.12.13 2021-02-06 06:18:53 +00:00
dependabot-preview[bot] 4e9cd27437 Bump @babel/core from 7.12.10 to 7.12.13
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-core)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-06 04:24:12 +00:00
dependabot-preview[bot] 3cda104aac Merge pull request #25520 from nextcloud/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.12.13 2021-02-06 04:21:42 +00:00
dependabot-preview[bot] 56dff29468 Merge pull request #25512 from nextcloud/dependabot/npm_and_yarn/build/karma-viewport-1.0.8 2021-02-06 02:50:09 +00:00
dependabot-preview[bot] 05b21584ad Bump @babel/plugin-proposal-class-properties from 7.12.1 to 7.12.13
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.1 to 7.12.13.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.13/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-06 02:22:13 +00:00
Nextcloud bot 8bb6bb53ad [tx-robot] updated from transifex 2021-02-06 02:20:50 +00:00
dependabot-preview[bot] dd0766014a Bump chai from 4.2.0 to 4.3.0
Bumps [chai](https://github.com/chaijs/chai) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/chaijs/chai/releases)
- [Changelog](https://github.com/chaijs/chai/blob/master/History.md)
- [Commits](https://github.com/chaijs/chai/compare/4.2.0...4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-06 02:20:29 +00:00
dependabot-preview[bot] 1d2190cb83 Bump webpack-cli from 4.4.0 to 4.5.0
Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.4.0...webpack-cli@4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-06 02:16:32 +00:00
dependabot-preview[bot] 4ff94fae3e Bump karma-viewport from 1.0.7 to 1.0.8 in /build
Bumps [karma-viewport](https://github.com/squidfunk/karma-viewport) from 1.0.7 to 1.0.8.
- [Release notes](https://github.com/squidfunk/karma-viewport/releases)
- [Changelog](https://github.com/squidfunk/karma-viewport/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/karma-viewport/compare/1.0.7...1.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-06 02:15:41 +00:00
Roeland Jago Douma 6e461248e0 Merge pull request #25500 from Worteks/fix-sharemanager-genericshareexception
fix(translation): replace static error message
2021-02-05 16:17:34 +01:00
Robin Appelman b2fb4d898a dont stop expiring versions if we cant check if the source file still exists
instead continue assuming it still exists

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-02-05 15:06:43 +01:00
Vincent Petry 50004bc4a5 Sharing dropdown now opens below
Fixes an issue where the dropdown list was not visible on small screens
as it would appear above the field and be hidden behind the container
border.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-05 14:47:01 +01:00
Roeland Jago Douma c12b3f4de3 Merge pull request #25404 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.1
Bump vue-router from 3.4.9 to 3.5.1
2021-02-05 14:03:51 +01:00
Samuel 3a077a3903 revert(comment)
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 13:27:37 +01:00
Samuel 5f8dfa8e4c revert(exception): keep throwing an exception for now
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 12:52:59 +01:00
Christoph Wurst 52c1464aae Merge pull request #25472 from nextcloud/js/burn/dompurity
Kill DOMPurify from main bundle
2021-02-05 12:33:26 +01:00
Samuel 2c59e59023 fix(php-cs): indentation / elseif, maybe braces?
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 12:16:01 +01:00
Christoph Wurst f6ddda8dad Test the symfony adapter
To prevent regression in the future.

And make sure we always return an object …

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-05 12:14:47 +01:00
Samuel 59e43b4828 fix(translation): replace static error message
as suggested by @kesselb in nextcloud/server#25490

Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 12:06:35 +01:00
Samuel e41afea739 feat(federatedfilesharing): log errors, as suggested by @maxbes
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 11:55:56 +01:00
dependabot-preview[bot] 73d9d65f11 Bump vue-router from 3.4.9 to 3.5.1
Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.4.9 to 3.5.1.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.4.9...v3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-05 10:33:58 +00:00
Roeland Jago Douma 4b97ef9b41 Merge pull request #25487 from nextcloud/fix/generic-even-wrapper-log-once
Log deprecation notice of GenericEventWrapper just once
2021-02-05 11:12:20 +01:00
Samuel 73338a061b fix(debug): remove debug log in _formatRemoteShare, suggested by @maxbes
Signed-off-by: Samuel <faust64@gmail.com>
2021-02-05 10:45:44 +01:00
Christoph Wurst 91e1707498 Log deprecation notice of GenericEventWrapper just once
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-05 08:45:58 +01:00
Nextcloud bot c935f6a776 [tx-robot] updated from transifex 2021-02-05 02:21:31 +00:00
Vincent Petry 99052da983 Merge pull request #25441 from nextcloud/bugfix/24473/quickfix-tags-view-once
Fix duplicate tag info view registration
2021-02-04 10:11:22 +01:00
Roeland Jago Douma 7f5549d94e Merge pull request #25443 from nextcloud/bugfix/25442/fix-settings-users-pagination-tolerance
Make user list pagination more tolerant
2021-02-04 09:34:36 +01:00
Vincent Petry 49568e2a31 Make user list pagination more tolerant
In case the server returns more results than expected by the limit, it
is now still interpreted as there being more results to query.

This situation can happen when there are multiple user backends in
place.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-04 08:52:51 +01:00
Nextcloud bot df9ce19a6b [tx-robot] updated from transifex 2021-02-04 02:20:03 +00:00
Vincent Petry 8b04280f38 Fix duplicate tag info view registration
Only register the tag info view once as it's stored in a singleton.
This fixes an issue where the tag info view did not get rendered after
swiching between different file views.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-03 22:50:40 +01:00
Roeland Jago Douma a9b1ed4ba7 Kill DOMPurify from main bundle
Apps using this should ship their own.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-03 22:45:15 +01:00
Roeland Jago Douma 2004bf74eb Merge pull request #25467 from nextcloud/debt/noid/test-dbal-exception-wrap
Add test for dbal exception wrapping
2021-02-03 21:35:56 +01:00
Joas Schilling a7cf6dbdb0 Merge pull request #25468 from nextcloud/fix/nextcloud-upgrade-22
Allow upgrades in Nextcloud 22 / Disallow upgrade from 20
2021-02-03 21:34:52 +01:00
Christoph Wurst aefcc03b78 Do not allow upgrade from Nextcloud 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 20:07:38 +01:00
Christoph Wurst 6e445aaaf3 Allow upgrades in Nextcloud 22
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 20:05:16 +01:00
Daniel Kesselberg b68c3a5836 Add test for dbal exception wrapping
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-02-03 19:43:52 +01:00
Christoph Wurst 9c5c865f45 Merge pull request #25464 from nextcloud/enhancement/parse-calendar-object-for-attendees
Parse calendar object for attendees and emit interaction events
2021-02-03 19:10:06 +01:00
Christoph Wurst 5366ef34bd Parse calendar object for attendees and emit interaction events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 18:04:28 +01:00
Christoph Wurst 9c88e32bcc Merge pull request #25432 from nextcloud/enhancement/calendar-interaction-events
Emit calendar interaction events
2021-02-03 12:50:26 +01:00
Christoph Wurst 689e2a0838 Emit an interaction event for calendar event user attendees
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 12:16:57 +01:00
Christoph Wurst 0da1999a3b Emit an interaction event for calendar share recipients
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-02-03 12:16:57 +01:00
dependabot-preview[bot] 3e35d2c394 Merge pull request #25403 from nextcloud/dependabot/npm_and_yarn/vuex-3.6.2 2021-02-03 09:38:05 +00:00
dependabot-preview[bot] 57263eb08f Bump vuex from 3.6.0 to 3.6.2
Bumps [vuex](https://github.com/vuejs/vuex) from 3.6.0 to 3.6.2.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Changelog](https://github.com/vuejs/vuex/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vuex/compare/v3.6.0...v3.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-02-03 08:47:14 +00:00
Joas Schilling 3f780b0b9b Merge pull request #25454 from nextcloud/this-is-22
This is 22
2021-02-03 09:30:38 +01:00
Joas Schilling 9de00f3d24 This is 22
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 08:38:41 +01:00
Nextcloud bot 8c41589b30 [tx-robot] updated from transifex 2021-02-03 02:19:44 +00:00
Roeland Jago Douma 17930c64f4 Merge pull request #25453 from nextcloud/revert-25438-pin-psalm-version
Revert "Pin Psalm version to an older one"
2021-02-02 22:12:01 +01:00
Roeland Jago Douma 08cae2ec44 Revert "Pin Psalm version to an older one" 2021-02-02 22:08:01 +01:00
Roeland Jago Douma 99f7fa4ae7 Merge pull request #25438 from nextcloud/pin-psalm-version
Pin Psalm version to an older one
2021-02-02 22:05:11 +01:00
Roeland Jago Douma 137636b651 Merge pull request #24700 from Imajie/s3-creds
Resolves #24699, Support ES2 and ECS instance providers for S3 buckets
2021-02-02 21:48:22 +01:00
Roeland Jago Douma 5c6d245661 Merge pull request #25393 from nextcloud/fix/25165/repair-dav-shares
add repair job for unencoded group share uris
2021-02-02 21:43:42 +01:00
Lukas Reschke f1d2dcdaa5 Pin Psalm version to an older one
Ref https://github.com/vimeo/psalm/issues/5144

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2021-02-02 13:54:18 +00:00
GretaD b473db5a58 Fix favorite dark icon
Signed-off-by: GretaD <gretadoci@gmail.com>
2021-02-02 13:48:18 +01:00
Arthur Schiwon d4a45b4cac test: adjust expectation
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-29 19:32:12 +01:00
Arthur Schiwon 3ecc6d0a8a show suggestion to clean up possible invalid shares later
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-29 17:43:58 +01:00
Arthur Schiwon bd8b43127f take into account that UNIQUE index might not work as expected
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-29 17:29:10 +01:00
Arthur Schiwon 558f062ca6 add repair job for unencoded calendars
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-29 17:29:10 +01:00
Daniel Calviño Sánchez 9ccabff6ba Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.

The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.

Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-28 21:42:31 +01:00
Nicolas SIMIDE 69bf0c8a9e ReplyTo option for sharebymail - Issue #24139 - Little bug fix
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
dems54 1427a9a361 Update apps/sharebymail/lib/Settings/SettingsManager.php
Small nitpicks

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
dems54 0a8d9341dd Update apps/sharebymail/lib/Settings/SettingsManager.php
Small nitpicks

Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
Nicolas SIMIDE 4ac636d252 ReplyTo option for sharebymail Issue #24139
Signed-off-by: Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
2021-01-28 15:57:29 +01:00
Robin Appelman 6ecf33bfe7 only use share cacheentry when available
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-26 16:22:00 +01:00
Robin Appelman e511a539b7 adjust tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-26 15:55:38 +01:00
Robin Appelman 5ae0be08b4 fix search in nested jails
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-26 15:30:54 +01:00
Robin Appelman 27f9df2e87 fix cachjail searching for root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-26 15:30:50 +01:00
Robin Appelman a44aab11f7 do cachejail search filtering in sql
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-26 15:30:46 +01:00
Daniel Calviño Sánchez 3aba5b27be Add integration tests for "sharing:cleanup-remote-storages" OCC command
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-26 11:06:33 +01:00
Henning Hoefer dfd07cc4d1 Fix "searchUsers" usage in Group_LDAP.php
`Access::searchUsers` expects an array as the second parameter, `Group_LDAP.php` called the method with a simple string, resulting in an exception and preventing folders shared with dynamic groups from working. This trivial change fixes the usage in Group_LDAP.

Fixes #25163

Signed-off-by: Henning Hoefer <hho@users.noreply.github.com>
2021-01-25 14:38:46 +01:00
Elsie Hupp 7f54eaf002 Update manifest.json
Updated dimensions of favicon-touch.png

Signed-off-by: Elsie Hupp <github@elsiehupp.com>
2021-01-24 03:51:37 -05:00
Elsie Hupp 4d386e5863 Update favicon-touch.png
removed rounded corners and increased size (exported from SVG)

Signed-off-by: Elsie Hupp <github@elsiehupp.com>
2021-01-24 03:51:37 -05:00
elsiehupp 487862ad52 Remove rounded corners
`apple-touch-icon` expects squared corners; only `apple-touch-icon-precomposed` expects pre-rounded corners. iOS and browsers apply their own corner radii to `apple-touch-icon`.

Signed-off-by: Elsie Hupp <github@elsiehupp.com>
2021-01-24 03:50:33 -05:00
Jasper Knockaert 40fde94b4d fix even more brackets
Signed-off-by: Jasper Knockaert jasper@knockaert.nl
2021-01-16 14:49:53 +01:00
Jasper Knockaert 252d1ae512 fix brakcets 2021-01-16 14:38:19 +01:00
Jasper Knockaert f9a0380eb1 consolidation of boolean expression 2021-01-16 14:33:44 +01:00
Julius Härtl 9ee7d0b718 Fix files_external:notify command when running withing a subdirectory of the SMB share
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-01-14 16:53:02 +01:00
Jasper Knockaert 261966ace5 Update EncryptionTest.php 2021-01-05 21:45:50 +01:00
Jasper Knockaert 664e74a82e 2nd attempt to fix tests 2021-01-05 20:41:02 +01:00
Jasper Knockaert 87c640193b attemtp to fix test 2021-01-05 19:09:16 +01:00
Jasper Knockaert 81e3ae4753 avoid fread on directories and unencrypted files
Reworking the logic in order to first check the filecache and only then reading the fileheader.
This in order to solve #21578.
2021-01-05 11:14:49 +01:00
James Letendre 45a02ee30c Fix failing tests
Signed-off-by: James Letendre <james.letendre@gmail.com>
2020-12-15 19:06:06 -05:00
James Letendre ad95e51cbe Add web identity provider to S3 connection chain
Signed-off-by: James Letendre <james.letendre@gmail.com>
2020-12-15 16:37:46 -05:00
James Letendre 5b756a9fb0 Replace defaultProvider with explicit calls to exclude user home directory lookup
Signed-off-by: James Letendre <james.letendre@gmail.com>
2020-12-14 16:22:41 -05:00
James Letendre 85aa77539b Resolves #24699, Support ES2 and ECS instance providers for S3 buckets
Signed-off-by: James Letendre <james.letendre@gmail.com>
2020-12-14 12:55:46 -05:00
6618 changed files with 206359 additions and 67075 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
codecov:
branch: master
branch: stable23
ci:
- drone.nextcloud.com
- !scrutinizer-ci.com
+47
View File
@@ -0,0 +1,47 @@
FROM ubuntu:focal
ARG DEBIAN_FRONTEND=noninteractive
# PHP
RUN apt-get update -y
RUN apt-get install --no-install-recommends -y \
php7.4 \
php7.4-gd \
php7.4-zip \
php7.4-curl \
php7.4-xml \
php7.4-mbstring \
php7.4-sqlite \
php7.4-xdebug \
php7.4-pgsql \
php7.4-intl \
php7.4-imagick \
php7.4-gmp \
php7.4-apcu \
php7.4-bcmath \
libmagickcore-6.q16-3-extra \
curl \
vim \
lsof \
make \
nodejs \
npm
RUN echo "xdebug.remote_enable = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
RUN echo "xdebug.remote_autostart = 1" >> /etc/php/7.4/cli/conf.d/20-xdebug.ini
# Docker
RUN apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
RUN curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
RUN add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
RUN apt-get update -y
RUN apt-get install -y docker-ce docker-ce-cli containerd.io
RUN ln -s /var/run/docker-host.sock /var/run/docker.sock
+18
View File
@@ -0,0 +1,18 @@
<?php
$cloudEnvironmentId = getenv('CLOUDENV_ENVIRONMENT_ID');
$CONFIG = [
'mail_from_address' => 'no-reply',
'mail_smtpmode' => 'smtp',
'mail_sendmailmode' => 'smtp',
'mail_domain' => 'example.com',
'mail_smtphost' => 'localhost',
'mail_smtpport' => '1025',
'memcache.local' => '\OC\Memcache\APCu',
];
if($cloudEnvironmentId !== true) {
$CONFIG['overwritehost'] = $cloudEnvironmentId . '-80.apps.codespaces.githubusercontent.com';
$CONFIG['overwriteprotocol'] = 'https';
}
+22
View File
@@ -0,0 +1,22 @@
{
"name": "NextcloudServer",
"dockerComposeFile": "docker-compose.yml",
"service": "nextclouddev",
"postCreateCommand": ".devcontainer/setup.sh",
"forwardPorts": [
80,
8080,
8025
],
"runArgs": [
"--privileged"
],
"extensions": [
"felixfbecker.php-debug",
"felixfbecker.php-intellisense",
"ms-azuretools.vscode-docker"
],
"settings": {
"php.suggest.basic": false,
}
}
+29
View File
@@ -0,0 +1,29 @@
version: '3'
services:
nextclouddev:
build: .
volumes:
- .:/workspace:cached
- /var/run/docker.sock:/var/run/docker-host.sock
command: /bin/sh -c "while sleep 1000; do :; done"
ports:
- 80:80
- 8080:8080
- 8025:8025
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: postgres
network_mode: service:nextclouddev
adminer:
image: adminer
restart: always
network_mode: service:nextclouddev
mailhog:
image: mailhog/mailhog
restart: always
network_mode: service:nextclouddev
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
git submodule update --init
# Codespace config
cp .devcontainer/codespace.config.php config/codespace.config.php
+260 -201
View File
File diff suppressed because it is too large Load Diff
+11
View File
@@ -0,0 +1,11 @@
# Ignoring folders for eslint
node_modules/
3rdparty/
**/vendor/
**/l10n/
**/js/*
*.config.js
tests/lib/
# TODO: remove when comments files is not using handlebar templates anymore
apps/comments/src/templates.js
+5 -2
View File
@@ -8,10 +8,13 @@ module.exports = {
escapeHTML: true,
oc_userconfig: true,
dayNames: true,
firstDay: true
firstDay: true,
},
extends: ['@nextcloud'],
rules: {
'no-tabs': 'warn',
}
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
'vue/no-mutating-props': 'warn',
},
}
+2
View File
@@ -7,6 +7,8 @@
/apps/comments/js/*.js.map binary
/apps/dashboard/js/*.js binary
/apps/dashboard/js/*.js.map binary
/apps/dav/js/*.js binary
/apps/dav/js/*.js.map binary
/apps/files/js/dist/*.js binary
/apps/files/js/dist/*.js.map binary
/apps/files_sharing/js/dist/*.js binary
+1
View File
@@ -0,0 +1 @@
custom: https://nextcloud.com/include/
+3 -3
View File
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Question
- name: Community Support and Help
url: https://help.nextcloud.com/
about: I have a question
about: Configuration, webserver/proxy or performance issues and other questions
- name: 💼 Nextcloud Enterprise
url: https://portal.nextcloud.com/
about: If you are a customer and are using Nextcloud Enterprise, please submit your issue directly in the Nextcloud Portal so it can be resolved by our dedicated engineers more quickly.
about: If you are a Nextcloud Enterprise customer, or need Professional support, so it can be resolved directly by our dedicated engineers more quickly
+165
View File
@@ -0,0 +1,165 @@
version: 2
updates:
# Linting and coding style
- package-ecosystem: composer
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Main master npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
open-pull-requests-limit: 10
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Testing master npm
- package-ecosystem: npm
directory: "/build"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
# Testing master composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
labels:
- "3. to review"
- "feature: dependencies"
# Main stableXX npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable20
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable21
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable22
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable20
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable21
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable22
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
+30
View File
@@ -0,0 +1,30 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
on: pull_request
jobs:
block-merges-eol:
name: Block merges for EOL branches
# Only run on stableXX branches
if: startsWith( github.base_ref, 'stable')
runs-on: ubuntu-latest
steps:
- name: Download updater config
run: curl https://raw.githubusercontent.com/nextcloud/updater_server/production/config/config.php --output config.php
- name: Set server major version environment
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
php -r 'echo json_encode(require_once "config.php");' | jq --arg version "${{ env.server_major }}" '.stable[$version]["100"].eol' | grep --silent -i 'false'
+21
View File
@@ -0,0 +1,21 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
on: pull_request
jobs:
block-merges-during-freeze:
name: Block merges during feature freezes
runs-on: ubuntu-latest
steps:
- name: Download version.php from ${{ github.base_ref }}
run: curl https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php --output version.php
- name: Run check
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
+117
View File
@@ -0,0 +1,117 @@
name: Compile Command
on:
issue_comment:
types: [created]
jobs:
init:
runs-on: ubuntu-latest
# On pull requests and if the comment starts with `/compile`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/compile')
outputs:
git_path: ${{ steps.git-path.outputs.path }}
arg1: ${{ steps.command.outputs.arg1 }}
arg2: ${{ steps.command.outputs.arg2 }}
head_ref: ${{ steps.comment-branch.outputs.head_ref }}
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@v2
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@master
id: command
# Init path depending on which command is run
- name: Init path
id: git-path
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg1}}"
else
echo "::set-output name=path::${{ github.workspace }}${{steps.command.outputs.arg2}}"
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
process:
runs-on: ubuntu-latest
needs: init
steps:
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@v2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
ref: ${{ needs.init.outputs.head_ref }}
- name: Setup git
run: |
git config --local user.email "nextcloud-command@users.noreply.github.com"
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1
id: package-engines-versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
- name: Set up npm ${{ steps.package-engines-versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
- name: Install dependencies & build
run: |
npm ci
npm run build --if-present
- name: Commit and push default
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git commit --signoff -m 'Compile assets'
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push fixup
if: ${{ needs.init.outputs.arg1 == 'fixup' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git commit --fixup=HEAD --signoff
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push amend
if: ${{ needs.init.outputs.arg1 == 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git commit --amend --no-edit --signoff
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
+46
View File
@@ -0,0 +1,46 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Rebase command
on:
issue_comment:
types: created
jobs:
rebase:
runs-on: ubuntu-latest
# On pull requests and if the comment starts with `/rebase`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reaction-type: "-1"
+18 -8
View File
@@ -1,19 +1,29 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Dependabot
on: pull_request
on:
pull_request_target:
branches:
- master
- stable*
jobs:
auto-merge:
auto-approve-merge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
# Default github action approve
- uses: hmarr/auto-approve-action@v2.0.0
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
# Github actions bot approve
- uses: hmarr/auto-approve-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@v1
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]'
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: patch
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+20
View File
@@ -0,0 +1,20 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Pull request checks
on: pull_request
jobs:
commit-message-check:
name: Block fixup and squash commits
runs-on: ubuntu-latest
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+78
View File
@@ -0,0 +1,78 @@
name: FTP
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
jobs:
ftp-tests:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up ftpd
run: |
sudo mkdir /tmp/ftp
sudo chown -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e FTP_USERNAME=test -e FTP_PASSWORD=test -v /tmp/ftp:/home/test hauptmedia/proftpd; fi
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp2:/home/test -v /tmp/ftp2:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: smoketest ftp
run: |
php -r 'var_dump(file_put_contents("ftp://test:test@localhost/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost/asdads"));'
ls -l /tmp/ftp
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => ''];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
run: |
docker logs ftp
ftp-summary:
runs-on: ubuntu-latest
needs: ftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.ftp-tests.result != 'success' }}; then exit 1; fi
+44
View File
@@ -0,0 +1,44 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Lint
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
lint:
runs-on: ubuntu-latest
name: eslint
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
+2
View File
@@ -15,6 +15,7 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Lint
run: composer run lint
@@ -29,6 +30,7 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
tools: cs2pr
- name: Install dependencies
+91
View File
@@ -0,0 +1,91 @@
name: Node
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
versions:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'
test:
runs-on: ubuntu-latest
needs: versions
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test
jsunit:
runs-on: ubuntu-latest
needs: versions
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
# This test requires npm6 for some reason
# TODO: fix this and/or move away from jsunit
- name: Set up npm 6
run: npm i -g npm@^6
- name: Test
run: ./autotest-js.sh
handlebars:
runs-on: ubuntu-latest
needs: versions
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
+34 -61
View File
@@ -1,3 +1,8 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
name: Node
on:
@@ -9,71 +14,39 @@ on:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
name: node
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies & build
run: |
make clean
npm ci
npm run build --if-present
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || ( echo 'Uncommited changes in webpack build' && git status && exit 1 )"
env:
CI: true
- name: Checkout
uses: actions/checkout@v2
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
npm ci
- name: Test
run: npm run test
jsunit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Test
run: ./autotest-js.sh
handlebars:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v2
- name: Use node ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
fallbackNode: '^12'
fallbackNpm: '^6'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"
- name: Install dependencies & build
run: |
npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
npm run build --if-present
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || exit 1"
- name: Show changes on failure
if: failure()
run: |
git status
git --no-pager diff
+4 -5
View File
@@ -9,13 +9,12 @@ on:
jobs:
phpunit-oci8:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: [ '7.4' ]
php-versions: [ '7.3', '7.4', '8.0' ]
databases: [ 'oci' ]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}
@@ -41,8 +40,8 @@ jobs:
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, iconv, fileinfo, intl, sqlite, pdo_sqlite, oci8
tools: phpunit:8.5.2
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
tools: phpunit:9
coverage: none
- name: Set up Nextcloud
+28
View File
@@ -0,0 +1,28 @@
name: Psalm show github
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
psalm:
name: Psalm
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions:4.9.3
continue-on-error: true
with:
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
+6 -4
View File
@@ -1,10 +1,11 @@
name: Psalm Security Analysis
on:
push:
pull_request:
schedule:
- cron: '0 0 * * 0'
push:
branches:
- master
- stable*
jobs:
psalm:
@@ -16,9 +17,10 @@ jobs:
with:
submodules: recursive
- name: Psalm
uses: docker://vimeo/psalm-github-actions
uses: docker://vimeo/psalm-github-actions:4.9.3
with:
security_analysis: true
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@v1
+124
View File
@@ -0,0 +1,124 @@
name: S3 External storage
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.10.6
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-tests-localstack:
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }}-localstack
services:
minio:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack:0.12.7
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-summary:
runs-on: ubuntu-latest
needs: [s3-external-tests-minio, s3-external-tests-localstack]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-external-tests-minio.result != 'success' }} || ${{ needs.s3-external-tests-localstack.result != 'success' }}; then exit 1; fi
+78
View File
@@ -0,0 +1,78 @@
name: Samba Kerberos SSO
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php-versions: ['7.4', '8.0']
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@v2
with:
submodules: true
- name: Pull images
run: |
docker pull icewind1991/samba-krb-test-dc
docker pull icewind1991/samba-krb-test-apache
docker pull icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
mkdir data
sudo chown -R 33 data apps config
apps/files_external/tests/setup-krb.sh
- name: Set up Nextcloud
run: |
docker exec --user 33 apache ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
docker exec --user 33 apache ./occ config:system:set trusted_domains 1 --value 'httpd.domain.test'
# setup user_saml
docker exec --user 33 apache ./occ app:enable user_saml --force
docker exec --user 33 apache ./occ config:app:set user_saml type --value 'environment-variable'
docker exec --user 33 apache ./occ config:app:set user_saml general-uid_mapping --value REMOTE_USER
# setup external storage
docker exec --user 33 apache ./occ app:enable files_external --force
docker exec --user 33 apache ./occ files_external:create smb smb smb::kerberosapache
docker exec --user 33 apache ./occ files_external:config 1 host krb.domain.test
docker exec --user 33 apache ./occ files_external:config 1 share netlogon
docker exec --user 33 apache ./occ files_external:list
- name: Test SSO
run: |
mkdir cookies
chmod 0777 cookies
DC_IP=$(docker inspect dc --format '{{.NetworkSettings.IPAddress}}')
docker run --rm --name client -v $PWD/cookies:/cookies -v /tmp/shared:/shared --dns $DC_IP --hostname client.domain.test icewind1991/samba-krb-test-client \
curl -c /cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login
CONTENT=$(docker run --rm --name client -v $PWD/cookies:/cookies -v /tmp/shared:/shared --dns $DC_IP --hostname client.domain.test icewind1991/samba-krb-test-client \
curl -b /cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
echo $CONTENT
CONTENT=$(echo $CONTENT | tr -d '[:space:]')
[[ $CONTENT == "testfile" ]]
smb-kerberos-summary:
runs-on: ubuntu-latest
needs: smb-kerberos-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.smb-kerberos-tests.result != 'success' }}; then exit 1; fi
+4 -2
View File
@@ -17,11 +17,12 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
run: composer run psalm -- --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
@@ -42,11 +43,12 @@ jobs:
uses: shivammathur/setup-php@master
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=text --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
run: composer run psalm -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline || ( git diff -- . ':!lib/composer' && exit 1 )
- name: Check diff
run: git diff -- . ':!lib/composer'
- name: Show potential changes in Psalm baseline
+22 -15
View File
@@ -1,46 +1,53 @@
name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: '5 4 * * *'
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
with:
submodules: true
- name: Set up php7.4
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@v2
with:
php-version: 7.4
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
run: composer install
- name: Psalm
run: composer run psalm -- --monochrome --no-progress --output-format=text --update-baseline
- name: Reset composer.json and composer.lock
continue-on-error: true
- name: Reset composer
run: |
rm -rf lib/composer
git checkout -- composer.json composer.lock lib/composer
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.MACHINE_USER_PAT }}
push-to-fork: nextcloud-pr-bot/server
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
committer: GitHub <noreply@github.com>
author: Nextcloud-PR-Bot <nextcloud-pr-bot@users.noreply.github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/psalm-baseline-update
# Make sure we can open multiple PRs
branch-suffix: timestamp
title: '[Automated] Update psalm-baseline.xml'
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
reviewers: rullzer, morrisjobke, kesselb
3. to review
team-reviewers: server-backend
+2
View File
@@ -159,3 +159,5 @@ clover.xml
tests/acceptance/vendor/
composer.phar
/lib/composer/bin
/vendor-bin/**/vendor
+33 -11
View File
@@ -7,6 +7,10 @@
<IfModule mod_proxy_fcgi.c>
SetEnvIfNoCase Authorization "(.+)" HTTP_AUTHORIZATION=$1
</IfModule>
<IfModule mod_lsapi.c>
SetEnvIfNoCase ^Authorization$ "(.+)" XAUTHORIZATION=$1
RequestHeader set XAuthorization %{XAUTHORIZATION}e env=XAUTHORIZATION
</IfModule>
</IfModule>
<IfModule mod_env.c>
@@ -39,7 +43,7 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|svg|gif)$">
<FilesMatch "\.(css|js|svg|gif|png|jpg|ico|wasm|tflite)$">
Header set Cache-Control "max-age=15778463"
</FilesMatch>
@@ -48,6 +52,8 @@
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
# PHP 7.x
<IfModule mod_php7.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
@@ -56,6 +62,31 @@
SetEnv htaccessWorking true
</IfModule>
</IfModule>
# PHP 8+
<IfModule mod_php.c>
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'
php_value output_buffering 0
<IfModule mod_env.c>
SetEnv htaccessWorking true
</IfModule>
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddType application/wasm wasm
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} DavClnt
@@ -68,15 +99,6 @@
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
<IfModule mod_mime.c>
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
</IfModule>
<IfModule mod_dir.c>
DirectoryIndex index.php index.html
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
<IfModule pagespeed_module>
ModPagespeed Off
</IfModule>
+2
View File
@@ -82,6 +82,7 @@ Dan Callahan <dan.callahan@gmail.com>
Dan Jones <dan@danneh.org>
Daniel <daniel@mars.(none)>
Daniel Hansson <enoch85@gmail.com>
Daniel Kesselberg <mail@danielkesselberg.de> kesselb <mail@danielkesselberg.de>
Daniel Köb <daniel.koeb@peony.at>
Daniel Molkentin <daniel@molkentin.de>
Daniele E. Domenichelli <daniele.domenichelli@gmail.com>
@@ -214,6 +215,7 @@ Lennart Rosam <lennart.rosam@medien-systempartner.de>
Sebastian Döll <sebastian.doell@libasys.de> libasys <sebastian.doell@libasys.de>
Lode Hoste <zillode@zillode.be>
lolozere <laurent@chedanne.pro>
Louis Chemineau <louis@chmn.me> Louis Chemineau <6653109+artonge@users.noreply.github.com>
Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
Lukas Reschke <lukas@statuscode.ch> Lukas Reschke <lukas@owncloud.com>
Lukas Reschke <lukas@statuscode.ch> Lukas Reschke <lukas@owncloud.org>
+1
View File
@@ -0,0 +1 @@
**/*.spec.js
+5 -1
View File
@@ -2,7 +2,7 @@
declare(strict_types=1);
require_once './lib/composer/autoload.php';
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
@@ -13,8 +13,12 @@ $config
->exclude('config')
->exclude('data')
->notPath('3rdparty')
->notPath('build/integration/vendor')
->notPath('build/lib')
->notPath('build/node_modules')
->notPath('build/stubs')
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in(__DIR__);
return $config;
+39 -5
View File
@@ -18,20 +18,25 @@ Nextcloud is written by:
- Andreas Pflug <dev@admin4.org>
- Andrew Brown <andrew@casabrown.com>
- André Gaul <gaul@web-yard.de>
- Anna Larch <anna@nextcloud.com>
- Ardinis <Ardinis@users.noreply.github.com>
- Ari Selseng <ari@selseng.net>
- Arne Hamann <kontakt+github@arne.email>
- Artem Kochnev <MrJeos@gmail.com>
- Artem Sidorenko <artem@posteo.de>
- Arthur Schiwon <blizzz@arthur-schiwon.de>
- Artur Neumann <info@individual-it.net>
- Ashod Nakashian <ashod.nakashian@collabora.co.uk>
- Avior <florian.bouillon@delta-wings.net>
- Axel Helmert <axel.helmert@luka.de>
- Azul <azul@riseup.net>
- Bart Visscher <bartv@thisnet.nl>
- Bartek Przybylski <bart.p.pl@gmail.com>
- Bastien Durel <bastien@durel.org>
- Bastien Ho <bastienho@urbancube.fr>
- Benjamin Diele <benjamin@diele.be>
- Benjamin Liles <benliles@arch.tamu.edu>
- Bernd Stellwag <burned@zerties.org>
- Bernhard Ostertag <bernieo.code@gmx.de>
- Bernhard Posselt <dev@bernhard-posselt.com>
- Bernhard Reiter <ockham@raz.or.at>
@@ -50,11 +55,13 @@ Nextcloud is written by:
- Carlos Cerrillo <ccerrillo@gmail.com>
- Carlos Ferreira <carlos@reendex.com>
- Carsten Wiedmann <carsten_sttgt@gmx.de>
- Chih-Hsuan Yen <yan12125@gmail.com>
- Christian <16852529+cviereck@users.noreply.github.com>
- Christian Berendt <berendt@b1-systems.de>
- Christian Jürges <christian@eqipe.ch>
- Christian Kampka <christian@kampka.net>
- Christian Oliff <christianoliff@yahoo.com>
- Christian Weiske <cweiske@cweiske.de>
- Christoph Schaefer "christophł@wolkesicher.de"
- Christoph Seitz <christoph.seitz@posteo.de>
- Christoph Wickert <cwickert@suse.de>
@@ -62,6 +69,7 @@ Nextcloud is written by:
- Christopher Bartz <bartz@dkrz.de>
- Christopher Schäpers <kondou@ts.unde.re>
- Christopher T. Johnson <ctjctj@gmail.com>
- Claas Augner <github@caugner.de>
- Clark Tomlinson <fallen013@gmail.com>
- Clement Wong <git@clement.hk>
- Cornelius Kölbel <cornelius.koelbel@netknights.it>
@@ -93,10 +101,12 @@ Nextcloud is written by:
- Felix Rupp <github@felixrupp.com>
- Filis Futsarov <filisko@users.noreply.github.com>
- Florent <florent@coppint.com>
- Florian Schunk <florian.schunk@rwth-aachen.de>
- Florin Peter <github@florin-peter.de>
- Flávio Gomes da Silva Lisboa <flavio.lisboa@serpro.gov.br>
- Frank Isemann <frank@isemann.name>
- Frank Karlitschek <frank@karlitschek.de>
- François Freitag <mail@franek.fr>
- François Kubler <francois@kubler.org>
- Frederic Werner <frederic-github@werner-net.work>
- Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
@@ -107,6 +117,7 @@ Nextcloud is written by:
- GretaD <gretadoci@gmail.com>
- Guillaume COMPAGNON <gcompagnon@outlook.com>
- Guillaume Virlet <github@virlet.org>
- Hasso Tepper <hasso@zone.ee>
- Hemanth Kumar Veeranki <hems.india1997@gmail.com>
- Hendrik Leppelsack <hendrik@leppelsack.de>
- Holger Hees <holger.hees@gmail.com>
@@ -118,6 +129,7 @@ Nextcloud is written by:
- Jacob Neplokh <me@jacobneplokh.com>
- Jakob Sack <mail@jakobsack.de>
- Jakub Onderka <ahoj@jakubonderka.cz>
- James Letendre <James.Letendre@gmail.com>
- Jan C. Borchardt <hey@jancborchardt.net>
- Jan-Christoph Borchardt <hey@jancborchardt.net>
- Jan-Philipp Litza <jplitza@users.noreply.github.com>
@@ -137,7 +149,8 @@ Nextcloud is written by:
- Johannes Riedel <joeried@users.noreply.github.com>
- Johannes Schlichenmaier <johannes@schlichenmaier.info>
- Johannes Willnecker <johannes@willnecker.com>
- John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
- John Molakvoæ <skjnldsv@protonmail.com>
- Jonas Rittershofer <jotoeri@users.noreply.github.com>
- Jonas Sulzer <jonas@violoncello.ch>
- Jonny007-MKD <1-23-4-5@web.de>
- Jos Poortvliet <jos@opensuse.org>
@@ -176,12 +189,14 @@ Nextcloud is written by:
- Lionel Elie Mamane <lionel@mamane.lu>
- Loki3000 <github@labcms.ru>
- Lorenzo M. Catucci <lorenzo@sancho.ccd.uniroma2.it>
- Loïc Hermann <loic.hermann@sciam.fr>
- Lukas Reschke <lukas@statuscode.ch>
- Lukas Stabe <lukas@stabe.de>
- Luke Policinski <lpolicinski@gmail.com>
- Magnus Walbeck <mw@mwalbeck.org>
- Marcel Klehr <mklehr@gmx.net>
- Marcel Waldvogel <marcel.waldvogel@uni-konstanz.de>
- Marco Ziech <marco@ziech.net>
- Marin Treselj <marin@pixelipo.com>
- Mario Danic <mario@lovelyhq.com>
- Mario Kolling <mario.kolling@serpro.gov.br>
@@ -202,11 +217,13 @@ Nextcloud is written by:
- Maxence Lange <maxence@artificial-owl.com>
- Maxence Lange <maxence@nextcloud.com>
- Maxence Lange <maxence@pontapreta.net>
- Maxopoly <max@dermax.org>
- MichaIng <28480705+MichaIng@users.noreply.github.com>
- MichaIng <micha@dietpi.com>
- Michael Gapczynski <GapczynskiM@gmail.com>
- Michael Göhler <somebody.here@gmx.de>
- Michael Jobst <mjobst+github@tecratech.de>
- Michael Jobst <mjobst@necls.com>
- Michael Kuhn <michael@ikkoku.de>
- Michael Letzgus <www@chronos.michael-letzgus.de>
- Michael Roitzsch <reactorcontrol@icloud.com>
@@ -218,15 +235,18 @@ Nextcloud is written by:
- Mitar <mitar.git@tnode.com>
- Mohammed Abdellatif <m.latief@gmail.com>
- Morris Jobke <hey@morrisjobke.de>
- Nazar Mokrynskyi <nazar@mokrynskyi.com>
- Nick Sweeting <git@sweeting.me>
- Nicolai Ehemann <en@enlightened.de>
- Nicolas Grekas <nicolas.grekas@gmail.com>
- Nicolas SIMIDE <2083596+dems54@users.noreply.github.com>
- Nils <git@to.nilsschnabel.de>
- Nils Wittenbrink <nilswittenbrink@web.de>
- Nina Pypchenko <22447785+nina-py@users.noreply.github.com>
- Nmz <nemesiz@nmz.lt>
- Noveen Sachdeva <noveen.sachdeva@research.iiit.ac.in>
- Ole Ostergaard <ole.c.ostergaard@gmail.com>
- Ole Ostergaard <ole.ostergaard@knime.com>
- Oliver Gasser <oliver.gasser@gmail.com>
- Oliver Kohl D.Sc. <oliver@kohl.bz>
- Oliver Wegner <void1976@gmail.com>
- Olivier Paroz <github@oparoz.com>
@@ -250,6 +270,7 @@ Nextcloud is written by:
- Piotr Mrowczynski <mrow4a@yahoo.com>
- Piotr Mrówczyński <mrow4a@yahoo.com>
- Qingping Hou <dave2008713@gmail.com>
- Raghu Nayyar <hey@raghunayyar.com>
- Ralph Krimmel <rkrimme1@gwdg.de>
- Ramiro Aparicio <rapariciog@gmail.com>
- Randolph Carter <RandolphCarter@fantasymail.de>
@@ -264,7 +285,6 @@ Nextcloud is written by:
- Robin Appelman <robin@icewind.nl>
- Robin McCorkell <robin@mccorkell.me.uk>
- Robin Müller <coder-hugo@users.noreply.github.com>
- Robin Windey <ro.windey@gmail.com>
- Roeland Jago Douma <roeland@famdouma.nl>
- Roger Szabo <roger.szabo@web.de>
- Roland Tapken <roland@bitarbeiter.net>
@@ -278,6 +298,7 @@ Nextcloud is written by:
- SA <stephen@mthosting.net>
- Sam Bull <aa6bs0@sambull.org>
- Sam Tuke <mail@samtuke.com>
- Samuel <faust64@gmail.com>
- Samuel CHEMLA <chemla.samuel@gmail.com>
- Sander Ruitenbeek <s.ruitenbeek@getgoing.nl>
- Sander Ruitenbeek <sander@grids.be>
@@ -288,6 +309,7 @@ Nextcloud is written by:
- Scott Dutton <scott@exussum.co.uk>
- Scott Shambarger <devel@shambarger.net>
- Sean Comeau <sean@ftlnetworks.ca>
- Sean Molenaar <sean@seanmolenaar.eu>
- Sebastian Döll <sebastian.doell@libasys.de>
- Sebastian Steinmetz <462714+steiny2k@users.noreply.github.com>
- Sebastian Steinmetz <me@sebastiansteinmetz.ch>
@@ -314,6 +336,7 @@ Nextcloud is written by:
- Stephen Cuppett <steve@cuppett.com>
- Steven Bühner <buehner@me.com>
- Sujith H <sharidasan@owncloud.com>
- Sujith Haridasan <Sujith_Haridasan@mentor.com>
- Sujith Haridasan <sujith.h@gmail.com>
- Sven Strickroth <email@cs-ware.de>
- Sylvia van Os <sylvia@hackerchick.me>
@@ -336,7 +359,9 @@ Nextcloud is written by:
- Tobia De Koninck <tobia@ledfan.be>
- Tobias Kaminsky <tobias@kaminsky.me>
- Tobias Perschon <tobias@perschon.at>
- Tom Grant <TomG736@users.noreply.github.com>
- Tom Needham <tom@owncloud.com>
- Tomasz Grobelny <tomasz@grobelny.net>
- Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
- Tor Lillqvist <tml@collabora.com>
- Unknown <anpz.asutp@gmail.com>
@@ -353,6 +378,7 @@ Nextcloud is written by:
- William Pain <pain.william@gmail.com>
- Xheni Myrtaj <myrtajxheni@gmail.com>
- Xuanwo <xuanwo@yunify.com>
- acsfer <carlos@reendex.com>
- adrien <adrien.waksberg@believedigital.com>
- aler9 <46489434+aler9@users.noreply.github.com>
- alexweirig <alex.weirig@technolink.lu>
@@ -363,13 +389,14 @@ Nextcloud is written by:
- brad2014 <brad2014@users.noreply.github.com>
- brumsel <brumsel@losecatcher.de>
- call-me-matt <nextcloud@matthiasheinisch.de>
- castillo92 <37965565+castillo92@users.noreply.github.com>
- cetra3 <peter@parashift.com.au>
- cmeh <cmeh@users.noreply.github.com>
- comradekingu <epost@anotheragency.no>
- dartcafe <github@dartcafe.de>
- davidgumberg <davidnoizgumberg@gmail.com>
- davitol <dtoledo@solidgear.es>
- derkostka <sebastian.kostka@gmail.com>
- dems54 <2083596+dems54@users.noreply.github.com>
- duritong <peter.meier+github@immerda.ch>
- eduardo <eduardo@vnexu.net>
- eleith <online+github@eleith.com>
@@ -397,7 +424,6 @@ Nextcloud is written by:
- lynn-stephenson <lynn.stephenson@protonmail.com>
- macjohnny <estebanmarin@gmx.ch>
- marco44 <cousinmarc@gmail.com>
- martin-rueegg <martin.rueegg@metaworx.ch>
- martin.mattel@diemattels.at <martin.mattel@diemattels.at>
- martink-p <47943787+martink-p@users.noreply.github.com>
- matt <34400929+call-me-matt@users.noreply.github.com>
@@ -405,13 +431,18 @@ Nextcloud is written by:
- michaelletzgus <michaelletzgus@users.noreply.github.com>
- michag86 <micha_g@arcor.de>
- mmccarn <mmccarn-github@mmsionline.us>
- nacho <nacho@ownyourbits.com>
- nhirokinet <nhirokinet@nhiroki.net>
- nik gaffney <nik@fo.am>
- nishiki <nishiki@yaegashi.fr>
- noiob <8197071+noiob@users.noreply.github.com>
- noveens <noveen.sachdeva@research.iiit.ac.in>
- npmbuildbot[bot] "npmbuildbot[bot]@users.noreply.github.com"
- onehappycat <one.happy.cat@gmx.com>
- oparoz <owncloud@interfasys.ch>
- phisch <git@philippschaffrath.de>
- rakekniven <mark.ziegler@rakekniven.de>
- robottod <83244577+robottod@users.noreply.github.com>
- root "root@oc.(none)"
- root <root@localhost.localdomain>
- rubo77 <github@r.z11.de>
@@ -420,9 +451,12 @@ Nextcloud is written by:
- scolebrook <scolebrook@mac.com>
- shkdee <louis.traynard@m4x.org>
- simonspa <1677436+simonspa@users.noreply.github.com>
- ste101 <stephan_bauer@gmx.de>
- sualko <klaus@jsxc.org>
- szaimen <szaimen@e.mail.de>
- tbartenstein <tbartenstein@users.noreply.github.com>
- tbelau666 <thomas.belau@gmx.de>
- tgrant <tom.grant760@gmail.com>
- timm2k <timm2k@gmx.de>
- tux-rampage <tux-rampage@users.noreply.github.com>
- v1r0x <vinzenz.rosenkranz@gmail.com>
+7 -4
View File
@@ -1,7 +1,7 @@
all: clean dev-setup build-js-production
# Dev env management
dev-setup: clean clean-dev npm-init
dev-setup: clean npm-init
npm-init:
npm ci
@@ -30,6 +30,8 @@ lint-fix-watch:
clean:
rm -rf apps/accessibility/js/
rm -rf apps/comments/js/
rm -rf apps/dashboard/js/
rm -rf apps/dav/js/
rm -rf apps/files/js/dist/
rm -rf apps/files_sharing/js/dist/
rm -rf apps/files_trashbin/js/
@@ -40,15 +42,15 @@ clean:
rm -rf apps/twofactor_backupcodes/js
rm -rf apps/updatenotification/js/updatenotification.*
rm -rf apps/user_status/js/
rm -rf apps/weather_status/js/
rm -rf apps/workflowengine/js/
rm -rf core/js/dist
clean-dev:
rm -rf node_modules
clean-git: clean
git checkout -- apps/accessibility/js/
git checkout -- apps/comments/js/
git checkout -- apps/dashboard/js/
git checkout -- apps/dav/js/
git checkout -- apps/files/js/dist/
git checkout -- apps/files_sharing/js/dist/
git checkout -- apps/files_trashbin/js/
@@ -59,5 +61,6 @@ clean-git: clean
git checkout -- apps/twofactor_backupcodes/js
git checkout -- apps/updatenotification/js/updatenotification.*
git checkout -- apps/user_status/js/
git checkout -- apps/weather_status/js/
git checkout -- apps/workflowengine/js/
git checkout -- core/js/dist
+8 -8
View File
@@ -1,6 +1,6 @@
# Nextcloud Server ☁
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=stable23)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=stable23)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/stable23/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
**A safe home for all your data.**
@@ -62,7 +62,7 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
We are moving more and more towards using Vue.js in the frontend, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
``` bash
```bash
# install dependencies
make dev-setup
@@ -76,30 +76,30 @@ make watch-js
make build-js-production
```
#### Commiting changes
#### Committing changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime you need to compile them separately.
If you dont have Handlebars installed yet, you can do it with this terminal command:
```
```bash
sudo npm install -g handlebars
```
Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a `.handlebars` file to compile it:
```
```bash
./build/compile-handlebars-templates.sh
```
Before checking in JS changes, make sure to also build for production:
```
```bash
make build-js-production
```
Then add the compiled files for committing.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```
```bash
MODULE=user_status make build-js-production
```
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Accessibility</name>
<summary>Accessibility options for nextcloud</summary>
<description><![CDATA[Provides multiple accessibilities options to ease your use of Nextcloud]]></description>
<version>1.7.0</version>
<version>1.9.0</version>
<licence>agpl</licence>
<author>John Molakvoæ</author>
<namespace>Accessibility</namespace>
@@ -16,7 +16,7 @@
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="21" max-version="21"/>
<nextcloud min-version="23" max-version="23"/>
</dependencies>
<repair-steps>
+2 -3
View File
@@ -4,7 +4,7 @@
*
* @author Alexey Pyltsyn <lex61rus@gmail.com>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Julius Härtl <jus@bitgrid.net>
*
* @license GNU AGPL version 3 or any later version
@@ -16,14 +16,13 @@
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
return [
'routes' => [
['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'],
+18
View File
@@ -0,0 +1,18 @@
{
"_readme": [
"This file locks the dependencies of your project to a known state",
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "d751713988987e9331980363e24189ce",
"packages": [],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.1.0"
}
@@ -42,30 +42,75 @@ namespace Composer\Autoload;
*/
class ClassLoader
{
/** @var ?string */
private $vendorDir;
// PSR-4
/**
* @var array[]
* @psalm-var array<string, array<string, int>>
*/
private $prefixLengthsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, array<int, string>>
*/
private $prefixDirsPsr4 = array();
/**
* @var array[]
* @psalm-var array<string, string>
*/
private $fallbackDirsPsr4 = array();
// PSR-0
/**
* @var array[]
* @psalm-var array<string, array<string, string[]>>
*/
private $prefixesPsr0 = array();
/**
* @var array[]
* @psalm-var array<string, string>
*/
private $fallbackDirsPsr0 = array();
/** @var bool */
private $useIncludePath = false;
/**
* @var string[]
* @psalm-var array<string, string>
*/
private $classMap = array();
/** @var bool */
private $classMapAuthoritative = false;
/**
* @var bool[]
* @psalm-var array<string, bool>
*/
private $missingClasses = array();
/** @var ?string */
private $apcuPrefix;
/**
* @var self[]
*/
private static $registeredLoaders = array();
/**
* @param ?string $vendorDir
*/
public function __construct($vendorDir = null)
{
$this->vendorDir = $vendorDir;
}
/**
* @return string[]
*/
public function getPrefixes()
{
if (!empty($this->prefixesPsr0)) {
@@ -75,28 +120,47 @@ class ClassLoader
return array();
}
/**
* @return array[]
* @psalm-return array<string, array<int, string>>
*/
public function getPrefixesPsr4()
{
return $this->prefixDirsPsr4;
}
/**
* @return array[]
* @psalm-return array<string, string>
*/
public function getFallbackDirs()
{
return $this->fallbackDirsPsr0;
}
/**
* @return array[]
* @psalm-return array<string, string>
*/
public function getFallbackDirsPsr4()
{
return $this->fallbackDirsPsr4;
}
/**
* @return string[] Array of classname => path
* @psalm-var array<string, string>
*/
public function getClassMap()
{
return $this->classMap;
}
/**
* @param array $classMap Class to filename map
* @param string[] $classMap Class to filename map
* @psalm-param array<string, string> $classMap
*
* @return void
*/
public function addClassMap(array $classMap)
{
@@ -111,9 +175,11 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix, either
* appending or prepending to the ones previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 root directories
* @param bool $prepend Whether to prepend the directories
*
* @return void
*/
public function add($prefix, $paths, $prepend = false)
{
@@ -156,11 +222,13 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace, either
* appending or prepending to the ones previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
* @param bool $prepend Whether to prepend the directories
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function addPsr4($prefix, $paths, $prepend = false)
{
@@ -204,8 +272,10 @@ class ClassLoader
* Registers a set of PSR-0 directories for a given prefix,
* replacing any others previously set for this prefix.
*
* @param string $prefix The prefix
* @param array|string $paths The PSR-0 base directories
* @param string $prefix The prefix
* @param string[]|string $paths The PSR-0 base directories
*
* @return void
*/
public function set($prefix, $paths)
{
@@ -220,10 +290,12 @@ class ClassLoader
* Registers a set of PSR-4 directories for a given namespace,
* replacing any others previously set for this namespace.
*
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param array|string $paths The PSR-4 base directories
* @param string $prefix The prefix/namespace, with trailing '\\'
* @param string[]|string $paths The PSR-4 base directories
*
* @throws \InvalidArgumentException
*
* @return void
*/
public function setPsr4($prefix, $paths)
{
@@ -243,6 +315,8 @@ class ClassLoader
* Turns on searching the include path for class files.
*
* @param bool $useIncludePath
*
* @return void
*/
public function setUseIncludePath($useIncludePath)
{
@@ -265,6 +339,8 @@ class ClassLoader
* that have not been registered with the class map.
*
* @param bool $classMapAuthoritative
*
* @return void
*/
public function setClassMapAuthoritative($classMapAuthoritative)
{
@@ -285,6 +361,8 @@ class ClassLoader
* APCu prefix to use to cache found/not-found classes, if the extension is enabled.
*
* @param string|null $apcuPrefix
*
* @return void
*/
public function setApcuPrefix($apcuPrefix)
{
@@ -305,14 +383,18 @@ class ClassLoader
* Registers this instance as an autoloader.
*
* @param bool $prepend Whether to prepend the autoloader or not
*
* @return void
*/
public function register($prepend = false)
{
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
if (null === $this->vendorDir) {
//no-op
} elseif ($prepend) {
return;
}
if ($prepend) {
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
} else {
unset(self::$registeredLoaders[$this->vendorDir]);
@@ -322,6 +404,8 @@ class ClassLoader
/**
* Unregisters this instance as an autoloader.
*
* @return void
*/
public function unregister()
{
@@ -336,7 +420,7 @@ class ClassLoader
* Loads the given class or interface.
*
* @param string $class The name of the class
* @return bool|null True if loaded, null otherwise
* @return true|null True if loaded, null otherwise
*/
public function loadClass($class)
{
@@ -345,6 +429,8 @@ class ClassLoader
return true;
}
return null;
}
/**
@@ -399,6 +485,11 @@ class ClassLoader
return self::$registeredLoaders;
}
/**
* @param string $class
* @param string $ext
* @return string|false
*/
private function findFileWithExtension($class, $ext)
{
// PSR-4 lookup
@@ -470,6 +561,10 @@ class ClassLoader
* Scope isolated include.
*
* Prevents access to $this/self from included files.
*
* @param string $file
* @return void
* @private
*/
function includeFile($file)
{
@@ -0,0 +1,350 @@
<?php
/*
* This file is part of Composer.
*
* (c) Nils Adermann <naderman@naderman.de>
* Jordi Boggiano <j.boggiano@seld.be>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Composer;
use Composer\Autoload\ClassLoader;
use Composer\Semver\VersionParser;
/**
* This class is copied in every Composer installed project and available to all
*
* See also https://getcomposer.org/doc/07-runtime.md#installed-versions
*
* To require its presence, you can require `composer-runtime-api ^2.0`
*/
class InstalledVersions
{
/**
* @var mixed[]|null
* @psalm-var array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}|array{}|null
*/
private static $installed;
/**
* @var bool|null
*/
private static $canGetVendors;
/**
* @var array[]
* @psalm-var array<string, array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
private static $installedByVendor = array();
/**
* Returns a list of all package names which are present, either by being installed, replaced or provided
*
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackages()
{
$packages = array();
foreach (self::getInstalled() as $installed) {
$packages[] = array_keys($installed['versions']);
}
if (1 === \count($packages)) {
return $packages[0];
}
return array_keys(array_flip(\call_user_func_array('array_merge', $packages)));
}
/**
* Returns a list of all package names with a specific type e.g. 'library'
*
* @param string $type
* @return string[]
* @psalm-return list<string>
*/
public static function getInstalledPackagesByType($type)
{
$packagesByType = array();
foreach (self::getInstalled() as $installed) {
foreach ($installed['versions'] as $name => $package) {
if (isset($package['type']) && $package['type'] === $type) {
$packagesByType[] = $name;
}
}
}
return $packagesByType;
}
/**
* Checks whether the given package is installed
*
* This also returns true if the package name is provided or replaced by another package
*
* @param string $packageName
* @param bool $includeDevRequirements
* @return bool
*/
public static function isInstalled($packageName, $includeDevRequirements = true)
{
foreach (self::getInstalled() as $installed) {
if (isset($installed['versions'][$packageName])) {
return $includeDevRequirements || empty($installed['versions'][$packageName]['dev_requirement']);
}
}
return false;
}
/**
* Checks whether the given package satisfies a version constraint
*
* e.g. If you want to know whether version 2.3+ of package foo/bar is installed, you would call:
*
* Composer\InstalledVersions::satisfies(new VersionParser, 'foo/bar', '^2.3')
*
* @param VersionParser $parser Install composer/semver to have access to this class and functionality
* @param string $packageName
* @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
* @return bool
*/
public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));
return $provided->matches($constraint);
}
/**
* Returns a version constraint representing all the range(s) which are installed for a given package
*
* It is easier to use this via isInstalled() with the $constraint argument if you need to check
* whether a given version of a package is installed, and not just whether it exists
*
* @param string $packageName
* @return string Version constraint usable with composer/semver
*/
public static function getVersionRanges($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
$ranges = array();
if (isset($installed['versions'][$packageName]['pretty_version'])) {
$ranges[] = $installed['versions'][$packageName]['pretty_version'];
}
if (array_key_exists('aliases', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']);
}
if (array_key_exists('replaced', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']);
}
if (array_key_exists('provided', $installed['versions'][$packageName])) {
$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']);
}
return implode(' || ', $ranges);
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['version'])) {
return null;
}
return $installed['versions'][$packageName]['version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present
*/
public static function getPrettyVersion($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['pretty_version'])) {
return null;
}
return $installed['versions'][$packageName]['pretty_version'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as reference
*/
public static function getReference($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
if (!isset($installed['versions'][$packageName]['reference'])) {
return null;
}
return $installed['versions'][$packageName]['reference'];
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @param string $packageName
* @return string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path.
*/
public static function getInstallPath($packageName)
{
foreach (self::getInstalled() as $installed) {
if (!isset($installed['versions'][$packageName])) {
continue;
}
return isset($installed['versions'][$packageName]['install_path']) ? $installed['versions'][$packageName]['install_path'] : null;
}
throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
}
/**
* @return array
* @psalm-return array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}
*/
public static function getRootPackage()
{
$installed = self::getInstalled();
return $installed[0]['root'];
}
/**
* Returns the raw installed.php data for custom implementations
*
* @deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect.
* @return array[]
* @psalm-return array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}
*/
public static function getRawData()
{
@trigger_error('getRawData only returns the first dataset loaded, which may not be what you expect. Use getAllRawData() instead which returns all datasets for all autoloaders present in the process.', E_USER_DEPRECATED);
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = include __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
return self::$installed;
}
/**
* Returns the raw data of all installed.php which are currently loaded for custom implementations
*
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
public static function getAllRawData()
{
return self::getInstalled();
}
/**
* Lets you reload the static array from another file
*
* This is only useful for complex integrations in which a project needs to use
* this class but then also needs to execute another project's autoloader in process,
* and wants to ensure both projects have access to their version of installed.php.
*
* A typical case would be PHPUnit, where it would need to make sure it reads all
* the data it needs from this class, then call reload() with
* `require $CWD/vendor/composer/installed.php` (or similar) as input to make sure
* the project in which it runs can then also use this class safely, without
* interference between PHPUnit's dependencies and the project's dependencies.
*
* @param array[] $data A vendor/composer/installed.php data set
* @return void
*
* @psalm-param array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>} $data
*/
public static function reload($data)
{
self::$installed = $data;
self::$installedByVendor = array();
}
/**
* @return array[]
* @psalm-return list<array{root: array{name: string, version: string, reference: string, pretty_version: string, aliases: string[], dev: bool, install_path: string, type: string}, versions: array<string, array{dev_requirement: bool, pretty_version?: string, version?: string, aliases?: string[], reference?: string, replaced?: string[], provided?: string[], install_path?: string, type?: string}>}>
*/
private static function getInstalled()
{
if (null === self::$canGetVendors) {
self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders');
}
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];
} elseif (is_file($vendorDir.'/composer/installed.php')) {
$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php';
if (null === self::$installed && strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
self::$installed = $installed[count($installed) - 1];
}
}
}
}
if (null === self::$installed) {
// only require the installed.php file if this file is loaded from its dumped location,
// and not from its source location in the composer/composer package, see https://github.com/composer/composer/issues/9937
if (substr(__DIR__, -8, 1) !== 'C') {
self::$installed = require __DIR__ . '/installed.php';
} else {
self::$installed = array();
}
}
$installed[] = self::$installed;
return $installed;
}
}
@@ -0,0 +1,5 @@
{
"packages": [],
"dev": false,
"dev-package-names": []
}
@@ -0,0 +1,23 @@
<?php return array(
'root' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'name' => '__root__',
'dev' => false,
),
'versions' => array(
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'dev_requirement' => false,
),
),
);
+8 -4
View File
@@ -2,8 +2,9 @@
$color-main-text: #d8d8d8;
$color-main-background: #181818;
$color-background-dark: lighten($color-main-background, 4%);
$color-background-darker: lighten($color-main-background, 8%);
$color-background-hover: lighten($color-main-background, 4%);
$color-background-dark: lighten($color-main-background, 7%);
$color-background-darker: lighten($color-main-background, 14%);
$color-placeholder-light: lighten($color-main-background, 10%);
$color-placeholder-dark: lighten($color-main-background, 20%);
@@ -20,6 +21,9 @@ $color-box-shadow: transparentize(darken($color-main-background, 70%), 0.5);
$color-border: lighten($color-main-background, 7%);
$color-border-dark: lighten($color-main-background, 14%);
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
#app-navigation > ul > li > a:first-child,
#app-navigation > ul > li > ul > li > a:first-child,
#contactsmenu-menu a,
@@ -32,8 +36,8 @@ $color-border-dark: lighten($color-main-background, 14%);
}
#navigation #apps li a,
#body-settings #content.app-settings .app-image-icon,
#body-settings #content.app-settings #app-sidebar #app-details-view h2 {
#body-settings #content-vue.app-settings .app-image-icon,
#body-settings #content-vue.app-settings #app-sidebar #app-details-view h2 {
svg {
filter: invert(100%);
}
+3
View File
@@ -13,3 +13,6 @@
}
$font-face: OpenDyslexic, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Cantarell, Ubuntu, 'Helvetica Neue', Arial, 'Noto Color Emoji', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
+3
View File
@@ -20,6 +20,9 @@ $color-box-shadow: $color-main-text;
$color-border: darken($color-main-background, 50%);
$color-border-dark: darken($color-main-background, 50%);
$image-logo: url('../../../core/img/logo/logo.svg?v=1');
$image-logoheader: url('../../../core/img/logo/logo.svg?v=1');
[class^='icon-'], [class*=' icon-'],
.action,
#appmenu li a,
+10
View File
@@ -61,3 +61,13 @@
}
}
}
@media (max-width: ($breakpoint-mobile / 2)) {
.app-settings #accessibility .preview-list .preview {
display: unset;
.preview-image {
height: 150px;
}
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Тъмна тема",
"Dark theme" : "Tъмна Tема",
"Enable dark theme" : "Активиране на тъмна тема",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Тъмна тема, която облекчава очите ви, като намалява яркостта. Все още е в процес на разработка, затова, моля, докладвайте за всички проблеми, които откриете.",
"High contrast mode" : "Висок контраст",
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Dark theme" : "Тъмна тема",
"Dark theme" : "Tъмна Tема",
"Enable dark theme" : "Активиране на тъмна тема",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Тъмна тема, която облекчава очите ви, като намалява яркостта. Все още е в процес на разработка, затова, моля, докладвайте за всички проблеми, които откриете.",
"High contrast mode" : "Висок контраст",
+19
View File
@@ -0,0 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "অন্ধকার থিম",
"Enable dark theme" : "অন্ধকার থিম সক্ষম করুন",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "সামগ্রিক আলোকসজ্জা এবং উজ্জ্বলতা হ্রাস করে আপনার চোখকে সহজ করার জন্য একটি অন্ধকার থিম। এটা এখনও উন্নয়ন অধীনে, তাই কোনো সমস্যা আপনি খুঁজে পেতে পারেন রিপোর্ট করুন। ",
"High contrast mode" : "উচ্চ বিপরীতে মোড ",
"Enable high contrast mode" : "উচ্চতর বিপরীতে মোড সক্ষম করুন",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "আপনার নেভিগেশন সহজ করতে একটি উচ্চ বিপরীতে মোড। ভিজ্যুয়াল মান হ্রাস পাবে তবে স্বচ্ছতা বাড়ানো হবে। ",
"Dyslexia font" : "ডিসলেক্সিয়া হরফ",
"Enable dyslexia font" : "ডিসলেক্সিয়া হরফ সক্ষম করুন",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "ওপেনডাইলেক্সিক হ'ল ফ্রি টাইপফেস / হরফ ডিজাইলেসিয়া দ্বারা সৃষ্ট কিছু সাধারণ পাঠ্য ত্রুটি প্রশমিত করার জন্য ডিজাইন করা। ",
"Accessibility" : "অ্যাক্সেসযোগ্যতা",
"Accessibility options for nextcloud" : "নেক্সটক্লাউডের জন্য অ্যাক্সেসযোগ্যতার বিকল্পগুলি",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "নেক্সটক্লাউডের আপনার ব্যবহার সহজ করার জন্য একাধিক অ্যাক্সেসিবিলিটি বিকল্প সরবরাহ করে",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "সর্বজনীন অ্যাক্সেস আমাদের জন্য খুব গুরুত্বপূর্ণ। আমরা ওয়েব স্ট্যান্ডার্ডগুলি অনুসরণ করি এবং মাউস ছাড়াই এবং স্ক্রিনড্রেডারের মতো সহায়ক সফ্টওয়্যার ছাড়াও সবকিছুকে ব্যবহারযোগ্য করে তুলতে পরীক্ষা করে দেখি। আমরা এএএ স্তরে এমনকি উচ্চতর বিপরীতে থিম সহ, এএ স্তরের {নির্দেশিকা} ওয়েব সামগ্রী অ্যাক্সেসিবিলিটি নির্দেশিকা {লিনএন্ড} 2.1 এর সাথে অনুগত হতে লক্ষ্য করি।",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "আপনি যদি কোনও সমস্যা খুঁজে পান তবে তাদেরকে আমাদের ইস্যু ট্র্যাকার {লিনএন্ড} এ প্রতিবেদন করতে দ্বিধা করবেন না} এবং আপনি যদি এতে জড়িত থাকতে চান তবে আসুন {ডিজাইনটিয়াম} আমাদের ডিজাইন দল {লিনএন্ড} এ যোগদান করুন"
},
"nplurals=2; plural=(n != 1);");
+17
View File
@@ -0,0 +1,17 @@
{ "translations": {
"Dark theme" : "অন্ধকার থিম",
"Enable dark theme" : "অন্ধকার থিম সক্ষম করুন",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "সামগ্রিক আলোকসজ্জা এবং উজ্জ্বলতা হ্রাস করে আপনার চোখকে সহজ করার জন্য একটি অন্ধকার থিম। এটা এখনও উন্নয়ন অধীনে, তাই কোনো সমস্যা আপনি খুঁজে পেতে পারেন রিপোর্ট করুন। ",
"High contrast mode" : "উচ্চ বিপরীতে মোড ",
"Enable high contrast mode" : "উচ্চতর বিপরীতে মোড সক্ষম করুন",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "আপনার নেভিগেশন সহজ করতে একটি উচ্চ বিপরীতে মোড। ভিজ্যুয়াল মান হ্রাস পাবে তবে স্বচ্ছতা বাড়ানো হবে। ",
"Dyslexia font" : "ডিসলেক্সিয়া হরফ",
"Enable dyslexia font" : "ডিসলেক্সিয়া হরফ সক্ষম করুন",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "ওপেনডাইলেক্সিক হ'ল ফ্রি টাইপফেস / হরফ ডিজাইলেসিয়া দ্বারা সৃষ্ট কিছু সাধারণ পাঠ্য ত্রুটি প্রশমিত করার জন্য ডিজাইন করা। ",
"Accessibility" : "অ্যাক্সেসযোগ্যতা",
"Accessibility options for nextcloud" : "নেক্সটক্লাউডের জন্য অ্যাক্সেসযোগ্যতার বিকল্পগুলি",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "নেক্সটক্লাউডের আপনার ব্যবহার সহজ করার জন্য একাধিক অ্যাক্সেসিবিলিটি বিকল্প সরবরাহ করে",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "সর্বজনীন অ্যাক্সেস আমাদের জন্য খুব গুরুত্বপূর্ণ। আমরা ওয়েব স্ট্যান্ডার্ডগুলি অনুসরণ করি এবং মাউস ছাড়াই এবং স্ক্রিনড্রেডারের মতো সহায়ক সফ্টওয়্যার ছাড়াও সবকিছুকে ব্যবহারযোগ্য করে তুলতে পরীক্ষা করে দেখি। আমরা এএএ স্তরে এমনকি উচ্চতর বিপরীতে থিম সহ, এএ স্তরের {নির্দেশিকা} ওয়েব সামগ্রী অ্যাক্সেসিবিলিটি নির্দেশিকা {লিনএন্ড} 2.1 এর সাথে অনুগত হতে লক্ষ্য করি।",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "আপনি যদি কোনও সমস্যা খুঁজে পান তবে তাদেরকে আমাদের ইস্যু ট্র্যাকার {লিনএন্ড} এ প্রতিবেদন করতে দ্বিধা করবেন না} এবং আপনি যদি এতে জড়িত থাকতে চান তবে আসুন {ডিজাইনটিয়াম} আমাদের ডিজাইন দল {লিনএন্ড} এ যোগদান করুন"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+10 -10
View File
@@ -2,18 +2,18 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tem teñval",
"Enable dark theme" : "Enaouiñ an tem teñval",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tem teñval evit distanañ ho taoulagad en ur vihanaat ar sklaerijenn. War ziorren emañ c'hoazh, setu ma c'hallit kas deomp hoc'h evezhiadennoù.",
"Enable dark theme" : "Aotren an tem teñval",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tem teñval evit distanañ ho taoulagad en ur vihanaat ar sklêrijenn. War ziorren emañ c'hoazh, setu ma c'hallit kas deomp hoc'h evezhiadennoù.",
"High contrast mode" : "Mod dargemm uhel",
"Enable high contrast mode" : "Enaouiñ an dargemm uhel",
"Enable high contrast mode" : "Aotren mod an dargemm uhel",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ur mod dargemm uhel evit aesaat ho merdeiñ. Bihanaet e vo ar c'halite met brasaet e vo ar spisder eta.",
"Dyslexia font" : "Skritur evit an dislegiezh",
"Enable dyslexia font" : "Enaouiñ ar skritur evit an dislegiezh",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic a zo ur skritur stummet evit skañvaat ar fazioù lenn-pennañ graet abalamour d'an dislegiezh.",
"Dyslexia font" : "Font a-enep an dislegiezh",
"Enable dyslexia font" : "Aotren ar font a-enep an dislegiezh",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic a zo ur font digoust soñjet evit disteraat ar fazioù lenn pennañ deuet diwar dislegiezh.",
"Accessibility" : "Monedusted",
"Accessibility options for nextcloud" : "Arventennoù monedusted Nexcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Roet e vez meur a arventenn vonedusted evit simplaat implij Nexcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Ar vonedusted evit an holl a zo pouezus-ruz eo evidomp. Heuliet e vez ganeomp ar standardoù web ha gwiriet a vez hag-eñ e c'hall an holl dud implijout, hag ar re hep logodenn zoken, ha gant meziantoù sikour evel \"screenreaders\". Klasket e vez ober hervez ar {guidelines}Reolennoù monedusted endalc'hadoù ar Web{linkend} 2.1 gant ul live AA, gant an tem gant un dargemm bras eus al live AAA zoken.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Ma vez kavet ur gudenn ganeoc'h, arabat deoc'h kaout aon da reiñ da c'houzout ez eus anezho d'{issuetracker}hon heulier kudennoù{linkend}. Ha m'ho peus c'hoant sikour, deuit en {designteam}hor skipailh design{linkend}!"
"Accessibility options for nextcloud" : "Arventennoù monedusted Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Pourveziñ a ra meur a arventenn vonedusted evit simplaat implij Nexcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Hollbouezus eo deomp ar vonedusted hollvedel. Heuliañ a reomp ar standardoù web ha gwiri a reomp hag-eñ e c'hall mat pep tra bezañ implijet hep logodenn zoken, ha gant meziantoù skoazellañ evel \"lennerioù skramm\". Klask a reomp doujañ da {guidelines}Reolennoù monedusted endalc'hadoù ar Web{linkend} 2.1 gant ul live AA, gant an tem gant un dargemm bras, d'al live AAA zoken.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Mar kavit un draen bennak, na dermit ket da reiñ deomp da c'houzout war {issuetracker}hor benveg dizreinañ{linkend}. Ha mar fell deoc'h kemer perzh e viot degemeret mat en {designteam}hor skipailh dezagn{linkend}!"
},
"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);");
+10 -10
View File
@@ -1,17 +1,17 @@
{ "translations": {
"Dark theme" : "Tem teñval",
"Enable dark theme" : "Enaouiñ an tem teñval",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tem teñval evit distanañ ho taoulagad en ur vihanaat ar sklaerijenn. War ziorren emañ c'hoazh, setu ma c'hallit kas deomp hoc'h evezhiadennoù.",
"Enable dark theme" : "Aotren an tem teñval",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tem teñval evit distanañ ho taoulagad en ur vihanaat ar sklêrijenn. War ziorren emañ c'hoazh, setu ma c'hallit kas deomp hoc'h evezhiadennoù.",
"High contrast mode" : "Mod dargemm uhel",
"Enable high contrast mode" : "Enaouiñ an dargemm uhel",
"Enable high contrast mode" : "Aotren mod an dargemm uhel",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ur mod dargemm uhel evit aesaat ho merdeiñ. Bihanaet e vo ar c'halite met brasaet e vo ar spisder eta.",
"Dyslexia font" : "Skritur evit an dislegiezh",
"Enable dyslexia font" : "Enaouiñ ar skritur evit an dislegiezh",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic a zo ur skritur stummet evit skañvaat ar fazioù lenn-pennañ graet abalamour d'an dislegiezh.",
"Dyslexia font" : "Font a-enep an dislegiezh",
"Enable dyslexia font" : "Aotren ar font a-enep an dislegiezh",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic a zo ur font digoust soñjet evit disteraat ar fazioù lenn pennañ deuet diwar dislegiezh.",
"Accessibility" : "Monedusted",
"Accessibility options for nextcloud" : "Arventennoù monedusted Nexcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Roet e vez meur a arventenn vonedusted evit simplaat implij Nexcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Ar vonedusted evit an holl a zo pouezus-ruz eo evidomp. Heuliet e vez ganeomp ar standardoù web ha gwiriet a vez hag-eñ e c'hall an holl dud implijout, hag ar re hep logodenn zoken, ha gant meziantoù sikour evel \"screenreaders\". Klasket e vez ober hervez ar {guidelines}Reolennoù monedusted endalc'hadoù ar Web{linkend} 2.1 gant ul live AA, gant an tem gant un dargemm bras eus al live AAA zoken.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Ma vez kavet ur gudenn ganeoc'h, arabat deoc'h kaout aon da reiñ da c'houzout ez eus anezho d'{issuetracker}hon heulier kudennoù{linkend}. Ha m'ho peus c'hoant sikour, deuit en {designteam}hor skipailh design{linkend}!"
"Accessibility options for nextcloud" : "Arventennoù monedusted Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Pourveziñ a ra meur a arventenn vonedusted evit simplaat implij Nexcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Hollbouezus eo deomp ar vonedusted hollvedel. Heuliañ a reomp ar standardoù web ha gwiri a reomp hag-eñ e c'hall mat pep tra bezañ implijet hep logodenn zoken, ha gant meziantoù skoazellañ evel \"lennerioù skramm\". Klask a reomp doujañ da {guidelines}Reolennoù monedusted endalc'hadoù ar Web{linkend} 2.1 gant ul live AA, gant an tem gant un dargemm bras, d'al live AAA zoken.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Mar kavit un draen bennak, na dermit ket da reiñ deomp da c'houzout war {issuetracker}hor benveg dizreinañ{linkend}. Ha mar fell deoc'h kemer perzh e viot degemeret mat en {designteam}hor skipailh dezagn{linkend}!"
},"pluralForm" :"nplurals=5; plural=((n%10 == 1) && (n%100 != 11) && (n%100 !=71) && (n%100 !=91) ? 0 :(n%10 == 2) && (n%100 != 12) && (n%100 !=72) && (n%100 !=92) ? 1 :(n%10 ==3 || n%10==4 || n%10==9) && (n%100 < 10 || n% 100 > 19) && (n%100 < 70 || n%100 > 79) && (n%100 < 90 || n%100 > 99) ? 2 :(n != 0 && n % 1000000 == 0) ? 3 : 4);"
}
+5 -5
View File
@@ -2,18 +2,18 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tmavý motiv vzhledu",
"Enable dark theme" : "Zapnout tmavý motiv vzhledu",
"Enable dark theme" : "Používat tmavý motiv vzhledu",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tmavý motiv vzhledu pro ulevení vašim očím snížením celkové svítivosti a jasu. Jeho vývoj zatím ještě není zcela dokončen, proto prosíme hlaste jakékoli problémy, se kterými se setkáte.",
"High contrast mode" : "Režim s vysokým kontrastem",
"Enable high contrast mode" : "Zapnout režim s vysokým kontrastem",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Režim s vysokým kontrastem pro usnadnění orientace při pohybu po aplikaci. Vizuální kvalita bude snížena, zato zřetelnost se zlepší.",
"Dyslexia font" : "Písmo pro dyslektiky",
"Enable dyslexia font" : "Použít písmo pro dyslektiky",
"Enable dyslexia font" : "Používat písmo pro dyslektiky",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic je bezplatné písmo (font) navržené tak, aby odpomáhalo od některých běžných chybování při čtení, způsobených dyslexií.",
"Accessibility" : "Zpřístupnění",
"Accessibility options for nextcloud" : "Předvolby v Nexcloud pro zpřístupnění",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Poskytuje vícero možností zpřístupnění pro usnadnění používání Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Přístupnost pro všechny je pro nás velmi důležitá. Splňujeme webové standardy a zajišťujeme, aby všechno bylo použitelné i bez myši a s asistenčním software, jako například čtečkami obrazovky. Máme za cíl být v souladu s {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 na úrovni AA, při použití motivu vzhledu s vysokým kontrastem dokonce na úrovni AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Pokud naleznete jakékoli problémy, neváhejte s jejich nahlášením do {issuetracker}našeho systému pro správu hlášení {linkend}. A pokud se chcete zapojit, přidejte se k {designteam}týmu našich designérů{linkend}!"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Poskytuje vícero možností pro zpřístupnění a tím usnadnění používání Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Přístupnost pro všechny je pro nás velmi důležitá. Splňujeme webové standardy a zajišťujeme, aby všechno bylo použitelné i bez myši a s asistenčním software, jako například čtečkami obrazovky. Máme za cíl být v souladu s doporučeními {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 na úrovni AA, při použití motivu vzhledu s vysokým kontrastem dokonce na úrovni AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Pokud naleznete jakékoli problémy, neváhejte s jejich nahlášením do {issuetracker}našeho systému pro správu hlášení{linkend}. A pokud se chcete zapojit, přidejte se k {designteam}týmu našich designérů{linkend}!"
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+5 -5
View File
@@ -1,17 +1,17 @@
{ "translations": {
"Dark theme" : "Tmavý motiv vzhledu",
"Enable dark theme" : "Zapnout tmavý motiv vzhledu",
"Enable dark theme" : "Používat tmavý motiv vzhledu",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tmavý motiv vzhledu pro ulevení vašim očím snížením celkové svítivosti a jasu. Jeho vývoj zatím ještě není zcela dokončen, proto prosíme hlaste jakékoli problémy, se kterými se setkáte.",
"High contrast mode" : "Režim s vysokým kontrastem",
"Enable high contrast mode" : "Zapnout režim s vysokým kontrastem",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Režim s vysokým kontrastem pro usnadnění orientace při pohybu po aplikaci. Vizuální kvalita bude snížena, zato zřetelnost se zlepší.",
"Dyslexia font" : "Písmo pro dyslektiky",
"Enable dyslexia font" : "Použít písmo pro dyslektiky",
"Enable dyslexia font" : "Používat písmo pro dyslektiky",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic je bezplatné písmo (font) navržené tak, aby odpomáhalo od některých běžných chybování při čtení, způsobených dyslexií.",
"Accessibility" : "Zpřístupnění",
"Accessibility options for nextcloud" : "Předvolby v Nexcloud pro zpřístupnění",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Poskytuje vícero možností zpřístupnění pro usnadnění používání Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Přístupnost pro všechny je pro nás velmi důležitá. Splňujeme webové standardy a zajišťujeme, aby všechno bylo použitelné i bez myši a s asistenčním software, jako například čtečkami obrazovky. Máme za cíl být v souladu s {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 na úrovni AA, při použití motivu vzhledu s vysokým kontrastem dokonce na úrovni AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Pokud naleznete jakékoli problémy, neváhejte s jejich nahlášením do {issuetracker}našeho systému pro správu hlášení {linkend}. A pokud se chcete zapojit, přidejte se k {designteam}týmu našich designérů{linkend}!"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Poskytuje vícero možností pro zpřístupnění a tím usnadnění používání Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Přístupnost pro všechny je pro nás velmi důležitá. Splňujeme webové standardy a zajišťujeme, aby všechno bylo použitelné i bez myši a s asistenčním software, jako například čtečkami obrazovky. Máme za cíl být v souladu s doporučeními {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 na úrovni AA, při použití motivu vzhledu s vysokým kontrastem dokonce na úrovni AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Pokud naleznete jakékoli problémy, neváhejte s jejich nahlášením do {issuetracker}našeho systému pro správu hlášení{linkend}. A pokud se chcete zapojit, přidejte se k {designteam}týmu našich designérů{linkend}!"
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
+2 -2
View File
@@ -3,13 +3,13 @@ OC.L10N.register(
{
"Dark theme" : "Tema oscuro",
"Enable dark theme" : "Activar tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que por favor, comunique cualquier problema que encuentre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Activar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un modo de alto contraste para facilitar la navegación. Se reducirá la calidad visual pero se aumentará la claridad.",
"Dyslexia font" : "Tipo de letra para dislexia",
"Enable dyslexia font" : "Activa tipo de letra para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra/fuente libre diseñado para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra libre diseñada para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ofrece múltiples opciones de accesibilidad para facilitarte el uso de Nextcloud",
+2 -2
View File
@@ -1,13 +1,13 @@
{ "translations": {
"Dark theme" : "Tema oscuro",
"Enable dark theme" : "Activar tema oscuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que por favor, comunique cualquier problema que encuentre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tema oscuro para facilitar la navegación, reduciendo el brillo y la luminosidad. Aún se encuentra en desarrollo, así que, por favor, comunique cualquier problema que encuentre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Activar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un modo de alto contraste para facilitar la navegación. Se reducirá la calidad visual pero se aumentará la claridad.",
"Dyslexia font" : "Tipo de letra para dislexia",
"Enable dyslexia font" : "Activa tipo de letra para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra/fuente libre diseñado para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es un tipo de letra libre diseñada para reducir algunos de los errores de lectura comunes causados por la dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ofrece múltiples opciones de accesibilidad para facilitarte el uso de Nextcloud",
+1
View File
@@ -13,6 +13,7 @@ OC.L10N.register(
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Proporciona múltiples opciones de accesibilidad para facilitar el uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo se pueda usar también sin mouse y software de asistencia, como lectores de pantalla. Nuestro objetivo es cumplir con las {pautas} Accesibilidad al contenido web {linkend} 2.1 en el nivel AA, con el tema de alto contraste incluso en el nivel AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentra algún problema, no dude en informarlo en {issuetracker}nuestro rastreador de problemas {linkend}. Y si desea participar, ¡únase a {designteam}a nuestro equipo de diseño {linkend}!"
},
"nplurals=2; plural=(n != 1);");
+1
View File
@@ -11,6 +11,7 @@
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Proporciona múltiples opciones de accesibilidad para facilitar el uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo se pueda usar también sin mouse y software de asistencia, como lectores de pantalla. Nuestro objetivo es cumplir con las {pautas} Accesibilidad al contenido web {linkend} 2.1 en el nivel AA, con el tema de alto contraste incluso en el nivel AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentra algún problema, no dude en informarlo en {issuetracker}nuestro rastreador de problemas {linkend}. Y si desea participar, ¡únase a {designteam}a nuestro equipo de diseño {linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+5 -1
View File
@@ -6,10 +6,14 @@ OC.L10N.register(
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tema oscuro para ayudar a tus ojos al reducir el brillo y luminosidad en general. Todavía está bajo desarrollo, así que por favor reporta cualquier problema que pudieras encontrar.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Habilitar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste para facilitar tu navegación. La calidad visual puede ser menor pero incrementa la claridad.",
"Dyslexia font" : "Fuente para dislexia",
"Enable dyslexia font" : "Habilitar fuente para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una tipografía/fuente diseñada para mitigar algunos de los errores comunes de lectura causados por dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar su uso de Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar tu uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo sea utilizable inclusive sin ratón, y con software de asistencia como lectores de pantalla. Buscamos cumplir con las {guidelines}Guías de Accesibilidad de Contenido Web{linkend} 2.1 sobre nivel AA, incluso sobre nivel AAA para el tema de alto contraste.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentras cualquier problema, no dudes en reportarlo en {issuetracker}nuestra lista de errores{linkend}. Y si deseas involucrarte, ¡únete a {designteam}nuestro equipo de diseño{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+5 -1
View File
@@ -4,10 +4,14 @@
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un tema oscuro para ayudar a tus ojos al reducir el brillo y luminosidad en general. Todavía está bajo desarrollo, así que por favor reporta cualquier problema que pudieras encontrar.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Habilitar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste para facilitar tu navegación. La calidad visual puede ser menor pero incrementa la claridad.",
"Dyslexia font" : "Fuente para dislexia",
"Enable dyslexia font" : "Habilitar fuente para dislexia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic es una tipografía/fuente diseñada para mitigar algunos de los errores comunes de lectura causados por dislexia.",
"Accessibility" : "Accesibilidad",
"Accessibility options for nextcloud" : "Opciones de accesibilidad para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar su uso de Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Provee múltiples opciones de accesibilidad para facilitar tu uso de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "El acceso universal es muy importante para nosotros. Seguimos los estándares web y verificamos que todo sea utilizable inclusive sin ratón, y con software de asistencia como lectores de pantalla. Buscamos cumplir con las {guidelines}Guías de Accesibilidad de Contenido Web{linkend} 2.1 sobre nivel AA, incluso sobre nivel AAA para el tema de alto contraste.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si encuentras cualquier problema, no dudes en reportarlo en {issuetracker}nuestra lista de errores{linkend}. Y si deseas involucrarte, ¡únete a {designteam}nuestro equipo de diseño{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+3 -1
View File
@@ -3,10 +3,12 @@ OC.L10N.register(
{
"Dark theme" : "Tume teema",
"Enable dark theme" : "Luba tume teema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tume teema vähedab koormust sinu silmadele, vähendades ekraani eredust. See funktsionaalsus on hetkel arendamisel, palun andke sellega seotud probleemidest meile teada.",
"High contrast mode" : "Kõrge kontrastsusega režiim",
"Enable high contrast mode" : "Lubage kõrge kontrastsusega režiim.",
"Dyslexia font" : "Düsleksia font",
"Enable dyslexia font" : "Luba düsleksia font",
"Accessibility" : "Ligipääsetavus"
"Accessibility" : "Ligipääsetavus",
"Accessibility options for nextcloud" : "Ligipääsetavuse valikud Nextcloudis"
},
"nplurals=2; plural=(n != 1);");
+3 -1
View File
@@ -1,10 +1,12 @@
{ "translations": {
"Dark theme" : "Tume teema",
"Enable dark theme" : "Luba tume teema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tume teema vähedab koormust sinu silmadele, vähendades ekraani eredust. See funktsionaalsus on hetkel arendamisel, palun andke sellega seotud probleemidest meile teada.",
"High contrast mode" : "Kõrge kontrastsusega režiim",
"Enable high contrast mode" : "Lubage kõrge kontrastsusega režiim.",
"Dyslexia font" : "Düsleksia font",
"Enable dyslexia font" : "Luba düsleksia font",
"Accessibility" : "Ligipääsetavus"
"Accessibility" : "Ligipääsetavus",
"Accessibility options for nextcloud" : "Ligipääsetavuse valikud Nextcloudis"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7 -7
View File
@@ -3,17 +3,17 @@ OC.L10N.register(
{
"Dark theme" : "Gai iluna",
"Enable dark theme" : "Gaitu gai iluna",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz aurkitu zenezakeen edozein arazoren berri eman.",
"High contrast mode" : "Kontraste altuko modua",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz, eman aurkitu zenezakeen edozein arazoren berri mesedez.",
"High contrast mode" : "Kontraste handiko modua",
"Enable high contrast mode" : "Gaitu kontraste handiko modua",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste altuko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste handiko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"Dyslexia font" : "Dislexia letra-tipoa",
"Enable dyslexia font" : "Gaitu dislexia letra-tipoa",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da, dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"Accessibility" : "Erabilerraztasuna",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextcloud-en erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta sagu gabeko erabiltasuna egiaztatzen ditugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino lortuz.",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak Nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextclouden erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala izatea oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta guztia sagurik gabe erabili ahal izatea bermatzen dugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino betez.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Arazorik aurkitzen baduzu, bidali ezazu lasai {issuetracker}gure arazo-kontrolatzailera{linkend}. Eta parte hartu nahi baduzu, elkartu zaitez gurekin {designteam}gure diseinu taldera{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+7 -7
View File
@@ -1,17 +1,17 @@
{ "translations": {
"Dark theme" : "Gai iluna",
"Enable dark theme" : "Gaitu gai iluna",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz aurkitu zenezakeen edozein arazoren berri eman.",
"High contrast mode" : "Kontraste altuko modua",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Arindu begietako kaltea gai ilunaz argitasuna eta distira murriztuz. Garapenean dagoen aukera da, beraz, eman aurkitu zenezakeen edozein arazoren berri mesedez.",
"High contrast mode" : "Kontraste handiko modua",
"Enable high contrast mode" : "Gaitu kontraste handiko modua",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste altuko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Kontraste handiko modua zuri nabigazioa errazteko. Kalitate bisuala murriztuko da baina argitasuna handiagotu.",
"Dyslexia font" : "Dislexia letra-tipoa",
"Enable dyslexia font" : "Gaitu dislexia letra-tipoa",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic letra-tipo librea da, dislexiak eragindako ohiko irakurketa akats batzuk leuntzeko diseinatua.",
"Accessibility" : "Erabilerraztasuna",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextcloud-en erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta sagu gabeko erabiltasuna egiaztatzen ditugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino lortuz.",
"Accessibility options for nextcloud" : "Erabilerraztasun aukerak Nextcloudentzat",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Nextclouden erabilera errazteko hainbat aukera eskaintzen ditu.",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Sarbide unibertsala izatea oso garrantzitsua da guretzat. Web estadandarrak jarraitu eta guztia sagurik gabe erabili ahal izatea bermatzen dugu, pantaila-irakurle moduko software laguntzaileak barne. Helburu bezala jartzen dugu {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 AA mailan betetzea, kontraste altuko modua AAA mailaraino betez.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Arazorik aurkitzen baduzu, bidali ezazu lasai {issuetracker}gure arazo-kontrolatzailera{linkend}. Eta parte hartu nahi baduzu, elkartu zaitez gurekin {designteam}gure diseinu taldera{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+3 -3
View File
@@ -1,9 +1,9 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "تم تاریک",
"Enable dark theme" : "فعالسازی تم تاریک",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "تم تاریک برای با کاهش نور و نیز شفافیت برای راحتی بیشتر چشمان شما در استفاده از نکست کلود تعبیه دیده شده است و این امکان در حال توسعه می باشد،به همین دلیل هرگونه ایراد پیش آمده را گزارش دهید.",
"Dark theme" : "زمینه تیره",
"Enable dark theme" : "فعالسازی زمینه تیره",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "یک زمینه تیره برای راحتی چشم‌های شما با کاهش روی‌هم‌رفته درخشندگی و روشنایی. این امکان هنوز در حال توسعه میباشد، بنابراین در صورت مشاهده هرگونه ایراد، آن را گزارش کنید.",
"High contrast mode" : "حالت با کنتراست بالا",
"Enable high contrast mode" : "فعالسازی حالت کنتراست بالا",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش می یابد اما وضوح افزایش می یابد.",
+3 -3
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "تم تاریک",
"Enable dark theme" : "فعالسازی تم تاریک",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "تم تاریک برای با کاهش نور و نیز شفافیت برای راحتی بیشتر چشمان شما در استفاده از نکست کلود تعبیه دیده شده است و این امکان در حال توسعه می باشد،به همین دلیل هرگونه ایراد پیش آمده را گزارش دهید.",
"Dark theme" : "زمینه تیره",
"Enable dark theme" : "فعالسازی زمینه تیره",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "یک زمینه تیره برای راحتی چشم‌های شما با کاهش روی‌هم‌رفته درخشندگی و روشنایی. این امکان هنوز در حال توسعه میباشد، بنابراین در صورت مشاهده هرگونه ایراد، آن را گزارش کنید.",
"High contrast mode" : "حالت با کنتراست بالا",
"Enable high contrast mode" : "فعالسازی حالت کنتراست بالا",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "یک حالت کنتراست بالا برای سهولت در پیمایش. کیفیت بصری کاهش می یابد اما وضوح افزایش می یابد.",
+2 -2
View File
@@ -1,8 +1,8 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tummateema",
"Enable dark theme" : "Käytä tummaateemaa",
"Dark theme" : "Tumma teema",
"Enable dark theme" : "Käytä tummaa teemaa",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tumma teema helpottaa silmien rasitusta vähentämällä kokonaiskirkkautta. Teemaa kehitetään edelleen, joten ilmoitathan mahdollisesti kohtaamasi ongelmat.",
"High contrast mode" : "Suuren kontrastin tila",
"Enable high contrast mode" : "Käytä suuren kontrastin tilaa",
+2 -2
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Dark theme" : "Tummateema",
"Enable dark theme" : "Käytä tummaateemaa",
"Dark theme" : "Tumma teema",
"Enable dark theme" : "Käytä tummaa teemaa",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Tumma teema helpottaa silmien rasitusta vähentämällä kokonaiskirkkautta. Teemaa kehitetään edelleen, joten ilmoitathan mahdollisesti kohtaamasi ongelmat.",
"High contrast mode" : "Suuren kontrastin tila",
"Enable high contrast mode" : "Käytä suuren kontrastin tilaa",
+2 -2
View File
@@ -3,10 +3,10 @@ OC.L10N.register(
{
"Dark theme" : "Thème sombre",
"Enable dark theme" : "Activer le thème sombre",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité et l’éclat général. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité générale. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"High contrast mode" : "Thème à contraste élevé",
"Enable high contrast mode" : "Activer le thème à contraste élevé",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la clarté sera améliorée.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la lisibilité sera améliorée.",
"Dyslexia font" : "Police pour dyslexiques",
"Enable dyslexia font" : "Activer la police pour dyslexiques",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est une police de caractères libre conçue pour atténuer certaines des erreurs de lecture courantes causées par la dyslexie.",
+2 -2
View File
@@ -1,10 +1,10 @@
{ "translations": {
"Dark theme" : "Thème sombre",
"Enable dark theme" : "Activer le thème sombre",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité et l’éclat général. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Un thème sombre pour soulager vos yeux en réduisant la luminosité générale. Il est encore en cours de développement, veuillez donc nous signaler les problèmes que vous pourriez rencontrer.",
"High contrast mode" : "Thème à contraste élevé",
"Enable high contrast mode" : "Activer le thème à contraste élevé",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la clarté sera améliorée.",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un thème au contraste élevé pour faciliter votre navigation. La qualité visuelle sera réduite, mais la lisibilité sera améliorée.",
"Dyslexia font" : "Police pour dyslexiques",
"Enable dyslexia font" : "Activer la police pour dyslexiques",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic est une police de caractères libre conçue pour atténuer certaines des erreurs de lecture courantes causées par la dyslexie.",
+1 -1
View File
@@ -10,7 +10,7 @@ OC.L10N.register(
"Dyslexia font" : "Font disleksia",
"Enable dyslexia font" : "Aktifkan fon disleksia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic adalah typeface/font gratis yang didesain untuk mengurangi kesalahan membaca oleh penderita disleksia",
"Accessibility" : "aksesbilitas",
"Accessibility" : "Aksesbilitas",
"Accessibility options for nextcloud" : "Opsi aksesibilitas untuk nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Menyediakan beberapa opsi aksesibilitas untuk memudahkan Anda menggunakan Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Akses universal sangat penting bagi kami. Kami mengikuti standar web dan memeriksa agar semua dapat digunakan, bahkan saat tanpa menggunakan tetikus, dan lainnya seperti perangkat lunak pembantu pembaca layar. Kami bertujuan untuk mematuhi {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 pada tingkat AA, dengan tema kontras tinggi bahkan pada tingkat AAA.",
+1 -1
View File
@@ -8,7 +8,7 @@
"Dyslexia font" : "Font disleksia",
"Enable dyslexia font" : "Aktifkan fon disleksia",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic adalah typeface/font gratis yang didesain untuk mengurangi kesalahan membaca oleh penderita disleksia",
"Accessibility" : "aksesbilitas",
"Accessibility" : "Aksesbilitas",
"Accessibility options for nextcloud" : "Opsi aksesibilitas untuk nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Menyediakan beberapa opsi aksesibilitas untuk memudahkan Anda menggunakan Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Akses universal sangat penting bagi kami. Kami mengikuti standar web dan memeriksa agar semua dapat digunakan, bahkan saat tanpa menggunakan tetikus, dan lainnya seperti perangkat lunak pembantu pembaca layar. Kami bertujuan untuk mematuhi {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 pada tingkat AA, dengan tema kontras tinggi bahkan pada tingkat AAA.",
+1 -1
View File
@@ -3,7 +3,7 @@ OC.L10N.register(
{
"Dark theme" : "ダークテーマ",
"Enable dark theme" : "ダークテーマを有効にする",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ダークテーマは目の負担になりにくいです。このテーマは開発中のためバグを見つけたら報告してください。",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ダークテーマは画面全体のの明るさを減らすため、目の負担を和らげることができます。このテーマは開発中のためバグを見つけたら報告してください。",
"High contrast mode" : "ハイ・コントラストモード",
"Enable high contrast mode" : "ハイ・コントラストモードを有効にする。",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "操作をわかりやすくするためのハイ・コントラストモード。\n見た目の美しさは低下しますが、明確さが向上します。",
+1 -1
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "ダークテーマ",
"Enable dark theme" : "ダークテーマを有効にする",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ダークテーマは目の負担になりにくいです。このテーマは開発中のためバグを見つけたら報告してください。",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "ダークテーマは画面全体のの明るさを減らすため、目の負担を和らげることができます。このテーマは開発中のためバグを見つけたら報告してください。",
"High contrast mode" : "ハイ・コントラストモード",
"Enable high contrast mode" : "ハイ・コントラストモードを有効にする。",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "操作をわかりやすくするためのハイ・コントラストモード。\n見た目の美しさは低下しますが、明確さが向上します。",
+8 -6
View File
@@ -1,17 +1,19 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Mogleggjere mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ei mørk drakt som er mildare mot augo ved å redusera utstråling og lysstyrke. Drakta vert framleis utvikla, så sei gjerne ifrå dersom du får vanskar.",
"High contrast mode" : "Høg kontrast modus",
"Enable high contrast mode" : "Mogleggjere høg kontrast modus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Høg kontrast modus gjer det enklare å navigere. Visuell kvalitet vil bli redusert, mens innhaldet vert klårare.",
"Dyslexia font" : "Dysleksi-skrifttype",
"Enable dyslexia font" : "Mogleggjere skrifttype for dysleksikarar ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic er ein gratis skrifttype som er laga for å redusera nokre vanlege lesefeil som kjem av dysleksi.",
"Accessibility" : "Tilgjenge",
"Accessibility options for nextcloud" : "Brukarval for tilgjenge i Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ulike innstillingar for å gjera Nextcloud lettare å bruka for funksjonshemma",
"High contrast theme" : "Høgkontrast-drakt",
"A high contrast theme to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ei drakt med høg kontrast som gjer det lettare å navigera. Den visuelle kvaliteten er redusert, men innhaldet er klårare.",
"Web Content Accessibility Guidelines" : "Retningsliner for tilgjenge i vev-innhald",
"our issue tracker" : "feilsporings-systemet vårt",
"our design team" : "utformingsgruppa vår",
"Enable" : "Slå på"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universell tilgang er veldig viktig for oss. Vi følg vev standardar og undersøkjer at alt er mogleg å gjennomføre utan mus, og saman med hjelpeprogramvare som skjermlesar. Vi har som mål å vere i samsvar med {retningslinjene} Retningslinjer for tilgjengeleg nett innhald {lenkje} 2.1 for A-nivå, til og med for tema med høy kontrast på AAA-nivå. ",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "I tilfele du finn nokre problem, ikkje vent med å rapportere dei på {problemsøkjar} vår problemsøkjar {lenkje}. Og ønskjer du å engasjere deg, ta del i {designergruppa} designergruppa vår {lenkje}!"
},
"nplurals=2; plural=(n != 1);");
+8 -6
View File
@@ -1,15 +1,17 @@
{ "translations": {
"Dark theme" : "Mørkt tema",
"Enable dark theme" : "Mogleggjere mørkt tema",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ei mørk drakt som er mildare mot augo ved å redusera utstråling og lysstyrke. Drakta vert framleis utvikla, så sei gjerne ifrå dersom du får vanskar.",
"High contrast mode" : "Høg kontrast modus",
"Enable high contrast mode" : "Mogleggjere høg kontrast modus",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Høg kontrast modus gjer det enklare å navigere. Visuell kvalitet vil bli redusert, mens innhaldet vert klårare.",
"Dyslexia font" : "Dysleksi-skrifttype",
"Enable dyslexia font" : "Mogleggjere skrifttype for dysleksikarar ",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic er ein gratis skrifttype som er laga for å redusera nokre vanlege lesefeil som kjem av dysleksi.",
"Accessibility" : "Tilgjenge",
"Accessibility options for nextcloud" : "Brukarval for tilgjenge i Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ulike innstillingar for å gjera Nextcloud lettare å bruka for funksjonshemma",
"High contrast theme" : "Høgkontrast-drakt",
"A high contrast theme to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Ei drakt med høg kontrast som gjer det lettare å navigera. Den visuelle kvaliteten er redusert, men innhaldet er klårare.",
"Web Content Accessibility Guidelines" : "Retningsliner for tilgjenge i vev-innhald",
"our issue tracker" : "feilsporings-systemet vårt",
"our design team" : "utformingsgruppa vår",
"Enable" : "Slå på"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Universell tilgang er veldig viktig for oss. Vi følg vev standardar og undersøkjer at alt er mogleg å gjennomføre utan mus, og saman med hjelpeprogramvare som skjermlesar. Vi har som mål å vere i samsvar med {retningslinjene} Retningslinjer for tilgjengeleg nett innhald {lenkje} 2.1 for A-nivå, til og med for tema med høy kontrast på AAA-nivå. ",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "I tilfele du finn nokre problem, ikkje vent med å rapportere dei på {problemsøkjar} vår problemsøkjar {lenkje}. Og ønskjer du å engasjere deg, ta del i {designergruppa} designergruppa vår {lenkje}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2
View File
@@ -6,6 +6,8 @@ OC.L10N.register(
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Dyslexia font" : "Poliça dyslexia",
"Enable dyslexia font" : "Activar la poliça dyslexia",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud"
},
+2
View File
@@ -4,6 +4,8 @@
"High contrast mode" : "Mòde fòrt contraste",
"Enable high contrast mode" : "Activar lo mòde fòrt contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un mòde fòrt contraste per facilitar la navegacion. La qualitat visuala baissarà mas la claror serà aumentada.",
"Dyslexia font" : "Poliça dyslexia",
"Enable dyslexia font" : "Activar la poliça dyslexia",
"Accessibility" : "Accessibilitat",
"Accessibility options for nextcloud" : "Opcions daccessibilitat per nextcloud"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
+1 -1
View File
@@ -3,7 +3,7 @@ OC.L10N.register(
{
"Dark theme" : "Ciemny motyw",
"Enable dark theme" : "Włącz ciemny motyw",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ciemny motyw, który łagodzi zmęczenie oczu, zmniejszając ogólną jasność. Nadal jest w fazie rozwoju, więc proszę zgłaszać wszelkie zauważone błędy.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ciemny motyw, który łagodzi zmęczenie oczu, zmniejszając ogólną jasność. Nadal jest w fazie rozwoju, więc zgłaszaj wszelkie zauważone błędy.",
"High contrast mode" : "Tryb wysokiego kontrastu",
"Enable high contrast mode" : "Włącz tryb wysokiego kontrastu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Tryb wysokiego kontrastu ułatwiający nawigację. Jakość obrazu zostanie zmniejszona, celem poprawy przejrzystości.",
+1 -1
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "Ciemny motyw",
"Enable dark theme" : "Włącz ciemny motyw",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ciemny motyw, który łagodzi zmęczenie oczu, zmniejszając ogólną jasność. Nadal jest w fazie rozwoju, więc proszę zgłaszać wszelkie zauważone błędy.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Ciemny motyw, który łagodzi zmęczenie oczu, zmniejszając ogólną jasność. Nadal jest w fazie rozwoju, więc zgłaszaj wszelkie zauważone błędy.",
"High contrast mode" : "Tryb wysokiego kontrastu",
"Enable high contrast mode" : "Włącz tryb wysokiego kontrastu",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Tryb wysokiego kontrastu ułatwiający nawigację. Jakość obrazu zostanie zmniejszona, celem poprawy przejrzystości.",
+1 -1
View File
@@ -2,7 +2,7 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"Enable dark theme" : "Enable dark theme",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para aliviar os olhos, reduzindo a luminosidade e brilho geral. Ainda está em desenvolvimento, por isso, informe qualquer problema encontrado.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
+1 -1
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"Enable dark theme" : "Enable dark theme",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para aliviar os olhos, reduzindo a luminosidade e brilho geral. Ainda está em desenvolvimento, por isso, informe qualquer problema encontrado.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
+3 -3
View File
@@ -3,7 +3,7 @@ OC.L10N.register(
{
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para descansar os olhos reduzindo a luminosidade e o brilho. Ainda está em desenvolvimento, pelo que tenha a gentileza de reportar quaisquer erros que encontre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para descansar os olhos reduzindo a luminosidade e o brilho. Ainda está em desenvolvimento, pelo que por favor reporte quaisquer erros que encontre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Um modo de alto contraste para facilitar sua navegação. A qualidade visual será reduzida, mas a clareza será aumentada.",
@@ -13,7 +13,7 @@ OC.L10N.register(
"Accessibility" : "Acessibilidade",
"Accessibility options for nextcloud" : "Opções de acessibilidade para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Fornece várias opções de acessibilidade para facilitar a sua utilização do Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "O acesso universal é muito importante para nós. Seguimos os padrões da web e verificamos para tornar tudo utilizável também sem mouse e software auxiliar, como leitores de tela. O nosso objetivo é estar em conformidade com as {guidelines} Diretrizes de acessibilidade para o conteúdo da Web {linkend} 2.1 no nível AA, com o tema de alto contraste, mesmo no nível AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se você encontrar algum problema, não hesite em denunciá-lo no {issuetracker} o nosso rastreador de problemas {linkend}. E se quiser participar, venha juntar-se à {designteam} a nossa equipa de design {linkend}!"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "O acesso universal é muito importante para nós. Seguimos os padrões da web e verificamos para tornar tudo utilizável também sem rato e software auxiliar, como leitores de ecrã. O nosso objetivo é estar em conformidade com as {guidelines} Diretrizes de acessibilidade para o conteúdo da Web {linkend} 2.1 no nível AA, com o tema de alto contraste, mesmo no nível AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se você encontrar algum problema, não hesite em o reportar no {issuetracker} nosso issue tracker {linkend}. E se quiser participar, venha juntar-se à {designteam} a nossa equipa de design {linkend}!"
},
"nplurals=2; plural=(n != 1);");
+3 -3
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "Tema escuro",
"Enable dark theme" : "Ativar tema escuro",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para descansar os olhos reduzindo a luminosidade e o brilho. Ainda está em desenvolvimento, pelo que tenha a gentileza de reportar quaisquer erros que encontre.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Um tema escuro para descansar os olhos reduzindo a luminosidade e o brilho. Ainda está em desenvolvimento, pelo que por favor reporte quaisquer erros que encontre.",
"High contrast mode" : "Modo de alto contraste",
"Enable high contrast mode" : "Ativar modo de alto contraste",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Um modo de alto contraste para facilitar sua navegação. A qualidade visual será reduzida, mas a clareza será aumentada.",
@@ -11,7 +11,7 @@
"Accessibility" : "Acessibilidade",
"Accessibility options for nextcloud" : "Opções de acessibilidade para nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Fornece várias opções de acessibilidade para facilitar a sua utilização do Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "O acesso universal é muito importante para nós. Seguimos os padrões da web e verificamos para tornar tudo utilizável também sem mouse e software auxiliar, como leitores de tela. O nosso objetivo é estar em conformidade com as {guidelines} Diretrizes de acessibilidade para o conteúdo da Web {linkend} 2.1 no nível AA, com o tema de alto contraste, mesmo no nível AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se você encontrar algum problema, não hesite em denunciá-lo no {issuetracker} o nosso rastreador de problemas {linkend}. E se quiser participar, venha juntar-se à {designteam} a nossa equipa de design {linkend}!"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "O acesso universal é muito importante para nós. Seguimos os padrões da web e verificamos para tornar tudo utilizável também sem rato e software auxiliar, como leitores de ecrã. O nosso objetivo é estar em conformidade com as {guidelines} Diretrizes de acessibilidade para o conteúdo da Web {linkend} 2.1 no nível AA, com o tema de alto contraste, mesmo no nível AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Se você encontrar algum problema, não hesite em o reportar no {issuetracker} nosso issue tracker {linkend}. E se quiser participar, venha juntar-se à {designteam} a nossa equipa de design {linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -3,7 +3,7 @@ OC.L10N.register(
{
"Dark theme" : "Temă întunecată",
"Enable dark theme" : "Activați tema întunecată",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Temă întunecată pentru ușurarea ochilor prin reducerea generală a luminozității. Temă în curs de dezvoltare deci vă rugăm să raportați orice problemă găsită.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "O temă întunecată pentru ușurarea ochilor prin reducerea generală a luminozității. Temă în curs de dezvoltare deci vă rugăm să raportați orice problemă găsită.",
"High contrast mode" : "Modul contrast puternic.",
"Enable high contrast mode" : "Activați tema cu contrast înalt",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un contrast puternic poate ușura utilizarea. Calitatea vizuală va fi redusă, dar claritatea va fi ridicată.",
@@ -14,6 +14,6 @@ OC.L10N.register(
"Accessibility options for nextcloud" : "Opțiuni de accesibilitate pentru nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Vă oferă opțiuni multiple de accesibilitate pentru a simplifica utilizarea Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Accesul universal este foarte important pentru noi. Urmărim standardele web și verificăm să facem ca toate funcțiile să poată fii utilizate și fără mouse și software de asistență, cum ar fi sofware de citit ecranul. Ne propunem să fim conformi cu {guidelines} Accesibilitatea conținutului web {linkend} 2.1 la nivel AA, cu tema de contrast ridicat chiar și la nivel AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Dacă găsiți probleme, nu ezitați să le raportați la {issuetracker} următorul nostru de probleme {linkend}. Și dacă doriți să vă implicați, participați la {designteam} echipa noastră de design {linkend}!"
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Dacă găsiți probleme, nu ezitați să le raportați la {issuetracker} tracker-ul nostru de probleme {linkend}. Și dacă doriți să vă implicați, participați în {designteam} echipa noastră de design {linkend}!"
},
"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));");
+2 -2
View File
@@ -1,7 +1,7 @@
{ "translations": {
"Dark theme" : "Temă întunecată",
"Enable dark theme" : "Activați tema întunecată",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Temă întunecată pentru ușurarea ochilor prin reducerea generală a luminozității. Temă în curs de dezvoltare deci vă rugăm să raportați orice problemă găsită.",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "O temă întunecată pentru ușurarea ochilor prin reducerea generală a luminozității. Temă în curs de dezvoltare deci vă rugăm să raportați orice problemă găsită.",
"High contrast mode" : "Modul contrast puternic.",
"Enable high contrast mode" : "Activați tema cu contrast înalt",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Un contrast puternic poate ușura utilizarea. Calitatea vizuală va fi redusă, dar claritatea va fi ridicată.",
@@ -12,6 +12,6 @@
"Accessibility options for nextcloud" : "Opțiuni de accesibilitate pentru nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Vă oferă opțiuni multiple de accesibilitate pentru a simplifica utilizarea Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Accesul universal este foarte important pentru noi. Urmărim standardele web și verificăm să facem ca toate funcțiile să poată fii utilizate și fără mouse și software de asistență, cum ar fi sofware de citit ecranul. Ne propunem să fim conformi cu {guidelines} Accesibilitatea conținutului web {linkend} 2.1 la nivel AA, cu tema de contrast ridicat chiar și la nivel AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Dacă găsiți probleme, nu ezitați să le raportați la {issuetracker} următorul nostru de probleme {linkend}. Și dacă doriți să vă implicați, participați la {designteam} echipa noastră de design {linkend}!"
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Dacă găsiți probleme, nu ezitați să le raportați la {issuetracker} tracker-ul nostru de probleme {linkend}. Și dacă doriți să vă implicați, participați în {designteam} echipa noastră de design {linkend}!"
},"pluralForm" :"nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));"
}
+2 -2
View File
@@ -13,7 +13,7 @@ OC.L10N.register(
"Accessibility" : "Atzessibilidade",
"Accessibility options for nextcloud" : "Sèberos de atzessibilidade pro nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Frunit sèberos de atzessibilidade pro agiudare s'impreu tuo de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {lìniasghia}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {rastradoredeproblemas}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {grupudedisegnu}su grupu de disegnu nostru{linkend}!"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {guidelines}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {issuetracker}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {designteam}su grupu de disegnu nostru{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+2 -2
View File
@@ -11,7 +11,7 @@
"Accessibility" : "Atzessibilidade",
"Accessibility options for nextcloud" : "Sèberos de atzessibilidade pro nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Frunit sèberos de atzessibilidade pro agiudare s'impreu tuo de Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {lìniasghia}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {rastradoredeproblemas}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {grupudedisegnu}su grupu de disegnu nostru{linkend}!"
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "S'atzessu universale est de importu mannu pro nois. Sighimus is istandard de sa rete e chircamus de fàghere chi totu si potzat impreare chene cursore puru, e cun programmas de assistèntzia comente leghidores de ischermu. S'intentu nostru est de acumprire is inditos de is {guidelines}Lìinas ghia cuntenutos de rete{linkend} 2.1 a su livellu AA, cun su tema de cuntrastu artu a su livellu AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Si agatas problemas, no istentes a ddu sinnalare a {issuetracker}su rastradore nostru{linkend}. E si nos cheres agiudare, intra in {designteam}su grupu de disegnu nostru{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+6 -1
View File
@@ -2,13 +2,18 @@ OC.L10N.register(
"accessibility",
{
"Dark theme" : "Temë e errët",
"Enable dark theme" : "Aktivizo temën e errët",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Një temë e errët për të lehtësuar sytë duke ulur shkëlqimin dhe ndritshmërinë e përgjithshme. Është ende në zhvillim, prandaj ju lutemi raportoni çdo çështje që mund të gjeni.",
"High contrast mode" : "Modalitet me kontrast të lartë",
"Enable high contrast mode" : "Aktivizoni modalitetin me kontrast të lartë",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Një modalitet me kontrast të lartë për të lehtësuar lundrimin. Cilësia vizuale do të reduktohet por qartësia do të rritet",
"Dyslexia font" : "Fonti Dyslexia",
"Enable dyslexia font" : "Aktivizo fontin e disleksisë",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic është një font / karakter tipografik i lirë i dizajnuar për të zbutur disa nga gabimet e zakonshme të leximit të shkaktuara nga disleksija.",
"Accessibility" : "Aksesueshmëria",
"Accessibility options for nextcloud" : "Opsionet e aksesueshmërisë për nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Qasja universale është shumë e rëndësishme për ne. Ne ndjekim standardet e uebit dhe kontrollojmë që çdo gjë të jetë e përdorshme edhe pa miun, dhe softuerë ndihmës siç janë lexuesit e ekranit. Ne synojmë të jemi në përputhje me {udhëzimet}Udhëzimet mbi Aksesueshmërinë për Përmbajtjen në Internet{linkend} 2.1 në nivelin AA, me temën e kontrastit të lartë edhe në nivelin AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nëse gjeni ndonjë problem, mos hezitoni t'i raportoni ato në {issuetracker}gjurmuesi ynë i çështjeve{linkend}. Dhe nëse doni të përfshiheni, ejani bashkohuni me {designteam}ekipin tonë të dizajnit{linkend}!"
},
"nplurals=2; plural=(n != 1);");
+6 -1
View File
@@ -1,12 +1,17 @@
{ "translations": {
"Dark theme" : "Temë e errët",
"Enable dark theme" : "Aktivizo temën e errët",
"A dark theme to ease your eyes by reducing the overall luminosity and brightness. It is still under development, so please report any issues you may find." : "Një temë e errët për të lehtësuar sytë duke ulur shkëlqimin dhe ndritshmërinë e përgjithshme. Është ende në zhvillim, prandaj ju lutemi raportoni çdo çështje që mund të gjeni.",
"High contrast mode" : "Modalitet me kontrast të lartë",
"Enable high contrast mode" : "Aktivizoni modalitetin me kontrast të lartë",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Një modalitet me kontrast të lartë për të lehtësuar lundrimin. Cilësia vizuale do të reduktohet por qartësia do të rritet",
"Dyslexia font" : "Fonti Dyslexia",
"Enable dyslexia font" : "Aktivizo fontin e disleksisë",
"OpenDyslexic is a free typeface/font designed to mitigate some of the common reading errors caused by dyslexia." : "OpenDyslexic është një font / karakter tipografik i lirë i dizajnuar për të zbutur disa nga gabimet e zakonshme të leximit të shkaktuara nga disleksija.",
"Accessibility" : "Aksesueshmëria",
"Accessibility options for nextcloud" : "Opsionet e aksesueshmërisë për nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud"
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Mundëson shumë opsione të aksesueshmërisë që t'ju lehtësojë përdorimin e Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Qasja universale është shumë e rëndësishme për ne. Ne ndjekim standardet e uebit dhe kontrollojmë që çdo gjë të jetë e përdorshme edhe pa miun, dhe softuerë ndihmës siç janë lexuesit e ekranit. Ne synojmë të jemi në përputhje me {udhëzimet}Udhëzimet mbi Aksesueshmërinë për Përmbajtjen në Internet{linkend} 2.1 në nivelin AA, me temën e kontrastit të lartë edhe në nivelin AAA.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Nëse gjeni ndonjë problem, mos hezitoni t'i raportoni ato në {issuetracker}gjurmuesi ynë i çështjeve{linkend}. Dhe nëse doni të përfshiheni, ejani bashkohuni me {designteam}ekipin tonë të dizajnit{linkend}!"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -14,6 +14,6 @@ OC.L10N.register(
"Accessibility options for nextcloud" : "Tillgänglighetsalternativ för Nextcloud",
"Provides multiple accessibilities options to ease your use of Nextcloud" : "Ger flera tillgänglighetsalternativ för att underlätta din användning av Nextcloud",
"Universal access is very important to us. We follow web standards and check to make everything usable also without mouse, and assistive software such as screenreaders. We aim to be compliant with the {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 on AA level, with the high contrast theme even on AAA level." : "Allmän åtkomst är mycket viktig för oss. Vi följer webbstandarder och kontrollerar att allt är användbart även utan mus och hjälpmedel som skärmläsare. Vi strävar efter att följa {guidelines}Web Content Accessibility Guidelines{linkend} 2.1 på AA-nivå, med temat hög kontrast även på AAA-nivå.",
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Om du hittar några problem, tveka inte att rapportera dem på {issuetracker}vår issue tracker{linkend}. Och om du vill engagera dig, gå med i {designteam}vårt design team{linkend}!"
"If you find any issues, dont hesitate to report them on {issuetracker}our issue tracker{linkend}. And if you want to get involved, come join {designteam}our design team{linkend}!" : "Om du hittar några problem, tveka inte att rapportera dem på {issuetracker}vår problemhanterare{linkend}. Och om du vill engagera dig, gå med i {designteam}vårt designteam{linkend}!"
},
"nplurals=2; plural=(n != 1);");

Some files were not shown because too many files have changed in this diff Show More