Julius Härtl
a0f4a82e51
Always use the latest timestamp for merged activities
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-20 13:43:01 +00:00
Arthur Schiwon
b67980b52d
when downloading from web, skip files that are not accessible
...
* avoids a 403, but enables download of resources that are not restricted
* single file downloads still cause 403
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-19 16:56:53 +00:00
Arthur Schiwon
2989732597
use Nodes API for zip streaming
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-19 16:56:52 +00:00
Julius Härtl
38184ca9fd
Use files node API for single file downloads
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-19 16:56:51 +00:00
Roeland Jago Douma
c743af30d6
Fix detection of non extention types
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-12 22:05:18 +00:00
Joas Schilling
877e1bb55b
Try more methods
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-12 22:05:18 +00:00
Joas Schilling
1fe16ca6f5
Some more fixes in detecting the mimetype from the content
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-12 22:05:17 +00:00
Joas Schilling
0f3fe7be2c
Allow to check for the mimetype by content only
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-12 22:05:17 +00:00
Maxence Lange
b73faad2a1
adding share type circles
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-12-11 11:40:17 +00:00
Roeland Jago Douma
5c58a21ef7
Merge pull request #18333 from nextcloud/backport/18312/stable16
...
[stable16] Do not disable authentication apps
2019-12-10 19:28:43 +01:00
Roeland Jago Douma
4d26a8f6dc
Merge pull request #18308 from nextcloud/backport/18184/stable16
...
[stable16] Move overwritehost check to isTrustedDomain
2019-12-10 14:54:43 +01:00
Roeland Jago Douma
139e45f360
Do not disable authentication apps
...
For #18249
If an app encounters an error during loading of app.php the app is
normally disabled. However. We should make sure that this doesn't happen
for authentication apps (looking at your user_saml).
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-10 13:45:06 +00:00
Julius Härtl
42bb1391c5
Move overwritehost check to isTrustedDomain
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-09 20:40:33 +00:00
Arthur Schiwon
900cd128fb
delay creation of the cert bundle
...
fixes #18148
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-02 12:15:38 +01:00
Roeland Jago Douma
ecc06866dd
Merge pull request #18037 from nextcloud/backport/18003/stable16
...
[stable16] Do not check for updates if we have no internet
2019-11-21 07:48:34 +01:00
Joas Schilling
4cd1d56888
Fix installing with MySQL 8.0.4+
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-20 20:52:51 +00:00
Roeland Jago Douma
529623e749
Do not check for updates if we have no internet
...
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-11-20 19:56:06 +00:00
Arthur Schiwon
fbce2b7156
pass through ServerNotAvailableException on app init
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-14 21:01:11 +00:00
Joas Schilling
733f10cc16
Always check via http and https whether htaccess is working
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-11-12 13:19:42 +00:00
Robin Appelman
555900a0d2
actually return the quote when getting global storage info
...
prevents 'undefined' index errors when 'include external storage in quota' is enabled
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-11-07 22:55:01 +00:00
Arthur Schiwon
d0db369464
switch to Files Node API for zip generation
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-11-07 10:04:59 +00:00
Roeland Jago Douma
3ce9f0013a
Fix DAV mimetype search
...
Fixes #15048
Catches the case where a full mimetype is sumbitted in the where like
clause. Before we didn't catch this and it was just forwarded as is
causing invalid queries.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-29 07:35:38 +00:00
Roeland Jago Douma
4dc91420cf
Cleanup theming mess
...
* Do not do translations in the constructor. This gets called to early
so there is no user yet. Which means we can't obtain the locale. Which
means we store the wrong translation instance.
* Same for the theming app magic. Just use the parent call when needed.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-26 10:15:46 +00:00
Roeland Jago Douma
70fea997af
Don't pass in the locale as the language
...
This messes with the translation of the date names etc.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-26 10:15:46 +00:00
Roeland Jago Douma
140e21b6e8
Merge pull request #17580 from nextcloud/backport/17543/stable16
...
[stable16] Let SCSS cleanup only run once
2019-10-19 11:11:36 +02:00
Julius Härtl
8d68e9e323
Make sure the cache is only reset once at a time
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 09:28:20 +00:00
Julius Härtl
4011d97a2b
Use a distributed cache for the isCachedCache
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-10-17 09:28:19 +00:00
Arthur Schiwon
0f5cc5249c
remove odd code, align to master
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-11 16:09:04 +02:00
Scott Shambarger
3fc86e639e
Correctly handle emtpy string in proxyuserpwd config
...
As documented, the default value for config value proxyuserpwd is ''.
However, that value results in the error:
"cURL error 5: Unsupported proxy syntax in '@'".
This patch handles the values of '' and null (the default in the code)
the same for config values proxyuserpwd and proxy.
Signed-off-by: Scott Shambarger <devel@shambarger.net>
2019-10-11 13:41:39 +02:00
Joas Schilling
dc4c74a716
Merge pull request #17012 from nextcloud/backport/16999/stable16
...
[stable16] Return the proper jailed path when requesting the root path
2019-10-10 08:57:55 +02:00
Roeland Jago Douma
9c3bfc7166
Merge pull request #16814 from nextcloud/backport/16572/stable16
...
[stable16] instead of upsert query, fallback to default on PSQL <= 9.4
2019-10-05 15:31:24 +02:00
Roeland Jago Douma
50f2900b4b
Merge pull request #17282 from nextcloud/backport/17262/stable16
...
[stable16] dont delete cache entries if deleting an object from object store failed
2019-10-04 11:35:54 +02:00
Arthur Schiwon
0b7ad2c22b
reduce adressbook change events and handling
...
... from four to one on avatar updates
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-10-01 10:19:03 +00:00
Robin Appelman
fcd637b938
dont delete cache entries if deleting an object from object store failed
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-26 14:14:57 +00:00
Robin Appelman
cbc4134f33
handle moveFromStorage within the same storage even when storage wrappers are applied to the source storage
...
the target storage doesn't need additional handling for wrappers as the wrappers implementation of moveFromStorage already deals with that
Any storage based on local storage isn't affected by this as local storage already has it's own way of handling with this
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-26 13:54:57 +00:00
Christoph Wurst
5931eaadec
Fix l10n in federated file sharing
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-09-19 13:28:54 +00:00
Daniel Kesselberg
512240e41f
Add uid to delete temp token query
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-09-18 16:12:13 +00:00
Arthur Schiwon
f42a6e0506
set a storage availability delay on auth issues to avoid lock out
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-09-09 14:51:31 +00:00
Roeland Jago Douma
860e35501e
Merge pull request #16818 from nextcloud/backport/16811/stable16
...
[stable16] Correctly remove apps without any releases
2019-09-07 11:12:28 +02: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
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
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
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
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
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