Compare commits

..

1758 Commits

Author SHA1 Message Date
blizzz 800fae0133 Merge pull request #31769 from nextcloud/releases/24/beta2
24.0.0 beta 2
2022-03-31 19:41:27 +02:00
Louis 47f1ba6ea6 Merge pull request #31240 from nextcloud/Valdnet-patch-3
l10n: Add a dot
2022-03-31 14:57:25 +02:00
Vincent Petry d4c558a229 Merge pull request #31602 from nextcloud/fix/user_ldap-fix-last-change-updates
Do not update _lastChanged on auto-detected attributes
2022-03-31 14:07:16 +02:00
Joas Schilling eea05b05ed Merge pull request #31737 from nextcloud/fix/oc_oauth2_migration
Wrap oauth2 migrations inside conditions
2022-03-31 13:43:09 +02:00
blizzz 87e079d2ad Merge pull request #31770 from nextcloud/fix/systemtag_loading
Change script loading order in worflowengine
2022-03-31 13:27:36 +02:00
Côme Chilliet dd357d7f9b Merge pull request #31679 from nextcloud/bugfix/noid/ensure-string-columns-to-be-maximum-of-4000
Ensure string column limit of 4.000 characters
2022-03-31 11:37:43 +02:00
Valdnet 806a49aba5 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-31 11:04:47 +02:00
Louis Chemineau b0b88059b8 Wrap oauth2 migrations inside conditions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-31 10:42:44 +02:00
Côme Chilliet 9fc00fdb82 Avoid updating _lastChange when nothing is changed in the configuration
Had to set at least one var when creating an empty configuration in
 order to save the default values.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-31 08:38:05 +00:00
Côme Chilliet bd9c4fbc07 Do not update _lastChanged on auto-detected attributes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-31 08:38:05 +00:00
Louis Chemineau 64951ec14e Change script loading order in worflowengine
Fix: https://github.com/nextcloud/server/issues/31709

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-31 10:33:50 +02:00
Côme Chilliet ddfa2f221e Remove unneeded preSchemaChange and return null if no changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-31 10:19:48 +02:00
Arthur Schiwon 0e118d730e 24.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-31 09:28:42 +02:00
Nextcloud bot f548548924 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-31 02:29:38 +00:00
dependabot[bot] 72442ba302 Merge pull request #31719 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.2 2022-03-30 22:16:56 +00:00
dependabot[bot] ac77d43f65 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/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.4.1...7.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-30 21:40:41 +00:00
Côme Chilliet 2bf0effee0 Merge pull request #31683 from nextcloud/fix/31681/oracle-str-col
limit ldap_dn columns to 4000
2022-03-30 18:28:17 +02:00
Simon L 50076ec6c5 Merge pull request #31739 from nextcloud/enh/noid/add-beta-channel-advice
add beta channel advice to the updatenotification section
2022-03-30 18:24:57 +02:00
szaimen d84eda974d add beta channel advice to the updatenotification section
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-30 15:12:11 +00:00
Côme Chilliet 07ab2581b8 Build autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 14:43:09 +00:00
Côme Chilliet d07208bd2c Use the new octetLength function to filter lines to migrate
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 14:43:09 +00:00
Côme Chilliet 6c7ba01dfe Adapt max length limit in AbstactMapping to match database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 14:43:09 +00:00
Arthur Schiwon 52b57eb753 shrink ldap_dn column to 4000
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-30 14:43:08 +00:00
Arthur Schiwon 2f49f4a0fe limit ldap_dn columns to 4000
- enlarging string cols from 255 to more than 4000 fails on default
  Oracle installations for invalid datatype conversion

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-30 14:43:08 +00:00
Côme Chilliet f528c5416c Merge pull request #31759 from nextcloud/fix/fix-composer-autoloader
Build autoloader with new composer version
2022-03-30 16:32:46 +02:00
blizzz 72b8deb1e6 Merge pull request #31756 from nextcloud/fix/vendor_loading_ldap
Fix vendor loading in user_ldap wizard
2022-03-30 16:26:09 +02:00
Côme Chilliet d84e87eab9 Build autoloader with new composer version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-30 15:40:23 +02:00
Louis Chemineau 2ddb9a6663 Fix vendor loading in user_ldap wizard
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-30 14:14:40 +02:00
Nextcloud bot cf4c77e064 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-30 02:27:32 +00:00
Pytal c57a0012cf Merge pull request #31690 from nextcloud/fix/throw-import-calendar-error 2022-03-29 17:06:32 -07:00
Christopher Ng cdb93e7f1d Show filename in output message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-29 23:12:52 +00:00
Christopher Ng e4f1d4192a Skip import of current calendar on error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-29 23:12:52 +00:00
Vincent Petry 576e4e8f2a Merge pull request #31592 from nextcloud/fix/direct-arg-flow-v2
Add direct arg to login flow
2022-03-29 18:21:40 +02:00
Côme Chilliet 9191ca43ce Merge pull request #31735 from nextcloud/fix/noid/mig-generator-copyright
migration generator also includes copyright section
2022-03-29 16:49:43 +02:00
Côme Chilliet b984cd1d83 Merge pull request #31575 from nextcloud/enh/add-trashbin-migrator
Add trashbin migrator to export and import trashbin data
2022-03-29 14:39:50 +02:00
Louis 93d0c60917 Merge pull request #31697 from nextcloud/enh/27607/fix-user-count
fix User Counts updates on user add/remove
2022-03-29 13:53:30 +02:00
Louis 7d2cb35988 Merge pull request #31632 from Maaxxs/fix-undefined-index-dav
Fixes the undefined index error with the DAV property getlastmodified
2022-03-29 13:53:15 +02:00
Petre T ae1a8204dd Fix user counts updates on user add/remove
Signed-off-by: Petre Tudor <petre.tudor@dorkfar.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-29 10:59:29 +02:00
Vincent Petry 262d22f184 Merge pull request #31711 from nextcloud/mount-cache-external-share
invalidate mount cache after accepting or renaming federated share
2022-03-29 10:35:25 +02:00
Côme Chilliet 765999f454 Merge pull request #31609 from nextcloud/fix/migrate-away-from-ilogger
Migrate from ILogger to LoggerInterface in lib/private
2022-03-29 09:39:38 +02:00
Côme Chilliet 4a4f250a2b Merge pull request #31696 from nextcloud/fix/user_ldap-fix-migration-lengthcheck-oracle
Use getLengthExpression to measure field length instead of like
2022-03-29 09:38:21 +02:00
Joas Schilling bdfc6563ab Merge pull request #31736 from nextcloud/bugfix/noid/disable-bulkupload
Disable bulk upload by not advertising it
2022-03-29 09:35:00 +02:00
Nextcloud bot c28a4c2d8b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-29 02:28:02 +00:00
Max Kunzelmann 2952c7d01f Use the null coalescing operator to set the value of size.
Signed-off-by: Max Kunzelmann <maxdev@posteo.de>
2022-03-28 22:26:45 +02:00
Simon L 8acefc9bf1 Merge pull request #31537 from nextcloud/enh/31533/disable-webupdater-biginstances
show that the web updater is not recommended on big instances
2022-03-28 21:50:51 +02:00
szaimen 4e11d7d0f9 address reviews
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-28 21:12:35 +02:00
Joas Schilling e1e003f569 Also comment out in test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-28 17:17:29 +02:00
Vincent Petry d31bc9fa34 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-03-28 17:17:22 +02:00
Louis 39494fbf79 Merge pull request #31718 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.3
Bump @testing-library/jest-dom from 5.16.2 to 5.16.3
2022-03-28 16:52:56 +02:00
dependabot[bot] 427001bcdf Merge pull request #31717 from nextcloud/dependabot/npm_and_yarn/jquery-migrate-3.4.0 2022-03-28 14:42:07 +00:00
Arthur Schiwon ee006563ae migration generator also includes copyright section
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-28 15:35:17 +02:00
dependabot[bot] 9509cb60a6 Bump jquery-migrate from 3.3.2 to 3.4.0
Bumps [jquery-migrate](https://github.com/jquery/jquery-migrate) from 3.3.2 to 3.4.0.
- [Release notes](https://github.com/jquery/jquery-migrate/releases)
- [Commits](https://github.com/jquery/jquery-migrate/compare/3.3.2...3.4.0)

---
updated-dependencies:
- dependency-name: jquery-migrate
  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>
2022-03-28 13:33:22 +00:00
dependabot[bot] e72b82d1c4 Merge pull request #31716 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-5.2.1 2022-03-28 12:48:31 +00:00
dependabot[bot] d1166220f7 Bump @nextcloud/vue from 5.1.1 to 5.2.1
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.1.1 to 5.2.1.
- [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/v5.1.1...v5.2.1)

---
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>
2022-03-28 11:52:48 +00:00
Louis 9db75dbe5a Merge pull request #30276 from nextcloud/feature/add_oauth2_migration
Add oauth2_clients migration for Owncloud
2022-03-28 11:14:49 +02:00
Vincent Petry 80388663af Add direct arg to login flow
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-Authored-by: Carl Schwan <carl@carlschwan.eu>
2022-03-28 10:28:45 +02:00
Nextcloud bot 53180f40e1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-28 02:27:22 +00:00
Côme Chilliet 7407a324d9 Fix LENGTH function name across databases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-28 00:01:17 +02:00
dependabot[bot] d715a2272a Merge pull request #31722 from nextcloud/dependabot/npm_and_yarn/minimist-1.2.6 2022-03-26 07:58:29 +00:00
dependabot[bot] b98824ebdd Bump minimist from 1.2.5 to 1.2.6
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 06:00:06 +00:00
dependabot[bot] 2e86f22250 Merge pull request #31715 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.4 2022-03-26 05:59:03 +00:00
Nextcloud bot ba1b20ad8b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-26 02:27:51 +00:00
dependabot[bot] 08b72fe871 Bump @testing-library/jest-dom from 5.16.2 to 5.16.3
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.2 to 5.16.3.
- [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.16.2...v5.16.3)

---
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>
2022-03-26 02:05:17 +00:00
dependabot[bot] 5b42a64d5b Bump babel-loader from 8.2.3 to 8.2.4
Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.3 to 8.2.4.
- [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.3...v8.2.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-26 02:02:33 +00:00
Pytal 13b7dfae6a Merge pull request #31708 from nextcloud/enh/noid/apptoken-maxlength 2022-03-25 11:03:14 -07:00
Robin Appelman de5af8efbf invalidate mount cache after accepting or renaming federated share
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-25 14:18:36 +01:00
Joas Schilling 9d2536e49e Fix files_external column length
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-25 12:44:51 +01:00
Joas Schilling 129bae62d4 Ensure string column limit of 4.000 characters
https://docs.oracle.com/en/database/oracle/oracle-database/19/refrn/datatype-limits.html#GUID-963C79C9-9303-49FE-8F2D-C8AAF04D3095

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-25 12:44:51 +01:00
Vincent Petry 7bcc1830a2 Set max length to app token field to match backend
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-25 09:42:00 +01:00
Nextcloud bot c407bb9786 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-25 02:44:41 +00:00
szaimen e8122f21c5 show warning in update admin overview
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-24 23:04:33 +00:00
blizzz 47c9cd97b9 Merge pull request #31693 from nextcloud/releases/24/beta1
24.0.0 beta 1
2022-03-24 21:57:06 +01:00
Côme Chilliet 25af856ed2 Use OCTET_LENGTH which is more common than LENGTHB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +00:00
Côme Chilliet bfd09a0669 Avoid select with no FROM clause for Oracle in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +00:00
Côme Chilliet efebbacca4 Add octetLength and charLength to function builder, and tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +00:00
Côme Chilliet 7dc3eb1e9e Use getLengthExpression to measure field length instead of like
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 20:35:02 +00:00
Vincent Petry a7e778b57f Merge pull request #31265 from nextcloud/fs-limited-setup
Fine grained filesystem setup
2022-03-24 21:08:15 +01:00
Vincent Petry 91ab4e1df4 Add missing PHPDoc in InvalidateMountCacheEvent
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 21:02:25 +01:00
Vincent Petry d92c7bddce Add missing event dispatcher in test constructor
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:31:00 +01:00
Vincent Petry 1bc86a95c4 Make phpcs happy in MountProviderCollection
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-03-24 20:26:42 +01:00
Louis Chemineau c5722869be Add oauth2_clients migration for Owncloud
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-24 18:08:43 +01:00
blizzz 00076c0709 Merge pull request #31520 from nextcloud/fix/31237/new-button-UserStatus
focus to buttons on dashboard view
2022-03-24 17:59:21 +01:00
Vincent Petry 4511bd4bf6 Merge pull request #30950 from nextcloud/enh/opcache-recommends-translation
Add OPcache recommendations to Transifex
2022-03-24 17:56:09 +01:00
Robin Appelman 881e107543 Apply suggestions from code review
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:41:37 +01:00
Robin Appelman 1179873f33 add comment for getMountForPath loop
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:59 +01:00
Robin Appelman db2418be85 invalidate mount cache after share rename
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:56 +01:00
Robin Appelman b7a7425fbd make mount cache duration configurable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:36:53 +01:00
blizzz 37106e03b0 Merge pull request #31700 from nextcloud/bugfix/noid/allow-4-char-emojis
Allow reactions also with other combined emojis 🧑🏾‍💻
2022-03-24 17:36:23 +01:00
Côme Chilliet 7fa8b2eef7 Add a guard to check that trashbin folder is a folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 17:31:21 +01:00
Vincent Petry 04d4666c37 Merge pull request #31221 from nextcloud/feat/dont_create_oc_cards_index_if_it_exists
Don't create cards_abiduri it if already exists
2022-03-24 17:12:21 +01:00
Robin Appelman 63ad99ba4a fix method name
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:04:01 +01:00
Robin Appelman f7c942a943 caching of userfolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:58 +01:00
Robin Appelman 70c37c2717 fmt
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:55 +01:00
Robin Appelman 89919b0e24 invalidate mount cache on circles change
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:52 +01:00
Robin Appelman fc6e4530c4 force full setup after external storage config change
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:44 +01:00
Robin Appelman 15c9a3114a perform full setup if a cached mount doesn't have a provider set
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:16 +01:00
Robin Appelman d342c764f2 don't double setup provider when calling setupForUser after setupForPath
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:13 +01:00
Robin Appelman 6b085b6fd1 add logic to perform a full filesystem setup when needed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:03:10 +01:00
Robin Appelman 506d29c095 update cached mounts when only specific providers have been setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:55 +01:00
Robin Appelman a617e1e711 fix check if dav root is folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:52 +01:00
Robin Appelman 79f6742410 improve lazy UserFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:49 +01:00
Robin Appelman 19c64cf8b6 setup only relevant mounts when possible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:46 +01:00
Robin Appelman 55d943fd4b fixed when accessing static filesystem calls before setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:42 +01:00
Robin Appelman 469a684d45 allow getting mounts by provider
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:38 +01:00
Robin Appelman 04052a9594 allow getting cached mounts by path from the mount cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:12 +01:00
Robin Appelman 3fc5c97282 return a lazy folder from Root::getUserFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:08 +01:00
Robin Appelman 46d0eef8da allow setting some metadata in the lazyfolder without having to get the real folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:01:01 +01:00
Robin Appelman c80ba69b7a dont setup full fs after dav auth
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-24 17:00:57 +01:00
Robin Appelman 114af08043 Merge pull request #30991 from nextcloud/external-remove-config-migration
remove old legacy external storage migration logic
2022-03-24 16:00:33 +00:00
Côme Chilliet 6d354595f7 Prepare for ILogger drop in RootCollectionTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:29 +01:00
Côme Chilliet f1febfe696 Fix log level for exception in QueryBuilder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:28 +01:00
Côme Chilliet 3546cfba1c Fix more ILogger related problems from tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:27 +01:00
Côme Chilliet 25e7374e80 Fix ILogger instances in application tests for core parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:27 +01:00
Côme Chilliet 1809386862 Fix codestyle
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:27 +01:00
Côme Chilliet 61f7f13bd8 Migrate from ILogger to LoggerInterface where needed in the tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:26 +01:00
Côme Chilliet e8c1f75064 Fixing psalm errors
Encryption constructor is problematic and should still be fixed later.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:26 +01:00
Côme Chilliet ea23523c70 Adapt more code to migration to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:25 +01:00
Côme Chilliet eb961e4700 Adapted Server to logger migration in constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:25 +01:00
Côme Chilliet 6be7aa112f Migrate from ILogger to LoggerInterface in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 16:21:25 +01:00
Joas Schilling 3b24a4f217 Fix autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 16:07:26 +01:00
Joas Schilling 367be7c55f Allow reactions also with other combined emojis
Honerful copying the EmojiService from UserStatus for now
I think this should be put into a decent place and then reused,
but I couldn't find somethin short term before beta1

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 15:13:09 +01:00
Côme Chilliet fbf1334dc8 Merge pull request #31655 from nextcloud/fix-passing-null-to-strlen
Fix passing null to strlen
2022-03-24 14:03:13 +01:00
Louis Chemineau 970fb7ce65 Don't create cards_abiduri it if already exists
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-24 10:42:22 +00:00
Côme Chilliet ecbcfca98a Improve wording of output for trashbin migrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-24 11:04:09 +01:00
Thomas Citharel 0456f61c1c Fix passing null to strlen
$filter can be null as it's the default value passed in
ContactsMenuController.

On PHP 8.1 : strlen(): Passing null to parameter #1 ($string) of type string is deprecated

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-03-24 09:56:44 +00:00
Joas Schilling c9ea2363b1 Merge pull request #31688 from nextcloud/bugfix/31658/automatically-cut-the-token-name-on-first-level
Automatically cut the token name on the first level
2022-03-24 10:54:40 +01:00
Arthur Schiwon a3ec28dabf 24.0.0 beta 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-24 10:33:54 +01:00
Nextcloud bot bed9721019 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-24 02:27:11 +00:00
Joas Schilling 5f75d2e104 Remove old shortening
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:42:29 +01:00
Joas Schilling d683e0d3d1 Automatically cut the token name on the first level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 21:38:53 +01:00
Max Kunzelmann 3a135f0c5f Set mtime to null instead of false if getlastmodified does not exist.
Signed-off-by: Max Kunzelmann <maxdev@posteo.de>
2022-03-23 15:02:01 +01:00
Vanessa Pertsch 0cdd7e9fcd quick fix for focus on weather and customize button
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-23 13:26:55 +00:00
Vanessa Pertsch b0b138675a quick fix for focus on userStatus button
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-23 14:15:33 +01:00
Joas Schilling c1215f573a Merge pull request #31658 from nextcloud/bugfix/noid/limit-token-names
Limit the length of app password names
2022-03-23 14:12:20 +01:00
Joas Schilling 343476f54f Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 11:00:34 +01:00
Joas Schilling a0c7798c7d Limit the length of app password names
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 10:47:56 +01:00
Joas Schilling 0fa17f8902 Merge pull request #31668 from nextcloud/fixup/31580/skip-test-for-now
Test disabled for now due to multiple reasons
2022-03-23 09:43:29 +01:00
Nextcloud bot b5338e380e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-23 02:27:52 +00:00
Joas Schilling 89e293d3fd Test disabled for now due to multiple reasons
see https://github.com/nextcloud/server/pull/31580#issuecomment-1069182234 for details

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-22 17:07:48 +01:00
Julius Härtl 0e57491f6b Merge pull request #31601 from nextcloud/enh/dashboard-description
Add proper description for the dashboard app
2022-03-22 16:06:55 +01:00
Joas Schilling d5b0f81ef5 Merge pull request #31569 from nextcloud/bugfix/31519/revert-password-validation
Allow creating app passwords without validating the user's password a…
2022-03-22 13:53:42 +01:00
Joas Schilling 0acd4b5f82 Merge pull request #31235 from nextcloud/techdebt/noid/extract-request-id
Extract request id handling to dedicated class so it can be injected without DB dependency
2022-03-22 12:08:45 +01:00
MichaIng 31606c9861 Add OPcache recommendations to Transifex
Fixes: https://github.com/nextcloud/server/issues/30941

Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-22 10:42:51 +00:00
John Molakvoæ b6209d6125 Merge pull request #31644 from nextcloud/fix/change-to-tertiary-button 2022-03-22 11:11:08 +01:00
Vincent Petry acfa546efd Merge pull request #31580 from nextcloud/nickvergessen-patch-2
Limit missing primary key fail to new tables and comment out for now
2022-03-22 10:58:24 +01:00
Côme Chilliet c43d015fe5 Merge pull request #31582 from nextcloud/refactor/carl/accesibility-app
Modernize accessibility app
2022-03-22 10:57:37 +01:00
Vincent Petry 5e1a397fbd Merge pull request #31605 from nextcloud/cert-manager-cache-path
cache the path of the certificate bundle
2022-03-22 10:46:35 +01:00
Vincent Petry 6fa51be0de Merge pull request #31620 from nextcloud/fix/noid/truncate-oracle
do not forget DB table prefix with truncate query
2022-03-22 10:46:20 +01:00
Christoph Wurst a47fd94cb8 Merge pull request #31639 from nextcloud/fix/moving-calobject-fails
Fix moving error for calendar object error because of missing princip…
2022-03-22 10:28:28 +01:00
Vanessa 0fdb41506a Merge pull request #31409 from nextcloud/fix/31237/new-button-HeaderBar
add new button component HeaderBar
2022-03-22 10:00:37 +01:00
Côme Chilliet 57bf348d37 Remove leftover useless comment
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:44:39 +01:00
Côme Chilliet 53c731d8f9 Rename PATH constants to show if folder or file
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-22 09:21:18 +01:00
John Molakvoæ 1fe73a15d3 Merge pull request #31653 from nextcloud/techdebt/noid/run-with-ONLY_FULL_GROUP_BY 2022-03-22 09:15:25 +01:00
Côme Chilliet 58582dfd33 Merge pull request #31382 from nextcloud/feat/account-migrator
User account migration
2022-03-22 09:11:28 +01:00
Christopher Ng 85123f9d36 Move data into settings folder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-22 03:22:10 +00:00
Nextcloud bot cabe6f383e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-22 02:28:41 +00:00
Pytal 5747b9b01a Merge pull request #31629 from nextcloud/feat/remove-ie-headers 2022-03-21 18:09:50 -07:00
Anna Larch 08510edaa1 Fix moving error for calendar object error because of missing principal uri
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-03-22 00:03:02 +01:00
Simon L b314a13e1c Merge pull request #30336 from quentinguidee/refine-dashboard-customize
Refine dashboard edit widget design
2022-03-21 23:15:18 +01:00
Christoph Wurst 47dce35fa3 Merge pull request #31337 from D0n1elT/fix/issue-31303_irritating-event-reminder-behaviour
Fix #31303: Make reminder notification behaviour selectable..
2022-03-21 20:00:40 +01:00
Joas Schilling f30272d2e3 Run tests with MySQL/MariaDB ONLY_FULL_GROUP_BY
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 18:07:20 +01:00
Vanessa Pertsch 779e38e6a6 add new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-21 14:00:04 +00:00
Vanessa Pertsch 383387f11c fix: button type to tertiary
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
2022-03-21 13:31:05 +01:00
Louis b40481e8e5 Merge pull request #31616 from nextcloud/Valdnet-patch-4
l10n: Spelling unification in Transifex.
2022-03-21 13:04:39 +01:00
Daniel Teichmann f4148820ff Add JS Unit tests for new 'sendEventRemindersToSharedGroupMembers' setting.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2022-03-21 13:03:13 +01:00
Daniel Teichmann 73a7ced1fd Fix #31303: Make reminder notification behaviour selectable.
Signed-off-by: Daniel Teichmann <daniel.teichmann@das-netzwerkteam.de>
2022-03-21 13:02:46 +01:00
Joas Schilling 3bed983a9c Disable for now again until more apps are fixed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 12:14:19 +01:00
Joas Schilling 32ede5489e Limit missing primary key fail to new tables
This will work on CI so devs notice it when they install the app for testing,
and at the same time existing faulty tables don't break the upgrade to 24

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 12:14:19 +01:00
blizzz 84ae0703a3 Merge pull request #31621 from nextcloud/fix-link-to-calendar-docs-in-groupware-settings
Fix link to calendar user docs in groupware settings
2022-03-21 11:49:11 +01:00
Julien Veyssier b85bdf4427 Merge pull request #31193 from nextcloud/enh/webdav-propfind-count-sub-elements
Add optional WebDav propfind properties to count sub elements
2022-03-21 11:33:22 +01:00
Louis Chemineau 85a101987d Add test to spelling unification
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-03-21 11:04:04 +01:00
Louis 012668d5d6 Merge pull request #31625 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-5.1.1
Bump @nextcloud/vue from 5.1.0 to 5.1.1
2022-03-21 11:01:03 +01:00
Nextcloud bot a99fdf5600 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-21 02:27:08 +00:00
MichaIng f5510c3d40 Merge pull request #31633 from nextcloud/automated/noid/psalm-baseline-update-1647749492
[Automated] Update psalm-baseline.xml
2022-03-20 19:32:17 +01:00
Max Kunzelmann e0a5fe649a Fix typo.
Signed-off-by: Max Kunzelmann <maxdev@posteo.de>
2022-03-20 11:07:36 +01:00
nextcloud-command 533d1905e1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-20 04:11:32 +00:00
Nextcloud bot d0b3e7c472 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-20 02:27:57 +00:00
Max Kunzelmann ee888875bb Fixes the undefined index error with the DAV property getlastmodified
Signed-off-by: Max Kunzelmann <maxdev@posteo.de>
2022-03-20 00:38:07 +01:00
dependabot[bot] 4a4aab58d5 Bump @nextcloud/vue from 5.1.0 to 5.1.1
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.1.0 to 5.1.1.
- [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/v5.1.0...v5.1.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  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-03-19 22:01:00 +00:00
Julien Veyssier 71a9ebc754 add optional WebDav propfind properties to show number of folders/files inside a folder
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-19 21:22:56 +01:00
Quentin Guidée f9d9fe79bf Dashboard customize view: revert to large
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-03-19 19:39:50 +01:00
MichaIng ea0e45d81e Remove legacy Internet Explorer headers
X-UA-Compatible and X-Download-Options headers are interpreted or relevant for Internet Explorer only. With the deprecation of Internet Explorer support in Nextcloud 20 and planned support removal already in Nextcloud 22, these became obsolete and are hereby removed, including their removal from setup checks.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-19 18:17:46 +01:00
dependabot[bot] a1c148a7e7 Merge pull request #31626 from nextcloud/dependabot/npm_and_yarn/nextcloud/moment-1.2.0 2022-03-19 17:11:59 +00:00
dependabot[bot] 44921c156d Bump @nextcloud/moment from 1.1.1 to 1.2.0
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/nextcloud/nextcloud-moment/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.1.1...v1.2.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/moment"
  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>
2022-03-19 16:33:19 +00:00
Quentin Guidée 1631a6c078 Refine dashboard customize view
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2022-03-19 12:01:14 +01:00
Nextcloud bot 40b0ca56f7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-19 02:28:28 +00:00
Thomas Citharel 9c07e47c78 Fix link to calendar user docs in groupware settings
Closes #31617

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-18 16:52:30 +00:00
Arthur Schiwon 4656753df0 do not forget DB table prefix with truncate query
- as used in LDAP's AbstractMapping::clear() method
- and in Comment's ManagerTest::setUp()
- fixes a DB Exception with Oracle

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-18 16:59:46 +01:00
blizzz 39b5c2cd83 Merge pull request #31425 from nextcloud/updateCrl
Update CRL after revoke deckimportfromtrello.csr
2022-03-18 14:43:25 +01:00
Vitor Mattos 9b2be71f46 Update CRL after revoke vdirsyncerui.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-18 08:46:25 -03:00
Vitor Mattos 49fbaf2df2 Update CRL after revoke deckimportfromtrello.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-18 08:45:37 -03:00
Carl Schwan f9c4c10848 Merge pull request #31613 from nextcloud/automated/noid/psalm-baseline-update-1647576744
[Automated] Update psalm-baseline.xml
2022-03-18 12:40:38 +01:00
Carl Schwan 51c14e1a35 Modernize accessibility app
- Use php 7.4 typed properties
- More typed methods (and replace existing php doc in some cases)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-18 12:39:42 +01:00
Carl Schwan 34988cff19 Merge pull request #24166 from nextcloud/imaginary-prototype
Send images to Imaginary docker to generate previews
2022-03-18 12:32:56 +01:00
Carl Schwan d70e9d6516 Merge pull request #30768 from nextcloud/feat/chunked-mysql-joblist-remove
Do chuncked job deletion
2022-03-18 12:29:42 +01:00
Joas Schilling 642f07ca3c Merge pull request #31614 from nextcloud/bugfix/noid/simplify-comment-search-in-special-cases
Simplify comment search in special cases
2022-03-18 12:28:56 +01:00
Valdnet 1e487c2a09 l10n: Spelling unification in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-03-18 10:14:34 +01:00
Joas Schilling d05dca0c1c Simplify comment search in special cases
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-18 09:22:16 +01:00
Christopher Ng ad31cfe72d Use account method to set all properties
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng bf79b97718 Use streams
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng e5a205fec1 Transfer to settings app and register
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:51:26 +00:00
Christopher Ng ce6f0349be Update avatar handling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:42:38 +00:00
Christopher Ng 7bdb15208d Avatar export and import
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:42:38 +00:00
Christopher Ng 10db84caca Account export and import
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 04:42:38 +00:00
Pytal b0fbcccfe6 Merge pull request #29372 from nextcloud/feat/28139/global-profile-toggle 2022-03-17 21:35:58 -07:00
nextcloud-command cb4ccf98af Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-18 04:12:24 +00:00
Christopher Ng 108abd77ed Add profile default setting for admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Christopher Ng 1fc0b4320c Add global profile toggle config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-18 02:55:12 +00:00
Nextcloud bot d364edcf6a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-18 02:27:10 +00:00
Pytal 3f190d9fe6 Merge pull request #31488 from nextcloud/enh/account-set-all-properties 2022-03-17 15:22:41 -07:00
Robin Appelman 6fae598390 Merge pull request #31608 from nextcloud/scanner-performance2
some file scanner performance improvements
2022-03-17 22:06:45 +00:00
Robin Appelman 84f464550a some file scanner performance improvements
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 22:21:16 +01:00
Carl Schwan c870bd1968 Do chuncked job deletion
This is helpful in cases where we are deleting tons jobs at the same
time in a gallera cluster. This doesn't happen often but this can create
issues.

Test plan:

1. Use https://github.com/nextcloud/quota_warning/pull/88
2. Change max to 1
3. Enabled/Disable quota_warning app and see jobs getting sucessfully
   added and removed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-17 21:41:58 +01:00
Robin Appelman 6b4ab04a44 Merge pull request #31381 from nextcloud/external-config-ui-performance
Improve performance of external storage config UI
2022-03-17 18:04:06 +00:00
Robin Appelman eff0fa0e4b Merge pull request #31598 from nextcloud/mount-find-root
setup for current user when finding mounts in the root
2022-03-17 17:33:36 +00:00
Christopher Ng c505bb1449 Add example to DocBlock
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-17 16:33:19 +00:00
Christopher Ng 2d9d0702f0 Add method to set all account properties from json
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-17 16:33:19 +00:00
Pytal 2a75c303b5 Merge pull request #31487 from nextcloud/enh/account-json-serialization 2022-03-17 09:31:44 -07:00
Robin Appelman 7933de00f3 don't recheck config automatically when there are a large number of storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +00:00
Robin Appelman 4601f11986 add all storage config rows in one go on load
this prevents repeated reflows

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +00:00
Robin Appelman ec4be7f2be Merge pull request #31215 from nextcloud/smb-directory-invalid-type
handle invalid type when listing directory in smb
2022-03-17 16:25:26 +00:00
Robin Appelman 4f594dbf53 cache the path of the certificate bundle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 14:58:56 +01:00
Robin Appelman 577b1fa856 setup for current user when finding mounts in the root
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 14:56:49 +01:00
Robin Appelman bf48c0b1b4 Merge pull request #31574 from nextcloud/s3-crt-bundle
use the nextcloud certificate bundle for s3
2022-03-17 13:56:19 +00:00
Côme Chilliet 865ac4b6e0 Rename $insert var to $qb
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:49:29 +01:00
Côme Chilliet 51d228932f Add trashbin migrator to export and import trashbin data
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-17 14:45:56 +01:00
Louis 4011a39d24 Merge pull request #31596 from Lucarnosky/master
Fix federated cloud share icons overlap in button
2022-03-17 12:34:52 +01:00
Lock Garnock 79b5a3b316 Changed to padding left #31596
Fix issue #30819

Fixed issue #30819

Signed-off-by: Lock Garnock <lucarnosky@gmail.com>
2022-03-17 11:15:37 +01:00
Julius Härtl bffeaa6203 Add proper description for the dashboard app
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-17 10:15:46 +01:00
Côme Chilliet 475a859aae Merge pull request #31421 from nextcloud/fix/user_ldap-fix-ldap-connection-resets
user_ldap fix ldap connection resets
2022-03-17 09:13:44 +01:00
Vincent Petry 9b6a1cc8ae Send images to imaginary docker to generate previews
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-by: Vincent Petry <vincent@nextcloud.com>
2022-03-17 08:24:07 +01:00
Christopher Ng a99d33c72d Discard duplicate collection name from account serialization
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-17 04:27:39 +00:00
Nextcloud bot d9c0799377 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-17 02:29:34 +00:00
Anna 629bcf1549 Merge pull request #30120 from nextcloud/enhancement/move-calendar-objects
Move calendar objects between calendars
2022-03-16 15:41:09 +01:00
Carl Schwan 92a63e6189 Merge pull request #31581 from nextcloud/refactor/carl/comment-app
Modernize comments app
2022-03-16 15:39:13 +01:00
Carl Schwan d59179ae19 Merge pull request #31578 from nextcloud/s3-test-reliability
try to improve s3 primary storage test reliability
2022-03-16 13:35:43 +01:00
Carl Schwan fa266165d6 Modernize comments app
* Use php 7.4 typed properties
* More typed methods (and replace existing php doc in some cases)
* query -> get for Container

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-16 13:14:15 +01:00
Anna Larch 0745fc5012 Move calendar objects between calendars instead of deleting and recreating them
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-03-16 12:48:50 +01:00
Joas Schilling a626307da8 Merge pull request #31577 from nextcloud/fix/register-talk-broker
Fix unknown Talk broker interface
2022-03-15 18:00:01 +01:00
Joas Schilling a40dac9354 Merge pull request #31579 from nextcloud/nickvergessen-patch-1
Also add the column when the table already existed
2022-03-15 17:59:21 +01:00
Robin Appelman 25e4eb0f42 try to improve s3 primary storage test reliability
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-15 17:07:19 +01:00
Joas Schilling 3031eb1c07 Update Version24000Date20211222112246.php 2022-03-15 16:30:28 +01:00
Christoph Wurst 282bedecd7 Fix unknown Talk broker interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-03-15 16:10:29 +01:00
Robin Appelman 1156214a26 don't try to get custom certs for s3 primary storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-15 15:50:08 +01:00
Robin Appelman 6c01863d39 Merge pull request #31573 from nextcloud/exceptionserializer-load-fail
don't error if we can't load the ExceptionSerializer for early exceptions
2022-03-15 14:32:50 +00:00
Joas Schilling 04a4562a01 Merge pull request #31513 from nextcloud/techdebt/noid/enforce-primary-keys
Enforce primary keys as they are required to be performant in MySQL c…
2022-03-15 10:53:11 +01:00
Louis 1ae6b2be71 Merge pull request #31498 from Erikvv/s3-versioning-not-implemented
AmazonS3: allow not implemented versioning
2022-03-15 10:26:43 +01:00
Vanessa 2469640725 Merge pull request #31397 from nextcloud/fix/31237/new-button-SetStatusModal
add new button component SetStatusModal
2022-03-15 08:11:26 +01:00
Vanessa ae79c0cc1c Merge pull request #31378 from nextcloud/fix/31237/new-button-UserList
use new button component UserList
2022-03-15 08:08:37 +01:00
Nextcloud bot a74ab5bd48 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-15 02:48:57 +00:00
Pytal e9999ec90c Merge pull request #31516 from nextcloud/enh/improve-user_migration-api 2022-03-14 19:17:47 -07:00
Pytal a5e1e31350 Merge pull request #31572 from nextcloud/fix/select2_settings_admin 2022-03-14 19:07:13 -07:00
Erik van Velzen 17f3e5e4b5 AmazonS3: allow not implemented versioning
In case the S3 implementation does not implement versioning, set it to
false. Versioning was introduced in Nexcloud in commit
09ffac5e6d

This is needed for compatibility with the Storj gateway.

Signed-off-by: Erik van Velzen <erik@evanv.nl>
2022-03-15 00:40:38 +01:00
Louis Chemineau 7e8ae46a01 Use global $ in settings admin.js
Fix https://github.com/nextcloud/server/issues/31570

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 20:00:37 +00:00
Robin Appelman a887553ddb return default bundle when there is an error getting the bundle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-14 18:34:09 +01:00
Robin Appelman 194a21f374 use the nextcloud certificate bundle for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-14 18:09:48 +01:00
Robin Appelman 74f64fa3eb don't error if we can't load the ExceptionSerializer for early exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-14 17:12:53 +01:00
Carl Schwan bf75b1d5c5 Merge pull request #31567 from nextcloud/update-composer-files
Update composer generated files to latest version
2022-03-14 16:55:30 +01:00
Louis ee2f3bcaf1 Merge pull request #31561 from nextcloud/dependabot/npm_and_yarn/karma-chrome-launcher-3.1.1
Bump karma-chrome-launcher from 3.1.0 to 3.1.1
2022-03-14 15:12:24 +01:00
Côme Chilliet 8f97f722ec Extends UserMigrationException in CalendarMigratorException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:34:16 +01:00
Côme Chilliet 1973b2fb75 Fix autoloader and phpdoc for new class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:34:15 +01:00
Côme Chilliet b63d22b6ea Improve wording of pathExists description
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-14 14:34:15 +01:00
Côme Chilliet b4b9e8adf7 Add getOriginalUid in IImportSource to simplify code when importing under another uid
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:34:14 +01:00
Côme Chilliet 5534f70c5d Add pathExists method to IImportSource to test if a path exists in the archive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:34:14 +01:00
Côme Chilliet d8b2d32a5e Move UserMigrationException to OCP and add @throws documentation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-14 14:33:57 +01:00
Joas Schilling ab29a67a32 Allow creating app passwords without validating the user's password again
Aparently the idea behind the command was exactly to do this.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14 13:30:59 +01:00
Simon L a74248b0a0 Merge pull request #31566 from nextcloud/fix/unit-audit
Fix unit tests by importing the class
2022-03-14 13:23:30 +01:00
dependabot[bot] b9632de066 Bump karma-chrome-launcher from 3.1.0 to 3.1.1
Bumps [karma-chrome-launcher](https://github.com/karma-runner/karma-chrome-launcher) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/karma-runner/karma-chrome-launcher/releases)
- [Changelog](https://github.com/karma-runner/karma-chrome-launcher/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-chrome-launcher/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: karma-chrome-launcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-14 11:22:02 +00:00
Louis bd89a39076 Merge pull request #31459 from nextcloud/dependabot/npm_and_yarn/karma-6.3.17
Bump karma from 6.3.16 to 6.3.17
2022-03-14 12:20:48 +01:00
Carl Schwan 5ce985f9be Update composer generated files to latest version
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-14 11:30:41 +01:00
Carl Schwan 371fa1c49a Merge pull request #31542 from nextcloud/psalm-userCounts
Fix psalm issue about userCounts
2022-03-14 11:27:43 +01:00
Carl Schwan 6e45b298bf Fix unit tests by importing the class
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-14 11:24:39 +01:00
Vanessa Pertsch c1dfd6f784 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>

Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-14 09:34:27 +00:00
Carl Schwan 1bf5ab35a8 Use "use" to import namespaces
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-14 09:35:01 +01:00
Nextcloud bot 4e96db8608 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-14 02:27:10 +00:00
Nextcloud bot 3e067edcbe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-13 02:26:40 +00:00
Carl Schwan 653f2b7e32 Merge pull request #31555 from nextcloud/enh/noid/fix-drone-tests
fix drone tests on master
2022-03-12 12:55:53 +01:00
dependabot[bot] 1f23164607 Bump karma from 6.3.16 to 6.3.17
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.16 to 6.3.17.
- [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/v6.3.16...v6.3.17)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-12 03:33:26 +00:00
MichaIng 161195aecc Merge pull request #31560 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.5.1
Bump puppeteer from 13.4.1 to 13.5.1
2022-03-12 04:32:19 +01:00
dependabot[bot] 6e3d7bf511 Merge pull request #31562 from nextcloud/dependabot/npm_and_yarn/css-loader-6.7.1 2022-03-12 03:23:24 +00:00
Nextcloud bot bff0f92870 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-12 02:26:53 +00:00
dependabot[bot] 9361900586 Bump css-loader from 6.7.0 to 6.7.1
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.0 to 6.7.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/v6.7.0...v6.7.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-12 02:06:00 +00:00
dependabot[bot] 807cdf8b4a Bump puppeteer from 13.4.1 to 13.5.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.4.1 to 13.5.1.
- [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/v13.4.1...v13.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-12 02:03:38 +00:00
MichaIng bd05f84637 Merge pull request #31496 from nextcloud/automated/noid/psalm-baseline-update-1646799120
[Automated] Update psalm-baseline.xml
2022-03-12 01:01:00 +01:00
szaimen 351357047a fix drone tests on master
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-11 20:45:26 +01:00
John Molakvoæ 5ad55fad35 Merge pull request #31274 from nextcloud/fix/carddav-backend-1000-orache1 2022-03-11 16:59:37 +01:00
John Molakvoæ bcb1fc5a81 Merge pull request #31531 from nextcloud/fix/sftp-offset 2022-03-11 16:02:40 +01:00
Joas Schilling db1c2a5375 Merge pull request #31511 from nextcloud/bugfix/noid/allow-installing-unstable-versions
Allow installing unstable app versions based on channel and with `--allow-unstable` just like on updates
2022-03-11 14:26:30 +01:00
Joas Schilling 4ac4f4b0a6 Merge pull request #31538 from nextcloud/bug/noid/eventlogger-debug
Only log events when enabled in debug mode
2022-03-11 14:20:44 +01:00
Joas Schilling b2075db3bd Merge pull request #31539 from nextcloud/bugfix/31532/user-status-not-resetting-after-a-call
Fix user status not resetting correctly after a call
2022-03-11 14:20:14 +01:00
Carl Schwan 8d7380a15d Fix psalm issue about userCounts
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-11 14:17:29 +01:00
John Molakvoæ 3c2aba4f35 Merge pull request #31454 from nextcloud/fix/audit-log-critical 2022-03-11 13:36:42 +01:00
Joas Schilling bac2508d77 Fix user status not resetting correctly after a call
Only happens when the user navigated away and came back,
so the heartbeat updates the status to "Online + In a call"
After that resetting away from "Away + In a call" does not match anymore
and the previous status sticks

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-11 13:03:15 +01:00
Julius Härtl 27f3aa5890 Only log events when enabled in debug mode
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-11 12:26:07 +01:00
Vincent Petry cec00df21c Merge pull request #31519 from nextcloud/bugfix/noid/fix-occ-user-add-apppassword
Fix occ user:add-app-password
2022-03-11 11:55:01 +01:00
John Molakvoæ 2cf0edf03c Merge pull request #31526 from nextcloud/automated/noid/psalm-baseline-update-1646971903 2022-03-11 11:22:59 +01:00
John Molakvoæ e81eaf45d2 Prevent reading key on SFTP stat bool
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-03-11 10:54:52 +01:00
nextcloud-command ac2c2ee8e5 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-11 04:11:43 +00:00
Nextcloud bot 3840abcd58 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-11 02:27:09 +00:00
Pytal eeec6142ca Merge pull request #30963 from nextcloud/feat/calendar-migration 2022-03-10 11:34:11 -08:00
Côme Chilliet 53e30c40bc Merge pull request #31491 from nextcloud/fix/user_ldap-fix-duplicated-empty-uuid-migration
Fix duplicated UUID detection when there are empty uuids
2022-03-10 18:16:25 +01:00
Joas Schilling 21f96308c4 Overwrite the channel
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 16:16:30 +01:00
Carl Schwan 3e0c42e3b3 Fix the logger that is imported for critical actions
This use a new interface AuditLogger that makes it easier to
seperate the roles of the various loggers and enforce that we
don't use the wrong one by mistake.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-10 16:10:54 +01:00
Joas Schilling a9ba631e4d Also allow pre-releases and nightlies when installing from git
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 16:10:25 +01:00
Joas Schilling 4f9c8b08ca Similar to the fetch() method respect the channel in the get()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 16:10:25 +01:00
Joas Schilling a4111d4846 Allow installing unstable versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 16:10:25 +01:00
Joas Schilling 50ccf7e2cf Validate the password before generating an apptoken
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 15:52:01 +01:00
Joas Schilling a6882deebc Differenciate the activity depending on admin vs user action
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 15:26:47 +01:00
Joas Schilling f98044ddce Trigger an event to log an activity when an administrator generates an app password
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 15:25:22 +01:00
Carl Schwan 2cdaa28acc Don't recreate sql query each time
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-10 15:10:08 +01:00
Vincent Petry 430bd6b1e2 Merge pull request #31494 from nextcloud/fix/fix-group-metadata-typing
Fix group metadata typing
2022-03-10 14:33:54 +01:00
Joas Schilling 1970d3dc9a Add a test for primary keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 14:04:04 +01:00
Simon L 3a0b934f84 Merge pull request #31430 from nextcloud/enh/31429/improve-overwrite-cli-url-check
Validate `overwrite.cli.url` to be a url in setup check
2022-03-10 12:40:59 +01:00
John Molakvoæ 53e42bd308 Merge pull request #31508 from nextcloud/automated/noid/psalm-baseline-update-1646885516 2022-03-10 10:33:27 +01:00
Joas Schilling b35253a4c3 Enforce primary keys as they are required to be performant in MySQL clusters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10 10:24:05 +01:00
Julius Härtl 933826dd11 Merge pull request #31503 from nextcloud/enh/strict-dynamic-csp
Allow to set a strict-dynamic CSP through the API
2022-03-10 09:52:20 +01:00
nextcloud-command feb9c20b23 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-10 04:11:56 +00:00
Nextcloud bot 198b414d94 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-10 02:26:40 +00:00
szaimen 4191a178dd improve overwrite cli url setup check
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-09 22:26:00 +01:00
Christopher Ng e97701c6b0 Improve error handling and output messages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-09 19:46:37 +00:00
Julius Härtl bd03dd37be Allow to set a strict-dynamic CSP through the API
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-09 15:10:27 +01:00
Vincent Petry 0825c3ea34 Merge pull request #31500 from nextcloud/bugfix/noid/fix-alternativ-login-buttons
Fix alternative login buttons
2022-03-09 13:20:28 +01:00
Joas Schilling 4032f0b2c8 Fix alternative login buttons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-09 11:43:17 +01:00
nextcloud-command 31afc7050e Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-09 04:12:00 +00:00
Nextcloud bot 4d612359af [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-09 02:26:51 +00:00
Côme Chilliet d5544923a9 Strong type OC\Group\MetaData
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 16:44:22 +01:00
John Molakvoæ ec4280eda0 Merge pull request #31493 from nextcloud/bugfix/noid/app-script-main 2022-03-08 16:29:13 +01:00
Robin Appelman e8872f01ae Merge pull request #31431 from nextcloud/fs-setup-manager
Unify/cleanup filesystem setup
2022-03-08 14:50:25 +00:00
Côme Chilliet 3ecba9fd17 Fix typing of OC\Group\MetaData::sorting
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 15:49:29 +01:00
Julius Härtl e8cf1a8759 Avoid double-loading dist/core-main.js when apps have scripts named main
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-08 15:37:53 +01:00
Côme Chilliet ccab35f23f Fix similar potential problems with fetchOne loops
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 12:10:52 +01:00
Côme Chilliet 65a866556b Fix duplicated UUID detection when there are empty uuids
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 11:57:33 +01:00
Côme Chilliet df29acb343 Set $limit as int as well in Access::count private method
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-08 10:21:54 +01:00
John Molakvoæ 23e8ae15aa Merge pull request #31470 from nextcloud/enh/13099/allow-disable-imagick-warning 2022-03-08 08:53:12 +01:00
Nextcloud bot 697e1d6025 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-08 02:28:43 +00:00
Simon L 019117c624 Merge pull request #28227 from nextcloud/enh/noid/report-remoteAddress
Fix too many file download notifications when watching a video
2022-03-07 21:48:08 +01:00
szaimen ccd08877e8 Fix too many file download notifications when watching a video
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-07 19:50:15 +00:00
Simon L a9117d4ef8 Merge pull request #30828 from nextcloud/fix/dialog-menu
fix dialog new file menu
2022-03-07 20:46:12 +01:00
Pytal 232af474a8 Merge pull request #31418 from nextcloud/enh/simple-file-extension 2022-03-07 11:38:23 -08:00
Christopher Ng 26e3bdfce3 Note DI only usage in PHPDoc
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-07 18:14:51 +00:00
szaimen 3c8f8bc70a fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-07 18:07:45 +01:00
szaimen 7dca146b58 allow to disable the imagick warning
Signed-off-by: szaimen <szaimen@e.mail.de>
Co-Authored-By: MichaIng <micha@dietpi.com>
2022-03-07 17:35:12 +01:00
Julien Veyssier 9be87e6b25 Merge pull request #31426 from nextcloud/enh/noid/make-connectivity-check-softer
Connectivity check: allow to set a protocol for 'connectivity_check_domains' values
2022-03-07 16:05:08 +01:00
Julien Veyssier d5574cf189 allow adding protocol to domains in 'connectivity_check_domains' config
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-07 14:13:11 +01:00
John Molakvoæ 53f379fe3f Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
Côme Chilliet eb60b650aa Add missing @since in InMemoryFile to please CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-07 10:46:05 +01:00
Carl Schwan c2d759ddec Merge pull request #31466 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-03-07 10:42:39 +01:00
dependabot[bot] ea75ad6a3d Merge pull request #31463 from nextcloud/dependabot/npm_and_yarn/webpack-5.70.0 2022-03-07 04:08:46 +00:00
dependabot[bot] caf9d43451 Bump webpack from 5.69.1 to 5.70.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.69.1 to 5.70.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.69.1...v5.70.0)

---
updated-dependencies:
- dependency-name: webpack
  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>
2022-03-07 03:30:44 +00:00
Nextcloud bot c9eefdef39 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-07 02:26:22 +00:00
Nextcloud bot 248d60f93c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-06 02:25:58 +00:00
dependabot[bot] 343aa4c248 Merge pull request #31462 from nextcloud/dependabot/npm_and_yarn/css-loader-6.7.0 2022-03-06 01:36:32 +00:00
dependabot[bot] 1ae4ed8844 Bump css-loader from 6.6.0 to 6.7.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.6.0 to 6.7.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/v6.6.0...v6.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-06 01:00:13 +00:00
MichaIng 89e2eac825 Merge pull request #31447 from nextcloud/doc/manager-interface
Clarify that some interface are not meant to be implemented
2022-03-06 01:40:04 +01:00
dependabot[bot] e96c85921b Merge pull request #31461 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.4.1 2022-03-05 13:52:30 +00:00
Carl Schwan 5a17415dd8 Add a few more non-extendable interface
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-03-05 14:35:34 +01:00
dependabot[bot] 382948fc23 Bump puppeteer from 13.4.0 to 13.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.4.0 to 13.4.1.
- [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/v13.4.0...v13.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-05 13:14:37 +00:00
Carl Schwan c4022759c9 Merge pull request #31465 from nextcloud/automated/noid/psalm-baseline-update-1646460900
[Automated] Update psalm-baseline.xml
2022-03-05 12:15:57 +01:00
Nextcloud bot 80dc1094f2 Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 08:32:53 +00:00
dependabot[bot] 2a4f473138 Merge pull request #31460 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-5.1.0 2022-03-05 06:59:46 +00:00
dependabot[bot] ee741b52d2 Bump @nextcloud/vue from 5.0.0 to 5.1.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 5.0.0 to 5.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/v5.0.0...v5.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>
2022-03-05 06:25:56 +00:00
nextcloud-command eb6ca991eb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-05 06:15:00 +00:00
Nextcloud bot 584a3441e7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-05 02:26:43 +00:00
Robin Appelman 917c74e214 type fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:16 +01:00
Robin Appelman 07a7dcb824 move user mountpoint setup to setupmanager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:12 +01:00
Robin Appelman d81713e5c1 simplify setup of circular SetupManager<->Manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:09 +01:00
Robin Appelman 6c1d051ecd add template annotations to CappedMemoryCache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:06 +01:00
Robin Appelman 22875bf367 move logic to decide what to setup to setupmanager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:30:03 +01:00
Robin Appelman 1c468129af adjust tests to new fs setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:59 +01:00
Robin Appelman 5c0fe93498 move teardown logic to SetupManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:50 +01:00
Robin Appelman 15ff65c12f start moving filesystem setup logic to it's own place
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:29:47 +01:00
Robin Appelman 7630d7a934 more type hints for ICachedMountInfo and IMountManager
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:28:11 +01:00
Robin Appelman a6f245f6ff type hint as generator
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 16:26:08 +01:00
Carl Schwan 831aebf4f6 Clarify that some interface are not meant to be implemented
This make sure that apps don't implement this interfaces and gives us
more liberty to add new methods to them (as long as it is compatible
from an usage point of view)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: Vincent Petry <vincent@nextcloud.com>
2022-03-04 16:02:35 +01:00
Robin Appelman 5b77099612 handle invilid type when listing directory in smb
just handle it as an empty directory

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-04 15:49:00 +01:00
John Molakvoæ 69a6efba47 Merge pull request #31449 from nextcloud/bugfix/noid/even-more-censor 2022-03-04 15:05:24 +01:00
Robin Appelman 8b22a463e9 Merge pull request #31266 from nextcloud/root-setup-mountprovider
move root mount setup to mountproviders
2022-03-04 13:44:05 +00:00
John Molakvoæ 821a0dc875 Merge pull request #31387 from nextcloud/fix/common-main-core-script-order 2022-03-04 14:37:41 +01:00
Julien Veyssier a295529576 censor app config values for all integration apps
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-03-04 13:06:37 +01:00
John Molakvoæ 58d516b509 Make sure common and main core scripts are loaded first
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-03-04 10:22:56 +01:00
Vincent Petry 8a52591335 Merge pull request #31436 from nextcloud/fix/noid/migration-column-handling
be conservative when reading from fresh created column
2022-03-04 10:20:03 +01:00
John Molakvoæ a78f473252 Merge pull request #31435 from nextcloud/update-images-in-scripts-to-run-local-tests-in-Docker 2022-03-04 09:23:17 +01:00
Carl Schwan 8b1857fc72 Merge pull request #31439 from nextcloud/automated/noid/psalm-baseline-update-1646367093
[Automated] Update psalm-baseline.xml
2022-03-04 09:09:16 +01:00
Christopher Ng 0571391b10 Extend simple file with extension getter
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-04 06:11:53 +00:00
Pytal f1604cf7af Merge pull request #31358 from nextcloud/fix/error-message-timeout 2022-03-03 22:10:01 -08:00
Christopher Ng c22cfa057d Fix settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-04 04:56:48 +00:00
nextcloud-command 1b80d8264d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-04 04:11:33 +00:00
Nextcloud bot a6bacaacb3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-04 02:26:39 +00:00
MichaIng 3980322621 Merge pull request #31267 from nextcloud/enh/docs-link-for-opcache-recommends
Add Nextcloud docs link to OPcache recommends
2022-03-04 01:24:10 +01:00
MichaIng fdf4024ccb Merge pull request #31415 from knox/fix-opcache-permitted-path
Fix "Nextcloud is not allowed to use the OPcache API" warning
2022-03-04 00:38:00 +01:00
MichaIng aec2e0fdc4 Merge pull request #31416 from nextcloud/automated/noid/psalm-baseline-update-1646280947
[Automated] Update psalm-baseline.xml
2022-03-04 00:15:03 +01:00
MichaIng 5ac91f1cb8 Add Nextcloud docs link to OPcache recommends
A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list.

Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-03-03 23:00:07 +00:00
Arthur Schiwon 16b6504cc6 code style
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-03 21:32:54 +01:00
Arthur Schiwon f3668f2748 be conservative when reading from fresh created column
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-03-03 21:26:18 +01:00
Daniel Calviño Sánchez a3f3ffe6a6 Update images in scripts to run local tests in Docker
PHP 7.3 support was dropped for Nextcloud 24. The Docker images are
updated to the same images used for integration and acceptance tests in
CI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-03 19:53:26 +01:00
Pytal 787f4f02b3 Merge pull request #31417 from nextcloud/fix/avatar-return-type 2022-03-03 10:01:43 -08:00
Vincent Petry 8f6a3f4e6d Merge pull request #31359 from nextcloud/fix/apps-error-message-timeout
Fix apps settings error message timeout
2022-03-03 17:16:15 +01:00
Christopher Ng 31a9be0482 Fix avatar file return type
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-03 15:48:00 +00:00
Vincent Petry b8d4be404c Merge pull request #31372 from nextcloud/enh/noid/prevent-right-click-for-hide-download
prevent default right-click options when hideDownload is enabled
2022-03-03 16:45:16 +01:00
Côme Chilliet dab5ea958a Fix unit tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03 16:35:06 +01:00
Vanessa d7109063a3 Merge pull request #31336 from nextcloud/fix/31237/new-button-AdminTwoFactor
use new button component
2022-03-03 15:11:55 +01:00
szaimen 40a51e0e03 prevent right-click when hideDownload is enabled
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-03-03 14:02:41 +01:00
Côme Chilliet 0c5bd588ed Fix types in OCA\User_LDAP\Configuration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03 11:53:50 +01:00
Côme Chilliet e80eb79a1e Remove redundant is_array check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03 11:41:59 +01:00
Côme Chilliet fb63484ced Improve typing in user_ldap to detect problems early
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03 11:12:09 +01:00
Côme Chilliet 8349530fb4 Fix executeRead when connection is reset because of a timeout
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-03-03 10:24:07 +01:00
nextcloud-command 996e5de2e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-03 04:15:47 +00:00
Nextcloud bot 213e75b78a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-03 02:26:09 +00:00
Mickey Knox f63eb4261f Fix permittedPath comparison
Signed-off-by: Mickey Knox <mickey@netfreaks.org>
2022-03-02 22:38:11 +01:00
Simon L 0f34bce344 Merge pull request #31389 from nextcloud/enh/27671/fix-sharing-overview-actions
fix fileactions for sharing overview
2022-03-02 21:54:21 +01:00
John Molakvoæ fd5f7486da Merge pull request #31408 from nextcloud/enh/sidebar-preview-viewer 2022-03-02 17:33:17 +01:00
szaimen 1bb2534571 try to fix correct fileactions for sharing overview
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 16:00:38 +00:00
Vanessa Pertsch bf7150eae7 add new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 14:33:44 +00:00
Julius Härtl 31077e400d Hide preview if it is in full screen mode (viewer is open)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-03-02 15:05:11 +01:00
John Molakvoæ 6261d6731a Merge pull request #31398 from nextcloud/techdebt/noid/also-use-hashed-column-on-delete 2022-03-02 12:08:10 +01:00
Julius Härtl 2ff0c972c9 Merge pull request #31124 from nextcloud/enh/diagnostics-logging
Diagnostics event logging to log
2022-03-02 12:00:44 +01:00
Joas Schilling 18bafefb00 Merge pull request #31218 from nextcloud/techdebt/noid/use-cache-also-for-userbackend-getpassword
Use the cache also for UserBackend::getPassword
2022-03-02 11:41:32 +01:00
Joas Schilling 5bc2a6a37e Merge pull request #31390 from nextcloud/bugfix/noid/more-censor
Censor more configs
2022-03-02 11:21:40 +01:00
Joas Schilling abcf45e336 Also use hashed/indexed column on delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-02 09:23:16 +01:00
Nextcloud bot 5ac1995b0a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-02 02:47:02 +00:00
Pytal 83ccfb63a7 Merge pull request #31347 from nextcloud/fix/31164/duplicate-email-message 2022-03-01 18:15:23 -08:00
Christopher Ng 0cbb6d7ba9 Various minor updates
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 02:15:05 +00:00
Christopher Ng aafb305fed Minor updates
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:59:15 +00:00
Christopher Ng 302a67f685 Integrate migrator
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:59:15 +00:00
Christopher Ng 4c3d68381b Integration tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:59:15 +00:00
Christopher Ng 4eff359441 Calendar export and import
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:59:15 +00:00
Christopher Ng a68318a52b Fix duplicate primary email message
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-02 01:16:16 +00:00
Pytal 9d088dfa5a Merge pull request #30536 from nextcloud/fix/l10n-exception-message 2022-03-01 16:11:14 -08:00
Christopher Ng 135f70ee9a Fix apps settings error message timeout
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-02 00:06:23 +00:00
Christopher Ng 67ec9813e3 Make Sabre File exception messages translatable
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-03-01 23:29:33 +00:00
Joas Schilling 1e27aed4dc Censor more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-01 21:08:16 +01:00
Carl Schwan 3026d57ccf Merge pull request #31354 from nextcloud/fix/caching-avatar
Fix caching of the user avatar
2022-03-01 14:58:26 +01:00
Côme Chilliet 3ade269d1b Merge pull request #31333 from nextcloud/fix/fix-archive-typing
Improve typing in OC\Archive classes
2022-03-01 14:20:03 +01:00
Côme Chilliet ce87b44224 Merge pull request #31380 from nextcloud/fix/opendocument-preview-avoid-errors
Ignore errors when searching for bundled preview
2022-03-01 14:10:47 +01:00
Carl Schwan 2ebffc0535 Add warning to the user
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-authored-by: MichaIng <micha@dietpi.com>
Co-authored-by: zroebg <carlos@reendex.com>
2022-03-01 12:15:31 +01:00
Simon L 774fac10dc Merge pull request #31355 from nextcloud/fix/23441/fix-developer-link
try to fix developer link
2022-03-01 10:42:18 +01:00
Joas Schilling 46e6c49b18 Merge pull request #31363 from nextcloud/techdebt/noid/delay-getting-preferences
Delay loading user preferences until we need them
2022-03-01 10:06:34 +01:00
Côme Chilliet c2dddf5803 Merge pull request #31383 from nextcloud/automated/noid/psalm-baseline-update-1646108128
[Automated] Update psalm-baseline.xml
2022-03-01 09:41:05 +01:00
Vanessa abf935c560 Merge pull request #31340 from nextcloud/fix/31237/new-button-authTokenSetupDialogue
Fix/31237/new button auth token setup dialogue
2022-03-01 09:16:17 +01:00
szaimen ec2462d5d2 try to fix developer link
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 09:03:49 +01:00
Vanessa Pertsch 800f5f1be1 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-01 07:37:35 +00:00
nextcloud-command 4f6e7017e3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-03-01 04:15:28 +00:00
Vanessa ae8a4706cf Merge pull request #31338 from nextcloud/fix/31237/new-button-AppList
Fix/31237/new button app list
2022-02-28 16:51:01 +01:00
Côme Chilliet 13c11208d4 Ignore errors when searching for bundled preview
When an odt file is xml and not zip, it would throw a ValueError.
It will now just ignore this file and return null for the preview.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-28 15:43:07 +01:00
John Molakvoæ 8c969085ac Apps toolbar height and alignment fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-28 13:46:03 +00:00
Joas Schilling b90e657ac7 Delay loading user preferences until we need them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-28 13:49:12 +01:00
Anna c203bc71ad Merge pull request #31377 from nextcloud/fix/specify-nullable-string
Specify string as nullable for credentials password
2022-02-28 12:03:36 +01:00
Côme Chilliet 5c4cba17f7 Merge pull request #30889 from nextcloud/fix/fix-occ-listeners
Fix listeners declaration in case of occ usage
2022-02-28 11:52:03 +01:00
dependabot[bot] cf3040898a Merge pull request #31371 from nextcloud/dependabot/npm_and_yarn/url-parse-1.5.10 2022-02-28 10:51:14 +00:00
Julius Härtl 83717a7800 Add event logging for db and redis connection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl f13c150a56 Add logging around dav exec
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl 2dd96fe8da Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl eede608c0e Add event logging to app loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:41 +01:00
Julius Härtl 0f33453610 Diagnostics event logging to Nextcloud log
Signed-off-by: Julius Härtl <jus@bitgrid.net>

Add config samples

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-28 11:24:40 +01:00
Anna Larch f68028e85e Specify string as nullable for credentials password
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-02-28 11:08:48 +01:00
dependabot[bot] eec6007551 Bump url-parse from 1.5.7 to 1.5.10
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.7...1.5.10)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-28 09:59:36 +00:00
Côme Chilliet 63d7e7c798 Build OC\Core\Application when running occ or cron to register listeners correctly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-28 10:31:52 +01:00
Côme Chilliet 19f68b3011 Merge pull request #31339 from nextcloud/fix/preview-code-cleaning
Fix typing in OC\Preview
2022-02-28 10:26:23 +01:00
Christoph Wurst c1000fe344 Merge pull request #31304 from nextcloud/feature/dry_run_for_add_indices
Add --dry-run option for add-missing-* cmd
2022-02-28 09:59:40 +01:00
Vincent Petry 3bae591e9c Merge pull request #31360 from nextcloud/techdebt/noid/also-skip-user-setup-when-getting-certificates
Don't set up full filesystem to check for certificates
2022-02-28 09:20:50 +01:00
dependabot[bot] 9ab87b5458 Merge pull request #31366 from nextcloud/dependabot/npm_and_yarn/backbone-1.4.1 2022-02-28 05:05:45 +00:00
dependabot[bot] 428361a430 Bump backbone from 1.4.0 to 1.4.1
Bumps [backbone](https://github.com/jashkenas/backbone) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/jashkenas/backbone/releases)
- [Commits](https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: backbone
  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-02-28 03:49:16 +00:00
Nextcloud bot 127d8acb60 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-28 02:45:09 +00:00
dependabot[bot] 0d1c2d458e Merge pull request #31365 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-0.3.1 2022-02-28 02:16:50 +00:00
dependabot[bot] 7d6d1afd8f Bump @nextcloud/calendar-availability-vue from 0.3.0 to 0.3.1
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v0.3.0...v0.3.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  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-02-28 02:41:58 +01:00
Nextcloud bot 61a81538bd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-27 02:26:20 +00:00
dependabot[bot] 9254fe2d3d Merge pull request #31367 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.4.0 2022-02-26 07:26:09 +00:00
dependabot[bot] 0d2f5eb123 Merge pull request #31368 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.5.0 2022-02-26 07:15:25 +00:00
dependabot[bot] 8ab1eac9e6 Bump puppeteer from 13.3.2 to 13.4.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.2 to 13.4.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/v13.3.2...v13.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 04:42:28 +00:00
dependabot[bot] 0c4e11c30f Merge pull request #31364 from nextcloud/dependabot/npm_and_yarn/sass-1.49.9 2022-02-26 04:41:07 +00:00
dependabot[bot] 88a0b00a96 Bump bamarni/composer-bin-plugin from 1.4.2 to 1.5.0
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 03:12:31 +00:00
Nextcloud bot 4be00ebbb1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-26 02:26:02 +00:00
dependabot[bot] 887c52df5c Bump sass from 1.49.8 to 1.49.9
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.8 to 1.49.9.
- [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.49.8...1.49.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-26 02:04:26 +00:00
Joas Schilling a39d850030 Merge pull request #31353 from nextcloud/bugfix/noid/fix-missing-focus-highlight
Fix missing focus highlight for guest buttons
2022-02-26 01:00:00 +01:00
Joas Schilling 88f4e972c5 Don't set up full filesystem to check for certificates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-26 00:40:12 +01:00
Joas Schilling 0b7449e78e Merge pull request #31356 from nextcloud/techdebt/noid/only-setup-fs-when-needed
Only setupFS when we have to copy the skeleton
2022-02-25 21:22:34 +01:00
Robin Appelman ec15020777 also handle expired pre-write shared lock on dav upload when not using part files
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 16:33:27 +01:00
Robin Appelman d08d0ebdda skip localstorage dependend user test when not using local user storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 16:33:11 +01:00
Joas Schilling 86de1d569f Only setupFS when we have to copy the skeleton
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25 15:55:06 +01:00
Robin Appelman ad10a33316 make share cache test resilient against skeleton files not being there
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:49:30 +01:00
Robin Appelman 0235764f70 skip localstorage dependend trashbin test when not using local user storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:39:20 +01:00
Robin Appelman b0ce876f41 return dummy availability if storage is not found in cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:25:13 +01:00
Robin Appelman 72f9fd951d run ci with primary s3 setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:21:37 +01:00
Robin Appelman 215fa17d04 catch storage not available when deleting avatar
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-25 15:14:32 +01:00
Carl Schwan 36721a8d0d Fix caching of the user avatar
Now on firefox/safari it is only refetched once a day. On Chrom{e,ium}
we keep the previous behavior of maybe refetching it more often.

This also notify the user about this behavior when they upload an avatar
picture.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-25 14:24:07 +01:00
Joas Schilling 62261558f9 Fix missing focus highlight for guest buttons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25 11:44:17 +01:00
blizzz 22a9c54f89 Merge pull request #31335 from nextcloud/updateCrl
update CRL after revocation of rocket_integration.csr
2022-02-25 10:40:44 +01:00
Joas Schilling 67452b94ca Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-25 10:38:12 +01:00
Nextcloud bot 2f4a675caf [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-25 02:27:19 +00:00
blizzz abbbae1fc8 Merge pull request #31219 from nextcloud/fix/performance-db-convert
Improve performance when converting between DBs
2022-02-24 23:25:41 +01:00
Pytal d7e55e272e Merge pull request #31326 from nextcloud/enh/importsource-folder-listing 2022-02-24 10:49:55 -08:00
Vanessa Pertsch 4745f389ce use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 18:03:41 +01:00
Christopher Ng 321e1cdce3 Extend ImportSource interface to list files of a folder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-24 16:53:50 +00:00
Robin Appelman 8b7c8447a0 move root mount setup to mountproviders
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-24 17:21:42 +01:00
Côme Chilliet 77644cb674 Move to strong typing in OC\Archive
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 17:04:09 +01:00
Vanessa Pertsch 49a7d9b7d3 use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +01:00
Vanessa Pertsch af5479467e use new button component
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.com>
Signed-off-by: Vanessa Pertsch <vanessa.pertsch@posteo.de>
2022-02-24 16:59:57 +01:00
Louis Chemineau 405c5eb813 Add --dry-run option for db:add-missing-* cmd
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-24 16:42:08 +01:00
Côme Chilliet 0daec4b27e Fix tmp file cleaning for bundled previews
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:55:57 +01:00
Côme Chilliet d43dbfa0f2 Fix typing in OC\Preview\Movie
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:55:48 +01:00
Côme Chilliet ebe731f014 Fix typing in OC\Preview
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 14:42:55 +01:00
Vitor Mattos f7f100abc8 update CRL after revocation of rocket_integration.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-24 09:23:40 -03:00
Côme Chilliet 153eca8ef0 Fix unused import in OC\Archive\ZIP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:34:32 +01:00
Côme Chilliet c9100e3d44 Fix more typing in OC\Archive classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:25:04 +01:00
Côme Chilliet 7b1a044131 Improve typing in OC\Archive classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-24 12:03:36 +01:00
Nextcloud bot 6da8a6d62a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-24 02:26:36 +00:00
Robin Appelman 451f705871 Merge pull request #30978 from nextcloud/mount-cache-mount-provider
Add source mount provider to the oc_mounts table
2022-02-23 17:52:23 +00:00
Robin Appelman cfb7923e08 store mountprovider for each mount in the mounts table
this enabled more fine grained filesystem setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-23 18:02:33 +01:00
Simon L 692da9236b Merge pull request #31328 from nextcloud/bugfix/noid/mark-split-database-configs-as-sensitive
Mark split database configs as sensitive
2022-02-23 17:34:20 +01:00
Simon L 9630d6571c Merge pull request #31319 from nextcloud/fix/31246/fix-modals
fix all modals after vue 5.0
2022-02-23 15:28:58 +01:00
Joas Schilling bf4acd5452 Merge pull request #31106 from nextcloud/techdebt/noid/improve-user-status-update-handling
Improve user status revert performance
2022-02-23 11:17:16 +01:00
Joas Schilling d078d53683 Fix tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 11:01:58 +01:00
Joas Schilling cc6653e45c Adjust and add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 11:01:58 +01:00
Joas Schilling 1c138d3ae2 Allow to prefix the Query log with the request id
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 11:01:58 +01:00
Joas Schilling 07a9f34385 Extract request id handling to dedicated class so it can be injected manually
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 11:01:58 +01:00
Joas Schilling 6302ff0f96 Mark split database configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-23 10:31:17 +01:00
Nextcloud bot 98fd66b137 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-23 02:27:42 +00:00
MichaIng 56d75b87ef Merge pull request #30210 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.4.1
Update guzzlehttp/guzzle requirement from 6.5.2 to 7.4.1 in /build/integration
2022-02-23 00:12:08 +01:00
MichaIng e4588a37d0 Update GuzzleHttp function call for v7
https://github.com/guzzle/guzzle/issues/2824

Signed-off-by: MichaIng <micha@dietpi.com>
2022-02-22 23:07:16 +01:00
dependabot[bot] a45f88106c 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/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...7.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 21:53:17 +01:00
Joas Schilling 9e80f6f18a Merge pull request #31316 from nextcloud/enhancement/sensitive-insensitive-dav-background-jobs
Mark DAV background jobs as time sensitive/insensitive
2022-02-22 15:31:56 +01:00
szaimen 1116529b56 fix all modals after vue 5.0
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-22 13:27:14 +00:00
Christoph Wurst c01eb07756 Mark DAV background jobs as time sensitive/insensitive
* As a bonus they are now all using OCP base classes
* Strict typing is now enforced

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-22 13:55:06 +01:00
Christoph Wurst b5c6ae6d4f Merge pull request #31317 from nextcloud/chore/deprecate-old-internal-job-classes
Deprecate our old, internal background job base classes
2022-02-22 13:27:45 +01:00
Christoph Wurst ef4c18a266 Deprecate our old, internal background job base classes
The OCP ones should be used instead. This makes it more visible in our
IDEs that the base class of background job should be replaced.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-22 11:31:54 +01:00
John Molakvoæ a6bc871c96 Merge pull request #31261 from nextcloud/external-share-availability-error 2022-02-22 10:55:04 +01:00
Christoph Wurst d06716db21 Merge pull request #31295 from nextcloud/fix-cleaning-reminders
Fix cleaning reminders after subscription purge
2022-02-22 10:46:31 +01:00
Vanessa c4d09af681 Merge pull request #31241 from nextcloud/fix/use-new-button-component
Fix/use new button component
2022-02-22 10:34:03 +01:00
Côme Chilliet cb621f371f Merge pull request #31309 from nextcloud/fix/fix-checkers-php-error
Avoid PHP errors in the checkers drone step
2022-02-22 09:04:56 +01:00
Côme Chilliet 5b565a4726 Merge pull request #31173 from nextcloud/enhancement/user_migration-version-handling
Add version handling to IMigrator
2022-02-22 09:02:34 +01:00
Nextcloud bot 67f192e906 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-22 02:29:25 +00:00
Côme Chilliet 6f37eac470 Avoid PHP errors in the checkers drone step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 18:21:38 +01:00
Côme Chilliet 07940f9d05 Please drone checkers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 18:20:27 +01:00
Vanessa Pertsch 383245ff67 replace button with vue button component 2022-02-21 16:32:16 +01:00
Côme Chilliet 09cf851979 Update autoload
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-21 16:24:36 +01:00
Robin Appelman b8752c59cd improve errors for external share availability check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-21 14:21:28 +00:00
Carl Schwan cb7485e764 Fix more than 1000 entries in queries exception in CardDavBackend
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-21 14:30:00 +01:00
Simon L 6ab9a13ad9 Merge pull request #31294 from nextcloud/fix/test-controller
Redirection now only happens when dir is empty
2022-02-21 14:14:18 +01:00
Carl Schwan 9f55de994c Merge pull request #31288 from nextcloud/automated/noid/psalm-baseline-update-1645416707
[Automated] Update psalm-baseline.xml
2022-02-21 12:57:40 +01:00
John Molakvoæ 22dd5e21ea Merge pull request #31292 from nextcloud/fix/edit_perm_on_file_share 2022-02-21 12:55:02 +01:00
Joas Schilling 87115d8b1c Merge pull request #31217 from nextcloud/bugfix/noid/also-cache-non-existing-entry
Also cache non-existing to reuse it
2022-02-21 11:50:40 +01:00
Carl Schwan d74ff03ac1 Redirection now only happens when dir is empty
Otherwise dir it's just ignored and fileid is used

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-21 11:36:15 +01:00
Thomas Citharel 9347fc188a Fix cleaning reminders after subscription purge
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-21 11:36:09 +01:00
Louis d721339262 Merge pull request #31195 from nextcloud/wrap_exception
Wrap S3 multipart upload exception
2022-02-21 11:27:55 +01:00
Louis Chemineau 3d33c8107e Fix regression for edit perm on file share
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-21 10:47:20 +01:00
Simon L 99e7f33550 Merge pull request #30225 from nextcloud/fix-30220
Clarify `preview_max_filesize_image` behavior
2022-02-21 10:39:24 +01:00
nextcloud-command b26934176d Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-02-21 04:11:48 +00:00
Nextcloud bot 2996f71d20 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-21 02:27:38 +00:00
acsfer 3f3b89ffcd Typo 2022-02-20 20:31:25 +00:00
acsfer 1a2cfff850 Clarify preview_max_filesize_image behavior
Fix https://github.com/nextcloud/server/issues/30220
2022-02-20 20:31:25 +00:00
Nextcloud bot 517a0015ad [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-20 02:26:51 +00:00
dependabot[bot] 5e15c1c0cd Merge pull request #31272 from nextcloud/dependabot/npm_and_yarn/url-parse-1.5.7 2022-02-19 14:07:23 +00:00
dependabot[bot] 31f56fbef5 Bump url-parse from 1.5.4 to 1.5.7
Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.4 to 1.5.7.
- [Release notes](https://github.com/unshiftio/url-parse/releases)
- [Commits](https://github.com/unshiftio/url-parse/compare/1.5.4...1.5.7)

---
updated-dependencies:
- dependency-name: url-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 14:10:10 +01:00
dependabot[bot] 4cdc8900f7 Merge pull request #31270 from nextcloud/dependabot/npm_and_yarn/webpack-5.69.1 2022-02-19 04:20:16 +00:00
dependabot[bot] 02ea8c94f9 Merge pull request #31269 from nextcloud/dependabot/npm_and_yarn/sass-1.49.8 2022-02-19 03:42:36 +00:00
Nextcloud bot 3175579f90 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-19 02:27:04 +00:00
dependabot[bot] f0c5253401 Bump webpack from 5.69.0 to 5.69.1
Bumps [webpack](https://github.com/webpack/webpack) from 5.69.0 to 5.69.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.69.0...v5.69.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 02:04:19 +00:00
dependabot[bot] 8c1b7e4550 Bump sass from 1.49.7 to 1.49.8
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.7 to 1.49.8.
- [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.49.7...1.49.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-19 02:03:46 +00:00
Christoph Wurst 6e0101b59c Merge pull request #20766 from nextcloud/bug/fix-reminders-with-empty-calendar-data
Consider only reminders with calendar data
2022-02-18 15:52:33 +01:00
Vincent Petry 280cc47a86 Merge pull request #31143 from nextcloud/fix/dont-redirect-file-index
Don't redirect when loading files index page
2022-02-18 12:31:24 +01:00
Simon L ac007345e1 Merge pull request #31169 from nextcloud/enh/noid/hide-download-button-for-images
hide download button for images
2022-02-18 11:58:42 +01:00
Julius Härtl ee711ed66c Merge pull request #30367 from nextcloud/fix/minor-api-doc-fix
Fix some issues with the API documentation
2022-02-18 10:44:50 +01:00
Joas Schilling 25caf4a42c Update cache when setting the password
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-18 09:47:18 +01:00
Vincent Petry d251847172 Merge pull request #31116 from nextcloud/fix/admin-jquery-loading
Cleanup admin settings js files
2022-02-18 09:32:32 +01:00
Côme Chilliet 885b7904a2 Avoid passing both $importSource and $version while version comes from source
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 18:09:14 +01:00
Carl Schwan e1f8b09b92 Fix external app
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 18:02:46 +01:00
Carl Schwan 7c8a901b84 Cleanup admin settings js files
* Move admin.js to webpack, so that this use the bundled jquery files
  instead of the deprecated window.$ Also fixing formatting

* Remove log.js that seems to be from a time where logreader was bundled
  with server and I couldn't find an usage of it anymore

* Fix recent regression in rebuild navigation function (now not depending on
  jquery anymore and bundled by webpack).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:52:03 +01:00
Vincent Petry f5d1365bbd Merge pull request #30938 from nextcloud/fix/user_ldap-fix-check-ldap-new-user
Fix ldap:check-user method for newly created LDAP users
2022-02-17 17:20:21 +01:00
Carl Schwan 028ca0935c Don't redirect when loading files index page
Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an
issue because we then need to load two pages with full file system setup
and authentification instead of one and the assets won't start loading
until the second page is delivered to the user.

Additionally when loading ?dir=/, we then change the url back to
?dir=/&fileid=2 (without reload) so that the next time we load the page
again we do the same thing again.

Depending on the speed of the server and internet connection we can save
100ms to 400ms, improving the user experience.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 17:06:33 +01:00
Carl Schwan ac4978e715 Merge pull request #31141 from nextcloud/fix/better-cache-policy
Improve caching policy use immutable when loading versionned assets
2022-02-17 16:58:35 +01:00
Valdnet 522d9c1d1f l10n: Delete dot
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-02-17 15:03:53 +01:00
Valdnet c72718c61b l10n: Add a dot
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-02-17 14:07:51 +01:00
Louis 098dfe15c1 Merge pull request #31238 from nextcloud/fix/dashboard_theming
Load scripts of theming app before the dashboard
2022-02-17 13:19:02 +01:00
Louis 5b6a07dac6 Merge pull request #31230 from nextcloud/dependabot/npm_and_yarn/core-js-3.21.1
Bump core-js from 3.21.0 to 3.21.1
2022-02-17 13:18:17 +01:00
dependabot[bot] 27e7129163 Bump core-js from 3.21.0 to 3.21.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.21.0 to 3.21.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.21.0...v3.21.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>
2022-02-17 11:55:02 +00:00
Christoph Wurst 2db75819d2 Merge pull request #31205 from nextcloud/enhancement/transactional-db-trait
Add Transactional trait for atomic DB operations
2022-02-17 12:48:55 +01:00
Carl Schwan 6628e18c8d Merge pull request #31213 from nextcloud/fix/target-unset
Fix target attribute does not exists
2022-02-17 12:44:39 +01:00
dependabot[bot] 25762fb513 Merge pull request #31227 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.6 2022-02-17 11:07:17 +00:00
Louis Chemineau b50fd97db4 Load scripts of theming app before the dashboard
This allows dashboard to access OCA.Theming

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-17 11:57:34 +01:00
Côme Chilliet 67fb1b92d6 Improve version handling for user_migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:31:03 +01:00
Côme Chilliet b06a622a60 Add version handling to IMigrator
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 11:30:55 +01:00
Carl Schwan 8af4054237 Fix some issues with the API documentation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-17 11:09:06 +01:00
dependabot[bot] 4a48036c2e Bump dompurify from 2.3.5 to 2.3.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.5...2.3.6)

---
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-02-17 09:46:59 +00:00
Christoph Wurst 926bfd5e46 Merge pull request #29796 from nextcloud/refactor/calendar-availability-component
Replace CalDAV availability component with component lib
2022-02-17 10:37:11 +01:00
dependabot[bot] 14cc578c3e Merge pull request #31225 from nextcloud/dependabot/composer/bamarni/composer-bin-plugin-1.4.2 2022-02-17 09:09:32 +00:00
Côme Chilliet 44680b5c3b Make it explicit that a DN can be used for ldap:check-user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 10:00:25 +01:00
Côme Chilliet a6ad06f940 Improve typing in apps/user_ldap/lib/Command/CheckUser.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 09:58:51 +01:00
Côme Chilliet a4f96c18e9 Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php
Co-authored-by: Carl Schwan <carl@carlschwan.eu>

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 09:58:51 +01:00
Christoph Wurst cb252c5591 Add Transactional trait for atomic DB operations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-17 09:58:41 +01:00
Côme Chilliet 75ce9a4832 Fix ldap:check-user method for newly created LDAP users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-17 09:58:28 +01:00
Christoph Wurst daf1b5f6a3 Replace CalDAV availability component with component lib
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-17 09:38:42 +01:00
Nextcloud bot 5ee0fb3acb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-17 02:27:48 +00:00
dependabot[bot] ab3737f58e Merge pull request #31228 from nextcloud/dependabot/npm_and_yarn/sass-loader-12.6.0 2022-02-17 00:04:46 +00:00
dependabot[bot] fc88bbd361 Bump sass-loader from 12.4.0 to 12.6.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 12.4.0 to 12.6.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v12.4.0...v12.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 23:10:21 +00:00
dependabot[bot] 0d8fe95765 Merge pull request #31231 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.3.2 2022-02-16 23:08:44 +00:00
dependabot[bot] af2f015e6a Merge pull request #31229 from nextcloud/dependabot/npm_and_yarn/webpack-5.69.0 2022-02-16 22:56:29 +00:00
dependabot[bot] 6ef29a71ff Bump puppeteer from 13.3.1 to 13.3.2
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.3.1 to 13.3.2.
- [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/v13.3.1...v13.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 21:46:12 +00:00
dependabot[bot] 2e88e9108f Bump webpack from 5.68.0 to 5.69.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.68.0 to 5.69.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.68.0...v5.69.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 21:45:14 +00:00
dependabot[bot] 13d98d72ab Bump bamarni/composer-bin-plugin from 1.4.1 to 1.4.2
Bumps [bamarni/composer-bin-plugin](https://github.com/bamarni/composer-bin-plugin) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/bamarni/composer-bin-plugin/releases)
- [Commits](https://github.com/bamarni/composer-bin-plugin/compare/1.4.1...1.4.2)

---
updated-dependencies:
- dependency-name: bamarni/composer-bin-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-16 21:39:59 +00:00
blizzz 4fe4eef458 Merge pull request #31216 from nextcloud/td/noid/update-dependabot
only security updates for 21
2022-02-16 22:34:27 +01:00
Carl Schwan db6927ee05 Improve performance when converting between DBs
Use a transaction when doing multiple inserts increase the writing
speed.

Ref: https://stackoverflow.com/a/68495887

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-16 18:28:06 +01:00
Joas Schilling 23ef02fbe2 Use the cache also for UserBackend::getPassword
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 18:00:47 +01:00
Joas Schilling 397b9098e8 Also cache non-existing to reuse it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-16 16:51:22 +01:00
Arthur Schiwon 3f133f62aa only security updates for 21
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-16 15:52:54 +01:00
Louis 1bfd001cf6 Merge pull request #30862 from nextcloud/feat/crud_share_permission
Support CRUD share permissions
2022-02-16 15:31:09 +01:00
Louis Chemineau bc2c02f451 Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-16 14:56:14 +01:00
Carl Schwan b66c92e6dd Fix target attribute does not exists
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-16 14:35:51 +01:00
szaimen aa1c7ebbd3 hide download button for images
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-16 13:38:11 +01:00
Carl Schwan 7dddbd0c35 Improve caching policy
* Cache css with version in url. This makes most js and css requests to
  be cached by the browser

* Force caching previews, the etag is in the url so that if the propfind
  gives a new etag, we will refresh it otherwise it's no use to try to
  fetch the new etag and do tons of DB queries

Tested with firefox and 'debug' => false (important so that the js/css
urls are generated with ?v= parameter)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-16 11:35:57 +01:00
Nextcloud bot 393d581c3a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-16 02:27:42 +00:00
Joas Schilling 6d7feebe73 Merge pull request #31180 from nextcloud/feature/ChrisCano66/Add_Target_Blank_To_Links_Menu
Target_Blank option to open External links
2022-02-15 19:58:25 +01:00
Louis Chemineau 0b768c17d2 Wrap S3 multipart upload exception
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-15 17:35:12 +01:00
Joas Schilling 058d1de260 Do status and predefined message setting in one go
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +01:00
Joas Schilling 5fcbb1ca62 Create the backup user status in 1 query instead of 3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +01:00
Joas Schilling 658547d274 Don't include unindexed is_backup in the query, it's ensured by the user_id leading underscore already
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +01:00
Joas Schilling deec4f31db Allow to revert the user status of multiple users in 3 queries instead of 3*n
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:33 +01:00
Joas Schilling 194338cca3 Delete the user status without loading it first
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:32 +01:00
Joas Schilling c5d11abff9 Directly delete the user status instead of getting it a second time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-15 16:06:32 +01:00
Louis Chemineau da435b1e67 Support CRUD share permissions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-15 11:54:17 +01:00
Louis 9026455dac Merge pull request #31170 from nextcloud/enh/noid/fix-broken-tooltip
fix a broken tooltip
2022-02-15 11:47:06 +01:00
christophe canovas d6a9278422 Target_Blank option to open External links
Signed-off-by: christophe canovas <christophecanovas66@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-15 09:57:50 +00:00
Thomas Citharel 22f8c42f06 Clean reminders for calendar when deleting a subscription
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-15 10:15:46 +01:00
Thomas Citharel 6f9afa77b3 Consider only reminders with calendar data
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-15 10:15:46 +01:00
Vincent Petry acba237ec5 Merge pull request #31178 from nextcloud/fix-dav-namespace-typo
Fix typo in DAV namespace registration
2022-02-15 09:50:43 +01:00
Côme Chilliet 77ed32b613 Merge pull request #31174 from nextcloud/fix/script_loading_ldap
Fix script loading in ldap's settings
2022-02-15 09:10:08 +01:00
Julius Härtl 43ac9c10f5 Merge pull request #31176 from nextcloud/remove-obsolete-dav-defaultUsernamePath
Remove setting defaultUsernamePath dynamically
2022-02-15 08:27:43 +01:00
Nextcloud bot ba7a31d73b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-15 02:45:26 +00:00
Thomas Citharel 46e9f6d0c5 Fix typo in DAV namespace registration
See https://github.com/nextcloud/3rdparty/blob/b0afba6d6508a1c85332cf8c61e90ad91b289ebc/sabre/dav/lib/DAV/Xml/Service.php#L43

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-14 20:58:29 +01:00
Thomas Citharel f695b3af9a Remove setting defaultUsernamePath dynamically
Since Sabre 3.0.6 this is no longer possible.

@see https://github.com/sabre-io/dav/pull/582

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-14 19:40:31 +01:00
Louis Chemineau 95478ad9e2 Fix script loading in ldap's settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-14 16:56:55 +01:00
Louis b3ba02b382 Merge pull request #31167 from nextcloud/dependabot/npm_and_yarn/css-loader-6.6.0
Bump css-loader from 5.2.7 to 6.6.0
2022-02-14 15:49:02 +01:00
szaimen 6d7a0fae38 try to fix broken tooltip
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-14 15:14:28 +01:00
Louis Chemineau 99570df60a Use asset-loader instead of url-loader
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-14 14:50:09 +01:00
dependabot[bot] 8df703ae51 Bump css-loader from 5.2.7 to 6.6.0
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.7 to 6.6.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.2.7...v6.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-14 14:44:22 +01:00
Louis 925c0c38ec Merge pull request #31151 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-5.0.0
Bump @nextcloud/vue from 4.3.0 to 5.0.0
2022-02-14 14:43:30 +01:00
Louis Chemineau 16258fe18a Bump @nextcloud/vue from 4.3.0 to 5.0.0
- Removed `moji-mart-vue-fast` from babel parsed file when loading vue files
- Updated material design icon to v5.0.0, superseding https://github.com/nextcloud/server/pull/30086
- Manually compiled

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.3.0 to 5.0.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.3.0...v5.0.0)

---
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: Louis Chemineau <louis@chmn.me>
2022-02-14 13:28:38 +01:00
Côme Chilliet 7b14b96231 Merge pull request #30901 from nextcloud/feat/30398/migration-registration
Migration registraton
2022-02-14 12:40:00 +01:00
Louis 81fcee7ae0 Merge pull request #31146 from nextcloud/dependabot/npm_and_yarn/karma-coverage-2.2.0
Bump karma-coverage from 2.1.1 to 2.2.0
2022-02-14 12:21:57 +01:00
Louis af97b3e223 Merge pull request #31147 from nextcloud/dependabot/npm_and_yarn/karma-6.3.16
Bump karma from 6.3.15 to 6.3.16
2022-02-14 12:21:24 +01:00
Nextcloud bot eb0d4efdc3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-14 02:28:25 +00:00
dependabot[bot] 65672ee4be Merge pull request #30810 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.3.1 2022-02-14 01:53:56 +00:00
dependabot[bot] 76a67c7334 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-02-14 01:19:44 +00:00
dependabot[bot] d78c5a8e44 Merge pull request #31149 from nextcloud/dependabot/npm_and_yarn/jquery-ui-dist-1.13.1 2022-02-14 00:44:39 +00:00
dependabot[bot] 4e6ba2b9b5 Bump jquery-ui-dist from 1.13.0 to 1.13.1
Bumps [jquery-ui-dist](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-dist
  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-02-14 00:11:58 +00:00
MichaIng f49e2a95e9 Merge pull request #31153 from nextcloud/automated/noid/psalm-baseline-update-1644643332
[Automated] Update psalm-baseline.xml
2022-02-13 04:27:40 +01:00
Nextcloud bot a615d15046 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-13 02:26:57 +00:00
Carl Schwan 46aad7595e Merge pull request #31117 from nextcloud/automated/noid/psalm-baseline-update-1644552670
[Automated] Update psalm-baseline.xml
2022-02-12 07:56:17 +01:00
dependabot[bot] dce6b259ec Merge pull request #31152 from nextcloud/dependabot/npm_and_yarn/follow-redirects-1.14.8 2022-02-12 05:59:06 +00:00
nextcloud-command c60e727141 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-02-12 05:22:12 +00:00
dependabot[bot] 77c922ae6f Bump karma from 6.3.15 to 6.3.16
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.15 to 6.3.16.
- [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/v6.3.15...v6.3.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 04:26:42 +00:00
dependabot[bot] ab4cd2626f Bump follow-redirects from 1.14.7 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 04:26:11 +00:00
dependabot[bot] 7caf47b519 Merge pull request #31145 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.3.1 2022-02-12 04:25:07 +00:00
Nextcloud bot c686ee791a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-12 02:28:00 +00:00
dependabot[bot] 256075c26b Bump karma-coverage from 2.1.1 to 2.2.0
Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/karma-runner/karma-coverage/releases)
- [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.1.1...v2.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 02:04:21 +00:00
dependabot[bot] b7cf77eef4 Bump puppeteer from 13.2.0 to 13.3.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.2.0 to 13.3.1.
- [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/v13.2.0...v13.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 02:03:15 +00:00
Christopher Ng e485451eed Add test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Christopher Ng 21f9e85e1a Extend export destination interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Christopher Ng e3244361ba Allow registration of migrators
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-02-11 23:34:25 +00:00
Joas Schilling 90d94c172e Merge pull request #31134 from nextcloud/regression/30020/add-missing-scripts
Regression/30020/add missing scripts
2022-02-11 23:16:32 +01:00
Vincent Petry fbbbc2ec34 Merge pull request #30959 from nextcloud/redis-pconnect
use persistent connections when connecting to redis
2022-02-11 16:18:37 +01:00
Joas Schilling cae0498867 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-11 16:17:09 +01:00
Joas Schilling 8530c4cdc7 Add missing personal availability script
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-11 16:14:18 +01:00
Joas Schilling bcc956753b Merge pull request #31132 from nextcloud/fix/missing-two-factor-backup-codes-bundle
Fix missign twofactor_backupcodes bundle
2022-02-11 16:10:05 +01:00
Christoph Wurst 981bce3f7c Fix missign twofactor_backupcodes bundle
They are backup codes. Not backups codes.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-11 13:53:31 +01:00
Joas Schilling 721f03fd27 Merge pull request #31011 from nextcloud/dronupdt
Remove MariaDB 10.1 and PGsql 9.6 (both EOL) from drone
2022-02-11 12:15:37 +01:00
Simon L fbf260f39a Merge pull request #31090 from nextcloud/fix/31069/fix-overlapping-buttons-apps-management
fix overlapping buttons in apps-management
2022-02-11 11:16:34 +01:00
nextcloud-command 9530554b91 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-02-11 04:11:10 +00:00
Nextcloud bot 8418a8cc0a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-11 02:26:46 +00:00
szaimen d460c37024 try to fix overlapping buttons in apps-management
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-10 20:26:55 +00:00
Vincent Petry 62d47100ec Merge pull request #30953 from nextcloud/feat/init-storage-when-transferring-ownership
Init user's file system if not existing on ownership transfer
2022-02-10 18:13:43 +01:00
Vincent Petry 713840ccc0 Merge pull request #31032 from nextcloud/instanceName
Don't use plain URL on the email subject
2022-02-10 18:07:50 +01:00
Vincent Petry 787716613f Merge pull request #31035 from paierlep/fix/occ_scan_no_files_error
Removes misleading error message in occ files:scan for new users.
2022-02-10 18:07:21 +01:00
Vincent Petry 6f32be1cf6 Merge pull request #31042 from nextcloud/enh/direct_edit_index
Add index for direct editing cleanup job
2022-02-10 18:00:29 +01:00
Vincent Petry cd1bf94181 Merge pull request #31073 from nextcloud/fix/user_ldap-fix-access-typing
Improve typing in OCA\User_LDAP\Access and reduce psalm errors
2022-02-10 17:53:58 +01:00
Vincent Petry d29293e019 Merge pull request #31079 from nextcloud/ignore-self-contact-interaction
Ignore contact interaction with self
2022-02-10 17:50:54 +01:00
Vincent Petry 1a9e6f1571 Merge pull request #31097 from nextcloud/bugfix/31096/fix-shares-transfer-guest-to-nonguest
Fix path handling when transferring incoming shares
2022-02-10 17:47:41 +01:00
Simon L b881940bf3 Merge pull request #31077 from nextcloud/revert/public-page-changes
Revert the 'broken' public page changes
2022-02-10 17:37:29 +01:00
blizzz c605ef1f43 Merge pull request #30981 from nextcloud/fix/30936/ldap-dup-uuid-migration
Fix duplicated UUID migration issue
2022-02-10 11:53:35 +01:00
szaimen f0424378f6 Revert "Add non-breaking space in the file size"
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-10 10:35:19 +01:00
Carl Schwan 16e9e242ed Revert "Improve layout for the public download page"
This reverts commit 2e55ce0899.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-10 10:35:13 +01:00
Carl Schwan 60a7e36f9b 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 10:35:01 +01:00
Arthur Schiwon b28aa52b28 Setup warning for invalid LDAP user or group UUIDs.
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 10:15:01 +01:00
Côme Chilliet bcfe99cc62 Fix psalm errors in apps/user_ldap/lib/Jobs/CleanUp.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-10 10:15:00 +01:00
Côme Chilliet 9f2db6e65d 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 10:15:00 +01:00
Arthur Schiwon 45d4c0bf66 add occ command to update UUIDs (incomplete)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-10 10:14:59 +01:00
Arthur Schiwon 601ce05dab 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 10:14:59 +01:00
Arthur Schiwon 71fb44953e 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 10:14:58 +01:00
Joas Schilling de01da72d8 Temporarily disable samba-non-native as it times out too often
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-10 10:14:58 +01:00
Joas Schilling 1ab0ed8134 Don't provide favorite activity settings
Since mails and notifications are only available for actions of other users
it does not make sense to allow changing this.
It also prevents the common misunderstanding with
"file was changed inside a favorited folder"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-10 10:14:42 +01:00
Vincent Petry e80e0d515f Merge pull request #30942 from nextcloud/appdata-lite-filesystem
only setup part of the filesystem for appdata requests
2022-02-10 09:58:57 +01:00
Vincent Petry 7858fee5b5 Fix path handling when transferring incoming shares
When transferring incoming shares from a guest user without specifying a
path, the $path is empty.
The fix properly handles that situation to avoid looking for shares in a
path with doubled slashes which failed to find shares to transfer.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-02-10 09:50:21 +01:00
Nextcloud bot b22f680e77 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-10 02:26:07 +00:00
Robin Appelman 6907bd67c7 remove old legacy external storage migration logic
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:04:19 +01:00
Robin Appelman de260001f1 handle setupFS with null user
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:01:36 +01:00
Robin Appelman b799fd40e9 dont mark fs as setup when no user is active
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:01:31 +01:00
Robin Appelman 2673775f6e fix fs cache test user setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:01:28 +01:00
Robin Appelman 1ab58eff0f pass user object during fs init
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:01:24 +01:00
Robin Appelman 0217949715 only setup part of the filesystem for appdata requests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-09 16:01:21 +01:00
Robin Appelman 17e7a7ba17 Merge pull request #31088 from nextcloud/techdebt/noid/restore-green-ci
Temporarily disable samba-non-native as it times out too often
2022-02-09 15:00:59 +00:00
Joas Schilling 78af58107d Temporarily disable samba-non-native as it times out too often
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-09 13:40:23 +01:00
Joas Schilling 47e03cb61d Merge pull request #31081 from nextcloud/bugfix/noid/dont-provide-favorite-activity-setting
Don't provide favorite activity settings
2022-02-09 13:01:31 +01:00
Joas Schilling 5f5142ff58 Don't provide favorite activity settings
Since mails and notifications are only available for actions of other users
it does not make sense to allow changing this.
It also prevents the common misunderstanding with
"file was changed inside a favorited folder"

Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-09 10:49:32 +01:00
blizzz a353db2c31 Merge pull request #30997 from nextcloud/fix/noid/ldap-occ-test-config-accessor
fix overwriting of SUCCESS and INVALID consts
2022-02-09 10:35:46 +01:00
Christoph Wurst cd7a217c29 Merge pull request #31007 from nextcloud/enhancement/bootstrap-calendar-resource-room-backend-registration
Move calendar resource/room backend registration to IBootstrap
2022-02-09 10:25:03 +01:00
Thomas Citharel c47c0b90d9 Ignore contact interaction with self
No need to insert ourselves as a recent contact

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-02-09 09:43:57 +01:00
Nextcloud bot f4c719734a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-09 02:26:53 +00:00
Louis 49959bc929 Merge pull request #30925 from paierlep/feature/breadcrumb_menu_parent_folder_visible
Show the child folders in the breadcrumb menu when on a parent entry.
2022-02-08 14:52:10 +01:00
Joas Schilling c58f8d6025 Merge pull request #30945 from nextcloud/techdebt/noid/background-job-time-windows
Background job time windows
2022-02-08 14:46:20 +01:00
Côme Chilliet 77add404b1 Remove mixed type not available in PHP 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-08 14:32:23 +01:00
Côme Chilliet 5f65d5a58d Add a comment explaining how Helper::loginName2UserName can work
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-08 14:25:09 +01:00
Côme Chilliet 2a0b2250d2 Improve typing in OCA\User_LDAP\Access and reduce psalm errors
This should avoid some PHP warning using PHP 8.1
 and help detecting type trouble early in the future.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-02-08 14:21:16 +01:00
Louis f660032a9b Merge pull request #31062 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.2.0
Bump puppeteer from 13.1.3 to 13.2.0
2022-02-08 13:47:32 +01:00
Louis d8f133011f Merge pull request #31024 from nextcloud/dependabot/npm_and_yarn/clipboard-2.0.10
Bump clipboard from 2.0.9 to 2.0.10
2022-02-08 13:46:53 +01:00
Simon L e2b83915a0 Merge pull request #28941 from howardZa/feature/allow_s3_access_wo_auth
Add SCHEME_NULL to list of allowed auth mechanism
2022-02-08 12:31:06 +01:00
dependabot[bot] 58861306d0 Bump clipboard from 2.0.9 to 2.0.10
Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.9...v2.0.10)

---
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-02-08 10:49:18 +00:00
Louis d405b5f664 Merge pull request #31055 from nextcloud/dependabot/npm_and_yarn/webpack-5.68.0
Bump webpack from 5.67.0 to 5.68.0
2022-02-08 11:02:53 +01:00
Louis 6c67d161e1 Merge pull request #31022 from nextcloud/dependabot/npm_and_yarn/p-queue-7.2.0
Bump p-queue from 7.1.0 to 7.2.0
2022-02-08 10:53:05 +01:00
Louis 120dca38e1 Merge pull request #31063 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.2
Bump @testing-library/jest-dom from 5.16.1 to 5.16.2
2022-02-08 10:20:34 +01:00
dependabot[bot] e54fdccbf8 Bump p-queue from 7.1.0 to 7.2.0
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.1.0...v7.2.0)

---
updated-dependencies:
- dependency-name: p-queue
  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>
2022-02-08 09:12:04 +00:00
Nextcloud bot c7978f48b5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-08 02:27:16 +00:00
dependabot[bot] f14f4dec99 Bump puppeteer from 13.1.3 to 13.2.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.1.3 to 13.2.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/v13.1.3...v13.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-08 00:12:23 +00:00
dependabot[bot] 8bff50942c Bump @testing-library/jest-dom from 5.16.1 to 5.16.2
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.1 to 5.16.2.
- [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.16.1...v5.16.2)

---
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>
2022-02-08 00:12:07 +00:00
Joas Schilling 4c8c0031e9 Merge pull request #31010 from nextcloud/techdebt/noid/fixed-avatar-sizes
Only allow avatars in 64 and 512 pixel size
2022-02-07 19:48:29 +01:00
dependabot[bot] 923761003a Bump webpack from 5.67.0 to 5.68.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.67.0 to 5.68.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.67.0...v5.68.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 18:14:25 +00:00
Louis 71d1fd2090 Merge pull request #31058 from nextcloud/dependabot/npm_and_yarn/karma-6.3.15
Bump karma from 6.3.12 to 6.3.15
2022-02-07 19:12:42 +01:00
Louis 4696e66e23 Merge pull request #31045 from nextcloud/dependabot/npm_and_yarn/query-string-7.1.1
Bump query-string from 7.1.0 to 7.1.1
2022-02-07 19:11:14 +01:00
acsfer 60f854f48c Add Postgres10 2022-02-07 17:02:27 +01:00
Joas Schilling 6dd60b6d30 Only allow avatars in 64 and 512 pixel size
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 16:47:51 +01:00
dependabot[bot] 7ec350736f Bump karma from 6.3.12 to 6.3.15
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.12 to 6.3.15.
- [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/v6.3.12...v6.3.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 14:33:07 +00:00
Louis eb34073419 Merge pull request #31027 from nextcloud/dependabot/npm_and_yarn/karma-coverage-2.1.1
Bump karma-coverage from 2.1.0 to 2.1.1
2022-02-07 15:29:47 +01:00
Vincent Petry a7925a6c47 Merge pull request #30973 from nextcloud/techdebt/noid/allow-spliting-activities-to-another-database
Allow specify a config prefix for another database connection
2022-02-07 15:16:32 +01:00
Louis 270c0a83d1 Merge pull request #31021 from nextcloud/dependabot/npm_and_yarn/core-js-3.21.0
Bump core-js from 3.20.3 to 3.21.0
2022-02-07 14:38:14 +01:00
Joas Schilling b8e0a3dbdd Use the new option to signaling insensitivity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +01:00
Joas Schilling 3fd55cb4df Allow sysadmins to define a maintenance window where heavier jobs can run
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +01:00
Joas Schilling b765f79368 Allow apps to specify if their background job can be delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 13:54:54 +01:00
howardZa 5c821c7136 Add SCHEME_NULL to list of allowed auth mechanism
Add Auth::Mechanism::SCHEME_NULL to list of allowed auth mechanism for AmazonS3 backend to allow attaching S3 storage to nextcloud instances running on already authorized instances (e.g. EC2 instances with IAM Instance roles)

Signed-off-by: Wolfram Gries <wolfram.gries@zapooflex.net>
2022-02-07 13:42:12 +01:00
Christoph Wurst 9a656e5b35 Move calendar resource/room backend registration to IBootstrap
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-07 12:51:42 +01:00
Simon L bb55b79837 Merge pull request #30995 from nextcloud/fix/currentFileList-is-incorrect-favorite-share-with-you
Fix bugs with incorrect currentFileList in the favorite and share by you view
2022-02-07 11:48:56 +01:00
acsfer 6563dd8656 Remove PGsql 9.6 (EOL) 2022-02-07 10:53:14 +01:00
dependabot[bot] 3fc61e9426 Bump core-js from 3.20.3 to 3.21.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.3 to 3.21.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.20.3...v3.21.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>
2022-02-07 09:38:38 +00:00
Joas Schilling e0dc82668f Merge pull request #31041 from nextcloud/bugfix/noid/fix-selecting-predefined-status
Fix selecting user status, clear time and app password scope
2022-02-07 09:54:40 +01:00
dependabot[bot] bdea8a0176 Bump karma-coverage from 2.1.0 to 2.1.1
Bumps [karma-coverage](https://github.com/karma-runner/karma-coverage) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/karma-runner/karma-coverage/releases)
- [Changelog](https://github.com/karma-runner/karma-coverage/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma-coverage/compare/v2.1.0...v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 08:40:59 +00:00
dependabot[bot] 1bb3ba0c3f Bump query-string from 7.1.0 to 7.1.1
Bumps [query-string](https://github.com/sindresorhus/query-string) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v7.1.0...v7.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-07 08:40:18 +00:00
Carl Schwan 53a1c3a84b Merge pull request #31020 from nextcloud/dependabot/npm_and_yarn/jsdoc-3.6.10
Bump jsdoc from 3.6.7 to 3.6.10
2022-02-07 09:39:50 +01:00
Carl Schwan 8747f3e87a Merge pull request #31019 from nextcloud/dependabot/npm_and_yarn/sass-1.49.7
Bump sass from 1.49.0 to 1.49.7
2022-02-07 09:39:20 +01:00
Carl Schwan 587a25de1e Merge pull request #31018 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.2
Bump webpack-cli from 4.9.1 to 4.9.2
2022-02-07 09:38:36 +01:00
Julius Härtl 415294e345 Add index for direct editing cleanup job
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-07 09:25:27 +01:00
Joas Schilling 40e141ee4a Fix selecting user status, clear time and app password scope
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-07 09:11:42 +01:00
Joas Schilling 26df2c596b Merge pull request #31009 from nextcloud/bugfix/noid/fix-missing-profile-js
Compile missing profile JS
2022-02-07 08:23:52 +01:00
Nextcloud bot ce1d7ff161 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-07 02:26:45 +00:00
acsfer 5d3739cddd Keep 10.4 to PHP8 2022-02-06 17:22:00 +01:00
acsfer e48726704d Don't use plain URL on the subject
Many servers classify emails with plain URLs on subject as spam, or can event reject/discard it completely. Don't use it and display Instance Name instead.

`550 5.2.0 GIuMngdpZqS9h Mail rejected. OFR_506 [506]`
2022-02-06 13:38:52 +00:00
acsfer db789c9983 Update .drone.yml
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-02-06 13:06:57 +01:00
acsfer c23b938358 Replace with 10.2 2022-02-06 10:23:30 +01:00
Nextcloud bot e872131ee5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-06 02:26:24 +00:00
Christian Paier 9476ce70ed Removes misleading error message in occ files:scan for new users.
Previously the occ files:scan command printed an error message for any
new users without any files/folders in the data directory.
With this change only users with any file/folder is scanned.

This fixes #25433.

Signed-off-by: Christian Paier <hallo+git@cpaier.com>
2022-02-05 23:54:56 +01:00
acsfer d1750dee05 Fix tests 2022-02-05 14:38:18 +01:00
Nextcloud bot 9c2db7f4e4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-05 02:26:33 +00:00
dependabot[bot] abf196354d Bump jsdoc from 3.6.7 to 3.6.10
Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.7 to 3.6.10.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.10/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.7...3.6.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-05 02:03:54 +00:00
dependabot[bot] efec7bcdc4 Bump sass from 1.49.0 to 1.49.7
Bumps [sass](https://github.com/sass/dart-sass) from 1.49.0 to 1.49.7.
- [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.49.0...1.49.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-05 02:03:51 +00:00
dependabot[bot] dc1df84c1d 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-02-05 02:03:30 +00:00
Carl Schwan 30e7489098 Merge pull request #30993 from nextcloud/fix/delegation-js-dist
Fix JS for delegation admin not being generated
2022-02-05 01:56:01 +01:00
Joas Schilling 5e8ef3c25b Compile missing profile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-04 18:38:59 +00:00
Simon L 88ded737ce Merge pull request #30984 from UmbrellaCodr/ffmpeg-preview
reduce 'Movie preview generation failed Output' log errors
2022-02-04 15:40:51 +01:00
acsfer 258515da6d Typo fix 2022-02-04 13:00:58 +01:00
acsfer 79629f0aaa Update drone
- Remove MariaDB 10.1 (EOL)
- Always test latest
2022-02-04 12:54:17 +01:00
Simon L 50f51b1782 Merge pull request #31003 from nextcloud/Valdnet-patch-3
l10n: Remove spaces
2022-02-04 11:11:52 +01:00
Valdnet 105169433e Update core/js/setupchecks.js
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>

Co-authored-by: Simon L. <szaimen@e.mail.de>
2022-02-04 10:17:08 +01:00
Valdnet e172eb09e0 l10n: Remove spaces
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-02-04 09:55:36 +01:00
Joas Schilling 82f602e857 Merge pull request #30354 from nextcloud/enhancement/talk-api
Add a Talk API for OCP
2022-02-04 09:54:13 +01:00
Joas Schilling 2f2538a57a Merge pull request #30888 from nextcloud/comments-interface
Update ICommentsManager with reaction methods
2022-02-04 09:38:04 +01:00
Christoph Wurst 2c356d0852 Add a Talk API for OCP
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-04 08:53:18 +01:00
Nextcloud bot 550dfe0ef1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-04 02:26:47 +00:00
UmbrellaCodr a0d7e27789 reduce 'Movie preview generation failed Output' log errors
for movies under 5 seconds

Signed-off-by: UmbrellaCodr <umbrella@biohazard.cc>

Update lib/private/Preview/Movie.php

Co-authored-by: Simon L. <szaimen@e.mail.de>
2022-02-03 17:52:37 -08:00
Simon L 68b2463107 Merge pull request #30990 from nextcloud/enh/noid/fulltextsearch-collection
FullTextSearch/IIndex: +getCollection(): string;
2022-02-04 00:18:17 +01:00
Simon L 772b3d38f3 Merge pull request #30974 from max65482/fix_bday_cal_update_issue
Fix: Birthday events missing after reimporting contacts
2022-02-04 00:16:25 +01:00
Simon L f2cd30df8d Merge pull request #30985 from rotdrop/bugfix/get-storage-info-unjail-shared-path
Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
2022-02-04 00:03:56 +01:00
Simon L 8d631a096a Merge pull request #30987 from nextcloud/enh/30962/show-mail-server-settings-in-overview
show if the mail server settings are not set or verified
2022-02-03 23:59:19 +01:00
Arthur Schiwon 2bf57cbab8 fix overwriting of SUCCESS and INVALID consts
- already defined in Symfony\Component\Console\Command\Command

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-02-03 23:12:51 +01:00
Carl Schwan 94b79c25f4 Merge pull request #30955 from nextcloud/fix/sticky-position
Fix position sticky declaration
2022-02-03 21:35:36 +01:00
szaimen 445ab85b01 add a test for wasEmailTestSuccessful
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:41:12 +01:00
szaimen fa1ee8f0c7 fix tests
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:41:12 +01:00
szaimen 84cf39f582 show if the mail server settings are not set or verified
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-02-03 20:16:35 +01:00
Carl Schwan ebec0a6b3e Fix bugs with incorrect currentFileList in the favorite and share by you
view

This was causing bugs when trying to create new template in this views

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-03 20:08:08 +01:00
John Molakvoæ 9005cd0837 Merge pull request #30937 from Brennii96/feature-app-version-sidebar 2022-02-03 18:02:18 +01:00
Carl Schwan 1ac1b1b593 Fix JS for delegation admin not being generated
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-03 18:00:12 +01:00
Julius Härtl 20f1971266 Merge pull request #30624 from nextcloud/theming/background-image
Avoid file system access on checking if an image exists
2022-02-03 17:38:29 +01:00
Brendan 7148b3f948 30937
Signed-off-by: Brendan <brendan.oneill96@hotmail.co.uk>
2022-02-03 17:24:05 +01:00
Brendan b7d9142ecf 30937
Signed-off-by: Brendan <brendan.oneill96@hotmail.co.uk>
2022-02-03 17:22:06 +01:00
Brendan 20e372f0fd Add app version to sidebar, mainly for mobile view as it disappears from list view
Signed-off-by: Brendan O'Neill brendan.oneill96@hotmail.co.uk
2022-02-03 17:22:06 +01:00
Joas Schilling 76541170bb Allow specify a config prefix for another database connection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-03 17:16:03 +01:00
Vitor Mattos 8ec7c5c8ae Update ICommentsManager with reaction methods
Fix psalm errors
Reorder methods and remove return null
Use best pattern on docblock

Goals: update https://github.com/ChristophWurst/nextcloud_composer/ with reaction methods.
The script
https://github.com/ChristophWurst/nextcloud_composer/blob/master/build.sh
only get lib/public classes

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-03 12:52:18 -03:00
Louis eb1927040f Merge pull request #30979 from nextcloud/fix/user-settings-menu-button-radius
Fix Actions trigger element when editing user
2022-02-03 14:39:14 +01:00
Julien Veyssier 63e755e1c8 change Actions trigger to <button> when editing user
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-02-03 12:50:24 +01:00
Maxence Lange 144e83520b +getCollection(): string;
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-02-03 10:35:06 -01:00
Claus-Justus Heine a355410b88 Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.
The current implementation already switches the storage-backend to
$storage->getSourceStorage(). However, it then calls
$rootInfo->getInternalPath() which returns the internal path relative to
the storage where the share is mounted. This is wrong, we need also to
unjail the path. Compare, e.g., with
OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the
"logic".

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2022-02-03 10:05:49 +01:00
Nextcloud bot e167d7f44c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-03 02:26:58 +00:00
Christian Paier 0942aed8db Show the parent folders in the breadcrumb menu when on a child entry.
Previously, clicking on an menu item in the breadcrumb menu removed the
parent entries of the path, i.e.:
Clicking on the "to" entry in "/path/to/some/folder" changed the
breadcrumb menu to show only the "/path/to" entries.
With this change the breadcrumb menu changes this behaviour as the full
path is still visible (and usable) but with the "to" entry beeing
highlighted.

Signed-off-by: Christian Paier <hallo+git@cpaier.com>
2022-02-02 21:19:23 +01:00
Maximilian Martin 33c698872b delete birthday calendar events permanently
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
2022-02-02 09:19:03 -05:00
Julius Härtl 3d0b5c1ff9 Avoid file system access on checking if an image exists
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-02-02 11:26:36 +01:00
Joas Schilling 5e5c31ea84 Merge pull request #30235 from nextcloud/bugfix/noid/primary-key-for-ratelimit-table
Add primary key for ratelimit table
2022-02-02 10:03:26 +01:00
Joas Schilling 2544ab48d4 Merge pull request #30940 from nextcloud/request-id-in-header
send request id in response header
2022-02-02 09:50:17 +01:00
Nextcloud bot e32090f44f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-02 02:27:10 +00:00
Robin Appelman 698a713904 use persistent connections when connecting to redis
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-01 18:14:59 +01:00
Louis 2c27ffd415 Merge pull request #30043 from ArcticFall/master
Add ability to rename Groups in the frontend
2022-02-01 15:37:30 +01:00
Robin Appelman c712987878 send request id in response header
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-02-01 14:24:01 +01:00
Carl Schwan 02da4ce1b0 Init user's file system if not existing on ownership transfer
This makes it a bit easier to transfer ownership when the new user
hasn't already logged in. This still doesn't support encrypted
storages because the keys are not generated yet.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-01 13:26:41 +01:00
Carl Schwan 16fc9eb9cc Fix position sticky declaration
Before the generated css was: "position: 'sticky'", now it is
position: sticky. Firefox considered the old value has invalid.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-02-01 13:26:29 +01:00
Louis Chemineau 78481e2e7c Add compiled files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall 398297b449 Add new component for the group list items.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall 849d3697d3 Add js methods for renaming a group.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
ArcticFall 1f80d767b4 Add ActionInput for renaming a group and corresponding method.
Signed-off-by: Martin Jänel <spammemore@posteo.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-02-01 12:54:55 +01:00
Côme Chilliet d635d58d19 Merge pull request #29286 from nextcloud/enhancement/drop-php-7-3
Drop PHP7.3
2022-02-01 10:50:28 +01:00
Nextcloud bot 16521e9f7c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-02-01 02:26:49 +00:00
Louis b47a42f935 Merge pull request #30926 from rotdrop/bugfix/settings-delegation-for-subadmins
Allow sub-admins to access delegated settings.
2022-01-31 16:55:53 +01:00
Louis 35b60511a1 Merge pull request #30907 from nextcloud/dependabot/npm_and_yarn/marked-4.0.12
Bump marked from 4.0.10 to 4.0.12
2022-01-31 16:46:04 +01:00
dependabot[bot] b46f42ab5d Bump marked from 4.0.10 to 4.0.12
Bumps [marked](https://github.com/markedjs/marked) from 4.0.10 to 4.0.12.
- [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/v4.0.10...v4.0.12)

---
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>
2022-01-31 14:46:52 +00:00
Louis 4d7bd5a7fc Merge pull request #30904 from nextcloud/dependabot/npm_and_yarn/karma-6.3.12
Bump karma from 6.3.11 to 6.3.12
2022-01-31 14:55:10 +01:00
Claus-Justus Heine a234217bb7 Allow sub-admins to access delegated settings.
Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2022-01-31 14:08:49 +01:00
dependabot[bot] f805873ff0 Bump karma from 6.3.11 to 6.3.12
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.11 to 6.3.12.
- [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/v6.3.11...v6.3.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 12:43:11 +00:00
Louis 84043da24f Merge pull request #30931 from nextcloud/dependabot/npm_and_yarn/puppeteer-13.1.3
Bump puppeteer from 13.1.1 to 13.1.3
2022-01-31 13:41:52 +01:00
Louis f79a30c8d0 Merge pull request #30903 from nextcloud/dependabot/npm_and_yarn/clipboard-2.0.9
Bump clipboard from 2.0.8 to 2.0.9
2022-01-31 13:40:46 +01:00
Louis f2abc3f9db Merge pull request #30934 from nextcloud/Valdnet-patch-2
l10n: Change l10n directory
2022-01-31 13:40:12 +01:00
Valdnet 62e7245fa3 i10n: Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-31 12:12:36 +01:00
Joas Schilling 85ca7cafba Merge pull request #30932 from nextcloud/nickvergessen-patch-1
Make fewer fields mandatory in the bug reporting
2022-01-31 12:02:37 +01:00
dependabot[bot] c823b472cd 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:02:10 +00:00
Joas Schilling 0a2e156605 Make less fields mandatory in the bug reporting 2022-01-31 11:14:00 +01:00
dependabot[bot] 9103c7f467 Bump puppeteer from 13.1.1 to 13.1.3
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.1.1 to 13.1.3.
- [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/v13.1.1...v13.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 09:35:53 +00:00
Louis c84c7654a7 Merge pull request #30905 from nextcloud/dependabot/npm_and_yarn/node-sass-7.0.1
Bump node-sass from 6.0.1 to 7.0.1
2022-01-31 10:34:19 +01:00
Louis 260a0dbc53 Merge pull request #30906 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.5
Bump dompurify from 2.3.4 to 2.3.5
2022-01-31 10:32:14 +01:00
John Molakvoæ ac2bc2384e Merge pull request #25418 from kaktuspalme/patch-1 2022-01-31 08:07:44 +01:00
Nextcloud bot 3770a5bf31 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-31 02:26:49 +00:00
dependabot[bot] 03a7fdc859 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 08:58:12 +00:00
Nextcloud bot 764e452ef6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-30 02:26:44 +00:00
Nextcloud bot 011042e56e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-29 02:27:43 +00:00
dependabot[bot] 03145038cb Bump node-sass from 6.0.1 to 7.0.1
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.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.1...v7.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-29 02:03:43 +00:00
Joas Schilling b59df35426 Make the DB query simpler (as we just deleted all other entries)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-28 16:55:17 +01:00
Joas Schilling fcb3e9a071 Add a primary key to ratelimit_entries table
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-28 16:55:16 +01:00
Joas Schilling e8c66d0f89 Merge pull request #30794 from nextcloud/techdebt/noid/allow-to-get-comments-with-verb
Allow to get comments with a given set of verbs
2022-01-28 16:41:42 +01:00
Carl Schwan c2f21b5b98 Merge pull request #30893 from nextcloud/automated/noid/psalm-baseline-update-1643343117
[Automated] Update psalm-baseline.xml
2022-01-28 15:02:24 +01:00
nextcloud-command 647a81fccb Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-28 04:11:57 +00:00
Nextcloud bot 4d98612bc8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-28 02:27:10 +00:00
John Molakvoæ 73e3d06781 Merge pull request #30855 from nextcloud/psalm/theming 2022-01-27 20:04:02 +01:00
Côme Chilliet 3231b3f49f Merge pull request #30886 from nextcloud/fix/fix-user-info-notfoundexception
Fixes occ user:info when the user never logged in
2022-01-27 18:11:58 +01:00
Vincent Petry 363bf208a0 Merge pull request #30876 from nextcloud/docs/deprecate_addScript
Add deprecation notice to script & addScript func
2022-01-27 17:34:13 +01:00
Carl Schwan 760db78dba Add better error handling
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 17:03:09 +01:00
Côme Chilliet 071ceff7e2 Fixes occ user:info when the user never logged in
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-27 16:33:24 +01:00
Carl Schwan f778cbe7b9 Fix registerEventListener issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-27 11:12:45 +01:00
Louis 34f425c150 Merge pull request #30858 from nextcloud/fix/ajax-list-dir-content-on-file
Return 404 when AJAX tries to list dir content but file given
2022-01-27 11:08:23 +01:00
Louis Chemineau 04c9de7312 Add deprecation notice to script & addScript func
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-27 11:04:30 +01:00
John Molakvoæ 3500d8b980 Merge pull request #30844 from nextcloud/feat/eol-check 2022-01-27 09:06:31 +01:00
John Molakvoæ deb735ed85 Prevent merging on EOL branches
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-27 09:05:30 +01:00
Nextcloud bot 9b9c2388b7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-27 02:27:26 +00:00
Louis 76b764058b Merge pull request #28561 from nextcloud/debt/use_sharing_constants_from_package
Use @nextcloud/sharing in files and files_sharing
2022-01-26 23:58:13 +01:00
Simon L d23de2653e Merge pull request #30832 from nextcloud/untrusted_domains_warning
Makes untrusted domain error a warning.
2022-01-26 18:28:17 +01:00
Simon L d50c84325d Merge pull request #30859 from nextcloud/iss-temp-fix
Issuetemplate - Small wording and formatting fixes
2022-01-26 18:24:53 +01:00
Louis Chemineau be968a8841 Use @nextcloud/sharing in files and files_sharing
Signed-off-by: Louis Chemineau <louis@chmn.me>

Update tests

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-26 17:58:43 +01:00
Joas Schilling fe6ceba03a Merge pull request #30822 from nextcloud/bugfix/29287/remove-create-function-calls
Remove createPluralFunction which is replaced by Symfony\Translations…
2022-01-26 16:31:21 +01:00
acsfer 0c1f240bd4 Small wording and formatting fixes
To be more clear and improve readability.
2022-01-26 16:21:22 +01:00
MichaIng ba1338e680 Return 404 when AJAX tries to list dir content but file given
Due to a code mistake, the expected 404 return when AJAX tries to list a directory content with a non-directory file path given, does not happen. It instead fails with another exception.

This commit restores the original intention to return 404 in the first place when passing a non-directory path with the "dir" parameter.

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-26 16:11:50 +01:00
Carl Schwan e3a12b3482 Fix psalm issues in theming app
After this change, we are down to only one psalm warning for this app
and related to the Application.php. This also make composer
psam:update-baseline not silently ignore new errors.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-26 14:26:58 +01:00
Louis a145edd00d Merge pull request #30846 from nextcloud/cs/fix_php_cs
Fix php:cs
2022-01-26 11:43:30 +01:00
Louis Chemineau 6220042788 Fix php:cs
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-26 10:47:16 +01:00
Nextcloud bot 936f9dc596 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-26 02:27:35 +00:00
Côme Chilliet 910e1aa8e6 Fix apache2 start command in .drone.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:16 +01:00
Côme Chilliet 540832e15e Fix PHP Notices in build/integration/features/bootstrap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +01:00
Côme Chilliet d3a8814d2e Fix docker images source
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +01:00
Côme Chilliet deeec1d16f Move all drone images to PHP 7.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:15 +01:00
Côme Chilliet 54c933769f Drop 7.3 from some CI steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 17:25:14 +01:00
Christoph Wurst 4259391162 Drop PHP7.3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-01-25 17:25:08 +01:00
Côme Chilliet e85ea0afaf Merge pull request #30831 from nextcloud/fix/dav-storage-hasupdated
Fix OC\Files\Storage\DAV::hasUpdated when cache is not set
2022-01-25 17:24:50 +01:00
Côme Chilliet 5cca86ce19 Remove redundant if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 16:53:35 +01:00
Côme Chilliet 35dcda36a3 Fix OC\Files\Storage\DAV::hasUpdated when cache is not set
Fixes the test OCA\Files_External\Tests\Storage\WebdavTest::testStat on
 PHP>=7.4

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-25 16:53:19 +01:00
Simon L 014ba75165 Merge pull request #30778 from nextcloud/new-issue-template
Supercharge Issues template
2022-01-25 10:39:51 +01:00
Pierre Ozoux e6d9ef2e38 Makes untrusted domain error a warning.
It sends a 400 to the client, so I could even argue that it should be an error.

But currently as an admin, I'm quiet surprised that I get a 400 in the UI, and nothing in the log with the default level.

I saw this commit that explains the reason why info. But I disagree.

Feel free to close the PR if you don't agree with it.

Signed-off-by: Pierre Ozoux <pierre@ozoux.net>
2022-01-25 10:33:31 +01:00
John Molakvoæ 272f4cd6df Merge pull request #30763 from nextcloud/feature/noid/allow-to-log-audit-to-syslog 2022-01-25 10:25:13 +01:00
Nextcloud bot 562c573005 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-25 02:27:30 +00:00
Côme Chilliet 4475658cc9 Merge pull request #30739 from nextcloud/enhancement/expose_config_getalluservalues
Add IConfig::getAllUserValues to get user settings for all applications
2022-01-24 12:48:13 +01:00
acsfer 5ec8085011 Move critical checkboxes to the top 2022-01-24 11:26:02 +01:00
Côme Chilliet ddae16d480 Add specific psalm-return for getAllUserValues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>

Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-24 11:16:44 +01:00
Côme Chilliet b0e6a10263 Use the new function in user:setting occ command
instead of direct database queries

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-24 11:16:44 +01:00
Côme Chilliet a6eb7dc676 Fix signatures and null $userId corner case
Configuration values are sometimes queried when there is no user in
 session, so $userId is null and we just want to return the default

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-24 11:16:44 +01:00
Côme Chilliet d630af4ca8 Add a new method getAllUserValues($userId) to IConfig
The method was already there in AllConfig but private

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-24 11:16:37 +01:00
acsfer 7460b3bbc1 Add DB options and backends as checkboxes 2022-01-24 10:54:35 +01:00
Louis 8e92b3d137 Merge pull request #30806 from nextcloud/dependabot/npm_and_yarn/exports-loader-3.1.0
Bump exports-loader from 1.1.1 to 3.1.0
2022-01-24 10:53:16 +01:00
Joas Schilling f03468342e Remove createPluralFunction which is replaced by Symfony\Translations lib
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-24 09:27:01 +01:00
Nextcloud bot 6e47104bb6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-24 02:26:40 +00:00
Nextcloud bot a45c17dfb1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-23 02:26:25 +00:00
John Molakvoæ 03c09cd58e Merge pull request #30803 from nextcloud/dependabot/npm_and_yarn/jquery-ui-1.13.1 2022-01-22 19:02:52 +01:00
dependabot[bot] 7107d91ef1 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-22 13:52:44 +00:00
John Molakvoæ 29413b9e3a Merge pull request #30805 from nextcloud/dependabot/npm_and_yarn/sass-1.49.0 2022-01-22 14:16:36 +01:00
John Molakvoæ 16b924934e Merge pull request #30802 from nextcloud/dependabot/npm_and_yarn/webpack-5.67.0 2022-01-22 14:15:40 +01:00
John Molakvoæ fffe4fc855 Merge pull request #30808 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.9.0 2022-01-22 14:08:54 +01:00
dependabot[bot] fea10250d2 Bump @nextcloud/axios from 1.8.0 to 1.9.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.8.0 to 1.9.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.8.0...v1.9.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>
2022-01-22 10:47:14 +00:00
John Molakvoæ d9e4e48868 Merge pull request #30795 from nextcloud/fix/smb-kerberos 2022-01-22 09:55:00 +01:00
John Molakvoæ 3192b3e2f2 Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +01:00
Nextcloud bot 9f489422b4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-22 02:26:35 +00:00
dependabot[bot] 6b6c5d09a4 Bump exports-loader from 1.1.1 to 3.1.0
Bumps [exports-loader](https://github.com/webpack-contrib/exports-loader) from 1.1.1 to 3.1.0.
- [Release notes](https://github.com/webpack-contrib/exports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/exports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/exports-loader/compare/v1.1.1...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 02:15:55 +00:00
dependabot[bot] 6a88e71d65 Bump sass from 1.48.0 to 1.49.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.48.0 to 1.49.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.48.0...1.49.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 02:15:15 +00:00
dependabot[bot] 2b3341ea72 Bump webpack from 5.66.0 to 5.67.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.66.0 to 5.67.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.66.0...v5.67.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-22 02:13:32 +00:00
Joas Schilling fccb98c8b6 Merge pull request #30379 from nextcloud/feature/add-comments-reactions
Add comments reactions
2022-01-21 15:08:12 +01:00
Joas Schilling d2833a6552 Fix typo in deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 14:34:45 +01:00
Joas Schilling 429380337f Fix fake manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 14:02:34 +01:00
Carl Schwan 9a32672c26 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-21 13:59:10 +01:00
Joas Schilling 1ceba64863 Allow to get comments with a given set of verbs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 13:42:04 +01:00
Vitor Mattos 1a1bdd9bc4 Fix affected unit test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 09:15:49 -03:00
Louis Chemineau ddbe62ae40 Compile frontend
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Louis Chemineau e101882b92 Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Louis Chemineau ed729c65de Adapt eslint ignore comment to silent error
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
dependabot[bot] eceebbb4ad Bump @nextcloud/eslint-config from 6.1.2 to 7.0.1
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud/eslint-config) from 6.1.2 to 7.0.1.
- [Release notes](https://github.com/nextcloud/eslint-config/releases)
- [Changelog](https://github.com/nextcloud/eslint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/eslint-config/compare/v6.1.2...v7.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Vitor Mattos 7bb01b6ccc Refactor and fixes on tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:40:29 -03:00
Vitor Mattos ab630f2cab Fix conflict
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:41 -03:00
Vitor Mattos b9f74584a1 Fix check after change from string to mb_string
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:41 -03:00
Joas Schilling c9f2f00777 Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 08:39:40 -03:00
Joas Schilling ecb98f772e Throw if trying to save reaction without support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 08:39:40 -03:00
Joas Schilling e0b89cd576 Only check mb_strlen()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 08:39:40 -03:00
Joas Schilling d850dc0220 Remove order from groupConcat as it is not working everywhere
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 08:39:39 -03:00
Joas Schilling 189f9f96ce Limit the summary and sort it afterwards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-21 08:39:39 -03:00
Vitor Mattos f071b4dfbb Fix groupConcat and ordering on Oracle
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:39 -03:00
Vitor Mattos f7cd995612 Order the reaction summary, improvements on validations
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:39 -03:00
Vitor Mattos 1ce894a50c Disable reactions if database don't support utf8mb4
Fix column size

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:39:37 -03:00
Vitor Mattos 52affa9ddd Skip if dont support 4 bytes UTF8
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:07 -03:00
Vitor Mattos b845042a67 Update composer autoload and change string to constant
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:07 -03:00
Vitor Mattos 898e87fe1a Rename vars and move logic to method
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:07 -03:00
Vitor Mattos 9a2736bbc9 Fix column size to work with Oracle. Add unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:07 -03:00
Vitor Mattos b6d9e0542d Fix column size to work with Oracle. Add unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:06 -03:00
Vitor Mattos 425b5cf081 Add unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:06 -03:00
Vitor Mattos afe5b6dd8a Prevent query error when use subquery
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:06 -03:00
Vitor Mattos a7c0868a4c Prevent violate constraint
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:06 -03:00
Vitor Mattos 1dda03e1b5 Rename vars
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:05 -03:00
Vitor Mattos 9efbc9c1d5 Add comments reactions
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-21 08:37:04 -03:00
Joas Schilling 17025d6f81 Merge pull request #30788 from nextcloud/automated/noid/psalm-baseline-update-1642738279
[Automated] Update psalm-baseline.xml
2022-01-21 12:05:49 +01:00
Simon L 492e73b47e re-add AIO
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-21 12:05:28 +01:00
John Molakvoæ 5c1154c7e7 Merge pull request #30789 from nextcloud/Valdnet-patch-2 2022-01-21 11:03:48 +01:00
acsfer 444aefd075 Title can't be empty 2022-01-21 10:31:30 +01:00
acsfer fe97ba8001 Require all fields 2022-01-21 10:28:03 +01:00
acsfer c2f463e70b Add default user-backend option 2022-01-21 10:19:56 +01:00
acsfer 6f8d35e0a4 Add new line 2022-01-21 10:10:46 +01:00
acsfer 91965df9e4 Add AIO option 2022-01-21 09:50:43 +01:00
acsfer 0a0da1470c Add LTS Wiki page 2022-01-21 09:46:15 +01:00
acsfer 08d1723c62 Update .github/ISSUE_TEMPLATE/BUG_REPORT.yml
Co-authored-by: Simon L. <szaimen@e.mail.de>
2022-01-21 09:37:41 +01:00
Joas Schilling 5ad7309c55 Merge pull request #30123 from nextcloud/rakekniven-patch-1
l10n: Add dot at the end of an sentence
2022-01-21 09:14:11 +01:00
Valdnet 31743438cd l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-21 08:17:19 +01:00
nextcloud-command 0d47336c64 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-21 04:11:19 +00:00
Nextcloud bot d2790f75c8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-21 02:26:59 +00:00
acsfer 26d1139212 Invert steps and expected behavior 2022-01-20 22:21:23 +01:00
acsfer 6dccdf9209 Typo on label
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2022-01-20 22:15:14 +01:00
John Molakvoæ a3dc813316 Merge pull request #29349 from nextcloud/enh/noid/filesext_kerberos_apache_auth 2022-01-20 20:10:40 +01:00
acsfer f8edb09aae Add bug reports only checkbox 2022-01-20 19:35:04 +01:00
acsfer e4b5a82132 Add Code of Conduct 2022-01-20 19:29:34 +01:00
acsfer 00a2410631 Supercharge bug reports template
More easy to fill, more accurate bug reports. :)
2022-01-20 19:19:40 +01:00
Robin Appelman 4fe70de132 Add test for samba kerberos sso in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 18:34:34 +01:00
Côme Chilliet 9b5245facf Merge pull request #30771 from nextcloud/fix/proppatch-convert-complex-properties
Convert properties value to string before passing them to database
2022-01-20 18:31:32 +01:00
Julien Veyssier 7f7980f35c Merge pull request #30770 from nextcloud/enh/logo-link-target-config
Allow changing the top-left logo link target in config.php
2022-01-20 18:02:37 +01:00
Côme Chilliet ff809410f8 Merge pull request #30769 from nextcloud/fix/memcached_clear
Always call flush() as getAllKeys() is broken
2022-01-20 16:30:26 +01:00
Robin Appelman a33e1dc5bb update icewind/smb to 3.5.2
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 16:09:41 +01:00
Robin Appelman 0bed61f949 update to release smb lib
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 16:08:55 +01:00
Robin Appelman a9619c3770 update icewind/smb to 3.5.1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-01-20 16:08:52 +01:00
Arthur Schiwon b391d5714f do not use deprecated query() method
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-20 16:08:48 +01:00
Arthur Schiwon a836aa34a6 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 16:08:44 +01:00
Arthur Schiwon a96d461988 add KerberosApacheAuth support to files_external
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-20 16:08:34 +01:00
Simon L 31af141879 Merge pull request #29846 from nextcloud/Valdnet-patch-2
l10n: Spelling unification
2022-01-20 15:50:37 +01:00
Julien Veyssier c0b6b78674 allow changing the top-left logo link target in system config
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-20 15:11:16 +01:00
Côme Chilliet 40cdc54ae8 Convert properties value to string before passing them to database
This avoids an error when passing a complex property to PROPPATCH under
 PHP >= 7.4.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-20 15:08:04 +01:00
Joas Schilling de9fe8fcc1 Merge pull request #30471 from nextcloud/enh/cast-char-mysql
Explicitly cast char in the query builder
2022-01-20 14:32:56 +01:00
Côme Chilliet 36d7c73e69 Always call flush() as getAllKeys() is broken
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-20 11:20:18 +01:00
Valdnet 0fb15e30a8 l10n: 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>
2022-01-20 09:56:30 +00:00
Louis a9b098eed5 Merge pull request #30703 from nextcloud/dependabot/npm_and_yarn/sass-loader-12.4.0
Bump sass-loader from 10.2.0 to 12.4.0
2022-01-20 10:30:42 +01:00
Valdnet 7c6f41ba7f l10n: Spelling unification in Transifex.
There should be no abbreviations in official sentences.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 10:14:37 +01:00
rakekniven 5bb2d9ceca l10n: Add dot at the end of an sentence
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-01-20 10:08:39 +01:00
Joas Schilling 497c5841fc Allow write audit log to syslog and systemdlog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-20 10:07:57 +01:00
John Molakvoæ 648ec6263a Merge pull request #30761 from nextcloud/Valdnet-patch-3 2022-01-20 09:57:46 +01:00
Valdnet 00b43cfa6b Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-20 08:30:59 +00:00
Valdnet ae8085fbf8 Change l10n directory
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 08:20:07 +00:00
Nextcloud bot 2aa56dc416 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-20 02:27:22 +00:00
dependabot[bot] 1287ffcea2 Bump sass-loader from 10.2.0 to 12.4.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.2.0 to 12.4.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.2.0...v12.4.0)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:development
  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>
2022-01-19 22:47:15 +00:00
Louis 588f9f92b4 Merge pull request #30707 from nextcloud/dependabot/npm_and_yarn/style-loader-3.3.1
Bump style-loader from 2.0.0 to 3.3.1
2022-01-19 23:31:37 +01:00
dependabot[bot] f0be9aa0a8 Bump style-loader from 2.0.0 to 3.3.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 2.0.0 to 3.3.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v2.0.0...v3.3.1)

---
updated-dependencies:
- dependency-name: style-loader
  dependency-type: direct:development
  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>
2022-01-19 17:17:15 +00:00
Louis 3e262c7e3a Merge pull request #30745 from nextcloud/fix/dont_use_deprecated_methods
Use less deprecated methods in base.php
2022-01-19 18:04:19 +01:00
Joas Schilling efd32abeca Revert 'DOMContentLoaded' change
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-19 17:12:43 +01:00
Joas Schilling 4c41abd816 Allow to get custom loggers for syslog, errorlog and systemdlog too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-19 16:15:14 +01:00
Joas Schilling 677b25b0d3 Merge pull request #30731 from nextcloud/bugfix/noid/help-debugging-bruteforce-attempts
Log bruteforce throttle and blocking
2022-01-19 12:38:23 +01:00
Louis Chemineau b46ff973e0 Use less deprecated methods in base.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-19 11:07:12 +01:00
John Molakvoæ 58798b835a Merge pull request #30738 from nextcloud/nickvergessen-patch-1 2022-01-19 10:18:06 +01:00
John Molakvoæ eb3cf6c5ec Merge pull request #30129 from nextcloud/mdb10.6-pipeline 2022-01-19 09:25:46 +01:00
Joas Schilling a41d27d8d2 Create block-merge-freeze.yml
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-19 09:19:13 +01:00
Nextcloud bot deca6117ba [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-19 02:27:39 +00:00
Carl Schwan 11b3e24377 Merge pull request #30735 from nextcloud/fix/tests-email
Fix tests with email templates
2022-01-18 21:43:37 +01:00
Carl Schwan 7619dceff4 Fix tests with email templates
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-18 20:56:50 +01:00
Louis 3d8d797137 Merge pull request #30718 from nextcloud/tests/use_npm7_for_autotest-js
Support npm 7 when running autotest-js.sh
2022-01-18 16:42:08 +01:00
Vincent Petry d6716ccb21 Merge pull request #30733 from nextcloud/bugfix/noid/fix-update-button
Load core before the update script
2022-01-18 16:28:49 +01:00
Carl Schwan 927e3b68e4 Merge pull request #30470 from nextcloud/enh/job-hashed
Hash job argument
2022-01-18 14:56:54 +01:00
Joas Schilling c8bfd8a559 Load core before the update script
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-18 14:55:13 +01:00
Julius Härtl 99b2cf8339 Add hashed attribute column for indexed job existence check
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-18 14:01:24 +01:00
Louis Chemineau bca3ef60a3 Move jsunit dependencies to main package.json
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:29:51 +01:00
Louis Chemineau c76eb85f0a Update dependencies
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:01 +01:00
Louis Chemineau f752888d91 Fix contactmenu tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:01 +01:00
Louis Chemineau 16ba294065 Migrate to npm 7 for autotest-js.sh
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-18 11:03:00 +01:00
Joas Schilling c6d000f87f Log bruteforce throttle and blocking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-18 10:10:19 +01:00
Nextcloud bot a7eefa293e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-18 02:45:20 +00:00
dependabot[bot] c154bfcf2d Merge pull request #30709 from nextcloud/dependabot/npm_and_yarn/webdav-4.8.0 2022-01-18 02:02:09 +00:00
dependabot[bot] 9ddb41ea7e Bump webdav from 4.7.0 to 4.8.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 4.7.0 to 4.8.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.7.0...v4.8.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>
2022-01-18 01:07:10 +00:00
Pytal 391f499531 Merge pull request #30704 from nextcloud/dependabot/npm_and_yarn/nextcloud/stylelint-config-2.1.2 2022-01-17 16:43:43 -08:00
MichaIng 95c85de395 Merge pull request #30632 from nextcloud/deps/unpin_webpack
Unpin webpack version
2022-01-17 23:37:19 +01:00
MichaIng bed24b73c1 Unpin webpack version
Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-17 21:10:07 +01:00
Julien Veyssier 3ea21d04d7 Merge pull request #30719 from nextcloud/fix/text-app-public-loading
Fix loading of the text app in public shared links
2022-01-17 19:00:31 +01:00
Louis 6640b2d521 Merge pull request #30705 from nextcloud/dependabot/npm_and_yarn/webpack-5.66.0
Bump webpack from 5.46.0 to 5.66.0
2022-01-17 18:17:52 +01:00
Carl Schwan d3d117c4a8 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 16:00:19 +01:00
dependabot[bot] 8300f44440 Bump webpack from 5.46.0 to 5.66.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.46.0 to 5.66.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.46.0...v5.66.0)

---
updated-dependencies:
- dependency-name: webpack
  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>
2022-01-17 14:41:41 +00:00
John Molakvoæ 789974528c Merge pull request #30714 from nextcloud/dept/package_lock_gitattributes 2022-01-17 14:47:57 +01:00
dependabot[bot] 66b729326d Merge pull request #30713 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.3 2022-01-17 13:43:59 +00:00
dependabot[bot] a7ed583e7e Bump core-js from 3.20.2 to 3.20.3
Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.2 to 3.20.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.20.2...v3.20.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>
2022-01-17 12:08:57 +01:00
Vincent Petry 4903cb8db4 Merge pull request #29866 from nextcloud/isset-size
Check if size value is set
2022-01-17 10:59:52 +01:00
Louis Chemineau 3996256562 Set package-lock.json as binaries
+ Remove build/package-lock.json from .gitignore

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-17 10:47:31 +01:00
Louis 8496fdfe7b Merge pull request #30653 from nextcloud/inc-man-btn
Increase email main buttons width for non-english languages
2022-01-17 10:36:21 +01:00
Louis 77143f088a Merge pull request #30706 from nextcloud/dependabot/npm_and_yarn/eslint-webpack-plugin-3.1.1
Bump eslint-webpack-plugin from 2.6.0 to 3.1.1
2022-01-17 10:29:51 +01:00
John Molakvoæ 396e5cbebb Merge pull request #30615 from nextcloud/enh/recommended-apps-installation 2022-01-17 09:16:20 +01:00
John Molakvoæ 1b86370dfe Merge pull request #30661 from nextcloud/fix/php-cs-dist 2022-01-17 08:42:56 +01:00
Nextcloud bot 7aedf86b8b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-17 02:25:52 +00:00
John Molakvoæ b1dbb0708a Remove .php_cs.dist 2022-01-16 10:22:09 +01:00
Nextcloud bot 174fc058c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-16 02:27:08 +00:00
dependabot[bot] 6dd8e2b698 Bump eslint-webpack-plugin from 2.6.0 to 3.1.1
Bumps [eslint-webpack-plugin](https://github.com/webpack-contrib/eslint-webpack-plugin) from 2.6.0 to 3.1.1.
- [Release notes](https://github.com/webpack-contrib/eslint-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/eslint-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/eslint-webpack-plugin/compare/v2.6.0...v3.1.1)

---
updated-dependencies:
- dependency-name: eslint-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:27:30 +00:00
Nextcloud bot 6d95afe6f1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-15 02:27:10 +00:00
dependabot[bot] d0bd117e27 Bump @nextcloud/stylelint-config from 2.1.1 to 2.1.2
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud/stylelint-config) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/nextcloud/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud/stylelint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/stylelint-config/compare/v2.1.1...v2.1.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-15 02:25:10 +00:00
Christopher Ng 22768769c3 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-14 19:59:46 +00:00
Julien Veyssier 206967a4fb Merge pull request #30645 from nextcloud/enh/internal-link-scroll-only
New Files internal link GET param to avoid opening the file
2022-01-14 17:54:02 +01:00
John Molakvoæ 6556508733 Merge pull request #29750 from nextcloud/bugfix/noid/dont-use-deprecated-method 2022-01-14 17:20:44 +01:00
Carl Schwan 890af1917e Merge pull request #29923 from alacn1/fix_basicauth_must_be_string
Fix users can't login external mount user entered credentials not set
2022-01-14 16:13:21 +01:00
Vincent Petry 14c60b10d0 Merge pull request #30275 from nextcloud/bugfix/noid/add-version-of-disabled-apps-when-available
Add version of disabled apps when available
2022-01-14 11:59:25 +01:00
Joas Schilling be216921d3 Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:33:55 +01:00
Carl Schwan 6264f5aef7 Merge pull request #30655 from nextcloud/fix/sizing-publi-download-page
Improve layout for the public download page
2022-01-14 11:28:53 +01:00
Joas Schilling 0c4aa19c31 Don't use the deprecated method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:28:26 +01:00
Julien Veyssier b67b4b160b [files] new internal link GET param to avoid setting 'openfile' on redirect
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-14 10:50:13 +01:00
Simon L 6a7b088adb Merge pull request #30363 from nextcloud/enh/noid/accessibility-settings-mobile
improve accessibility settings on mobile
2022-01-14 10:11:54 +01:00
Vincent Petry f9fb5f50dd Merge pull request #30614 from Marek-Wojtowicz/patch-1
Fix non-ascii characters present in the header
2022-01-14 09:55:09 +01:00
Vincent Petry cfafd79706 Merge pull request #30631 from nextcloud/fix/update_encrypted_version
updateEncryptedVersion: cleanup on target if cache already got renamed
2022-01-14 09:45:08 +01:00
John Molakvoæ 4adb60660f Merge pull request #30568 from nextcloud/fix/user_ldap-fix-long-dn-migration 2022-01-14 09:20:29 +01:00
Carl Schwan 46c0ceb59c Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-14 09:19:15 +01:00
John Molakvoæ 2c1eac665a Merge pull request #30530 from nextcloud/fix/search-url 2022-01-14 09:18:44 +01:00
John Molakvoæ fbb17f2288 Allow .php-cs-fixer.dist.php
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-14 09:05:41 +01:00
John Molakvoæ 6b610896ac Merge pull request #30656 from nextcloud/automated/noid/psalm-baseline-update-1642133494 2022-01-14 08:50:19 +01:00
nextcloud-command 64cdce14ec Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-01-14 04:11:34 +00:00
Nextcloud bot 88a6ac5b22 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-14 02:28:10 +00:00
Carl Schwan 2e55ce0899 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-13 19:18:15 +01:00
acsfer 6c6d66f888 Increase email main buttons width for non-english languages
Like "Set your password" (en) vs "Créer votre mot de passe" (fr)
2022-01-13 18:32:25 +01:00
John Molakvoæ 8d3a4856cb Fix wrong unified search link to folder
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-13 18:26:07 +01:00
Côme Chilliet 843b20c4e8 Remove useless indexes with duplicated names on backup table
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 17:21:26 +01:00
Carl Schwan 4432709092 Merge pull request #30597 from nextcloud/fix/30589/hide-hidden-file-dialog
Fix file picker not respecting hidden files settings
2022-01-13 16:50:02 +01:00
Louis ae95bda979 Merge pull request #30648 from nextcloud/fix/update_gitattributes
Update .gitattribute file
2022-01-13 16:15:14 +01:00
Louis Chemineau d5e4557859 Update .gitattribute file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-13 15:15:39 +01:00
Joas Schilling 61c261b1e7 Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-13 14:22:30 +01:00
Côme Chilliet 7e4e919408 Fix user_ldap migration for long DNs support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-13 14:06:59 +01:00
Côme Chilliet 23845755f2 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-13 14:06:59 +01:00
Côme Chilliet d4cabf8a84 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-13 14:06:58 +01:00
Côme Chilliet e64e08ecac 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-13 14:06:58 +01:00
Carl Schwan 992c26f8ed Merge pull request #30531 from nextcloud/performance/optimize-filesystemtags-flow-groupfolder
Optimize FileSystemTags workflow for groupfolder
2022-01-13 13:52:29 +01:00
Carl Schwan 1fa58be1aa 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>
2022-01-13 12:36:42 +01:00
Carl Schwan cbf9064b8e Fix psalm issues
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:30:27 +01:00
Carl Schwan 695165260f Add helper method in Wrapper
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:36 +01:00
Carl Schwan 0479fff37c The storage is not static anymore
Don't call twice $cache->getId

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 10:39:36 +01:00
Carl Schwan 1f392d666a 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-13 10:39:32 +01:00
Carl Schwan 89d109a4d9 Merge pull request #30508 from nextcloud/fix/psaml-bin
Fix psalm not running
2022-01-13 09:51:04 +01:00
Vincent Petry 7d5a63ab21 Merge pull request #30620 from nextcloud/bugfix/14897/fix-cancelling
Properly abort uploads
2022-01-13 09:26:46 +01:00
Carl Schwan b1048864f0 Merge pull request #30600 from nextcloud/fix/30595/idn-email-share
Fix idn emails not working in shares
2022-01-13 09:24:26 +01:00
Nextcloud bot 094fbb9c0d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-13 02:26:35 +00:00
Carl Schwan 6312c0df69 Check style update
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 00:19:07 +01:00
Marek-Wojtowicz f76a915096 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-12 23:07:28 +01:00
Carl Schwan fffc19f5c3 Fix types warnings from psalm
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:33:46 +01:00
Vincent Petry 11c7e100ae 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-12 20:21:12 +01:00
Vincent Petry 6c4d4d8bc4 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-12 20:21:12 +01:00
Carl Schwan aeecb72e96 Fix a few psalm issues and moved back to psalm/phar 4.18
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-12 20:03:06 +01:00
Louis 8d813219c0 Merge pull request #30605 from nextcloud/fix/remove_legacy_build_files
Clear dist folder during build
2022-01-12 15:56:23 +01:00
Louis 9ec76d35b6 Merge pull request #30606 from nextcloud/deps/drop_eslint-webpack-loader
Drop eslint-loader
2022-01-12 15:55:56 +01:00
Louis 2e1491771e Merge pull request #30572 from nextcloud/fix/lint_warnings
Fix lint warnings
2022-01-12 15:48:36 +01:00
Jonas Meurer a2f4c62c19 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-12 15:47:08 +01:00
Vincent Petry db9fbc9307 Merge pull request #30593 from nextcloud/bugfix/19048/fix-changedirectory-recommendations
Trigger "changeDirectory" event on URL change
2022-01-12 14:41:50 +01:00
Joas Schilling 0d0fcd316a Merge pull request #30625 from nextcloud/enh/jsconfig-theme-perf
Remove shortFooter/longFooter to avoid unnecessary navigation loading
2022-01-12 14:23:31 +01:00
Julius Härtl 55fd974926 Remove shortFooter/longFooter to avoid unnecessary navigation loading
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-12 12:16:39 +01:00
Louis 55cb608449 Merge pull request #30485 from nextcloud/fix/correctly_set_the_mtime_in_bulk_upload
Set the file's mtime from the headers in bulk upload
2022-01-12 11:57:23 +01:00
Louis Chemineau ae6a9807c8 Drop eslint-loader
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-12 11:34:58 +01:00
Vincent Petry 8c75fcfbb8 Merge pull request #30609 from nextcloud/fix/noid/request-url-cli-check
Fix RequestURL check for cli commands
2022-01-12 09:07:05 +01:00
Nextcloud bot 41529ec22d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-12 02:26:58 +00:00
Carl Schwan 7ecb65f725 Add check before sending email that email address is valid
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11 20:59:44 +01:00
Carl Schwan 08bf47a5de 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-11 19:45:07 +01:00
Pytal 2bc0749cb6 Merge pull request #30588 from nextcloud/bugfix/noid/fix-unset-scopes 2022-01-11 10:12:11 -08:00
Vincent Petry 809e305444 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-11 17:48:03 +01:00
Louis Chemineau bfdfafde79 Compile frontend to update license files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau 14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau bc47234e6b Remove legacy build files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:16:05 +01:00
Louis Chemineau 37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +01:00
Louis Chemineau 9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +01:00
Louis Chemineau d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
Louis Chemineau 69b8044b8f Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:10:14 +01:00
Louis Chemineau 2b1de9957c Clear dist folder during build
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 16:59:35 +01:00
Carl Schwan d4a5e480ab Fix idn emails not working in shares
Fix #30595

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-11 15:44:25 +01:00
MichaIng 796764aafd Merge pull request #30533 from nextcloud/fix/avoid-zero-division
Avoid zero division in setup checks
2022-01-11 13:39:02 +01:00
Joas Schilling c47406ad3c Merge pull request #30291 from nextcloud/image-memory-limit
Prevent loading images that would require too much memory.
2022-01-11 13:35:56 +01:00
blizzz b23934a45e Merge pull request #30569 from nextcloud/fix/userlang_firstlogin
Default to language from request in L10N\Factory->getUserLanguage()
2022-01-11 12:59:07 +01:00
Joas Schilling 172be810b8 Fix test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-11 12:54:41 +01:00
Joas Schilling bce7f09336 Merge pull request #30570 from nextcloud/rakekniven-branch3
Removed obselete language files - Pt. II
2022-01-11 11:56:56 +01:00
Joachim Bauch d3d65e5c88 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 11:44:38 +01:00
MichaIng 79cdb565dc Avoid zero division in setup checks
Fixes: https://github.com/nextcloud/server/issues/30532

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-11 10:26:57 +00:00
Louis 6c3e9822e6 Merge pull request #30582 from nextcloud/fix/streamline_clearing_static_state
Streamline reseting of private static properties
2022-01-11 11:22:48 +01:00
Louis Chemineau 25ade6218a Streamline reseting of private static properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 10:29:25 +01:00
Joas Schilling 3c84570901 Fix undefined/unset scope in account properties
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-11 10:15:06 +01:00
Nextcloud bot 7484abb6c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-11 02:27:07 +00:00
John Molakvoæ 5faba45e63 Merge pull request #30571 from nextcloud/fix/missing-jquery 2022-01-10 20:03:21 +01:00
Louis Chemineau 92e60caa86 Revert "Streamline reseting of private static properties"
This reverts commit e50121d4c0.
2022-01-10 18:42:07 +01:00
Louis Chemineau e50121d4c0 Streamline reseting of private static properties
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-10 17:34:48 +01:00
szaimen d11f235fa4 address 2nd review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-10 17:31:43 +01:00
szaimen cd6faf2624 address review
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-01-10 17:31:43 +01:00
szaimen 78cab4bfd1 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-10 17:31:43 +01:00
Vincent Petry db0414ad4c Merge pull request #30499 from nextcloud/bugfix/29941/remove-shareinfo-query-from-scanner
Remove inefficient fed share scanner
2022-01-10 16:42:23 +01:00
Vincent Petry 5c7ab1fdb1 Merge pull request #30565 from nextcloud/bugfix/30564/fix-mkdir-fail-when-keys-folder-exists
Fix fail when keys/files folder already exists
2022-01-10 16:42:02 +01:00
Vincent Petry 8954e51207 Merge pull request #30567 from nextcloud/bugfix/noid/npm-ci-for-karma
Use npm ci when running JS tests
2022-01-10 16:41:11 +01:00
Vincent Petry 6aba3964d3 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 15:08:03 +01:00
Azul 94554c4c0d 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-10 14:55:07 +01:00
Vincent Petry 82ded36358 Update node deps for JS tests
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-01-10 14:17:09 +01:00
rakekniven 2f6c7b68ab Removed obselete language files - Pt. II
For these files there are no associated languages setup at Transifex.

Fix for #30501

Related to nextcloud/docker-ci#341

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2022-01-10 14:07:14 +01:00
Jonas Meurer a6f0278e67 Default to language from request in L10N\Factory->getUserLanguage()
Try to get the language from request before falling back to the instance
default.

This fixes the detected user language during first login of a new user
and ensures that the returned language is consistent during the login.

Also partially fixes a bug with Collectives folder being initialized
in different languages at first login, see
https://gitlab.com/collectivecloud/collectives/-/issues/238

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-10 13:06:23 +01:00
Vincent Petry e96c003d49 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 12:00:16 +01:00
John Molakvoæ 6572f80102 Merge pull request #30561 from nextcloud/rakekniven-branch2 2022-01-10 11:43:24 +01:00
Vincent Petry ce31914314 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-10 11:33:28 +01:00
Vincent Petry be590df588 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>
2022-01-10 11:15:22 +01:00
Carl Schwan 91c7efaeb6 Merge pull request #30020 from nextcloud/feat/webpack-vendors-bundles
Feat/webpack vendors bundles
2022-01-10 09:41:18 +01:00
Nextcloud bot f71475de34 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-10 02:26:33 +00:00
rakekniven a47d23c1e4 Removed obselete language files
Those files are remnants of old languages after renaming, mapping or deleting.

Fix for #30501

Related to https://github.com/nextcloud/docker-ci/issues/341
2022-01-09 22:01:52 +01:00
Carl Schwan 9824104de5 Merge pull request #30468 from nextcloud/fix/handle-server-unavailable-scanner
Handle LocalServerException when scanning external shares
2022-01-09 18:37:29 +01:00
Nextcloud bot 74bfe61a49 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-09 02:26:25 +00:00
John Molakvoæ 79f14e8299 Use sync modifier with openMenu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-08 09:59:12 +00:00
Louis Chemineau 9ed12e8946 Bump p-queue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau d3661c7d38 Deprecate script function
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau 447cd553b6 Reset $scriptDeps in tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau 6f62c17a95 Detect app's script higher up as some scripts were shadowed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau 8a56713c38 Revert build/package-lock.json change
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:48 +01:00
Louis Chemineau db752fb557 Restore line in autotest-js
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau 9ee339d430 Fix undescore version
Reason: https://github.com/nextcloud/server/pull/27279
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau 19ed04dda1 Don't import $ in every file that needs it
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau cd53bc8e22 Fix webpack version
Reason: https://github.com/webpack/webpack/pull/14628
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau a6874aa7ce Compile bundle
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:45 +01:00
John Molakvoæ (skjnldsv) 26fb63d81f Fix node test
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv) dd7bf0f902 Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv) 806a176a57 Move backgroundjob script after main core scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
Louis Chemineau 1261fa5384 Adapt test to new dist file layout
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv) fc536de25c Ensure mapfile consistency
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:52 +01:00
John Molakvoæ (skjnldsv) 87d0904b6f Split common vendor chunk
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:50 +01:00
John Molakvoæ (skjnldsv) 74b9803108 Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
John Molakvoæ (skjnldsv) 85bc851355 Delete outdated bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:13:13 +01:00
Louis Chemineau be595a4187 Copy core/webpack config into common config
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:48 +01:00
Louis Chemineau adfb9010d4 Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +01:00
Louis Chemineau f8f09bff04 Restore some line in JSResourceLocator.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Louis Chemineau b312db382d Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
John Molakvoæ (skjnldsv) b664aad7ab Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:11:58 +01:00
Louis Chemineau 8ee7c20e4d Use rootModule when module is concatenated
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Louis Chemineau 5a51a6b3e5 Remove iedavclient from entry list
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
John Molakvoæ (skjnldsv) 2b7e85b11d Remove old configs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:11:58 +01:00
John Molakvoæ (skjnldsv) 7f20d59f9c Merge all configs into one
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:11:57 +01:00
dependabot[bot] fd25252deb Merge pull request #30543 from nextcloud/dependabot/npm_and_yarn/nextcloud/stylelint-config-2.1.1 2022-01-08 07:24:14 +00:00
dependabot[bot] 6b5d8d01d7 Merge pull request #30542 from nextcloud/dependabot/npm_and_yarn/sass-1.47.0 2022-01-08 07:22:09 +00:00
dependabot[bot] d794b29fcd Merge pull request #30540 from nextcloud/dependabot/npm_and_yarn/camelcase-6.3.0 2022-01-08 07:17:48 +00:00
dependabot[bot] f219dc68c4 Bump @nextcloud/stylelint-config from 2.0.1 to 2.1.1
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud/stylelint-config) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/nextcloud/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud/stylelint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/stylelint-config/compare/v2.0.1...v2.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-08 03:12:18 +00:00
dependabot[bot] 81612f3dbb Bump sass from 1.45.2 to 1.47.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.45.2 to 1.47.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.45.2...1.47.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-08 03:11:54 +00:00
dependabot[bot] afc93548e2 Bump camelcase from 6.2.1 to 6.3.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.2.1 to 6.3.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.1...v6.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-08 03:11:07 +00:00
Nextcloud bot c7ab34a459 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-08 02:26:27 +00:00
Joas Schilling 55986382e8 Merge pull request #30378 from nextcloud/feature/accept-multiple-args-on-concat
Accept multipe args on concat
2022-01-07 12:16:46 +01:00
blizzz e65431d049 Merge pull request #30491 from nextcloud/fix/30374/email-verification
Fix email verification
2022-01-07 11:46:12 +01:00
blizzz 1a235f5baf Merge pull request #30511 from nextcloud/updateCrl
update CRL after revocation of sharerenamer.crt
2022-01-07 11:33:37 +01:00
Joas Schilling cc9de3fbef Merge pull request #30284 from nextcloud/Valdnet-patch-1
l10n: Separate words and add dots
2022-01-07 10:20:05 +01:00
Vitor Mattos f732cf1b04 Unit tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-07 09:54:41 +01:00
Nextcloud bot a781133437 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-07 02:28:02 +00:00
Christopher Ng 19a3656fd9 Fix email verification
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-06 23:47:42 +00:00
blizzz 08701853ed Merge pull request #30352 from nextcloud/fix/translit-php8/tests2
Remove iconv from further tests
2022-01-06 23:58:01 +01:00
Carl Schwan 0b15da3c25 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-06 18:03:21 +01:00
Vitor Mattos 04033b6169 Update crl
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-06 12:18:06 -03:00
Julien Veyssier 9b2e60e2d1 Merge pull request #30509 from nextcloud/weather-round-temperature
Integer temperatures in weather widget
2022-01-06 16:07:05 +01:00
Carl Schwan 47c9c34cca 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-06 14:42:37 +01:00
Julien Veyssier e497b30744 [weather widget] only display integer temperatures
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-06 14:10:18 +01:00
Vitor Mattos 814924a787 Accept multipe args on concat
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-06 08:12:10 -03:00
blizzz 63a9bc2aac Merge pull request #29859 from nextcloud/fix/user_ldap-test-config
Improve ldap:test-config occ command
2022-01-06 11:44:35 +01:00
Julien Veyssier 331edaf445 Merge pull request #30496 from nextcloud/enh/23399/current-weather
Show current weather and forecast in the weather widget
2022-01-06 10:52:45 +01:00
Nextcloud bot 1acbdf2d2d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-06 02:28:21 +00:00
Valdnet 85444605d3 One more test fix
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-05 19:00:28 +01:00
Valdnet 8382e5ebb3 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-05 18:02:14 +01:00
Valdnet ee60736d33 Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-05 17:58:16 +01:00
Julien Veyssier 416e4a35bc factorization in weather widget
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-05 17:24:28 +01:00
Julien Veyssier 3f7ab0ca83 [weather widget] refs #23399 #30436 show current weather and forecast
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-01-05 17:24:28 +01:00
Joas Schilling 773c407965 Merge pull request #29921 from nextcloud/feature/noid/allow-to-count-commments-with-multiple-verbs
Allow to count comments with multiple verbs
2022-01-05 13:44:07 +01:00
Joas Schilling f9b06def78 Merge pull request #30492 from nextcloud/bugfix/noid/fix-parameter-passing
Fix passing on the parameter
2022-01-05 12:06:03 +01:00
Joas Schilling 03abaaaee5 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-05 11:53:33 +01:00
Joas Schilling 66b1963b6e Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-05 09:30:20 +01:00
Nextcloud bot d232dc85ff [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-05 02:27:38 +00:00
Joas Schilling 977d8479e3 Merge pull request #30393 from nextcloud/feature/add-group-concat-aggregator-function
Add group_concat aggregator function
2022-01-04 17:34:37 +01:00
Joas Schilling eebed2c434 Fix psalm complaint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 17:32:07 +01:00
Joas Schilling 2ad566af63 Merge pull request #30469 from nextcloud/work/cleanup-external-share-apidoc
Improve api documentation/type hinting for file sharing external storage
2022-01-04 17:18:33 +01:00
Joas Schilling 8dd65ebd05 Merge pull request #29780 from nextcloud/bugfix/noid/run-migrations-fuly-on-reenabling
Run migrations fully when reenabling an app
2022-01-04 17:16:57 +01:00
Julius Härtl a169ca306e Explicitly cast char in the query builder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-04 16:53:00 +01:00
Joas Schilling 005e717fe6 Use quote function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 13:59:54 +01:00
Joas Schilling ecc92067bf Try escaping Oracle single quotes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 13:36:55 +01:00
Côme Chilliet 59862f7175 Improve ldap:test-config occ command
Test a search on the base, as the settings wizard is doing.
This is to avoid the wizard saying the base is wrong and the command
 saying everything is fine.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-01-04 12:17:58 +01:00
John Molakvoæ 130d3bd8d3 Merge pull request #30423 from nextcloud/fix/grid-drop-text 2022-01-04 09:44:03 +01:00
Julius Härtl 16fc0da58c Merge pull request #30358 from nextcloud/bugfix/noid/job-disabled 2022-01-04 09:21:07 +01:00
Joas Schilling 46ad6fa3c7 Add a test with integer
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 09:15:17 +01:00
Nextcloud bot 60e82f61c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-04 02:27:33 +00:00
Joas Schilling e3e73a12ef Fix oracle LISTAGG
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-03 21:43:53 -03:00
Joas Schilling 43fa2d5c8c Test with real data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-03 21:43:51 -03:00
Vitor Mattos fb6a9f308d Add unit test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 21:41:38 -03:00
Vitor Mattos 7b9fea85b6 Add unit test and orderBy parameter
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 12:45:00 -03:00
Julius Härtl b30193ed14 Reset job disabling timer on adding the job again
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-03 12:12:02 +01:00
Louis 5ae544b704 Merge pull request #30452 from nextcloud/fix/missing_showGridView
Restore innocent code from IE purge
2022-01-03 11:58:49 +01:00
Vitor Mattos 79b3df00f8 Add group_concat aggregator function
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-01-03 07:48:11 -03:00
Louis Chemineau e7026c0f57 Restore innocent code from IE purge
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-03 10:50:43 +01:00
Carl Schwan 33051667ce Improve api documentation for file sharing external storage
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-03 10:41:40 +01:00
Julius Härtl eb65e653d3 Merge pull request #30401 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-13.0.1 2022-01-03 08:31:04 +01:00
Nextcloud bot 8057615ce7 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-03 02:27:36 +00:00
dependabot[bot] cf3db1a54b Bump puppeteer from 13.0.0 to 13.0.1 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 13.0.0 to 13.0.1.
- [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/v13.0.0...v13.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 01:46:23 +00:00
dependabot[bot] 576cb84bce Merge pull request #30461 from nextcloud/dependabot/npm_and_yarn/build/node-sass-7.0.1 2022-01-03 01:45:03 +00:00
dependabot[bot] a76c86582f Bump node-sass from 7.0.0 to 7.0.1 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 7.0.0 to 7.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/v7.0.0...v7.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>
2022-01-03 02:09:47 +01:00
dependabot[bot] ceb803f0d1 Merge pull request #30404 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.1 2022-01-01 19:37:47 +00:00
dependabot[bot] b0345e2a16 Bump core-js from 3.20.0 to 3.20.1
Bumps [core-js](https://github.com/zloirock/core-js) from 3.20.0 to 3.20.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.20.0...v3.20.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>
2022-01-01 19:01:12 +00:00
dependabot[bot] f6d713028b Merge pull request #30459 from nextcloud/dependabot/npm_and_yarn/sass-1.45.2 2022-01-01 05:24:57 +00:00
Nextcloud bot 3d923f232a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-01-01 02:27:10 +00:00
dependabot[bot] afe0620058 Bump sass from 1.45.1 to 1.45.2
Bumps [sass](https://github.com/sass/dart-sass) from 1.45.1 to 1.45.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.45.1...1.45.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-01 02:02:37 +00:00
MichaIng faeeb03020 Remove iconv from further tests
as of: https://github.com/nextcloud/server/pull/29470

Some tests were missing in: https://github.com/nextcloud/server/pull/29958

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-31 17:32:43 +01:00
Julius Härtl 2c50f85e2f Merge pull request #30409 from nextcloud/bugfix/composer-plugin 2021-12-31 09:21:03 +01:00
Nextcloud bot 56309b789d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-31 02:27:32 +00:00
Simon L adedb29563 Merge pull request #30420 from nextcloud/enh/noid/improve-status-modal
improve status modal
2021-12-30 19:14:16 +01:00
Julius Härtl e40828d975 Merge pull request #30440 from nextcloud/fix/noid/templatePicker-fileInfoModel 2021-12-30 14:54:11 +01:00
Julius Härtl aeab52362a Ignore composer/bin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-30 13:57:56 +01:00
szaimen 3c9b6f6809 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 12:25:54 +00:00
Julius Härtl b6a26007aa Allow using composer plugin with composer 2.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-30 11:28:33 +00:00
Julien Veyssier 4d32f11ad0 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 10:09:33 +00:00
Carl Schwan 223ae801fe Merge pull request #30441 from nextcloud/techdebt/generic-user-status-mapper
Make the UserStatusMapper a generic instance of QBMapper
2021-12-30 11:00:53 +01:00
John Molakvoæ bfaeb6ae64 Merge pull request #29531 from nextcloud/bugfix/noid/flow-auth-v2-apptoken 2021-12-30 08:14:23 +01:00
Nextcloud bot bf6388ef2d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-30 02:28:02 +00:00
Julius Härtl 73cf2394a3 Merge pull request #30296 from nextcloud/enhancement/strict-2fa-middleware 2021-12-29 18:23:32 +01:00
Carl Schwan 910f05ae25 Merge pull request #30353 from nextcloud/fix/localhost-external-share
Handle external share with invalid host
2021-12-29 17:44:51 +01:00
Christoph Wurst 8eee11e57e Merge pull request #30385 from nextcloud/fix/30278/sort_algorithm
Sort app scripts topologically by its dependencies
2021-12-29 17:23:45 +01:00
Jonas Meurer 491bd6260c Sort app scripts topologically by its dependencies
Implement a proper topological sorting algorithm. Based on the
implementation by https://github.com/marcj/topsort.php

Logs an error in case a circular dependency is detected.

Fixes: #30278

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-29 16:40:05 +01:00
Christoph Wurst 6ef63d27a8 Make the UserStatusMapper a generic instance of QBMapper
This removes our manual overrides and helps static analysis.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 15:40:06 +01:00
Julius Härtl a37909f61c Merge pull request #29530 from nextcloud/bugfix/noid/username-prefill 2021-12-29 14:58:35 +01:00
Julius Härtl de2b86a7a4 Merge pull request #28542 from nextcloud/enh/s3-put-limit 2021-12-29 14:57:12 +01:00
Louis 867e7c533a Merge pull request #30400 from nextcloud/dependabot/npm_and_yarn/marked-4.0.8
Bump marked from 4.0.7 to 4.0.8
2021-12-29 14:52:20 +01:00
Julius Härtl 2aac757805 Make max size for single put uploads configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 13:30:22 +01:00
Julius Härtl e00173a71b Also pass user on flow v2 landing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:31 +01:00
Julius Härtl 61dd1d3d97 Pass username prefill through unauthenticated request redirects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:31 +01:00
Julius Härtl 8eab1fedfe Properly apply the username prefill
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:28 +01:00
Joas Schilling acaf214b67 Run migrations fully when reenabling an app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-29 11:29:41 +01:00
dependabot[bot] 0bc4e424e3 Bump marked from 4.0.7 to 4.0.8
Bumps [marked](https://github.com/markedjs/marked) from 4.0.7 to 4.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/v4.0.7...v4.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-12-29 09:57:00 +00:00
Julius Härtl 0f9dff1683 Merge pull request #30403 from nextcloud/dependabot/npm_and_yarn/jquery-ui-dist-1.13.0 2021-12-29 10:44:55 +01:00
John Molakvoæ c67d428acd Merge pull request #30413 from nextcloud/fix/app-authors-with-homepage 2021-12-29 08:57:13 +01:00
Julius Härtl a8340452b5 Merge pull request #30402 from nextcloud/dependabot/npm_and_yarn/sass-1.45.1 2021-12-29 08:53:06 +01:00
dependabot[bot] 95148ebf46 Bump sass from 1.45.0 to 1.45.1
Bumps [sass](https://github.com/sass/dart-sass) from 1.45.0 to 1.45.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.45.0...1.45.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-29 00:48:12 +00:00
Christoph Wurst 89dce4bcba Add the Groupware Team as contactsinteraction co-maintainer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-28 16:32:03 +01:00
Christoph Wurst 91916a01a4 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>
2021-12-28 16:30:18 +01:00
John Molakvoæ e0b02c095a Fix uploading text position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-28 15:18:03 +01:00
Julius Härtl 23985b6323 Merge pull request #30392 from nextcloud/fix/missing-properties-propertypath-index 2021-12-28 13:22:53 +01:00
Julius Härtl 6f986519fe Merge pull request #28610 from nextcloud/enh/preview-cleanup-query 2021-12-28 13:20:02 +01:00
John Molakvoæ 66ca9baed2 Merge pull request #29948 from nextcloud/enh/webdav-creationdate 2021-12-28 10:13:38 +01:00
Nextcloud bot 6e906dedc6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-28 02:27:39 +00:00
dependabot[bot] bba0dc44f0 Bump jquery-ui-dist from 1.12.1 to 1.13.0
Bumps [jquery-ui-dist](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-dist
  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-12-27 21:22:54 +00:00
John Molakvoæ e6c6555cb1 Merge pull request #30364 from nextcloud/enh/noid/improve-personal-settings-mobile 2021-12-27 10:58:02 +01:00
Nextcloud bot e027d2bec6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 02:27:18 +00:00
Nextcloud bot 87eda567e3 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 02:27:18 +00:00
Nextcloud bot b3eaec8a8e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-24 02:29:10 +00:00
Christoph Wurst ed84f07784 Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-23 15:51:50 +01:00
szaimen 70feadafb4 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-23 11:08:49 +00:00
Julius Härtl 29dffd7e7f Merge pull request #30370 from nextcloud/lint/fix-s3connectiontrait
Fix php-cs for S3ConnectionTrait.php
2021-12-23 09:03:21 +01:00
Nextcloud bot 10dca27cfe [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 02:27:47 +00:00
Greta a5953c3167 Merge pull request #30338 from quentinguidee/refine-settings-groupware
Fix groupware visual issue and improve spacing
2021-12-22 14:08:29 +01:00
Carl Schwan e8e8ad22a1 Merge pull request #30371 from quentinguidee/refine-devices-sessions-table
Devices & sessions: fix misaligned header
2021-12-22 10:02:40 +01:00
Nextcloud bot 7d1d03d5eb [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:07 +00:00
Quentin Guidée de5743cfb7 Devices & sessions: fix misaligned header
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-21 23:21:14 +01:00
Julius Härtl e475dfe16c Fix php-cs for S3ConnectionTrait.php
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-21 21:35:46 +01:00
John Molakvoæ 0b01103137 Merge pull request #28438 from csware/issue-1649 2021-12-21 15:10:50 +01:00
Julius Härtl 1acfbd0b06 Merge pull request #27493 from cuppett/cuppett/simplify-aws-credential-provider 2021-12-21 11:58:52 +01:00
Julius Härtl d73fe0ccd9 Merge pull request #29879 from nextcloud/bugfix/noid/sharing-enumeration-addressbooks 2021-12-21 08:11:04 +01:00
John Molakvoæ 577fb0fcba Merge pull request #30305 from nextcloud/fix-persistent-tooltip-in-the-new-folder-input-of-the-file-picker 2021-12-21 08:03:11 +01:00
Nextcloud bot 0cba1072c0 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:27:52 +00:00
Quentin Guidée 4449cabee6 Fix groupware visual issue: compile js files
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 20:23:33 +01:00
Daniel Calviño Sánchez 3fa91ecf68 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>
2021-12-20 20:14:39 +01:00
MichaIng 59290060c7 Merge pull request #30128 from nextcloud/fix/bump-sabre/vobject-to-4.4.1
Bump sabre/vobject to 4.4.1
2021-12-20 18:52:18 +01:00
John Molakvoæ c0cfd237ab Merge pull request #30299 from nextcloud/fix/log_files 2021-12-20 17:27:05 +01:00
Côme Chilliet 057dcb567a Bump sabre/vobject to 4.4.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-20 16:36:46 +01:00
Carl Schwan 52760a95d9 Check if directoy is writable instead of possibly missing file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-20 15:36:52 +01:00
John Molakvoæ a567f5d7b5 Merge pull request #30279 from nextcloud/fix/30278/script_deps 2021-12-20 15:29:33 +01:00
Carl Schwan 325be6627b 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-20 15:28:14 +01:00
Quentin Guidée 314c324a93 Fix groupware visual issue: remove useless additional class
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 12:11:04 +01:00
Jonas Meurer 822daa3c64 Further improve addScript logic, migrate to uksort()
Instead of the logic with `first` and `last`, store dependencies in an
own array and sort the scripts topologically by its dependencies later.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:45:05 +01:00
Jonas Meurer 8dd119402a Improve unit testing for Util::addScript() and Util::getScript()
Instead of checking for a predefined order of the scripts, test the
logic: core first, dependencies before their children, no duplicates and
all scripts still listed.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:17 +01:00
Jonas Meurer 7ec1317b1b Sort app scripts by dependencies (Fixes: #30278)
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-20 11:40:10 +01:00
Quentin Guidée 2ef3a87a46 Fix groupware visual issue and improve spacing
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
2021-12-20 11:02:36 +01:00
Louis e60ae8aaf2 Merge pull request #30322 from nextcloud/enh/noid/fix-help-settings-overlapping
fix overlapping in the help settings section
2021-12-20 10:27:38 +01:00
John Molakvoæ b5ae67ac2a Merge pull request #29329 from nextcloud/fix/noid/groups-unwarranted-members 2021-12-20 10:07:55 +01:00
Valdnet 5cb51916de l10n: Add a text string to translation
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-20 08:52:12 +01:00
Nextcloud bot dcc6dfaafa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:29:39 +00:00
MichaIng e56d1dd02b Merge pull request #27403 from nextcloud/enh/opcache-usage-based-recommendations
Enhance and complement OPcache setup checks
2021-12-20 01:07:34 +01:00
MichaIng 82c1beaacb 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-19 23:38:21 +01:00
MichaIng d98e31a872 Merge pull request #30218 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-13.0.0
Bump puppeteer from 12.0.1 to 13.0.0 in /build
2021-12-19 19:08:59 +01:00
dependabot[bot] bd643b169c Bump puppeteer from 12.0.1 to 13.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 12.0.1 to 13.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/v12.0.1...v13.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-12-19 14:15:52 +01:00
MichaIng 705494a821 Merge pull request #30304 from nextcloud/automated/noid/psalm-baseline-update-1639714304
[Automated] Update psalm-baseline.xml
2021-12-19 04:56:10 +01:00
Nextcloud bot b72a85b59b [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:19 +00:00
dependabot[bot] de12815b6a Merge pull request #30324 from nextcloud/dependabot/npm_and_yarn/core-js-3.20.0 2021-12-18 16:26:36 +00:00
dependabot[bot] 712f3e1311 Bump core-js from 3.19.3 to 3.20.0
Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.3 to 3.20.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.19.3...v3.20.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-12-18 15:42:58 +00:00
dependabot[bot] 08e6a2bdb0 Merge pull request #30326 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.3.0 2021-12-18 05:46:09 +00:00
dependabot[bot] b1912ae7d2 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:08:53 +00:00
Nextcloud bot 454fd68437 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:28 +00:00
szaimen 526f2a140f fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-17 21:35:46 +01:00
Christoph Wurst 4b36f9d92f Merge pull request #30130 from nextcloud/fix/config_is_read_only
Don't write to config file if `config_is_read_only` is set
2021-12-17 14:39:40 +01:00
Vincent Petry e231338876 Merge pull request #30281 from nextcloud/bugfix/30280/fix-confused-notifier-with-null-group
Ignore non-existing groups when notifying group shares
2021-12-17 08:01:55 +01:00
nextcloud-command be219153dd Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-17 04:11:44 +00:00
Nextcloud bot 194981318c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:28:52 +00:00
azul f001cc73e7 Merge pull request #30119 from nextcloud/bugfix/noid/direct-editor-translation
Use proper translation source for direct editing
2021-12-16 19:09:59 +01:00
Azul 8535dc4255 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 16:30:50 +01:00
Côme Chilliet 9a37ca9b48 Merge pull request #29862 from nextcloud/fix/support-php-8.1-2
Support PHP 8.1 - Second batch
2021-12-16 14:24:47 +01:00
Christoph Wurst df908c728a Enable strict types for the 2FA middleware
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-16 13:58:25 +01:00
Joas Schilling 1fdc97bb13 Merge pull request #30283 from nextcloud/enhancement/two-factor-code-owners
Specify code owners for 2FA
2021-12-16 13:37:54 +01:00
Vincent Petry 6c424fb9fc Merge pull request #30111 from nextcloud/enh/29973/option-disallow-local-storage
Add option to disallow creation of local storages
2021-12-16 11:12:31 +01:00
Côme Chilliet c3a1a66eae Avoid deprecation warnings about libxml_disable_entity_loader in PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 10:35:03 +01:00
Côme Chilliet ec4fff20e8 Avoid Deprecation warning from Zip tests on PHP 8.1
It is not allowed anymore to open an empty file as a new zip archive.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:58:40 +01:00
Côme Chilliet e053feb5db Fix PHP deprecation warning in File/ViewTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:32 +01:00
Côme Chilliet 72baee9698 Allow minor release of PHP 8.1 to be used as well
No reason to allow 8.1.0 and not 8.1.1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet 4f7b9cc6b2 Add 8.1 tests to CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet 743267eba4 Fix LDAP related docblocks types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:31 +01:00
Côme Chilliet 24e9a29b3c Add PHP 8.1 LDAP classes to ignored missing classes in psalm for docblocks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet dc8b79c4d2 Fix OCA\Settings\Tests\Settings\Admin\SharingTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet f3dcbfe146 Fix PHP 8.1 support for user_ldap application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:30 +01:00
Côme Chilliet 37f8f7a5a1 Fix tests on PHP 8.1 for encryption, files_sharing, files_version,
files_trashbin and theming apps

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +01:00
Côme Chilliet 6b770eb579 Fix theming tests on PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:29 +01:00
Côme Chilliet 260be93a14 Allow running Nextcloud with PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-16 09:43:22 +01:00
John Molakvoæ 55219acb4e Merge pull request #30266 from nextcloud/fix/share-not-being-displayed-tab 2021-12-16 08:50:48 +01:00
Nextcloud bot f567f6afae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:27:47 +00:00
Valdnet bd1264ef7f l10n: Add <code>
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-15 17:50:18 +01:00
Valdnet 4f99385311 l10n: Add <code>
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-15 17:47:41 +01:00
Valdnet ebc3169105 l10n: Separate words and add dots
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-15 17:37:00 +01:00
Valdnet 03889d1297 l10n: Separate words
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-15 17:27:26 +01:00
Valdnet 2881e4beb3 l10n: Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-15 17:20:03 +01:00
Christoph Wurst 459f73e96a Specify code owners for 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-15 15:47:56 +01:00
Vincent Petry 4559a46c8d 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-15 14:55:27 +01:00
Vincent Petry ea30297552 Add option to disallow creation of local storages
Introduce a new config option to prevent web UI admins to create
or edit external storages of type "local".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-15 09:15:31 +01:00
Joas Schilling a376aa6c61 Add version of disabled apps when available
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-15 09:08:14 +01:00
Nextcloud bot 0fc8b55bf1 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:27:52 +00:00
Carl Schwan 9c4cf7367a 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-14 21:59:58 +00:00
Pytal 98b637f291 Merge pull request #30254 from nextcloud/fix/30239/use-bigint 2021-12-14 13:31:26 -08:00
Christoph Wurst 5613ff365b Merge pull request #30048 from nextcloud/fix/caldav-search-time-range-recurrence
Carefully filter out non matching time ranges for CalDAV search
2021-12-14 14:50:31 +01:00
Louis 069fe1c12e Merge pull request #30256 from nextcloud/fix/allow_edit_folder
Fix ShareLink Upload UI for Folders
2021-12-14 13:06:25 +01:00
Christoph Wurst 4be7c3faa8 Merge pull request #30259 from nextcloud/deprecate/entity-slug
Deprecate entity slugs
2021-12-14 13:02:44 +01:00
Christoph Wurst 3e078ffa1b Deprecate entity slugs
They are only used a single time in the whole Nextcloud Github
organization. We can inline the code there and slim down the public API.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-14 09:50:29 +01:00
Nextcloud bot d42ad70269 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-14 02:27:57 +00:00
nextcloud-command c083b6bb0d Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-14 00:36:24 +00:00
Christopher Ng c85f78db69 Migrate profile_config id column to bigint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-14 00:14:13 +00:00
Christopher Ng c85ab47a11 Use bigint for autoincremented column
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-14 00:12:40 +00:00
Pytal 09915ec15e Merge pull request #30197 from nextcloud/bugfix/noid/always-store-email-lowercase 2021-12-13 16:11:36 -08:00
Jonas Rittershofer e006491b85 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-14 01:02:04 +01:00
Joas Schilling dbae781a26 Bump version to trigger migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 19:20:10 +00:00
Julius Härtl c92ac34711 Use proper app id (settings instead of core)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-13 19:20:10 +00:00
Joas Schilling 0877d62c47 Make sure strtolower only receives a string to satisfy psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 19:20:10 +00:00
Joas Schilling 99006be126 Lowercase all core=>email values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 19:20:10 +00:00
John Molakvoæ af98f52eac Merge pull request #30240 from nextcloud/Valdnet-patch-1 2021-12-13 16:52:59 +01:00
Christoph Wurst f287be5424 Merge pull request #30193 from nextcloud/fix/set-up-2fa-no-providers-but-backup-codes
Fix setting up 2FA when no providers are set up but backup codes
2021-12-13 16:05:35 +01:00
Christoph Wurst b005846d1f 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-13 15:58:31 +01:00
Louis 168a1b0bc5 Merge pull request #30208 from nextcloud/dependabot/npm_and_yarn/marked-4.0.7
Bump marked from 4.0.6 to 4.0.7
2021-12-13 15:10:42 +01:00
Valdnet 5ec2b0e425 l10n: Change to "administration"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-13 13:59:34 +01:00
Valdnet dfadf17074 l10n: Change to "administration"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-13 13:58:30 +01:00
dependabot[bot] 9e8c04d437 Bump marked from 4.0.6 to 4.0.7
Bumps [marked](https://github.com/markedjs/marked) from 4.0.6 to 4.0.7.
- [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/v4.0.6...v4.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-12-13 12:52:29 +00:00
Jonas Meurer 241dfef7fb Don't write to config file if config_is_read_only is set
Also don't write to cache in this case to prevent cache and config file
being out of sync.

Fixes: #29901
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2021-12-13 13:14:17 +01:00
Côme Chilliet e8ce7a3e5f Merge pull request #30184 from nextcloud/automated/noid/psalm-baseline-update-1639109464
[Automated] Update psalm-baseline.xml
2021-12-13 10:25:01 +01:00
Valdnet e0ebd6ca18 l10n: Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-13 10:22:40 +01:00
Valdnet 3d404c9c83 l10n: Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-12-13 10:19:04 +01:00
Julius Härtl 75857db49d Merge pull request #30200 from nextcloud/bugfix/noid/last-login-is-never-set-to-null 2021-12-13 09:40:48 +01:00
Côme Chilliet a36d3d7181 Merge pull request #30170 from nextcloud/fix/user_ldap-version-bump
Bump user_ldap version
2021-12-13 09:28:47 +01:00
Nextcloud bot c5c4747b1a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-13 02:27:46 +00:00
MichaIng 9b40196865 Merge pull request #30206 from nextcloud/dependabot/npm_and_yarn/build/node-sass-7.0.0
Bump node-sass from 6.0.1 to 7.0.0 in /build
2021-12-13 01:46:04 +01:00
dependabot[bot] 8aa63fb84c Bump node-sass from 6.0.1 to 7.0.0 in /build
Bumps [node-sass](https://github.com/sass/node-sass) from 6.0.1 to 7.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/v6.0.1...v7.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-13 01:13:52 +01:00
dependabot[bot] f16fafe615 Merge pull request #30217 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.1 2021-12-12 19:50:14 +00:00
dependabot[bot] e7554eead0 Bump @testing-library/jest-dom from 5.16.0 to 5.16.1
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.16.0 to 5.16.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.16.0...v5.16.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-12-12 19:11:52 +00:00
dependabot[bot] 2e7c8a696d Merge pull request #30207 from nextcloud/dependabot/npm_and_yarn/sass-1.45.0 2021-12-12 19:07:35 +00:00
dependabot[bot] ebe9cd9cde Bump sass from 1.44.0 to 1.45.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.44.0 to 1.45.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.44.0...1.45.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-12-12 18:35:12 +00:00
dependabot[bot] 0e3604921a Merge pull request #30205 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.3 2021-12-12 17:30:24 +00:00
dependabot[bot] 78343d66d6 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-12 16:49:34 +00:00
Nextcloud bot ce6dcbcdb4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:19 +00:00
MichaIng 5dcfd531a7 Merge pull request #30204 from nextcloud/dependabot/npm_and_yarn/dompurify-2.3.4
Bump dompurify from 2.3.3 to 2.3.4
2021-12-12 02:43:02 +01:00
dependabot[bot] 1491ce9362 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 20:58:26 +00:00
MichaIng 2e276ac346 Merge pull request #30203 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.3.0
Bump @nextcloud/vue from 4.2.0 to 4.3.0
2021-12-11 17:23:44 +01:00
dependabot[bot] 007758a525 Bump @nextcloud/vue from 4.2.0 to 4.3.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 4.2.0 to 4.3.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.2.0...v4.3.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-12-11 15:14:50 +00:00
dependabot[bot] 2fa5fc3a7c Merge pull request #30211 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.2.3 2021-12-11 07:02:13 +00:00
dependabot[bot] 5cdac1f15e 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 03:30:02 +00:00
Nextcloud bot 908508657f [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-11 02:27:33 +00:00
Christoph Wurst af18e6e43a Merge pull request #30199 from nextcloud/enhancement/caldav-carddav-code-owners
Add Groupware back-end devs as CalDAV and CardDAV code owners
2021-12-10 16:52:11 +01:00
Joas Schilling 78e90b69ba Don't check the configvalue for lastLogin which is never null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-10 16:26:13 +01:00
Christoph Wurst f7c2dad9e8 Add Groupware back-end devs as CalDAV and CardDAV code owners
This will pick us as reviews automatically

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-10 15:48:53 +01:00
Joas Schilling ae36526978 Always store and compare the email address as lower case
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-10 15:01:27 +01:00
Christoph Wurst 74b1bf1d1c 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-10 11:35:36 +01:00
John Molakvoæ d851e58782 Merge pull request #30157 from nextcloud/fix/datepicker-share-lang 2021-12-10 10:44:51 +01:00
Vincent Petry 797184af2e Merge pull request #30164 from nextcloud/bugfix/noid/fix-dir-external-root-shared-icon
Use correct icon for dir-external-root
2021-12-10 10:26:51 +01:00
nextcloud-command c31c99c1e1 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-10 04:11:04 +00:00
Nextcloud bot a47da9722d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 02:27:19 +00:00
Pytal c019e33b99 Merge pull request #30160 from nextcloud/bugfix/noid/encryption-wrapper-fclose-check 2021-12-09 15:59:51 -08:00
Pytal 92d3520106 Merge pull request #29996 from zordsdavini/patch-1 2021-12-09 14:56:06 -08:00
Pytal 0e75eabec7 Merge pull request #30168 from nextcloud/feat/non-migrated-preview-delete 2021-12-09 14:54:42 -08:00
Christoph Wurst 8420431806 Merge pull request #30075 from nextcloud/logic-op
Switch logical operators
2021-12-09 21:14:37 +01:00
Côme Chilliet 78a59c12fc Bump user_ldap version to make sure the migration runs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-09 17:42:44 +01:00
Côme Chilliet 57fda4414f Add missing copyright headers in migration steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-09 17:42:17 +01:00
John Molakvoæ 5a766ef004 Allow to delete non-migrated previews instead of moving them
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 17:34:45 +01:00
Pytal ac5bc2277e 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 16:32:53 +00:00
John Molakvoæ 2e869fd215 Merge pull request #29523 from nextcloud/fix/support-ldap-long-dns 2021-12-09 17:18:43 +01:00
Vincent Petry 4443ed2e0f 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-09 14:58:31 +01:00
Vincent Petry 6f81e60bce 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-09 11:28:10 +01:00
John Molakvoæ 64cd011f47 Merge pull request #30156 from nextcloud/bugfix/noid/only-wildcard-search-if-enumeration-is-allowed 2021-12-09 10:18:19 +01:00
Joas Schilling f1a6668cc2 Make psalm more happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-09 09:25:50 +01:00
Joas Schilling 93b77f54bd Fix docs to make Psalm happier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-09 09:19:32 +01:00
John Molakvoæ 3a4179d816 Fix first day locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 09:07:32 +01:00
John Molakvoæ 2239047927 Properly format sharing datepicker locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-09 08:49:17 +01:00
Nextcloud bot 39f77c8870 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 02:29:30 +00:00
Joas Schilling d5cb5a33dc Convert strict_search to wildcard property and add psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 19:24:16 +01:00
Joas Schilling d49ad7ea47 Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 18:58:54 +01:00
Joas Schilling 0f1670be8a Only limit search in the system address book
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 18:54:42 +01:00
Joas Schilling 84d37143b0 Only wildcard search if enumeration is allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 18:54:42 +01:00
Julius Härtl a1d68c0fd6 Merge pull request #30141 from nextcloud/fix/filelist-reload 2021-12-08 12:36:30 +01:00
John Molakvoæ 133f49f60f Merge pull request #30126 from nextcloud/revert-30077-enh/node-tests-name 2021-12-08 09:59:36 +01:00
Julius Härtl 2fe8042fff Add integration tests for email completion
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-08 09:08:54 +01:00
Julius Härtl 7b76253aee Do not clear all results when searching from users address books
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-08 09:08:54 +01:00
Nextcloud bot 0e665e0646 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:28:44 +00:00
Louis 6c0036a6b2 Merge pull request #29968 from nextcloud/fix-input-for-groups-validation-in-new-user-form
Fix input for groups validation in new user form
2021-12-07 18:51:53 +01:00
Daniel Calviño Sánchez b7cbba0a47 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-07 18:02:19 +01:00
Daniel Calviño Sánchez 45e66458ff 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-07 18:02:17 +01:00
Carl Schwan 170ca81760 Reload page on 401 since there is an authentification problem
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-07 17:48:28 +01:00
Carl Schwan 50d256f959 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-07 17:24:11 +01:00
Julien Veyssier 2594d9ec35 Merge pull request #30134 from nextcloud/fix/noid/file-action-view-in-folder
Do not trigger events when setting active view in gotoplugin
2021-12-07 15:35:44 +01:00
Julien Veyssier f170229976 do not trigger events when setting active view in gotoplugin
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-12-07 14:34:48 +01:00
acsfer 8c27f74a63 Update default row_format 2021-12-07 12:48:48 +01:00
acsfer e49233a795 Don't convert tables to COMPRESSED 2021-12-07 12:44:38 +01:00
John Molakvoæ ee1fe51f88 Merge pull request #30114 from nextcloud/fix/sanitizeMtime 2021-12-07 12:12:40 +01:00
acsfer 06b77fd666 Attempt to fix CI 2021-12-07 11:58:30 +01:00
acsfer 5c84fe1b81 Add MariaDB 10.6 pipeline
Keeping MariaDB 10.4 too as both versions have some BC breaks, so tests will run on both (for now).
2021-12-07 11:45:54 +01:00
John Molakvoæ 4586560f9b Revert "Explicitly name node tests workflow" 2021-12-07 09:46:57 +01:00
John Molakvoæ feb20080e8 Merge pull request #30122 from nextcloud/automated/noid/psalm-baseline-update-1638850319 2021-12-07 09:41:19 +01:00
John Molakvoæ 5223b0b611 Prevent writing invalid mtime
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-07 09:40:23 +01:00
Julius Härtl 4ed46b7716 Merge pull request #30077 from nextcloud/enh/node-tests-name 2021-12-07 08:45:10 +01:00
nextcloud-command 7bcb2e3aef Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-07 04:11:59 +00:00
Nextcloud bot e7fb7115fa [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 02:39:53 +00:00
Pytal 89e263ee95 Merge pull request #30113 from nextcloud/bugfix/noid/ext-storage-missing-spinner 2021-12-06 11:07:27 -08:00
Côme Chilliet 8bf1a9a64b Merge pull request #30040 from nextcloud/fix/images-php-8.0-2
Avoid calling image* methods on boolean
2021-12-06 15:17:55 +01:00
Côme Chilliet 8504f0a59e Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:26:27 +01:00
Côme Chilliet ab3a1d5706 Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 14:26:26 +01:00
Côme Chilliet d537226368 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:26:09 +01:00
Vincent Petry a7e8da9da8 Add spinner when loading ext storages
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-06 11:52:26 +00:00
Côme Chilliet 4ed014ca86 Merge pull request #30108 from nextcloud/fix/bump-scssphp/scssphp-to-1.8.1-fixup
Bump scssphp to 1.8.1 (last 3rdparty master commit)
2021-12-06 11:54:00 +01:00
Côme Chilliet 762c1b984e Bump scssphp to 1.8.1 (last 3rdparty master commit)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-06 10:04:46 +01:00
John Molakvoæ 5a2460df35 Merge pull request #30104 from nextcloud/techdebt/noid/strengthify-is-now-at-nextcloud 2021-12-06 09:57:07 +01:00
John Molakvoæ ca8f929447 Merge pull request #30091 from nextcloud/dependabot/npm_and_yarn/marked-4.0.6 2021-12-06 09:56:54 +01:00
Julius Härtl 00549f7802 Merge pull request #30055 from nextcloud/enh/note-share-api 2021-12-06 08:59:51 +01:00
Joas Schilling d0709dfc85 Strengthify is now in the Nextcloud org
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-06 08:25:57 +01:00
Nextcloud bot f0e1621eed [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 02:30:24 +00:00
dependabot[bot] aa154960ad Bump marked from 4.0.5 to 4.0.6
Bumps [marked](https://github.com/markedjs/marked) from 4.0.5 to 4.0.6.
- [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/v4.0.5...v4.0.6)

---
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-12-06 00:16:20 +00:00
MichaIng fc3b592445 Merge pull request #30092 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-12.0.1
Bump puppeteer from 11.0.0 to 12.0.1 in /build
2021-12-05 21:46:48 +01:00
dependabot[bot] c122355e62 Bump puppeteer from 11.0.0 to 12.0.1 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 11.0.0 to 12.0.1.
- [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/v11.0.0...v12.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-05 21:03:47 +01:00
MichaIng f9866df3d0 Merge pull request #30090 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.2.1
Update sabre/dav requirement from 4.2.0 to 4.2.1 in /build/integration
2021-12-05 21:01:28 +01:00
dependabot[bot] 69d4cc3aa9 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 19:23:54 +00:00
dependabot[bot] fcef3bf099 Merge pull request #30089 from nextcloud/dependabot/npm_and_yarn/core-js-3.19.2 2021-12-05 18:48:22 +00:00
dependabot[bot] 195a9a37d3 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-05 19:12:04 +01:00
Nextcloud bot f210a6a0e5 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:14 +00:00
MichaIng 6804ba0143 Merge pull request #30084 from nextcloud/dependabot/npm_and_yarn/jsdom-19.0.0
Bump jsdom from 18.1.1 to 19.0.0
2021-12-04 13:22:55 +01:00
John Molakvoæ e296417ca2 Merge pull request #29527 from nextcloud/rakekniven-patch-1 2021-12-04 12:08:16 +01:00
dependabot[bot] 770b7775f4 Bump jsdom from 18.1.1 to 19.0.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.1 to 19.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/18.1.1...19.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-12-04 06:45:58 +00:00
dependabot[bot] 813874b8d9 Merge pull request #30087 from nextcloud/dependabot/npm_and_yarn/sass-1.44.0 2021-12-04 06:44:44 +00:00
dependabot[bot] 71a2d29e5f Merge pull request #30085 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.16.0 2021-12-04 06:41:33 +00:00
dependabot[bot] 5fc89425c5 Bump sass from 1.43.5 to 1.44.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.43.5 to 1.44.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.43.5...1.44.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-12-04 03:12:27 +00:00
dependabot[bot] 80f3c70ce1 Bump @testing-library/jest-dom from 5.15.1 to 5.16.0
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.15.1 to 5.16.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.15.1...v5.16.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-12-04 03:11:38 +00:00
Nextcloud bot 57bb86be38 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-04 02:30:37 +00:00
Christopher Ng e224401a62 Fix relation "user_id" already exists migration error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-03 20:29:53 +00:00
Christopher Ng 7fd6339c79 Explicitly name node tests workflow
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-03 18:59:15 +00:00
acsfer 074a9a5e88 Switch logical operators
Unless there is a good reason to keep actual ones 👀
2021-12-03 16:05:19 +01:00
Anderson Luiz Alves 4e65441cb2 files_external SMB: throw InvalidArgument when user is not set
Signed-off-by: Anderson Luiz Alves <alacn1@gmail.com>
2021-12-03 10:57:00 -03:00
Christoph Wurst 82fc20f9d2 Merge pull request #30054 from nextcloud/refactor/cleaner-dav-background-resource-job
 Clean up the DAV resource background job
2021-12-03 13:18:04 +01:00
John Molakvoæ b067ae78c5 Merge pull request #30034 from nextcloud/fix/bump-scssphp/scssphp-to-1.8.1 2021-12-03 11:55:42 +01:00
Carl Schwan 510031067a Merge pull request #30065 from nextcloud/automated/noid/psalm-baseline-update-1638504715
[Automated] Update psalm-baseline.xml
2021-12-03 10:48:39 +01:00
Julius Härtl 5116bf146f Allow to pass note when creating a share and send it with directly in the share mail when set
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-03 10:17:02 +01:00
Julius Härtl cdda25acb4 Adjust auth token link design
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-03 08:44:09 +01:00
Julius Härtl aa3f4bdf63 Allow using an app token to login with v2 flow auth
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-03 08:37:42 +01:00
nextcloud-command 2a3bb7f3b0 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-12-03 04:11:55 +00:00
Nextcloud bot 8c3ab46545 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-03 02:29:15 +00:00
Joas Schilling e139ccc66c Merge pull request #30024 from nextcloud/techdebt/noid/list-php-are-only-invokable-via-controllers
list.php files are only invoked via ViewController and APIController
2021-12-02 22:29:12 +01:00
John Molakvoæ 41b6052cb7 Merge pull request #30015 from nextcloud/feat/addScript-dependency 2021-12-02 21:20:35 +01:00
John Molakvoæ (skjnldsv) 791d57051a Adapt tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-02 21:13:07 +01:00
John Molakvoæ (skjnldsv) 71a3528510 Allow scripts prioritization based on other apps
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-02 20:00:46 +01:00
Robin Appelman 6b3c703794 Merge pull request #29735 from nextcloud/background-scan-one-by-one
find users for background scan one by one
2021-12-02 17:09:43 +00:00
Robin Appelman e95745c074 fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:43:16 +01:00
Robin Appelman db2dcbfe13 code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:10 +01:00
Robin Appelman 89bc9f1b77 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:35:07 +01:00
Robin Appelman 38921ab498 find users for background scan one by one
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:02 +01:00
Robin Appelman f5fe887b4b 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:34:58 +01:00
Robin Appelman f93061e344 teach psalm about Storage::instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:34:53 +01:00
Joas Schilling 7acb438e42 Merge pull request #30016 from nextcloud/techdebt/noid/remove-default-token-provider
Remove default token which is deprecated since Nextcloud 13
2021-12-02 16:48:03 +01:00
Christoph Wurst 7b2fb9295e Clean up the DAV resource background job
* Replace deprecated execute with executeQuery and executeStatement
* Close open cursors
* Drop phpdoc that only mirrors php type hints

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 16:38:48 +01:00
Christoph Wurst 9cb90b3d1d Merge pull request #30046 from nextcloud/fix/dav-back-end-missing-close-cursor
Close open cursor in the caldav back-end
2021-12-02 16:01:10 +01:00
Carl Schwan dfb569f097 Follow upstream security recommandation
See https://scssphp.github.io/scssphp/docs/#security-considerations

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-02 15:57:53 +01:00
John Molakvoæ e0d2f015ad Merge pull request #30033 from nextcloud/ie-polifils 2021-12-02 15:31:02 +01:00
Joas Schilling 6d33d75be1 Remove unused imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 14:51:44 +01:00
Christoph Wurst 98d4aefe43 Close open cursor in the caldav back-end
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-02 14:23:59 +01:00
Carl Schwan 324e0dc36c Add rgb to hsl converter
This ports away from using now internal functions from scssphp.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-02 11:53:34 +01:00
acsfer 9ec2c36c05 Remove IE polyffils
Pursuing the "IE removal" quest ☮️

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-02 10:29:20 +00:00
Joas Schilling 3ce6a73b54 Merge pull request #30032 from nextcloud/techdebt/noid/add-missing-indices
Add an index for selecting the next job
2021-12-02 11:22:17 +01:00
Joas Schilling 617528312a Fix last tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-02 10:39:49 +01:00
Joas Schilling 91db6040c8 Merge pull request #30028 from nextcloud/bugfix/noid/fix-log_query
Fix log_query config flag
2021-12-02 10:32:04 +01:00
Joas Schilling d5e4197875 Merge pull request #30011 from nextcloud/techdebt/noid/allow-to-log-queries-to-db-ldap-and-redis
Allow to log queries to db, ldap and redis
2021-12-02 10:27:42 +01:00
Côme Chilliet f334d51b17 Bump scssphp/scssphp to 1.8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 10:02:49 +01:00
Côme Chilliet 061abe7afd Merge pull request #29976 from nextcloud/fix/bump-sabre/dav-to-4.2.0
Bump sabre/dav to 4.2.1
2021-12-02 09:53:56 +01:00
Côme Chilliet 059f6591e6 Bump to 4.2.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 09:52:36 +01:00
Côme Chilliet 172f250b6b Bump sabre/dav to 4.2.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-02 09:52:36 +01:00
Nextcloud bot 43deb706a8 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-02 02:29:14 +00:00
Joas Schilling 536a812de4 Add an index for selecting the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 23:57:40 +01:00
Joas Schilling 68d53988f6 Fix log_query config flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 23:00:51 +01:00
Joas Schilling 3e20cffc86 More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:38:57 +01:00
Joas Schilling 168c673755 Allow to log DB, redis and LDAP requests into files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:33:41 +01:00
Joas Schilling c6ae53096c More test fixing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 22:17:19 +01:00
Joas Schilling 9f00179037 More unit test adjustments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 21:40:14 +01:00
Joas Schilling bf7c9aa58c 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-01 21:09:11 +01:00
Pytal 44ecd0d1d5 Merge pull request #30018 from nextcloud/fix/30017/tags-styles 2021-12-01 11:48:22 -08:00
Carl Schwan a8866b0253 Fix tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-01 19:53:24 +01:00
Christopher Ng 0b38fe1f4b Fix collaborative tags styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-01 18:04:16 +00:00
Joas Schilling c0ba89ecc9 Remove default token which is deprecated since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 18:41:31 +01:00
John Molakvoæ 4c503db75d Merge pull request #30013 from nextcloud/bugfix/noid/dont-count-attempts-when-we-just-deleted 2021-12-01 18:40:41 +01:00
John Molakvoæ c21173ff27 Merge pull request #30012 from nextcloud/bugfix/noid/only-check-2fa-state-once 2021-12-01 18:38:24 +01:00
Louis 977cea1ee2 Merge pull request #29995 from nextcloud/fix/profile-actions-menu
Fix profile actions menu with 6 or more actions
2021-12-01 18:04:00 +01:00
Joas Schilling 1d550ab95e Don't query the bruteforce attempts when we just deleted them
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 18:01:22 +01:00
Joas Schilling 660e550260 Only check the twofactor state once per request
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 17:56:30 +01:00
Christoph Wurst 3a1ef2b012 Merge pull request #30001 from nextcloud/fix/subscription-id-int
Cast orphan subscription id to int
2021-12-01 14:43:47 +01:00
Christoph Wurst 17c901bde0 Merge pull request #29905 from nextcloud/bugfix/fix-some-buttons
Only add the vue exeption to actual button elements
2021-12-01 11:38:57 +01:00
Christoph Wurst 478953d002 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 10:48:14 +01:00
Nextcloud bot dcec9fef73 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-01 02:30:46 +00:00
Christopher Ng 02979809a6 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 01:06:11 +00:00
Pytal 6ea28a0d7f Merge pull request #29964 from nextcloud/fix/ie-davclient 2021-11-30 14:53:39 -08:00
John Molakvoæ (skjnldsv) aaad09220d Remove files_iedavclient
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-30 14:47:45 +01:00
John Molakvoæ c624c7eb5d Merge pull request #29966 from nextcloud/feat/remove-isIE 2021-11-30 14:04:05 +01:00
MichaIng d16d4d3459 Merge pull request #29958 from nextcloud/fix/translit-php8/deps-and-tests
Remove iconv from dependencies and tests
2021-11-30 13:07:02 +01:00
John Molakvoæ a85b735ccb Merge pull request #29670 from nextcloud/feat/package-node-npm-engines-update 2021-11-30 13:04:46 +01:00
John Molakvoæ (skjnldsv) a325141545 Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
John Molakvoæ 1ee210fdbc Merge branch 'master' into feat/package-node-npm-engines-update 2021-11-30 13:02:44 +01:00
Christoph Wurst 2c3cf86ad3 Merge pull request #29974 from nextcloud/fix/repair-step-query-exception-bubble
Let repair step query exceptions bubble up
2021-11-30 12:53:52 +01:00
Côme Chilliet d66e8816bf Merge pull request #29960 from nextcloud/fix/bump-christophwurst/id3parser-to-0.1.4
Bump christophwurst/id3parser to 0.1.4
2021-11-30 11:21:11 +01:00
Christoph Wurst f6b5b1f519 Include previous execption for repair steps that don't exist
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-30 10:57:49 +01:00
Côme Chilliet e286d3abda Bump christophwurst/id3parser to 0.1.4
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-30 10:36:45 +01:00
Côme Chilliet 5207d0f658 Merge pull request #29954 from nextcloud/fix/bump-guzzlehttp/guzzle-to-7.4.0
Bump guzzlehttp/guzzle to 7.4.0
2021-11-30 10:35:51 +01:00
Côme Chilliet f0184a1db9 Bump guzzlehttp/guzzle to 7.4.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-30 10:35:17 +01:00
Louis 85ec381757 Merge pull request #29872 from nextcloud/enh/28139/profile-page-title
Set profile page title
2021-11-30 10:19:33 +01:00
Christoph Wurst f68ab00811 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 09:47:39 +01:00
Côme Chilliet 6d357d0f3a Merge pull request #29957 from nextcloud/fix/bump-giggsey/libphonenumber-for-php-to-8.12.37
Bump giggsey/libphonenumber-for-php to 8.12.37
2021-11-30 08:42:58 +01:00
Nextcloud bot 80e4b9e510 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-30 02:26:19 +00:00
MichaIng 0d749b7e9a 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>
2021-11-30 02:33:12 +01:00
Christopher Ng 408e4a1983 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-29 20:46:34 +00:00
Pytal 393ea920bc Merge pull request #29870 from nextcloud/fix/erroneous-status-on-profile 2021-11-29 12:31:09 -08:00
Christopher Ng 3aea0f2c19 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 19:05:27 +00:00
Pytal a1497c742c Merge pull request #29917 from nextcloud/fix/29768/l10n 2021-11-29 10:48:32 -08:00
Côme Chilliet 85822cdbf8 Bump giggsey/libphonenumber-for-php to 8.12.37
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-29 16:58:16 +01:00
Christoph Wurst c9a1937eb9 Merge pull request #29951 from nextcloud/fix/log-interpolation-exceptions
Interpolate the log message also for logged exceptions
2021-11-29 16:43:40 +01:00
Christoph Wurst 6fe5079e79 Merge pull request #29830 from nextcloud/enhancement/wfe-operation-scope-psalm-type-hint
Add Psalm specific scope type hint for the WFE operation
2021-11-29 16:42:44 +01:00
Carl Schwan 44cc47df26 Merge pull request #29953 from nextcloud/fix/bump-pimple/pimple-to-3.5.0
Bump pimple/pimple to 3.5.0
2021-11-29 16:30:27 +01:00
Côme Chilliet 56fbbc1a5d Bump pimple/pimple to 3.5.0
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-29 15:27:13 +01:00
Christoph Wurst 311b3ffa2e 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 14:29:35 +01:00
John Molakvoæ 541751d42a Merge pull request #29868 from nextcloud/drone-pipeline-php8.0 2021-11-29 12:28:22 +01:00
blizzz 84e47fb484 Merge pull request #29470 from nextcloud/fix/translit-php8
Avoid use of iconv to get rid of unicode
2021-11-29 11:37:19 +01:00
Julius Härtl 01be1447be Expose DAV:creationdate for propfind/proppatch
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-29 11:25:48 +01:00
Louis 03b424af19 Merge pull request #29931 from nextcloud/dependabot/npm_and_yarn/marked-4.0.5
Bump marked from 4.0.4 to 4.0.5
2021-11-29 09:35:39 +01:00
Nextcloud bot a8bac4218e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-29 02:25:06 +00:00
Nextcloud bot d6804c4848 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-28 02:23:39 +00:00
dependabot[bot] ab837a0855 Bump marked from 4.0.4 to 4.0.5
Bumps [marked](https://github.com/markedjs/marked) from 4.0.4 to 4.0.5.
- [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/v4.0.4...v4.0.5)

---
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-27 15:58:12 +00:00
dependabot[bot] ad6e975529 Merge pull request #29935 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-1.8.0 2021-11-27 15:32:40 +00:00
dependabot[bot] 2b9282a7fd Bump @nextcloud/axios from 1.7.0 to 1.8.0
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 1.7.0 to 1.8.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.7.0...v1.8.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-11-27 14:47:02 +00:00
MichaIng acbc6a5eae Merge pull request #29934 from nextcloud/dependabot/npm_and_yarn/jquery-3.6.0
Bump jquery from 3.5.1 to 3.6.0
2021-11-27 15:36:08 +01:00
dependabot[bot] 1c1c7d974b Bump jquery from 3.5.1 to 3.6.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

---
updated-dependencies:
- dependency-name: jquery
  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-11-27 13:52:53 +00:00
MichaIng 0fb068e2d7 Merge pull request #29919 from nextcloud/automated/noid/psalm-baseline-update-1637899872
[Automated] Update psalm-baseline.xml
2021-11-27 14:47:35 +01:00
dependabot[bot] 686b2e1e1e Merge pull request #29933 from nextcloud/dependabot/npm_and_yarn/jsdom-18.1.1 2021-11-27 06:28:00 +00:00
dependabot[bot] e0eb2a8248 Merge pull request #29932 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-5.15.1 2021-11-27 05:36:35 +00:00
dependabot[bot] 9781672320 Bump jsdom from 18.1.0 to 18.1.1
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.0 to 18.1.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.1.0...18.1.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-27 05:06:28 +00:00
dependabot[bot] 2b2de13166 Merge pull request #29930 from nextcloud/dependabot/npm_and_yarn/sass-1.43.5 2021-11-27 05:05:01 +00:00
Nextcloud bot c9f96253d6 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-27 02:25:46 +00:00
dependabot[bot] 700d8f1e04 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 02:04:00 +00:00
dependabot[bot] c597e2181a 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 02:02:35 +00:00
John Molakvoæ 7d67de24a5 Merge pull request #29926 from nextcloud/fix/noid/short-accounts-data-value 2021-11-26 18:24:23 +01:00
Arthur Schiwon 998144f832 Obey col length of 255 to insert and search in accounts_data
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 16:30:14 +01:00
Arthur Schiwon d384edc9c6 add method to shorten a string to given byte size to Utils
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-11-26 16:21:40 +01:00
Joas Schilling 2166cfde9e Allow to count comments with multiple verbs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-26 12:29:44 +01:00
acsfer 6f06b0f4f7 Reintroduce memcached 2021-11-26 12:02:51 +01:00
acsfer a816fdd1d0 Drop old/duplicate pipelines 2021-11-26 11:43:18 +01:00
nextcloud-command 978b50478c Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2021-11-26 04:11:12 +00:00
Nextcloud bot aee3bb42ae [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-26 02:46:04 +00:00
Pytal 9c05dfacae Merge pull request #29871 from nextcloud/enh/dynamic-profile-visibility-dropdown-rows 2021-11-25 18:04:37 -08:00
Christopher Ng abecf594d6 Fix source of translations
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-26 02:00:40 +00:00
Christopher Ng 9ac81f6c2a 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 01:04:21 +00:00
Pytal 848e589923 Merge pull request #29893 from nextcloud/enh/28139/a11y 2021-11-25 16:50:21 -08:00
Christopher Ng 7ad07d6aa6 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:26:20 +00:00
Vincent Petry 88129925ee Merge pull request #29906 from nextcloud/fix/strict_comp_for_redis
Use strict comparison to detect usage of redis cluster
2021-11-25 19:52:30 +01:00
blizzz 69656f3811 Merge pull request #29891 from nextcloud/enh/profile-status-margin
Adjust margin of user status on profile
2021-11-25 17:27:16 +01:00
blizzz 1a4427f238 Merge pull request #29894 from nextcloud/fix/inactive-profile-parameter
Fix inactive profile parameters being displayed in the Profile visibility section
2021-11-25 17:25:49 +01:00
Julius Härtl 388fa06695 Merge pull request #29837 from nextcloud/fix/user_ldap-check-cache 2021-11-25 16:33:52 +01:00
Louis Chemineau 5dbb080517 Use strict comparison to detect usage of redis cluster
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-11-25 16:19:42 +01:00
marco 67915dbc43 Only add the vue exeption to actual button elements
Signed-off-by: marco <marcoambrosini@pm.me>
2021-11-25 16:16:02 +01:00
Julius Härtl d9d54ce782 Merge pull request #29895 from nextcloud/bugfix/noid/check-for-invalid-characters-before-trimming
Check for invalid characters before trimming
2021-11-25 11:07:46 +01:00
Joas Schilling 599870980b Correctly set the response after a ClientException as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:46 +01:00
Joas Schilling d1203e9b5d Add an integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 09:07:34 +01:00
Joas Schilling 65d79bb592 Check for invalid characters before trimming
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-25 08:48:26 +01:00
Christopher Ng ae85a16ed2 Fix inactive profile parameters being returned
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-25 05:01:18 +00:00
Christopher Ng a3bf35f277 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 04:45:40 +00:00
Nextcloud bot d42a28cd7c [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-25 02:25:06 +00:00
Julius Härtl 2d19e2cfb5 Merge pull request #29826 from nextcloud/fix/noid/fix-personal-settings 2021-11-24 14:43:12 +01:00
MichaIng 657aff7d22 Merge pull request #29809 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.2.0
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration
2021-11-24 14:42:35 +01:00
acsfer 97e1855ed5 Typo 2021-11-24 11:55:06 +01:00
Vincent Petry 70f9e5e37d Merge pull request #29869 from nextcloud/fix/28139/hide-status-from-public
Hide user status on profile from public
2021-11-24 11:23:59 +01:00
Vincent Petry 99f600270e Merge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctime
Allow to fetch the creation time of folders
2021-11-24 11:20:12 +01:00
Nextcloud bot 9d6496a999 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-24 02:25:52 +00:00
szaimen 0224687e23 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 01:45:54 +00:00
Christopher Ng be5b9e36cd Hide user status from public
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-11-23 22:58:44 +00:00
acsfer adb2312d3d Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
Add Drone php8.0 pipelines for MariaDB10.4, MySQL8, PGSQL13
2021-11-23 22:21:58 +01:00
acsfer 0a0fd33773 Check if size value is set
Using `isset()` as it does not return true for array keys that correspond to a `null` value, while `array_key_exists()` does.
Fix #29865
2021-11-23 21:33:28 +01:00
Julius Härtl a632ce35f5 Allow to fetch the creation time of folders
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-11-23 16:55:33 +01:00
dependabot[bot] b544069d02 Update sabre/dav requirement from 3.2.3 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/3.2.3...4.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-23 15:58:45 +01:00
Vincent Petry fd487c1a43 Merge pull request #29432 from nextcloud/fix/support-php-8.1
Support PHP 8.1 - First batch
2021-11-23 15:41:20 +01:00
Côme Chilliet 20dd46fcae Merge pull request #29610 from nextcloud/fix/user_ldap-logger
Get rid of user_ldap LogWrapper and use LoggerInterface
2021-11-23 15:26:25 +01:00
Joas Schilling 244b785989 Merge pull request #29791 from nextcloud/bugfix/noid/status-editing
Fix multiple bugs with user status
2021-11-23 14:36:10 +01:00
Carl Schwan 92fe694b7f 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 12:21:42 +01:00
Côme Chilliet 7ac895e766 Move back logger to protected in OCA\User_LDAP\User\User
It was changed to private because of a bad copy/paste.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 11:06:14 +01:00
szaimen a72af6acc3 Merge pull request #29833 from nextcloud/fix/29340/fix-mobile-profilepage
make profile page usable on mobile
2021-11-23 11:05:05 +01:00
Côme Chilliet f932766acf Check LDAP upon user deletion instead of refusing based on cached information
This should avoid having to wait for background job to run after
 deleting a user in LDAP before being able to delete it in Nextcloud.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 10:59:13 +01:00
Vincent Petry 3040386bf8 Merge pull request #29835 from nextcloud/bugfix/noid/fix-ipv4-mapped-ipv6-subnet
Fix getting subnet of ipv4 mapped ipv6 addresses
2021-11-23 10:36:46 +01:00
Vincent Petry 079c4c82d3 Merge pull request #29836 from nextcloud/fix/user_ldap-deletion
Make sure mapping cache is cleared when deleting a user
2021-11-23 10:22:59 +01:00
szaimen 4d92f42f19 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 09:18:50 +00:00
Côme Chilliet 18a91f02fa Fix default value for $type in OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal
This fixes PHP errors about passing null to PDO::quote second parameter.
We may want to change IExpressionBuilder as well?

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:02 +01:00
Côme Chilliet 10dfdedcbd Fix errors from files applications tests on PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:02 +01:00
Côme Chilliet 5cd5245ca8 Fix dav application tests and code for PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet 5a20e20e9e Fix errors in AvatarController when data() returns null
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet 8b271b8a12 Fix tests and avoid PHP errors in them
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:01 +01:00
Côme Chilliet cd72045433 Make mock config return default value to fix warnings
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet 25fa0b8acd Fix TempManager test errors about passing null to is_dir
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet ee7ef77808 Fix warning about passing null to substr_count
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:29:00 +01:00
Côme Chilliet 9d170f1269 Fix warning about passing null to rtrim
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet 065531570d Fix Encryption tests on PHP 8.1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet bb9c099e42 Fix FolderTest calls to Mountpoint constructor with wrong type
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:59 +01:00
Côme Chilliet 008b79d808 Fix type errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:58 +01:00
Côme Chilliet 3a1b3745eb Fix DateTime constructor calls with null
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:58 +01:00
Côme Chilliet bc3acfc957 Fix test class names
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet 66bdda568a Fix Guzzle function calls
Since 1.7.0 and 2.0 these functions are turned into static methods.
See https://github.com/guzzle/psr7#upgrading-from-function-api

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet af7bf98cba Fix Iterator return types
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:57 +01:00
Côme Chilliet 113756db30 Fix ArrayAccess and JsonSerializable return types
First round of modifications for PHP 8.1

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:28:56 +01:00
Côme Chilliet a35904749f Use clearer names for variables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:20:31 +01:00
Côme Chilliet 514324916b Add an index for directory_uuid as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:20:30 +01:00
Côme Chilliet df25a6de31 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-11-23 09:20:30 +01:00
Côme Chilliet 14f00208e2 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-11-23 09:20:30 +01:00
Côme Chilliet c4d8bd9c05 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-11-23 09:20:29 +01:00
Côme Chilliet d4c49a3a60 Put back length check to have a clear error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:20:29 +01:00
Côme Chilliet ce5192a461 Fixed migration step for user_ldap
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:20:29 +01:00
Joas Schilling 9a1df9ddca Fix variable names
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-23 09:19:50 +01:00
Côme Chilliet 31a503b387 Change column names to ldap_dn and ldap_dn_hash and add migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:19:50 +01:00
Côme Chilliet 662e3240b0 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-11-23 09:19:49 +01:00
Côme Chilliet 480056de88 Fix sanitizing regex and add a test case for uppercase in username
I did not find any test data that would fail with the previous regex,
 but still added data with uppercase to at least test that.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-23 09:10:38 +01:00
Nextcloud bot 129de6079e [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-23 02:25:56 +00:00
Pytal 7182a52452 Merge pull request #29544 from nextcloud/fix/profile-page-wording 2021-11-22 17:22:53 -08:00
Pytal f7ab878503 Merge pull request #29567 from nextcloud/enh/sort-profile-visibility-dropdowns 2021-11-22 17:21:18 -08:00
Christopher Ng 6a8b2d86fe 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 00:23:56 +00:00
Christopher Ng 697a6935a4 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 00:22:07 +00:00
Vincent Petry 19f41a60a0 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-22 17:36:26 +01:00
Vincent Petry f01ad7b8d8 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-22 16:46:25 +01:00
Côme Chilliet 3446d9c0b2 Ignore cache in occ ldap:check-ldap command
This avoids having to wait or reset the cache after deleting a user in
 the LDAP.
This also fixes a PHP error when running ldap:check-ldap --update on a
 deleted but cached user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-22 16:44:27 +01:00
Côme Chilliet 26330cb774 Test cache invalidation for AbstractMapping in test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-22 14:57:08 +01:00
Côme Chilliet 51ea7dc020 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-22 14:49:34 +01:00
Vincent Petry 7e08a4ab15 Fix getting subnet of ipv4 mapped ipv6 addresses
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-22 14:10:11 +01:00
Stephen Cuppett 4a6a2c2b48 Simplify S3ConnectionTrait to defaultProvider plus option
When we initially added the EC2 and ECS IAM role support in #24700,
we had to use a workaround by explicitly ordering the various providers
due to an inconsistency in the AWS SDK for PHP. We submitted a PR there
to get that squared away. Now, we've consumed that version upstream
for the SDK and can update our code here to be the most concise version
as well as position ourselves to pick up new methods as those become
available and prevalent in AWS (for acquiring credentials).

See also: https://github.com/nextcloud/server/pull/24700#issuecomment-747650892
See also: https://github.com/aws/aws-sdk-php/pull/2172

Signed-off-by: Stephen Cuppett <steve@cuppett.com>
2021-11-22 07:04:48 -05:00
Louis 68fecc1d9f Merge pull request #29808 from nextcloud/dependabot/npm_and_yarn/marked-4.0.4
Bump marked from 4.0.2 to 4.0.4
2021-11-22 10:39:14 +01:00
Christoph Wurst 9ae505cb7c Add Psalm specific scope type hint for the WFE operation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 08:42:40 +01:00
Nextcloud bot ac1928cb8a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-22 02:45:29 +00:00
MichaIng 2631f48c44 Merge pull request #29708 from nextcloud/fix/no-app-update-no-verbose
Do not print verbose info about app updates if there are none
2021-11-22 03:22:36 +01:00
Nextcloud bot 525215b788 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-21 02:25:22 +00:00
dependabot[bot] 9f27737f65 Merge pull request #29814 from nextcloud/dependabot/npm_and_yarn/camelcase-6.2.1 2021-11-20 05:44:01 +00:00
dependabot[bot] 52a6d45b55 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:57:02 +00:00
Nextcloud bot 115d54408a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-20 02:42:05 +00:00
dependabot[bot] 3ef1220091 Bump marked from 4.0.2 to 4.0.4
Bumps [marked](https://github.com/markedjs/marked) from 4.0.2 to 4.0.4.
- [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/v4.0.2...v4.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>
2021-11-20 02:04:11 +00:00
Vincent Petry c42a890126 Merge pull request #29622 from nextcloud/feat/objectstore_multibucket-shift
Implement multibucket shift for ObjectStore
2021-11-19 17:26:44 +01:00
Vincent Petry 1efdd6ccae Merge pull request #29632 from nextcloud/fix/26118/imagecreatetruecolor-error
fix imagecreatetruecolor() error
2021-11-19 17:24:50 +01:00
Vincent Petry 289624b79e Merge pull request #29758 from nextcloud/disk_free_space-fix-php8
Check for `disk_free_space`
2021-11-19 17:14:08 +01:00
Vincent Petry 5957e3df61 Merge pull request #29788 from nextcloud/bugfix/noid/settings-sharing-heading-doc-link
Fix doc link in sharing settings
2021-11-19 16:51:39 +01:00
Vincent Petry aeb67f206f Merge pull request #29605 from nextcloud/bugfix/29603/fix-scanner-nfd-existenz
Normalize file name before existence check in scanner
2021-11-19 15:29:05 +01:00
dependabot[bot] 11c29c150c Merge pull request #27266 from nextcloud/dependabot/npm_and_yarn/jquery-3.6.0 2021-11-19 14:28:23 +00:00
szaimen 7508fedcb4 Merge pull request #29784 from nextcloud/bugfix/noid/app-summary-is-optional
App summary is optional
2021-11-19 15:06:36 +01:00
Vincent Petry 89cbd7b1c1 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 14:58:44 +01:00
Vincent Petry 49e35ff2cc Fix mainfileinfodetailsview appending
Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly
render self-closed elements. This fixes mainfileinfodetailsview template
to not use self-closed elements and fixes the JS unit tests.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-19 13:42:40 +00:00
Joas Schilling 615a8e60ba 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:02:03 +01:00
Arthur Schiwon 8266f88755 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-11-19 13:07:19 +01:00
Nextcloud bot c35ad0c20d [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-19 02:38:13 +00:00
Vincent Petry ba8b55f4d6 Fix action share icon markup
Expanded the empty span tag to resolve issue with wrong appending done
by either handlebars or jquery.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-18 15:41:26 +01:00
dependabot[bot] a2bd8ca820 Bump jquery from 3.3.1 to 3.6.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-18 15:41:26 +01:00
acsfer 152e2bfdaa Check for disk_free_space
Check for `disk_free_space` before calling it.
Fix https://github.com/nextcloud/server/issues/29748
2021-11-18 11:46:13 +01:00
Joas Schilling 2df7ea7dae Merge pull request #29752 from nextcloud/fix/allow-some-pages-without-two-factor
Explicitly allow access on some (public) routes also without 2FA
2021-11-18 10:43:28 +01:00
Christoph Wurst 781ec814e6 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-18 09:11:22 +01:00
Nextcloud bot 69ab7b4a27 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-18 02:25:38 +00:00
Christoph Wurst c8caba265f Explicitly allow some routes without 2FA
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-17 18:42:21 +01:00
Joas Schilling e272ac258a Merge pull request #29747 from nextcloud/allow-to-serve-static-webassembly-and-tensorflow-lite-files
Allow to serve static WebAssembly and TensorFlow Lite files
2021-11-17 15:09:21 +01:00
Daniel Calviño Sánchez 24bc96ad09 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 13:00:39 +01:00
Vincent Petry c833a4bfec Merge pull request #29734 from nextcloud/rakekniven-patch-2
Fixed grammar
2021-11-17 12:02:51 +01:00
Vincent Petry c92a0e4152 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-17 09:43:25 +01:00
Vincent Petry 67ebe75d0e 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-17 09:24:13 +01:00
Vincent Petry 39fe43b914 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-17 09:24:13 +01:00
Nextcloud bot 0a82d2ea3a [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-17 02:45:31 +00:00
MichaIng ab293aaba9 Merge pull request #29570 from nextcloud/dependabot/npm_and_yarn/build/puppeteer-11.0.0
Bump puppeteer from 10.4.0 to 11.0.0 in /build
2021-11-17 03:05:22 +01:00
dependabot[bot] abe48d75df Merge pull request #29577 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.10.0 2021-11-17 01:52:50 +00:00
dependabot[bot] f11d0fe00c Bump puppeteer from 10.4.0 to 11.0.0 in /build
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 10.4.0 to 11.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/v10.4.0...v11.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-11-17 01:18:54 +00:00
dependabot[bot] c1cf89e430 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-17 01:17:11 +00:00
Vincent Petry 67ff36bd0c Merge pull request #29695 from YoitoFes/fix_missing_setlocale
Fix missing setlocale with php 8
2021-11-16 18:49:37 +01:00
rakekniven 80e0e339a3 Fixed grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-11-16 18:13:05 +01:00
Naoto Kobayashi 6fc8694324 OC_Util::isNonUTF8Locale: fix lint error
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 21:05:43 +09:00
Carl Schwan 6ea81dd2cb Merge pull request #29683 from nextcloud/bugfix/29676/fix-theming-dependencies
Fix core depending on theming app
2021-11-16 11:33:08 +01:00
Nextcloud bot 287e048d40 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-16 02:24:16 +00:00
John Molakvoæ 7c4e76b9a8 Merge pull request #29714 from nextcloud/bump-doctrine-dbal 2021-11-15 19:55:14 +01:00
Joas Schilling 18f3d836a5 Bump doctrine/dbal to 3.1.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:54:06 +01:00
Joas Schilling 5bb49feef8 Allow NULL as well for limit, not integer only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-15 18:51:28 +01:00
MichaIng 9189bc21fb Correct comment about OC_Defaults being used
Signed-off-by: MichaIng <micha@dietpi.com>
2021-11-15 18:44:02 +01:00
Naoto Kobayashi c42c972ab0 OC_Util::isSetLocaleWorking: fix typo
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-16 00:46:21 +09:00
Naoto Kobayashi e9b414fbe3 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 00:40:52 +09:00
szaimen d706c7e062 Merge pull request #29679 from nextcloud/enh/18685/dont-flash
don't flash external storage mountpoints during the status check
2021-11-15 13:09:49 +01:00
Louis 582234322a Merge pull request #29688 from nextcloud/dependabot/npm_and_yarn/marked-4.0.2
Bump marked from 3.0.7 to 4.0.2
2021-11-15 11:30:02 +01:00
Louis 2ff24c0cfd Merge pull request #29689 from nextcloud/dependabot/npm_and_yarn/nextcloud/stylelint-config-2.0.1
Bump @nextcloud/stylelint-config from 1.0.0-beta.0 to 2.0.1
2021-11-15 11:29:00 +01:00
Naoto Kobayashi 25f15f86a9 Add check whether escapeshellcmd behaves the same as basename
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-15 18:33:50 +09:00
Christoph Wurst 98b963e8a2 Merge pull request #29661 from nextcloud/enhancement/calendar-search-properties-api
Document and type allowed property names for calendar property searches
2021-11-15 10:02:47 +01:00
Nextcloud bot 788a1fcca4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-15 02:24:28 +00:00
Nextcloud bot 72787cdcfd [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-14 02:25:33 +00:00
Naoto Kobayashi d2eb5aaa6d Check whether setlocale works only after setlocale
Signed-off-by: Naoto Kobayashi <naoto.kobayashi4c@gmail.com>
2021-11-14 09:18:59 +09:00
Naoto Kobayashi 455bff5c17 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-14 09:18:59 +09:00
dependabot[bot] 835b4bb2cd Merge pull request #29657 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.34 2021-11-14 00:01:09 +00:00
dependabot[bot] 38ca1c2052 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-14 00:17:25 +01:00
dependabot[bot] b55e173128 Bump marked from 3.0.7 to 4.0.2
Bumps [marked](https://github.com/markedjs/marked) from 3.0.7 to 4.0.2.
- [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...v4.0.2)

---
updated-dependencies:
- dependency-name: marked
  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-11-13 15:53:31 +00:00
dependabot[bot] bbf01e137e Merge pull request #29690 from nextcloud/dependabot/npm_and_yarn/jsdom-18.1.0 2021-11-13 04:57:51 +00:00
Nextcloud bot 7071d056a2 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-13 02:25:42 +00:00
dependabot[bot] ea04dc02b1 Bump jsdom from 18.0.1 to 18.1.0
Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.0.1 to 18.1.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/18.0.1...18.1.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-11-13 02:05:28 +00:00
dependabot[bot] cadfd3ef6b Bump @nextcloud/stylelint-config from 1.0.0-beta.0 to 2.0.1
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud/stylelint-config) from 1.0.0-beta.0 to 2.0.1.
- [Release notes](https://github.com/nextcloud/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud/stylelint-config/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/stylelint-config/commits/v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-11-13 02:04:17 +00:00
Joas Schilling f9f02ef45c Merge pull request #29682 from nextcloud/bugfix/29678/fix-missing-token-update
Fix missing token update
2021-11-12 15:46:59 +01:00
Carl Schwan df3d9107ef 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-12 15:04:24 +01:00
Joas Schilling 265c2c125c Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 15:01:56 +01:00
Joas Schilling ccfaddf781 Fix missing token update
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-12 14:43:23 +01:00
szaimen 73f99f3f7d don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-12 12:56:52 +01:00
Nextcloud bot eb7109b3f4 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-12 02:22:55 +00:00
Christoph Wurst 31bcd10c2a Merge pull request #29663 from nextcloud/fix/dav-calenar-loader-load-all-calendars
Fix loading all principal calendars in the dav app calendar provider
2021-11-11 16:09:45 +01:00
Christoph Wurst 4aae1843af Merge pull request #29660 from nextcloud/fix/calendar-query-uris-init
Fix initialization of calendar search URIs
2021-11-11 16:03:34 +01:00
Nextcloud bot 86657f1337 Update npm and node engines versions
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 14:48:31 +00:00
John Molakvoæ 6ab2feaa54 Implement multibucket shift for ObjectStore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-11-11 15:09:28 +01:00
blizzz 17e75fb4a1 Merge pull request #29664 from nextcloud/bugfix/noid/fix-update-with-old-force-enabled-apps
Fix updating with apps
2021-11-11 14:36:10 +01:00
Joas Schilling 66ffedcb16 Fix updating with apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 13:56:42 +01:00
Christoph Wurst 603a88f2ee 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 13:31:32 +01:00
Christoph Wurst ca14c02301 Document and type allowed values 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 and type the allowed values.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-11 10:57:04 +01:00
Christoph Wurst 53cc26e0be 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 10:53:11 +01:00
Joas Schilling 92d4844e0b Merge pull request #29648 from nextcloud/master-is-now-24
Master is now 24
2021-11-11 10:37:56 +01:00
Joas Schilling 8e12ac290f Master is now 24
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-11 10:11:09 +01:00
Nextcloud bot 3b22bc3183 [tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-11-11 02:23:07 +00:00
szaimen 3ac316b77f fix imagecreatetruecolor() error
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-10 15:50:15 +01:00
Côme Chilliet 651147874f Update autoloader accordingly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-09 15:14:58 +01:00
Côme Chilliet 6b960de47c Get rid of LogWrapper calling deprecated logger and use LoggerInterface from PSR instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-11-09 15:11:15 +01:00
rakekniven b7d0babcb8 Added dot at end of sentence.
The full message in the UI is composed by a few strings. Therefore the single parts needs an dot at the end.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-11-02 22:11:31 +01:00
Côme Chilliet 158e73242e 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>
2021-10-28 10:30:14 +02:00
Julius Härtl 0670118470 Use storage filter when fetching previews to cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-08-26 22:03:05 +02:00
Sven Strickroth 1c736abc35 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-08-19 16:43:44 +02:00
kaktuspalme b920d9bd1f Update variables.scss
I would put sans-serif before Noto Color Emoji. If you have none of the previous fonts installed but Noto Color Emoji is, the interface looks very ugly because it uses Noto Color Emoji then. That's exactly the case on my linux distribution.
2021-02-01 08:31:14 +01:00
4708 changed files with 75183 additions and 145989 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
codecov:
branch: stable23
branch: master
ci:
- drone.nextcloud.com
- !scrutinizer-ci.com
+120 -521
View File
File diff suppressed because it is too large Load Diff
+9 -1
View File
@@ -1,7 +1,6 @@
module.exports = {
globals: {
__webpack_nonce__: true,
__webpack_public_path__: true,
_: true,
$: true,
moment: true,
@@ -16,5 +15,14 @@ module.exports = {
// TODO: make sure we fix this as this is bad vue coding style.
// Use proper sync modifier
'vue/no-mutating-props': 'warn',
'vue/custom-event-name-casing': ['error', 'kebab-case', {
// allows custom xxxx:xxx events formats
ignores: ['/^[a-z]+(?:-[a-z]+)*:[a-z]+(?:-[a-z]+)*$/u'],
}],
},
settings: {
jsdoc: {
mode: 'typescript',
},
},
}
+2 -34
View File
@@ -1,34 +1,2 @@
/core/js/dist/*.js binary
/core/js/dist/*.js.map binary
/apps/accessibility/js/*.js binary
/apps/accessibility/js/*.js.map binary
/apps/comments/js/*.js binary
/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
/apps/files_sharing/js/dist/*.js.map binary
/apps/files_trashbin/js/*.js binary
/apps/files_trashbin/js/*.js.map binary
/apps/files_versions/js/*.js binary
/apps/files_versions/js/*.js.map binary
/apps/oauth2/js/*.js binary
/apps/oauth2/js/*.js.map binary
/apps/settings/js/vue* binary
/apps/systemtags/js/systemtags.js binary
/apps/systemtags/js/systemtags.js.map binary
/apps/twofactor_backupcodes/js/*.js binary
/apps/twofactor_backupcodes/js/*.js.map binary
/apps/updatenotification/js/updatenotification.js binary
/apps/updatenotification/js/updatenotification.js.map binary
/apps/user_status/js/*.js binary
/apps/user_status/js/*.js.map binary
/apps/weather_status/js/*.js binary
/apps/weather_status/js/*.js.map binary
/apps/workflowengine/js/*.js binary
/apps/workflowengine/js/*.js.map binary
/dist/* binary
/package-lock.json binary
+8
View File
@@ -1,2 +1,10 @@
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
/apps/twofactor_backupcodes @ChristophWurst @miaulalala @nickvergessen
*/TwoFactorAuth/* @ChristophWurst @miaulalala @nickvergessen
/core/templates/twofactor* @ChristophWurst @miaulalala @nickvergessen
+205
View File
@@ -0,0 +1,205 @@
name: "Bug report: Nextcloud Server"
description: "Submit a report and help us improve Nextcloud Server"
title: "[Bug]: "
labels: ["bug", "0. Needs triage"]
body:
- type: markdown
attributes:
value: |
### 👍 Thank you for contributing to our project!
Please note this is a **free and open-source** project. Most people take on their own time to help you, so please, be patient.
You can obtain [Enterprise support](https://nextcloud.com/support/) if you run Nextcloud Server in a mission critical environment.
- type: checkboxes
id: before-posting
attributes:
label: "⚠️ This issue respects the following points: ⚠️"
description: All conditions are **required**. Your issue can be closed if these are checked incorrectly.
options:
- label: This is a **bug**, not a question or a configuration/webserver/proxy issue.
required: true
- label: This issue is **not** already reported on Github _(I've searched it)_.
required: true
- label: Nextcloud Server **is** up to date. See [Maintenance and Release Schedule](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule) for supported versions.
required: true
- label: I agree to follow Nextcloud's [Code of Conduct](https://nextcloud.com/contribute/code-of-conduct/).
required: true
- type: textarea
id: bug-description
attributes:
label: Bug description
description: |
Provide a description of the bug you're experiencing.
Don't just expect someone will guess what your specific problem is and provide full details.
validations:
required: true
- type: textarea
id: reproduce
attributes:
label: Steps to reproduce
description: |
Describe the steps to reproduce the bug.
The better your description is _(go 'here', click 'there'...)_ the fastest you'll get an _(accurate)_ answer.
value: |
1.
2.
3.
validations:
required: true
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Describe what you expected to happen instead.
validations:
required: true
- type: dropdown
id: install-method
attributes:
label: Installation method
description: |
Select installation method you've used.
_Describe the method in the "Additional info" section if you chose "Other"._
options:
- "Manual installation"
- "Official Docker image"
- "Official VM scripts"
- "Official SNAP package"
- "Official All-in-One appliance"
- "Web installer on a VPS or web space"
- "Other"
- type: dropdown
id: system
attributes:
label: Operating system
description: |
Select operating system where Nextcloud Server is installed.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "Debian/Ubuntu"
- "RHEL/CentOS"
- "Other"
- type: dropdown
id: php
attributes:
label: PHP engine version
description: |
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 7.3"
- "PHP 7.4"
- "PHP 8.0"
- "PHP 8.1"
- "Other"
- type: dropdown
id: webserver
attributes:
label: Web server
description: |
Select Webserver serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "Apache (supported)"
- "Nginx"
- "Lighttpd"
- "Other"
- type: dropdown
id: database
attributes:
label: Database engine version
description: |
Select Database engine serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "MySQL"
- "MariaDB"
- "PostgreSQL"
- "SQlite"
- "Oracle"
- "Other"
- type: dropdown
id: fresh
attributes:
label: Is this bug present after an update or on a fresh install?
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a minor version (ex. 22.2.3 to 22.2.4)"
- "Updated to a major version (ex. 22.2.3 to 23.0.1)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
attributes:
label: Are you using the Nextcloud Server Encryption module?
description: Select if encryption is Enabled on your Nextcloud Server.
options:
- "Encryption is Enabled"
- "Encryption is Disabled"
- type: checkboxes
id: users
attributes:
label: What user-backends are you using?
description: |
Select **all** user-backends Enabled on your Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- label: "Default user-backend _(database)_"
- label: "LDAP/ Active Directory"
- label: "SSO - SAML"
- label: "Other"
- type: textarea
id: configs
attributes:
label: Configuration report
description: |
Provide information about your configuration.
To get this information, execute one of the following commands on the CLI:
```shell
sudo -u www-data php occ config:list system
php occ config:list system
./occ config:list system
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
- type: textarea
id: apps
attributes:
label: List of activated Apps
description: |
Provide information about your apps.
To get this information, execute one of the following commands on the CLI:
```shell
sudo -u www-data php occ app:list
php occ app:list
./occ app:list
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
validations:
required: true
- type: textarea
id: nextcloud-signingstatus
attributes:
label: Nextcloud Signing status
description: |
Provide Nextcloud Signing status.
First, login as Admin user into your Nextcloud, then access this URL:
```shell
https://yournextcloud.tld/index.php/settings/integrity/failed
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
- type: textarea
id: nextcloud-log
attributes:
label: Nextcloud Logs
description: |
Provide Nextcloud logs lines.
Copy all contents from `data/nextcloud.log` or a RAW from `/settings/admin/logging` section:
> NOTE: This will be automatically formatted into code for better readability.
render: shell
- type: textarea
id: additional-info
attributes:
label: Additional info
description: Any additional information related to the issue (ex. browser console errors, software versions).
-166
View File
@@ -1,166 +0,0 @@
---
name: 🐛 Bug report
about: Help us improving by reporting a bug
labels: bug, 0. Needs triage
---
<!--
Thanks for reporting issues back to Nextcloud!
Note: This is the **issue tracker of Nextcloud**, please do NOT use this to get answers to your questions or get help for fixing your installation. This is a place to report bugs to developers, after your server has been debugged. You can find help debugging your system on our home user forums: https://help.nextcloud.com or, if you use Nextcloud in a large organization, ask our engineers on https://portal.nextcloud.com. See also https://nextcloud.com/support for support options.
Nextcloud is an open source project backed by Nextcloud GmbH. Most of our volunteers are home users and thus primarily care about issues that affect home users. Our paid engineers prioritize issues of our customers. If you are neither a home user nor a customer, consider paying somebody to fix your issue, do it yourself or become a customer.
Guidelines for submitting issues:
* Please search the existing issues first, it's likely that your issue was already reported or even fixed.
- Go to https://github.com/nextcloud and type any word in the top search/command bar. You probably see something like "We couldnt find any repositories matching ..." then click "Issues" in the left navigation.
- You can also filter by appending e. g. "state:open" to the search string.
- More info on search syntax within github: https://help.github.com/articles/searching-issues
* This repository https://github.com/nextcloud/server/issues is *only* for issues within the Nextcloud Server code. This also includes the apps: files, encryption, external storage, sharing, deleted files, versions, LDAP, and WebDAV Auth
* SECURITY: Report any potential security bug to us via our HackerOne page (https://hackerone.com/nextcloud) following our security policy (https://nextcloud.com/security/) instead of filing an issue in our bug tracker.
* The issues in other components should be reported in their respective repositories: You will find them in our GitHub Organization (https://github.com/nextcloud/)
* You can also use the Issue Template app to prefill most of the required information: https://apps.nextcloud.com/apps/issuetemplate
-->
<!--- Please keep this note for other contributors -->
### How to use GitHub
* Please use the 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to show that you are affected by the same issue.
* Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
* Subscribe to receive notifications on status change and new comments.
### Steps to reproduce
1.
2.
3.
### Expected behaviour
Tell us what should happen
### Actual behaviour
Tell us what happens instead
### Server configuration
**Operating system:**
**Web server:**
**Database:**
**PHP version:**
**Nextcloud version:** (see Nextcloud admin page)
**Updated from an older Nextcloud/ownCloud or fresh install:**
**Where did you install Nextcloud from:**
**Signing status:**
<details>
<summary>Signing status</summary>
```
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
```
</details>
**List of activated apps:**
<details>
<summary>App list</summary>
```
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
```
</details>
**Nextcloud configuration:**
<details>
<summary>Config report</summary>
```
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
```
</details>
**Are you using external storage, if yes which one:** local/smb/sftp/...
**Are you using encryption:** yes/no
**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...
#### LDAP configuration (delete this part if not used)
<details>
<summary>LDAP config</summary>
```
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder
Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';
Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
```
</details>
### Client configuration
**Browser:**
**Operating system:**
### Logs
<!--- Reports without logs might be closed as unqualified reports! -->
#### Web server error log
<details>
<summary>Web server error log</summary>
```
Insert your webserver log here
```
</details>
#### Nextcloud log (data/nextcloud.log)
<details>
<summary>Nextcloud log</summary>
```
Insert your Nextcloud log here
```
</details>
#### Browser log
<details>
<summary>Browser log</summary>
```
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...
```
</details>
+38 -38
View File
@@ -55,24 +55,6 @@ updates:
# 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:
@@ -89,7 +71,7 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: npm
directory: "/"
@@ -109,25 +91,25 @@ 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: stable23
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:
@@ -144,7 +126,7 @@ updates:
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
@@ -163,3 +145,21 @@ updates:
# 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: stable23
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"]
+8 -8
View File
@@ -18,12 +18,12 @@ jobs:
steps:
- name: Check actor permission
uses: skjnldsv/check-actor-permission@e591dbfe838300c007028e1219ca82cc26e8d7c5 # v2.1
uses: skjnldsv/check-actor-permission@v2
with:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,7 +31,7 @@ jobs:
reaction-type: "+1"
- name: Parse command
uses: skjnldsv/parse-command-comment@7cef1df370a99dfd5bf896d50121390c96785db8 # v2.0
uses: skjnldsv/parse-command-comment@master
id: command
# Init path depending on which command is run
@@ -45,7 +45,7 @@ jobs:
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@653a7d5ca8bd91d3c5cb83286063314d0b063b8e # v1.4.0
uses: xt0rted/pull-request-comment-branch@v1
id: comment-branch
process:
@@ -54,7 +54,7 @@ jobs:
steps:
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +66,14 @@ jobs:
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1bdcee71fa343c46b18dc6aceffb4cd1e35209c6 # v1.2
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@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@v2
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -108,7 +108,7 @@ jobs:
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+4 -4
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@v1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -26,18 +26,18 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
- name: Automatic Rebase
uses: cirrus-actions/rebase@c473b716e3fcde0c6bf67416e2c2882830ad40f6 # 1.5
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@a35cf36e5301d70b76f316e867e7788a55a31dae # v1.4.5
uses: peter-evans/create-or-update-comment@v1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -18,12 +18,12 @@ jobs:
steps:
# Github actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
- uses: hmarr/auto-approve-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2.6.6
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+1 -1
View File
@@ -15,6 +15,6 @@ jobs:
steps:
- name: Run check
uses: xt0rted/block-autosquash-commits-action@79880c36b4811fe549cfffe20233df88876024e7 # v2.2.0
uses: xt0rted/block-autosquash-commits-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+3 -3
View File
@@ -28,7 +28,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: true
@@ -40,10 +40,10 @@ jobs:
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@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
+3 -3
View File
@@ -20,17 +20,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
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@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+5 -5
View File
@@ -6,13 +6,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['7.3', '7.4', '8.0']
php-versions: ['7.4', '8.0', '8.1']
name: php${{ matrix.php-versions }} lint
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@master
- name: Set up php${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
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
@@ -25,9 +25,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
uses: actions/checkout@master
- name: Set up php
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
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
+15 -17
View File
@@ -16,10 +16,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
@@ -28,13 +28,13 @@ jobs:
test:
runs-on: ubuntu-latest
needs: versions
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -42,9 +42,6 @@ jobs:
run: npm i -g npm@"${{ needs.versions.outputs.npmVersion }}"
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: npm ci
- name: Test
@@ -56,17 +53,18 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
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: 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: ./autotest-js.sh
@@ -74,13 +72,13 @@ jobs:
handlebars:
runs-on: ubuntu-latest
needs: versions
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@v2
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
+3 -3
View File
@@ -19,17 +19,17 @@ jobs:
name: node
steps:
- name: Checkout
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@1e2f46e78e31476bc71ebd909105e6e033d5a6f4 # v1.1
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@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+7 -40
View File
@@ -8,41 +8,26 @@ on:
- stable*
jobs:
phpunit-oci:
phpunit-oci8:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
php-versions: [ '7.3', '7.4', '8.0' ]
php-versions: [ '7.4', '8.0', '8.1']
databases: [ 'oci' ]
name: php${{ matrix.php-versions }}-${{ matrix.databases }}
services:
oracle:
image: ghcr.io/gvenzl/oracle-xe:11
# Provide passwords and other environment variables to container
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: autotest
APP_USER_PASSWORD: owncloud
# Forward Oracle port
image: deepdiver/docker-oracle-xe-11g # "wnameless/oracle-xe-11g-r2"
ports:
- 1521:1521/tcp
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
- "1521:1521"
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
@@ -52,10 +37,10 @@ jobs:
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,oci8,openssl,pcntl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,oci8,openssl,pdo_sqlite,posix,sqlite,xml,zip
tools: phpunit:9
coverage: none
@@ -68,21 +53,3 @@ jobs:
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: phpunit-oci
if: always()
name: phpunit-oci-summary
steps:
- name: Summary status
run: if ${{ needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: recursive
- name: Psalm
@@ -23,6 +23,6 @@ jobs:
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Analysis results to GitHub
uses: github/codeql-action/upload-sarif@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
+2 -2
View File
@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: recursive
- name: Psalm
@@ -23,6 +23,6 @@ jobs:
composer_ignore_platform_reqs: false
report_file: results.sarif
- name: Upload Security Analysis results to GitHub
uses: github/codeql-action/upload-sarif@231aa2c8a89117b126725a0e11897209b7118144 # v1.1.39
uses: github/codeql-action/upload-sarif@v1
with:
sarif_file: results.sarif
+6 -6
View File
@@ -36,15 +36,15 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
@@ -85,15 +85,15 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
+9 -8
View File
@@ -6,11 +6,10 @@ on:
- master
- stable*
jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
runs-on: ubuntu-latest
strategy:
# do not stop on another job's failure
@@ -26,21 +25,21 @@ jobs:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
image: bitnami/minio:2021.10.6
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
tools: phpunit
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
- name: Set up Nextcloud
@@ -53,7 +52,9 @@ jobs:
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 1 http://localhost:9000/minio/health/ready
- name: PHPUnit
working-directory: tests
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
uses: actions/checkout@v2
with:
submodules: true
- name: Pull images
+4 -4
View File
@@ -6,7 +6,7 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
@@ -14,7 +14,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
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
@@ -32,7 +32,7 @@ jobs:
static-code-analysis-ocp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@v2
- name: Checkout submodules
shell: bash
run: |
@@ -40,7 +40,7 @@ jobs:
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
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
+3 -3
View File
@@ -10,12 +10,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
- uses: actions/checkout@v2
with:
submodules: true
- name: Set up php7.4
uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0
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
@@ -34,7 +34,7 @@ jobs:
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3.14.0
uses: peter-evans/create-pull-request@v3
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
-1
View File
@@ -129,7 +129,6 @@ nbproject
/build/jsdocs/
/npm-debug.log
/PhantomJS_*
/build/package-lock.json
# puphpet
puphpet
-3
View File
@@ -24,9 +24,6 @@
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
Header onsuccess unset X-Download-Options
Header always set X-Download-Options "noopen"
Header onsuccess unset X-Frame-Options
Header always set X-Frame-Options "SAMEORIGIN"
-17
View File
@@ -1,17 +0,0 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/nextcloud/pre-commit-php.git
rev: 1.5.1
hooks:
- id: php-lint
- id: php-cs-fixer
files: \.(php)$
exclude: ^(config|data|composer)
args: []
+2 -34
View File
@@ -28,39 +28,7 @@ lint-fix-watch:
# Cleaning
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/
rm -rf apps/files_versions/js/
rm -rf apps/oauth2/js/
rm -rf apps/settings/js/vue-*
rm -rf apps/systemtags/js/systemtags.*
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
rm -rf dist
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/
git checkout -- apps/files_versions/js/
git checkout -- apps/oauth2/js/
git checkout -- apps/settings/js/vue-*
git checkout -- apps/systemtags/js/systemtags.*
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
git checkout -- dist
+2 -2
View File
@@ -1,6 +1,6 @@
# 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)
[![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)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
**A safe home for all your data.**
+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.9.0</version>
<version>1.10.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="23" max-version="23"/>
<nextcloud min-version="24" max-version="24"/>
</dependencies>
<repair-steps>
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'name' => '__root__',
'dev' => false,
),
@@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'dev_requirement' => false,
),
),
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
-19
View File
@@ -1,19 +0,0 @@
OC.L10N.register(
"accessibility",
{
"Dark theme" : "Tema Oscuro",
"Enable dark theme" : "Habilitar el 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 facilita 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" : "Habilitar modo de contraste alto",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste facilita tu navegación. La calidad visual puede ser menor pero se incrementa la claridad.",
"Dyslexia font" : "Fuente para las personas con dislexia",
"Enable dyslexia font" : "Habilita la fuente para personas con 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 nexcloud",
"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);");
-17
View File
@@ -1,17 +0,0 @@
{ "translations": {
"Dark theme" : "Tema Oscuro",
"Enable dark theme" : "Habilitar el 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 facilita 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" : "Habilitar modo de contraste alto",
"A high contrast mode to ease your navigation. Visual quality will be reduced but clarity will be increased." : "Modo de alto contraste facilita tu navegación. La calidad visual puede ser menor pero se incrementa la claridad.",
"Dyslexia font" : "Fuente para las personas con dislexia",
"Enable dyslexia font" : "Habilita la fuente para personas con 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 nexcloud",
"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);"
}
@@ -33,22 +33,10 @@ use OCP\IURLGenerator;
class AccessibilityProvider {
/** @var string */
protected $appName;
protected string $appName;
private IURLGenerator $urlGenerator;
private IL10N $l;
/** @var IURLGenerator */
private $urlGenerator;
/** @var IL10N */
private $l;
/**
* Account constructor.
*
* @param string $appName
* @param IURLGenerator $urlGenerator
* @param IL10N $l
*/
public function __construct(string $appName,
IURLGenerator $urlGenerator,
IL10N $l) {
@@ -57,7 +45,10 @@ class AccessibilityProvider {
$this->l = $l;
}
public function getThemes() {
/**
* @psalm-return array<array-key, array{id: string, img: string, title: string, enableLabel: string, text: string}>
*/
public function getThemes(): array {
return [
[
'id' => 'dark',
@@ -69,7 +60,10 @@ class AccessibilityProvider {
];
}
public function getHighContrast() {
/**
* @psalm-return array{id: string, img: string, title: string, enableLabel: string, text: string}
*/
public function getHighContrast(): array {
return [
'id' => 'highcontrast',
'img' => $this->urlGenerator->imagePath($this->appName, 'mode-highcontrast.jpg'),
@@ -79,7 +73,10 @@ class AccessibilityProvider {
];
}
public function getFonts() {
/**
* @psalm-return array<array-key, array{id: string, img: string, title: string, enableLabel: string, text: string}>
*/
public function getFonts(): array {
return [
[
'id' => 'fontdyslexic',
@@ -48,35 +48,15 @@ use ScssPhp\ScssPhp\OutputStyle;
class AccessibilityController extends Controller {
/** @var string */
protected $appName;
/** @var string */
protected $serverRoot;
/** @var IConfig */
private $config;
/** @var LoggerInterface */
private $logger;
/** @var ITimeFactory */
protected $timeFactory;
/** @var IUserSession */
private $userSession;
/** @var IconsCacher */
protected $iconsCacher;
/** @var \OC_Defaults */
private $defaults;
/** @var null|string */
private $injectedVariables;
/** @var string */
private $appRoot;
protected string $serverRoot;
private IConfig $config;
private LoggerInterface $logger;
protected ITimeFactory $timeFactory;
private IUserSession $userSession;
protected IconsCacher $iconsCacher;
private \OC_Defaults $defaults;
private ?string $injectedVariables = null;
private string $appRoot;
public function __construct(string $appName,
IRequest $request,
@@ -104,8 +84,6 @@ class AccessibilityController extends Controller {
* @PublicPage
* @NoCSRFRequired
* @NoSameSiteCookieRequired
*
* @return DataDisplayResponse
*/
public function getCss(): DataDisplayResponse {
$css = '';
@@ -186,8 +164,6 @@ class AccessibilityController extends Controller {
/**
* Return an array with the user theme & font settings
*
* @return array
*/
private function getUserValues(): array {
$userTheme = $this->config->getUserValue($this->userSession->getUser()->getUID(), $this->appName, 'theme', false);
@@ -210,10 +186,6 @@ class AccessibilityController extends Controller {
/**
* Add the correct uri prefix to make uri valid again
*
* @param string $css
* @param string $webDir
* @return string
*/
private function rebaseUrls(string $css, string $webDir): string {
$re = '/url\([\'"]([^\/][\.\w?=\/-]*)[\'"]\)/x';
@@ -226,9 +198,8 @@ class AccessibilityController extends Controller {
* Remove all matches from the $rule regex
*
* @param string $css string to parse
* @return string
*/
private function invertSvgIconsColor(string $css) {
private function invertSvgIconsColor(string $css): string {
return str_replace(
['color=000&', 'color=fff&', 'color=***&'],
['color=***&', 'color=000&', 'color=fff&'],
@@ -248,7 +219,7 @@ class AccessibilityController extends Controller {
return $this->injectedVariables;
}
$variables = '';
foreach ($this->defaults->getScssVariables(!$this->isDarkThemeEnabled()) as $key => $value) {
foreach ($this->defaults->getScssVariables() as $key => $value) {
$variables .= '$' . $key . ': ' . $value . ';';
}
@@ -267,18 +238,4 @@ class AccessibilityController extends Controller {
}
return $variables;
}
/**
* Return true if the dark theme is enabled for the current user
*/
private function isDarkThemeEnabled(): bool {
if (!$this->userSession->isLoggedIn()) {
return false;
}
$user = $this->userSession->getUser();
if (!$user) {
return false;
}
return $this->config->getUserValue($user->getUID(), $this->appName, 'theme', false) === 'dark';
}
}
@@ -41,32 +41,13 @@ use OCP\PreConditionNotMetException;
class ConfigController extends OCSController {
/** @var string */
protected $appName;
/** @var string */
protected $userId;
/** @var string */
protected $serverRoot;
/** @var IConfig */
private $config;
/** @var IUserSession */
private $userSession;
/** @var AccessibilityProvider */
private $accessibilityProvider;
protected string $userId;
private IConfig $config;
private IUserSession $userSession;
private AccessibilityProvider $accessibilityProvider;
/**
* Config constructor.
*
* @param string $appName
* @param IRequest $request
* @param IConfig $config
* @param IUserSession $userSession
* @param AccessibilityProvider $accessibilityProvider
*/
public function __construct(string $appName,
IRequest $request,
@@ -74,7 +55,6 @@ class ConfigController extends OCSController {
IUserSession $userSession,
AccessibilityProvider $accessibilityProvider) {
parent::__construct($appName, $request);
$this->appName = $appName;
$this->config = $config;
$this->userSession = $userSession;
$this->accessibilityProvider = $accessibilityProvider;
@@ -102,7 +82,8 @@ class ConfigController extends OCSController {
*
* Set theme or font config
*
* @param string $key theme or font
* @param string $key the theme or font
* @param string|false $value the value
* @return DataResponse
* @throws OCSBadRequestException|PreConditionNotMetException
*/
@@ -35,17 +35,11 @@ use OCP\Migration\IRepairStep;
class RepairUserConfig implements IRepairStep {
/** @var IUserManager */
protected $userManager;
/** @var IConfig */
protected $config;
protected IUserManager $userManager;
protected IConfig $config;
/**
* MigrateUserConfig constructor.
*
* @param IConfig $config
* @param IUserManager $userManager
*/
public function __construct(IConfig $config,
IUserManager $userManager) {
@@ -31,10 +31,8 @@ use OCP\IConfig;
use OCP\IUserSession;
class JSDataService extends InitialStateProvider {
/** @var IUserSession */
private $userSession;
/** @var IConfig */
private $config;
private IUserSession $userSession;
private IConfig $config;
public function __construct(
IUserSession $userSession,
+1 -1
View File
@@ -4,7 +4,7 @@
* @author Jan C. Borchardt <hey@jancborchardt.net>
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
+1 -1
View File
@@ -3,7 +3,7 @@
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
* @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
-36
View File
@@ -1,36 +0,0 @@
/**
* @copyright Copyright (c) 2016 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* 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
* 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/>.
*
*/
const path = require('path')
module.exports = {
entry: {
accessibility: path.join(__dirname, 'src', 'main.js'),
accessibilityoca: path.join(__dirname, 'src', 'accessibilityoca.js'),
},
output: {
path: path.resolve(__dirname, './js'),
publicPath: '/js/',
filename: '[name].js',
jsonpFunction: 'webpackJsonpAccessibility',
},
}
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.13.0</version>
<version>1.14.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -15,7 +15,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="23" max-version="23"/>
<nextcloud min-version="24" max-version="24"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'name' => '__root__',
'dev' => false,
),
@@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'dev_requirement' => false,
),
),
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Ofrece a Nextcloud capacidades de registro tales como registrar los accesos a archivos u otras acciones sensibles."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Ofrece a Nextcloud capacidades de registro tales como registrar los accesos a archivos u otras acciones sensibles."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditando / Logueando",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditando / Logueando",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, como el acceso a archivos de registro o acciones sensibles."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+3 -3
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / Journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de traçage pour NextCloud tels que les accès aux fichiers ou d'autres actions sensibles."
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que l'enregistrement des accès aux fichiers ou d'autres actions sensibles."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n > 1);");
+3 -3
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / Journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de traçage pour NextCloud tels que les accès aux fichiers ou d'autres actions sensibles."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
"Auditing / Logging" : "Audit / journalisation",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fournit des capacités de journalisation pour Nextcloud telles que l'enregistrement des accès aux fichiers ou d'autres actions sensibles."
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditing / Registrazione",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornisce capacità di registrazione per Nextcloud come la registrazione di accessi ai file o azioni altrimenti sensibili."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditing / Registrazione",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornisce capacità di registrazione per Nextcloud come la registrazione di accessi ai file o azioni altrimenti sensibili."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
-6
View File
@@ -1,6 +0,0 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Ревизија / Евиденција"
},
"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;");
-4
View File
@@ -1,4 +0,0 @@
{ "translations": {
"Auditing / Logging" : "Ревизија / Евиденција"
},"pluralForm" :"nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n > 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+1 -1
View File
@@ -4,4 +4,4 @@ OC.L10N.register(
"Auditing / Logging" : "Auditoria / registo",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece a funcionalidade de registo ao Nextcloud como o registo de acesso a ficheiros ou acções sensíveis."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / registo",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece a funcionalidade de registo ao Nextcloud como o registo de acesso a ficheiros ou acções sensíveis."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
@@ -27,13 +27,12 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Tests\Actions;
use OCA\AdminAudit\Actions\Security;
use OCA\AdminAudit\AuditLogger;
use OCP\IUser;
use Psr\Log\LoggerInterface;
use OCA\AdminAudit\AuditLogger;
use Test\TestCase;
class SecurityTest extends TestCase {
/** @var LoggerInterface|\PHPUnit\Framework\MockObject\MockObject */
/** @var AuditLogger|\PHPUnit\Framework\MockObject\MockObject */
private $logger;
/** @var Security */
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Cloud Federation API</name>
<summary>Enable clouds to communicate with each other and exchange data</summary>
<description>The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data.</description>
<version>1.6.0</version>
<version>1.7.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
@@ -15,6 +15,6 @@
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<dependencies>
<nextcloud min-version="23" max-version="23"/>
<nextcloud min-version="24" max-version="24"/>
</dependencies>
</info>
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'name' => '__root__',
'dev' => false,
),
@@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'dev_requirement' => false,
),
),
+3 -3
View File
@@ -1,8 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API de federació de núvols",
"Enable clouds to communicate with each other and exchange data" : "Permeteu que els núvols es comuniquin entre si i intercanviïn dades",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de federació de núvols permet que diverses instàncies del Nextcloud es comuniquin entre si i intercanviïn dades."
"Cloud Federation API" : "API de la Federació cloud",
"Enable clouds to communicate with each other and exchange data" : "Permetre que els núvols es comuniquin entre si i intercanviar dades",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la Federació cloud permet que diverses instàncies Nextcloud es comuniquin entre si i intercanviin dades."
},
"nplurals=2; plural=(n != 1);");
+3 -3
View File
@@ -1,6 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API de federació de núvols",
"Enable clouds to communicate with each other and exchange data" : "Permeteu que els núvols es comuniquin entre si i intercanviïn dades",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de federació de núvols permet que diverses instàncies del Nextcloud es comuniquin entre si i intercanviïn dades."
"Cloud Federation API" : "API de la Federació cloud",
"Enable clouds to communicate with each other and exchange data" : "Permetre que els núvols es comuniquin entre si i intercanviar dades",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la Federació cloud permet que diverses instàncies Nextcloud es comuniquin entre si i intercanviin dades."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -1,8 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API pro federovaný cloud",
"Cloud Federation API" : "API pro federování cloudu",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům navzájem komunikovat a vyměňovat si data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federovaný cloud umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federování cloudů umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
},
"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
@@ -1,6 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API pro federovaný cloud",
"Cloud Federation API" : "API pro federování cloudu",
"Enable clouds to communicate with each other and exchange data" : "Umožňuje cloudům navzájem komunikovat a vyměňovat si data",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federovaný cloud umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API pro federování cloudů umožňuje různým instancím Nextcloud vzájemně komunikovat a vyměňovat si data."
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
+1 -1
View File
@@ -5,4 +5,4 @@ OC.L10N.register(
"Enable clouds to communicate with each other and exchange data" : "Permitir que las nubes se comuniquen entre ellas e intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "La API Cloud Federation permite que varias instancias de Nextcloud se comuniquen entre ellas e intercambien datos."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -2,5 +2,5 @@
"Cloud Federation API" : "Cloud Federation API",
"Enable clouds to communicate with each other and exchange data" : "Permitir que las nubes se comuniquen entre ellas e intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "La API Cloud Federation permite que varias instancias de Nextcloud se comuniquen entre ellas e intercambien datos."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -5,4 +5,4 @@ OC.L10N.register(
"Enable clouds to communicate with each other and exchange data" : "Permettre aux clouds de communiquer entre eux et d'échanger des données",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API Cloud Federation permet à diverses instances Nextcloud de communiquer entre elles et d'échanger des données."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n > 1);");
+1 -1
View File
@@ -2,5 +2,5 @@
"Cloud Federation API" : "API Cloud Federation",
"Enable clouds to communicate with each other and exchange data" : "Permettre aux clouds de communiquer entre eux et d'échanger des données",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API Cloud Federation permet à diverses instances Nextcloud de communiquer entre elles et d'échanger des données."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
+1 -1
View File
@@ -5,4 +5,4 @@ OC.L10N.register(
"Enable clouds to communicate with each other and exchange data" : "Consenti ai cloud di comunicare tra loro e di scambiare dati",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API Federazione Cloud consente a varie istanze di Nextcloud di comunicare tra loro e scambiare dati."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -2,5 +2,5 @@
"Cloud Federation API" : "API Federazione Cloud",
"Enable clouds to communicate with each other and exchange data" : "Consenti ai cloud di comunicare tra loro e di scambiare dati",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API Federazione Cloud consente a varie istanze di Nextcloud di comunicare tra loro e scambiare dati."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -5,4 +5,4 @@ OC.L10N.register(
"Enable clouds to communicate with each other and exchange data" : "Permite que diferentes nuvens se comuniquem entre si e troquem dados",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "A API de Nuvem Federada permite que várias instâncias do Nextcloud se comuniquem entre si e troquem dados."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
"nplurals=2; plural=(n > 1);");
+1 -1
View File
@@ -2,5 +2,5 @@
"Cloud Federation API" : "API de Nuvem Federada",
"Enable clouds to communicate with each other and exchange data" : "Permite que diferentes nuvens se comuniquem entre si e troquem dados",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "A API de Nuvem Federada permite que várias instâncias do Nextcloud se comuniquem entre si e troquem dados."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
}
-8
View File
@@ -1,8 +0,0 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "Cloud Federation API",
"Enable clouds to communicate with each other and exchange data" : "Увімкніть хмари для спілкування один з одним і обміну даними",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API Cloud Federation дозволяє різним примірникам Nextcloud спілкуватися один з одним і обмінюватися даними."
},
"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);");
-6
View File
@@ -1,6 +0,0 @@
{ "translations": {
"Cloud Federation API" : "Cloud Federation API",
"Enable clouds to communicate with each other and exchange data" : "Увімкніть хмари для спілкування один з одним і обміну даними",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "API Cloud Federation дозволяє різним примірникам Nextcloud спілкуватися один з одним і обмінюватися даними."
},"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);"
}
@@ -157,23 +157,19 @@ class RequestHandlerController extends Controller {
$shareWith = $this->mapUid($shareWith);
if (!$this->userManager->userExists($shareWith)) {
$response = new JSONResponse(
return new JSONResponse(
['message' => 'User "' . $shareWith . '" does not exists at ' . $this->urlGenerator->getBaseUrl()],
Http::STATUS_BAD_REQUEST
);
$response->throttle();
return $response;
}
}
if ($shareType === 'group') {
if (!$this->groupManager->groupExists($shareWith)) {
$response = new JSONResponse(
return new JSONResponse(
['message' => 'Group "' . $shareWith . '" does not exists at ' . $this->urlGenerator->getBaseUrl()],
Http::STATUS_BAD_REQUEST
);
$response->throttle();
return $response;
}
}
@@ -203,7 +199,6 @@ class RequestHandlerController extends Controller {
$e->getCode()
);
} catch (\Exception $e) {
$this->logger->error($e->getMessage(), ['exception' => $e]);
return new JSONResponse(
['message' => 'Internal error at ' . $this->urlGenerator->getBaseUrl()],
Http::STATUS_BAD_REQUEST
@@ -257,12 +252,10 @@ class RequestHandlerController extends Controller {
Http::STATUS_BAD_REQUEST
);
} catch (ShareNotFound $e) {
$response = new JSONResponse(
return new JSONResponse(
['message' => $e->getMessage()],
Http::STATUS_BAD_REQUEST
);
$response->throttle();
return $response;
} catch (ActionNotSupportedException $e) {
return new JSONResponse(
['message' => $e->getMessage()],
@@ -271,9 +264,7 @@ class RequestHandlerController extends Controller {
} catch (BadRequestException $e) {
return new JSONResponse($e->getReturnMessage(), Http::STATUS_BAD_REQUEST);
} catch (AuthenticationFailedException $e) {
$response = new JSONResponse(['message' => 'RESOURCE_NOT_FOUND'], Http::STATUS_FORBIDDEN);
$response->throttle();
return $response;
return new JSONResponse(["message" => "RESOURCE_NOT_FOUND"], Http::STATUS_FORBIDDEN);
} catch (\Exception $e) {
return new JSONResponse(
['message' => 'Internal error at ' . $this->urlGenerator->getBaseUrl()],
+2 -2
View File
@@ -5,7 +5,7 @@
<name>Comments</name>
<summary>Files app plugin to add comments to files</summary>
<description>Files app plugin to add comments to files</description>
<version>1.13.0</version>
<version>1.14.0</version>
<licence>agpl</licence>
<author>Arthur Schiwon</author>
<author>Vincent Petry</author>
@@ -17,7 +17,7 @@
<category>social</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="23" max-version="23"/>
<nextcloud min-version="24" max-version="24"/>
</dependencies>
<activity>
@@ -5,7 +5,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'name' => '__root__',
'dev' => false,
),
@@ -16,7 +16,7 @@
'type' => 'library',
'install_path' => __DIR__ . '/../',
'aliases' => array(),
'reference' => '51f361f81a2a9b399e5d283efcd11c17a1fded73',
'reference' => 'c6429e6cd19c57582364338362e543580821cf99',
'dev_requirement' => false,
),
),
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-24
View File
@@ -1,24 +0,0 @@
!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/js/",t(t.s=645)}({645:function(e,n){function r(e,n,t,r,o,i,u){try{var c=e[i](u),a=c.value}catch(e){return void t(e)}c.done?n(a):Promise.resolve(a).then(r,o)}
/**
* @copyright Copyright (c) 2020 John Molakvoæ <skjnldsv@protonmail.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* 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
* 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/>.
*
*/
var o=null,i=new OCA.Files.Sidebar.Tab({id:"comments",name:t("comments","Comments"),icon:"icon-comment",mount:function(e,n,t){return(i=regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return o&&o.$destroy(),o=new OCA.Comments.View("files",{parent:t}),r.next=4,o.update(n.id);case 4:o.$mount(e);case 5:case"end":return r.stop()}}),r)})),function(){var e=this,n=arguments;return new Promise((function(t,o){var u=i.apply(e,n);function c(e){r(u,t,o,c,a,"next",e)}function a(e){r(u,t,o,c,a,"throw",e)}c(void 0)}))})();var i},update:function(e){o.update(e.id)},destroy:function(){o.$destroy(),o=null},scrollBottomReached:function(){o.onScrollBottomReached()}});window.addEventListener("DOMContentLoaded",(function(){OCA.Files&&OCA.Files.Sidebar&&OCA.Files.Sidebar.registerTab(i)}))}});
//# sourceMappingURL=comments-tab.js.map
File diff suppressed because one or more lines are too long
-48
View File
@@ -1,48 +0,0 @@
!function(e){var n={};function t(o){if(n[o])return n[o].exports;var i=n[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,t),i.l=!0,i.exports}t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(o,i,function(n){return e[n]}.bind(null,i));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="/js/",t(t.s=372)}({372:function(e,n,t){"use strict";t.r(n);t(373),t(374),t(375),t(376);
/**
* @copyright Copyright (c) 2016 Roeland Jago Douma <roeland@famdouma.nl>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* 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
* 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/>.
*
*/
window.OCA.Comments=OCA.Comments},373:function(e,n){
/**
* Copyright (c) 2016 Vincent Petry <pvince81@owncloud.com>
*
* @author John Molakvoæ <skjnldsv@protonmail.com>
* @author Vincent Petry <vincent@nextcloud.com>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* 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
* 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/>.
*
*/
OCA.Comments||(OCA.Comments={})},374:function(e,n){function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o;o=Handlebars.template,(OCA.Comments.Templates=OCA.Comments.Templates||{}).filesplugin=o({compiler:[8,">= 4.3.0"],main:function(e,n,o,i,r){var s,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,m=e.escapeExpression,c=e.lookupProperty||function(e,n){if(Object.prototype.hasOwnProperty.call(e,n))return e[n]};return'<a class="action action-comment permanent" title="'+m("function"===t(s=null!=(s=c(o,"countMessage")||(null!=n?c(n,"countMessage"):n))?s:l)?s.call(a,{name:"countMessage",hash:{},data:r,loc:{start:{line:1,column:50},end:{line:1,column:66}}}):s)+'" href="#">\n\t<img class="svg" src="'+m("function"===t(s=null!=(s=c(o,"iconUrl")||(null!=n?c(n,"iconUrl"):n))?s:l)?s.call(a,{name:"iconUrl",hash:{},data:r,loc:{start:{line:2,column:23},end:{line:2,column:34}}}):s)+'"/>\n</a>\n'},useData:!0})},375:function(e,o){_.extend(OC.Files.Client,{PROPERTY_COMMENTS_UNREAD:"{"+OC.Files.Client.NS_OWNCLOUD+"}comments-unread"}),OCA.Comments=_.extend({},OCA.Comments),OCA.Comments||(OCA.Comments={}),OCA.Comments.FilesPlugin={ignoreLists:["trashbin","files.public"],_formatCommentCount:function(e){return OCA.Comments.Templates.filesplugin({count:e,countMessage:n("comments","%n unread comment","%n unread comments",e),iconUrl:OC.imagePath("core","actions/comment")})},attach:function(e){var o=this;if(!(this.ignoreLists.indexOf(e.id)>=0)){var i=e._getWebdavProperties;e._getWebdavProperties=function(){var e=i.apply(this,arguments);return e.push(OC.Files.Client.PROPERTY_COMMENTS_UNREAD),e},e.filesClient.addFileInfoParser((function(e){var n={},t=e.propStat[0].properties[OC.Files.Client.PROPERTY_COMMENTS_UNREAD];return _.isUndefined(t)||""===t||(n.commentsUnread=parseInt(t,10)),n})),e.$el.addClass("has-comments");var r=e._createRow;e._createRow=function(e){var n=r.apply(this,arguments);return e.commentsUnread&&n.attr("data-comments-unread",e.commentsUnread),n},e.fileActions.registerAction({name:"Comment",displayName:function(e){if(e&&e.$file){var o=parseInt(e.$file.data("comments-unread"),10);if(o>=0)return n("comments","1 new comment","{unread} new comments",o,{unread:o})}return t("comments","Comment")},mime:"all",order:-140,iconClass:"icon-comment",permissions:OC.PERMISSION_READ,type:OCA.Files.FileActions.TYPE_INLINE,render:function(e,n,t){var i=t.$file.data("comments-unread");if(i){var r=$(o._formatCommentCount(i));return t.$file.find("a.name>span.fileactions").append(r),r}return""},actionHandler:function(e,n){n.$file.find(".action-comment").tooltip("hide"),OCA.Files.Sidebar.setActiveTab("comments"),OCA.Files.Sidebar.open(n.dir+"/"+e)}});var s=e.elementToFile;e.elementToFile=function(e){var n=s.apply(this,arguments),t=e.data("comments-unread");return t&&(n.commentsUnread=t),n}}}},OC.Plugins.register("OCA.Files.FileList",OCA.Comments.FilesPlugin)},376:function(e,n){OCA.Comments.ActivityTabViewPlugin={prepareModelForDisplay:function(e,n,t){if("comments"===e.get("app")&&"comments"===e.get("type")&&"ActivityTabView"===t&&(n.addClass("comment"),e.get("message")&&this._isLong(e.get("message")))){n.addClass("collapsed");var o=$("<div>").addClass("message-overlay");n.find(".activitymessage").after(o),n.on("click",this._onClickCollapsedComment)}},_onClickCollapsedComment:function(e){var n=$(e.target);n.is(".comment")||(n=n.closest(".comment")),n.removeClass("collapsed")},_isLong:function(e){return e.length>250||(e.match(/\n/g)||[]).length>1}},OC.Plugins.register("OCA.Activity.RenderingPlugins",OCA.Comments.ActivityTabViewPlugin)}});
//# sourceMappingURL=comments.js.map
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -3,6 +3,7 @@ OC.L10N.register(
{
"Comments" : "Kommentare",
"You commented" : "U het kommentaar gelewer",
"%1$s commented" : "%1$s het kommentaar gelewer",
"{author} commented" : "{outeur} het kommentaar gelewer",
"You commented on %1$s" : "U het op %1$s kommentaar gelewer",
"You commented on {file}" : "U het op {lêer} kommentaar gelewer",
@@ -16,7 +17,6 @@ OC.L10N.register(
"Retry" : "Herprobeer",
"_%n unread comment_::_%n unread comments_" : ["%n ongelese kommentaar","%n ongelese kommentare"],
"Comment" : "Kommentaar",
"%1$s commented" : "%1$s het kommentaar gelewer",
"You were mentioned on “{file}”, in a comment by a user that has since been deleted" : "Jy is genoem op “{lêer}”, in die kommentaar van 'n gebruiker wat intussen geskrap is.",
"{user} mentioned you in a comment on “{file}”" : "{gebruiker} het u in n kommentaar oor “{lêer}” genoem"
},
+1 -1
View File
@@ -1,6 +1,7 @@
{ "translations": {
"Comments" : "Kommentare",
"You commented" : "U het kommentaar gelewer",
"%1$s commented" : "%1$s het kommentaar gelewer",
"{author} commented" : "{outeur} het kommentaar gelewer",
"You commented on %1$s" : "U het op %1$s kommentaar gelewer",
"You commented on {file}" : "U het op {lêer} kommentaar gelewer",
@@ -14,7 +15,6 @@
"Retry" : "Herprobeer",
"_%n unread comment_::_%n unread comments_" : ["%n ongelese kommentaar","%n ongelese kommentare"],
"Comment" : "Kommentaar",
"%1$s commented" : "%1$s het kommentaar gelewer",
"You were mentioned on “{file}”, in a comment by a user that has since been deleted" : "Jy is genoem op “{lêer}”, in die kommentaar van 'n gebruiker wat intussen geskrap is.",
"{user} mentioned you in a comment on “{file}”" : "{gebruiker} het u in n kommentaar oor “{lêer}” genoem"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
-6
View File
@@ -1,6 +0,0 @@
OC.L10N.register(
"comments",
{
"Cancel" : "Kanselleer"
},
"nplurals=2; plural=(n != 1);");
-4
View File
@@ -1,4 +0,0 @@
{ "translations": {
"Cancel" : "Kanselleer"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+1 -1
View File
@@ -3,6 +3,7 @@ OC.L10N.register(
{
"Comments" : "تعليقات",
"You commented" : "قمت بكتابة تعليق",
"%1$s commented" : "%1$s كتب تعليق",
"{author} commented" : "{author} علّق",
"You commented on %1$s" : "لقد علقت على %1$s",
"You commented on {file}" : "علقت على {file}",
@@ -25,7 +26,6 @@ OC.L10N.register(
"Comment deleted" : "التعليق حُذف",
"An error occurred while trying to delete the comment" : "حدث خطأ أثناء محاولة حذف التعليق",
"An error occurred while trying to create the comment" : "حدث خطأ أثناء محاولة إنشاء التعليق",
"%1$s commented" : "%1$s كتب تعليق",
"You were mentioned on “{file}”, in a comment by a user that has since been deleted" : "تمت الإشارة إليك على “{file}”, في تعليق بواسطة مستخدم تم حذفه منذ ذلك الحين",
"{user} mentioned you in a comment on “{file}”" : "{user} أشار إليك في تعليق على “{file}”"
},

Some files were not shown because too many files have changed in this diff Show More