Commit Graph

19861 Commits (be219153ddc1e59d8054ce528daeebaba25f5f0b)

Author SHA1 Message Date
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 +07: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 +07: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 +07: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 +07: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 +07:00
Pytal 98b637f291
Merge pull request #30254 from nextcloud/fix/30239/use-bigint 2021-12-14 13:31:26 +07: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 +07: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 +07:00
Pytal 09915ec15e
Merge pull request #30197 from nextcloud/bugfix/noid/always-store-email-lowercase 2021-12-13 16:11:36 +07: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 +07: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 +07:00
Joas Schilling 99006be126 Lowercase all core=>email values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-13 19:20:10 +07: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 +07:00
Nextcloud bot ce6dcbcdb4
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:19 +07: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 +07: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 +07:00
Nextcloud bot a47da9722d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-10 02:27:19 +07:00
Pytal c019e33b99
Merge pull request #30160 from nextcloud/bugfix/noid/encryption-wrapper-fclose-check 2021-12-09 15:59:51 +07:00
Pytal 92d3520106
Merge pull request #29996 from zordsdavini/patch-1 2021-12-09 14:56:06 +07:00
Christoph Wurst 8420431806
Merge pull request #30075 from nextcloud/logic-op
Switch logical operators
2021-12-09 21:14:37 +07: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 +07: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 +07:00
Joas Schilling f1a6668cc2
Make psalm more happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-09 09:25:50 +07:00
Joas Schilling 93b77f54bd
Fix docs to make Psalm happier
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-09 09:19:32 +07:00
Nextcloud bot 39f77c8870
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-09 02:29:30 +07: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 +07:00
Joas Schilling d49ad7ea47
Limit more contact searches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-08 18:58:54 +07: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 +07: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 +07:00
Nextcloud bot 0e665e0646
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:28:44 +07:00
Nextcloud bot e7fb7115fa
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-07 02:39:53 +07: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 +07: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 +07: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 +07:00
Julius Härtl 00549f7802
Merge pull request #30055 from nextcloud/enh/note-share-api 2021-12-06 08:59:51 +07:00
Nextcloud bot f0e1621eed
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-06 02:30:24 +07:00
Nextcloud bot f210a6a0e5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:14 +07:00
John Molakvoæ e296417ca2
Merge pull request #29527 from nextcloud/rakekniven-patch-1 2021-12-04 12:08:16 +07: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 +07:00
acsfer 074a9a5e88
Switch logical operators
Unless there is a good reason to keep actual ones 👀
2021-12-03 16:05:19 +07:00
John Molakvoæ b067ae78c5
Merge pull request #30034 from nextcloud/fix/bump-scssphp/scssphp-to-1.8.1 2021-12-03 11:55:42 +07: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 +07:00
John Molakvoæ (skjnldsv) 791d57051a
Adapt tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-12-02 21:13:07 +07: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 +07: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 +07:00
Robin Appelman db2dcbfe13
code checker fixes for instanceOfStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:10 +07: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 +07:00
Robin Appelman f93061e344
teach psalm about `Storage::instanceOfStorage`
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:34:53 +07: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 +07: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 +07:00