]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoAdd unit tests to enforce a relaxed default share expiration date
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:36:04 +0000 (19:36 +0100)]
Add unit tests to enforce a relaxed default share expiration date

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove wrong and misleading comment
Daniel Calviño Sánchez [Wed, 11 Nov 2020 19:27:01 +0000 (20:27 +0100)]
Remove wrong and misleading comment

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove extra spaces
Daniel Calviño Sánchez [Thu, 12 Nov 2020 08:38:20 +0000 (09:38 +0100)]
Remove extra spaces

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix typo in variable name
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:55:20 +0000 (19:55 +0100)]
Fix typo in variable name

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoFix typos in method names
Daniel Calviño Sánchez [Wed, 11 Nov 2020 18:34:26 +0000 (19:34 +0100)]
Fix typos in method names

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoMerge pull request #24065 from nextcloud/enh/pimp_accessibilitycontroller
Christoph Wurst [Thu, 12 Nov 2020 07:32:21 +0000 (08:32 +0100)]
Merge pull request #24065 from nextcloud/enh/pimp_accessibilitycontroller

Pimp the accesibility controller

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 12 Nov 2020 02:19:24 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #24063 from nextcloud/techdebt/noid/switch-to-class-names-for...
Morris Jobke [Wed, 11 Nov 2020 21:34:17 +0000 (22:34 +0100)]
Merge pull request #24063 from nextcloud/techdebt/noid/switch-to-class-names-for-encryption-DI

Change to full class names for the encryption app DI in preparation of auto-wiring

3 years agoPimp the accesibility controller 24065/head
Roeland Jago Douma [Wed, 11 Nov 2020 21:17:53 +0000 (22:17 +0100)]
Pimp the accesibility controller

* No usused members
* appRoot member
* less constructor args

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24037 from nextcloud/enh/reflectionparamter_getclass_deprecatred
Roeland Jago Douma [Wed, 11 Nov 2020 20:53:55 +0000 (21:53 +0100)]
Merge pull request #24037 from nextcloud/enh/reflectionparamter_getclass_deprecatred

ReflectionParamter::getClass is deprecated

3 years agoChange to full class names for the encryption app DI in preparation of auto-wiring 24063/head
Morris Jobke [Wed, 11 Nov 2020 19:46:22 +0000 (20:46 +0100)]
Change to full class names for the encryption app DI in preparation of auto-wiring

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoReflectionParamter::getClass is deprecated 24037/head
Roeland Jago Douma [Tue, 10 Nov 2020 20:05:32 +0000 (21:05 +0100)]
ReflectionParamter::getClass is deprecated

In php8 this starts throwing warnings. And since we use it quite often
we flood the log. This moves it to getType which does the same. Only non
deprecated now.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #24060 from nextcloud/revert-24039-faster-installation
Morris Jobke [Wed, 11 Nov 2020 19:10:36 +0000 (20:10 +0100)]
Merge pull request #24060 from nextcloud/revert-24039-faster-installation

Revert "Installation goes brrrr"

3 years agoRevert "Installation goes brrrr" 24060/head
Christoph Wurst [Wed, 11 Nov 2020 16:40:12 +0000 (17:40 +0100)]
Revert "Installation goes brrrr"

3 years agoMerge pull request #24054 from nextcloud/bugfix/noid/calendar-repair-oracle
Morris Jobke [Wed, 11 Nov 2020 16:09:28 +0000 (17:09 +0100)]
Merge pull request #24054 from nextcloud/bugfix/noid/calendar-repair-oracle

Manually iterate over calendardata when oracle is used

3 years agoManually iterate over calendardata when oracle is used 24054/head
Julius Härtl [Wed, 11 Nov 2020 13:15:52 +0000 (14:15 +0100)]
Manually iterate over calendardata when oracle is used

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #24039 from nextcloud/faster-installation
Joas Schilling [Wed, 11 Nov 2020 12:27:40 +0000 (13:27 +0100)]
Merge pull request #24039 from nextcloud/faster-installation

Installation goes brrrr

3 years agoMerge pull request #23915 from st3iny/fix/noid/png-icons-in-caldav-reminder-emails
Morris Jobke [Wed, 11 Nov 2020 11:45:23 +0000 (12:45 +0100)]
Merge pull request #23915 from st3iny/fix/noid/png-icons-in-caldav-reminder-emails

Use png icons in caldav reminder emails

3 years agoMerge pull request #24038 from nextcloud/techdebt/noid/remove-unused-static-methods...
Morris Jobke [Wed, 11 Nov 2020 11:41:04 +0000 (12:41 +0100)]
Merge pull request #24038 from nextcloud/techdebt/noid/remove-unused-static-methods-files_external

Remove unused and deprecated methods from files_external MountConfig

3 years agoDon't create a schema to check if the migrations table exists 24039/head
Joas Schilling [Tue, 10 Nov 2020 20:29:09 +0000 (21:29 +0100)]
Don't create a schema to check if the migrations table exists

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoReduce the number of schemas we generate when we just run all migrations anyway
Joas Schilling [Tue, 10 Nov 2020 20:28:39 +0000 (21:28 +0100)]
Reduce the number of schemas we generate when we just run all migrations anyway

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoOnly update the schema when we install anyway
Joas Schilling [Tue, 10 Nov 2020 20:26:41 +0000 (21:26 +0100)]
Only update the schema when we install anyway

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #24041 from nextcloud/techdebt/noid/remove-oc_hooks-for-group...
Julius Härtl [Wed, 11 Nov 2020 10:17:31 +0000 (11:17 +0100)]
Merge pull request #24041 from nextcloud/techdebt/noid/remove-oc_hooks-for-group-management

Remove old OC_Hook for OC_Group events

3 years agoMerge pull request #23882 from nextcloud/tests/oracle
Joas Schilling [Wed, 11 Nov 2020 09:05:24 +0000 (10:05 +0100)]
Merge pull request #23882 from nextcloud/tests/oracle

Run unit tests against oracle

3 years agoMerge pull request #24042 from nextcloud/fix-sharing-tab-state-not-matching-resharing...
Julius Härtl [Wed, 11 Nov 2020 08:28:23 +0000 (09:28 +0100)]
Merge pull request #24042 from nextcloud/fix-sharing-tab-state-not-matching-resharing-admin-settings

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 11 Nov 2020 02:20:12 +0000 (02:20 +0000)]
[tx-robot] updated from transifex

3 years agoAdd integration tests for default share permissions 24042/head
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:17:04 +0000 (22:17 +0100)]
Add integration tests for default share permissions

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd acceptance tests for reshares by link when resharing is disabled
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:16:50 +0000 (22:16 +0100)]
Add acceptance tests for reshares by link when resharing is disabled

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoAdd acceptance tests for reshares when resharing is disabled
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:16:10 +0000 (22:16 +0100)]
Add acceptance tests for reshares when resharing is disabled

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoDisable share input for a received share if resharing is not allowed
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:14:12 +0000 (22:14 +0100)]
Disable share input for a received share if resharing is not allowed

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove unused and deprecated methods from files_external MountConfig 24038/head
Morris Jobke [Tue, 10 Nov 2020 20:11:06 +0000 (21:11 +0100)]
Remove unused and deprecated methods from files_external MountConfig

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoDo not show "Can reshare" in the menu if resharing is not allowed
Daniel Calviño Sánchez [Tue, 10 Nov 2020 21:13:48 +0000 (22:13 +0100)]
Do not show "Can reshare" in the menu if resharing is not allowed

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years agoRemove old OC_Hook for OC_Group events 24041/head
Morris Jobke [Tue, 10 Nov 2020 20:58:37 +0000 (21:58 +0100)]
Remove old OC_Hook for OC_Group events

Those mappings exist and we will remove the first ones (labeled as `old`):

old: `\OC_Hook::listen('OC_Group', 'pre_createGroup', array('run' => true, 'gid' => $gid));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preCreate', function ($gid) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeGroupCreatedEvent`

old: `\OC_Hook::emit('OC_User', 'post_createGroup', array('gid' => $gid->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postCreate', function (\OC\Group\Group $gid) { ... });`
since NC 17 (#18350): `OCP\Group\Events\GroupCreatedEvent`

old: `\OC_Hook::emit('OC_Group', 'pre_deleteGroup', array('run' => true, 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preDelete', function (\OC\Group\Group $group) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeGroupDeletedEvent`

old: `\OC_Hook::emit('OC_User', 'post_deleteGroup', array('gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postDelete', function (\OC\Group\Group $group) { ... });`
since NC 17 (#18350): `OCP\Group\Events\GroupDeletedEvent`

old: `\OC_Hook::emit('OC_Group', 'pre_addToGroup', array('run' => true, 'uid' => $user->getUID(), 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'preAddUser', function (\OC\Group\Group $group, \OC\User\User $user) { ... });`
since NC 17 (#18350): `OCP\Group\Events\BeforeUserAddedEvent`

old: `\OC_Hook::emit('OC_Group', 'post_addToGroup', array('uid' => $user->getUID(), 'gid' => $group->getGID()));`
since OC 8 (owncloud/core#12618): `$groupManager->listen('\OC\Group', 'postAddUser', function (\OC\Group\Group $group, \OC\User\User $user) { ... });`
since NC 17 (#18350): `OCP\Group\Events\UserAddedEvent`

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoFix unique key in test table 23882/head
Joas Schilling [Tue, 10 Nov 2020 18:21:08 +0000 (19:21 +0100)]
Fix unique key in test table

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix naming of jobs and steps
Joas Schilling [Tue, 10 Nov 2020 17:49:02 +0000 (18:49 +0100)]
Fix naming of jobs and steps

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #24025 from nextcloud/techdebt/no-testing-deprecation-logs
Morris Jobke [Tue, 10 Nov 2020 19:23:07 +0000 (20:23 +0100)]
Merge pull request #24025 from nextcloud/techdebt/no-testing-deprecation-logs

Do not print deprecation warnings during testing

3 years agoUpdate baseline, I'm sorry
Joas Schilling [Tue, 10 Nov 2020 14:55:06 +0000 (15:55 +0100)]
Update baseline, I'm sorry

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix CS
Joas Schilling [Tue, 10 Nov 2020 14:43:34 +0000 (15:43 +0100)]
Fix CS

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoCreate primary keys on all tables and add a command to create the afterwards
Joas Schilling [Tue, 10 Nov 2020 08:34:57 +0000 (09:34 +0100)]
Create primary keys on all tables and add a command to create the afterwards

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoReplace the credentials table with one that can have empty user
Joas Schilling [Tue, 10 Nov 2020 08:33:29 +0000 (09:33 +0100)]
Replace the credentials table with one that can have empty user

Primary key columns on Oracle can not have empty strings

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoDon't try to update on NotNullConstraintViolationException, only on unique or foreign key
Joas Schilling [Mon, 9 Nov 2020 16:33:32 +0000 (17:33 +0100)]
Don't try to update on NotNullConstraintViolationException, only on unique or foreign key

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix comparing the empty string for global credentials
Joas Schilling [Mon, 9 Nov 2020 16:33:05 +0000 (17:33 +0100)]
Fix comparing the empty string for global credentials

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoEmpty string is returned as null, but empty string in file cache is the root and...
Joas Schilling [Mon, 9 Nov 2020 15:26:09 +0000 (16:26 +0100)]
Empty string is returned as null, but empty string in file cache is the root and exists

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix public calendars as they are stored with null on oracle
Joas Schilling [Mon, 9 Nov 2020 09:40:55 +0000 (10:40 +0100)]
Fix public calendars as they are stored with null on oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMake sure columns with an empty default are nullable for Oracle
Joas Schilling [Mon, 9 Nov 2020 09:38:47 +0000 (10:38 +0100)]
Make sure columns with an empty default are nullable for Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoFix "Invalid fetch style: 12" on Oracle
Joas Schilling [Fri, 6 Nov 2020 13:13:11 +0000 (14:13 +0100)]
Fix "Invalid fetch style: 12" on Oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMake the test pass on repeating calls
Joas Schilling [Fri, 6 Nov 2020 13:12:40 +0000 (14:12 +0100)]
Make the test pass on repeating calls

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoSkip the insertIfNotExists() tests on Oracle because it doesn't work with clob
Joas Schilling [Wed, 4 Nov 2020 15:40:31 +0000 (16:40 +0100)]
Skip the insertIfNotExists() tests on Oracle because it doesn't work with clob

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoEasier debugging and spell fix
Joas Schilling [Wed, 4 Nov 2020 15:03:45 +0000 (16:03 +0100)]
Easier debugging and spell fix

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoUse a different column for the primary key as we can not insert it on oracle
Joas Schilling [Wed, 4 Nov 2020 15:02:58 +0000 (16:02 +0100)]
Use a different column for the primary key as we can not insert it on oracle

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoAdd github action for oci8
Julius Härtl [Tue, 3 Nov 2020 16:24:06 +0000 (17:24 +0100)]
Add github action for oci8

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoMerge pull request #23993 from nextcloud/bugfix/noid/close-cursors
Morris Jobke [Tue, 10 Nov 2020 14:15:03 +0000 (15:15 +0100)]
Merge pull request #23993 from nextcloud/bugfix/noid/close-cursors

Don't leave cursors open

3 years agoMerge pull request #23070 from eleith/complex-recurrance-imports
eleith [Tue, 10 Nov 2020 13:20:56 +0000 (05:20 -0800)]
Merge pull request #23070 from eleith/complex-recurrance-imports

handle vcalander documents with multiple VEVENTS not in order

3 years agoMerge pull request #24024 from nextcloud/enhancement/exception-page-full-trace
Morris Jobke [Tue, 10 Nov 2020 12:40:16 +0000 (13:40 +0100)]
Merge pull request #24024 from nextcloud/enhancement/exception-page-full-trace

Show the full trace of an exception

3 years agoDo not print deprecation warnings during testing 24025/head
Christoph Wurst [Tue, 10 Nov 2020 10:34:12 +0000 (11:34 +0100)]
Do not print deprecation warnings during testing

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoShow the full trace of an exception 24024/head
Christoph Wurst [Tue, 10 Nov 2020 09:18:33 +0000 (10:18 +0100)]
Show the full trace of an exception

Because often we catch the exception at some point and then the trace is
misleading. What's really interesting is the trace of the *previous*
exception.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #24019 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Tue, 10 Nov 2020 06:09:42 +0000 (07:09 +0100)]
Merge pull request #24019 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 24019/head
Nextcloud-PR-Bot [Tue, 10 Nov 2020 04:18:47 +0000 (04:18 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 10 Nov 2020 02:18:44 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23967 from nextcloud/dependabot/composer/build/integration/behat...
Roeland Jago Douma [Mon, 9 Nov 2020 18:54:41 +0000 (19:54 +0100)]
Merge pull request #23967 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.8.0

Update behat/behat requirement from ~3.7.0 to ~3.8.0 in /build/integration

3 years agoMerge pull request #23981 from nextcloud/fix/sharing/undefined-in-search
Morris Jobke [Mon, 9 Nov 2020 18:41:56 +0000 (19:41 +0100)]
Merge pull request #23981 from nextcloud/fix/sharing/undefined-in-search

Fix js search in undefined ocs response

3 years agoMerge pull request #23999 from nextcloud/fix/old-legacy-scripts
Morris Jobke [Mon, 9 Nov 2020 15:58:40 +0000 (16:58 +0100)]
Merge pull request #23999 from nextcloud/fix/old-legacy-scripts

Remove old legacy scripts references

3 years agoMerge pull request #23994 from nextcloud/fix/comment_search
Roeland Jago Douma [Mon, 9 Nov 2020 14:52:01 +0000 (15:52 +0100)]
Merge pull request #23994 from nextcloud/fix/comment_search

Update comment search to initFS

3 years agoMerge pull request #23889 from nextcloud/fix/noid/shortcut-to-avoid-filesystem-setup
Morris Jobke [Mon, 9 Nov 2020 13:11:15 +0000 (14:11 +0100)]
Merge pull request #23889 from nextcloud/fix/noid/shortcut-to-avoid-filesystem-setup

Shortcut to avoid file system setup when generating the logo URL

3 years agoFix js search in undefined ocs response 23981/head
John Molakvoæ (skjnldsv) [Sat, 7 Nov 2020 22:29:23 +0000 (23:29 +0100)]
Fix js search in undefined ocs response

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoDon't leave cursors open when tests fail 23993/head
Joas Schilling [Thu, 5 Nov 2020 09:50:53 +0000 (10:50 +0100)]
Don't leave cursors open when tests fail

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoRemoved config.js 23999/head
John Molakvoæ [Mon, 9 Nov 2020 11:23:51 +0000 (12:23 +0100)]
Removed config.js

3 years agoRemove old legacy search script
John Molakvoæ [Mon, 9 Nov 2020 11:18:34 +0000 (12:18 +0100)]
Remove old legacy search script

3 years agoMerge pull request #23937 from nextcloud/bugfix/noid/files-ocdb
John Molakvoæ [Mon, 9 Nov 2020 10:58:36 +0000 (11:58 +0100)]
Merge pull request #23937 from nextcloud/bugfix/noid/files-ocdb

Use query builder instead of OC_DB in OC\Files\*

3 years agoMerge pull request #23976 from nextcloud/enh/reduce_getAppPath_and_autoload_reg
Morris Jobke [Mon, 9 Nov 2020 10:10:33 +0000 (11:10 +0100)]
Merge pull request #23976 from nextcloud/enh/reduce_getAppPath_and_autoload_reg

Reduce the getAppPath and autoloader calls

3 years agoMerge pull request #23982 from nextcloud/fix/quota-storage-getsize
Morris Jobke [Mon, 9 Nov 2020 10:03:25 +0000 (11:03 +0100)]
Merge pull request #23982 from nextcloud/fix/quota-storage-getsize

Make sure root storage is valid before checking its size

3 years agoMerge pull request #23741 from Ashod/lock-leak
Morris Jobke [Mon, 9 Nov 2020 10:00:46 +0000 (11:00 +0100)]
Merge pull request #23741 from Ashod/lock-leak

Unlock when promoting to exclusive lock fails

3 years agoMerge pull request #23978 from nextcloud/enh/query_servercontainer_first
Morris Jobke [Mon, 9 Nov 2020 09:58:26 +0000 (10:58 +0100)]
Merge pull request #23978 from nextcloud/enh/query_servercontainer_first

First query the server container

3 years agoMerge pull request #23933 from nextcloud/bugfix/noid/user-ldap-ocdb
Morris Jobke [Mon, 9 Nov 2020 09:07:25 +0000 (10:07 +0100)]
Merge pull request #23933 from nextcloud/bugfix/noid/user-ldap-ocdb

Use query builder instead of OC_DB in user_ldap

3 years agoShortcut to avoid file system setup when generating the logo URL 23889/head
Morris Jobke [Wed, 4 Nov 2020 08:59:32 +0000 (09:59 +0100)]
Shortcut to avoid file system setup when generating the logo URL

If an SVG is requested and the app config value for logoMime is set then the logo is there. Otherwise we need to check it and maybe also generate a PNG from the SVG (that's done in getImage() which needs to be called then).

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 years agoUpdate comment search to initFS 23994/head
Roeland Jago Douma [Mon, 9 Nov 2020 08:52:23 +0000 (09:52 +0100)]
Update comment search to initFS

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23574 from nextcloud/fix/23569
John Molakvoæ [Mon, 9 Nov 2020 08:14:21 +0000 (09:14 +0100)]
Merge pull request #23574 from nextcloud/fix/23569

Fix link share label placeholder not showing

3 years agoUse query builder instead of OC_DB in OC\Files\* 23937/head
Joas Schilling [Fri, 6 Nov 2020 11:06:24 +0000 (12:06 +0100)]
Use query builder instead of OC_DB in OC\Files\*

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMake sure root storage is valid before checking its size 23982/head
John Molakvoæ (skjnldsv) [Sat, 7 Nov 2020 23:10:06 +0000 (00:10 +0100)]
Make sure root storage is valid before checking its size

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoTest requires the DB 23933/head
Joas Schilling [Mon, 9 Nov 2020 07:40:00 +0000 (08:40 +0100)]
Test requires the DB

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 9 Nov 2020 02:18:51 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoMerge pull request #23983 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
Roeland Jago Douma [Sun, 8 Nov 2020 10:23:56 +0000 (11:23 +0100)]
Merge pull request #23983 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 23983/head
Nextcloud-PR-Bot [Sun, 8 Nov 2020 04:26:59 +0000 (04:26 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 8 Nov 2020 02:18:22 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

3 years agoFix link share label placeholder not showing 23574/head
Gary Kim [Mon, 19 Oct 2020 15:07:09 +0000 (11:07 -0400)]
Fix link share label placeholder not showing

Signed-off-by: Gary Kim <gary@garykim.dev>
3 years agoFirst query the server container 23978/head
Roeland Jago Douma [Sat, 7 Nov 2020 16:51:41 +0000 (17:51 +0100)]
First query the server container

When the servercontainer wants to obtain something changes are very high
this is something from the server container. Esp on setups with a lot of
shares this can change quite a bit as it avoid a needless check on the
strpos OCA\\ etc.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoReduce the getAppPath and autoloader calls 23976/head
Roeland Jago Douma [Sat, 7 Nov 2020 16:24:41 +0000 (17:24 +0100)]
Reduce the getAppPath and autoloader calls

The getAppPath will always return the same data for the same appId. It
is actually already cached. However we do some cleanup of the appId
(again). Same for the autoloading it is actually already checked.

This just removes the unneeded calls. Which can add up if you have a lot
of incomming shares.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 years agoMerge pull request #23923 from nextcloud/bugfix/oci/fix-greatest-order-for-oracle
Roeland Jago Douma [Sat, 7 Nov 2020 15:55:13 +0000 (16:55 +0100)]
Merge pull request #23923 from nextcloud/bugfix/oci/fix-greatest-order-for-oracle

Fix greatest/least order for oracle

3 years agoUnlock when promoting to exclusive lock fails 23741/head
Ashod Nakashian [Wed, 28 Oct 2020 02:57:24 +0000 (22:57 -0400)]
Unlock when promoting to exclusive lock fails

In certain cases changeLock to EXCLUSIVE fails
and throws LockedException. This leaves the
file locked as SHARED in file_put_contents,
which prevents retrying (because on second
call file_put_contents takes another SHARED
lock on the same file, and changeLock doesn't
allow more than a single SHARED lock to promote
to EXCLUSIVE).

To avoid this case, we catch the LockedException
and unlock before re-throwing.

Signed-off-by: Ashod Nakashian <ashod.nakashian@collabora.co.uk>
3 years agoMerge pull request #23956 from nextcloud/dependabot/npm_and_yarn/node-sass-5.0.0
John Molakvoæ [Sat, 7 Nov 2020 13:13:02 +0000 (14:13 +0100)]
Merge pull request #23956 from nextcloud/dependabot/npm_and_yarn/node-sass-5.0.0

Bump node-sass from 4.14.1 to 5.0.0

3 years agoUse png icons in caldav reminder emails 23915/head
Richard Steinmetz [Thu, 5 Nov 2020 17:18:40 +0000 (18:18 +0100)]
Use png icons in caldav reminder emails

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
3 years agoUpdate parameters 23923/head
Joas Schilling [Sat, 7 Nov 2020 13:06:03 +0000 (14:06 +0100)]
Update parameters

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoBump node-sass from 4.14.1 to 5.0.0 23956/head
dependabot-preview[bot] [Sat, 7 Nov 2020 11:13:51 +0000 (11:13 +0000)]
Bump node-sass from 4.14.1 to 5.0.0

Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.1 to 5.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/v4.14.1...v5.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #23961 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill...
dependabot-preview[bot] [Sat, 7 Nov 2020 11:10:32 +0000 (11:10 +0000)]
Merge pull request #23961 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.1

3 years agoMerge pull request #23957 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.5
John Molakvoæ [Sat, 7 Nov 2020 09:36:57 +0000 (10:36 +0100)]
Merge pull request #23957 from nextcloud/dependabot/npm_and_yarn/vue-loader-15.9.5

Bump vue-loader from 15.9.4 to 15.9.5

3 years agoMerge pull request #23960 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.3
John Molakvoæ [Sat, 7 Nov 2020 09:36:43 +0000 (10:36 +0100)]
Merge pull request #23960 from nextcloud/dependabot/npm_and_yarn/bootstrap-4.5.3

Bump bootstrap from 4.5.2 to 4.5.3

3 years agoMerge pull request #23962 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.9
John Molakvoæ [Sat, 7 Nov 2020 09:36:35 +0000 (10:36 +0100)]
Merge pull request #23962 from nextcloud/dependabot/npm_and_yarn/vue-router-3.4.9

Bump vue-router from 3.4.8 to 3.4.9

3 years agoMerge pull request #23964 from nextcloud/dependabot/npm_and_yarn/marked-1.2.3
John Molakvoæ [Sat, 7 Nov 2020 09:36:15 +0000 (10:36 +0100)]
Merge pull request #23964 from nextcloud/dependabot/npm_and_yarn/marked-1.2.3

Bump marked from 1.2.0 to 1.2.3

3 years agoMerge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb
John Molakvoæ [Sat, 7 Nov 2020 09:19:23 +0000 (10:19 +0100)]
Merge pull request #23936 from nextcloud/bugfix/noid/trashbin-ocdb

Use query builder instead of OC_DB in trashbin

3 years agoBump css-vars-ponyfill from 2.3.2 to 2.4.1 23961/head
dependabot-preview[bot] [Sat, 7 Nov 2020 02:24:25 +0000 (02:24 +0000)]
Bump css-vars-ponyfill from 2.3.2 to 2.4.1

Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.3.2 to 2.4.1.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.3.2...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>