Commit Graph

52669 Commits

Author SHA1 Message Date
Joas Schilling 0f08acfe31
Merge pull request #19321 from nextcloud/enh/allow-to-overwrite-share-target-mountpoints
Allow to overwrite share target mountpoints
2020-02-28 13:41:13 +01:00
Christoph Wurst 36d6fca856
Merge pull request #19673 from nextcloud/dependabot/composer/php-opencloud/openstack-3.0.7
Bump php-opencloud/openstack from 3.0.6 to 3.0.7
2020-02-28 13:40:22 +01:00
Roeland Jago Douma 245125d81b
Bump autoloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-02-28 12:55:35 +01:00
Robin Appelman 63608ef461
allow writing content directly when creating new SimpleFile
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:22 +01:00
Robin Appelman 5ca1929e8c
Create SimpleFile only when writing the content
instead of first creating an empty file and then writing the content.

This solves the overhead of creating an empty file with the common pattern:

```php
$file = $simpleFilder->newFile('foo.txt');
$file->putContent('bar.txt');
```

roughly halving the number of storage and database operations that need to be done when creating a `SimpleFile`.

This is not automatically done with `File` because that has a more complex api which I'm more hesitant to touch.
Instead the `Folder::newFile` api has been extended to accept the content for the new file.

In my local testing, the overhead of first creating an empty file took about 20% of the time for preview generation

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:22 +01:00
Robin Appelman fed86e8382
better tests for SimpleFolder
test behavior, not implementation

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-02-28 12:55:20 +01:00
Joas Schilling 7b7d69d5da
Merge pull request #19694 from nextcloud/bugfix/noid/cache-404-avatar-responses-too
Also cache avatars when it's not allowed
2020-02-28 12:27:58 +01:00
Joas Schilling a92ab77747
Also cache avatars when it's not allowed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-28 10:44:15 +01:00
Roeland Jago Douma 42157337cf
Merge pull request #19613 from nextcloud/enh/19537/undefined-index-password
Check that username and password are present.
2020-02-28 10:01:44 +01:00
Roeland Jago Douma dd5a4c9603
Merge pull request #19666 from nextcloud/bug/19416/referrer-policy-fallback
Don't show referrer policy warning if fallback policy set.
2020-02-28 09:46:09 +01:00
Roeland Jago Douma e231dd8b34
Merge pull request #19655 from nextcloud/bugfix/noid/upload-cleanup-user-not-found
Catch NotFoundException when getting the user folder
2020-02-28 08:51:51 +01:00
Roeland Jago Douma c158eed9dc
Merge pull request #19676 from nextcloud/bugfix/noid/hover-color-of-search-results
Theme search results
2020-02-28 08:49:16 +01:00
Christoph Wurst 437bd209ab
Merge pull request #19683 from RDIL/patch-1
Readme: fix typo
2020-02-28 08:06:04 +01:00
Nextcloud bot dccecf822d
[tx-robot] updated from transifex 2020-02-28 02:18:36 +00:00
Reece Dunham 969e75fa84
Readme: fix typo 2020-02-27 14:56:54 -05:00
Joas Schilling 1f50e5ff24
Theme search results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-27 13:46:26 +01:00
Christoph Wurst fc74e40f98
Bump php-opencloud/openstack from 3.0.6 to 3.0.7
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-27 13:27:23 +01:00
Christoph Wurst d7523c7f4e
Merge pull request #19665 from nextcloud/dependabot/composer/league/flysystem-1.0.64
Bump league/flysystem from 1.0.37 to 1.0.64
2020-02-27 13:14:37 +01:00
Christoph Wurst f83589f75d
Merge pull request #19670 from nextcloud/techdebt/noid/allow-to-remove-listeners
Allow to remove listeners
2020-02-27 13:08:42 +01:00
Joas Schilling 3ffed42925
Allow to remove listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-27 11:04:23 +01:00
Daniel Calviño Sánchez 243feca786 Adjust list of replaced elements to the spec
"button, textarea, select, div[contenteditable='true']" were removed and
"audio, canvas, embed, iframe" were added.

Note that this is a coarse-grained list; according to the spec some of
the elements, like canvas or input, might be treated as a replaced
element in some cases and as ordinary elements in others:
https://html.spec.whatwg.org/multipage/rendering.html#replaced-elements

For now all the elements that might be replaced elements use the loading
image by default, so apps will need to override that when the elements
are treated as ordinary elements. Of course that can be flipped in the
future to instead make an element to use the "::after" approach by
default if it is found that the element requires the override often.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:35:54 +01:00
Daniel Calviño Sánchez 5f1713f9db Set loading image on replaced elements instead of on their descendants
Replaced elements do not have "::after" nor "::before" pseudo-elements,
so the regular loading icon needs to be shown using a background image
instead of the default "::after" pseudo-element approach. However, the
CSS rules were not applied on the replaced elements themselves, but on
their descendants. As the descendants might have support for
pseudo-elements the rules were fixed to be applied on the replaced
elements, and only on the replaced elements.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-02-27 10:25:58 +01:00
Roeland Jago Douma 72cc8270cd
Merge pull request #19659 from nextcloud/techdebt/17486/allow-non-integer-ids-in-entity-mapper
Allow non integer ids in Entity Mapper
2020-02-27 09:12:35 +01:00
Christoph Wurst c5fce7bc3a
Bump league/flysystem from 1.0.37 to 1.0.64
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-27 09:08:24 +01:00
Christoph Wurst d91c0d8bd6
Merge pull request #19632 from nextcloud/dependabot/composer/pear/pear-core-minimal-1.10.10
Bump pear/pear-core-minimal from 1.10.3 to 1.10.10
2020-02-27 09:07:48 +01:00
Nextcloud bot 0ae9ce46f1
[tx-robot] updated from transifex 2020-02-27 02:18:38 +00:00
Daniel Kesselberg 6eb466776b
Don't show referrer policy warning if fallback policy set.
Test-Set:

no-referrer-when-downgrade
no-referrer
strict-origin-when-cross-origin
same-origin
no-referrer, strict-origin-when-cross-origin
strict-origin-
unsafe-raw, same-origin
strict-origin-when-downgrade

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-02-26 23:51:02 +01:00
Christoph Wurst 33aaab4741
Bump pear/pear-core-minimal from 1.10.3 to 1.10.10
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-26 18:21:24 +01:00
Christoph Wurst deb92dc36b
Merge pull request #19324 from nextcloud/3rdparty/composer/microsoft/azure-storage-blob-1.5.0
[3rdparty] Bump microsoft/azure-storage-blob from 1.2.0 to 1.5.0
2020-02-26 18:20:38 +01:00
Joas Schilling 9c9f8fa5f7
Allow non integer ids in Entity Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-26 14:44:45 +01:00
John Molakvoæ e85d3ae3f8
Merge pull request #19589 from nextcloud/bug/19162/reindex-quota-preset
Make sure quota_preset is using numerical indexes
2020-02-26 14:29:52 +01:00
Julius Härtl 4b593cbd25
Catch NotFoundException when getting the user folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-26 11:20:20 +01:00
John Molakvoæ (skjnldsv) db34380aad
[3rdparty] Bump microsoft/azure-storage-blob from 1.2.0 to 1.5.0
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-26 08:43:20 +01:00
Nextcloud bot 0e7163c7c1
[tx-robot] updated from transifex 2020-02-26 02:18:20 +00:00
blizzz a5a58649b3
Merge pull request #19433 from nextcloud/bugfix/noid/fix-installing-talk
Fix installing Talk due to hardcoded route
2020-02-26 00:10:54 +01:00
Joas Schilling 2ebf88a98c
Merge pull request #19539 from nextcloud/bugfix/noid/allow-to-create-directories-when-they-are-selectable
Allow to create directories when they are selectable
2020-02-25 19:27:13 +01:00
Joas Schilling e6206731c7
Merge pull request #19252 from nextcloud/bug/fix-notification-object-id
Hash event UID to make sure it's not too long for PushProvider notifications
2020-02-25 17:04:25 +01:00
Roeland Jago Douma e00c1dcd11
Merge pull request #19634 from nextcloud/bugfix/noid/long-cyrillic-note
Correctly trim long cyrillic note
2020-02-25 14:49:14 +01:00
Joas Schilling e05362959f
Copy isFileNameValid function, so the filepicker works without the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 12:01:14 +01:00
Joas Schilling 4cc017d52e
Fix "TypeError: u.$form is undefined"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:57:45 +01:00
Joas Schilling 22e748ed38
Allow to create directories when they are selectable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:55:35 +01:00
Roeland Jago Douma 0cf76aa2e8
Merge pull request #19604 from nextcloud/dependabot/npm_and_yarn/p-queue-6.3.0
Bump p-queue from 6.2.1 to 6.3.0
2020-02-25 11:30:38 +01:00
Joas Schilling d224ee667e
Correctly trim long cyrillic note
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:17:02 +01:00
Joas Schilling 2e4ba613ef
Merge pull request #19619 from nextcloud/bugfix/19618/theme-dragndrop-hover-color
Fix hover state color of drag-n-drop with theming and dark mode
2020-02-25 08:42:51 +01:00
Nextcloud bot 3af397b156
[tx-robot] updated from transifex 2020-02-25 02:19:24 +00:00
Roeland Jago Douma 8108e6f577
Merge pull request #19621 from nextcloud/bugfix/noid/transfer-owner-delete-notification
Make sure that the transfer details are present in the database during the cron run
2020-02-24 20:38:55 +01:00
Roeland Jago Douma aaf1cb70a2
Merge pull request #19549 from nextcloud/fix/19418/uuid-attr-log-flood
remove noise from detectUuid and cache results
2020-02-24 20:03:53 +01:00
Julius Härtl 1e8048abee
Make sure that the transfer entry is present in the database
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-24 15:01:39 +01:00
Christoph Wurst b6a9cf21a3
Merge pull request #19313 from nextcloud/rakekniven-patch-1
l10n: Added plural form to string
2020-02-24 14:41:38 +01:00
Joas Schilling a4fbdb95b1
Fix hover state color of drag-n-drop with theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-24 14:22:03 +01:00