Commit graph

17705 commits

Author SHA1 Message Date
Roeland Jago Douma
45aca67b5f Fix updates of NULL appconfig values
The comparisson of NULL is a bit special.
So we need to handle this a tad beter else it might not replace NULL
values. or allow you to set NULL values on updates.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-23 08:49:40 +00:00
Nextcloud bot
e737d67979
[tx-robot] updated from transifex 2020-10-20 02:19:05 +00:00
Morris Jobke
afeafd91a4
Clear cached app config while waiting for the SCSSCache to finish processing the file
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 18:28:54 +02:00
Morris Jobke
cf26392b98 SCSSCacher - Lock should not be removed
This is within the failed lock acquiring branch. So the lock is free by another process and should not be removed because the cached file (that was created by the process having the lock) appeared on the filesystem.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 11:32:27 +00:00
Morris Jobke
8c44b2ee1f Provide log statements for SCSS cache
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-16 07:55:34 +00:00
Julius Härtl
b66f4cf2dc
Use paginated search for contacts
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-14 14:02:08 +02:00
Nextcloud bot
7768388816
[tx-robot] updated from transifex 2020-10-14 02:19:15 +00:00
Arthur Schiwon
fb39aec4fd contactsmanager shall limit number of results early
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-10-13 15:45:02 +00:00
Nextcloud bot
b7979a422f
[tx-robot] updated from transifex 2020-10-13 02:18:57 +00:00
Nextcloud bot
886999a637
[tx-robot] updated from transifex 2020-10-09 02:19:03 +00:00
Nextcloud bot
c16c19a307
[tx-robot] updated from transifex 2020-10-08 02:19:02 +00:00
Nextcloud bot
e8e4e37d34
[tx-robot] updated from transifex 2020-10-07 02:18:32 +00:00
Joas Schilling
90fc06eb7c Only run the query to get the account data once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-06 10:53:26 +00:00
Roeland Jago Douma
07c188e7e3
Merge pull request #22443 from nextcloud/backport/22421/stable18
[stable18] show better quota warning for group folders and external storage
2020-10-01 15:11:16 +02:00
Roeland Jago Douma
79660f6828
Merge pull request #23088 from nextcloud/backport/23013/stable18
[stable18] Show federation and email results also with exact user match unless c…
2020-10-01 11:11:14 +02:00
Joas Schilling
af2868cb0e
Show federation and email results also with exact user match unless containing @
Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-01 09:34:44 +02:00
Roeland Jago Douma
7b3510491e
Merge pull request #22802 from nextcloud/backport/stable18/22116-22648-22761
[stable18]  Fix share transfer of single files and on the transfered node
2020-10-01 08:44:51 +02:00
Nextcloud bot
e359760228
[tx-robot] updated from transifex 2020-10-01 02:18:51 +00:00
Robin Appelman
dd1dbc2f3d
show better quota warning for group folders and external storage
instead of showing the generic 'Your storage is full' message, better explain that it's the group folder/external storage that is full

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-09-29 15:26:06 +02:00
Roeland Jago Douma
f1250727bd
Merge pull request #23091 from nextcloud/backport/23074/stable18
[stable18] Do not match sharees on an empty email address
2020-09-29 13:37:23 +02:00
Joas Schilling
6f18e4ca78
Merge pull request #22743 from nextcloud/backport/22589/stable18
[stable18] Allow additional personal settings via normal registration
2020-09-29 09:35:24 +02:00
Christoph Wurst
fb966b49b5 Do not match sharees on an empty email address
When asking for sharees we compare not only UID and displayname but also
the email address. And if that matches we return the sharee as an exact
match. This logic had a flaw as in that it also matched the empty string
to users with no email address.

This is most noticeable when you disable sharee enumeration and open the
ownership transfer dialog. It suggested other users of the instance
before. This has stopped now.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-09-29 07:33:49 +00:00
Nextcloud bot
a28f27a3e5
[tx-robot] updated from transifex 2020-09-20 02:17:26 +00:00
Nextcloud bot
51e42e31c3
[tx-robot] updated from transifex 2020-09-18 19:05:47 +00:00
Julius Härtl
bfd2f39fed
Transfer shares of the transferred root node
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-17 19:01:48 +02:00
korelstar
10c0ed6cee fix: file quota was not applied in all cases 2020-09-17 07:13:27 +00:00
Nextcloud bot
049e20b6cd
[tx-robot] updated from transifex 2020-09-17 02:27:25 +00:00
Nextcloud bot
7e5c65a5e2
[tx-robot] updated from transifex 2020-09-15 10:48:49 +00:00
Roeland Jago Douma
5b8f18e3c0
Merge pull request #22781 from nextcloud/backport/22775/stable18
[stable18] makes LDAP's group updater dispatch type events
2020-09-11 08:48:22 +02:00
Arthur Schiwon
776ad073c8
makes LDAP's group updater dispatch type events
* fixes group share updates on added users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-09-10 15:23:23 +02:00
Julius Härtl
9448a0e72d Annotate that writeStream can throw a GenericFileException
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-10 13:20:09 +00:00
Roeland Jago Douma
af6b57cd0d Fix reading empty files from objectstorage
Since we try to do range requests this will fail hard.
However since empty files are not that interesting to read anyways we
just read from an emptry memory stream.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-09 19:47:30 +00:00
Morris Jobke
7591a94902
Merge pull request #22746 from nextcloud/backport/22646/stable18
[stable18] Fix detecting text/x-php mimetype and secure mimetype mapping
2020-09-09 16:51:05 +02:00
Julius Härtl
b3c5271c89 Properly add both mimetypes to secure mimetype mapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-09 12:17:27 +00:00
Joas Schilling
7362145dec Allow additional personal settings via normal registration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-09 11:25:47 +00:00
Joas Schilling
54a5f938f9 Warn about adding NotNull columns with nullable default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 19:00:03 +00:00
Nextcloud bot
117044f916
[tx-robot] updated from transifex 2020-09-07 02:16:57 +00:00
Nextcloud bot
5056261850
[tx-robot] updated from transifex 2020-09-06 02:17:11 +00:00
Joas Schilling
117705c2df
Use the correct root to determinate the webroot for the resource
Since all the compiled routes are based on the server webroot,
we have to use this, independent from which app this belongs to.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-04 13:20:42 +02:00
Roeland Jago Douma
ce93aaf493
Merge pull request #22570 from nextcloud/backport/22524/stable18
[stable18] Fix app password updating out of bounds
2020-09-04 12:26:31 +02:00
Roeland Jago Douma
87a66c8675
Fix app password updating out of bounds
When your password changes out of bounds your Nextcloud tokens will
become invalid. There is no real way around that. However we should make
sure that if you successfully log in again your passwords are all
updates

* Added event listener to the PostLoggedInEvent so that we can act on it
  - Only if it is not a token login
* Make sure that we actually reset the invalid state when we update a
  token. Else it keeps being marked invalid and thus not used.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-04 09:18:00 +02:00
Nextcloud bot
eeb3b500e6
[tx-robot] updated from transifex 2020-09-04 02:17:36 +00:00
Roeland Jago Douma
e44f56e91d Only disable zip64 if the size is known
Else we might run into the issue that for an external storage where the
size is not known yet we do not use zip64. Which then of course fails on
large zip files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-01 13:44:49 +00:00
Roeland Jago Douma
f9fb6caaae
Merge pull request #22518 from nextcloud/backport/22517/stable18
[stable18] set the mount id before calling storage wrapper
2020-09-01 08:05:15 +02:00
Roeland Jago Douma
55ce30ad53 Only update the filecache entry once the file has been written to S3
If we already update before we have no way to revert if the upload
fails.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 17:08:35 +00:00
Roeland Jago Douma
f909d2a39a Don't lose filecache entry on s3 overwrite error
If the object store errors we should not always delete the filecache
entry. As this might lead to people losing access to their files.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-31 17:08:34 +00:00
Robin Appelman
9c7dd68238 set the mount id before calling storage wrapper
this allows the storage wrapper to use the mount id for it's own logic

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-08-31 15:23:09 +00:00
Nextcloud bot
0d9bd1d6dd
[tx-robot] updated from transifex 2020-08-28 02:16:40 +00:00
Roeland Jago Douma
04e0cf9613
Merge pull request #22449 from nextcloud/stable18-phpdoc
[stable18] Add php docs build script
2020-08-27 15:35:27 +02:00
Julius Härtl
de97d06f99
Remove @package annotations from public namespace
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 09:16:28 +02:00