Commit Graph

16506 Commits

Author SHA1 Message Date
Roeland Jago Douma 7cbba3e717
Repair step for link shares
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-17 15:33:57 +02:00
Morris Jobke 39f9e34a13 Do not use spaces in generated passwords
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-04-15 21:07:18 +00:00
Roeland Jago Douma 441e9fefad Block install without CAN_INSTALL file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-15 12:24:12 +00:00
Morris Jobke 5ff7e3dbdb
Merge pull request #15071 from nextcloud/backport/14652/stable15
[stable15] Do not allow invalid users to be created
2019-04-15 12:01:19 +02:00
Roeland Jago Douma 792c1a17a1
Do not allow invalid users to be created
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-15 09:04:32 +02:00
Nextcloud bot 9bdd654e3e
[tx-robot] updated from transifex 2019-04-14 00:13:36 +00:00
Nextcloud bot 514d92b7a8
[tx-robot] updated from transifex 2019-04-11 00:13:13 +00:00
Nextcloud bot 24bc923323
[tx-robot] updated from transifex 2019-04-09 00:13:09 +00:00
Roeland Jago Douma dc99cc7eab Harden appdata putcontent
If for whatever reason appdata got into a strange state this will at
least propegate up and not make it do boom the next run.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-04-08 14:36:37 +00:00
Nextcloud bot b190f0eed3
[tx-robot] updated from transifex 2019-04-04 00:13:32 +00:00
Nextcloud bot b1ed447dd7
[tx-robot] updated from transifex 2019-04-03 00:13:45 +00:00
Nextcloud bot 9f3158a098
[tx-robot] updated from transifex 2019-04-01 00:14:07 +00:00
Nextcloud bot 5acb5ccad8
[tx-robot] updated from transifex 2019-03-30 01:13:44 +00:00
Nextcloud bot aafedb9728
[tx-robot] updated from transifex 2019-03-29 01:12:59 +00:00
Nextcloud bot 528d5299c7
[tx-robot] updated from transifex 2019-03-28 01:13:33 +00:00
Nextcloud bot c1fa96596a
[tx-robot] updated from transifex 2019-03-27 12:06:38 +00:00
Nextcloud bot bca4a9ecbb
[tx-robot] updated from transifex 2019-03-26 10:41:42 +00:00
Joas Schilling d19355b25a Fix placeholder in disable message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-25 16:01:33 +00:00
Vlastimil Pecinka 7cab488c6f Store user object later in the code
Signed-off-by: Vlastimil Pecinka <pecinka@email.cz>
2019-03-21 21:37:41 +00:00
Nextcloud bot 2c7f1fd001
[tx-robot] updated from transifex 2019-03-21 01:14:06 +00:00
Morris Jobke 6fffd09a7c
Merge pull request #14759 from nextcloud/backport/14691/stable15
[stable15] always allow moving mountpoints inside the same mountpoint
2019-03-20 16:41:14 +01:00
Morris Jobke 8781a77d37
Merge pull request #14709 from HuemerGroup/groupname_like_username-allow_share_with_both
groupname like username - allow share with both
2019-03-20 16:32:53 +01:00
Morris Jobke 38beea8642
Update lib/private/Share20/Manager.php
tabulator change

Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
2019-03-20 12:51:26 +01:00
Morris Jobke 2a3645a5a8
Update lib/private/Share20/Manager.php
fixed tabulator

Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
2019-03-20 12:50:48 +01:00
Robin Appelman 9b6ead8abf always allow moving mountpoints inside the same mountpoint
even if that mountpoint isn't normally a valid target for moving mounts into

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-20 09:59:17 +00:00
Roeland Jago Douma 086f41b0bc Fix getting the access list on external storage
If a file is on external storage there is no owner. WHich means we can't
check. So just return an empty array then.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-19 17:44:32 +00:00
Nextcloud bot 590ea7c5fb
[tx-robot] updated from transifex 2019-03-18 01:12:37 +00:00
Nextcloud bot cec3fd4dcf
[tx-robot] updated from transifex 2019-03-17 01:13:33 +00:00
Nextcloud bot d33cec3d7d
[tx-robot] updated from transifex 2019-03-16 01:12:43 +00:00
Christian Aigner cde8a2896d groupname like username - allow share with both
Signed-off-by: Christian Aigner <christian.aigner@huemer-it.com>
2019-03-15 10:18:27 +01:00
Robin Appelman 54b14946b4 handle long etags from dav external storage
we can only store etags up to 40 characters long in the database, so when we get an etag that's longer we simply hash it to bring down the length

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-03-14 16:19:09 +00:00
Nextcloud bot 92634ec842
[tx-robot] updated from transifex 2019-03-14 16:08:44 +00:00
Morris Jobke 144cf16221 Remove sensitive SMB arguments from exception log
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-03-13 13:00:57 +00:00
Morris Jobke 42cd3876d4
Merge pull request #14597 from nextcloud/backport/14425/stable15
[stable15] Do not calculate folder size for parent that also needs proper scan, fixes #3524
2019-03-08 17:31:54 +01:00
Morris Jobke 1b53d46466
Merge pull request #14596 from nextcloud/backport/14587/stable15
[stable15] Remove Google+ from Social Sharing Bundle
2019-03-08 17:30:14 +01:00
Morris Jobke 634390a299
Merge pull request #14534 from nextcloud/backport/14502/add-activities-for-group-membership-changes
[stable15] Add activities for group membership changes
2019-03-08 10:26:01 +01:00
Ari Selseng 264b4ad3a9 Avoid calculating folder size for parent that needs scan.
Signed-off-by: Ari Selseng <ari@selseng.net>
2019-03-08 08:14:33 +00:00
Marius Blüm 7fa1cfcb17 Remove Google+ from Social Sharing Bundle (2)
Signed-off-by: Marius Blüm <marius@lineone.io>
2019-03-08 08:06:52 +00:00
Roeland Jago Douma 30e790606e Use a tmp file for swift writes
Else this leads to a seekable stream error with chunked uploads

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-03-06 14:34:15 +00:00
Morris Jobke 3acee4f1b4
Merge pull request #14416 from nextcloud/backport/14343/stable15
[stable15] Parse multiple navigation items
2019-03-06 13:16:25 +01:00
Joas Schilling e828bfca1e
Update autoloader
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-05 11:32:00 +01:00
Nextcloud bot 068b754d31
[tx-robot] updated from transifex 2019-03-01 01:12:48 +00:00
Daniel Kesselberg f32fd975cb Generate id for navigation item
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-27 15:09:32 +00:00
Daniel Kesselberg ee9eba54e5 Parse multiple navigation items
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-27 15:09:31 +00:00
Tomasz Paluszkiewicz e690658018 changed order of methods
Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
2019-02-26 13:42:41 +00:00
Tomasz Paluszkiewicz 22cfc5b87f fix(EMailTemplate): malformed HTML in some cases
when an addBodyListItem() is not directly followed by addBodyButton(), resulting HTML is broken

Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
2019-02-26 13:42:40 +00:00
Nextcloud bot bb6f832ec3
[tx-robot] updated from transifex 2019-02-26 09:10:14 +00:00
Roeland Jago Douma 8ea0e721ed Always query lookup server in GS mode
Without the lookupserver GS is kind of useless.
If the admin places their lookup sever outside of the reachable network
that is not something we can help.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-25 09:24:30 +00:00
Joas Schilling 5b22b1e6c8 Fix "Undefined index: user_uid" on login page
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-22 11:43:13 +00:00
Nextcloud bot b42e3fa1b3
[tx-robot] updated from transifex 2019-02-21 01:12:14 +00:00
Morris Jobke 37cb480900
Merge pull request #14312 from nextcloud/backport/14255/stable15
[stable15] Fix ocm end-point discovery discovery
2019-02-20 16:46:30 +01:00
Bjoern Schiessle 2bf2633c05
make sure that the ocm end-point discovery /ocm-provider is not redirected to the index.php
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-02-20 15:41:38 +01:00
Morris Jobke 52662fb928
Merge pull request #14308 from nextcloud/backport/14178/stable15
[stable15] Fix OC.getCurrentUser() on guest pages
2019-02-20 15:31:37 +01:00
Roeland Jago Douma c9a4f010dc
Merge pull request #14273 from nextcloud/backport/14210/stable15
[stable15] Fix empty file uploads to S3 (and other streaming storages)
2019-02-20 15:26:36 +01:00
Joas Schilling 2f98c873fa Fix OC.getCurrentUser() on guest pages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:22:31 +00:00
Roeland Jago Douma 6e110c35b0
Merge pull request #14275 from nextcloud/backport/12573/stable15
[stable15] Do not do redirect handling when loggin out
2019-02-20 08:55:30 +01:00
Daniel Kesselberg 30c69e6394 Set false as default for requirePNG
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-19 13:59:01 +00:00
Joas Schilling 5823cd652c Correctly determinate the owner in case of shared external storages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-19 09:29:17 +00:00
Roeland Jago Douma 58fd016b27
Fix empty file uploads to S3
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-19 10:16:11 +01:00
Roeland Jago Douma 78842d29b3
Do not do redirect handling when loggin out
Fixes #12568
Since the clearing of the execution context causes another reload. We
should not do the redirect_uri handling as this results in redirecting
back to the logout page on login.

This adds a simple middleware that will just check if the
ClearExecutionContext session variable is set. If that is the case it
will just redirect back to the login page.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-18 22:22:12 +01:00
Maxence Lange 6ada63be8e fixing phpdoc
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-02-18 13:30:54 +00:00
Nextcloud bot 4651c25f17
[tx-robot] updated from transifex 2019-02-17 01:13:40 +00:00
Nextcloud bot 5eb304a69a
[tx-robot] updated from transifex 2019-02-16 01:12:35 +00:00
Roeland Jago Douma c021b5bfc6
Merge pull request #14195 from nextcloud/backport/14185/stable15
[stable15] Fix recent files
2019-02-14 21:18:20 +01:00
Roeland Jago Douma a26a0bf75d
Merge pull request #14085 from nextcloud/backport/14023/stable15
[stable15] Fix: Check if `$this->params['user']` is an array
2019-02-14 19:47:43 +01:00
Roeland Jago Douma 8373adacd6 Filter out versions and trashbin
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:43 +00:00
Roeland Jago Douma e31c94ac64 Loop for the recent search
Else it might happen that less entries than requested are returned

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:43 +00:00
Roeland Jago Douma 092baa0e5a We need to initialize the storage else the jailed path is always null
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:42 +00:00
Nextcloud bot 262c5a6236
[tx-robot] updated from transifex 2019-02-14 01:12:38 +00:00
Nextcloud bot 68e5c9d258
[tx-robot] updated from transifex 2019-02-13 01:12:25 +00:00
Roeland Jago Douma 096498c033 Fix the thorrtler whitelist bitmask
Before we actually didn't check each bit of the bitmask. Now we do.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-12 07:56:07 +00:00
Nextcloud bot 40b40c94a2
[tx-robot] updated from transifex 2019-02-12 01:12:37 +00:00
Nextcloud bot 0cf2c7be7c
[tx-robot] updated from transifex 2019-02-09 01:12:50 +00:00
Nextcloud bot 8660fc3502
[tx-robot] updated from transifex 2019-02-08 01:12:50 +00:00
William Pain 602cea074f Fix: Check if `$this->params['user']` is an array
Signed-off-by: William Pain <pain.william@gmail.com>
2019-02-07 13:33:18 +00:00
Nextcloud bot 3e72cc16e7
[tx-robot] updated from transifex 2019-02-06 11:27:41 +00:00
Christoph Wurst 13eb255277 Fix typos and unused return values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 19:08:20 +00:00
Bjoern Schiessle 1c88b907a3 fix typo
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:19 +00:00
Bjoern Schiessle 0a1e776006 log full exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:18 +00:00
Bjoern Schiessle f22465e364 handle mail send error gracefully
log the error in case a notification mail of a new share couldn't
be send to the recipient and finish the share operation successfully

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:17 +00:00
Morris Jobke 657621b980
Merge pull request #13906 from nextcloud/backport/13237/stable15
[stable15] Improve data directory write checking for NFS mounts
2019-01-30 14:28:43 +01:00
Roeland Jago Douma 355b0defe4
Clean pending 2FA authentication on password reset
When a password is reste we should make sure that all users are properly
logged in. Pending states should be cleared. For example a session where
the 2FA code is not entered yet should be cleared.

The token is now removed so the session will be killed the next time
this is checked (within 5 minutes).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-30 10:41:09 +01:00
Robert Dailey ff4dc3b66b Improve data directory write checking for NFS mounts
If `is_writable()` fails, fall back to logic that attempts to create a file
and then checks if it exists. If this check fails, an error occurs as it
did before.

Discussion on this solution was found here:
https://help.nextcloud.com/t/write-errors-for-nfs-mount/23328

Fixes #7124

Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2019-01-30 08:39:45 +00:00
Robin Appelman ff5f28a65e always use multipart uploader for s3 uploads
the multipart uploader handles non seekable streams while `upload` does not

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-29 10:17:07 +00:00
Nextcloud bot fc0480282a
[tx-robot] updated from transifex 2019-01-26 01:12:28 +00:00
Morris Jobke c7ea554c62 Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-01-24 07:32:26 +00:00
Morris Jobke 09db2bc701
Merge pull request #13740 from nextcloud/backport/13140/stable15
[stable15] Cache tokens when using swift's v2 authentication
2019-01-23 15:29:56 +01:00
Robin Appelman f7a4f1f128 cleanup shared lock if changing to exclusive lock failed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22 15:12:46 +00:00
Roeland Jago Douma 581d908ace Bump autoloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-22 14:37:10 +00:00
Robin Appelman 6855c1594c Cache tokens when using swift's v2 authentication
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22 14:37:09 +00:00
Nextcloud bot e1f917fd4c
[tx-robot] updated from transifex 2019-01-22 01:12:37 +00:00
Nextcloud bot e9fae5e390
[tx-robot] updated from transifex 2019-01-20 01:12:42 +00:00
Joas Schilling f39dacf1fb Fix colorizeSvg with transformations that contain a comma (,)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-17 14:58:13 +00:00
Nextcloud bot 0469bb11c9
[tx-robot] updated from transifex 2019-01-17 01:12:28 +00:00
Roeland Jago Douma 2f6c722482
Merge pull request #13588 from nextcloud/backport/13468/stable15
[stable15] don't close input stream when writing in encrypted file
2019-01-16 14:12:44 +01:00
Nextcloud bot 6a44943425
[tx-robot] updated from transifex 2019-01-16 01:12:46 +00:00
Christoph Wurst cf2657c873 Fix integer background job id type error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-15 14:32:00 +00:00
Nextcloud bot 08676fd8e6
[tx-robot] updated from transifex 2019-01-15 01:12:27 +00:00
Florian Schunk a3d9e6de39 don't close input stream when writing in encrypted file
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-14 15:22:34 +00:00
Roeland Jago Douma 412d6a4a24
Merge pull request #13036 from nextcloud/objectstore-write-exists-15
[15] upload new files in objectstore to a .part path first
2019-01-14 11:29:18 +01:00
Nextcloud bot 457261a955
[tx-robot] updated from transifex 2019-01-14 01:12:11 +00:00
Nextcloud bot 6dfb0909fa
[tx-robot] updated from transifex 2019-01-12 01:12:07 +00:00
Joas Schilling afd8be0c20 Don't log parameters on user creation in case of error/exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-10 11:37:07 +00:00
Nextcloud bot 941a99c586
[tx-robot] updated from transifex 2019-01-10 01:12:17 +00:00
Roeland Jago Douma bc07098b49 HttpClient getHeader can return empty string
Fixes #11999

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-08 15:26:23 +00:00
Roeland Jago Douma 7e2092cfa1
Merge pull request #13411 from nextcloud/backport/13403/stable15
[stable15] CSP: Allow fonts to be provided in data
2019-01-07 19:25:47 +01:00
Roeland Jago Douma de30c11cf3 CSP: Allow fonts to be provided in data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 14:40:23 +00:00
Roeland Jago Douma 7416ce20a0 Use the real logger in the settings
Fixes #13285
The wrapper logger should not be used here. But we need the real logger.
Since this in internal we can just pass that on directly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 12:40:36 +00:00
Nextcloud bot a0d08147d9
[tx-robot] updated from transifex 2019-01-05 01:12:08 +00:00
Roeland Jago Douma d92c05e646 Throttle with correct metadata
Fixes #13202

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-04 21:21:46 +00:00
Nextcloud bot 5270f3996f
[tx-robot] updated from transifex 2019-01-04 01:12:40 +00:00
Roeland Jago Douma 241ec0715c Rewrite getNumberOfUnreadCommentsForFolder query
Before the joining and filtering removed unkown files. Resulting in
manual queries for all the files with no (unread) comments (the 99%).

Long story short. This will return a list of all the files in the parent
folder with their unread comment count (can be 0). But this makes sure
that the result is properly cached. In the dav handling.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-03 16:10:13 +00:00
Nextcloud bot ec05897e4e
[tx-robot] updated from transifex 2019-01-03 01:11:58 +00:00
Morris Jobke f81fdd4b5c
Merge pull request #13252 from nextcloud/backport/13240/stable15
[stable15] Add default values when parsing account data
2019-01-02 16:28:02 +01:00
Roeland Jago Douma 832fa63dec
Merge pull request #13278 from nextcloud/backport/13086/stable15
[stable15] Fetch lastInsertId only when id null
2019-01-02 09:15:28 +01:00
Nextcloud bot 2d91e9f00d
[tx-robot] updated from transifex 2019-01-01 01:11:45 +00:00
Nextcloud bot 933d0c1902
[tx-robot] updated from transifex 2018-12-31 01:11:52 +00:00
Nextcloud bot 9cc7b9b9ec
[tx-robot] updated from transifex 2018-12-30 01:12:51 +00:00
Nextcloud bot 9e315b1ac4
[tx-robot] updated from transifex 2018-12-28 01:11:59 +00:00
Daniel Kesselberg 92938f6f00 Access id property without getter.
Some implementations typehint getId to integer but default is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Daniel Kesselberg 97b03745b0 Fetch lastInsertId only when id null
When id column has no autoincrement flag query for lastInsertId fails
on postgres because no value has been generated. Call lastInsertId only
if id is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Nextcloud bot 424fc68d4c
[tx-robot] updated from transifex 2018-12-27 01:11:51 +00:00
Julius Härtl 3be77ba956 Add default values when parsing account data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-24 13:19:38 +00:00
Roeland Jago Douma 77a81d00cf SCSS cache buster is a combination of apps/theming/scc_vars
Else on scss files we'd get <file>?v=<hash>?v=<hash2>
This is of course not valid. Now it becomes <file>?v=<hash>-<hash2>

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 09:33:18 +00:00
Roeland Jago Douma 7b09d11924 Use a case insensitive search for email
Fixes #7084
Now entering wrongly cased email (roeland@ instead of Roeland@) for
password reset etc. Will also work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 15:19:15 +00:00
Christoph Wurst c2aa9263b7
Merge pull request #13155 from nextcloud/fulltextsearc-createindex
[15.0.1] allow content provider to generate new Index
2018-12-20 09:33:27 +01:00
Maxence Lange 663f9706f7 using the createIndex from FullTextSearchManager
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 11:27:37 -01:00
Maxence Lange 3c1fd5cf29 allow content provide to generate new Index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2018-12-19 09:36:38 -01:00
Roeland Jago Douma 9f6ee5b939 Only trust the X-FORWARDED-HOST header for trusted proxies
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-19 08:48:18 +00:00
Nextcloud bot 3f3337af9b
[tx-robot] updated from transifex 2018-12-17 01:11:42 +00:00
Nextcloud bot 3045b6aae2
[tx-robot] updated from transifex 2018-12-16 01:12:42 +00:00
Nextcloud bot da3196fdb8
[tx-robot] updated from transifex 2018-12-15 01:11:48 +00:00
Robin Appelman 2d2de36baf
upload new files in objectstore to a .part path first
This prevent the object store and cache from getting out of sync
when an objectstore silently fails or the php process get's killed
during the upload without giving us the chance to cleanup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-12-12 15:31:47 +01:00
Robin Appelman fe23285e44
Add objectExists to objectstore interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-12-12 15:31:44 +01:00
Daniel Kesselberg a77b33759f Change doc link for 15
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-10 11:28:18 +01:00
Nextcloud bot 1f94126f59
[tx-robot] updated from transifex 2018-12-06 01:12:12 +00:00
Morris Jobke 1e906fd15c
Merge pull request #12868 from nextcloud/backport/12857/stable15
[stable15] Emit write update only once on touch
2018-12-06 01:18:21 +01:00
Morris Jobke f4497bbb57
Merge pull request #12867 from nextcloud/backport/12854/stable15
[stable15] Log and continue on Dav reader failure (repair uid)
2018-12-06 01:07:28 +01:00
Morris Jobke b490a46c4a
Merge pull request #12861 from nextcloud/backport/12855/stable15
[stable15] Only execute query in propagateChange once
2018-12-05 23:37:00 +01:00
Roeland Jago Douma 07eb6e5716 Emit write update only once on touch
When a touch is done (i.e. when creating a new file in the node API)
The hooks contain 'write' and 'touch' (and the operation is touch as
well). This would cause a double write update. Which doesn't make sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-05 21:55:24 +00:00
John Molakvoæ (skjnldsv) 7028362604 Log and continue on Dav reader failure
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-12-05 21:54:50 +00:00
Roeland Jago Douma 1656a08323 Only execute query in propagateChange once
The second execute statement should be inside the if block. Else it gets
executed twice which makes no sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-05 20:44:35 +00:00
Joas Schilling 19d693035b
Validate all rich objects not only the used ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-05 20:06:09 +01:00
Morris Jobke 3fd14b2920
Merge pull request #12833 from nextcloud/backport/12831/stable15
[stable15] Do not update child all child shares on group share update
2018-12-05 09:33:16 +01:00
Nextcloud bot e77f1ea351
[tx-robot] updated from transifex 2018-12-05 01:12:05 +00:00
Roeland Jago Douma 7bb79dc733 Do not update child all child shares on group share update
Else we overwrite the whole share for link shares. Basically breaking
them.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 21:51:20 +00:00
Morris Jobke 31b5c17f2e PHP module is named mbstring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-04 17:56:46 +00:00
Christoph Wurst ad61fda11c Fix activatable/deactivatable 2fa provider interface typos
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-12-04 08:43:35 +00:00
Nextcloud bot 2ca2393513
[tx-robot] updated from transifex 2018-11-30 01:12:08 +00:00
Morris Jobke 96450a9e9b
Merge pull request #12692 from nextcloud/storage-no-encryption-interface-15
[15] Add interface to allow storages from opting out of encryption
2018-11-29 22:01:14 +01:00