Commit graph

16824 commits

Author SHA1 Message Date
Nextcloud bot
7d6cb4eb6b
[tx-robot] updated from transifex 2019-09-06 02:15:10 +00:00
Julius Härtl
bb70d1096a Return the proper jailed path when requesting the root path
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-05 07:24:42 +00:00
Roeland Jago Douma
cf2af05def
Merge pull request #16753 from kyrofa/backport_16/15416/update_autodisabled_apps
[stable16] Fix tracking of auto disabled apps in Updater
2019-09-04 19:35:03 +02:00
Nextcloud bot
6d926c8b28
[tx-robot] updated from transifex 2019-09-03 02:15:14 +00:00
Nextcloud bot
71e46474df
[tx-robot] updated from transifex 2019-08-30 02:15:20 +00:00
Roeland Jago Douma
11bb942483
Merge pull request #16837 from nextcloud/backport/16820/16
[stable16] Change access handling of projects
2019-08-28 20:34:03 +02:00
Nextcloud bot
300631a4e9
[tx-robot] updated from transifex 2019-08-28 02:15:35 +00:00
Roeland Jago Douma
a33f2248e5
Merge pull request #16826 from nextcloud/backport/16808/stable16
[stable16] Undefined variable response when server is no nextcloud anymore
2019-08-22 16:14:00 +02:00
Joas Schilling
4cbeb680b0
Add a repair step to clear the projects access cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-22 15:42:08 +02:00
Joas Schilling
62a637fd42
Change the logic so projects are only shown when you can access all resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-22 15:39:56 +02:00
Nextcloud bot
c8d2c5ed33
[tx-robot] updated from transifex 2019-08-22 02:14:42 +00:00
Joas Schilling
18b4c1e8ca Undefined variable response when server is no nextcloud anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-21 14:07:43 +00:00
Joas Schilling
313e98437d Correctly remove apps without any releases
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-20 20:30:18 +00:00
Arthur Schiwon
f9fdc641f3 instead of upsert, fallback to default query on PgSQL <= 9.4
because there is no upsert yet

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-08-20 15:26:33 +00:00
Joas Schilling
ae06f2312c Filter more configs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-20 07:02:40 +00:00
Nextcloud bot
c37b4e3f75
[tx-robot] updated from transifex 2019-08-20 02:14:56 +00:00
Nextcloud bot
e66f58135d
[tx-robot] updated from transifex 2019-08-19 02:15:05 +00:00
Nextcloud bot
a584e2e899
[tx-robot] updated from transifex 2019-08-18 02:15:47 +00:00
Nextcloud bot
2bca7f372c
[tx-robot] updated from transifex 2019-08-17 02:15:09 +00:00
Georg Ehrke
639ff3dbda
Fix tracking of auto disabled apps in Updater
This is a backport of #16507 (fixing #15416) for stable16.

Signed-off-by: Kyle Fazzari <kyrofa@ubuntu.com>
2019-08-15 13:23:42 -07:00
Nextcloud bot
ed0f6033af
[tx-robot] updated from transifex 2019-08-15 02:14:42 +00:00
Nextcloud bot
c577bd1bdb
[tx-robot] updated from transifex 2019-08-10 02:14:56 +00:00
Nextcloud bot
d7590ab90d
[tx-robot] updated from transifex 2019-08-09 02:14:22 +00:00
Roeland Jago Douma
55ad6c1fa2 Properly return an int in the getId function of the cache
fixes #16684

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-08-08 06:15:46 +00:00
Nextcloud bot
89ba8c6c6d
[tx-robot] updated from transifex 2019-08-08 02:14:51 +00:00
Nextcloud bot
8280bb5bf1
[tx-robot] updated from transifex 2019-08-07 02:14:45 +00:00
Nextcloud bot
b8068fc11d
[tx-robot] updated from transifex 2019-08-06 02:14:45 +00:00
Nextcloud bot
2754e49925
[tx-robot] updated from transifex 2019-08-05 02:14:34 +00:00
Nextcloud bot
e031965348
[tx-robot] updated from transifex 2019-08-04 02:15:29 +00:00
Nextcloud bot
ad3efd6efb
[tx-robot] updated from transifex 2019-08-02 02:14:38 +00:00
Nextcloud bot
11109c6dfa
[tx-robot] updated from transifex 2019-08-01 02:15:36 +00:00
Nextcloud bot
ee6f4febbd
[tx-robot] updated from transifex 2019-07-31 02:16:13 +00:00
Roeland Jago Douma
516588ff91
Merge pull request #16598 from nextcloud/backport/16502/stable16
[stable16] Check the if we can actually access the storage cache for recent files
2019-07-30 11:44:01 +02:00
Nextcloud bot
48b271a216
[tx-robot] updated from transifex 2019-07-30 02:14:53 +00:00
Julius Härtl
e7920203ba Add additional check for read permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-29 15:00:12 +00:00
Julius Härtl
f1f755740d Check the if we can actually access the storage cache for recent files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-29 15:00:11 +00:00
Roeland Jago Douma
5ac52d2e09
Merge pull request #16578 from nextcloud/backport/16558/stable16
[stable16] Do not log all locked exceptions
2019-07-29 10:40:23 +02:00
Nextcloud bot
6b814e5002
[tx-robot] updated from transifex 2019-07-29 02:15:08 +00:00
Nextcloud bot
ff3e510b76
[tx-robot] updated from transifex 2019-07-28 02:15:33 +00:00
Roeland Jago Douma
5959245417 Do not log all locked exceptions
This can happen for valid reasons (multiple users writing at the same
time) with for example the text app. Apps should properly handle it. No
reason to log it by default.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-27 08:40:00 +00:00
Roeland Jago Douma
64fb4c7736
Merge pull request #16562 from nextcloud/backport/16555/stable16
[stable16] use a pattern to identify sensitive config keys
2019-07-27 10:38:41 +02:00
Nextcloud bot
d638060520
[tx-robot] updated from transifex 2019-07-27 02:14:46 +00:00
Arthur Schiwon
a9ccac2f20 treat sensitive config keys by pattern
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-07-26 13:21:22 +00:00
Nextcloud bot
00379ebffa
[tx-robot] updated from transifex 2019-07-26 02:14:49 +00:00
Roeland Jago Douma
3f5ce65879 Lock SCSS so we only run 1 job at a time
This is bit hacky but a start to lock the SCSS compiler properly
Retry during 10s then give up
Properly get error message
Do not clear locks and properly debug scss caching

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-25 13:44:06 +00:00
Nextcloud bot
eeefef4843
[tx-robot] updated from transifex 2019-07-25 02:14:48 +00:00
Joas Schilling
c7322c7efd PHPStorm code cleanup
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-24 09:51:23 +00:00
Joas Schilling
27a6f8020b Get the topmost parent for the parent instead of doing endless recursion
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-24 09:51:22 +00:00
Nextcloud bot
227701b6ee
[tx-robot] updated from transifex 2019-07-23 02:15:51 +00:00
Daniel Kesselberg
abd714d685
Pass $configargs to openssl_pkey_export
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-22 14:37:10 +02:00
Nextcloud bot
55e70858b1
[tx-robot] updated from transifex 2019-07-22 02:16:08 +00:00
Nextcloud bot
70d3fd8a76
[tx-robot] updated from transifex 2019-07-21 02:15:18 +00:00
Nextcloud bot
69e5591229
[tx-robot] updated from transifex 2019-07-20 02:14:40 +00:00
Nextcloud bot
291103a495
[tx-robot] updated from transifex 2019-07-19 02:15:04 +00:00
Marcel Klehr
21822512dc Fix File#putContents(string) on ObjectStorage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2019-07-17 20:39:24 +00:00
Roeland Jago Douma
8e6ac9d678 Do not keep searching for recent
If userA has a lot of recent files. But only shares 1 file with userB
(that has no files at all). We could keep searching until we run out of
recent files for userA.

Now assume the inactive userB has 20 incomming shares like that from
different users. getRecent then basically keeps consuming huge amounts
of resources and with each iteration the load on the DB increases
(because of the offset).

This makes sure we do not get more than 3 times the limit we search for
or more than 5 queries.

This means we might miss some recent entries but we should fix that
separatly. This is just to make sure the load on the DB stays sane.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-17 05:47:57 +00:00
Morris Jobke
f7a6f4527e Log RuntimeException in CleanupCardDAVPhotoCache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-16 06:06:01 +00:00
Daniel Kesselberg
c208ea49d4 Add catch for RuntimeException
getDirectoryListing can throw a NotFoundException or a RuntimeException.
The repair step should be skipped if the cache directory is missing so
a catch for both exceptions is required.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-07-16 06:06:01 +00:00
Maxence Lange
89f3df067f addsubtag should push to array
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-07-15 06:45:58 +00:00
Nextcloud bot
96875d4a20
[tx-robot] updated from transifex 2019-07-12 02:15:09 +00:00
Roeland Jago Douma
b62b835f6c Use HTTP1.1 to read S3 objects
Some of the READs otherwise use HTTP/1.0 which is not always supported
by all backends. HTTP/1.1 is there since 1999 way longer than S3 so safe
to assume it is always there IMO.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-10 13:20:38 +00:00
Morris Jobke
ecf60b59ef
Merge pull request #16254 from nextcloud/backport/16208/stable16
[stable16] Always set the display name for user shares
2019-07-09 14:44:01 +02:00
Roeland Jago Douma
7224caaf93
Merge pull request #16297 from nextcloud/backport/16288/stable16
[stable16] Try to delete the cypress folder of the viewer app
2019-07-09 08:52:06 +02:00
Nextcloud bot
533fc0f454
[tx-robot] updated from transifex 2019-07-09 02:13:56 +00:00
Morris Jobke
ac3cc7829f Try to delete the cypress folder of the viewer app
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-07-08 17:19:34 +00:00
Nextcloud bot
7524f18305
[tx-robot] updated from transifex 2019-07-07 02:14:21 +00:00
Julius Härtl
662fd359f5 Always set the display name for user shares
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-07-05 12:53:45 +00:00
Nextcloud bot
047fda6a81
[tx-robot] updated from transifex 2019-07-05 02:14:17 +00:00
Nextcloud bot
a77a9b3c83
[tx-robot] updated from transifex 2019-07-04 02:13:56 +00:00
Joas Schilling
03005dea43 Unify the permission checking in one place only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-03 18:08:08 +00:00
Joas Schilling
16d1354239 Better check reshare permissions when creating a share
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-03 18:08:08 +00:00
Joas Schilling
e19240b60b Allow apps to overwrite the maximum length when reading from database
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-01 14:39:54 +00:00
Robin Appelman
555b62a619 verify that paths are valid for recursive local move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-06-27 14:37:35 +00:00
Joas Schilling
193e8a750e Allow apps to store longer messages in the comments API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-27 08:05:02 +00:00
Roeland Jago Douma
33663ff04e
Merge pull request #16082 from nextcloud/backport/15832/stable16
[stable16] Fix full text search for groupfolders
2019-06-26 15:49:12 +02:00
Joas Schilling
1066e4a952 Fall back to black for non-color values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-26 08:18:17 +00:00
Nextcloud bot
4ea822c71e
[tx-robot] updated from transifex 2019-06-26 02:14:06 +00:00
Morris Jobke
8c1ce34a03 Fix full text search for groupfolders
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-06-25 19:45:27 +00:00
Robin Appelman
42930f6fab
handle storage exceptions when trying to set mtime
not all storage backends can handle setting the mtime and they might
not always handle that error correctly.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-06-25 15:57:59 +02:00
Roeland Jago Douma
ab13fe80e4
Revert "[stable16] Fix userid casting in notifications"
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25 12:39:40 +02:00
Joas Schilling
92f11a646b Prevent faulty logs from nested setupFS calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-21 10:01:28 +00:00
Nextcloud bot
067627b678
[tx-robot] updated from transifex 2019-06-18 02:14:04 +00:00
Nextcloud bot
7a70c37549
[tx-robot] updated from transifex 2019-06-17 02:14:06 +00:00
Nextcloud bot
36d48fa2bd
[tx-robot] updated from transifex 2019-06-16 02:14:16 +00:00
Nextcloud bot
1d4e394cf5
[tx-robot] updated from transifex 2019-06-14 02:14:35 +00:00
John Molakvoæ (skjnldsv)
9346718cc2 Fix userid casting in notifications
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-06-11 16:31:25 +00:00
Christoph Wurst
376e570b15 Fix missing login hook wih Apache/SAML
Without this patch the hook does not transport the information whether the login is
done with an app password or not. The suspicious login app requires the parameter
to function correctly, hence adding it will make suspicious login detection also possible
with SAML users.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-06-11 07:42:25 +00:00
Robin Appelman
4488293d62 search files by id in shared storages last
this prevents unneeded recursion when the file is not in the share

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-05-29 19:57:31 +00:00
Roeland Jago Douma
538a710d1c
Merge pull request #15772 from nextcloud/backport/15766/stable16
[stable16] Check for free space on touch
2019-05-29 20:48:51 +02:00
Nextcloud bot
d467e9129b
[tx-robot] updated from transifex 2019-05-29 02:13:52 +00:00
Julius Härtl
7764979281 Check for free space on touch
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-05-28 13:04:49 +00:00
Nextcloud bot
153d9ba9d6
[tx-robot] updated from transifex 2019-05-28 02:13:49 +00:00
Daniel Kesselberg
90ca099341 Don't notify admins if no potentially over exposing links found
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-05-27 09:52:20 +00:00
Nextcloud bot
1583b2af91
[tx-robot] updated from transifex 2019-05-27 02:13:48 +00:00
Nextcloud bot
b32587697e
[tx-robot] updated from transifex 2019-05-26 02:14:22 +00:00
Roeland Jago Douma
38bbfe7e22
Merge pull request #15724 from nextcloud/backport/15714/stable16
[stable16] Check the actual status code for 204 and 304
2019-05-25 10:19:38 +02:00
Nextcloud bot
932efb0d6f
[tx-robot] updated from transifex 2019-05-25 02:13:57 +00:00
Roeland Jago Douma
2e567918c1 Check the actual status code for 204 and 304
The header is the full http header like: HTTP/1.1 304 Not Modified
So comparing this to an int always yields false
This also makes the 304 RFC compliant as the resulting content length
should otherwise be the length of the message and not 0.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-05-24 17:51:52 +00:00
Nextcloud bot
7eb28b0cc0
[tx-robot] updated from transifex 2019-05-24 02:13:47 +00:00
Nextcloud bot
7ad5f7b60b
[tx-robot] updated from transifex 2019-05-23 02:13:52 +00:00