Morris Jobke
758f343513
Compress the appstore requests by default
...
In test it reduced the transfered data from 5 MB to 2 MB. This should reduce the load on the appstore significantly.
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 11:20:56 +02:00
Morris Jobke
daebc05171
Cache appstore requests for 60 instead of 5 minutes
...
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-05-20 11:20:56 +02:00
MichaIng
b7f2f9307b
Fix Argon2 options checks
...
The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum.
Options are now applied the following way:
- If config.php contains the setting with an integer higher or equal to the minimum, it is applied.
- If config.php contains the setting with an integer lower than the minimum, the minimum is applied.
- If config.php does not contain the setting or with no integer value, the PHP default is applied.
Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-01 09:39:28 +00:00
J0WI
10081802f6
Fix MariaDB/MySQL version check
...
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-04-21 22:37:36 +02:00
Arthur Schiwon
db32aeb99d
fix credentialsManager documentation and ensure userId to be used as string
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-04-16 09:58:03 +00:00
Joas Schilling
f36ba8bb01
Do not allow installing on MySQL 8.0+ and MariaDB 10.4+
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 11:02:14 +02:00
Joas Schilling
6e892c0db6
Split the exception handling so install errors don't log as setup errors
...
More gebuging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 11:02:14 +02:00
Joas Schilling
b48daab731
Check the new connection on setup like with PostgreSQL and Oracle
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 11:02:14 +02:00
Joas Schilling
07e7f79a8e
Only provide the auth method for MySQL 8.0+ to not break MariaDB
...
Provide the auth method for MySQL 8.0+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-14 11:02:14 +02:00
Julius Härtl
026334e182
Remove admin_notifications since it is obsolete since Nextcloud 14
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-24 13:58:54 +00:00
Roeland Jago Douma
4730181015
Update the target when it isempty after sharing
...
Hooks that listen to it (audit log) benefit from having the target
properly set.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-18 12:40:20 +00:00
Julius Härtl
5b51413a7f
Do not use the instance name as user part of from mail addresses
...
This will cause issues since the theming name can contain characters
that are not allowed in the local part of the mail address (like spaces)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-13 10:49:07 +00:00
Daniel Kesselberg
068b6b8a0b
Add message for DoesNotExistException
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-06 14:36:39 +00:00
Roeland Jago Douma
def368a74c
Merge pull request #19096 from nextcloud/backport/19023/stable16
...
[stable16] expose Argon2 options (as we did for bcrypt)
2020-03-05 08:41:18 +01:00
Joas Schilling
2b0ad3a9cf
Strip of users home path from share api message
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-22 20:28:26 +00:00
Arthur Schiwon
11a5e996ba
ignore values that undershoot the minimum, go with default
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-21 14:52:07 +01:00
blizzz
b0f3866b70
use getSystemValueInt
...
Co-Authored-By: kesselb <mail@danielkesselberg.de>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-21 14:52:07 +01:00
Arthur Schiwon
c1894ff57a
expose Argon2 options (as we did for bcrypt)
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-21 14:52:07 +01:00
Arthur Schiwon
f4abee5209
when we receive intentional empty whats new info, do not try to show it
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-14 09:10:05 +00:00
Joas Schilling
a9e44bb57a
Don't create invalid users
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-13 09:15:26 +00:00
Arthur Schiwon
f608e8c2e0
for the DB ot pick an index specify the object_type
...
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-02-03 20:26:17 +00:00
Christoph Wurst
6576c782a4
Do not encode contacts menu mailto links
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-30 08:47:54 +00:00
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