Commit graph

60608 commits

Author SHA1 Message Date
Joas Schilling
3ca762e0af
Fix passing on the parameter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-07 09:27:35 +01:00
Joas Schilling
551e1a799a
Merge pull request #30486 from nextcloud/backport/29780/stable23
[stable23] Run migrations fully when reenabling an app
2022-01-07 08:43:14 +01:00
John Molakvoæ
510e99a622
Merge pull request #30433 from nextcloud/backport/30392/stable23 2022-01-07 08:41:22 +01:00
John Molakvoæ
c8702c7766
Merge pull request #30339 from nextcloud/backport/27403/stable23 2022-01-07 08:41:06 +01:00
blizzz
994b32f793
Merge pull request #30351 from nextcloud/backport/29958/stable23
[stable23] Remove iconv from dependencies and tests
2022-01-06 23:37:36 +01:00
Pytal
6a28abbbb6
Merge pull request #30480 from nextcloud/backport/30423/stable23 2022-01-04 17:05:32 -08:00
Pytal
b47ecc6396
Merge pull request #30431 from nextcloud/backport/30413/stable23 2022-01-04 11:21:56 -08:00
Joas Schilling
e69d0b0a65 Run migrations fully when reenabling an app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-04 16:19:35 +00:00
Christoph Wurst
df21ccd73a Add the Groupware Team as contactsinteraction co-maintainer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-01-04 16:08:20 +01:00
Christoph Wurst
d068ae445c Fix rendering app authors with homepage or email
When the first author of an app doesn't have homepage/email attributes
set in info.xml then any further author was rendered as `[object
Object]` due to the complex XML node seralized to a JavaScript string.
The logic was fixed so that it converts any of the authors to simple
text.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-01-04 16:08:20 +01:00
John Molakvoæ
9bffa5beff Fix uploading text position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-01-04 08:47:00 +00:00
MichaIng
022d0058ca [stable23] Remove iconv from dependencies and tests
which is not used anymore since: https://github.com/nextcloud/server/pull/29470

Signed-off-by: MichaIng <micha@dietpi.com>
2022-01-04 03:06:55 +01:00
Louis
58dc589ed0
Merge pull request #30449 from nextcloud/backport/30440/stable23
[stable23] Make sure to get file model in template picker
2022-01-03 10:42:26 +01:00
Carl Schwan
d92be7b886
Merge pull request #30462 from nextcloud/backport/30409/stable23
[stable23] Allow using composer plugin with composer 2.2
2022-01-03 08:56:35 +01:00
Julius Härtl
d81768b2e2 Ignore composer/bin
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-01 14:01:01 +00:00
Julius Härtl
6bbd26b955 Allow using composer plugin with composer 2.2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-01-01 14:01:00 +00:00
Simon L
f98d7827e9
Merge pull request #30455 from nextcloud/backport/30420/stable23
[stable23] improve status modal
2021-12-31 18:07:23 +01:00
szaimen
e6f837f4b5 improve status modal
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 18:50:19 +00:00
Julien Veyssier
dccd2a635a fix template picker for file actions using the fileInfoModel
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-30 15:16:31 +00:00
Louis
955cb63e41
Merge pull request #30343 from nextcloud/backport/29329/stable23
[stable23] fix potential unwarranted memberships in nested groups from LDAP
2021-12-30 11:04:39 +01:00
Louis
94f3192b82
Merge pull request #30315 from nextcloud/backport/30266/stable23
[stable23] Fix share owner not being displayed in sharing tab
2021-12-30 10:57:01 +01:00
John Molakvoæ
eac352bcc3
Merge pull request #30443 from nextcloud/backport/30353/stable23 2021-12-30 08:12:01 +01:00
Carl Schwan
c68304d6d5 Handle external share with invalid host
remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-12-29 17:13:06 +00:00
Julius Härtl
af25d91b8d
Merge pull request #30390 from nextcloud/backport/28438/stable23 2021-12-29 10:52:39 +01:00
Christoph Wurst
3cf98b75e2 Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 09:16:28 +00:00
Simon L
394915d2e4
Merge pull request #30411 from nextcloud/backport/30364/stable23
[stable23] improve personal settings on mobile
2021-12-27 23:54:38 +01:00
szaimen
83e5cf0ed0 improve personal settings on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-27 21:14:19 +00:00
Sven Strickroth
708d98d078 Don't die with LockedException when removing/restoring multiple files from trash
fixes issue #16491

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2021-12-23 10:26:57 +00:00
John Molakvoæ
ad8cf1a2b4
Merge pull request #30356 from nextcloud/backport/30305/stable23 2021-12-21 11:17:06 +01:00
Joas Schilling
b947bf3765
Merge pull request #30026 from nextcloud/backport/30013/stable23
[stable23] Don't query the bruteforce attempts when we just deleted them
2021-12-21 09:38:20 +01:00
Daniel Calviño Sánchez
bcc54d06a1 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-21 07:36:36 +00:00
Louis
d645869f74
Merge pull request #30344 from nextcloud/backport/30322/stable23
[stable23] fix overlapping in the help settings section
2021-12-20 11:32:02 +01:00
Côme Chilliet
e0c6673884
Merge pull request #29965 from nextcloud/backport/29470/stable23
[stable23] Avoid use of iconv to get rid of unicode
2021-12-20 10:54:25 +01:00
szaimen
f16b00ae23 fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-20 09:30:36 +00:00
Arthur Schiwon
bf81fa432a fix potential unwarranted memberships in nested groups from LDAP
- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results


Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-12-20 09:18:59 +00:00
Côme Chilliet
4010e58a96 [stable23] Avoid use of iconv to get rid of unicode
Using iconv for translit depends upon server configuration, locale, and
 PHP version. Using htmlentities instead to have a consistent behavior
 independent of configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2021-12-20 03:00:37 +01:00
MichaIng
fd481913ef Enhance and complement OPcache setup checks
The current OPcache recommendations match the PHP defaults, but the values are much higher than required to run Nextcloud, even with a high number of installed apps. On the other hand, when other applications use the same OPcache instance, the recommended values might not be sufficient. Accurate recommendations need to take into account actual OPcache usage.

With this commit, recommendations are shown to raise the config value if more than 90% of max cache size or number of keys is used.

The checks whether the module is loaded and whether the OPcache is properly configured have been merged into a single function. This allowed to reduce the overhead of OPcache configuration checks when the module is not loaded.

A check has been added whether Nextcloud is permitted to use the OPcache API. Without this, inconsistencies during core or app upgrades may cause errors and OPcache usage cannot be determined for the new usage based checks.

OPcache usage based checks are skipped when Nextcloud is not permitted to use the API.

Signed-off-by: MichaIng <micha@dietpi.com>
2021-12-20 00:10:10 +00:00
MichaIng
cdedd2df38
Merge pull request #30252 from nextcloud/backport/30193/stable23
[stable23] Fix setting up 2FA when no providers are set up but backup codes
2021-12-19 19:41:20 +01:00
MichaIng
4b8b2b4740
Merge pull request #30301 from nextcloud/backport/30119/stable23
[stable23] Use proper translation source for direct editing
2021-12-19 19:39:23 +01:00
MichaIng
2217abfa44
Merge pull request #30306 from nextcloud/backport/30281/stable23
[stable23] Ignore non-existing groups when notifying group shares
2021-12-19 19:37:21 +01:00
dependabot[bot]
d9bcf061d5
Merge pull request #30325 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.0 2021-12-18 05:34:16 +00:00
dependabot[bot]
1bea0296c0
Update sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration
Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.2.3...4.3.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-12-18 04:05:40 +00:00
Carl Schwan
2b7bee1bc3 Fix share owner not being displayed in sharing tab
This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.

This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-17 13:23:23 +00:00
Vincent Petry
d4e83a7988 Discard share notification for non-existing groups
Group shares might exist even after a group got deleted.

This fix catches the situation and discards the notification for the
obsolete group.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-12-17 07:04:25 +00:00
Azul
26886d753d fix translation source in directEditing templates
The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
2021-12-16 18:23:12 +00:00
Louis
1c296cbc86
Merge pull request #30289 from nextcloud/backport/30256/stable23
[stable23] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:14 +01:00
Pytal
659d10f7d5
Merge pull request #30272 from nextcloud/backport/30254/stable23 2021-12-15 17:35:19 -08:00
Christopher Ng
7479edbc1e Migrate profile_config id column to bigint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-12-15 19:30:15 +00:00
nextcloud-command
1f1758ee3e Compile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-15 19:10:23 +00:00
Jonas Rittershofer
c39c82a6bd
Fix ShareLink Upload UI for Folders
Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 19:51:41 +01:00