Pytal
98b637f291
Merge pull request #30254 from nextcloud/fix/30239/use-bigint
2021-12-14 13:31:26 -08: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
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
Pytal
09915ec15e
Merge pull request #30197 from nextcloud/bugfix/noid/always-store-email-lowercase
2021-12-13 16:11:36 -08: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
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
Nextcloud bot
ce6dcbcdb4
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-12 02:28:19 +00: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
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
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
Christoph Wurst
8420431806
Merge pull request #30075 from nextcloud/logic-op
...
Switch logical operators
2021-12-09 21:14:37 +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
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
Nextcloud bot
0e665e0646
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-08 02:28:44 +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
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
Julius Härtl
00549f7802
Merge pull request #30055 from nextcloud/enh/note-share-api
2021-12-06 08:59:51 +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
Nextcloud bot
f210a6a0e5
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-05 02:30:14 +00:00
John Molakvoæ
e296417ca2
Merge pull request #29527 from nextcloud/rakekniven-patch-1
2021-12-04 12:08:16 +01: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
acsfer
074a9a5e88
Switch logical operators
...
Unless there is a good reason to keep actual ones 👀
2021-12-03 16:05:19 +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
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
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
db2dcbfe13
code checker fixes for instanceOfStorage
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-02 17:35:10 +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
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
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
68d53988f6
Fix log_query config flag
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-01 23:00:51 +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
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