Commit Graph

55536 Commits

Author SHA1 Message Date
Daniel Kesselberg a61394d528
Add test case for getDefaultStatusById
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-09-24 22:32:27 +02:00
Julius Härtl 8ab2422b6c
Add acutal response to BeforeTemplateRenderedEvent
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 20:00:23 +02:00
Julius Härtl 54abcbc2aa
Only load user status script when needed
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 20:00:21 +02:00
Roeland Jago Douma bf91ec45fc
Merge pull request #23033 from nextcloud/fix/autoloader_update
Update autloader
2020-09-24 19:59:29 +02:00
Joas Schilling 6db5f53bc6
Fix numeric folders throwing on markDirty
TypeError: strpos() expects parameter 1 to be string, int given

The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-24 15:02:30 +02:00
Roeland Jago Douma fe30bfd232
Update autloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-24 14:59:41 +02:00
Roeland Jago Douma 0e2f316ece
Merge pull request #23015 from nextcloud/bugfix/noid/warn-on-slow-dashboard-widgets
Log slow dashboard widgets
2020-09-24 14:57:17 +02:00
Roeland Jago Douma acba3da7c8
Merge pull request #22948 from nextcloud/add-more-integration-tests-for-files-transfer-ownership-command
Add more integration tests for "files:transfer-ownership" command
2020-09-24 14:45:36 +02:00
Roeland Jago Douma 82ca70a580
Merge pull request #23023 from nextcloud/bugfix/noid/trashbin-size-delete-immediately
Delete files that exceed trashbin size immediately
2020-09-24 14:45:04 +02:00
Roeland Jago Douma 9d67c2a233
Merge pull request #23024 from nextcloud/enh/theming-occ
Add occ command to set theming values
2020-09-24 14:36:26 +02:00
Joas Schilling cea7252874
Fix array to string conversion on event search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-24 13:52:24 +02:00
Roeland Jago Douma 4d1d4da435
Merge pull request #23014 from nextcloud/fix/22977/reasons-to-use-translation
Make 'Reasons to use Nextcloud' button translatable, fix #22977
2020-09-24 09:24:17 +02:00
Julius Härtl 0daf097af3
Fix tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +02:00
Julius Härtl aa95b3d71b
Add occ command to set theming values
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-24 08:22:07 +02:00
Nextcloud bot 260d0dff3b
[tx-robot] updated from transifex 2020-09-24 02:17:48 +00:00
Iscle ebd734dc86 DirectController: Let users choose the expiration time
Signed-off-by: Iscle <albertiscle9@gmail.com>
2020-09-24 01:27:33 +02:00
Julius Härtl 3c47aaa2b1
Delete files that exceed trashbin size immediately
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-23 16:58:18 +02:00
Robin Appelman a79f9605b4
add option to disable notify self check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-23 15:16:16 +02:00
Joas Schilling f62e880a6c
Merge pull request #23016 from nextcloud/bugfix/noid/dont-log-a-known-shared-section
Don't log a known shared section
2020-09-23 13:01:50 +02:00
Joas Schilling 6c6d640e39
Don't log "duplicate section" for the shared "connected-accounts" section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:25:08 +02:00
Joas Schilling b497067ead
Log a warning if a "lazy" initial state loads longer than 1 second
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:14:31 +02:00
Joas Schilling 74f4dbe9de
Log an error if a dashboard widget loads longer than 1 second
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 12:14:01 +02:00
Jan C. Borchardt dca0cc9217
Make 'Reasons to use Nextcloud' button translatable, fix #22977
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-23 10:27:42 +02:00
Joas Schilling 5415eeda43
Show federation and email results also with exact user match unless containing @
Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-23 10:21:55 +02:00
Nextcloud bot 7d06027922
[tx-robot] updated from transifex 2020-09-23 02:17:50 +00:00
Roeland Jago Douma 261cda8bf8
Merge pull request #23008 from nextcloud/bugfix/noid/fix-placeholder-with-longer-languages
Add padding to the empty content and center it
2020-09-22 21:14:33 +02:00
Roeland Jago Douma 7d9c9d103d
Merge pull request #23005 from nextcloud/fs-size-index
add size index for filecache
2020-09-22 20:50:21 +02:00
Joas Schilling e3e56df727
Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:37:42 +02:00
Robin Appelman 634c051be6
add size index for filecache
improves performance of #23004

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-22 15:15:34 +02:00
Roeland Jago Douma 804ec58011
Merge pull request #22952 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-dashboard-1.0.1
Bump @nextcloud/vue-dashboard from 1.0.0 to 1.0.1
2020-09-22 14:49:25 +02:00
Roeland Jago Douma 4123164155
Merge pull request #22940 from nextcloud/bugfix/noid/never-copy-password-on-enforced-passwords
Never copy the share link when the password is forced
2020-09-22 12:58:35 +02:00
dependabot-preview[bot] 313a0f44fc
Bump @nextcloud/vue-dashboard from 1.0.0 to 1.0.1
Bumps [@nextcloud/vue-dashboard](https://github.com/nextcloud/nextcloud-vue-dashboard) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-dashboard/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue-dashboard/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-22 12:54:20 +02:00
Roeland Jago Douma 48961823f7
Merge pull request #22964 from nextcloud/Valdnet-patch-7
l10n: Capital letter of the name of the app
2020-09-22 12:12:41 +02:00
Roeland Jago Douma eb3e33076c
Merge pull request #22974 from nextcloud/Valdnet-patch-8
l10n: Rename the directory for translations
2020-09-22 10:58:33 +02:00
Nextcloud bot 60fcb7092c
[tx-robot] updated from transifex 2020-09-22 02:17:47 +00:00
Joas Schilling db36c72f3c
Recompile
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21 09:09:08 +02:00
Joas Schilling 8b77aa6b4f
Sync all users to the system addresssbook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-21 09:01:39 +02:00
Nextcloud bot d77d52d257
[tx-robot] updated from transifex 2020-09-21 02:17:24 +00:00
Valdnet cd808a31d0
l10n: Rename the directory for translations
The application gets the translation from l10n for the "Clear status after" text string.
2020-09-20 14:41:50 +02:00
Nextcloud bot bdc60ef9b2
[tx-robot] updated from transifex 2020-09-20 02:17:05 +00:00
Valdnet 1582792081
l10n: Capital letter of the name of the app 2020-09-19 22:06:36 +02:00
Valdnet 18091bd56a
l10n: HTTP in capital letters 2020-09-19 20:24:30 +02:00
dependabot-preview[bot] ed9f3ee990
Merge pull request #22957 from nextcloud/dependabot/npm_and_yarn/webpack-4.44.2 2020-09-19 02:31:40 +00:00
dependabot-preview[bot] 601d9ccebc
Bump webpack from 4.44.1 to 4.44.2
Bumps [webpack](https://github.com/webpack/webpack) from 4.44.1 to 4.44.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.44.1...v4.44.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-19 01:21:09 +00:00
Nextcloud bot 58790aadf0
[tx-robot] updated from transifex 2020-09-18 19:05:24 +00:00
Morris Jobke 77c5ec39f0
Fix transifex name of dashboard app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 20:47:30 +02:00
Morris Jobke 2895d26a90
Merge pull request #22949 from nextcloud/enh/noid/transifex
Add transifex config for all new apps
2020-09-18 20:39:21 +02:00
Morris Jobke f850bec79d
Add transifex config for all new apps
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-18 20:38:35 +02:00
Daniel Calviño Sánchez 7b9a40b407 Add integration tests to check that only the given path is transferred
Until recently (it was fixed in ac2999a26a) when a path was transferred
other shares with the target user were removed, so a test was added to
ensure that it does not happen again.

Besides that a test to ensure that other files with the target user are
not transferred was added too (it did not fail before, but seemed
convenient to have that covered too :-) ).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-18 18:35:06 +02:00
Daniel Calviño Sánchez c4c602ee80 Add integration tests for transferring files of a user with a risky name
The files:transfer-ownership performs a sanitization of users with
"risky" display names (including characters like "\" or "/").

In order to allow (escaped) double quotes in the display name the
regular expression used in the "user XXX with displayname YYY exists"
step had to be adjusted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-18 18:34:30 +02:00